[go: up one dir, main page]

WO2018014874A1 - Mobile terminal mac data acquisition method - Google Patents

Mobile terminal mac data acquisition method 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
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.)
Ceased
Application number
PCT/CN2017/093938
Other languages
French (fr)
Chinese (zh)
Inventor
傅东生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Miracle Intelligent Network Co Ltd
Original Assignee
Shenzhen Miracle Intelligent Network 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 Shenzhen Miracle Intelligent Network Co Ltd filed Critical Shenzhen Miracle Intelligent Network Co Ltd
Publication of WO2018014874A1 publication Critical patent/WO2018014874A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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

Disclosed is a mobile terminal MAC data acquisition method. The method specifically comprises the following steps: step one, periodically capturing, on each channel of 2.4GHz and 5.8GHz, WIFI wireless communication data packets; step two, analyzing a 802.11 protocol frame header of each data packet, and extracting an MAC address from a BSSID field, a Source address field and a Destination address field of the frame header; step three, a system judging whether an acquired mobile phone MAC is a real MAC address, if same is not a real MAC address, analyzing SSID information once associated with message acquisition; step four, sending a Beacon message and a probe response message, the message carrying a cache SSID or common SSID information; and step five, acquiring a message replied to by a mobile phone to analyze a real WIFI MAC address.

Description

一种移动终端MAC数据采集方法Mobile terminal MAC data acquisition method 技术领域Technical field

本发明涉及一种数据采集方法,更具体的说,它涉及一种移动终端MAC数据采集方法。The invention relates to a data collection method, and more particularly to a mobile terminal MAC data acquisition method.

背景技术Background technique

2014年苹果曾在iOS 8发布的时候宣布了一个旨在保护用户隐私的新功能,即当iOS 8手机,会使用随机MAC地址,从而帮助保护用户隐私,防止基于WIFI MAC的用户追踪行为。In 2014, when Apple released iOS 8, it announced a new feature designed to protect user privacy. When iOS 8 phones, they use random MAC addresses to help protect user privacy and prevent WIFI MAC-based user tracking behavior.

目前使用的MAC地址收集方法,对于ios 8以上系统,WIFI处于未关联状态时,只能识别MAC地址是否是随机MAC地址,无法获取手机真实MAC地址。The currently used MAC address collection method, for the IOS 8 or higher system, 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.

发明内容Summary of the invention

针对现有技术存在的不足,本发明的目的在于提供一种移动终端MAC数据采集方法。In view of the deficiencies of the prior art, an object of the present invention is to provide a method for collecting MAC data of a mobile terminal.

为实现上述目的,本发明提供了如下技术方案:一种移动终端MAC数据采集方法,其方法具体包括以下步骤:To achieve the above objective, the present invention provides the following technical solution: a mobile terminal MAC data collection method, and the method specifically includes the following steps:

第一步,定时地在2.4GHz和5.8GHZ的各个频道上抓取WIFI无线通信数据包;The first step is to periodically grab the WIFI wireless communication data packet on each channel of 2.4 GHz and 5.8 GHz;

第二步,解析各数据包的802.11协议帧头,从帧头的BSSID字段、Source address字段、Destination address字段中提取出MAC地址;In the second step, 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;

第三步,系统判定获取到的手机MAC是否为真实MAC地址, 若不是真实MAC地址,解析报文获取曾经关联过的SSID信息;In the third step, 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;

第四步,发送Beacon报文和probe response报文,报文携带缓存SSID或者常用SSID信息;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.

第五步,获取手机回应的报文解析真实WIFI MAC地址。The fifth step is to obtain the real WIFI MAC address of the message that the mobile phone responds to.

本发明具有下述优点:本发明安装在苹果手机ios 8以上或类似系统,WIFI处于未关联状态时,获取真实WIFI MAC地址,等于准确获取身份识别码。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.

附图说明DRAWINGS

图1为本发明的结构框图。Figure 1 is a block diagram showing the structure of the present invention.

图2为本发明真实MAC地址判断原理图。2 is a schematic diagram of the real MAC address judgment of the present invention.

具体实施方式detailed description

参照图1、图2所示,本实施例的一种移动终端MAC数据采集方法,其方法具体包括以下步骤:Referring to FIG. 1 and FIG. 2, a method for collecting data of a MAC address of a mobile terminal according to this embodiment includes the following steps:

第一步,定时地在2.4GHz和5.8GHZ的各个频道上抓取WIFI无线通信数据包;The first step is to periodically grab the WIFI wireless communication data packet on each channel of 2.4 GHz and 5.8 GHz;

第二步,解析各数据包的802.11协议帧头,从帧头的BSSID字段、Source address字段、Destination address字段中提取出MAC地址;In the second step, 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;

第三步,系统判定获取到的手机MAC是否为真实MAC地址,若不是真实MAC地址,解析报文获取曾经关联过的SSID信息;In the third step, 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;

第三步中判断是否真实MAC地址的技术原理如下:The technical principle of judging whether the real MAC address is in the third step is as follows:

随机mac Random mac

X?:XX:XX:XX:XX:XXX? :XX:XX:XX:XX:XX

2,3,6,7,a,b,e,f2,3,6,7,a,b,e,f

当?=2,3,6,7,a,b,e,f时,是随机macwhen? =2,3,6,7,a,b,e,f, is a random mac

如下图所示b2的值判断随机macThe value of b2 is judged as random mac as shown in the figure below.

第四步,发送Beacon报文和probe response报文,报文携带缓存SSID或者常用SSID信息;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.

第五步,获取手机回应的报文解析真实WIFI MAC地址。The fifth step is to obtain the real WIFI MAC address of the message that the mobile phone responds to.

人流预警系统,通过移动终端MAC数据的采集,大量MAC数据汇总到后台服务器,后台服务器计算出街道实时人流量。当实时显示人数达到或超过警戒值,引导人流分流。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.

以上所述仅是本发明的优选实施方式,本发明的保护范围并不仅局限于上述实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above description is only a preferred embodiment of the present invention, and the scope of protection of the present invention is not limited to the above embodiments, and all the technical solutions under the inventive concept belong to the protection scope of the present invention. It should be noted that those skilled in the art should be considered as the scope of protection of the present invention without departing from the principles of the invention.

Claims (1)

一种移动终端MAC数据采集方法,其方法具体包括以下步骤:A mobile terminal MAC data collection method, the method specifically comprising the following steps: 第一步,定时地在2.4GHz和5.8GHZ的各个频道上抓取WIFI无线通信数据包;The first step is to periodically grab the WIFI wireless communication data packet on each channel of 2.4 GHz and 5.8 GHz; 第二步,解析各数据包的802.11协议帧头,从帧头的BSSID字段、Source address字段、Destination address字段中提取出MAC地址;In the second step, 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; 第三步,系统判定获取到的手机MAC是否为真实MAC地址,若不是真实MAC地址,解析报文获取曾经关联过的SSID信息;In the third step, 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; 第四步,发送Beacon报文和probe response报文,报文携带缓存SSID或者常用SSID信息;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. 第五步,获取手机回应的报文解析真实WIFI MAC地址。 The fifth step is to obtain the real WIFI MAC address of the message that the mobile phone responds to.
PCT/CN2017/093938 2016-07-21 2017-07-21 Mobile terminal mac data acquisition method Ceased WO2018014874A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610577478.XA CN106211210B (en) 2016-07-21 2016-07-21 Mobile terminal MAC data acquisition method
CN201610577478.X 2016-07-21

Publications (1)

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

Family

ID=57491935

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093938 Ceased WO2018014874A1 (en) 2016-07-21 2017-07-21 Mobile terminal mac data acquisition method

Country Status (2)

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545230A (en) * 2019-09-06 2019-12-06 北京百度网讯科技有限公司 Method and apparatus for forwarding VXLAN packets
CN111278036A (en) * 2018-12-04 2020-06-12 山东快发网络科技有限公司 Method and device for collecting MAC address
CN111294414A (en) * 2018-12-06 2020-06-16 西安光启未来技术研究院 Message processing method, device and system
CN112511661A (en) * 2020-11-18 2021-03-16 浙江迪普赛信息科技有限公司 Method, device and system for collecting real MAC address
RU2765980C1 (en) * 2021-02-09 2022-02-07 Общество с ограниченной ответственностью "Цифровые системы" Method and system for collecting user device identifiers in form of mac addresses

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211210B (en) * 2016-07-21 2020-02-07 深圳奇迹智慧网络有限公司 Mobile terminal MAC data acquisition method
CN106789415A (en) * 2016-12-12 2017-05-31 东软集团股份有限公司 The acquisition method of facility information, apparatus and system
CN107147752A (en) * 2017-05-23 2017-09-08 浙江云蝠电子科技有限公司 A kind of wifi terminals on-fixed wireless network card address restoring method
CN107333260A (en) * 2017-06-26 2017-11-07 迈普通信技术股份有限公司 A kind of method and device for the real MAC address for obtaining terminal
CN107094293A (en) * 2017-06-27 2017-08-25 南京赢纳信息科技有限公司 A kind of device and method for obtaining WiFi terminal real MAC address
CN110535891A (en) * 2018-05-24 2019-12-03 北京智慧图科技有限责任公司 A method of identification user's visiting
CN109327856B (en) * 2018-11-29 2022-05-20 锐捷网络股份有限公司 Passenger flow volume statistical method, network equipment and storage medium
CN109672759A (en) * 2019-01-15 2019-04-23 深圳中科爱讯科技有限公司 The MAC Address detection method of WiFi equipment
CN112187961A (en) * 2019-07-05 2021-01-05 苏州盈虚有数信息科技有限公司 Real mac acquisition mechanism system and method
CN111629374A (en) * 2020-06-01 2020-09-04 佳都新太科技股份有限公司 Physical address identification method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497667A (en) * 2011-12-20 2012-06-13 中国电信股份有限公司 Method and system for positioning WiFi (wireless fidelity) application focused areas
CN103052094A (en) * 2013-01-30 2013-04-17 公安部第三研究所 Method for acquiring service set identifier of wireless mobile terminal
CN103716777A (en) * 2013-12-18 2014-04-09 厦门市美亚柏科信息股份有限公司 Wireless terminal MAC address acquisition method and device
US20140140331A1 (en) * 2012-11-21 2014-05-22 Empire Technology Development Llc Schemes for connecting to wireless network
CN105049422A (en) * 2015-06-25 2015-11-11 上海迪爱斯通信设备有限公司 WIFI detection and identification equipment and system and WIFI detection and identification method
CN106211210A (en) * 2016-07-21 2016-12-07 深圳奇迹智慧网络有限公司 A kind of mobile terminal MAC data acquisition method
CN106658586A (en) * 2016-12-05 2017-05-10 任子行网络技术股份有限公司 Method used for acquiring MAC address of iOS device

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 (en) * 2008-10-27 2015-04-10 삼성전자주식회사 Method for connecting to wireless lan access point and apparatus using the same
CN102638900B (en) * 2011-02-15 2014-11-19 电信科学技术研究院 Method and device for establishing connection
CN103024091B (en) * 2011-09-26 2016-05-25 阿里巴巴集团控股有限公司 Obtain method and the device of networking client actual physical address
CN102413489A (en) * 2011-12-12 2012-04-11 广东欧珀移动通信有限公司 A kind of automatic testing method of mobile phone WiFi network connection
CN104284331B (en) * 2013-07-10 2019-09-24 南京中兴新软件有限责任公司 A kind of method and system connecting portable WLAN hot spot
CN103402177B (en) * 2013-08-02 2016-02-17 南京市海聚信息科技有限公司 A kind of WiFi terminal information transmission system and its implementation
CN103458456B (en) * 2013-08-27 2016-11-09 中国科学院信息工程研究所 User behavior detection method and device based on mobile terminal Wi-Fi data
CN105451222B (en) * 2014-07-31 2019-10-22 华为技术有限公司 A method, device and system for establishing a terminal connection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497667A (en) * 2011-12-20 2012-06-13 中国电信股份有限公司 Method and system for positioning WiFi (wireless fidelity) application focused areas
US20140140331A1 (en) * 2012-11-21 2014-05-22 Empire Technology Development Llc Schemes for connecting to wireless network
CN103052094A (en) * 2013-01-30 2013-04-17 公安部第三研究所 Method for acquiring service set identifier of wireless mobile terminal
CN103716777A (en) * 2013-12-18 2014-04-09 厦门市美亚柏科信息股份有限公司 Wireless terminal MAC address acquisition method and device
CN105049422A (en) * 2015-06-25 2015-11-11 上海迪爱斯通信设备有限公司 WIFI detection and identification equipment and system and WIFI detection and identification method
CN106211210A (en) * 2016-07-21 2016-12-07 深圳奇迹智慧网络有限公司 A kind of mobile terminal MAC data acquisition method
CN106658586A (en) * 2016-12-05 2017-05-10 任子行网络技术股份有限公司 Method used for acquiring MAC address of iOS device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278036A (en) * 2018-12-04 2020-06-12 山东快发网络科技有限公司 Method and device for collecting MAC address
CN111278036B (en) * 2018-12-04 2024-01-09 京东科技信息技术有限公司 A method and device for collecting MAC addresses
CN111294414A (en) * 2018-12-06 2020-06-16 西安光启未来技术研究院 Message processing method, device and system
CN110545230A (en) * 2019-09-06 2019-12-06 北京百度网讯科技有限公司 Method and apparatus for forwarding VXLAN packets
CN110545230B (en) * 2019-09-06 2023-09-26 北京百度网讯科技有限公司 Method and device for forwarding VXLAN message
CN112511661A (en) * 2020-11-18 2021-03-16 浙江迪普赛信息科技有限公司 Method, device and system for collecting real MAC address
RU2765980C1 (en) * 2021-02-09 2022-02-07 Общество с ограниченной ответственностью "Цифровые системы" Method and system for collecting user device identifiers in form of mac addresses
WO2022173320A1 (en) * 2021-02-09 2022-08-18 Дмитрий Игоревич СТЕПАНЕНКО Method and system for collecting user device identifiers in the form of mac addresses

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2018014874A1 (en) Mobile terminal mac data acquisition method
CN105049422B (en) A kind of WIFI detections identification equipment, system and WIFI detection identification methods
CN105307119B (en) A kind of pseudo-base station localization method based on the estimation of RSSI base station signal
JP2017526284A5 (en)
JP2010213340A5 (en)
CN103369581B (en) A kind of obtain the method and apparatus that terminal minimizes drive test data
CN104080127B (en) A kind of method and device for orienting switching
CN109451486B (en) WiFi acquisition system based on detection request frame and WiFi terminal detection method
CN106686593A (en) WIFI-module-based network-access configuration method and apparatus for smart devices
CN103052094B (en) Method for acquiring service set identifier of wireless mobile terminal
CN109600743B (en) Method and device for reversely detecting wireless access equipment
WO2017193493A1 (en) Method, system and device for acquiring user visited information, and computer storage medium
CN102883345A (en) Method for detecting coverage void based on multi-network switch in long term evolution network
CN103714670A (en) Intelligent alarming system and method
CN104581804B (en) A method for detecting the state of a fixed terminal in the Internet of Things
WO2017161655A1 (en) Fake base station filtering method, device, and computer-accessible storage medium
CN108156660A (en) A kind of abductive approach that WiFi probe collection success rates are improved based on big data
CN111988794B (en) Scenario-oriented network monitoring method and device
CN105960016B (en) Method for acquiring RSSI (received Signal Strength indicator)
CN106304211A (en) A kind of method and device building circuit domain dropping CSFB network frequency
CN107708072A (en) Trajectory analysis method and device based on mobile communications network
TWM576291U (en) System for analyzing flow based on Wi-Fi probing
CN205902095U (en) A real-time sniffing device for smart terminals based on Wi-Fi
CN107484199B (en) Full-standard base station information collection device
CN101330502B (en) Method and device for tracing signaling FP frame in RNC

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