CN110446157A - A kind of method and device determining target information based on WIFI probe - Google Patents

A kind of method and device determining target information based on WIFI probe Download PDF

Info

Publication number
CN110446157A
CN110446157A CN201910712660.5A CN201910712660A CN110446157A CN 110446157 A CN110446157 A CN 110446157A CN 201910712660 A CN201910712660 A CN 201910712660A CN 110446157 A CN110446157 A CN 110446157A
Authority
CN
China
Prior art keywords
mac address
target
wifi
wifi probe
destination
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.)
Granted
Application number
CN201910712660.5A
Other languages
Chinese (zh)
Other versions
CN110446157B (en
Inventor
赵辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Laili Space-Time Technology Co Ltd
Original Assignee
Beijing Laili Space-Time Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Laili Space-Time Technology Co Ltd filed Critical Beijing Laili Space-Time Technology Co Ltd
Priority to CN201910712660.5A priority Critical patent/CN110446157B/en
Publication of CN110446157A publication Critical patent/CN110446157A/en
Application granted granted Critical
Publication of CN110446157B publication Critical patent/CN110446157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Abstract

The embodiment of the present invention provides a kind of method and device that target information is determined based on WIFI probe, which comprises receives the information that all WIFI probes are sent respectively in target area;Every information carries the distance between MAC Address to be measured that each WIFI probe detects, corresponding with each terminal and each terminal, the location information of itself;All MAC Address to be measured are detected, and determine destination-mac address according to testing result;If judgement knows that the destination-mac address is all detected by least four WIFI probes, then according to the corresponding target terminal of the destination-mac address and the distance to be selected of each WIFI probe to be selected, determine that be selected apart from the corresponding WIFI probe to be selected of shortest three target ranges is target WIFI probe, and determine that the target position information of each target WIFI probe, target range are target information.Described device executes the above method.Method and device provided in an embodiment of the present invention can be conveniently based on WIFI probe and determine the target information.

Description

A kind of method and device determining target information based on WIFI probe
Technical field
The present invention relates to technology for information acquisition field more particularly to a kind of methods for determining target information based on WIFI probe And device.
Background technique
Currently, the thermodynamic chart of drafting passenger flow is usually required in public domain (such as market or supermarket), according to thermodynamic chart Understand passenger flow trend, still, before drawing thermodynamic chart, needs to get the position of customer, the prior art generallys use three The mode of point location goes to calculate the position coordinates of reflection customer location, still, calculates the position coordinates and needs first to determine that determine at 3 points Therefore how related objective information required for position determines the target information, it appears particularly important.
By disposing multiple WIFI probes in public domain position coordinates are arranged to each WIFI probe, often in the prior art A WIFI probe gets the MAC Address of terminal, and sends data relevant to target information is determined into server, for clothes Business device determines the target information according to the data.But some cell phone apparatus manufacturers have updated the security strategy of mobile phone, true Pseudo- MAC Address is also generated on the basis of MAC Address, increases the calculation amount determined in the target information, therefore, is believed to the target The determination process of breath brings inconvenience.
Therefore, how drawbacks described above is avoided, WIFI probe can be conveniently based on and determine the target information, becoming need solve Certainly the problem of.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the present invention, which provides, a kind of determines target information based on WIFI probe Method and device.
The embodiment of the present invention provides a kind of method for determining target information based on WIFI probe, comprising:
Receive the information that all WIFI probes are sent respectively in target area;Every information carries each WIFI probe and visits The distance between MAC Address to be measured measuring, corresponding with each terminal and each terminal, the location information of itself;The mesh Marking region includes at least three WIFI probes;
All MAC Address to be measured are detected, and determine destination-mac address according to testing result;The Destination MAC Location is the same real MAC address all detected by least three WIFI probes;
If judgement knows that the destination-mac address is all detected by least four WIFI probes, according to the target The distance to be selected of the corresponding target terminal of MAC Address and each WIFI probe to be selected, determine it is to be selected apart from shortest three targets It is target WIFI probe apart from corresponding WIFI probe to be selected, and determines target position information, the mesh of each target WIFI probe Subject distance is target information;The WIFI probe to be selected is to detect the destination-mac address, at least four WIFI probes Each WIFI probe.
Wherein, described pair of all MAC Address to be measured detect, and determine destination-mac address according to testing result, packet It includes:
The frequency of occurrence of each MAC Address to be measured in all MAC Address to be measured is obtained, and rejects frequency of occurrence and is less than or equal to MAC Address to be measured twice;
The destination-mac address is determined in remaining MAC Address to be measured.
It is wherein, described that the destination-mac address is determined in remaining MAC Address to be measured, comprising:
The destination-mac address is determined in remaining MAC Address to be measured using polling mode.
Wherein, the method also includes:
If judgement knows that the destination-mac address is all detected by three WIFI probes, it is determined that detect the mesh Three WIFI probes for marking MAC Address are the target WIFI probe.
Wherein, described to receive the information that all WIFI probes are sent respectively in target area, including receive in target area The information of all WIFI probe difference periodicity sendings;Correspondingly, the method also includes:
Synchronization process is made to the information of the periodicity sending received.
Wherein, described pair of all MAC Address to be measured detect, and determine destination-mac address according to testing result, packet It includes:
Periodically all MAC Address to be measured are detected, and determine destination-mac address according to testing result;Wherein, institute Stating the period distances periodically detected to all MAC Address to be measured is the time interval for making synchronization process.
Wherein, the terminal further includes network equipment terminal;Correspondingly, described pair of all MAC Address to be measured detect, And destination-mac address is determined according to testing result, comprising:
All MAC Address to be measured are detected using OUI table;The OUI table is previously stored with and the default network equipment The corresponding default real MAC address of terminal;
If detecting target MAC Address to be measured corresponding with the default real MAC address, rejects the target and wait for MAC Address is surveyed, and remaining all MAC Address to be measured are detected, and determine destination-mac address according to testing result.
The embodiment of the present invention provides a kind of device that target information is determined based on WIFI probe, comprising:
Receiving unit, for receiving the information that all WIFI probes are sent respectively in target area;Every information carries MAC Address to be measured that each WIFI probe detects, corresponding with each terminal, with the distance between each terminal, itself Location information;The target area includes at least three WIFI probes;
First determination unit for detecting to all MAC Address to be measured, and determines Destination MAC according to testing result Address;The destination-mac address is the same real MAC address all detected by least three WIFI probes;
Second determination unit, if for judging to know that the destination-mac address is all detected by least four WIFI probes Arrive, then according to the distance to be selected of the corresponding target terminal of the destination-mac address and each WIFI probe to be selected, determine it is to be selected away from WIFI probe to be selected corresponding from shortest three target ranges is target WIFI probe, and determines each target WIFI probe Target position information, target range are target information;The WIFI probe to be selected is to detect the destination-mac address, at least Each WIFI probe in four WIFI probes.
The embodiment of the present invention provides a kind of electronic equipment, comprising: memory, processor and storage are on a memory and can be The computer program run on processor, wherein
The processor realizes following method and step when executing described program:
Receive the information that all WIFI probes are sent respectively in target area;Every information carries each WIFI probe and visits The distance between MAC Address to be measured measuring, corresponding with each terminal and each terminal, the location information of itself;The mesh Marking region includes at least three WIFI probes;
All MAC Address to be measured are detected, and determine destination-mac address according to testing result;The Destination MAC Location is the same real MAC address all detected by least three WIFI probes;
If judgement knows that the destination-mac address is all detected by least four WIFI probes, according to the target The distance to be selected of the corresponding target terminal of MAC Address and each WIFI probe to be selected, determine it is to be selected apart from shortest three targets It is target WIFI probe apart from corresponding WIFI probe to be selected, and determines target position information, the mesh of each target WIFI probe Subject distance is target information;The WIFI probe to be selected is to detect the destination-mac address, at least four WIFI probes Each WIFI probe.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, is stored thereon with computer program, should Following method and step is realized when computer program is executed by processor:
Receive the information that all WIFI probes are sent respectively in target area;Every information carries each WIFI probe and visits The distance between MAC Address to be measured measuring, corresponding with each terminal and each terminal, the location information of itself;The mesh Marking region includes at least three WIFI probes;
All MAC Address to be measured are detected, and determine destination-mac address according to testing result;The Destination MAC Location is the same real MAC address all detected by least three WIFI probes;
If judgement knows that the destination-mac address is all detected by least four WIFI probes, according to the target The distance to be selected of the corresponding target terminal of MAC Address and each WIFI probe to be selected, determine it is to be selected apart from shortest three targets It is target WIFI probe apart from corresponding WIFI probe to be selected, and determines target position information, the mesh of each target WIFI probe Subject distance is target information;The WIFI probe to be selected is to detect the destination-mac address, at least four WIFI probes Each WIFI probe.
The method and device provided in an embodiment of the present invention that target information is determined based on WIFI probe is needed by detection MAC Address is surveyed, to determine destination-mac address, target WIFI probe is determined according to the most short principle of distance, then determine each target The target position information of WIFI probe, target range are target information, can be conveniently based on WIFI probe and determine that the target is believed Breath.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is that the present invention is based on the embodiment of the method flow charts that WIFI probe determines target information;
Fig. 2 is that the present invention is based on the Installation practice structural schematic diagrams that WIFI probe determines target information;
Fig. 3 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is that the present invention is based on the embodiment of the method flow charts that WIFI probe determines target information, as shown in Figure 1, this hair A kind of method that target information is determined based on WIFI probe that bright embodiment provides, comprising the following steps:
S101: the information that all WIFI probes are sent respectively in target area is received;Every information carries each WIFI The distance between MAC Address to be measured that probe detects, corresponding with each terminal and each terminal, the location information of itself; The target area includes at least three WIFI probes.
Specifically, device receives the information that all WIFI probes are sent respectively in target area;Every information carries often The distance between MAC Address to be measured that a WIFI probe detects, corresponding with each terminal and each terminal, the position of itself Confidence breath;The target area includes at least three WIFI probes.Device can be the server for executing this method, the server It can be connected to the network with all WIFI probes.Terminal may include user terminal, such as mobile phone used in customer, target Region can be the partial region in public domain, which disposes at least three WIFI probes.The location information of itself The position coordinates that can be each WIFI probe, are not especially limited.
MAC Address to be measured may include real MAC address and pseudo- MAC Address, it is to be appreciated that: every mobile phone is corresponding with Only one real MAC address, the real MAC address are fixed and invariable, i.e., the same terminal that each WIFI probe in detecting arrives Real MAC address be all the same terminal that identical, the same WIFI probe is detected in different detection cycles real MAC Address is also all identical.For the mobile phone of different model, there can also be pseudo- MAC Address, which does not immobilize , i.e., each WIFI probe in detecting to the pseudo- MAC Address of same terminal be different, the same WIFI probe in difference The pseudo- MAC Address for the same terminal that detection cycle detects also all is different.One of WIFI probe PA and wherein one A terminal UE 1 the distance between be denoted as dA1, dA1It can calculate according to the following formula:
dA1=10(A-RSSI)/n
Wherein, A indicates that one meter of distance of signal strength, received signal intensity indicate (Received SignalStrength Indication, referred to as " RSSI "), n indicate attenuation coefficient.Each WIFI probe and each terminal it Between distance calculate, be referred to above-mentioned dA1Calculating process, repeat no more.
For example, the target area shares p WIFI probe, q terminal, wherein p is more than or equal to 3, q more than or equal to 1, such as Q=2, the two terminals are denoted as UE1 and UE2 respectively, and the corresponding MAC Address to be measured of UE1 is that (UE1 is without puppet by real MAC address A1 MAC Address), the corresponding MAC Address to be measured of UE2 be real MAC address A2 and pseudo- MAC Address (different WIFI probe in detecting arrive Pseudo- MAC Address it is different), then the information that WIFI probe PA is sent carries A1, A2, a21 (UE2 that WIFI probe PA is detected Pseudo- MAC Address);dA1、dA2;It is WIFI probe PA that the location information XA, XA of WIFI probe PA, which can mark the location information, 's.By taking three WIFI probes as an example, the information that WIFI probe PB is sent carries A1, A2, a22, and (WIFI probe PB is detected UE2 puppet MAC Address);dB1、dB2;It is WIFI probe that the location information XB, XB of WIFI probe PB, which can mark the location information, PB's.The information that WIFI probe PC is sent carries A1, A2, a23 (the UE2 puppet MAC Address that WIFI probe PC is detected);dC1、 dC2;It is WIFI probe PC that the location information XC, XC of WIFI probe PC, which can mark the location information,.
S102: detecting all MAC Address to be measured, and determines destination-mac address according to testing result;The target MAC Address is the same real MAC address all detected by least three WIFI probes.
Specifically, device detects all MAC Address to be measured, and destination-mac address is determined according to testing result;Institute Stating destination-mac address is the same real MAC address all detected by least three WIFI probes.Reference the example above, It is by WIFI that A1, which is by WIFI probe PA, WIFI probe PB, WIFI probe PC same real MAC address, A2 detected, The other same real MAC address that probe PA, WIFI probe PB, WIFI probe PC is detected, therefore, A1 and A2 are mesh MAC Address is marked, therefore it, is not destination-mac address that a21, a22, a23, which are only arrived by a WIFI probe in detecting,.It needs to illustrate : it is not fixed and invariable characteristic just because of above-mentioned pseudo- MAC Address, pseudo- MAC Address can be weeded out by the step, also The real MAC address arrived by two WIFI probes or a WIFI probe in detecting is eliminated, to realize logarithm by the step According to cleaning, the corresponding data of a large amount of non-targeted MAC Address are removed, and the calculating of subsequent step are not involved in, to reduce Determine the calculation amount in the target information.
S103: if judgement knows that the destination-mac address is all detected by least four WIFI probes, according to The distance to be selected of the corresponding target terminal of destination-mac address and each WIFI probe to be selected, determine it is to be selected apart from shortest three The corresponding WIFI probe to be selected of target range is target WIFI probe, and determines the target position letter of each target WIFI probe Breath, target range are target information;The WIFI probe to be selected is to detect that the destination-mac address, at least four WIFI are visited Each WIFI probe in needle.
If specifically, device judgement know that the destination-mac address is all detected by least four WIFI probes, root According to the distance to be selected of the corresponding target terminal of the destination-mac address and each WIFI probe to be selected, determine that distance to be selected is most short The corresponding WIFI probe to be selected of three target ranges be target WIFI probe, and determine the target position of each target WIFI probe Confidence breath, target range are target information;The WIFI probe to be selected is to detect the destination-mac address, at least four Each WIFI probe in WIFI probe.On the basis of above-mentioned example, the letter that WIFI probe PD, WIFI probe PD is sent is increased newly Breath carries A2 (i.e. the corresponding A1 of UE1 is not detected by WIFI probe PD), (UE2 that WIFI probe PD is detected is pseudo- by a24 MAC Address);dD1、dD2;It is WIFI probe PD that the location information XD, XD of WIFI probe PD, which can mark the location information,. By taking UE2 as an example, A2 is all detected by WIFI probe PA~WIFI probe PD, and therefore, and (UE2 is target corresponding with A2 to UE2 Terminal) corresponding each WIFI probe to be selected are as follows: WIFI probe PA~WIFI probe PD.In distance d to be selectedA2、dB2、dC2、dD2 In, if it is to be selected apart from it is shortest be dA2、dB2、dC2, then target range is dA2、dB2、dC2.Target WIFI probe is WIFI probe PA~WIFI probe PC.Target information are as follows: location information XA, the target range d of WIFI probe PAA2;The position of WIFI probe PB Information XB, target range dB2;Location information XC, the target range d of WIFI probe PCC2
The method provided in an embodiment of the present invention that target information is determined based on WIFI probe, by detecting all MAC to be measured Address determines target WIFI probe according to the most short principle of distance, then determine that each target WIFI is visited to determine destination-mac address The target position information of needle, target range are target information, can be conveniently based on WIFI probe and determine the target information.
On the basis of the above embodiments, described pair of all MAC Address to be measured detect, and determine according to testing result Destination-mac address, comprising:
The frequency of occurrence of each MAC Address to be measured in all MAC Address to be measured is obtained, and rejects frequency of occurrence and is less than or equal to MAC Address to be measured twice.
Specifically, device obtains the frequency of occurrence of each MAC Address to be measured in all MAC Address to be measured, and reject appearance Number is less than or equal to MAC Address to be measured twice.Referring to the example above, visited with tri- WIFI of WIFI probe PA~WIFI probe PC For needle, the frequency of occurrence of a21~a23 is primary, therefore rejects a21~a23.
The destination-mac address is determined in remaining MAC Address to be measured.
Specifically, device determines the destination-mac address in remaining MAC Address to be measured.
Referring to the example above, remaining MAC Address to be measured is A1, A2, and all complete by WIFI probe PA~WIFI probe PC Portion detects that therefore, A1, A2 are targeted MAC Address.
The method provided in an embodiment of the present invention for determining target information based on WIFI probe is less than by rejecting frequency of occurrence Equal to MAC Address to be measured twice, efficiently realize data cleansing, be further able to be conveniently based on WIFI probe determines should Target information.
On the basis of the above embodiments, described that the destination-mac address, packet are determined in remaining MAC Address to be measured It includes:
The destination-mac address is determined in remaining MAC Address to be measured using polling mode.
Specifically, device determines the destination-mac address using polling mode in remaining MAC Address to be measured.It is remaining The sequence (can be according to the detection ordering of WIFI probe PA~WIFI probe PC) of MAC Address to be measured can be A1, A2 (first Group, corresponding WIFI probe PA);A1, A2 (second group, corresponding WIFI probe PB);A1, A2 (third group, corresponding WIFI probe PC), A1 is found in the first set, successively searches whether that there is also A1 in other groups, and count to the frequency of occurrence of A1, reference Citing, second group and third group A1 respectively occurs once, i.e., A1 frequency of occurrence is three times, accordingly, it is determined that A1 is for Destination MAC in total Location can refer to A1 to the explanation of A2, repeat no more.
The method provided in an embodiment of the present invention for determining target information based on WIFI probe, determines target by polling mode MAC Address has advanced optimized data query process, so that being further able to be conveniently based on WIFI probe determines that the target is believed Breath.
On the basis of the above embodiments, the method also includes:
If judgement knows that the destination-mac address is all detected by three WIFI probes, it is determined that detect the mesh Three WIFI probes for marking MAC Address are the target WIFI probe.
Specifically, if device judgement knows that the destination-mac address is all detected by three WIFI probes, it is determined that inspection Three WIFI probes for measuring the destination-mac address are the target WIFI probe.Referring to the example above, for UE1, due to A1 is not detected by WIFI probe PD, therefore A1 is all detected by WIFI probe PA~WIFI probe PC, due to needing to adopt The position coordinates of reflection customer location are calculated with three-point fix mode, only there are three WIFI probes for the example, it is therefore not necessary to compare again Compared with distance, WIFI probe PA~WIFI probe PC is directly determined as target WIFI probe, the step of target information is determined based on this Suddenly, it can refer to above description, repeat no more.
The method provided in an embodiment of the present invention that target information is determined based on WIFI probe, for the destination-mac address The case where all being detected by three WIFI probes more rapidly can determine the target information based on WIFI probe.
On the basis of the above embodiments, described to receive the information that all WIFI probes are sent respectively in target area, packet Include the information for receiving all WIFI probe difference periodicity sendings in target area;Correspondingly, the method also includes:
Synchronization process is made to the information of the periodicity sending received.
Specifically, device makees synchronization process to the information of the periodicity sending received.In above-mentioned each WIFI probe point On the basis of the information not sent, every information can also carry be sent to server report moment T, for WIFI probe PA ~WIFI probe PC, can be denoted as TA~TC respectively.Since each WIFI probe is according to detection time interval (being denoted as tA~tC) point Other periodicity sending information, tA~tC may be inconsistent, and therefore, TA~TC that server receives may also be inconsistent, can be with Set a threshold value TS so that all WIFI probes will be detected and be finished in TS seconds, i.e., at interval of synchronization process when Between interval TS start all WIFI probe in detecting of next round, the time interval TS of synchronization process can be greater than maximum in tA~tC Detection time interval is chosen as 300 seconds.
The method provided in an embodiment of the present invention that target information is determined based on WIFI probe, by the periodicity received The information of transmission makees synchronization process, guarantees the synchronism that this method executes.
On the basis of the above embodiments, described pair of all MAC Address to be measured detect, and determine according to testing result Destination-mac address, comprising:
Periodically all MAC Address to be measured are detected, and determine destination-mac address according to testing result;Wherein, institute Stating the period distances periodically detected to all MAC Address to be measured is the time interval for making synchronization process.
Specifically, device periodically detects all MAC Address to be measured, and Destination MAC is determined according to testing result Address;Wherein, the period distances that the periodicity detects all MAC Address to be measured are the time for making synchronization process Every.Referring to the example above, i.e., once all MAC Address to be measured are detected at interval of TS execution, and according to testing result really Set the goal MAC Address the step of.Such as in the time interval TS of first synchronization process, by institute in the target area received There is the information of WIFI probe periodicity sending to be respectively stored in tables of data 1, in the time interval TS of second synchronization process The information of all WIFI probe difference periodicity sendings in the target area in next period is received, while tables of data will be stored in Data in 1 copy in tables of data 2, and are needed in tables of data 2 in the time interval TS of first synchronization process It surveys MAC Address to be detected, all MAC Address to be measured in information and detection information is periodically received with this.
The method provided in an embodiment of the present invention for determining target information based on WIFI probe is guaranteeing the same of this method execution On the basis of step property, the efficiency of method execution is further improved.
On the basis of the above embodiments, the terminal further includes network equipment terminal;Correspondingly, described pair all to be measured MAC Address is detected, and determines destination-mac address according to testing result, comprising:
All MAC Address to be measured are detected using OUI table;The OUI table is previously stored with and the default network equipment The corresponding default real MAC address of terminal.
Specifically, device detects all MAC Address to be measured using OUI table;The OUI table be previously stored with in advance If the corresponding default real MAC address of network equipment terminal.Organization unique identifier (Organizationally unique Identifier, referred to as " OUI ").It should be understood that all MAC Address to be measured here further include network equipment terminal MAC Address, network equipment terminal may include router etc., be not especially limited.The i.e. described OUI table is previously stored with default net The corresponding relationship of network device end and default real MAC address, such as router 1~default real MAC address R1, router 2 ~preset real MAC address R2 etc..
If detecting target MAC Address to be measured corresponding with the default real MAC address, rejects the target and wait for MAC Address is surveyed, and remaining all MAC Address to be measured are detected, and determine destination-mac address according to testing result.
If being picked specifically, device detects target MAC Address to be measured corresponding with the default real MAC address It is detected except target MAC Address to be measured, and to remaining all MAC Address to be measured, and determines target according to testing result MAC Address.Be illustrated below: if detecting, there are R1 and R2 in all MAC Address to be measured, due to presetting real MAC address R1 and R2 respectively corresponds router 1 and router 2, therefore, identifies R1 and R2 for the MAC to be measured of router 1 and router 2 The MAC Address to be measured of router is determined as target MAC Address to be measured, and rejected by location, so that remaining all MAC to be measured Location is all the MAC Address to be measured of user terminal.It is detected to for all MAC Address to be measured of user terminal, and according to detection As a result the explanation for determining destination-mac address, can refer to above description, repeats no more.
The method provided in an embodiment of the present invention that target information is determined based on WIFI probe, by rejecting network equipment terminal MAC Address, be further able to rapidly determine the target information based on WIFI probe.
Fig. 2 be the present invention is based on the Installation practice structural schematic diagrams that WIFI probe determines target information, as shown in Fig. 2, The embodiment of the invention provides a kind of devices that target information is determined based on WIFI probe, including receiving unit 201, first to determine Unit 202 and the second determination unit 203, in which:
Receiving unit 201 is for receiving the information that all WIFI probes are sent respectively in target area;Every information carries Have MAC Address to be measured that each WIFI probe detects, corresponding with each terminal, with the distance between each terminal, itself Location information;The target area includes at least three WIFI probes;First determination unit 202 is used for all MAC to be measured Address is detected, and determines destination-mac address according to testing result;The destination-mac address is to be visited by least three WIFI The same real MAC address that needle all detects;If the second determination unit 203 knows the destination-mac address for judging All detected by least four WIFI probes, then according to the corresponding target terminal of the destination-mac address with it is each to be selected The distance to be selected of WIFI probe, determine it is to be selected apart from the corresponding WIFI probe to be selected of shortest three target ranges be target WIFI Probe, and determine that the target position information of each target WIFI probe, target range are target information;The WIFI probe to be selected To detect the destination-mac address, each WIFI probe at least four WIFI probes.
Specifically, receiving unit 201 is for receiving the information that all WIFI probes are sent respectively in target area;Every letter Breath carry between each WIFI probe detects, MAC Address to be measured corresponding with each terminal and each terminal away from From, the location information of itself;The target area includes at least three WIFI probes;First determination unit 202 is used for all MAC Address to be measured is detected, and determines destination-mac address according to testing result;The destination-mac address is by least three The same real MAC address that WIFI probe all detects;If the second determination unit 203 knows the target for judging MAC Address is all detected by least four WIFI probes, then according to the corresponding target terminal of the destination-mac address and each The distance to be selected of WIFI probe to be selected, determine it is to be selected apart from the corresponding WIFI probe to be selected of shortest three target ranges be target WIFI probe, and determine that the target position information of each target WIFI probe, target range are target information;The WIFI to be selected Probe is to detect the destination-mac address, each WIFI probe at least four WIFI probes.
The device provided in an embodiment of the present invention that target information is determined based on WIFI probe, by detecting all MAC to be measured Address determines target WIFI probe according to the most short principle of distance, then determine that each target WIFI is visited to determine destination-mac address The target position information of needle, target range are target information, can be conveniently based on WIFI probe and determine the target information.
It is provided in an embodiment of the present invention that based on WIFI probe to determine that the device of target information specifically can be used for executing above-mentioned The process flow of each method embodiment, details are not described herein for function, is referred to the detailed description of above method embodiment.
Fig. 3 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention, as shown in figure 3, the electronic equipment It include: processor (processor) 301, memory (memory) 302 and bus 303;
Wherein, the processor 301, memory 302 complete mutual communication by bus 303;
The processor 301 is used to call the program instruction in the memory 302, to execute above-mentioned each method embodiment Provided method, for example, receive the information that all WIFI probes are sent respectively in target area;Every information carries MAC Address to be measured that each WIFI probe detects, corresponding with each terminal, with the distance between each terminal, itself Location information;The target area includes at least three WIFI probes;All MAC Address to be measured are detected, and according to inspection It surveys result and determines destination-mac address;The destination-mac address is same true all to be detected by least three WIFI probes Real MAC Address;If judgement knows that the destination-mac address is all detected by least four WIFI probes, according to the mesh The distance to be selected of the corresponding target terminal of mark MAC Address and each WIFI probe to be selected, determine it is to be selected apart from shortest three mesh The corresponding WIFI probe to be selected of subject distance is target WIFI probe, and determine each target WIFI probe target position information, Target range is target information;The WIFI probe to be selected is to detect the destination-mac address, at least four WIFI probes Each WIFI probe.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, receives institute in target area The information for thering is WIFI probe to send respectively;Every information carries that each WIFI probe detects, corresponding with each terminal The distance between MAC Address to be measured and each terminal, the location information of itself;The target area includes at least three WIFI Probe;All MAC Address to be measured are detected, and determine destination-mac address according to testing result;The destination-mac address For the same real MAC address all detected by least three WIFI probes;If the destination-mac address quilt is known in judgement At least four WIFI probes all detect, then according to the corresponding target terminal of the destination-mac address and each WIFI to be selected The distance to be selected of probe, determine it is to be selected apart from the corresponding WIFI probe to be selected of shortest three target ranges be target WIFI visit Needle, and determine that the target position information of each target WIFI probe, target range are target information;The WIFI probe to be selected is Detect the destination-mac address, each WIFI probe at least four WIFI probes.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example It such as include: to receive the information that all WIFI probes are sent respectively in target area;Every information carries each WIFI probe and visits The distance between MAC Address to be measured measuring, corresponding with each terminal and each terminal, the location information of itself;The mesh Marking region includes at least three WIFI probes;All MAC Address to be measured are detected, and determine target according to testing result MAC Address;The destination-mac address is the same real MAC address all detected by least three WIFI probes;If sentencing It is disconnected to know that the destination-mac address is all detected by least four WIFI probes, then it is corresponding according to the destination-mac address Target terminal and the distance to be selected of each WIFI probe to be selected, determine it is to be selected corresponding to be selected apart from shortest three target ranges WIFI probe is target WIFI probe, and determines the target position information of each target WIFI probe, target range for target letter Breath;The WIFI probe to be selected is to detect the destination-mac address, each WIFI probe at least four WIFI probes.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of method for determining target information based on WIFI probe characterized by comprising
Receive the information that all WIFI probes are sent respectively in target area;Every information carries each WIFI probe and detects , corresponding with each terminal MAC Address to be measured, with the distance between each terminal, the location information of itself;The target area Domain includes at least three WIFI probes;
All MAC Address to be measured are detected, and determine destination-mac address according to testing result;The destination-mac address is The same real MAC address all detected by least three WIFI probes;
If judgement knows that the destination-mac address is all detected by least four WIFI probes, according to the Destination MAC The distance to be selected of the corresponding target terminal in location and each WIFI probe to be selected, determine it is to be selected apart from shortest three target ranges pair The WIFI probe to be selected answered is target WIFI probe, and determines the target position information of each target WIFI probe, target range For target information;The WIFI probe to be selected is to detect each of the destination-mac address, at least four WIFI probes WIFI probe.
2. the method according to claim 1 for determining target information based on WIFI probe, which is characterized in that described pair all MAC Address to be measured is detected, and determines destination-mac address according to testing result, comprising:
The frequency of occurrence of each MAC Address to be measured in all MAC Address to be measured is obtained, and rejects frequency of occurrence and is less than or equal to twice MAC Address to be measured;
The destination-mac address is determined in remaining MAC Address to be measured.
3. the method according to claim 2 for determining target information based on WIFI probe, which is characterized in that described in residue MAC Address to be measured in determine the destination-mac address, comprising:
The destination-mac address is determined in remaining MAC Address to be measured using polling mode.
4. the method according to claim 1 for determining target information based on WIFI probe, which is characterized in that the method is also Include:
If judgement knows that the destination-mac address is all detected by three WIFI probes, it is determined that detect the Destination MAC Three WIFI probes of address are the target WIFI probe.
5. the method according to any one of claims 1 to 4 for determining target information based on WIFI probe, which is characterized in that institute The information for receiving that all WIFI probes are sent respectively in target area is stated, including receives all WIFI probe difference in target area The information of periodicity sending;Correspondingly, the method also includes:
Synchronization process is made to the information of the periodicity sending received.
6. the method according to claim 5 for determining target information based on WIFI probe, which is characterized in that described pair all MAC Address to be measured is detected, and determines destination-mac address according to testing result, comprising:
Periodically all MAC Address to be measured are detected, and determine destination-mac address according to testing result;Wherein, the week The period distances that phase property detects all MAC Address to be measured are the time interval for making synchronization process.
7. the method according to any one of claims 1 to 4 for determining target information based on WIFI probe, which is characterized in that institute Stating terminal further includes network equipment terminal;Correspondingly, described pair of all MAC Address to be measured detect, and according to testing result Determine destination-mac address, comprising:
All MAC Address to be measured are detected using OUI table;The OUI table is previously stored with and default network equipment terminal Corresponding default real MAC address;
If detecting target MAC Address to be measured corresponding with the default real MAC address, it is to be measured to reject the target MAC Address, and remaining all MAC Address to be measured are detected, and determine destination-mac address according to testing result.
8. a kind of device for determining target information based on WIFI probe characterized by comprising
Receiving unit, for receiving the information that all WIFI probes are sent respectively in target area;Every information carries each The distance between MAC Address to be measured that WIFI probe detects, corresponding with each terminal and each terminal, the position of itself Information;The target area includes at least three WIFI probes;
First determination unit for detecting to all MAC Address to be measured, and determines destination-mac address according to testing result; The destination-mac address is the same real MAC address all detected by least three WIFI probes;
Second determination unit, if for judging to know that the destination-mac address is all detected by least four WIFI probes, According to the distance to be selected of the corresponding target terminal of the destination-mac address and each WIFI probe to be selected, determine distance to be selected most The corresponding WIFI probe to be selected of three short target ranges is target WIFI probe, and determines the target of each target WIFI probe Location information, target range are target information;The WIFI probe to be selected is to detect the destination-mac address, at least four Each WIFI probe in WIFI probe.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor is realized as described in any one of claim 1 to 7 when executing the computer program The step of method.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer It is realized when program is executed by processor such as the step of any one of claim 1 to 7 the method.
CN201910712660.5A 2019-08-02 2019-08-02 Method and device for determining target information based on WIFI probe Active CN110446157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910712660.5A CN110446157B (en) 2019-08-02 2019-08-02 Method and device for determining target information based on WIFI probe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910712660.5A CN110446157B (en) 2019-08-02 2019-08-02 Method and device for determining target information based on WIFI probe

Publications (2)

Publication Number Publication Date
CN110446157A true CN110446157A (en) 2019-11-12
CN110446157B CN110446157B (en) 2021-02-19

Family

ID=68433065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910712660.5A Active CN110446157B (en) 2019-08-02 2019-08-02 Method and device for determining target information based on WIFI probe

Country Status (1)

Country Link
CN (1) CN110446157B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160253533A1 (en) * 2014-12-19 2016-09-01 Meru Networks Securing rf (radio frequency) location tags using source addresses to locate stations on a wi-fi network
CN106658586A (en) * 2016-12-05 2017-05-10 任子行网络技术股份有限公司 Method used for acquiring MAC address of iOS device
CN107103569A (en) * 2017-04-28 2017-08-29 深圳市前海安测信息技术有限公司 Endowment management system and method based on positioning
CN107623754A (en) * 2017-09-28 2018-01-23 武汉虹旭信息技术有限责任公司 WiFi acquisition systems and its method based on true and false MAC identifications
CN108012309A (en) * 2017-11-28 2018-05-08 北京锐安科技有限公司 People flow rate statistical method, apparatus and system based on WiFi
CN109215285A (en) * 2018-11-15 2019-01-15 王悦廷 The intelligent fire-pretection system and method for fire behavior monitoring and rescue run based on WiFi probe
CN109360373A (en) * 2018-11-13 2019-02-19 四创科技有限公司 Reservoir based on WIFI positioning discharges water personnel's method for early warning

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160253533A1 (en) * 2014-12-19 2016-09-01 Meru Networks Securing rf (radio frequency) location tags using source addresses to locate stations on a wi-fi network
CN106658586A (en) * 2016-12-05 2017-05-10 任子行网络技术股份有限公司 Method used for acquiring MAC address of iOS device
CN107103569A (en) * 2017-04-28 2017-08-29 深圳市前海安测信息技术有限公司 Endowment management system and method based on positioning
CN107623754A (en) * 2017-09-28 2018-01-23 武汉虹旭信息技术有限责任公司 WiFi acquisition systems and its method based on true and false MAC identifications
CN108012309A (en) * 2017-11-28 2018-05-08 北京锐安科技有限公司 People flow rate statistical method, apparatus and system based on WiFi
CN109360373A (en) * 2018-11-13 2019-02-19 四创科技有限公司 Reservoir based on WIFI positioning discharges water personnel's method for early warning
CN109215285A (en) * 2018-11-15 2019-01-15 王悦廷 The intelligent fire-pretection system and method for fire behavior monitoring and rescue run based on WiFi probe

Also Published As

Publication number Publication date
CN110446157B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN103266452B (en) A kind of control method for washing machine and washing machine
CN107015892A (en) A kind of method for testing pressure, device and system
CN105307284B (en) A kind of accidental access method and user equipment
WO2016192356A1 (en) Method and system for terminal device pairing connection
CN102388608A (en) Monitoring system, and monitoring terminal
CN109274584A (en) Cut-in method, device, client device and the storage medium of access server
WO2016192357A1 (en) Method and system for terminal device pairing connection
CN105813176A (en) Wireless local area network scanning method and terminal
CN105577879B (en) A kind of book management method and mobile terminal
CN106572152A (en) Message reminding method and message reminding apparatus
CN109152005A (en) A kind of uplink beam indicating means, UE, base station and storage medium
CN109450746A (en) Method of network entry, device, server and the storage medium of power peak regulation system equipment
CN110162270A (en) Date storage method, memory node and medium based on distributed memory system
CN105681124B (en) A kind of wire-speed detection method and device
CN104618922B (en) Measurement result matching process and device in a kind of RTT measurement and positionings system
CN110446157A (en) A kind of method and device determining target information based on WIFI probe
CN108291954A (en) The establishment system and its control method of wave condition map
CN110067110A (en) Determination method, apparatus, storage medium and the washing machine of detergent injected volume
CN108449274B (en) A kind of data-centered future network implementation method
CN110400346A (en) Information processing method and device, storage medium based on smart home operating system
CN110311963A (en) Information push method, device, computer equipment and computer readable storage medium
CN104883705A (en) Problem positioning method for data service complaints and device thereof
CN106658670B (en) A kind of Wireless Fidelity Wi-Fi scan method and mobile terminal
CN110099428A (en) Wireless Fidelity WiFi network access method, device and terminal
Deak et al. History aware device-free passive (dfp) localisation

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
GR01 Patent grant
GR01 Patent grant