CN112911703B - WIFI detection method and system, WIFI probe device, monitoring device and storage medium - Google Patents

WIFI detection method and system, WIFI probe device, monitoring device and storage medium Download PDF

Info

Publication number
CN112911703B
CN112911703B CN202110063251.4A CN202110063251A CN112911703B CN 112911703 B CN112911703 B CN 112911703B CN 202110063251 A CN202110063251 A CN 202110063251A CN 112911703 B CN112911703 B CN 112911703B
Authority
CN
China
Prior art keywords
mac information
probe
wifi
equipment
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110063251.4A
Other languages
Chinese (zh)
Other versions
CN112911703A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110063251.4A priority Critical patent/CN112911703B/en
Publication of CN112911703A publication Critical patent/CN112911703A/en
Application granted granted Critical
Publication of CN112911703B publication Critical patent/CN112911703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a WIFI detection method and system, WIFI probe equipment, monitoring equipment and a storage medium, wherein in the WIFI detection method, when the WIFI probe equipment is accessed to a network of the monitoring equipment, acquired terminal MAC information and probe MAC information of the WIFI probe equipment are transmitted to the monitoring equipment through the network; and when the network is not accessed, filling the terminal MAC information and the probe MAC information into a first detection frame and sending the first detection frame outwards. At least one WIFI probe device can be installed in the communication range of the monitoring device, so that the monitoring device can receive the first detection frame sent by each WIFI probe device and analyze the terminal MAC information and the probe MAC information of the WIFI probe device. Terminal MAC information and probe MAC information of WIFI probe equipment are concentrated to the monitoring equipment through the two modes, all data are transmitted to the cloud server through the communication modules of the monitoring equipment and the cloud server, and the terminal equipment is positioned. Therefore, the WIFI detection range can be enlarged.

Description

WIFI detection method and system, WIFI probe device, monitoring device and storage medium
Technical Field
The present application relates to the field of WIFI detection technologies, and in particular, to a WIFI detection method and system, a WIFI probe device, a monitoring device, and a storage medium.
Background
Along with the increase of the usage amount of the terminal equipment and the development of security service, the positioning requirement on the terminal equipment is gradually highlighted. When one terminal device sends information to the outside through a wireless transmission technology, the WIFI probe device can intercept the information and obtain terminal MAC information of the terminal device, and therefore the WIFI probe device can be used for positioning the terminal device. However, the coverage area of one WIFI probe device is limited, in order to expand the detection range, a plurality of WIFI probe devices may be arranged, and the terminal MAC information acquired by the plurality of WIFI probe devices may be concentrated to the cloud server for processing, which requires that the WIFI probe device further has a 4G or 5G module in communication with the cloud server, which is relatively high in cost. Meanwhile, the layout of the monitoring device is gradually increased, and the monitoring device itself has a 4G or 5G module communicating with the cloud server, so that a WIFI detection method needs to be developed, and the WIFI detection range can be expanded by using the communication module of the monitoring device itself.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a WIFI detection method and system, a WIFI probe device, a monitoring device and a storage medium, and the WIFI detection range can be enlarged.
In order to solve the technical problem, the application adopts a technical scheme that:
provided is a WIFI detection method, including:
the WIFI probe equipment collects terminal MAC information within a preset range and judges whether the WIFI probe equipment is connected to a network of monitoring equipment or not;
if so, transmitting the terminal MAC information and the probe MAC information of the WIFI probe equipment to the monitoring equipment through the network;
otherwise, a first detection frame is established and sent outwards, so that the monitoring equipment receives and analyzes the first detection frame and then acquires the terminal MAC information and the probe MAC information of the WIFI probe equipment; and the first preset field of the first detection frame is the terminal MAC information, and the second preset field is the probe MAC information of the WIFI probe equipment.
In order to solve the above technical problem, another technical solution adopted by the present application is:
a WIFI probe device is provided, which includes a processor, and a memory and a communication circuit respectively coupled to the processor, where the memory has stored thereon program instructions, and the processor can execute the program instructions to implement the WIFI detection method applied to the WIFI probe device as described in the above technical solution.
In order to solve the above technical problem, another technical solution adopted by the present application is:
provided is a WIFI detection method, including:
the monitoring equipment receives information sent by the WIFI probe equipment;
responding to first terminal MAC information acquired by the WIFI probe equipment and received through a network and probe MAC information of the WIFI probe equipment, and reporting the first terminal MAC information and the probe MAC information in a unified manner;
responding to the detection frame sent by the WIFI probe equipment by the information, analyzing the detection frame, obtaining first terminal MAC information acquired by the WIFI probe equipment and probe MAC information of the WIFI probe equipment, and reporting the first terminal MAC information and the probe MAC information in a unified manner.
In order to solve the above technical problem, another technical solution adopted by the present application is:
there is provided a monitoring device, including a processor, and a memory and a communication circuit respectively coupled to the processor, where the memory stores program instructions, and the processor can execute the program instructions to implement the WIFI detection method applied to the monitoring device according to the above technical solution.
In order to solve the above technical problem, another technical solution adopted by the present application is:
a WIFI detection system is provided, comprising:
the monitoring device and the at least one WIFI probe device according to the above technical solutions, wherein the monitoring device and each WIFI probe device communicate with each other through the communication circuit, and the monitoring device is matched with the WIFI probe device to implement the WIFI detection method applied to the WIFI probe device according to the above technical solutions, or to implement the WIFI detection method applied to the monitoring device according to the above technical solutions.
In order to solve the above technical problem, another technical solution adopted by the present application is:
there is provided a computer readable storage medium having stored thereon program instructions executable by a processor to implement a WIFI detection method as described in the above technical solutions applied to a WIFI probe device or to implement a WIFI detection method as described in the above technical solutions applied to a monitoring device.
The beneficial effect of this application is: different from the situation of the prior art, in the WIFI detection method provided by the application, if the WIFI probe equipment is connected to a network of the monitoring equipment, the acquired terminal MAC information and the probe MAC information of the WIFI probe equipment are directly transmitted to the monitoring equipment through the network; and if the WIFI probe device is not connected to the network of the monitoring device, filling the terminal MAC information and the probe MAC information of the WIFI probe device into a first probe frame and sending the first probe frame outwards. Therefore, at least one WIFI probe device can be installed in the communication range of the monitoring device, so that the monitoring device can receive the first detection frame sent by each WIFI probe device and analyze the terminal MAC information and the probe MAC information of the WIFI probe device. Terminal MAC information and probe MAC information of WIFI probe equipment are concentrated to the monitoring equipment through the two modes, all data are transmitted to the cloud server through the communication modules of the monitoring equipment and the cloud server, and the terminal equipment is positioned. Therefore, the WIFI detection range can be enlarged.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts. Wherein:
fig. 1 is a schematic flow chart of an embodiment of a WIFI detection method according to the present application;
fig. 2 is a schematic flowchart of another embodiment of a WIFI detection method according to the present application;
fig. 3 is a schematic structural diagram of an embodiment of a WIFI probe apparatus of the present application;
fig. 4 is a schematic flowchart of another embodiment of a WIFI detection method according to the present application;
FIG. 5 is a flowchart illustrating an embodiment of step S43 in FIG. 4;
fig. 6 is a schematic flowchart of another embodiment of a WIFI detection method according to the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a monitoring device according to the present application;
fig. 8 is a schematic structural diagram of an embodiment of a WIFI detection system according to the present application;
FIG. 9 is a schematic structural diagram of an embodiment of a computer-readable storage medium according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be obtained by a person skilled in the art without making any inventive step based on the embodiments in the present application belong to the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a WIFI detection method applied to a WIFI probe device, including the following steps.
Step S11, the WIFI probe device collects terminal MAC information within a preset range and judges whether the WIFI probe device is connected to the network of the monitoring device or not.
When one terminal device (such as a mobile phone, a tablet computer, etc.) sends information to the outside through a wireless transmission technology, the WIFI probe device within a preset range can intercept the information and obtain terminal MAC information of the terminal device, so that the WIFI probe device can be used for positioning the terminal device. The function of gathering terminal MAC information is realized by the WIFI detection module that WIFI probe equipment has, in order to utilize the terminal MAC information of gathering, need send it away, therefore WIFI probe equipment still has network communication module, makes it possess wired communication function or wireless communication function, can realize network communication with supervisory equipment. Therefore, after acquiring the MAC information of the terminal, the embodiment first determines whether to connect to a network of the monitoring device, where the network may be a wired network or a wireless local area network.
And step S12, if yes, transmitting the terminal MAC information and the probe MAC information of the WIFI probe device to the monitoring device through the network.
If the WIFI probe device is connected to the network of the monitoring device, the terminal MAC information and the probe MAC information of the WIFI probe device can be transmitted to the monitoring device through a wired or wireless local area network application layer protocol based on tcp/udp. The monitoring device (such as a network camera, a dome camera and the like) and the cloud server have a 4G or 5G communication function, and after the terminal MAC information and the probe MAC information are received, the terminal MAC information and the probe MAC information can be packaged and uploaded to the cloud server, so that the cloud server can know which WIFI probe device collects the terminal MAC information, and the terminal device corresponding to the terminal MAC information is positioned.
Step S13, otherwise, a first detection frame is established and sent outwards, so that the monitoring equipment receives and analyzes the first detection frame and then acquires terminal MAC information and probe MAC information of the WIFI probe equipment; the first preset field of the first detection frame is terminal MAC information, and the second preset field is probe MAC information of the WIFI probe device.
If the WIFI Probe device is not connected to the network of the monitoring device (for example, the network where the monitoring device is located is only a wired network, or the monitoring device is connected to the cloud server through a 4G or 5G mode without a local area network), that is, directional one-to-one data interaction cannot be performed between the WIFI Probe device and the monitoring device through the network, at this time, the WIFI Probe device may fill the acquired terminal MAC information into a first preset field of a first Probe frame (Probe frame), and simultaneously fill the Probe MAC information of the WIFI Probe device into a second preset field of the first Probe frame, and then send the first Probe frame outwards in a wireless transmission mode. The WIFI probe equipment is located within a communication range of the monitoring equipment, the monitoring equipment can receive the first detection frame, and terminal MAC information acquired by the WIFI probe equipment and probe MAC information of the WIFI probe equipment can be acquired after analysis, so that the information can be packaged and uploaded to a cloud server, the cloud server can know which WIFI probe equipment acquires the terminal MAC information, and the terminal equipment corresponding to the terminal MAC information is positioned.
Specifically, the first preset field is a Source Address field (SA), and the second preset field is a Destination Address field (DA).
In order to improve the probability that the monitoring device receives the first probe frame, in this embodiment, after the first probe frame is established, the first probe frame is preferably sent out multiple times within a preset time range.
In this embodiment, the monitoring device may receive, via the network, the terminal MAC information acquired by the WIFI probe device and the probe MAC information of the WIFI probe device itself, and may also receive a first detection frame sent by the WIFI probe device within its communication range, and analyze the terminal MAC information and the probe MAC information of the WIFI probe device itself from the first detection frame. Terminal MAC information and probe MAC information of WIFI probe equipment are concentrated to the monitoring equipment through the two modes, all data are transmitted to the cloud server through the communication modules of the monitoring equipment and the cloud server, and the terminal equipment is positioned. Therefore, the communication function between the monitoring equipment and the cloud server is utilized, the WIFI probe equipment does not need to be loaded and the communication function between the WIFI probe equipment and the cloud server is not needed, and the WIFI detection range is enlarged under the condition that the cost is not increased.
Referring to fig. 2, fig. 2 is a schematic flowchart of another embodiment of the WIFI detection method, in this embodiment, a WIFI probe device is not connected to a network of a monitoring device, and the monitoring device is configured with probe MAC information lists of all WIFI probe devices.
And step S21, the WIFI probe equipment collects terminal MAC information within a preset range.
The step S21 is identical to the collecting step in the step S11, and specifically refer to the step S11.
Step S22, a second detection frame is established and sent outwards at a preset frequency, so that after the monitoring equipment receives and analyzes the second detection frame, whether the probe MAC information list contains the probe MAC information of the WIFI probe equipment or not is judged; the first preset field of the second detection frame is probe MAC information of the WIFI probe device, and the second preset field is empty.
WIFI probe equipment constantly sends the second detection frame that contains self probe MAC information before gathering terminal MAC information, after supervisory equipment received and analyzed the second detection frame, can follow the probe MAC information that this WIFI probe equipment was obtained to first preset field to judge whether contain this probe MAC information in the probe MAC information list, if contain, then show that this WIFI probe equipment can communicate with supervisory equipment, supervisory equipment can continue to receive other detection frames that this WIFI probe equipment sent.
Specifically, the first preset field of the second probe frame is a Source Address field (SA), and the second preset field of the second probe frame is a Destination Address field (DA).
Step S23, a first detection frame is established and sent outwards, so that the monitoring equipment receives and analyzes the first detection frame and then acquires terminal MAC information and probe MAC information of the WIFI probe equipment; the first preset field of the first detection frame is terminal MAC information, and the second preset field is probe MAC information of the WIFI probe device.
The step of continuously sending the second detection frame to the outside in step S22 is equivalent to making the monitoring device know the existence of the WIFI probe device, the WIFI probe device also collects terminal MAC information of nearby terminal devices while sending the second detection frame to the outside, once the terminal MAC information is collected, a first detection frame is constructed, the collected terminal MAC information is filled in a Source Address field (Source Address, SA) of the first detection frame, probe MAC information of the first detection frame is filled in a Destination Address field (Destination Address, DA) of the first detection frame, and then the first detection frame is sent out. After the monitoring equipment receives the information, the terminal MAC information collected by the WIFI probe equipment and the probe MAC information of the WIFI probe equipment can be analyzed and obtained, and the information is packaged and uploaded to a cloud server.
In this embodiment, the monitoring device can receive the second detection frame and the first detection frame sent by the WIFI probe device within the communication range of the monitoring device, analyze the terminal MAC information and the probe MAC information of the WIFI probe device, and transmit all data to the cloud server by using the communication modules of the monitoring device and the cloud server, so as to position the terminal device. Therefore, the communication function between the monitoring equipment and the cloud server is utilized, the WIFI probe equipment does not need to be loaded and the communication function between the WIFI probe equipment and the cloud server is not needed, and the WIFI detection range is enlarged under the condition that the cost is not increased.
Based on the same inventive concept, the present application further provides a WIFI probe device, please refer to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of the WIFI probe device of the present application, the WIFI probe device 300 includes a processor 310, and a memory 320 and a communication circuit 330 respectively coupled to the processor 310, the memory 320 stores program instructions, and the processor 310 can execute the program instructions to implement the WIFI detection method applied to the WIFI probe device according to any of the above embodiments, wherein the communication circuit 330 enables the WIFI probe device to communicate with a monitoring device. For details, reference may be made to any of the above embodiments, which are not described herein again.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating another embodiment of a WIFI detection method applied to a monitoring device, including the following steps.
Step S41, the monitoring device receives information sent by the WIFI probe device. Wherein, at least one WIFI probe equipment is installed to supervisory equipment's communication range.
The monitoring equipment can be configured with a wired network or a wireless local area network, and is also configured with a 4G or 5G module for communicating with the cloud server, wherein when the WIFI probe equipment is accessed to the wired network or the wireless local area network of the monitoring equipment, the WIFI probe equipment can directly transmit information to the monitoring equipment in a one-to-one mode through the network, and when the WIFI probe equipment is not accessed to the network of the monitoring equipment, the WIFI probe equipment can send a detection frame outwards through a communication transmission module of the WIFI probe equipment, so that the monitoring equipment in a communication range can receive and analyze the detection frame, and information transmission to the monitoring equipment is realized.
And step S42, responding to the first terminal MAC information acquired by the WIFI probe equipment and received through the network and the probe MAC information of the WIFI probe equipment, and reporting the first terminal MAC information and the probe MAC information in a unified manner.
If the information received by the monitoring equipment is the first terminal MAC information acquired by the WIFI probe equipment directly received through the network and the probe MAC information of the WIFI probe equipment, the fact that the WIFI probe equipment is accessed to the network of the monitoring equipment is indicated, directional data interaction can be carried out between the WIFI probe equipment and the network one by one, and at the moment, the monitoring equipment only needs to report the received first terminal MAC information and the received probe MAC information to the cloud server in a unified mode.
Step S43, responding to the detection frame sent by the WIFI probe device, analyzing the detection frame, obtaining first terminal MAC information acquired by the WIFI probe device and probe MAC information of the WIFI probe device, and reporting the first terminal MAC information and the probe MAC information in a unified mode.
If the information received by the monitoring equipment is a detection frame sent by the WIFI probe equipment, it is indicated that the WIFI probe equipment does not access the network of the monitoring equipment, and data interaction with the monitoring equipment needs to be carried out in a detection frame mode. At this time, the monitoring device analyzes the detection frame to obtain the first terminal MAC information acquired by the WIFI probe device and the probe MAC information of the WIFI probe device, so that the data can be reported to the cloud server in a unified manner. The specific parsing process will be described below.
In this embodiment, the monitoring device may receive, via the network, the terminal MAC information acquired by the WIFI probe device and the probe MAC information of the WIFI probe device itself, and may also receive a detection frame sent by the WIFI probe device within its communication range, and analyze the terminal MAC information and the probe MAC information of the WIFI probe device itself from the detection frame. Terminal MAC information and probe MAC information of WIFI probe equipment are concentrated to the monitoring equipment through the two modes, all data are transmitted to the cloud server through the communication modules of the monitoring equipment and the cloud server, and the terminal equipment is positioned. Therefore, the communication function between the monitoring equipment and the cloud server is utilized, the WIFI probe equipment does not need to be loaded and the communication function between the WIFI probe equipment and the cloud server is not needed, and the WIFI detection range is enlarged under the condition that the cost is not increased.
Further, referring to fig. 5, fig. 5 is a flowchart illustrating an embodiment of step S43 in fig. 4, which may be implemented by parsing a probe frame as follows.
Step S51, acquiring first MAC information from a first preset field of the probe frame, and judging whether the probe MAC information list contains the first MAC information; the probe MAC information list is pre-configured in the monitoring equipment and comprises probe MAC information of all WIFI probe equipment installed in the communication range of the monitoring equipment.
The detection frame sent by the WIFI probe device has multi-bit characters and can be divided into a plurality of fields, first MAC information is filled in a first preset field of the detection frame, and after the monitoring device analyzes and obtains the first MAC information, whether the probe MAC information list contains the first MAC information or not is judged, so that whether the monitoring device can continue to communicate with the WIFI probe device or not can be judged.
Specifically, the first preset field is a Source Address field (SA).
And step S52, if yes, continuing to receive other detection frames sent outwards by the WIFI probe device, and returning to the step of acquiring the first MAC information from the first preset field of the detection frames.
If the probe MAC information list contains the first MAC information, the WIFI probe equipment can communicate with the monitoring equipment, the monitoring equipment can continue to receive other detection frames sent by the WIFI probe equipment, and after the other detection frames are received, the monitoring equipment continues to analyze and acquire the corresponding first MAC information.
Step S53, otherwise, acquiring the second MAC information from the second preset field of the probe frame, and further determining whether the probe MAC information list includes the second MAC information.
In this embodiment, the WIFI probe device is configured to fill the terminal MAC information into the first preset field after acquiring the terminal MAC information, and fill the probe MAC information of the WIFI probe device itself into the second preset field, so that if the probe MAC information list does not include the first MAC information, it is described that the WIFI probe device corresponding to the first MAC information may not be a certain WIFI probe device in the list, or the first MAC information may be the terminal MAC information acquired by the WIFI probe device, at this time, it is necessary to further determine whether the second MAC information in the second preset field of the detection frame is included in the probe MAC information list, so as to determine whether the terminal MAC information corresponding to the first MAC information is acquired by a certain WIFI probe device in the list.
Specifically, the second preset field is a Destination Address field (DA).
And step S54, if yes, taking the first MAC information as first terminal MAC information, and taking the second MAC information as probe MAC information of the WIFI probe device.
If the probe MAC information list contains the second MAC information, the terminal MAC information corresponding to the first MAC information is acquired by a certain WIFI probe device in the list, at the moment, the first MAC information can be used as the first terminal MAC information, the second MAC information can be used as the probe MAC information of the WIFI probe device, and therefore the data can be further uploaded to a cloud server in a unified mode.
Further, please continue to refer to step S55 in fig. 5, if the probe MAC information list does not include the first MAC information nor the second MAC information, the first MAC information is used as the second terminal MAC information acquired by the monitoring device itself, and the second terminal MAC information and the monitoring MAC information of the monitoring device itself are reported together. If the probe MAC information list does not include the second MAC information, it indicates that the WIFI probe device that sends the probe frame is not in the list, and the monitoring device cannot correspond the terminal MAC information (the first MAC information) to the corresponding probe MAC information, which indicates that the first MAC information is not collected by the WIFI probe device but is collected by the monitoring device itself. Because the WIFI detection module can be loaded in the monitoring equipment in the embodiment, the monitoring equipment can also acquire the MAC information of the second terminal of the nearby terminal equipment. In other embodiments, the second MAC information may be used as the second terminal MAC information collected by the monitoring device.
In the embodiment, the monitoring device can receive the detection frame sent by the WIFI probe device in the communication range of the monitoring device, analyze the terminal MAC information and the probe MAC information of the WIFI probe device, transmit all data to the cloud server by using the communication modules of the monitoring device and the cloud server, and position the terminal device. Therefore, the communication function between the monitoring equipment and the cloud server is utilized, the WIFI probe equipment does not need to be loaded and the communication function between the WIFI probe equipment and the cloud server is not needed, and the WIFI detection range is enlarged under the condition that the cost is not increased.
Further, please refer to fig. 6, where fig. 6 is a schematic flowchart illustrating a process of another embodiment of the WIFI detection method according to the present application, and the WIFI detection method is applied to a monitoring device and includes the following steps.
And step S61, the monitoring equipment acquires the MAC information of the third terminal.
This embodiment loads WIFI detection module in supervisory equipment for supervisory equipment also can gather near terminal equipment's third terminal MAC information oneself when receiving information from WIFI probe equipment.
And step S62, uniformly reporting the first terminal MAC information and the probe MAC information, and the third terminal MAC information and the monitoring MAC information of the monitoring equipment.
In addition, as can be seen from the above embodiment, the monitoring device may further receive the first terminal MAC information and the probe MAC information of the WIFI probe device itself collected by the monitoring device from the WIFI probe device, and then may report the first terminal MAC information and the probe MAC information, and the second terminal MAC information and the monitoring MAC information of the monitoring device itself to the cloud server in a unified manner, so as to further expand the WIFI detection range.
Based on the same inventive concept, the present application further provides a monitoring device, please refer to fig. 7, fig. 7 is a schematic structural diagram of an embodiment of the monitoring device of the present application, the monitoring device 700 includes a processor 710, and a memory 720 and a communication circuit 730 respectively coupled to the processor 710, the memory 720 stores program instructions, and the processor 710 can execute the program instructions to implement the WIFI detection method applied to the monitoring device according to any of the above embodiments, wherein the communication circuit 730 enables the monitoring device to communicate with the WIFI probe device. Please refer to any of the above embodiments, which are not described herein.
In addition, this application still provides a WIFI detection system, please refer to fig. 8, fig. 8 is a schematic structural diagram of an embodiment of the WIFI detection system of this application, this WIFI detection system 800 includes monitoring device 700 as described in the above embodiment and at least one WIFI probe device 300 as described in the above embodiment, and fig. 8 schematically illustrates the situation of three WIFI probe devices 300. The monitoring device 700 and each WIFI probe device 300 are in communication with each other through the respective communication circuit 730 and the communication circuit 330, and the monitoring device 700, in cooperation with the WIFI probe device 300, can implement the WIFI detection method applied to the WIFI probe device as described in any one of the above embodiments, or implement the WIFI detection method applied to the monitoring device as described in any one of the above embodiments. For details, reference may be made to any of the above embodiments, which are not described herein again.
In addition, the present application further provides a computer-readable storage medium, please refer to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of the computer-readable storage medium of the present application, and the storage medium 900 has stored thereon program instructions 910, and the program instructions 910 can be executed by a processor to implement a WIFI detection method applied to a WIFI probe device as described in any of the above embodiments, or to implement a WIFI detection method applied to a monitoring device as described in any of the above embodiments. For details, reference may be made to any of the above embodiments, which are not described herein again.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (12)

1. A WIFI detection method is characterized by comprising the following steps:
the WIFI probe equipment collects terminal MAC information within a preset range and judges whether the WIFI probe equipment is connected to a network of monitoring equipment or not;
if so, transmitting the terminal MAC information and the probe MAC information of the WIFI probe equipment to the monitoring equipment through the network;
otherwise, a first detection frame is established and sent outwards, so that the monitoring equipment receives and analyzes the first detection frame and then acquires the terminal MAC information and the probe MAC information of the WIFI probe equipment; the first preset field of the first detection frame is the terminal MAC information, the second preset field is the probe MAC information of the WIFI probe device, and at least one WIFI probe device is installed in the communication range of the monitoring device.
2. The method of claim 1, wherein the monitoring device is configured with a probe MAC information list of all WIFI probe devices, and the step of collecting terminal MAC information within a preset range further comprises, before the step of:
the WIFI probe equipment is established and sends a second detection frame outwards at a preset frequency, so that the monitoring equipment can judge whether the probe MAC information list contains the probe MAC information of the WIFI probe equipment after receiving and analyzing the second detection frame;
the first preset field of the second detection frame is probe MAC information of the WIFI probe device, and the second preset field is empty.
3. The method of claim 2, wherein the first predetermined field is a source address field and the second predetermined field is a destination address field.
4. The method of claim 1, wherein the step of forming and sending out the first sounding frame comprises:
and establishing the first detection frame and sending the first detection frame outwards for multiple times within a preset time range.
5. A WIFI probe apparatus comprising a processor and memory and communication circuitry respectively coupled to the processor, the memory having stored thereon program instructions executable by the processor to implement a WIFI detection method according to any one of claims 1 to 4.
6. A WIFI detection method is characterized by comprising the following steps:
the monitoring equipment receives information sent by the WIFI probe equipment; at least one WIFI probe device is installed in the communication range of the monitoring device;
responding to first terminal MAC information acquired by the WIFI probe equipment and received through a network and probe MAC information of the WIFI probe equipment, and reporting the first terminal MAC information and the probe MAC information in a unified manner;
responding to the detection frame sent by the WIFI probe equipment by the information, analyzing the detection frame, obtaining first terminal MAC information acquired by the WIFI probe equipment and probe MAC information of the WIFI probe equipment, and reporting the first terminal MAC information and the probe MAC information in a unified manner.
7. The method according to claim 6, wherein the step of parsing the probe frame and obtaining the first terminal MAC information acquired by the WIFI probe device and the probe MAC information of the WIFI probe device itself includes:
acquiring first MAC information from a first preset field of the detection frame, and judging whether a probe MAC information list contains the first MAC information or not; the probe MAC information list is pre-configured in the monitoring equipment and comprises probe MAC information of all WIFI probe equipment installed in the communication range of the monitoring equipment;
if so, continuing to receive other detection frames sent outwards by the WIFI probe equipment, and returning to the step of acquiring first MAC information from a first preset field of the detection frame;
otherwise, acquiring second MAC information from a second preset field of the detection frame, and further judging whether the probe MAC information list contains the second MAC information;
and if so, taking the first MAC information as the first terminal MAC information, and taking the second MAC information as the probe MAC information of the WIFI probe equipment.
8. The method of claim 7, further comprising:
and if the probe MAC information list does not contain the second MAC information, taking the first MAC information as second terminal MAC information acquired by the monitoring equipment, and reporting the second terminal MAC information and the monitoring MAC information of the monitoring equipment in a unified way.
9. The method of claim 6, further comprising:
the monitoring equipment acquires and obtains the MAC information of a third terminal;
and uniformly reporting the first terminal MAC information, the probe MAC information, the third terminal MAC information and the monitoring MAC information of the monitoring equipment.
10. A monitoring device comprising a processor and memory and communication circuitry respectively coupled to the processor, the memory having stored thereon program instructions executable by the processor to implement the WIFI detection method of any of claims 6-9.
11. A WIFI detection system, comprising:
the monitoring device of claim 10 and at least one WIFI probe device of claim 5, wherein the monitoring device and each WIFI probe device communicate with each other through the communication circuit, the monitoring device being capable of implementing the WIFI detection method of any of claims 1-4 or any of claims 6-9 in cooperation with the WIFI probe device.
12. A computer-readable storage medium having stored thereon program instructions executable by a processor to implement the WIFI detection method of any of claims 1-4 or any of claims 6-9.
CN202110063251.4A 2021-01-18 2021-01-18 WIFI detection method and system, WIFI probe device, monitoring device and storage medium Active CN112911703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110063251.4A CN112911703B (en) 2021-01-18 2021-01-18 WIFI detection method and system, WIFI probe device, monitoring device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110063251.4A CN112911703B (en) 2021-01-18 2021-01-18 WIFI detection method and system, WIFI probe device, monitoring device and storage medium

Publications (2)

Publication Number Publication Date
CN112911703A CN112911703A (en) 2021-06-04
CN112911703B true CN112911703B (en) 2022-06-07

Family

ID=76115215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110063251.4A Active CN112911703B (en) 2021-01-18 2021-01-18 WIFI detection method and system, WIFI probe device, monitoring device and storage medium

Country Status (1)

Country Link
CN (1) CN112911703B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113341856B (en) * 2021-06-23 2023-03-10 杭州萤石软件有限公司 Security monitoring system, security monitoring method and security monitoring equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2016024401A1 (en) * 2014-08-12 2017-06-15 日本電気株式会社 Communication method, communication system, wireless terminal and communication control method in wireless communication network
CN104980885B (en) * 2015-06-25 2018-09-14 迪爱斯信息技术股份有限公司 A kind of data processing system and method towards WIFI detection identifications
WO2019085747A1 (en) * 2017-10-30 2019-05-09 苏州欧普照明有限公司 Method for device to access network, control terminal and system
CN107995683B (en) * 2017-12-13 2021-01-26 北京小米移动软件有限公司 Positioning system, indoor positioning method, server, and storage medium
CN108307422A (en) * 2018-03-16 2018-07-20 上海重盟信息技术有限公司 Data transmission method, device and WiFi probe devices
CN108966163A (en) * 2018-06-22 2018-12-07 上海意视信息科技有限公司 A kind of WIFI probe device, data collection system and method

Also Published As

Publication number Publication date
CN112911703A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
US10225710B2 (en) Cross-layer context management
CN109275177B (en) Method, device and system for accessing IAB base station to network
US20230232266A1 (en) Method and terminal for reporting location measurement data, and storage medium
CN110719154B (en) Beam failure recovery request transmission method and device
KR20080097154A (en) Universal browsing system
US10716088B2 (en) Location determination of internet-of-things devices based on access point emulation
CN103139150A (en) Terminal adaptation processing method, protocol adaptation module and terminal
Chung et al. Experiments of A LPWAN tracking (TR) platform based on Sigfox test network
US20200245379A1 (en) Method and device for implementing wireless backhaul, and base station
EP3986001A1 (en) Voice call method, apparatus and system
CN111278036B (en) Method and device for acquiring MAC address
US20170105204A1 (en) Terminal device and d2d resource management method
CN112911703B (en) WIFI detection method and system, WIFI probe device, monitoring device and storage medium
CN114521012A (en) Positioning method, positioning device, terminal equipment, base station and position management server
US20210385646A1 (en) End to end troubleshooting of mobility services
EP2911441B1 (en) Testing apparatus for communication system and method therefor
WO2021261917A1 (en) Method and apparatus for handling performance of edge network entities in a mobile communication system
CN112740826B (en) Capability reporting method and terminal equipment
CN112866046A (en) Software upgrading method and device for intelligent rod, storage medium and intelligent rod
US20230091815A1 (en) Method and apparatus for management data analytics service (mdas) assisted paging in a wireless communication system
CN109890016B (en) Method and device for supporting multiple applications to access Bluetooth equipment
CN111885636B (en) Drive test method and device
US20240129713A1 (en) Apparatus and method for diagnosing condition of communication service
JP6902766B2 (en) Communication equipment, communication control methods, and communication systems
CN116233896B (en) Method and system for transmitting message by user equipment in wireless communication system

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