CN111278036A - Method and device for collecting MAC address - Google Patents

Method and device for collecting MAC address Download PDF

Info

Publication number
CN111278036A
CN111278036A CN201811473832.XA CN201811473832A CN111278036A CN 111278036 A CN111278036 A CN 111278036A CN 201811473832 A CN201811473832 A CN 201811473832A CN 111278036 A CN111278036 A CN 111278036A
Authority
CN
China
Prior art keywords
mac address
address
type
mac
determined
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
CN201811473832.XA
Other languages
Chinese (zh)
Other versions
CN111278036B (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.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Shandong Kuaifa Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Kuaifa Network Technology Co ltd filed Critical Shandong Kuaifa Network Technology Co ltd
Priority to CN201811473832.XA priority Critical patent/CN111278036B/en
Publication of CN111278036A publication Critical patent/CN111278036A/en
Application granted granted Critical
Publication of CN111278036B publication Critical patent/CN111278036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

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

Abstract

The application discloses a method and a device for collecting MAC addresses, a WiFi probe can determine management frames sent by different equipment and whether each MAC address is legal by classifying the MAC addresses in received management frames, and when the fact that the management frames carrying random MAC addresses exist in the broadcasted management frames is determined, a plurality of beacon frames are sequentially generated for broadcasting according to the acquired MAC addresses broadcasted by each AP equipment, so that a terminal sending the management frames carrying the random MAC addresses returns the management frames carrying the legal MAC addresses when a reliable beacon frame is received.

Description

Method and device for collecting MAC address
Technical Field
The present application relates to the field of information technology, and in particular, to a method and an apparatus for acquiring an MAC address.
Background
At present, it has become a common method to acquire a Media Access Control (MAC) Address of a device, acquire the MAC Address of a mobile terminal near the device, and perform services such as passenger flow statistics and analysis, accurate marketing, public security, attendance record, and the like based on the MAC Address. The existing device for acquiring the MAC address is generally referred to as a WiFi probe because the MAC address of the mobile terminal is acquired by acquiring information sent by the mobile terminal when a Wireless-Fidelity (WiFi) connection is established.
In the prior art, according to the Wireless Local Area Networks (WLANs) 802.11 standard established by the Institute of Electrical and Electronics Engineers (IEEE), when a mobile terminal needs to access a WLAN, the mobile terminal may scan the accessible 802.11 standard WLAN in the vicinity of the mobile terminal by broadcasting a probe request frame (ProbeRequest) to the outside, where the probe request frame carries a MAC address of the mobile terminal. The WiFi probe may acquire MAC addresses of surrounding mobile terminals through the received probe request frame.
However, since there is a part of mobile terminals in the prior art when broadcasting the probe request frame, the MAC address carried in the probe request frame is a MAC address randomly generated by the terminal, and not a real MAC address of the mobile terminal. Since the mobile terminal can be uniquely identified based on the MAC address, the MAC address acquired by the WiFi probe in the prior art can be used for services such as passenger flow statistics and analysis, precise marketing, public security, attendance record and the like, and therefore when the WiFi probe acquires a randomly generated MAC address, subsequent services cannot be continued based on the acquired randomly generated MAC address.
Therefore, the present application provides a new method and apparatus for acquiring a MAC address to solve the problems in the prior art.
Disclosure of Invention
The embodiment of the specification provides a method and a device for acquiring a MAC address, which are used for solving the problem that in the prior art, when a WiFi probe acquires a randomly generated MAC address, subsequent services cannot be continued based on the acquired randomly generated MAC address.
The embodiment of the specification adopts the following technical scheme:
a method of collecting MAC addresses, comprising:
receiving each management frame transmitted in a broadcasting mode, and respectively determining the MAC address carried in each management frame;
for each determined MAC address, determining an address type of the MAC address and a device type corresponding to the MAC address, where the address types at least include: a legal MAC address and a random MAC address, the device type at least comprising: the access point comprises common equipment and wireless access point AP equipment;
sequentially storing each MAC address of the determined equipment type as AP equipment;
when the address type of any MAC address is determined to be a random MAC address, sequentially generating beacon frames and broadcasting according to the stored MAC addresses of which the device types are AP devices, so that a terminal which broadcasts a management frame carrying the random MAC address returns to the management frame carrying a legal MAC address when receiving a reliable beacon frame.
An apparatus for collecting a MAC address, comprising:
the receiving determining module is used for receiving each management frame transmitted in a broadcasting mode and respectively determining the MAC address carried in each management frame;
the classification module is used for determining the address type of each determined MAC address and the equipment type corresponding to the MAC address, wherein the address types at least comprise: a legal MAC address and a random MAC address, the device type at least comprising: the access point comprises common equipment and wireless access point AP equipment;
the storage module is used for sequentially storing each MAC address of the AP equipment in the determined equipment type;
and the broadcasting module is used for sequentially generating beacon frames and broadcasting according to the stored MAC addresses with the equipment types as the AP equipment when the address type of any MAC address is determined to be a random MAC address, so that a terminal which broadcasts the management frames carrying the random MAC address returns the management frames carrying the legal MAC address when receiving the reliable beacon frames.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects:
by the method and the device provided by the specification, the WiFi probe can determine the management frames sent by different devices by classifying the MAC addresses in the received management frames and whether each MAC address is legal, and when it is determined that the management frames carrying the random MAC address exist in the broadcasted management frames, sequentially generate a plurality of beacon frames for broadcasting according to the obtained MAC addresses broadcasted by each wireless Access Point (AP) device, so that the terminal sending the management frames carrying the random MAC address returns the management frames carrying the legal MAC address when receiving the reliable beacon frames. The Wifi probe can sequentially store the obtained MAC addresses of all the surrounding AP equipment, and when a management frame carrying a random MAC address is received, a beacon frame can be generated and broadcasted through the stored MAC addresses of all the AP equipment, so that a terminal broadcasting the management frame carrying the random MAC address returns the management frame carrying a legal MAC address to the WiFi probe when receiving the reliable beacon frame broadcasted by the WiFi probe. The defects of the WiFi probe in obtaining the legal MAC address in the prior art are overcome.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a method for acquiring a MAC address according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an apparatus for acquiring a MAC address according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more apparent, the technical solutions of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step based on the embodiments in the description belong to the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a process for acquiring a MAC address according to an embodiment of the present application, which may specifically include the following steps:
s100: and receiving each management frame propagated in a broadcasting mode, and respectively determining the MAC address carried in each management frame.
In the prior art, the function of the early WiFi probe to acquire the MAC address is integrated on the AP device, that is, the AP device provides network service for the accessed terminal, and also receives signals broadcast by peripheral terminals that are not accessed, and determines the MAC address from the received signals. However, when the AP device acquires the MAC address, the AP device may interfere with the quality of the network service provided by the AP device, and the efficiency of the AP device acquiring the MAC address is low, so that the AP device does not integrate the function of acquiring the MAC address any more but uses an independent device to realize the function of acquiring the MAC address. That is, the WiFi probe of the prior art is a stand-alone device, which no longer provides network service for the mobile terminal, but is only used for acquiring the MAC address of the mobile terminal for performing subsequent services.
Similarly, in one or more embodiments of the present application, the process of acquiring the MAC address may also be performed by a WiFi probe, which is a standalone device and does not include a function of providing a network service for the mobile terminal. Then, the WiFi probe may acquire, via the antenna, the management frame broadcast by the devices with WLAN connectivity. Wherein, the management frame conforms to IEEE802.11 standard, and the management frame may also carry MAC address.
Specifically, how the WiFi probe acquires the broadcasted management frame is a mature method in the prior art, and the content of the process is not repeated in this application.
It should be noted that, in this embodiment of the present application, the device having a function of connecting to a WLAN specifically may include: a mobile terminal (e.g., a mobile phone, a tablet computer, etc.) and an AP device. Therefore, the WiFi probe can acquire the management frame broadcasted by the mobile terminal and can also receive the management frame broadcasted by the AP equipment. In addition, the management frame in the present application may include at least: the management Frame broadcast by the AP device is generally a Beacon Frame (Beacon Frame), because the mobile terminal is generally a party needing to access the WLAN, and the AP device is a party providing WLAN access.
In addition, when the device broadcasts the management frame, the content of the management frame needs to conform to the IEEE802.11 standard, and therefore the management frame carries the MAC address. Then, the WiFi terminal may also determine the MAC address carried in each received management frame. Of course, the MAC address may be a legitimate MAC address of the device (i.e., the real address of the device that is provided when connecting to the network), or the MAC address may be a MAC address that is randomly generated by the device.
S102: and determining the address type of the MAC address and the equipment type corresponding to the MAC address aiming at each determined MAC address.
S104: and sequentially storing each MAC address of the determined equipment type as the AP equipment.
In one or more embodiments of the present application, since the device sending the MAC is the device, and whether the MAC address is a real address or not is correspondingly specified in the IEEE802.11 standard, after the WiFi probe determines the MAC address carried in the management frame, it may also determine, for each MAC address, an address type of the MAC address and a device type corresponding to the MAC address. Wherein the address types include: a legal MAC address and a random MAC address, the device type at least comprising: an AP device.
Specifically, the WiFi probe may determine the type of the MAC address first, and for each determined MAC address, determine whether a value of b1 bits (bit) in a first byte of the MAC address is 0, if so, determine that the address type of the MAC address is a valid MAC address and store the valid MAC address, and if not, determine that the address type of the MAC address is a random address and do not store the random address. For the determined legal MAC address, the WiFi probe can be provided for a background server so that the background server can execute services (such as services of passenger flow statistics and analysis, accurate marketing, public safety and the like) according to needs.
Certainly, in the embodiment of the application, the WiFi probe may also store the determined legal MAC addresses locally, and send the determined legal MAC addresses to the background server when the number of the stored legal MAC addresses reaches a preset value, or send the stored legal MAC addresses to the background server according to a preset time interval.
In addition, as described in step S100, since the management frame received by the WiFi probe may be a probe request frame broadcast by the mobile terminal or a beacon frame broadcast by the AP device, and the MAC address of the AP device is not generally used for subsequent backend servers to perform services, in this embodiment of the present application, the WiFi probe may further determine and store the MAC address of the AP device as the device type from the determined MAC addresses, but may not send the MAC address to the backend servers to reduce communication pressure.
Further, since the MAC address of the AP device is used for the mobile terminal to establish a communication connection with the AP device, the MAC address carried in the beacon frame broadcasted by the AP device is a valid MAC address. Therefore, in the embodiment of the application, after determining each legal MAC address, the WiFi probe may determine whether the device type corresponding to the legal MAC address is an AP device, if so, store the MAC address in a linked list in sequence, and if not, directly store the MAC address so as to send the MAC address to the background server.
Furthermore, when the WiFi probe stores the determined MAC address of the AP device in the linked list, the WiFi probe may store the MAC address in the time sequence of receiving the management frame carrying the MAC address. And the number of the MAC addresses stored in the linked list can be set as required, and then after the linked list is full of storage, when the newly determined MAC address of the AP equipment needs to be stored, the WiFi probe can delete the MAC address stored earliest in the linked list and then determine the MAC address of the AP equipment. For example, assuming that the capacity of the linked list of the WiFi probe is 5, five MAC addresses a 1-a 5 are stored in chronological order, and after determining a new MAC address a6 that needs to be stored in the linked list, the MAC address a1 may be deleted, and five MAC addresses a 2-a 6 may be stored.
In addition, since the position of the WiFi probe is generally fixed, and the AP devices around the WiFi probe are also generally fixed, the WiFi probe may further perform a re-processing after determining each MAC address, and for each determined MAC address, when the MAC address matches any one of the MAC addresses that have already been stored, the WiFi probe does not perform a processing on the MAC address.
S106: and when the address type of any MAC address is determined to be a random MAC address, sequentially generating and broadcasting a beacon frame according to each MAC address of which the stored equipment type is the AP equipment.
In one or more embodiments of the present application, when it is determined that an address type of any MAC address is a random MAC address, it may be determined that the MAC address cannot be used for a subsequent background server to perform a service, and therefore the WiFi probe may further generate and broadcast a beacon frame in sequence according to each MAC address of which the device type is stored as an AP device. And when the terminal broadcasting the management frame carrying the random MAC address receives the beacon true frame broadcast by the WiFi probe and if the beacon frame is determined to be reliable, returning the management frame carrying the legal MAC address to the WiFi probe. The WiFi probe may determine and store the legitimate MAC address through steps S100 and S102.
Specifically, as illustrated in step S100, in one or more embodiments of the present application, the WiFi probe does not have a function of providing a network service, and is a device that passively receives a broadcasted management frame. Therefore, in order to implement the function of broadcasting the beacon frame, in step S106, a main program executable by a Central Processing Unit (CPU) of the WiFi probe calls an AT command stored in a non-volatile memory (e.g., ROM) according to service logic, configures parameters to be used when an antenna of the WiFi probe broadcasts a signal, and sequentially generates beacon frames according to MAC addresses of AP devices of the stored device types, and sequentially broadcasts the sequentially generated beacon frames through the antenna in the generation order.
That is, the WiFi probe configures itself as a device capable of broadcasting signals according to the AT commands configured in advance and the service logic of the main program, and broadcasts the generated beacon frame. Wherein the AT commands can be pre-configured as needed in the ROM of the WiFi probe. And the WiFi probe is configured through the AT instruction, so that the existing WiFi probe without the network service function can realize the beacon frame broadcasting on the basis of not changing a hardware structure, and the upgrading cost of the WiFi probe is reduced. Meanwhile, the WiFi probe does not have a network service function, the function of the WiFi probe can be intensively used for acquiring the MAC address, and the efficiency is higher than that of AP equipment integrating the function of acquiring the MAC address in the prior art.
In addition, since the WiFi probe stores the determined MAC addresses of the AP devices in a chain manner in step S104, the WiFi probe may sequentially generate and broadcast a beacon frame including the MAC address from the MAC address for each stored MAC address of the AP devices. Therefore, the WiFi probe can complete the broadcast of the beacon frame while not interfering with the acquisition management frame.
Further, as for a received beacon frame, the terminal usually identifies the network identifier of the beacon frame first and determines whether the beacon frame is a reliable beacon frame, in step S104 in this embodiment of the present application, the WiFi probe may further determine, for each MAC address of the AP device, a network identifier in a management frame carrying each MAC address, and establish and store a corresponding relationship between the MAC address and the determined network identifier. Then, in step S106, when the WiFi probe generates a beacon frame, sequentially determining, for each called MAC address, a network identifier corresponding to the MAC address according to a stored correspondence between each MAC address and each network identifier, and then generating a beacon frame carrying the MAC address and the network identifier according to the MAC address and the network identifier corresponding to the MAC address. The network identifier may be a Service Set Identifier (SSID).
It should be noted that, when determining whether the beacon frame is trusted, the terminal may determine whether the MAC address corresponding to the beacon frame is connected according to the history of WLAN connection, and if so, determine that the beacon frame is trusted, and if not, determine that the beacon frame is not trusted. Or, the terminal may also determine whether the beacon frame is trusted according to a pre-acquired white list and/or black list of the MAC address, and the specific determination manner of the terminal is not limited in the present application. However, as long as the terminal determines that the beacon frame broadcasted by the WiFi probe is trustworthy and provides a management frame carrying a legal MAC address, the WiFi probe may perform step S100 to determine the legal MAC address through the management frame and continue to perform the subsequent steps.
Through the method for acquiring the MAC address shown in fig. 1, the WiFi probe may sequentially store the acquired MAC addresses of the surrounding AP devices, and when receiving a management frame carrying a random MAC address, may generate and broadcast a beacon frame through the stored MAC addresses of the AP devices, so that a terminal broadcasting the management frame carrying the random MAC address returns a management frame carrying a legal MAC address to the WiFi probe when receiving a reliable beacon frame broadcasted by the WiFi probe. The defects of the WiFi probe in obtaining the legal MAC address in the prior art are overcome.
In addition, in the embodiment of the present application, since the validity of the MAC address of the AP device, which is the device type acquired by the WiFi probe, generally decreases with time, the WiFi probe may further determine, for the stored MAC address of each AP device, whether the MAC address is overtime, if yes, delete the MAC address, and if not, do not perform the processing.
Further, when the WiFi probe broadcasts the beacon frame in sequence in step S106, since there is interference between the broadcast beacon frame and the reception management frame, the WiFi probe may also broadcast the generated beacon frame in sequence according to the preset time interval. Wherein the time interval can be set as required (e.g., 5 seconds), which is not limited in this application.
Further, in the embodiment of the present application, in order to reduce the resource consumed by the WiFi probe, the WiFi probe may not perform step S106 when the number of management frames acquired in step S100 is less than the preset number. That is, when the number of surrounding terminals is small, even when a management frame carrying a random MAC address is received, a beacon frame is not generated to broadcast but the random MAC address is ignored in order to concentrate the resources of the WiFi probe on determining the MAC address. The preset number may be set as needed, for example, the number of WiFi probes set in a place with a large flow of people may be higher (e.g., 10), the number of WiFi probes set in a place with a small flow of people may be lower (e.g., 1), and the like, which is not limited in the present application.
Based on the method for acquiring the MAC address provided in fig. 1, the present application also correspondingly provides a device for acquiring the MAC address, as shown in fig. 2.
Fig. 2 is a schematic structural diagram of an apparatus for acquiring a MAC address according to an embodiment of the present application, including:
a receiving determination module 200, configured to receive each management frame transmitted in a broadcast manner, and determine an MAC address carried in each management frame;
a classification module 202, configured to determine, for each determined MAC address, an address type of the MAC address and a device type corresponding to the MAC address, where the address types at least include: a legal MAC address and a random MAC address, the device type at least comprising: the access point comprises common equipment and wireless access point AP equipment;
the storage module 204 is used for sequentially storing each MAC address of the determined device type as the AP device;
the broadcast module 206, when determining that the address type of any MAC address is a random MAC address, sequentially generates and broadcasts a beacon frame according to each MAC address whose device type is stored as an AP device, so that a terminal that broadcasts a management frame carrying a random MAC address returns a management frame carrying a valid MAC address when receiving a trusted beacon frame.
The storage module 204 sequentially stores each MAC address with the device type being the AP device in a linked list according to the time sequence determined by each MAC address with the device type being the AP device.
The broadcast module 206 sequentially calls each MAC address of the AP device as the device type according to the stored linked list, generates a beacon frame, and broadcasts the beacon frame.
The classification module 202 determines, for each MAC address whose device type is an AP device, a network identifier in a management frame carrying each MAC address; the storage module 204 is configured to establish and store a corresponding relationship between the MAC address and the determined network identifier; the broadcast module 206 determines, for each called MAC address, a network identifier corresponding to the MAC address according to a stored correspondence between each MAC address and each network identifier, and generates a beacon frame according to the MAC address and the network identifier corresponding to the MAC address.
The broadcast module 206, when determining that the address type of any MAC address is a random MAC address, invokes and executes AT least one AT instruction stored in advance, configures parameters of an antenna broadcast signal, sequentially generates beacon frames for each MAC address of the AP device according to the stored device type, and sequentially broadcasts the beacon frames through the antenna according to the generation sequence according to the configured parameters of the broadcast signal.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for collecting MAC addresses, comprising:
receiving each management frame transmitted in a broadcasting mode, and respectively determining the MAC address carried in each management frame;
for each determined MAC address, determining an address type of the MAC address and a device type corresponding to the MAC address, where the address types at least include: a legal MAC address and a random MAC address, the device type at least comprising: a wireless Access Point (AP) device;
sequentially storing each MAC address of the determined equipment type as AP equipment;
when the address type of any MAC address is determined to be a random MAC address, sequentially generating beacon frames and broadcasting according to the stored MAC addresses of which the device types are AP devices, so that a terminal which broadcasts a management frame carrying the random MAC address returns to the management frame carrying a legal MAC address when receiving a reliable beacon frame.
2. The method of claim 1, wherein the step of sequentially storing each MAC address of the AP device as the determined device type includes:
and sequentially storing each MAC address with the device type being the AP device in a linked list according to the time sequence determined by each MAC address with the device type being the AP device.
3. The method of claim 2, wherein sequentially generating and broadcasting beacon frames according to the stored MAC addresses of the AP devices, specifically comprising:
and sequentially calling each MAC address with the device type being the AP device according to the stored linked list, generating a beacon frame and broadcasting the beacon frame.
4. The method of claim 3, wherein the method further comprises:
determining a network identifier in a management frame carrying each MAC address aiming at each MAC address of which the equipment type is AP equipment;
establishing and storing the corresponding relation between the MAC address and the determined network identifier;
generating a beacon frame, specifically including:
and aiming at each called MAC address, determining a network identifier corresponding to the MAC address according to the stored corresponding relation between each MAC address and each network identifier, and generating a beacon frame according to the MAC address and the network identifier corresponding to the MAC address.
5. The method of claim 1, wherein when it is determined that the address type of any MAC address is a random MAC address, sequentially generating and broadcasting beacon frames according to the stored MAC addresses whose device types are AP devices, specifically comprising:
when the address type of any MAC address is determined to be a random MAC address, calling and executing AT least one pre-stored AT command, configuring parameters of antenna broadcast signals and sequentially generating beacon frames for each MAC address of the AP equipment according to the stored equipment type;
and according to the configured parameters of the broadcast signals, sequentially broadcasting the beacon frames through the antenna according to the generation sequence.
6. An apparatus for collecting Media Access Control (MAC) addresses, comprising:
the receiving determining module is used for receiving each management frame transmitted in a broadcasting mode and respectively determining the MAC address carried in each management frame;
the classification module is used for determining the address type of each determined MAC address and the equipment type corresponding to the MAC address, wherein the address types at least comprise: a legal MAC address and a random MAC address, the device type at least comprising: the access point comprises common equipment and wireless access point AP equipment;
the storage module is used for sequentially storing each MAC address of the AP equipment in the determined equipment type;
and the broadcasting module is used for sequentially generating beacon frames and broadcasting according to the stored MAC addresses with the equipment types as the AP equipment when the address type of any MAC address is determined to be a random MAC address, so that a terminal which broadcasts the management frames carrying the random MAC address returns the management frames carrying the legal MAC address when receiving the reliable beacon frames.
7. The apparatus according to claim 6, wherein the storage module sequentially stores the MAC addresses of the AP device having the device type in a linked list according to a time sequence in which the MAC addresses of the AP device having the device type are determined.
8. The apparatus of claim 7, wherein the broadcasting module sequentially invokes MAC addresses of devices of which types are AP devices according to the stored linked list to generate and broadcast a beacon frame.
9. The apparatus of claim 8, wherein the classification module determines, for each MAC address whose device type is an AP device, a network identifier in a management frame carrying each MAC address;
the storage module is used for establishing and storing the corresponding relation between the MAC address and the determined network identifier;
and the broadcast module determines the network identifier corresponding to each called MAC address according to the stored corresponding relation between each MAC address and each network identifier, and generates a beacon frame according to the MAC address and the network identifier corresponding to the MAC address.
10. The apparatus of claim 6, wherein the broadcasting module, when determining that the address type of any MAC address is a random MAC address, invokes and executes AT least one AT instruction stored in advance, configures parameters of an antenna broadcast signal and sequentially generates beacon frames for each MAC address of the AP device according to the stored device type, and sequentially broadcasts the beacon frames through the antenna according to the generation order according to the configured parameters of the broadcast signal.
CN201811473832.XA 2018-12-04 2018-12-04 Method and device for acquiring MAC address Active CN111278036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811473832.XA CN111278036B (en) 2018-12-04 2018-12-04 Method and device for acquiring MAC address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811473832.XA CN111278036B (en) 2018-12-04 2018-12-04 Method and device for acquiring MAC address

Publications (2)

Publication Number Publication Date
CN111278036A true CN111278036A (en) 2020-06-12
CN111278036B CN111278036B (en) 2024-01-09

Family

ID=71002895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811473832.XA Active CN111278036B (en) 2018-12-04 2018-12-04 Method and device for acquiring MAC address

Country Status (1)

Country Link
CN (1) CN111278036B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511661A (en) * 2020-11-18 2021-03-16 浙江迪普赛信息科技有限公司 Method, device and system for collecting real MAC address
CN113347580A (en) * 2021-06-07 2021-09-03 美的集团股份有限公司 Intelligent device network distribution method and device, electronic device and storage medium
CN113613245A (en) * 2021-08-19 2021-11-05 支付宝(杭州)信息技术有限公司 Method and apparatus for managing communication channels
CN115988609A (en) * 2022-12-28 2023-04-18 北京数原数字化城市研究中心 Equipment classification method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259878A (en) * 2013-04-18 2013-08-21 山东省计算中心 MAC address capture method for specific target user of wireless local area network
CN107333260A (en) * 2017-06-26 2017-11-07 迈普通信技术股份有限公司 A kind of method and device for the real MAC address for obtaining terminal
WO2018014874A1 (en) * 2016-07-21 2018-01-25 深圳奇迹智慧网络有限公司 Mobile terminal mac data acquisition method
US20180288695A1 (en) * 2017-03-31 2018-10-04 Intel IP Corporation Access point connectivity optimization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259878A (en) * 2013-04-18 2013-08-21 山东省计算中心 MAC address capture method for specific target user of wireless local area network
WO2018014874A1 (en) * 2016-07-21 2018-01-25 深圳奇迹智慧网络有限公司 Mobile terminal mac data acquisition method
US20180288695A1 (en) * 2017-03-31 2018-10-04 Intel IP Corporation Access point connectivity optimization
CN107333260A (en) * 2017-06-26 2017-11-07 迈普通信技术股份有限公司 A kind of method and device for the real MAC address for obtaining terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511661A (en) * 2020-11-18 2021-03-16 浙江迪普赛信息科技有限公司 Method, device and system for collecting real MAC address
CN113347580A (en) * 2021-06-07 2021-09-03 美的集团股份有限公司 Intelligent device network distribution method and device, electronic device and storage medium
CN113347580B (en) * 2021-06-07 2023-03-31 美的集团股份有限公司 Intelligent device network distribution method and device, electronic device and storage medium
CN113613245A (en) * 2021-08-19 2021-11-05 支付宝(杭州)信息技术有限公司 Method and apparatus for managing communication channels
CN115988609A (en) * 2022-12-28 2023-04-18 北京数原数字化城市研究中心 Equipment classification method and device, electronic equipment and storage medium
CN115988609B (en) * 2022-12-28 2023-12-19 北京数原数字化城市研究中心 Equipment classification method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111278036B (en) 2024-01-09

Similar Documents

Publication Publication Date Title
US11019512B2 (en) Providing easy access to radio networks
US12010576B2 (en) Communication method, apparatus, and system
CN111278036B (en) Method and device for acquiring MAC address
US20230232370A1 (en) Relative positioning method, terminal, and base station
US20180124691A1 (en) Method and apparatus for accessing wireless network with smart device
CN109168171B (en) Configuration information acquisition method, device, equipment and system
US11019483B2 (en) Access point supporting at least two virtual networks and method performed thereby for communicating with wireless device
WO2017157331A1 (en) Ue context sharing method and apparatus
WO2012136245A1 (en) Considering privacy when using area-based minimization of drive-tests (mdt)
CN113473569A (en) Discovery method of application server and related device
EP3422750B1 (en) Method and apparatus for providing service provider identifier, access device, and terminal device
EP3114887B1 (en) Determination method and corresponding terminal, computer program product and storage medium
CN110958611A (en) WiFi connection control method and device, storage medium and terminal
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN105848251B (en) Hotspot access method, device and terminal
CN114786133B (en) Data processing method, device, equipment and storage medium
US20220264435A1 (en) Access control method and communications apparatus
CN103152801B (en) The method and apparatus being connected is set up with wireless access device
CN115379448A (en) Service provisioning method and server
CN113079514A (en) Network access verification method and device and computer readable storage medium
CN111726880A (en) Resource allocation method, electronic device and storage medium
CN111294314A (en) Message processing method, device and system
CN111294414A (en) Message processing method, device and system
CN110691346A (en) WiFi (Wireless Fidelity) connection method of wireless doorbell, wireless doorbell and system
CN113905436B (en) Positioning method, positioning device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 21st Floor, Building 2, Qisheng Square, Xinluo Street, High tech Zone, Jinan City, Shandong Province, 250000

Applicant after: Shandong Jingdong molybdenum Media Network Technology Co.,Ltd.

Address before: 21st Floor, Building 2, Qisheng Square, Xinluo Street, High tech Zone, Jinan City, Shandong Province, 250000

Applicant before: SHANDONG KUAIFA NETWORK TECHNOLOGY CO.,LTD.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231208

Address after: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Information Technology Co.,Ltd.

Address before: 21st Floor, Building 2, Qisheng Square, Xinluo Street, High tech Zone, Jinan City, Shandong Province, 250000

Applicant before: Shandong Jingdong molybdenum Media Network Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant