CN106851719B - Wifi probe, data balanced acquisition system and method - Google Patents

Wifi probe, data balanced acquisition system and method Download PDF

Info

Publication number
CN106851719B
CN106851719B CN201710253254.8A CN201710253254A CN106851719B CN 106851719 B CN106851719 B CN 106851719B CN 201710253254 A CN201710253254 A CN 201710253254A CN 106851719 B CN106851719 B CN 106851719B
Authority
CN
China
Prior art keywords
wifi
data
scanning
probe
channel
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.)
Expired - Fee Related
Application number
CN201710253254.8A
Other languages
Chinese (zh)
Other versions
CN106851719A (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.)
Nebula Data Tech Ltd
Original Assignee
Nebula Data Tech 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 Nebula Data Tech Ltd filed Critical Nebula Data Tech Ltd
Priority to CN201710253254.8A priority Critical patent/CN106851719B/en
Publication of CN106851719A publication Critical patent/CN106851719A/en
Application granted granted Critical
Publication of CN106851719B publication Critical patent/CN106851719B/en
Expired - Fee Related 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Landscapes

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

Abstract

The invention discloses a Wifi probe, a data balanced acquisition system and a data balanced acquisition method, wherein the data balanced acquisition method comprises the following steps: the Wifi probe sequentially scans each Wifi channel in a detection area of the Wifi probe in a rotating mode to obtain broadcast data packets of each device in each Wifi channel; and the Wifi probe uploads the acquired broadcast data packet to the server. According to the embodiment of the invention, a rotation scanning mode is adopted for each Wifi channel, and different scanning time is allocated to different Wifi channels according to a single factor or multiple factors, so that the balance degree of data acquisition can be ensured to the greatest extent; before the data are uploaded to the server, the data are preprocessed, invalid information in the data is removed, and only valid information is reserved, so that the size of the transmitted data can be greatly reduced, the transmission overhead is reduced, and rapid and accurate data analysis can be performed subsequently.

Description

Wifi probe, data balanced acquisition system and method
Technical Field
The invention relates to the technical field of communication, in particular to a Wifi probe, a data balanced acquisition system and a data balanced acquisition method.
Background
With the progress and development of science and technology, wireless networks have deepened into the aspects of our lives, the use of Wifi devices such as mobile phones and panels has been popularized and developed in the masses, and with the popularization and application of Wifi devices, the demands for data acquisition and the like of the Wifi devices are generated.
For example, in terms of business needs, traffic is indispensable data for management and decision-making in public places such as shopping malls, superstores, chains, airports, exhibitions, and the like. How to accurately acquire data of intelligent equipment of a consumer, analyze the information after the data acquisition and further provide support on service is very necessary, and in order to meet the requirement, the Wifi probe technology comes up and comes up.
At present, a Wifi wireless network card generally has three modes: 1) a STA mode, as a Wifi device, connectable to a wireless router; 2) AP mode as router; 3) mixed mode (Promiscuous mode), in which Wifi devices can receive any wireless data packets over the air.
In the mixed mode, when one device sends information to another device through the wireless transmission technology, other similar devices around the device can receive the information, and the Wifi probe technology is realized based on the principle. Specifically, as shown in fig. 1, when a Wifi device (whether a terminal, a router or other Wifi device) sends any Frame (Frame) within the listening range of the Wifi probe, the Wifi probe can intercept and intercept the Frame no matter to whom the Frame is sent, and analyze some information of the MAC layer and the physical layer of the Frame, such as the MAC address of the sending and receiving device, the Frame type, the signal strength, and the like. The Wifi probe is transparent to surrounding Wifi devices. The Wifi probe does not require any interaction with surrounding devices, and does not itself need to emit any Wifi signal.
However, the existing data acquisition method based on the Wifi probe has the following defects:
1) due to the fact that users are unevenly distributed at different positions in the detection area of the Wifi probe, the distances are far and close, and the intensity is large and small, data acquisition results at different positions are not balanced enough, and subsequent information analysis is not facilitated;
2) each data packet collected by the Wifi probe comprises: the information of acquisition time, equipment MAC address, signal strength, broadcast address, CRC, 802.11 standard version in frame control, frame type, control type and the like can be transmitted to the server after acquisition, so that the data transmission cost is overlarge, and the subsequent analysis and use are not facilitated due to the fact that a large amount of useless information is contained.
Disclosure of Invention
The invention aims to provide a Wifi probe, a data balanced acquisition system and a data balanced acquisition method, which overcome the defect of unbalanced data acquisition when user terminals are unevenly distributed in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
a Wifi probe, comprising:
the scanning module is used for scanning each Wifi channel in the detection area of the scanning module in turn in a rotary scanning mode to obtain broadcast data packets of each device in each Wifi channel;
and the data uploading module is used for uploading the broadcast data packet to the server side.
Optionally, the Wifi probe further includes: the data preprocessing module is used for preprocessing the broadcast data packet before uploading the broadcast data packet to the server, removing invalid information in the broadcast data packet and keeping valid information; the valid information includes acquisition time, device MAC address and signal strength.
Optionally, the Wifi probe further includes a data storage module, configured to store the preprocessed broadcast data packet in the SD card in advance;
the data uploading module is used for uploading the broadcast data packet in the SD card to the server end at a preset time, or uploading the broadcast data packet at an irregular time according to the requirement of the server end, or uploading the broadcast data packet when an abnormal condition is detected; and the method is also used for uploading the data to be uploaded directly before each time of uploading if the data to be uploaded is smaller than the maximum strip value capable of stably uploading the data, or uploading the data after inserting the data which is not uploaded before in the spare data bits.
A data equalization acquisition system, comprising: the system comprises a client, a wireless router, a Wifi probe and a server;
the client comprises a plurality of devices which are respectively in wireless connection with the wireless router;
the wireless router is used for providing Wifi service for clients within the range of the wireless router;
the Wifi probe is used for acquiring broadcast data packets of each device in a detection range of the Wifi probe in a rotating scanning mode and uploading the broadcast data packets to a server;
and the server is used for receiving and storing the data information reported by the Wifi probe and analyzing and processing the data information.
A data equalization acquisition method comprises the following steps:
the Wifi probe sequentially scans each Wifi channel in a detection area of the Wifi probe in a rotating mode to obtain broadcast data packets of each device in each Wifi channel;
and the Wifi probe uploads the acquired broadcast data packet to the server.
Optionally, before the step of uploading the broadcast data packet acquired by the Wifi probe to the server, the method further includes:
for the received broadcast data packet, the Wifi probe preprocesses it: removing invalid information in the data, and keeping valid information; the valid information includes acquisition time, device MAC address and signal strength.
Optionally, the method for uploading the acquired broadcast data packet to the server by the Wifi probe includes:
storing the preprocessed broadcast data packet to the SD card;
the Wifi probe uploads the broadcast data packet in the SD card to a server side at a preset time, or uploads the broadcast data packet at an irregular time according to the requirement of the server side, or uploads the broadcast data packet when an abnormal condition is detected; before each uploading, if the data to be uploaded is smaller than the maximum value of the stably uploaded data, the data are directly uploaded, or the data which are not uploaded before are inserted into the spare data bits and then are uploaded.
Optionally, in the step of sequentially scanning each Wifi channel in the detection area by the Wifi probe in a round-robin manner, scanning time is allocated to each Wifi channel according to the signal intensity value and/or the number of independent MAC addresses of each Wifi channel.
Optionally, the signal strength value of each Wifi channel is a signal strength average value of all devices in the Wifi channel, or a maximum value or a minimum value of signal strength received in a specified time period/a full time period in the Wifi channel.
Optionally, in the step of sequentially scanning each Wifi channel in the detection area of the Wifi probe in a round-robin manner, the scanning time of each Wifi channel in the subsequent round-robin scanning process is determined according to the first round-robin scanning information, and the scanning time of each Wifi channel in the subsequent round-robin scanning process is fixed;
or, when the rotation scanning is performed each time, the scanning time of each Wifi channel in the current rotation is adjusted in real time according to the rotation scanning information of the last time.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
1) according to the embodiment of the invention, a rotation scanning mode is adopted for each Wifi channel, and different scanning time is allocated to different Wifi channels according to a single factor or multiple factors, so that the balance degree of data acquisition can be ensured to the greatest extent;
2) before the data are uploaded to the server, the data are preprocessed, invalid information in the data is removed, and only valid information is reserved, so that the size of the transmitted data can be greatly reduced, the transmission overhead is reduced, and rapid and accurate data analysis can be performed subsequently.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a data acquisition principle of a conventional Wifi probe;
fig. 2 is a schematic structural diagram of a Wifi probe according to an embodiment of the present invention;
fig. 3 is a flowchart of a data equalization acquisition method according to a third embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a method for scanning four Wifi channels in a rotating manner according to a third embodiment of the present invention;
fig. 5 is a flowchart of a data equalization acquisition method according to a fourth embodiment of the present invention;
fig. 6 is a flowchart of a data equalization acquisition method according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a station scene provided in the fifth embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The core idea of the invention is as follows: in order to improve the data acquisition balance, the invention adopts a rotation scanning mode for each Wifi channel, and distributes different scanning time to different Wifi channels according to the user distribution characteristics thereof, so as to ensure the data acquisition balance to the maximum extent.
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
Example one
Referring to fig. 2, the present embodiment provides a Wifi probe, which includes the following components:
the scanning module is used for scanning each Wifi channel in the detection area of the scanning module in turn in a rotary scanning mode to obtain broadcast data packets of each device in each Wifi channel;
the data preprocessing module is used for preprocessing the broadcast data packet before data uploading, removing invalid information in the broadcast data packet and keeping valid information; the effective information comprises acquisition time, equipment MAC address and signal strength, and the ineffective information comprises broadcast address, CRC, 802.11 standard version in frame control, frame type, control type and other information;
the data storage module is used for pre-storing the preprocessed broadcast data packet in the SD card;
and the data uploading module is used for uploading data in the SD card to the server end at preset time, or uploading the data at irregular time according to the requirement of the server end, or uploading the data when an abnormal condition is detected.
In this embodiment, the scanning module adopts a round-robin scanning manner, and specific rules thereof, such as a round-robin scanning sequence, a scanning time of each Wifi channel, and the like, can be flexibly set according to a single or multiple factors.
Example two
The embodiment provides a data equalization acquisition system, which comprises:
the client, specifically each device carried by the user, is in wireless connection with the wireless router;
the wireless router is used for providing Wifi service for clients within the range of the wireless router;
the Wifi probe is used for acquiring broadcast data packets of each device in a detection range of the Wifi probe in a rotating scanning mode and uploading the broadcast data packets to a server side, wherein the principle structure of the Wifi probe is shown in fig. 2;
and the server is used for receiving and storing the data information reported by the Wifi probe and analyzing and processing the data information.
EXAMPLE III
Referring to fig. 3, the present embodiment provides a data equalization acquisition method, including the following steps:
and S101, the Wifi probe sequentially scans each Wifi channel in the detection area in a rotating mode to obtain a broadcast data packet of equipment in each Wifi channel.
The received broadcast packet includes: collecting time, MAC address, signal strength, broadcast address, CRC, 802.11 standard version in frame control, frame type and control type.
And S102, transmitting the collected broadcast data packet to a server by the Wifi probe, and performing subsequent analysis processing at the server.
Because the detection area of Wifi probe includes a plurality of Wifi channels, and the equipment distribution condition of every Wifi channel all is different, therefore this embodiment adopts the rotation mode to scan each Wifi channel in proper order, through the data acquisition effect that improves every channel in order to reach the purpose that improves whole collection effect.
At the initial moment, the Wifi probe needs to enter a mixed mode to ensure that the Wifi probe intercepts all broadcast data packets.
In step S101, for each Wifi channel, the Wifi probe may scan in a fixed order, such as sequentially scanning according to the order of channel 1, channel 2, channel 3 to channel 4; the scanning sequence can be flexibly adjusted according to the current requirement.
In the rotation scanning process, the scanning time for each Wifi channel may be set to the same length, such as four Wifi channels shown in fig. 4, and the scanning time for each Wifi channel is set to 0.1 second.
Preferably, in order to improve the scanning balance, the scanning time of each Wifi channel can be set to different lengths according to various factors. For example:
1) determining the scanning time of each Wifi channel according to the signal intensity value;
the signal intensity value of each Wifi channel is obtained by statistics according to the signal intensity information in all the broadcast data packets received in the Wifi channel, the signal intensity average value of all the devices in the Wifi channel can be obtained, and the maximum value or the minimum value of all the received signal intensities in a specified time period or a full time period in the Wifi channel can also be obtained;
specifically, for a Wifi channel with a smaller signal intensity value, it can be inferred that the average distance between each device in the Wifi channel and the Wifi probe is farther, so the scanning time of the Wifi channel can be set to be longer, so as to scan a larger number of remote devices as much as possible; for the Wifi channel with strong signal intensity, the average distance between each device in the Wifi channel and the Wifi probe can be deduced to be short, so that the scanning time of the Wifi channel can be set to be short time, and the scanning results of the Wifi probe for the long-distance device and the short-distance device can be balanced.
2) Determining the scanning time of each Wifi channel according to the number of the independent MAC addresses;
the number of independent MAC addresses of each Wifi channel, namely the number of users, is obtained through statistics according to MAC address information in all broadcast data packets received by the Wifi channel, and the numerical value effectively reflects the distribution condition of user positions;
specifically, for a Wifi channel with a large number of independent MAC addresses, it can be inferred that the number of users in the Wifi channel is large, and the distribution is relatively dense, so the scanning time of the Wifi channel can be set to be short; for the Wifi channel with a small number of independent MAC addresses, it can be inferred that the number of users in the Wifi channel is small, and the distribution is relatively dispersed, so that the scanning time of the Wifi channel can be set to be a longer time to scan more user devices as much as possible, and thus, the scanning results of the Wifi probe for the devices in the densely distributed areas and the dispersedly distributed areas can be balanced.
Preferably, T of each Wifi channel is enabledKPKT approaching to previous Wifi channel as much as possibleK-1PK-1I.e. by
Figure GDA0002721767720000071
Wherein, TKIs the scan time, P, on the Kth Wifi channelKIs the number of independent MAC addresses scanned on the kth Wifi channel, and n is the total number of Wifi channels.
Certainly, if the Wifi channel with a large number of independent MAC addresses is acquired, a long scanning time may be allocated to the Wifi channel; longer or shorter scan times may also be allocated for a given Wifi channel as needed.
In practical application, when the scanning time is allocated to each Wifi channel, single factors such as the signal intensity value and the number of independent MAC addresses can be considered separately, and multiple factors can be considered comprehensively, specifically according to different application requirements.
It should be noted that, when the requirement is low or in a general application scenario, the scanning time of each Wifi channel in the subsequent rotation scanning process can be determined according to the first rotation scanning result, and the scanning time of each Wifi channel in the subsequent rotation scanning process is fixed; when the requirement is high or in a special application scene, in order to detect more devices as much as possible, the scanning time of each Wifi channel in the current round is adjusted in real time according to the previous round scanning result every time round scanning is performed.
In summary, the present embodiment provides a manner of performing round robin scanning on each Wifi channel, which not only balances scanning of devices in a long distance and a short distance, but also balances scanning of devices in a dense distribution area and a distributed distribution area, and can obtain more data through scanning.
Example four
Referring to fig. 5, the present embodiment provides another data equalization acquisition method, including the following steps:
step S201, the Wifi probe scans each Wifi channel in the detection area in turn to obtain the broadcast data packet of the equipment in each Wifi channel.
The received broadcast packet includes: collecting time, MAC address, signal strength, broadcast address, CRC, 802.11 standard version in frame control, frame type and control type.
Step S202, for the received broadcast data packet, the Wifi probe preprocesses the broadcast data packet, removes invalid information in the broadcast data packet, and retains valid information.
In this embodiment, the valid information includes the acquisition time, the device MAC address, and the signal strength; the invalid information includes broadcast address, CRC, 802.11 standard version in frame control, frame type and control type.
And S203, the Wifi probe transmits the preprocessed broadcast data packet to a server side, and subsequent analysis processing is carried out on the server side.
In this embodiment, before transmitting the broadcast data packet to the server, the Wifi probe may pre-process the broadcast data packet to remove invalid information therein, so that not only the size of the transmitted data may be greatly reduced, the transmission overhead may be reduced, but also the subsequent data analysis may be facilitated.
EXAMPLE five
Referring to fig. 6, the present embodiment provides another data equalization acquisition method, including the following steps:
step S301, the Wifi probe sequentially scans each Wifi channel in the detection area in a rotating mode to obtain a broadcast data packet of equipment in each Wifi channel.
The received broadcast packet includes: collecting time, MAC address, signal strength, broadcast address, CRC, 802.11 standard version in frame control, frame type and control type.
Step S302, for the received broadcast data packet, the Wifi probe preprocesses the broadcast data packet, removes invalid information in the broadcast data packet, and retains valid information.
In this embodiment, the valid information includes the acquisition time, the device MAC address, and the signal strength; the invalid information includes broadcast address, CRC, 802.11 standard version in frame control, frame type and control type.
Step S303, the Wifi probe stores the preprocessed broadcast data packet to the SD card first, so as to avoid data loss after the device is powered off suddenly and reduce the bandwidth required for data uploading.
And S304, uploading the data stored in the SD card to a server by the Wifi probe at intervals, and performing subsequent data analysis and processing on the server.
In this step, if the upload is successful, the data stored in the SD card is deleted, otherwise, the upload of the data is attempted again at predetermined intervals until the upload is successful.
Besides the mode of uploading data regularly and actively, the Wifi probe can also upload data irregularly according to the requirements of the server, or actively upload data in abnormal situations, for example: the detected number of the independent MAC addresses exceeds a preset threshold value, the local storage fails or the SD card is full of storage, and the like.
In order to improve the transmission rate, in the data uploading process, before each uploading, if the data to be uploaded is smaller than the maximum value of the stably uploaded data, the data which is not uploaded before is inserted into the spare data bits.
Assuming that the maximum number of items that can stably transmit data at a time is 25, the following two conditions exist during data uploading:
1) situation A, when the amount of data transmitted is 25, as shown in the following table
Current data 1 Current data 2 …………… …………. Current data 24 Current data 25
2) Situation B, when the amount of data transmitted is less than 25, as shown in the following table
Figure GDA0002721767720000091
To provide transmission efficiency, for condition B, data may not be transmitted before insertion of the "free transmittable data bits," as shown in the table below
Current data 1 Current data 2 …………… Current data 23 Unsent data 1 Unsent data 2
An example of an application in a station environment will be provided below.
Referring to fig. 7, in this example, 3 Wifi probes are disposed in a certain train station and are respectively disposed on each layer of the train station. After each WIFI probe is electrified, reading a set file in the flash memory; if the settings profile does not exist, the Wifi probe is set to wireless router mode, waiting for the client program to connect and write the settings into the profile, and then the Wifi probe is restarted. After the Wifi probe enters the mixed mode, the Wifi probe continuously scans seven Wifi channels in a rotating scanning mode every 0.1 second to acquire broadcast data packets of the intelligent device.
After the Wifi probe receives the broadcast data packet of the intelligent device, some unnecessary information is removed, and only acquisition time, the MAC address of the device and signal intensity are reserved. And then, the Wifi probe stores the data to the SD card within each period of time, uploads the data in the SD card to the server at a specified time, deletes the data in the SD card if the data are uploaded successfully, and otherwise uploads the data again at intervals of 5 minutes until the data are uploaded successfully.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A Wifi probe, comprising:
the scanning module is used for scanning each Wifi channel in the detection area of the scanning module in turn in a rotary scanning mode to obtain broadcast data packets of each device in each Wifi channel; in the step of sequentially scanning each Wifi channel in the detection area of the Wifi probe in a rotating mode, scanning time is allocated to each Wifi channel according to the signal intensity value and/or the number of independent MAC addresses of each Wifi channel, so that T of each Wifi channelKPKT approaching to previous Wifi channelK-1PK-1I.e. by
Figure FDA0002721767710000011
Wherein, TKIs the scan time, P, on the Kth Wifi channelKThe number of the independent MAC addresses scanned on the Kth Wifi channel is n, and the n is the total number of the Wifi channels;
and the data uploading module is used for uploading the broadcast data packet to the server side.
2. The Wifi probe of claim 1, further comprising: the data preprocessing module is used for preprocessing the broadcast data packet before uploading the broadcast data packet to the server, removing invalid information in the broadcast data packet and keeping valid information; the valid information includes acquisition time, device MAC address and signal strength.
3. A Wifi probe as claimed in claim 2, characterized in that the Wifi probe also includes a data storage module, used to pre-store the pre-processed broadcast data packet in the SD card;
the data uploading module is used for uploading the broadcast data packet in the SD card to the server end at a preset time, or uploading the broadcast data packet at an irregular time according to the requirement of the server end, or uploading the broadcast data packet when an abnormal condition is detected; and the method is also used for uploading the data to be uploaded directly before each time of uploading if the data to be uploaded is smaller than the maximum strip value capable of stably uploading the data, or uploading the data after inserting the data which is not uploaded before in the spare data bits.
4. A data equalization acquisition system, the system comprising: the system comprises a client, a wireless router, a Wifi probe and a server;
the client comprises a plurality of devices which are respectively in wireless connection with the wireless router;
the wireless router is used for providing Wifi service for clients within the range of the wireless router;
the Wifi probe, as claimed in any one of claims 1 to 3, is configured to obtain broadcast data packets of each device in a detection range thereof in a rotating scanning manner, and upload the broadcast data packets to a server;
and the server is used for receiving and storing the data information reported by the Wifi probe.
5. A data equalization acquisition method is characterized by comprising the following steps:
the Wifi probe sequentially scans each Wifi channel in a detection area of the Wifi probe in a rotating mode to obtain broadcast data packets of each device in each Wifi channel; in the step of sequentially scanning each Wifi channel in the detection area of the Wifi probe in a rotating mode, scanning time is allocated to each Wifi channel according to the signal intensity value and/or the number of independent MAC addresses of each Wifi channel, so that T of each Wifi channelKPKT approaching to previous Wifi channel as much as possibleK-1PK-1I.e. by
Figure FDA0002721767710000021
Wherein, TKIs the scan time, P, on the Kth Wifi channelKThe number of the independent MAC addresses scanned on the Kth Wifi channel is n, and the n is the total number of the Wifi channels;
and the Wifi probe uploads the acquired broadcast data packet to the server.
6. The data balanced collection method of claim 5, wherein before the Wifi probe uploads the broadcast data packet acquired by the Wifi probe to the server, the method further comprises the following steps:
for the received broadcast data packet, the Wifi probe preprocesses it: removing invalid information in the data, and keeping valid information; the valid information includes acquisition time, device MAC address and signal strength.
7. The data balanced collection method of claim 6, wherein the method for uploading the broadcast data packet acquired by the Wifi probe to the server side by the Wifi probe comprises the following steps:
storing the preprocessed broadcast data packet to the SD card;
the Wifi probe uploads the broadcast data packet in the SD card to a server side at a preset time, or uploads the broadcast data packet at an irregular time according to the requirement of the server side, or uploads the broadcast data packet when an abnormal condition is detected; before each uploading, if the data to be uploaded is smaller than the maximum value of the stably uploaded data, the data are directly uploaded, or the data which are not uploaded before are inserted into the spare data bits and then are uploaded.
8. The method as claimed in claim 5, wherein the signal strength value of each Wifi channel is a mean value of signal strengths of all devices in the Wifi channel, or a maximum value or a minimum value of signal strength received in a specified time period/a full time period in the Wifi channel.
9. The balanced data collection method according to claim 5, wherein in the step of sequentially scanning each Wifi channel in the detection area by the Wifi probe in a round robin manner, the scanning time of each Wifi channel in the subsequent round robin process is determined according to the first round robin information, and the scanning time of each Wifi channel in the subsequent round robin process is fixed;
or, when the rotation scanning is performed each time, the scanning time of each Wifi channel in the current rotation is adjusted in real time according to the rotation scanning information of the last time.
CN201710253254.8A 2017-04-18 2017-04-18 Wifi probe, data balanced acquisition system and method Expired - Fee Related CN106851719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710253254.8A CN106851719B (en) 2017-04-18 2017-04-18 Wifi probe, data balanced acquisition system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710253254.8A CN106851719B (en) 2017-04-18 2017-04-18 Wifi probe, data balanced acquisition system and method

Publications (2)

Publication Number Publication Date
CN106851719A CN106851719A (en) 2017-06-13
CN106851719B true CN106851719B (en) 2021-01-01

Family

ID=59146937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710253254.8A Expired - Fee Related CN106851719B (en) 2017-04-18 2017-04-18 Wifi probe, data balanced acquisition system and method

Country Status (1)

Country Link
CN (1) CN106851719B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107942785A (en) * 2017-11-15 2018-04-20 常州天正工业发展股份有限公司 A kind of production equipment data capture method and device
CN110545544B (en) * 2018-05-28 2023-09-19 上海智峥科技有限公司 Channel scanning method suitable for multi-chip WiFi probe equipment
CN108848547A (en) * 2018-06-12 2018-11-20 Oppo广东移动通信有限公司 WiFi scan method, device, mobile terminal and computer-readable medium
CN108924908B (en) * 2018-06-12 2021-02-02 Oppo广东移动通信有限公司 WiFi scanning method and device and electronic device
CN109089301B (en) * 2018-07-19 2021-01-15 深圳云盈网络科技有限公司 Network data processing system and method
CN109039830A (en) * 2018-09-20 2018-12-18 武汉指针科技有限公司 A kind of collecting method of interchanger
CN111083018B (en) * 2019-12-31 2021-08-27 厦门市美亚柏科信息股份有限公司 Production detection method and device for wireless equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349339A (en) * 2013-07-26 2015-02-11 中国科学院信息工程研究所 Collection device of mobile intelligent terminal Wi-Fi signal data package, method thereof and system thereof
CN105261170A (en) * 2015-05-13 2016-01-20 宝惠自动化科技(上海)有限公司 WIFI data acquisition module for cloud service automation
CN105813019A (en) * 2016-03-08 2016-07-27 深圳市百米生活股份有限公司 WIFI hotspot device-based positioning management method
CN106550345A (en) * 2016-10-26 2017-03-29 邱文丰 Wifi signal intelligent scanning systems with self-teaching and optimization ability

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101915314B1 (en) * 2011-10-25 2018-11-07 삼성전자주식회사 Method and apparatus for wi-fi connecting using wi-fi protected setup in a portable terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349339A (en) * 2013-07-26 2015-02-11 中国科学院信息工程研究所 Collection device of mobile intelligent terminal Wi-Fi signal data package, method thereof and system thereof
CN105261170A (en) * 2015-05-13 2016-01-20 宝惠自动化科技(上海)有限公司 WIFI data acquisition module for cloud service automation
CN105813019A (en) * 2016-03-08 2016-07-27 深圳市百米生活股份有限公司 WIFI hotspot device-based positioning management method
CN106550345A (en) * 2016-10-26 2017-03-29 邱文丰 Wifi signal intelligent scanning systems with self-teaching and optimization ability

Also Published As

Publication number Publication date
CN106851719A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106851719B (en) Wifi probe, data balanced acquisition system and method
US9591555B2 (en) System and method for adaptive access network query protocol (ANQP) element provisioning
US9497598B2 (en) Service information pushing and receiving method, and related apparatus and system
EP2838306B1 (en) Systems and methods for fast initial network link setup
JP5792395B2 (en) System and method for fast initial network link setup
JP5976823B2 (en) System and method for fast initial network link setup
JP6129862B2 (en) System and method for fast initial network link setup
US10397859B2 (en) Wireless network access
US10405263B2 (en) Private radio networks
CN108616904B (en) Wireless frequency point management method and system
CN103178931B (en) Data frame transmission method and device
CN103561449A (en) Wireless access method and wireless access point
EP2772100A1 (en) Systems and methods for fast initial network link setup
CN104270169A (en) Multi-channel self-adaptation frequency-hopping processing method and system suitable for aeronautical ad-hoc network
EP2772101A2 (en) Systems and methods for fast initial network link setup
CN105900516B (en) Data transmission method for uplink and device
Lv et al. SWIMMING: seamless and efficient WiFi-based internet access from moving vehicles
GB2517359B (en) Wireless access point cell ID insertion in frame header
EP2573999A1 (en) A transmission method for supporting data compression
CN101827362B (en) Method for identifying access point identity, workstation roaming method and related equipment
CN109076604A (en) Air station and communication means
CN109587687A (en) Base station equipment and its network-building method
CN106211808A (en) A kind of ask the communication means of relay services, equipment and system
CN109617815B (en) Data acquisition system, method and device of LTE core network and terminal equipment
KR20160050587A (en) METHOD FOR CONTROLLING NETWORK CONNECTION OF IoT DEVICE

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210101

Termination date: 20210418