CN111885621A - Wireless message capturing method, system, terminal and storage medium - Google Patents

Wireless message capturing method, system, terminal and storage medium Download PDF

Info

Publication number
CN111885621A
CN111885621A CN202010666473.0A CN202010666473A CN111885621A CN 111885621 A CN111885621 A CN 111885621A CN 202010666473 A CN202010666473 A CN 202010666473A CN 111885621 A CN111885621 A CN 111885621A
Authority
CN
China
Prior art keywords
wireless
capturing
networking
packet
message
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
CN202010666473.0A
Other languages
Chinese (zh)
Other versions
CN111885621B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN202010666473.0A priority Critical patent/CN111885621B/en
Publication of CN111885621A publication Critical patent/CN111885621A/en
Application granted granted Critical
Publication of CN111885621B publication Critical patent/CN111885621B/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/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a wireless message capturing method, a system, a terminal and a storage medium, wherein the method comprises the following steps: determining wireless Mesh networking; determining a capturing mode of the wireless message according to the wireless Mesh networking; and executing the wireless message grabbing operation on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes. The method solves the technical problem that the existing packet capturing method cannot simultaneously capture the wireless messages of a plurality of master and slave APs and terminals in the wireless Mesh distributed system, and achieves the effect of simultaneously capturing the wireless messages of all wireless nodes of the wireless Mesh distributed system.

Description

Wireless message capturing method, system, terminal and storage medium
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a method, a system, a terminal, and a storage medium for capturing a wireless packet.
Background
With the popularization of wireless technology, wireless local area networks are more and more widely used, and people have stronger and stronger demand for surfing the internet by using wireless terminals. Along with the improvement of people's living conditions in recent years, provide wiFi signal coverage by traditional single wireless router, the wiFi easily appears and covers the dead angle, net speed decay such as too fast behind the partition wall. Therefore, the traditional single router can not meet the wireless internet access requirements of large-sized and villa users.
The wireless Mesh distributed router can solve the problem that large-dwelling and villa users are difficult to wirelessly cover and organize the network, and the wireless Mesh distributed router enables two or more than two routes to form a distributed wireless network system through the Mesh technology; the wireless Mesh is a wireless network structure with multiple hops, automatic return and automatic networking, has the characteristics of strong maneuverability, strong survivability, flexible networking mode and the like, and can realize no dead angle coverage through wireless Mesh networking WiFi signals in families.
The networking topology of the household wireless Mesh distributed router can be a straight shape and consists of a master AP, a first slave AP and a second slave AP, and can also be a star shape and consists of the master AP and two equal slave APs. The network structure of the wireless Mesh distributed networking is more complex than that of the traditional single AP, and the borne wireless network service and burden are larger, such as a wireless Mesh networking function, a wireless link automatic repair function, a wireless return link switching function, a roaming function of a wireless terminal in different frequency bands, a roaming function of the wireless terminal between a master AP and a slave AP, and the like. Therefore, compared with the traditional single AP, the wireless Mesh distributed networking has more wireless problems, and the fault solution and the network optimization can be realized only by monitoring wireless data packets in the wireless Mesh distributed system. However, the existing packet capturing method cannot simultaneously capture wireless messages of a plurality of master and slave APs and terminals in the wireless Mesh distributed system.
Disclosure of Invention
The embodiment of the application aims to solve the problem that the existing packet capturing method cannot simultaneously capture a plurality of master and slave APs and terminals in a wireless Mesh distributed system.
In order to achieve the above object, an aspect of the present application provides a method for capturing a wireless packet, where the method for capturing a wireless packet includes the following steps:
determining wireless Mesh networking;
determining a capturing mode of the wireless message according to the wireless Mesh networking;
and executing the wireless message grabbing operation on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes.
Optionally, the step of determining a capturing mode of the wireless packet according to the wireless Mesh networking includes:
determining networking frequency bands adopted by a master AP and a plurality of slave APs in a wireless Mesh network;
and determining a wireless message capturing mode based on the networking frequency band.
Optionally, the step of determining a capturing mode of the wireless packet based on the networking frequency band includes:
if single-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, the capturing mode of the wireless message is a mode of using a single packet capturing module to cooperate with a shunt and/or a mode of integrating a plurality of packet capturing modules to capture packets synchronously;
if dual-frequency networking is adopted between the master AP and the multiple slave APs in the wireless Mesh network, the capturing mode of the wireless message is a mode of synchronously capturing packets by integrating multiple packet capturing modules.
Optionally, after the step of using a single packet capturing module in cooperation with a splitter, the method for capturing the wireless packet includes:
respectively introducing the radio frequency channel of the single packet grabbing module into a shielding box of each wireless node through a splitter;
and executing the grabbing operation of the wireless message to the wireless node in the shielding box through the single packet grabbing module.
Optionally, after the step of integrating a plurality of packet capturing modules to capture packets synchronously, the method for capturing the wireless packet includes:
respectively introducing the radio frequency channel of each packet capturing module into a shielding box of a corresponding wireless node, wherein one packet capturing module is introduced into the shielding box of one wireless node;
and executing the grabbing operation of the wireless message to the wireless nodes in the shielding box through each packet grabbing module.
Optionally, after the step of respectively introducing the radio frequency channel of each packet capturing module into the shielding box of the corresponding wireless node, the method includes:
acquiring an operation command for capturing a wireless message, and executing the capturing operation of the wireless message of each packet capturing module based on the operation command;
and performing associated storage on the wireless message captured by each packet capturing module and a timestamp, wherein the timestamp is a time point for capturing the wireless message.
Optionally, before the step of determining the networking of the wireless Mesh, the method includes:
each wireless node in the wireless Mesh network is respectively arranged in different shielding boxes, and wireless links are adjusted through the shielding boxes to form different networking topologies;
and executing networking operation on the networking topology through different networking frequency bands to obtain various different wireless Mesh networking.
In addition, to achieve the above object, another aspect of the present application further provides a wireless packet capturing system, where the system includes:
the first determining module is used for determining wireless Mesh networking;
the second determining module is used for determining the capturing mode of the wireless message according to the wireless Mesh networking;
and the grabbing module is used for executing the grabbing operation of the wireless messages on all the wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes.
In addition, in order to achieve the above object, another aspect of the present application further provides a terminal, where the terminal includes a memory, a processor, and a wireless message capture program stored in the memory and running on the processor, and the processor implements the steps of the wireless message capture method when executing the wireless message capture program.
In addition, to achieve the above object, another aspect of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the wireless message capturing method as described above.
In this embodiment, wireless Mesh networking is determined first, a wireless message capturing mode is determined based on the wireless Mesh networking, and capturing operations of all wireless nodes in the wireless Mesh network are executed according to the capturing mode to obtain wireless messages of all wireless nodes, so that wireless message capturing can be performed on a plurality of master-slave APs and terminals in a wireless Mesh distributed system at the same time.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a first embodiment of a wireless message capture method according to the present application;
fig. 3 is a flowchart illustrating a second embodiment of a wireless message capturing method according to the present application;
fig. 4 is a flowchart illustrating a wireless message capturing method according to a third embodiment of the present application;
fig. 5 is a schematic flowchart of a fourth embodiment of a wireless message capture method according to the present application;
fig. 6 is a schematic flow chart illustrating a process before a step of determining a wireless Mesh networking in the wireless message capturing method of the present application;
fig. 7 is a schematic flow chart illustrating a method for capturing a wireless packet according to the wireless packet capturing method of the present application, where the method determines a capturing mode of the wireless packet based on the networking frequency band;
fig. 8 is a schematic flow chart illustrating a step after the step of respectively introducing the radio frequency channel of each packet capturing module into the shielding box of the corresponding wireless node in the wireless packet capturing method according to the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: determining wireless Mesh networking; determining a capturing mode of the wireless message according to the wireless Mesh networking; and executing the wireless message grabbing operation on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes.
Because the wireless packet capturing method for a single AP in the prior art cannot be applied to simultaneously capturing wireless packets from a plurality of master and slave APs and terminals in a wireless Mesh distributed system, and cannot simultaneously analyze and optimize problems in various wireless Mesh scenarios. According to the method, wireless Mesh networking is determined firstly, the grabbing mode of the wireless message is determined based on the wireless Mesh networking, and the grabbing operation of all wireless nodes in the wireless Mesh network is executed according to the grabbing mode to obtain the wireless message of all the wireless nodes, so that wireless message grabbing can be performed on a plurality of master-slave APs and terminals in a wireless Mesh distributed system at the same time.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, a remote controller, an audio circuit, a WiFi module, a detector, and the like. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a wireless message capture program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke the wireless message capture program stored in the memory 1005 and perform the following operations:
determining wireless Mesh networking;
determining a capturing mode of the wireless message according to the wireless Mesh networking;
and executing the wireless message grabbing operation on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a wireless packet capturing method according to the present application, where the wireless packet capturing method includes:
step S10, determining wireless Mesh networking;
in this embodiment, the wireless Mesh is a wireless network structure with multiple hops, automatic backhaul and automatic networking, and has the characteristics of strong mobility, strong survivability, flexible networking mode and the like, and no dead-angle coverage can be achieved in a family through wireless Mesh networking WiFi signals.
The wireless Mesh networking includes various types, and the modes for capturing the wireless messages are different based on the difference of the wireless Mesh networking, so that the wireless Mesh networking needs to be determined before the capturing mode of the wireless messages is determined. The wireless Mesh networking needs to comprehensively consider factors such as channel interference, hop selection, frequency selection and the like, and taking 802.11s WLAN Mesh as an example, the networking can be divided into single-frequency networking and double-frequency networking; when a single-frequency networking is used, the access and return of all the wireless access points Mesh AP and the wired access points RootAP work in the same frequency band, for example, the access and return can be carried out by adopting a channel 802.11b/g on 2.4 GHz; when dual-frequency networking is used, the backhaul and access of each node both use two different frequency bands, for example, a 2.4GHz 802.1l b/g channel is used for local access service, and a 5.8GHz 802.11a channel is used for a backbone Mesh backhaul network, which do not interfere with each other.
Based on the difference between the networking topology and the networking frequency band in the wireless Mesh network, the wireless Mesh networking is also different, and therefore, referring to fig. 6, the step of determining the wireless Mesh networking includes:
step S11, each wireless node in the wireless Mesh network is respectively arranged in different shielding boxes, and wireless links are adjusted through the shielding boxes to form different networking topologies;
and step S12, executing networking operation on the networking topology through different networking frequency bands to obtain various different wireless Mesh networking.
The networking topology types of the wireless Mesh distributed system comprise a linear topology, a star topology, a ring topology and the like, when the wireless Mesh distributed system is tested in a laboratory, a master AP and a slave AP need to be placed in different shielding boxes, wherein the AP refers to an access point, is used for a wireless switch of the wireless network and is also the core of the wireless network; the wireless links are adjusted to form various networking topologies by adjustable attenuation between the shielded boxes, for example: taking the star wireless Mesh networking topology as an example, the attenuation of the master AP and the slave AP1 and 2 is 30dB, and the attenuation between the slave AP1 and the slave AP2 is 90dB, i.e. the wireless Mesh will automatically form the star Mesh topology. Single-frequency networking and dual-frequency networking are in turn divided among various networking topologies, such as: the networking topology comprises modes of networking in a 2.4GHz frequency band, networking in a 5GHz frequency band, comprehensive networking in 2.4GHz and 5GHz and the like, the networking topology performs networking operation through different networking frequency bands to obtain various different wireless Mesh networking, for example, the star topology can obtain one wireless Mesh networking by adopting the networking in the 2.4GHz frequency band, or the star topology can obtain another wireless Mesh networking by adopting the networking in the 5GHz frequency band.
Step S20, determining the capturing mode of the wireless message according to the wireless Mesh networking;
in this embodiment, the message is a data unit exchanged and transmitted in the network, that is, a data block to be sent by a station at a time, and the message includes complete data information to be sent, and the length of the message is very different and is not limited and can be changed. Determining a capture mode of a wireless message based on wireless Mesh networking, specifically determining the capture mode of the wireless message according to different networking topologies and networking frequency bands in a wireless Mesh network, for example, if the current networking topology is a star topology, networking is performed by adopting a 2.4GHz frequency band, the capture mode is a mode of using a single packet capture module to cooperate with a splitter; or the current networking topology is linear topology, and networking is carried out by adopting a 5GHz frequency band, and the capturing mode is a mode of using a single packet capturing module to be matched with a splitter or a mode of integrating a plurality of packet capturing modules to capture packets synchronously; or the current networking topology is a ring topology, and 2.4GHz and 5GHz integrated networking is adopted, so that the capturing mode is a mode of integrating a plurality of packet capturing modules to capture packets synchronously. When different networking topologies adopt single-frequency networking, the capturing mode is a mode of using a single packet capturing module to match with a splitter or a mode of integrating a plurality of packet capturing modules to capture packets synchronously; when different networking topologies adopt dual-frequency networking, the capturing mode is a mode of integrating a plurality of packet capturing modules to capture packets synchronously.
And step S30, executing the grabbing operation of the wireless messages to all the wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes.
When the user uses wifi, the problems of frequent disconnection, unstable communication, slow network speed, message interruption and the like are likely to occur, and when the user solves the wifi problems, the user needs to capture wireless messages to analyze and diagnose the root cause of the problems under some conditions.
And (3) performing wireless message capturing on all wireless nodes in the wireless Mesh network by using a wireless network card and a wireless message capturing tool, such as a wireshark or a tcpdump. Specifically, before capturing a wireless packet transmitted on a target channel, a terminal device may first obtain the target channel to be captured of the wireless packet, and since a working channel during operation of a communication network is usually fixed, when a wireless packet in the communication network needs to be captured, the target channel to be captured by the terminal device may be set as the working channel where the communication network is located. It can be understood that after acquiring the working channel used by the field communication network, the terminal device may capture all wireless packets transmitted on the channel, where the captured wireless packets include all wireless packets transmitted between node devices in the communication network, that is, wireless packets of all wireless nodes in the wireless Mesh network are captured.
Optionally, a technician may determine a problem existing in the wireless Mesh network by performing problem analysis on the captured wireless packet; since the acquired wireless messages are of various types, such as UDP-type wireless messages, IGMP-type wireless messages, TCP-type wireless messages, and the like, before the problem analysis operation of the messages is performed, the captured messages are filtered through a preset filtering condition to obtain messages required for analysis, where the preset filtering condition is that only UDP-type messages are required or only IGMP-type messages are required. Specifically, when the filtering condition is that only UDP type wireless messages are needed, a BPF filter corresponding to the filtering condition is called, the filter first parses each received wireless message, then obtains the parsed protocol field, determines whether the message is a UDP packet according to whether the value of the protocol field is equal to 17, if the value of the protocol field is equal to 17, the message is a UDP packet, and needs to be retained, otherwise, the message is discarded. Further, the wireless message obtained by the filtering condition is subjected to a wireless interaction process through an analysis module, the wireless interaction process is a normal wireless interaction process of shared key authentication, and meanwhile, problems existing in the wireless Mesh network are analyzed, such as frequent disconnection, unstable communication, slow network speed and the like, so that the reason of the problems is found out, and corresponding optimization operation is executed.
In this embodiment, wireless Mesh networking is determined first, a wireless message capturing mode is determined based on the wireless Mesh networking, and capturing operations of all wireless nodes in the wireless Mesh network are executed according to the capturing mode to obtain wireless messages of all wireless nodes, so that wireless message capturing can be performed on a plurality of master-slave APs and terminals in a wireless Mesh distributed system at the same time.
In an embodiment, referring to fig. 3, the step of determining a capturing manner of the wireless packet according to the wireless Mesh networking includes:
step S21, determining networking frequency bands adopted by a master AP and a plurality of slave APs in the wireless Mesh network;
and step S22, determining the capturing mode of the wireless message based on the networking frequency band.
Confirm the main AP in the wireless Mesh network and a plurality of network deployment frequency channels that adopt from the AP network deployment, the network deployment frequency channel includes 2.4GHz and 5GHz etc. based on the difference of network deployment frequency channel, can divide into single-frequency network deployment or dual-frenquency network deployment, single-frequency network deployment is main AP and a plurality of follow AP use single frequency channel to carry out the network deployment promptly, if 2.4GHz or 5GHz, dual-frenquency network deployment is AP and a plurality of follow AP use two different frequency channels to carry out the network deployment promptly, if 2.4GHz and 5 GHz. Determining the capturing mode of the wireless packet based on the difference of the networking frequency bands, and therefore, referring to fig. 7, the step of determining the capturing mode of the wireless packet based on the networking frequency bands includes:
step S220, if single-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, the capturing mode of the wireless message is a mode of using a single packet capturing module to cooperate with a splitter and/or a mode of integrating a plurality of packet capturing modules to capture packets synchronously;
step S221, if the dual-frequency networking is adopted between the master AP and the multiple slave APs in the wireless Mesh network, the capturing mode of the wireless message is a mode of synchronously capturing packets by integrating multiple packet capturing modules.
In this embodiment, if a single-frequency networking is adopted between a master AP and multiple slave APs in a wireless Mesh network, the capturing mode of a wireless packet is a mode of using a single packet capturing module in cooperation with a splitter, and/or a mode of integrating multiple packet capturing modules to capture a packet synchronously, for example: if 2.4GHz is adopted before the master AP and the slave AP1, and 2.4GHz networking is also adopted before the master AP and the slave AP2, or networking is carried out between the master AP and the slave AP1 and the AP2 through a 5GHz frequency band, a packet capturing mode of a single packet capturing module matched with a splitter is used, or a mode of synchronously capturing packets by integrating a plurality of packet capturing modules is used; if dual-frequency networking is adopted between the master AP and the multiple slave APs in the wireless Mesh network, the capturing mode of the wireless message is a mode of integrating multiple packet capturing modules to capture packets synchronously, for example: if the master AP and the slave AP1 adopt 2.4GHz before and the master AP and the slave AP2 adopt 5GHz networking before, a mode of synchronously grabbing packets by integrating a plurality of packet grabbing modules is used.
In this embodiment, by determining networking frequency bands adopted by networking the master AP and the plurality of slave APs in the wireless Mesh network, the capturing mode of the wireless packet can be determined based on the networking frequency bands.
In an embodiment, referring to fig. 4, after the step of using the single packet capturing module in cooperation with the splitter, the method for capturing the wireless packet includes:
step S222, respectively introducing the radio frequency channel of the single packet capturing module into a shielding box of each wireless node through a splitter;
and step S223, executing the grabbing operation of the wireless message to the wireless node in the shielding box through the single packet grabbing module.
In this embodiment, when a single packet capturing module is used in conjunction with a packet capturing mode of a splitter, a radio frequency channel of the single packet capturing module is respectively introduced into a shielding box of each wireless node through the splitter, the splitter can separate multiple frequency band signals input on a line in a wireless communication system into a single frequency band and output the single frequency band signal to different communication lines, and in the field of communication, the splitter is a device for separating a telephone channel from a data channel; and the single packet capturing module is used for performing the capturing operation of the wireless message on the wireless nodes in the shielding box, namely capturing the wireless message within the range of each wireless node. The wireless messages captured by the single-module packet capturing module do not need to be subjected to timestamp synchronization, and the wireless messages are captured according to the time sequence when the packets are captured because only one packet capturing module is provided.
In this embodiment, a single packet capturing module is used in cooperation with a splitter to capture wireless packets in the wireless Mesh network, so that the wireless packets of all wireless nodes in the wireless Mesh network can be captured simultaneously.
In an embodiment, referring to fig. 5, after the step of integrating the multiple packet capturing modules to capture the packet synchronously, the method for capturing the wireless packet includes:
step S224, respectively introducing the radio frequency channel of each packet capturing module into the shielding box of the corresponding wireless node, wherein one packet capturing module is introduced into the shielding box of one wireless node;
and step S225, executing the grabbing operation of the wireless message to the wireless nodes in the shielding box through each packet grabbing module.
In this embodiment, when a mode of synchronously grabbing packets by integrating a plurality of packet grabbing modules is used, the radio frequency channel of each packet grabbing module is respectively introduced into the shielding boxes of the corresponding wireless nodes, wherein one packet grabbing module is introduced into the shielding box of one wireless node, that is, the packet grabbing module and the wireless node are in a one-to-one correspondence relationship, and then the wireless nodes in the shielding boxes are respectively grabbed by the packet grabbing modules.
Further, referring to fig. 8, after the step of respectively introducing the radio frequency channel of each packet capturing module into the shielding box of the corresponding wireless node, the method includes:
step S226, acquiring an operation command for capturing the wireless message, and executing the capturing operation of the wireless message of each packet capturing module based on the operation command;
and step S227, performing associated storage on the wireless message captured by each packet capturing module and a timestamp, wherein the timestamp is a time point for capturing the wireless message.
Before executing a wireless message capturing operation, each packet capturing module needs to acquire an operation command for capturing a wireless message, and based on the operation command, the capturing operation of the wireless message of each packet capturing module is executed, for example: first, a promiscuous mode (sniffer mode) of a wireless network card (for example, a Wi-Fi module) in the terminal needs to be activated, so that the promiscuous mode of the wireless network card becomes available for the user to control. And meanwhile, a corresponding user interface is created, and an opening/closing control is arranged on the user interface, so that a user can control the opening or closing of the hybrid mode by triggering the opening/closing control. When the terminal detects the triggering operation of the user touch control opening/closing control, an operation command for capturing the wireless message is generated, and the operation of capturing the wireless message by each packet capturing module is executed based on the operation command.
In order to facilitate technicians to find wireless messages required to be analyzed in time, the wireless messages and timestamps can be stored in an associated manner, wherein the timestamps are time points for capturing the wireless messages; specifically, the wireless message may be stored in a local file according to a specific format (e.g., pcap file format), and the file is named by a timestamp, so as to implement the associated storage of the wireless message and the timestamp. Therefore, when network communication or equipment operation fails, wireless messages before and after the failure time can be directly inquired according to the failure occurrence time and the stored timestamp, and therefore problem tracing, problem analysis and problem positioning are carried out on a failure site. Optionally, timestamp synchronization may be performed on the wireless messages, and then the wireless messages with the timestamp synchronization are stored, where the timestamp synchronization refers to sequencing the wireless messages captured by all the packet capturing modules according to a time sequence, so as to form an integral message. The time stamp synchronization is mainly performed to facilitate analyzing the roaming behavior of the packet, for example: when the STA is analyzed to roam among different AP nodes, the roaming behavior can be analyzed through messages arranged according to the time sequence.
Optionally, the wireless messages captured by each packet capturing module may be further marked, for example, a tag is used for marking, the tag is defined by the user, is more accurate and more specific than classification, and can summarize keywords of main contents of an article, and a technician can more conveniently and accurately find a desired wireless message by marking the wireless message with the tag.
In this embodiment, the wireless packets in the wireless Mesh network are captured by integrating a plurality of packet capturing modules, so that the wireless packets of all wireless nodes in the wireless Mesh network can be captured simultaneously, and meanwhile, the wireless packets and the timestamps are stored in an associated manner, and then a wireless interaction process and problem analysis are performed, so that the problems existing in the wireless Mesh network can be determined, and the existing problems are optimized.
In addition, another aspect of the present application further provides a wireless packet capturing system, where the system includes:
the first determining module is used for determining wireless Mesh networking;
the second determining module is used for determining the capturing mode of the wireless message according to the wireless Mesh networking;
and the grabbing module is used for executing the grabbing operation of the wireless messages on all the wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes.
Further, the second determining module is further configured to determine a networking frequency band adopted by a master AP and a plurality of slave APs in the wireless Mesh network;
the second determining module is further configured to determine a capturing mode of the wireless packet based on the networking frequency band.
Further, the second determining module is further configured to, if a single-frequency networking is adopted between the master AP and the multiple slave APs in the wireless Mesh network, use a single packet capturing module in cooperation with the splitter to capture the wireless packet, and/or integrate multiple packet capturing modules to capture the packet synchronously;
the second determining module is further configured to, if dual-frequency networking is adopted between the master AP and the multiple slave APs in the wireless Mesh network, adopt a mode of capturing the wireless packet to be a mode of synchronously capturing the packet by integrating the multiple packet capturing modules.
Further, the second determination module comprises an introduction unit and a grabbing unit;
the introducing unit is used for introducing the radio frequency channel of the single packet grabbing module into the shielding box of each wireless node through a splitter respectively;
and the grabbing unit is used for carrying out grabbing operation of the wireless message on the wireless node in the shielding box through the single grabbing module.
Furthermore, the introducing unit is further configured to introduce the radio frequency channel of each packet capturing module into a shielding box of a corresponding wireless node, respectively, where one packet capturing module is introduced into a shielding box of one wireless node;
the grabbing unit is further configured to perform grabbing operation of the wireless message on the wireless node in the shielding box through each packet grabbing module.
Further, the second determining module further comprises an obtaining unit and a storage unit;
the acquisition unit is used for acquiring an operation command for capturing the wireless message and executing the capturing operation of the wireless message of each packet capturing module based on the operation command;
the storage unit is configured to store the wireless packet captured by each packet capturing module in association with a timestamp, where the timestamp is a time point at which the wireless packet is captured.
Further, the first determining module is further configured to place each wireless node in the wireless Mesh network in a different shielded box, and adjust the wireless links through the shielded boxes to form different networking topologies;
the first determining module is further configured to execute networking operation on the networking topology through different networking frequency bands to obtain multiple different wireless Mesh networking.
The implementation of the functions of each module of the wireless message capturing system is similar to the process in the embodiment of the method, and is not described in detail here.
In addition, another aspect of the present application further provides a terminal, where the terminal includes a memory, a processor, and a wireless packet capturing program stored in the memory and running on the processor, and the terminal determines a capturing mode of a wireless packet based on the wireless Mesh networking by determining the wireless Mesh networking, and performs capturing operations of all wireless nodes in the wireless Mesh network according to the capturing mode to obtain wireless packets of all wireless nodes, so that wireless packet capturing can be performed on multiple master-slave APs and terminals in a wireless Mesh distributed system at the same time.
In addition, another aspect of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the wireless message capturing method as described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for capturing a wireless message, the method comprising:
determining wireless Mesh networking;
determining a capturing mode of the wireless message according to the wireless Mesh networking;
and executing the wireless message grabbing operation on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes.
2. The method of claim 1, wherein the step of determining the capturing mode of the wireless packet according to the wireless Mesh networking comprises:
determining networking frequency bands adopted by a master AP and a plurality of slave APs in a wireless Mesh network;
and determining a wireless message capturing mode based on the networking frequency band.
3. The method according to claim 2, wherein the step of determining the capturing mode of the wireless packet based on the networking frequency band comprises:
if single-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, the capturing mode of the wireless message is a mode of using a single packet capturing module to cooperate with a shunt and/or a mode of integrating a plurality of packet capturing modules to capture packets synchronously;
if dual-frequency networking is adopted between the master AP and the multiple slave APs in the wireless Mesh network, the capturing mode of the wireless message is a mode of synchronously capturing packets by integrating multiple packet capturing modules.
4. The method according to claim 3, wherein the step of capturing the wireless packet by using a single packet capturing module in combination with a splitter is followed by:
respectively introducing the radio frequency channel of the single packet grabbing module into a shielding box of each wireless node through a splitter;
and executing the grabbing operation of the wireless message to the wireless node in the shielding box through the single packet grabbing module.
5. The method according to claim 3, wherein the step of integrating the plurality of packet capturing modules to capture the packet synchronously is followed by the step of capturing the packet synchronously, and the method comprises:
respectively introducing the radio frequency channel of each packet capturing module into a shielding box of a corresponding wireless node, wherein one packet capturing module is introduced into the shielding box of one wireless node;
and executing the grabbing operation of the wireless message to the wireless nodes in the shielding box through each packet grabbing module.
6. The method for capturing wireless packets according to claim 5, wherein the step of introducing the radio frequency channel of each packet capturing module into the shielding box of the corresponding wireless node comprises:
acquiring an operation command for capturing a wireless message, and executing the capturing operation of the wireless message of each packet capturing module based on the operation command;
and performing associated storage on the wireless message captured by each packet capturing module and a timestamp, wherein the timestamp is a time point for capturing the wireless message.
7. The method for capturing wireless packets according to any of claims 1 to 6, wherein the step of determining the wireless Mesh networking is preceded by:
each wireless node in the wireless Mesh network is respectively arranged in different shielding boxes, and wireless links are adjusted through the shielding boxes to form different networking topologies;
and executing networking operation on the networking topology through different networking frequency bands to obtain various different wireless Mesh networking.
8. A wireless message capture system, the system comprising:
the first determining module is used for determining wireless Mesh networking;
the second determining module is used for determining the capturing mode of the wireless message according to the wireless Mesh networking;
and the grabbing module is used for executing the grabbing operation of the wireless messages on all the wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all the wireless nodes.
9. A terminal comprising a memory, a processor, and a wireless message capture program stored on the memory and running on the processor, the processor implementing the steps of the method of any of claims 1 to 7 when executing the wireless message capture program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010666473.0A 2020-07-10 2020-07-10 Wireless message grabbing method, system, terminal and storage medium Active CN111885621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010666473.0A CN111885621B (en) 2020-07-10 2020-07-10 Wireless message grabbing method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010666473.0A CN111885621B (en) 2020-07-10 2020-07-10 Wireless message grabbing method, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111885621A true CN111885621A (en) 2020-11-03
CN111885621B CN111885621B (en) 2023-06-06

Family

ID=73150599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010666473.0A Active CN111885621B (en) 2020-07-10 2020-07-10 Wireless message grabbing method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111885621B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954670A (en) * 2021-01-28 2021-06-11 上海同耀通信技术有限公司 Mesh distributed networking authentication system and testing method
CN113613277A (en) * 2021-09-22 2021-11-05 深圳创维数字技术有限公司 Method, device, equipment and storage medium for testing performance of Mesh system

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835187A (en) * 2010-03-26 2010-09-15 浙江大学 Client management device for multi-interface wireless mesh network router
CN101964958A (en) * 2010-09-27 2011-02-02 北京航空航天大学 On-board network system and backbone node message processing method thereof
CN102821401A (en) * 2012-09-06 2012-12-12 北京傲天动联技术有限公司 Method for controlling wireless mesh network with wireless access controller
CN103402216A (en) * 2007-04-13 2013-11-20 Hart通信基金会 Support for network management and device communication in wireless network
CN103716777A (en) * 2013-12-18 2014-04-09 厦门市美亚柏科信息股份有限公司 Wireless terminal MAC address acquisition method and device
CN103781094A (en) * 2012-10-19 2014-05-07 中国科学院沈阳自动化研究所 A networking optimization method for wireless networks for industrial automation
CN104168657A (en) * 2013-05-20 2014-11-26 华为技术有限公司 Communication method and communication device of same-frequency networking wireless local area network
CN104462566A (en) * 2014-12-26 2015-03-25 中科宇图天下科技有限公司 Environmental protection information grid capturing method
CN104822159A (en) * 2015-01-04 2015-08-05 杭州敦崇科技股份有限公司 System and method for WLAN test of AP by simulating STA
CN106376003A (en) * 2015-07-23 2017-02-01 中移(杭州)信息技术有限公司 Method and device for detecting wireless local area network connection and wireless local area network data transmission
CN107071856A (en) * 2017-04-18 2017-08-18 江苏中科羿链通信技术有限公司 A kind of node cut-in method of channel wireless radio multi Mesh network
CN108040342A (en) * 2017-12-18 2018-05-15 上海斐讯数据通信技术有限公司 A kind of detection method and wireless extensions device of double frequency bridge joint signal source
CN108076516A (en) * 2016-11-15 2018-05-25 华为技术有限公司 Communication means, base station and access point
CN108737217A (en) * 2018-06-01 2018-11-02 杭州迪普科技股份有限公司 A kind of packet snapping method and device
CN108880999A (en) * 2013-12-30 2018-11-23 华为技术有限公司 A kind of method, equipment and the system of business routing
CN108966268A (en) * 2018-07-02 2018-12-07 四川斐讯信息技术有限公司 A kind of the wireless performance test topology and method of router
CN109462662A (en) * 2018-12-20 2019-03-12 深圳市银河风云网络系统股份有限公司 A kind of gateway, Internet of Things net equipment, Internet of things system and control method
US20190132839A1 (en) * 2017-10-31 2019-05-02 Tionesta, Llc Communication protocol overlay
CN109905322A (en) * 2019-04-01 2019-06-18 盛科网络(苏州)有限公司 A kind of method and device of message matching information pre-processing
CN109981529A (en) * 2017-12-27 2019-07-05 西门子(中国)有限公司 Receive message method, apparatus, system and computer storage medium
CN110071847A (en) * 2019-03-20 2019-07-30 深圳市飞比电子科技有限公司 Message processing method, device, terminal device and storage medium
CN110177021A (en) * 2019-06-27 2019-08-27 上海金卓网络科技有限公司 Wireless self-organizing network nodes and data transmission method based on software definition
CN110224938A (en) * 2018-03-01 2019-09-10 华为技术有限公司 A kind of file transmitting method and relevant device

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103402216A (en) * 2007-04-13 2013-11-20 Hart通信基金会 Support for network management and device communication in wireless network
CN101835187A (en) * 2010-03-26 2010-09-15 浙江大学 Client management device for multi-interface wireless mesh network router
CN101964958A (en) * 2010-09-27 2011-02-02 北京航空航天大学 On-board network system and backbone node message processing method thereof
CN102821401A (en) * 2012-09-06 2012-12-12 北京傲天动联技术有限公司 Method for controlling wireless mesh network with wireless access controller
CN103781094A (en) * 2012-10-19 2014-05-07 中国科学院沈阳自动化研究所 A networking optimization method for wireless networks for industrial automation
CN104168657A (en) * 2013-05-20 2014-11-26 华为技术有限公司 Communication method and communication device of same-frequency networking wireless local area network
CN103716777A (en) * 2013-12-18 2014-04-09 厦门市美亚柏科信息股份有限公司 Wireless terminal MAC address acquisition method and device
CN108880999A (en) * 2013-12-30 2018-11-23 华为技术有限公司 A kind of method, equipment and the system of business routing
CN104462566A (en) * 2014-12-26 2015-03-25 中科宇图天下科技有限公司 Environmental protection information grid capturing method
CN104822159A (en) * 2015-01-04 2015-08-05 杭州敦崇科技股份有限公司 System and method for WLAN test of AP by simulating STA
CN106376003A (en) * 2015-07-23 2017-02-01 中移(杭州)信息技术有限公司 Method and device for detecting wireless local area network connection and wireless local area network data transmission
CN108076516A (en) * 2016-11-15 2018-05-25 华为技术有限公司 Communication means, base station and access point
CN107071856A (en) * 2017-04-18 2017-08-18 江苏中科羿链通信技术有限公司 A kind of node cut-in method of channel wireless radio multi Mesh network
US20190132839A1 (en) * 2017-10-31 2019-05-02 Tionesta, Llc Communication protocol overlay
WO2019089461A1 (en) * 2017-10-31 2019-05-09 Tionesta, Llc Communication protocol overlay
US20190132836A1 (en) * 2017-10-31 2019-05-02 Tionesta, Llc Communication protocol overlay
CN108040342A (en) * 2017-12-18 2018-05-15 上海斐讯数据通信技术有限公司 A kind of detection method and wireless extensions device of double frequency bridge joint signal source
CN109981529A (en) * 2017-12-27 2019-07-05 西门子(中国)有限公司 Receive message method, apparatus, system and computer storage medium
CN110224938A (en) * 2018-03-01 2019-09-10 华为技术有限公司 A kind of file transmitting method and relevant device
CN108737217A (en) * 2018-06-01 2018-11-02 杭州迪普科技股份有限公司 A kind of packet snapping method and device
CN108966268A (en) * 2018-07-02 2018-12-07 四川斐讯信息技术有限公司 A kind of the wireless performance test topology and method of router
CN109462662A (en) * 2018-12-20 2019-03-12 深圳市银河风云网络系统股份有限公司 A kind of gateway, Internet of Things net equipment, Internet of things system and control method
CN110071847A (en) * 2019-03-20 2019-07-30 深圳市飞比电子科技有限公司 Message processing method, device, terminal device and storage medium
CN109905322A (en) * 2019-04-01 2019-06-18 盛科网络(苏州)有限公司 A kind of method and device of message matching information pre-processing
CN110177021A (en) * 2019-06-27 2019-08-27 上海金卓网络科技有限公司 Wireless self-organizing network nodes and data transmission method based on software definition

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
B. VENKATA SAIKUMAR: "A_systematic_approach_for_analyzing_hop_count_and_path_reliability_of_mobile_Ad_Hoc_networks", 《IEEE XPLORE》 *
QUALCOMM INCORPORATED: "S4-200042 \"Proposed Updates to Baseline Technologies\"", 3GPP TSG_SA\\WG4_CODEC *
王占文: "基于无线Mesh网络的粮情测控系统的设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954670A (en) * 2021-01-28 2021-06-11 上海同耀通信技术有限公司 Mesh distributed networking authentication system and testing method
CN113613277A (en) * 2021-09-22 2021-11-05 深圳创维数字技术有限公司 Method, device, equipment and storage medium for testing performance of Mesh system
CN113613277B (en) * 2021-09-22 2023-09-19 深圳创维数字技术有限公司 Test method, device, equipment and storage medium for Mesh system performance

Also Published As

Publication number Publication date
CN111885621B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
EP2571196B1 (en) Method and device for upgrading radio relay equipment
CN107925629B (en) Method and device for sending data message in IPv6 network
EP2874436B1 (en) Channel switching method, apparatus and device
CN111885621B (en) Wireless message grabbing method, system, terminal and storage medium
CN112437459B (en) Management method and device for wireless grid network
CN106304047A (en) A kind of smart machine method of network entry and configuration system
US9693204B2 (en) System and method for conveying information using broadcast frames
CN107612769B (en) Method and system for testing wireless transmission rate of router
JP4807419B2 (en) Wireless communication log collection system and wireless device
CN107078949B (en) Method and device for detecting forward topology
CN111130680B (en) Method and system for synchronizing time of access node and aggregation unit of Internet of things
WO2017167055A1 (en) Method, apparatus and device for processing wireless local area network identifier information, and base station
CN110621053B (en) Network distribution method, network distribution device and electronic equipment
CN110621028B (en) Network distribution method, network distribution device and electronic equipment
CN106888424B (en) Acquisition method and acquisition device for media access control address and network camera
CN101668228A (en) Device and method for testing interface
CN108124280B (en) Monitoring diagnosis system and network monitoring diagnosis method
Tamai et al. Design and implementation of sensing system for quality analysis of 802.11 wireless links
JP2005020566A (en) Base station device, mobile terminal, and communication method
JP2006197060A (en) Wireless network system and wireless setting information setting method in wireless network system
CN108718260B (en) Method and system for testing throughput of wireless router in open environment
CN104994203A (en) Conversation quality test system and method
CN105992254B (en) Terminal device connection control method, equipment and system
CN111031496A (en) Switching device and lamp device pairing method and system based on SIG MESH network
CN103856965A (en) WLAN (Wireless Local Area Network) comprehensive analysis system and method

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