WO2018014874A1 - 一种移动终端mac数据采集方法 - Google Patents

一种移动终端mac数据采集方法 Download PDF

Info

Publication number
WO2018014874A1
WO2018014874A1 PCT/CN2017/093938 CN2017093938W WO2018014874A1 WO 2018014874 A1 WO2018014874 A1 WO 2018014874A1 CN 2017093938 W CN2017093938 W CN 2017093938W WO 2018014874 A1 WO2018014874 A1 WO 2018014874A1
Authority
WO
WIPO (PCT)
Prior art keywords
mac address
real
message
mac
mobile phone
Prior art date
Application number
PCT/CN2017/093938
Other languages
English (en)
French (fr)
Inventor
傅东生
Original Assignee
深圳奇迹智慧网络有限公司
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 深圳奇迹智慧网络有限公司 filed Critical 深圳奇迹智慧网络有限公司
Publication of WO2018014874A1 publication Critical patent/WO2018014874A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • the invention relates to a data collection method, and more particularly to a mobile terminal MAC data acquisition method.
  • the currently used MAC address collection method when the WIFI is in an unassociated state, it can only identify whether the MAC address is a random MAC address, and cannot obtain the real MAC address of the mobile phone.
  • an object of the present invention is to provide a method for collecting MAC data of a mobile terminal.
  • a mobile terminal MAC data collection method and the method specifically includes the following steps:
  • the first step is to periodically grab the WIFI wireless communication data packet on each channel of 2.4 GHz and 5.8 GHz;
  • the 802.11 protocol frame header of each data packet is parsed, and the MAC address is extracted from the BSSID field, the Source address field, and the Destination address field of the frame header;
  • the system determines whether the obtained MAC address of the mobile phone is a real MAC address. If it is not a real MAC address, parse the message to obtain the SSID information that has been associated;
  • the fourth step is to send a Beacon packet and a probe response packet, where the packet carries the cached SSID or the commonly used SSID information.
  • the fifth step is to obtain the real WIFI MAC address of the message that the mobile phone responds to.
  • the invention has the following advantages: the invention is installed on the Apple mobile phone ios 8 or above or similar system, and when the WIFI is in an unassociated state, obtaining the real WIFI MAC address is equivalent to accurately obtaining the identification code.
  • Figure 1 is a block diagram showing the structure of the present invention.
  • FIG. 2 is a schematic diagram of the real MAC address judgment of the present invention.
  • a method for collecting data of a MAC address of a mobile terminal includes the following steps:
  • the first step is to periodically grab the WIFI wireless communication data packet on each channel of 2.4 GHz and 5.8 GHz;
  • the 802.11 protocol frame header of each data packet is parsed, and the MAC address is extracted from the BSSID field, the Source address field, and the Destination address field of the frame header;
  • the system determines whether the obtained MAC address of the mobile phone is a real MAC address, and if it is not a real MAC address, parses the message to obtain the SSID information that has been associated;
  • b2 The value of b2 is judged as random mac as shown in the figure below.
  • the fourth step is to send a Beacon packet and a probe response packet, where the packet carries the cached SSID or the commonly used SSID information.
  • the fifth step is to obtain the real WIFI MAC address of the message that the mobile phone responds to.
  • the human flow early warning system collects a large amount of MAC data to the background server through the collection of MAC data of the mobile terminal, and the background server calculates the real-time traffic of the street. When the number of real-time displays reaches or exceeds the alert value, the flow of people is diverted.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种移动终端MAC数据采集方法,其方法具体包括以下步骤:第一步,定时地在2.4GHz和5.8GHZ的各个频道上抓取WIFI无线通信数据包;第二步,解析各数据包的802.11协议帧头,从帧头的BSSID字段、Source address字段、Destination address字段中提取出MAC地址;第三步,***判定获取到的手机MAC是否为真实MAC地址,若不是真实MAC地址,解析报文获取曾经关联过的SSID信息;第四步,发送Beacon报文和probe response报文,报文携带缓存SSID或者常用SSID信息;第五步,获取手机回应的报文解析真实WIFI MAC地址。

Description

一种移动终端MAC数据采集方法 技术领域
本发明涉及一种数据采集方法,更具体的说,它涉及一种移动终端MAC数据采集方法。
背景技术
2014年苹果曾在iOS 8发布的时候宣布了一个旨在保护用户隐私的新功能,即当iOS 8手机,会使用随机MAC地址,从而帮助保护用户隐私,防止基于WIFI MAC的用户追踪行为。
目前使用的MAC地址收集方法,对于ios 8以上***,WIFI处于未关联状态时,只能识别MAC地址是否是随机MAC地址,无法获取手机真实MAC地址。
发明内容
针对现有技术存在的不足,本发明的目的在于提供一种移动终端MAC数据采集方法。
为实现上述目的,本发明提供了如下技术方案:一种移动终端MAC数据采集方法,其方法具体包括以下步骤:
第一步,定时地在2.4GHz和5.8GHZ的各个频道上抓取WIFI无线通信数据包;
第二步,解析各数据包的802.11协议帧头,从帧头的BSSID字段、Source address字段、Destination address字段中提取出MAC地址;
第三步,***判定获取到的手机MAC是否为真实MAC地址, 若不是真实MAC地址,解析报文获取曾经关联过的SSID信息;
第四步,发送Beacon报文和probe response报文,报文携带缓存SSID或者常用SSID信息;
第五步,获取手机回应的报文解析真实WIFI MAC地址。
本发明具有下述优点:本发明安装在苹果手机ios 8以上或类似***,WIFI处于未关联状态时,获取真实WIFI MAC地址,等于准确获取身份识别码。
附图说明
图1为本发明的结构框图。
图2为本发明真实MAC地址判断原理图。
具体实施方式
参照图1、图2所示,本实施例的一种移动终端MAC数据采集方法,其方法具体包括以下步骤:
第一步,定时地在2.4GHz和5.8GHZ的各个频道上抓取WIFI无线通信数据包;
第二步,解析各数据包的802.11协议帧头,从帧头的BSSID字段、Source address字段、Destination address字段中提取出MAC地址;
第三步,***判定获取到的手机MAC是否为真实MAC地址,若不是真实MAC地址,解析报文获取曾经关联过的SSID信息;
第三步中判断是否真实MAC地址的技术原理如下:
随机mac
X?:XX:XX:XX:XX:XX
2,3,6,7,a,b,e,f
当?=2,3,6,7,a,b,e,f时,是随机mac
如下图所示b2的值判断随机mac
第四步,发送Beacon报文和probe response报文,报文携带缓存SSID或者常用SSID信息;
第五步,获取手机回应的报文解析真实WIFI MAC地址。
人流预警***,通过移动终端MAC数据的采集,大量MAC数据汇总到后台服务器,后台服务器计算出街道实时人流量。当实时显示人数达到或超过警戒值,引导人流分流。
以上所述仅是本发明的优选实施方式,本发明的保护范围并不仅局限于上述实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (1)

  1. 一种移动终端MAC数据采集方法,其方法具体包括以下步骤:
    第一步,定时地在2.4GHz和5.8GHZ的各个频道上抓取WIFI无线通信数据包;
    第二步,解析各数据包的802.11协议帧头,从帧头的BSSID字段、Source address字段、Destination address字段中提取出MAC地址;
    第三步,***判定获取到的手机MAC是否为真实MAC地址,若不是真实MAC地址,解析报文获取曾经关联过的SSID信息;
    第四步,发送Beacon报文和probe response报文,报文携带缓存SSID或者常用SSID信息;
    第五步,获取手机回应的报文解析真实WIFI MAC地址。
PCT/CN2017/093938 2016-07-21 2017-07-21 一种移动终端mac数据采集方法 WO2018014874A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610577478.XA CN106211210B (zh) 2016-07-21 2016-07-21 一种移动终端mac数据采集方法
CN201610577478.X 2016-07-21

Publications (1)

Publication Number Publication Date
WO2018014874A1 true WO2018014874A1 (zh) 2018-01-25

Family

ID=57491935

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093938 WO2018014874A1 (zh) 2016-07-21 2017-07-21 一种移动终端mac数据采集方法

Country Status (2)

Country Link
CN (1) CN106211210B (zh)
WO (1) WO2018014874A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545230A (zh) * 2019-09-06 2019-12-06 北京百度网讯科技有限公司 用于转发vxlan报文的方法和装置
CN111278036A (zh) * 2018-12-04 2020-06-12 山东快发网络科技有限公司 一种采集mac地址的方法及装置
CN111294414A (zh) * 2018-12-06 2020-06-16 西安光启未来技术研究院 一种报文的处理方法、装置以及***
CN112511661A (zh) * 2020-11-18 2021-03-16 浙江迪普赛信息科技有限公司 真实mac地址的采集方法、设备及***
RU2765980C1 (ru) * 2021-02-09 2022-02-07 Общество с ограниченной ответственностью "Цифровые системы" Способ и система сбора идентификаторов пользовательских устройств в виде мас-адресов

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211210B (zh) * 2016-07-21 2020-02-07 深圳奇迹智慧网络有限公司 一种移动终端mac数据采集方法
CN106789415A (zh) * 2016-12-12 2017-05-31 东软集团股份有限公司 设备信息的采集方法、装置及***
CN107147752A (zh) * 2017-05-23 2017-09-08 浙江云蝠电子科技有限公司 一种wifi终端非固定无线网卡地址还原方法
CN107333260A (zh) * 2017-06-26 2017-11-07 迈普通信技术股份有限公司 一种获取终端的真实mac地址的方法及装置
CN107094293A (zh) * 2017-06-27 2017-08-25 南京赢纳信息科技有限公司 一种获取WiFi终端真实MAC地址的装置及方法
CN110535891A (zh) * 2018-05-24 2019-12-03 北京智慧图科技有限责任公司 一种识别用户到访的方法
CN109327856B (zh) * 2018-11-29 2022-05-20 锐捷网络股份有限公司 客流量统计方法、网络设备及存储介质
CN109672759A (zh) * 2019-01-15 2019-04-23 深圳中科爱讯科技有限公司 WiFi设备的MAC地址探测方法
CN112187961A (zh) * 2019-07-05 2021-01-05 苏州盈虚有数信息科技有限公司 一种真实mac采集机制***及方法
CN111629374A (zh) * 2020-06-01 2020-09-04 佳都新太科技股份有限公司 一种物理地址的识别方法、装置、计算机设备和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497667A (zh) * 2011-12-20 2012-06-13 中国电信股份有限公司 WiFi 应用聚焦区域的定位方法及***
CN103052094A (zh) * 2013-01-30 2013-04-17 公安部第三研究所 一种获取无线移动终端的服务集标识的方法
CN103716777A (zh) * 2013-12-18 2014-04-09 厦门市美亚柏科信息股份有限公司 一种无线终端mac地址采集方法及装置
US20140140331A1 (en) * 2012-11-21 2014-05-22 Empire Technology Development Llc Schemes for connecting to wireless network
CN105049422A (zh) * 2015-06-25 2015-11-11 上海迪爱斯通信设备有限公司 一种wifi探测识别设备、***以及wifi探测识别方法
CN106211210A (zh) * 2016-07-21 2016-12-07 深圳奇迹智慧网络有限公司 一种移动终端mac数据采集方法
CN106658586A (zh) * 2016-12-05 2017-05-10 任子行网络技术股份有限公司 一种采集iOS设备的MAC地址的方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7006499B2 (en) * 2003-04-28 2006-02-28 Alcatel Ip Networks, Inc. Source identifier for MAC address learning
KR101510714B1 (ko) * 2008-10-27 2015-04-10 삼성전자주식회사 무선 랜 AP(Access Point) 접속 방법 및 이를이용한 장치
CN102638900B (zh) * 2011-02-15 2014-11-19 电信科学技术研究院 一种连接建立方法及装置
CN103024091B (zh) * 2011-09-26 2016-05-25 阿里巴巴集团控股有限公司 获得网络客户端真实物理地址的方法及装置
CN102413489A (zh) * 2011-12-12 2012-04-11 广东欧珀移动通信有限公司 一种手机WiFi网络连接自动化测试方法
CN104284331B (zh) * 2013-07-10 2019-09-24 南京中兴新软件有限责任公司 一种连接便携式wlan热点的方法及***
CN103402177B (zh) * 2013-08-02 2016-02-17 南京市海聚信息科技有限公司 一种WiFi终端信息推送***及其实现方法
CN103458456B (zh) * 2013-08-27 2016-11-09 中国科学院信息工程研究所 基于移动终端Wi-Fi数据的用户行为检测方法及装置
CN105451222B (zh) * 2014-07-31 2019-10-22 华为技术有限公司 一种终端建立连接的方法、装置及***

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497667A (zh) * 2011-12-20 2012-06-13 中国电信股份有限公司 WiFi 应用聚焦区域的定位方法及***
US20140140331A1 (en) * 2012-11-21 2014-05-22 Empire Technology Development Llc Schemes for connecting to wireless network
CN103052094A (zh) * 2013-01-30 2013-04-17 公安部第三研究所 一种获取无线移动终端的服务集标识的方法
CN103716777A (zh) * 2013-12-18 2014-04-09 厦门市美亚柏科信息股份有限公司 一种无线终端mac地址采集方法及装置
CN105049422A (zh) * 2015-06-25 2015-11-11 上海迪爱斯通信设备有限公司 一种wifi探测识别设备、***以及wifi探测识别方法
CN106211210A (zh) * 2016-07-21 2016-12-07 深圳奇迹智慧网络有限公司 一种移动终端mac数据采集方法
CN106658586A (zh) * 2016-12-05 2017-05-10 任子行网络技术股份有限公司 一种采集iOS设备的MAC地址的方法

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278036A (zh) * 2018-12-04 2020-06-12 山东快发网络科技有限公司 一种采集mac地址的方法及装置
CN111278036B (zh) * 2018-12-04 2024-01-09 京东科技信息技术有限公司 一种采集mac地址的方法及装置
CN111294414A (zh) * 2018-12-06 2020-06-16 西安光启未来技术研究院 一种报文的处理方法、装置以及***
CN110545230A (zh) * 2019-09-06 2019-12-06 北京百度网讯科技有限公司 用于转发vxlan报文的方法和装置
CN110545230B (zh) * 2019-09-06 2023-09-26 北京百度网讯科技有限公司 用于转发vxlan报文的方法和装置
CN112511661A (zh) * 2020-11-18 2021-03-16 浙江迪普赛信息科技有限公司 真实mac地址的采集方法、设备及***
RU2765980C1 (ru) * 2021-02-09 2022-02-07 Общество с ограниченной ответственностью "Цифровые системы" Способ и система сбора идентификаторов пользовательских устройств в виде мас-адресов
WO2022173320A1 (ru) * 2021-02-09 2022-08-18 Дмитрий Игоревич СТЕПАНЕНКО Способ и система сбора идентификаторов пользовательских устройств в виде мас-адресов

Also Published As

Publication number Publication date
CN106211210A (zh) 2016-12-07
CN106211210B (zh) 2020-02-07

Similar Documents

Publication Publication Date Title
WO2018014874A1 (zh) 一种移动终端mac数据采集方法
CN103209402B (zh) 终端组可及性确定方法及***
EP3755048A1 (en) Data processing method, and data transmission method and apparatus
CN105764059B (zh) 一种基于终端位置信息来识别伪基站的方法
JP2017526284A5 (zh)
JP2010213340A5 (zh)
WO2015101127A1 (zh) 一种位置信息采集方法和设备
CN106686593A (zh) 一种基于wifi模块的智能设备配置入网的方法及装置
JP2016500228A5 (zh)
ATE424065T1 (de) Überwachung eines lokalen netzwerks
CN107071705A (zh) 寻呼窄带终端的方法、网络设备及基站
EP2219412A3 (en) System and method for automatic wireless connection between a portable terminal and a digital device
WO2020033574A3 (en) Idle cell reselection and user equipment capability signaling
CN103763695B (zh) 一种物联网安全测评方法
CN105307119A (zh) 一种基于rssi基站信号估计的伪基站定位方法
CN107438254B (zh) 基于用户行为的业务识别方法、装置和***
CN104378730B (zh) 一种m2m业务在蜂窝无线通信***中的接入***
WO2017193493A1 (zh) 获取用户到访信息的方法、***、设备和计算机存储介质
US20170150343A1 (en) Method and apparatus for mobility management
CN106379788A (zh) 一种电梯乘客身份识别和人流统计装置及方法
CN104469912B (zh) 环境侦测装置及其数据传输方法
CN104581804B (zh) 物联网中固定终端状态检测的方法
WO2018209652A1 (en) Adaptive network data collection and composition
WO2017161655A1 (zh) 过滤伪基站的方法、装置及计算机可读存储介质
CN105188062A (zh) 泄密防护方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17830508

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.06.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17830508

Country of ref document: EP

Kind code of ref document: A1