CN103052094B - Method for acquiring service set identifier of wireless mobile terminal - Google Patents

Method for acquiring service set identifier of wireless mobile terminal Download PDF

Info

Publication number
CN103052094B
CN103052094B CN201310035008.7A CN201310035008A CN103052094B CN 103052094 B CN103052094 B CN 103052094B CN 201310035008 A CN201310035008 A CN 201310035008A CN 103052094 B CN103052094 B CN 103052094B
Authority
CN
China
Prior art keywords
service set
mac address
resolver
information list
network card
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.)
Active
Application number
CN201310035008.7A
Other languages
Chinese (zh)
Other versions
CN103052094A (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.)
Third Research Institute of the Ministry of Public Security
Original Assignee
Third Research Institute of the Ministry of Public Security
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 Third Research Institute of the Ministry of Public Security filed Critical Third Research Institute of the Ministry of Public Security
Priority to CN201310035008.7A priority Critical patent/CN103052094B/en
Publication of CN103052094A publication Critical patent/CN103052094A/en
Application granted granted Critical
Publication of CN103052094B publication Critical patent/CN103052094B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for acquiring the service set identifier of a wireless mobile terminal, and belongs to the technical field of wireless communication, wherein adopted detection equipment comprises a wireless network card, an analysis device, a storage device, an input device and a display device. The method comprises the following steps of: starting the detection equipment; adjusting the mode of the wireless network card to a promiscuous mode; actively sending a detection request frame through external wireless terminal wireless terminal equipment, receiving the detection request frame which passes through the wireless network card and sending to the package capturing part of the analysis device through the wireless network card; and reading a detection frame data package, analyzing to obtain the MAC (Media Access Control) address of the detection frame data package and analyzing to obtain SSID (Service Set Identifier) information list according to the MAC address through the package capturing part. The method disclosed by the invention can be used for acquiring the historical information of a WiFi (Wireless Fidelity) mobile terminal related to a wireless hotspot service set identifier within an appointed region in a bypass monitoring way by virtue of equipment provided with a WiFi network card and the package capturing part and is easy and fast to operate and accurate in result.

Description

A kind of method obtaining the service set of mobile radio terminal
Technical field
The present invention relates to wireless communication technology field, particularly relate to a kind of method obtaining the service set of mobile radio terminal.
Background technology
WiFi as the unified wireless access wide band technology in the whole world, in recent years with its broadband access ability, dispose flexibly and low-cost advantage, receive wideling popularize of operator, become the important means of data distribution and new business growth point.China Mobile, CHINAUNICOM and China Telecom actively build Wi-Fi hotspot, as the important means of 3G network data distribution.Meanwhile, various places government also builds Wi-Fi hotspot, as the infrastructure network of wireless city, smart city.
The popularity rate of Wi-Fi hotspot in mobile phone users of various places government and operator's construction, can be added up by data traffic on the one hand, on the other hand can by knowing that the number of the mobile terminal setting up wireless connections with it is added up.But can the MAC Address of unique identification mobile terminal just not transmit in the line after wireless router in WiFi wireless network, therefore the mode cannot added up by backstage gets the number of the hotspot that corresponding mobile terminal connected, and also cannot obtain service set (SSID) information list of mobile radio terminal.
Summary of the invention
According to the defect existed in prior art, a kind of method obtaining the service set of mobile radio terminal is now provided, specifically comprises:
Obtain a method for the service set of mobile radio terminal, be applicable to mobile radio terminal, wherein, adopt a detecting devices to monitor outside mobile radio terminal and obtain the service set of described mobile radio terminal; Described detecting devices comprises wireless network card, resolver and storage device; Described wireless network card connects described resolver, and described resolver connects described storage device; Described wireless network card is for detecting outside described mobile radio terminal; Described resolver obtains the described service set of corresponding described mobile radio terminal for resolving;
Described storage device comprises the first memory space, is built-in with the mac address information list of depositing MAC Address in described first memory space; When user uses described detecting devices first time, described resolver first time reads the explore frame packet of the described mobile radio terminal transmission that described wireless network card receives and resolves, and the described MAC Address that parsing obtains is sent in the described mac address information list in described storage device and preserves by described resolver;
Also comprise the second memory space in described storage device, described second memory space comprises multiple independently memory block, deposits the service set information list of a corresponding specific described MAC Address in each described memory block; When user uses described detecting devices first time, described resolver first time reads the MAC Address of described explore frame packet and resolves the service set obtaining corresponding described MAC Address; Described service set is sent in the described service set information list of correspondence in described storage device and preserves by described resolver;
Described first memory space connects described second memory space, the described service set information list one_to_one corresponding in the described MAC Address in described first memory space and described second memory space;
The method of the service set of described acquisition mobile radio terminal comprises:
Step 1, opens described detecting devices, and the described wireless network card of described detecting devices is set to promiscuous mode;
Step 2, described wireless network card catches the explore frame packet through described wireless network card; Described wireless network card is by described explore frame Packet Generation extremely described resolver;
Step 3, described resolver is resolved described explore frame packet and is obtained the MAC Address of corresponding described explore frame packet; Described mac address information list built-in in described MAC Address and described storage device compares by described resolver;
Step 4, if described MAC Address is included in described mac address information list, then described resolver extracts service set information list and compares with the service set information list of the corresponding described MAC Address deposited in described storage device from the described explore frame packet of the described MAC Address of correspondence;
Step 5, if described service set is not included in described service set information list, then described resolver is preserved in described service set information list corresponding for described service set write.
Preferably, the method of the service set of this acquisition mobile radio terminal, wherein, in described step 4, if described MAC Address is not included in described mac address information list, then described MAC Address writes in described mac address information list and preserves by described resolver, and resolves the service set obtaining corresponding described MAC Address; Described resolver is directly by the service set information list of described service set stored in the described MAC Address of correspondence.
Preferably, the method for the service set of this acquisition mobile radio terminal, wherein, in described step 5, if described service set is included in described service set information list, then the operation to described service set abandoned by described resolver.
Preferably, the method for the service set of this acquisition mobile radio terminal, wherein, described explore frame packet is the probe request that described mobile radio terminal initiatively sends.
Preferably, the method for the service set of this acquisition mobile radio terminal, wherein, is built-in with packet capturing parts in described resolver, and described packet capturing parts connect described wireless network card; Described packet capturing parts read the explore frame packet of described wireless network card transmission and process obtains described MAC Address and described service set information list.
Preferably, the method for the service set of this acquisition mobile radio terminal, wherein, in described detecting devices, increase a display unit, described display unit connects described packet capturing parts; Described MAC Address and described service set information list correspondence also, after obtaining described MAC Address and described service set information list, show on said display means by explore frame packet described in the process of described packet capturing parts.
The beneficial effect of technique scheme is: by means of being equipped with WiFi network interface card and being provided with the equipment of packet capturing parts, the mode can monitored by bypass in appointed area knows the historical information of WiFi mobile terminal about hotspot service set, simple to operate, quick, result is accurate.
Accompanying drawing explanation
Fig. 1 is the structural representation of the detecting devices adopted in embodiments of the invention;
Fig. 2 is the schematic flow sheet obtaining SSID method in embodiments of the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
As shown in Figure 1, the detecting devices that acquisition SSID information adopts comprises wireless network card and resolver, and wherein wireless network card is connected with resolver, and wireless network card receives the explore frame packet that outside mobile radio terminal equipment sends; Resolver comprises packet capturing parts, and these packet capturing parts connect wireless network card; Corresponding packet capturing software is built-in with, for resolving the explore frame packet that receives and obtaining corresponding MAC Address and SSID information list in these packet capturing parts; Above-mentioned explore frame packet refers to that mobile radio terminal is in order to find the WAP (wireless access point) of hiding service set (SSID), or the probe request initiatively sent in order to quick and WAP (wireless access point) connect.
Storage device, display unit and input unit is also comprised in detecting devices; Wherein storage device and display unit are connected the packet capturing parts in resolver respectively; The corresponding data information that display unit obtains for showing packet capturing interpret, specifically, for showing the mac address information and SSID information of resolving and obtaining; Storage device comprises the first memory space and the second memory space, and the first memory space is connected with the second memory space, and two memory spaces are connected to the packet capturing parts in resolver; The mac address information list of depositing MAC Address is built-in with in first memory space; 3rd memory space is for preserving the SSID information list of specific wireless mobile terminal; MAC Address and SSID information list one_to_one corresponding.
User's first time is when enabling detecting devices, and resolver is resolved first explore frame packet that wireless network card receives and also obtained corresponding MAC Address, resolver by this MAC Address stored in mac address information list; Subsequently resolver resolve obtain to should MAC Address SSID information and stored in SSID information list.
As shown in Figure 2, in embodiments of the invention, the method obtaining the SSID information of mobile radio terminal specifically comprises:
Start detecting devices;
By the mode adjustment of wireless network card, to promiscuous mode, (promiscuous mode is exactly receive all packets through network interface card, and comprising is not the bag issuing the machine; Wireless network card can accept all data flow by it, no matter is what form, what address);
Outside wireless terminal device initiatively sends probe request, and wireless network card receives its probe request of process, and by the explore frame Packet Generation that gets to the packet capturing parts of resolver;
Packet capturing parts read explore frame packet, and utilize built-in packet capturing software parses to obtain the corresponding MAC Address sending the mobile radio terminal of this explore frame packet, and the mac address information list in this MAC Address and the first memory space are compared:
If the MAC Address obtained is included in mac address information list, then the probe data packet of packet capturing parts to correspondence is resolved and is obtained should the SSID information of MAC Address;
This SSID information compares with the SSID information list of corresponding MAC Address by packet capturing parts; If this SSID information is not included in information list, then this SSID information is write list and preserves by packet capturing parts; If SSID information is included in information list, then packet capturing parts abandon the operation to this SSID information;
If the MAC Address obtained is not included in mac address information list, then packet capturing parts are by the list of this MAC Address write mac address information, and resolve should the SSID information of MAC Address, directly this SSID information is write in the SSID information list of corresponding MAC Address.
Particular mac address and the SSID information list corresponding with this particular mac address are sent in display unit and show by packet capturing parts.
Terminate the process that this obtains SSID information.
If packet capturing interpret MAC Address does not obtain any SSID information, then abandon the operation to this MAC Address.
In embodiments of the invention, mobile radio terminal refers to the mobile terminal with WiFi wireless access capability, comprises mobile phone, panel computer, net book etc.
In embodiments of the invention, detecting devices can make to be equipped with WiFi network interface card desktop computer, notebook, mobile phone or other special equipments, the said equipment is provided with packet capturing and resolves software, this packet capturing is resolved software and is referred to and can carry out the specific software of 802.11b/g/n protocol analysis from WiFi network interface card image data; This makes user monitor outside mobile radio terminal by the mode that bypass is monitored.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection range is limited; to those skilled in the art; should recognize and all should be included in the scheme that equivalent replacement done by all utilizations specification of the present invention and diagramatic content and apparent change obtain in protection scope of the present invention.

Claims (6)

1. obtain a method for the service set of mobile radio terminal, be applicable to mobile radio terminal, it is characterized in that, adopt a detecting devices to monitor outside mobile radio terminal and obtain the service set of described mobile radio terminal; Described detecting devices comprises wireless network card, resolver and storage device; Described wireless network card connects described resolver, and described resolver connects described storage device; Described wireless network card is for detecting outside described mobile radio terminal; Described resolver obtains the described service set of corresponding described mobile radio terminal for resolving;
Described storage device comprises the first memory space, is built-in with the mac address information list of depositing MAC Address in described first memory space; When user uses described detecting devices first time, described resolver first time reads the explore frame packet of the described mobile radio terminal transmission that described wireless network card receives and resolves, and the described MAC Address that parsing obtains is sent in the described mac address information list in described storage device and preserves by described resolver;
Also comprise the second memory space in described storage device, described second memory space comprises multiple independently memory block, deposits the service set information list of a corresponding specific described MAC Address in each described memory block; When user uses described detecting devices first time, described resolver first time reads the MAC Address of described explore frame packet and resolves the service set obtaining corresponding described MAC Address; Described service set is sent in the described service set information list of correspondence in described storage device and preserves by described resolver;
Described first memory space connects described second memory space, the described service set information list one_to_one corresponding in the described MAC Address in described first memory space and described second memory space;
The method of the service set of described acquisition mobile radio terminal comprises:
Step 1, opens described detecting devices, and the described wireless network card of described detecting devices is set to promiscuous mode;
Step 2, described wireless network card catches the explore frame packet through described wireless network card; Described wireless network card is by described explore frame Packet Generation extremely described resolver;
Step 3, described resolver is resolved described explore frame packet and is obtained the MAC Address of corresponding described explore frame packet; Described mac address information list built-in in described MAC Address and described storage device compares by described resolver;
Step 4, if described MAC Address is included in described mac address information list, then described resolver extracts service set and compares with corresponding service set information list built-in in described storage device from the described explore frame packet of the described MAC Address of correspondence;
Step 5, if described service set is not included in described service set information list, then described resolver is preserved in described service set information list corresponding for described service set write.
2. the method obtaining the service set of mobile radio terminal as claimed in claim 1, it is characterized in that, in described step 4, if described MAC Address is not included in described mac address information list, then described MAC Address writes in described mac address information list and preserves by described resolver, and resolves the service set obtaining corresponding described MAC Address; Described resolver is directly by the service set information list of described service set stored in the described MAC Address of correspondence.
3. the method obtaining the service set of mobile radio terminal as claimed in claim 2, it is characterized in that, in described step 5, if described service set is included in described service set information list, then the operation to described service set abandoned by described resolver.
4. the method obtaining the service set of mobile radio terminal as claimed in claim 1, is characterized in that, described explore frame packet is the probe request that described mobile radio terminal initiatively sends.
5. the method obtaining the service set of mobile radio terminal as claimed in claim 1, it is characterized in that, be built-in with packet capturing parts in described resolver, described packet capturing parts connect described wireless network card; Described packet capturing parts read the explore frame packet of described wireless network card transmission and process obtains described MAC Address and described service set.
6. the method obtaining the service set of mobile radio terminal as claimed in claim 5, is characterized in that, in described detecting devices, increase a display unit, described display unit connects described packet capturing parts; Described MAC Address and described service set correspondence also, after obtaining described MAC Address and described service set, show on said display means by explore frame packet described in the process of described packet capturing parts.
CN201310035008.7A 2013-01-30 2013-01-30 Method for acquiring service set identifier of wireless mobile terminal Active CN103052094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310035008.7A CN103052094B (en) 2013-01-30 2013-01-30 Method for acquiring service set identifier of wireless mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310035008.7A CN103052094B (en) 2013-01-30 2013-01-30 Method for acquiring service set identifier of wireless mobile terminal

Publications (2)

Publication Number Publication Date
CN103052094A CN103052094A (en) 2013-04-17
CN103052094B true CN103052094B (en) 2015-05-13

Family

ID=48064565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310035008.7A Active CN103052094B (en) 2013-01-30 2013-01-30 Method for acquiring service set identifier of wireless mobile terminal

Country Status (1)

Country Link
CN (1) CN103052094B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103449266A (en) * 2013-08-20 2013-12-18 吴江骏达电梯部件有限公司 WIFI (wireless fidelity) network-based elevator emergency control device and control method thereof
CN103561119B (en) * 2013-08-22 2017-11-07 小米科技有限责任公司 Obtain method, device and the equipment of Media Access Control address
CN105559808B (en) * 2014-10-17 2021-03-12 Ge医疗系统环球技术有限公司 Device for upgrading simulation X-ray machine
CN104601570A (en) * 2015-01-13 2015-05-06 国家电网公司 Network security monitoring method based on bypass monitoring and software packet capturing technology
CN111093198B (en) * 2015-07-23 2023-04-28 中移(杭州)信息技术有限公司 Wireless local area network data transmission method and device
CN106211210B (en) * 2016-07-21 2020-02-07 深圳奇迹智慧网络有限公司 Mobile terminal MAC data acquisition method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583140A (en) * 2009-05-14 2009-11-18 复旦大学 Automatic communication network monitoring system and realization method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1709007B (en) * 2002-10-30 2010-05-26 捷讯研究有限公司 Methods and device for selecting a communication network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583140A (en) * 2009-05-14 2009-11-18 复旦大学 Automatic communication network monitoring system and realization method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
全代勇,栾国森.关联重定向在802.11 VLAN中的应用研究.《科技信息》.2011,全文. *
基于802_11标准的WLAN网络安全性研究;袁宇;《武汉邮电科学研究院硕士学位论文》;20121231;全文 *

Also Published As

Publication number Publication date
CN103052094A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN103052094B (en) Method for acquiring service set identifier of wireless mobile terminal
CN106851782B (en) Data transmission method and device
CN102571479B (en) Method, device and system for measuring time delay
CN103491648B (en) Communication means and system based on WIFI
CN103067943A (en) Method for confirming existence of WiFi (wireless fidelity) mobile terminal and counting number thereof
US20220264436A1 (en) Method and apparatus for wireless device identification and device type based diagnostics and optimization
CN102256336B (en) The methods, devices and systems that a kind of WiFi access point combinationally uses
CN105357737A (en) Method and device for accessing WiFi device to wireless access point
CN102118831A (en) Wireless access method and device
CN102201846A (en) Wireless data transmission system and method based on soft AP (access point) technology
EP2672758B1 (en) Methods and apparatuses for easing Internet access by mobile stations associated with a mobile access point
US20160006828A1 (en) Embedded network proxy system, terminal device and proxy method
EP2154840A1 (en) Method and apparatus for supporting user terminal to access network in the fixed access network
CN202285423U (en) Intelligent set top box
CN102843434B (en) A kind of equipment room shares method, the Apparatus and system of content
CN104869621B (en) A kind of Network Recognition method and apparatus
CN102647802A (en) Wireless data sharing method and terminals for realizing sharing
CN104038360A (en) Network management realization system and network management realization method based on novel access controller architecture
CN102891900B (en) A kind of method, apparatus and system of the domain name mapping in flow unloading
CN103347275A (en) Network performance test method used for mobile terminal
TWI479932B (en) Signal transmitting method
CN112866423B (en) IP protocol stack adaptation method and device, sensor gateway and communication system
CN104735660A (en) WIFI access authentication method and system and terminals
CN102932208A (en) Site monitoring method and device
CN102946634A (en) Communicator and data communication method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant