CN103052094A - 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
CN103052094A
CN103052094A CN2013100350087A CN201310035008A CN103052094A CN 103052094 A CN103052094 A CN 103052094A CN 2013100350087 A CN2013100350087 A CN 2013100350087A CN 201310035008 A CN201310035008 A CN 201310035008A CN 103052094 A CN103052094 A CN 103052094A
Authority
CN
China
Prior art keywords
service set
mac address
resolver
network card
mobile radio
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
CN2013100350087A
Other languages
Chinese (zh)
Other versions
CN103052094B (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

Images

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 of obtaining the service set of mobile radio terminal
Technical field
The present invention relates to wireless communication technology field, relate in particular to a kind of method of obtaining the service set of mobile radio terminal.
Background technology
WiFi is 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, be subject to wideling popularize of operator, become the important means of data distribution and new business growth point.China Mobile, CHINAUNICOM and China Telecom are actively building the WiFi focus, as the important means of 3G network data distribution.Meanwhile, various places government is also building the WiFi focus, as the basic network facility in wireless city, wisdom city.
The popularity rate of WiFi focus in mobile phone users of various places government and operator's construction can be added up by data traffic on the one hand, can add up by knowing the number of setting up the portable terminal of wireless connections with it on the other hand.Yet MAC Address that can the unique identification portable terminal in the WiFi wireless network is not through just transmitting in the line behind the wireless router, therefore can't get access to by the mode of backstage statistics the number of the hotspot that corresponding portable terminal connected, also can't obtain service set (SSID) information list of mobile radio terminal.
Summary of the invention
According to the defective that exists in the prior art, a kind of method of obtaining the service set of mobile radio terminal now is provided, specifically comprise:
A kind of method of obtaining the service set of mobile radio terminal is applicable to mobile radio terminal, wherein, adopts detecting devices to monitor outside mobile radio terminal and obtains 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 used for surveying outside described mobile radio terminal; Described resolver is used for resolving the described service set that obtains corresponding described mobile radio terminal;
Described storage device comprises the first memory space, is built-in with the mac address information tabulation of depositing MAC Address in described the first memory space; When the user uses described detecting devices for the first time, described resolver reads for the first time the explore frame packet that described mobile radio terminal that described wireless network card receives sends and resolves, and the described MAC Address that described resolver obtains parsing is sent in the described mac address information tabulation in the described storage device and preserves;
Also comprise the second memory space in the described storage device, comprise a plurality of independently memory blocks in described the second memory space, deposit the service set information list of a corresponding specific described MAC Address in each described memory block; When the user used described detecting devices for the first time, described resolver read for the first time the MAC Address of described explore frame packet and resolves the service set that obtains corresponding described MAC Address; Described resolver is sent to described service set in the corresponding described service set information list in the described storage device and preserves;
Described the first memory space connects described the second memory space, and the described service set information list in the described MAC Address in described the first memory space and described the second memory space is corresponding one by one;
The described method of obtaining the service set of mobile radio terminal comprises:
Step 1 is opened described detecting devices, and the described wireless network card of described detecting devices is set to promiscuous mode;
Step 2, described wireless network card are caught the explore frame packet through described wireless network card; Described wireless network card with described explore frame Packet Generation to described resolver;
Step 3, described resolver resolve and obtain the MAC Address of corresponding described explore frame packet to described explore frame packet; Described resolver compares described mac address information tabulation built-in in described MAC Address and the described storage device;
Step 4, if described MAC Address is included in the tabulation of described mac address information, then described resolver from the described explore frame packet of the described MAC Address of correspondence, extract the service set information list and with described storage device in the service set information list of the corresponding described MAC Address deposited compare;
Step 5, if described service set is not included in the described service set information list, then described resolver writes described service set in the corresponding described service set information list and preserves.
Preferably, this obtains the method for the service set of mobile radio terminal, wherein, in the described step 4, if described MAC Address is not included in the described mac address information tabulation, then described resolver writes described MAC Address in the described mac address information tabulation and preserves, and resolves the service set that obtains corresponding described MAC Address; Described resolver directly deposits described service set in the service set information list of corresponding described MAC Address.
Preferably, this obtains the method for the service set of mobile radio terminal, and wherein, in the described step 5, if described service set is included in the described service set information list, then described resolver is abandoned the operation to described service set.
Preferably, this obtains the method for the service set of mobile radio terminal, and wherein, described explore frame packet is the probe request that described mobile radio terminal initiatively sends.
Preferably, this obtains the method for the service set of mobile radio terminal, wherein, is built-in with the 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 and obtain described MAC Address and described service set information list.
Preferably, this obtains the method for the service set of mobile radio terminal, wherein, increases a display unit in described detecting devices, and described display unit connects described packet capturing parts; Described packet capturing parts process described explore frame packet and obtain described MAC Address and described service set information list after, described MAC Address and described service set information list correspondence are presented on the described display unit.
The beneficial effect of technique scheme is: by means of being equipped with the WiFi network interface card and the equipment of packet capturing parts being installed, can be in the appointed area know the WiFi portable terminal about the historical information of hotspot service set by the mode of bypass monitoring, simple to operate, quick, the result is accurate.
Description of drawings
Fig. 1 is the structural representation of the detecting devices that adopts in the embodiments of the invention;
Fig. 2 is the schematic flow sheet that obtains the SSID method in the embodiments of the invention.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but not as limiting to the invention.
As shown in Figure 1, obtain the detecting devices that SSID information adopts and comprise wireless network card and resolver, wherein wireless network card is connected with resolver, and wireless network card receives the explore frame packet that outside mobile radio terminal equipment sends; Comprise packet capturing parts in the resolver, these packet capturing parts connect wireless network card; Be built-in with corresponding packet capturing software in these packet capturing parts, be used for resolving the explore frame packet that receives and obtain corresponding MAC Address and SSID information list; Above-mentioned explore frame packet refers to mobile radio terminal in order to find to hide the WAP (wireless access point) of service set (SSID), or in order to connect with WAP (wireless access point) fast the probe request of transmission initiatively.
In detecting devices, also comprise storage device, display unit and input unit; Wherein storage device and display unit connect respectively the packet capturing parts in the resolver; Display unit is used for the corresponding data information that demonstration packet capturing interpret obtains, and particularly, is used for showing mac address information and the SSID information that obtains of resolving; Comprise the first memory space and the second memory space in the storage device, the first memory space links to each other with the second memory space, and two memory spaces are connected to the packet capturing parts in the resolver; Be built-in with the mac address information tabulation of depositing MAC Address in the first memory space; The 3rd memory space is used for preserving the SSID information list of specific wireless portable terminal; MAC Address and SSID information list are corresponding one by one.
When the user enabled detecting devices for the first time, first explore frame packet that resolver parsing wireless network card receives also obtained corresponding MAC Address, and resolver deposits this MAC Address in the mac address information tabulation in; Resolver is resolved and to be obtained SSID information that should MAC Address and deposit in the SSID information list subsequently.
As shown in Figure 2, in the embodiments of the invention, the method for obtaining the SSID information of mobile radio terminal specifically comprises:
Start detecting devices;
(promiscuous mode is exactly to receive all through packets of network interface cards, comprises the bag that is not to issue the machine to promiscuous mode with the mode adjustment of wireless network card; Wireless network card can be accepted all by its data flow, no matter be any form, what address);
Outside wireless terminal device initiatively sends probe request, and wireless network card receives the probe request through it, and with the explore frame Packet Generation that the gets access to packet capturing parts to resolver;
The packet capturing parts read the explore frame packet, and utilize built-in packet capturing software parsing to obtain the corresponding MAC Address that sends the mobile radio terminal of this explore frame packet, and the tabulation of the mac address information in this MAC Address and the first memory space is compared:
If the MAC Address that obtains is included in the mac address information tabulation, then the packet capturing parts are resolved and are obtained SSID information that should MAC Address the probe data packet of correspondence;
The packet capturing parts compare this SSID information with the SSID information list of corresponding MAC Address; If this SSID information is not included in the information list, then the packet capturing parts write tabulation with this SSID information and preserve; If SSID information is included in the information list, then the packet capturing parts are abandoned the operation to this SSID information;
If the MAC Address that obtains is not included in the mac address information tabulation, then the packet capturing parts write the mac address information tabulation with this MAC Address, and resolve SSID information that should MAC Address, directly this SSID information is write in the SSID information list of corresponding MAC Address.
The packet capturing parts are sent to particular mac address and the SSID information list corresponding with this particular mac address in the display unit and show.
Finish 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 the embodiments of the invention, mobile radio terminal refers to have the portable terminal of WiFi wireless access capability, comprises mobile phone, panel computer, net book etc.
In the embodiments of the invention, detecting devices can make and be equipped with WiFi network interface card desktop computer, notebook, mobile phone or other special equipments, packet capturing is installed on the said equipment resolves software, this packet capturing is resolved software and is referred to and can and carry out the specific software of 802.11b/g/n protocol analysis from WiFi network interface card image data; This is so that the user can monitor outside mobile radio terminal by the mode of bypass monitoring.
The above only is preferred embodiment of the present invention; be not so restriction embodiments of the present invention and protection range; to those skilled in the art; should recognize that being equal to that all utilizations specification of the present invention and diagramatic content done replace and the resulting scheme of apparent variation, all should be included in protection scope of the present invention.

Claims (6)

1. a method of obtaining the service set of mobile radio terminal is applicable to mobile radio terminal, it is characterized in that, adopts detecting devices to monitor outside mobile radio terminal and obtains 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 used for surveying outside described mobile radio terminal; Described resolver is used for resolving the described service set that obtains corresponding described mobile radio terminal;
Described storage device comprises the first memory space, is built-in with the mac address information tabulation of depositing MAC Address in described the first memory space; When the user uses described detecting devices for the first time, described resolver reads for the first time the explore frame packet that described mobile radio terminal that described wireless network card receives sends and resolves, and the described MAC Address that described resolver obtains parsing is sent in the described mac address information tabulation in the described storage device and preserves;
Also comprise the second memory space in the described storage device, comprise a plurality of independently memory blocks in described the second memory space, deposit the service set information list of a corresponding specific described MAC Address in each described memory block; When the user used described detecting devices for the first time, described resolver read for the first time the MAC Address of described explore frame packet and resolves the service set that obtains corresponding described MAC Address; Described resolver is sent to described service set in the corresponding described service set information list in the described storage device and preserves;
Described the first memory space connects described the second memory space, and the described service set information list in the described MAC Address in described the first memory space and described the second memory space is corresponding one by one;
The described method of obtaining the service set of mobile radio terminal comprises:
Step 1 is opened described detecting devices, and the described wireless network card of described detecting devices is set to promiscuous mode;
Step 2, described wireless network card are caught the explore frame packet through described wireless network card; Described wireless network card with described explore frame Packet Generation to described resolver;
Step 3, described resolver resolve and obtain the MAC Address of corresponding described explore frame packet to described explore frame packet; Described resolver compares described mac address information tabulation built-in in described MAC Address and the described storage device;
Step 4, if described MAC Address is included in the tabulation of described mac address information, then described resolver from the described explore frame packet of the described MAC Address of correspondence, extract the service set information list and with described storage device in built-in corresponding service set information list compare;
Step 5, if described service set is not included in the described service set information list, then described resolver writes described service set in the corresponding described service set information list and preserves.
2. the method for obtaining the service set of mobile radio terminal as claimed in claim 1, it is characterized in that, in the described step 4, if described MAC Address is not included in the described mac address information tabulation, then described resolver writes described MAC Address in the described mac address information tabulation and preserves, and resolves the service set that obtains corresponding described MAC Address; Described resolver directly deposits described service set in the service set information list of corresponding described MAC Address.
3. the method for obtaining the service set of mobile radio terminal as claimed in claim 2, it is characterized in that, in the described step 5, if described service set is included in the described service set information list, then described resolver is abandoned the operation to described service set.
4. the method for 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 for obtaining the service set of mobile radio terminal as claimed in claim 1 is characterized in that, is built-in with the 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 and obtain described MAC Address and described service set information list.
6. the method for obtaining the service set of mobile radio terminal as claimed in claim 5 is characterized in that, increases a display unit in described detecting devices, and described display unit connects described packet capturing parts; Described packet capturing parts process described explore frame packet and obtain described MAC Address and described service set information list after, described MAC Address and described service set information list correspondence are presented on the described display unit.
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 true CN103052094A (en) 2013-04-17
CN103052094B 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)

Cited By (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
CN103561119A (en) * 2013-08-22 2014-02-05 小米科技有限责任公司 Method for obtaining medium access control address, device and equipment
CN104601570A (en) * 2015-01-13 2015-05-06 国家电网公司 Network security monitoring method based on bypass monitoring and software packet capturing technology
CN105559808A (en) * 2014-10-17 2016-05-11 Ge医疗系统环球技术有限公司 Device for upgrading simulation X-ray machine
WO2018014874A1 (en) * 2016-07-21 2018-01-25 深圳奇迹智慧网络有限公司 Mobile terminal mac data acquisition method
CN111093198A (en) * 2015-07-23 2020-05-01 中移(杭州)信息技术有限公司 Wireless local area network data transmission method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080287125A1 (en) * 2002-10-30 2008-11-20 Research In Motion Limited Methods And Apparatus For Selecting A Communication Network
CN101583140A (en) * 2009-05-14 2009-11-18 复旦大学 Automatic communication network monitoring system and realization method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080287125A1 (en) * 2002-10-30 2008-11-20 Research In Motion Limited Methods And Apparatus For Selecting A Communication Network
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中的应用研究", 《科技信息》, 5 November 2011 (2011-11-05) *
袁宇: "基于802_11标准的WLAN网络安全性研究", 《武汉邮电科学研究院硕士学位论文》, 31 December 2012 (2012-12-31) *

Cited By (8)

* 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
CN103561119A (en) * 2013-08-22 2014-02-05 小米科技有限责任公司 Method for obtaining medium access control address, device and equipment
CN103561119B (en) * 2013-08-22 2017-11-07 小米科技有限责任公司 Obtain method, device and the equipment of Media Access Control address
CN105559808A (en) * 2014-10-17 2016-05-11 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
CN111093198A (en) * 2015-07-23 2020-05-01 中移(杭州)信息技术有限公司 Wireless local area network data transmission method and device
CN111093198B (en) * 2015-07-23 2023-04-28 中移(杭州)信息技术有限公司 Wireless local area network data transmission method and device
WO2018014874A1 (en) * 2016-07-21 2018-01-25 深圳奇迹智慧网络有限公司 Mobile terminal mac data acquisition method

Also Published As

Publication number Publication date
CN103052094B (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN103052094B (en) Method for acquiring service set identifier of wireless mobile terminal
US9985938B2 (en) User control over WIFI network access
CN103067943A (en) Method for confirming existence of WiFi (wireless fidelity) mobile terminal and counting number thereof
CN104247513B (en) Method, device for High-effective Service discovery
CN102571479B (en) Method, device and system for measuring time delay
CN103491648B (en) Communication means and system based on WIFI
US20220264436A1 (en) Method and apparatus for wireless device identification and device type based diagnostics and optimization
CN103475751B (en) A kind of method and device of IP address switching
CN103118327A (en) WiFi-based (wireless fidelity-based) information transmission system and WiFi-based information transmission method
CN105392211A (en) Repeating method of wireless repeating device, and wireless repeating device
CN102118831A (en) Wireless access method and device
CN103561405A (en) Method and device for countering Rogue AP
US20160006828A1 (en) Embedded network proxy system, terminal device and proxy method
CN104270204A (en) Testing method and testing equipment for wireless communication module
CN102811435A (en) Method and system for smart phone user identity identification
CN103947242A (en) Method, device and system for collecting and identifying interference
US20140056131A1 (en) Methods and apparatuses for accessing internet
CN103248407A (en) Mobile terminal, as well as method and system thereof for accessing and sharing network resources
CN105975887A (en) Information interconversion method of information identification and terminal thereof
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
CN204539193U (en) Commercial wireless router
CN103347275A (en) Network performance test method used for mobile terminal
CN104168590B (en) A kind of method for micro power radio communication protocal analysis
CN105376116A (en) Test device and test method for data packet capturing between wireless router and mobile terminal

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