CN111885621B - Wireless message grabbing method, system, terminal and storage medium - Google Patents

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

Info

Publication number
CN111885621B
CN111885621B CN202010666473.0A CN202010666473A CN111885621B CN 111885621 B CN111885621 B CN 111885621B CN 202010666473 A CN202010666473 A CN 202010666473A CN 111885621 B CN111885621 B CN 111885621B
Authority
CN
China
Prior art keywords
wireless
grabbing
networking
capturing
module
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
CN202010666473.0A
Other languages
Chinese (zh)
Other versions
CN111885621A (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

Abstract

The application discloses a wireless message grabbing method, a system, a terminal and a storage medium, wherein the method comprises the following steps: determining wireless Mesh networking; determining a grabbing mode of the wireless message according to the wireless Mesh networking; and performing the grabbing operation of the wireless messages on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all wireless nodes. The method solves the technical problem that the existing packet grabbing method can not grab wireless messages of a plurality of master-slave APs and terminals in the wireless Mesh distributed system at the same time, and achieves the effect of grabbing wireless messages of all wireless nodes of the wireless Mesh distributed system at the same time.

Description

Wireless message grabbing method, system, terminal and storage medium
Technical Field
The present disclosure relates to the field of wireless communications technologies, and in particular, to a wireless message grabbing method, system, terminal, and storage medium.
Background
With the popularization of wireless technology, wireless local area networks are becoming more and more widely used, and the demands for surfing the internet by using wireless terminals are becoming more and more intense. In recent years, with the improvement of living conditions of people, the traditional single wireless router provides WiFi signal coverage, and the problems of dead angle of WiFi coverage, too fast attenuation of net speed after partition wall and the like easily occur. Therefore, the conventional single router has failed to meet the wireless internet demands of large-scale and villa users.
The wireless Mesh distributed router can solve the problems of difficult wireless coverage and networking of large-scale and villa users, and two or more routes form a distributed wireless network system through a Mesh technology; the wireless Mesh is a multi-hop, automatic back-transmission and automatic networking wireless network structure, 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 in a straight shape and consists of a master AP, a first slave AP and a second slave AP, or can be in 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 loaded wireless network service and load are larger, such as a wireless Mesh networking function, a wireless link automatic repairing function, a wireless backhaul 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 wireless problem exposed by a single AP, the wireless Mesh distributed networking has more problems, and wireless data packets in the wireless Mesh distributed system need to be monitored to realize fault resolution and network optimization. However, the existing packet capturing method cannot capture wireless messages of a plurality of master-slave APs and terminals in the wireless Mesh distributed system at the same time.
Disclosure of Invention
The embodiment of the application aims to solve the problem that the existing packet grabbing method cannot grab wireless messages for a plurality of master-slave APs and terminals in a wireless Mesh distributed system at the same time by providing a wireless message grabbing method, a system, a terminal and a storage medium.
In order to achieve the above objective, an aspect of the present application provides a wireless message capturing method, where the wireless message capturing method includes the following steps:
determining wireless Mesh networking;
determining a grabbing mode of the wireless message according to the wireless Mesh networking;
and performing the grabbing operation of the wireless messages on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all wireless nodes.
Optionally, the step of determining the capturing manner of the wireless message 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 grabbing mode of the wireless message based on the networking frequency band.
Optionally, the step of determining the capturing manner of the wireless message based on the networking frequency band includes:
if a single-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, the grabbing mode of the wireless message is a mode of using a single grabbing packet module to cooperate with a branching unit and/or a mode of integrating a plurality of grabbing packet modules to grab packets synchronously;
if a dual-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, the grabbing mode of the wireless message is a mode of integrating a plurality of grabbing modules to grab packets synchronously.
Optionally, after the step of using the single packet grabbing module to cooperate with the splitter, the method for grabbing the wireless packet includes:
the wireless radio frequency channel of the single packet grabbing module is respectively introduced into a shielding box of each wireless node through a branching unit;
and performing the grabbing operation of the wireless message on the wireless node in the shielding box through the single grabbing module.
Optionally, after the step of integrating the mode of synchronously capturing the packets by the plurality of packet capturing modules, the capturing mode of the wireless packet includes:
the wireless radio frequency channel of each packet grabbing module is respectively introduced into a shielding box of a corresponding wireless node, wherein one packet grabbing module is introduced into the shielding box of one wireless node;
and executing the grabbing operation of the wireless message on the wireless node in the shielding box through each grabbing module.
Optionally, after the step of 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 the wireless message, and executing the capturing operation of each capturing module wireless message based on the operation command;
and storing the wireless messages captured by each capturing module in an associated manner with a time stamp, wherein the time stamp is the time point of capturing the wireless messages.
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 placed in different shielding boxes, and wireless links are regulated through the shielding boxes to form different networking topologies;
and performing networking operation on the networking topology through different networking frequency bands to obtain a plurality of different wireless Mesh networking.
In addition, in order to achieve the above object, another aspect of the present application further provides a wireless message grabbing system, where the system includes:
the first determining module is used for determining wireless Mesh networking;
the second determining module is used for determining a grabbing 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 grabbing program stored in the memory and running on the processor, and the processor implements the steps of the wireless message grabbing method described above when executing the wireless message grabbing program.
In addition, in order to achieve the above object, another aspect of the present application further provides a computer readable storage medium, where a computer program is stored, the computer program implementing the steps of the wireless message grabbing method as described above when being executed by a processor.
In this embodiment, by determining the wireless Mesh networking first, determining a capturing manner of the wireless message based on the wireless Mesh networking, and performing capturing operations of all wireless nodes in the wireless Mesh network according to the capturing manner 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 the wireless Mesh distributed system at the same time.
Drawings
Fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a first embodiment of a wireless message grabbing method in the present application;
fig. 3 is a schematic flow chart of a second embodiment of the wireless message grabbing method of the present application;
fig. 4 is a schematic flow chart of a third embodiment of a wireless message grabbing method in the present application;
fig. 5 is a flowchart of a fourth embodiment of a wireless message grabbing method of the present application;
fig. 6 is a schematic flow chart before a step of determining wireless Mesh networking in the wireless message grabbing method of the present application;
fig. 7 is a flow chart of determining a capturing manner of a wireless message based on the networking frequency band in the wireless message capturing method of the present application;
fig. 8 is a schematic flow chart 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 message capturing method of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The main solutions of the embodiments of the present application are: determining wireless Mesh networking; determining a grabbing mode of the wireless message according to the wireless Mesh networking; and performing the grabbing operation of the wireless messages on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all wireless nodes.
Because the wireless packet capturing method aiming at a single AP in the prior art cannot be suitable for simultaneously capturing wireless messages of a plurality of master-slave APs and terminals in a wireless Mesh distributed system, the problem analysis and optimization in various scenes of the wireless Mesh cannot be simultaneously carried out. According to the wireless message grabbing method and device, the wireless Mesh networking is firstly determined, 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 wireless nodes, so that wireless message grabbing can be carried out on a plurality of master-slave APs and terminals in the wireless Mesh distributed system at the same time.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running 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 the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further 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 stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the terminal may further include a camera, an RF (Radio Frequency) circuit, a sensor, a remote control, an audio circuit, a WiFi module, a detector, and the like. Of course, the terminal may be further configured with other sensors such as a gyroscope, a barometer, a hygrometer, a temperature sensor, etc., which will not be described herein.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a wireless message grabbing program may be included in the memory 1005, which is a computer readable storage medium.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background 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 grabbing program stored in the memory 1005, and perform the following operations:
determining wireless Mesh networking;
determining a grabbing mode of the wireless message according to the wireless Mesh networking;
and performing the grabbing operation of the wireless messages on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all wireless nodes.
Referring to fig. 2, fig. 2 is a flow chart of a first embodiment of a wireless message grabbing method of the present application, where the wireless message grabbing method includes:
step S10, determining wireless Mesh networking;
in the embodiment, the wireless Mesh is a wireless network structure with multi-hop, automatic backhaul and automatic networking, and has the characteristics of strong maneuverability, strong survivability, flexible networking mode and the like, and no dead angle coverage can be achieved in a household by networking WiFi signals through the wireless Mesh.
The wireless Mesh networking comprises a plurality of types, and the modes for capturing the wireless messages are different based on the different 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 count selection, frequency selection and the like, and takes 802.11s WLAN Mesh as an example, and the networking can be divided into single-frequency networking and double-frequency networking; when the single-frequency networking is used, all access and backhaul of the wireless access point Mesh AP and the wired access point Root AP work in the same frequency band, for example, a channel 802.11b/g on 2.4GHz can be used for access and backhaul; when the dual-frequency networking is used, the backhaul and the access of each node use two different frequency bands, such as a 2.4GHz 802.1l b/g channel for local access service, and a 5.8GHz 802.11a channel is used for backbone Mesh backhaul network, so that interference does not exist.
Based on the difference of the networking topology and the networking frequency band in the wireless Mesh network, the wireless Mesh networking is also different, so, 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 placed in different shielding boxes, and wireless links are regulated through the shielding boxes to form different networking topologies;
and step S12, performing networking operation on the networking topology through different networking frequency bands to obtain a plurality of different wireless Mesh networking.
When the wireless Mesh distributed system is tested in a laboratory, a master AP and a slave AP are required to be placed in different shielding boxes, wherein the AP is an access point, is used for a wireless switch of a wireless network and is also a core of the wireless network; the wireless links are tuned by shielding the adjustable attenuation between boxes to make up various networking topologies, such as: taking the star-shaped wireless Mesh networking topology as an example, the attenuation of the master AP and the slave AP1 and the slave AP2 is 30dB respectively, and the attenuation of the slave AP1 and the slave AP2 is 90dB, namely the wireless Mesh automatically forms the star-shaped Mesh topology. Single-frequency networking and dual-frequency networking are further divided among various networking topologies, for example: the networking topology performs networking operation through different networking frequency bands to obtain various different wireless Mesh networking modes, for example, a star topology adopts 2.4GHz frequency band networking to obtain one wireless Mesh networking mode, or a star topology adopts 5GHz frequency band networking to obtain another wireless Mesh networking mode.
Step S20, determining a grabbing 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 the station at one time, and the message includes the complete data information to be sent, which is very inconsistent in length, and is unlimited and variable in length. The method comprises the steps of determining a grabbing mode of a wireless message based on wireless Mesh networking, specifically determining the grabbing mode of the wireless message according to different networking topologies and networking frequency bands in the wireless Mesh network, for example, the current networking topology is star topology, and adopting 2.4GHz frequency band networking, wherein the grabbing mode is a mode of using a single grabbing module to match with a branching unit; or the current networking topology is linear topology, and 5GHz frequency band networking is adopted, so that the grabbing mode is a mode of using a single grabbing module to match with a branching unit or a mode of integrating a plurality of grabbing modules to grab packets synchronously; or the current networking topology is ring topology, and the 2.4GHz and 5GHz integrated networking is adopted, so that the grabbing mode is a mode of integrating a plurality of grabbing modules to grab packets synchronously. When different networking topologies adopt single-frequency networking, the grabbing mode is a mode of using a single grabbing module to match with a branching unit or a mode of integrating a plurality of grabbing modules to grab packets synchronously; when different networking topologies adopt dual-frequency networking, the grabbing mode is a mode of integrating a plurality of grabbing modules to grab packets synchronously.
And step S30, performing the grabbing operation of the wireless messages on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all wireless nodes.
When users use wifi, the users may encounter the problems of frequent disconnection, unstable communication, slow network speed, message interruption and the like, and when users solve the wifi problems, the users are required to grasp wireless messages to analyze and diagnose the root cause of the problems in some cases.
And utilizing the wireless network card and a wireless message grabbing tool, such as a wireless network card or a tcpdump, to grab the wireless messages of all wireless nodes in the wireless Mesh network. Specifically, before capturing the wireless message transmitted on the target channel, the terminal device may first acquire the target channel required to capture the wireless message, and since the working channel during operation of the communication network is usually fixed, when the wireless message in the communication network needs to be captured, the target channel captured by the terminal device may be set as the working channel where the communication network is located. It can be understood that after the terminal device acquires the working channel used by the field communication network, all wireless messages transmitted on the channel can be captured, and the captured wireless messages include all wireless messages transmitted between node devices in the communication network, that is, wireless messages of all wireless nodes in the wireless Mesh network are captured.
Optionally, a technician can determine a problem existing in the wireless Mesh network by performing problem analysis on the wireless message which is grabbed; because the acquired wireless messages have 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, filtering the acquired messages through preset filtering conditions to obtain the messages required by analysis, wherein the preset filtering conditions are messages only needing UDP type or IGMP type. Specifically, when the filtering condition is that only the wireless message of the UDP type is needed, a BPF filter corresponding to the filtering condition is called, the filter firstly analyzes each received wireless message, then obtains the analyzed protocol field, judges whether the wireless message is a UDP packet according to whether the value of the protocol field is equal to 17, if the wireless message is equal to 17, the wireless message is the UDP packet, and the wireless message needs to be reserved, otherwise, the wireless message is discarded. Further, the wireless message obtained by the filtering condition is subjected to a wireless interaction process through an analysis module, wherein the wireless interaction process is a normal wireless interaction process of shared key authentication, meanwhile, problems existing in the wireless Mesh network are analyzed, such as frequent disconnection, unstable communication, slow network speed and the like, so that reasons for the problems are found out, and corresponding optimization operation is executed.
In this embodiment, by determining the wireless Mesh networking first, determining a capturing manner of the wireless message based on the wireless Mesh networking, and performing capturing operations of all wireless nodes in the wireless Mesh network according to the capturing manner 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 the wireless Mesh distributed system at the same time.
In an embodiment, referring to fig. 3, the step of determining, according to the wireless Mesh networking, a capturing manner of the wireless message includes:
step S21, determining networking frequency bands adopted by a master AP and a plurality of slave APs in a wireless Mesh network;
step S22, determining the grabbing mode of the wireless message based on the networking frequency band.
The networking frequency bands adopted by the master AP and the plurality of slave APs in the wireless Mesh network are determined, wherein the networking frequency bands comprise 2.4GHz, 5GHz and the like, and the wireless Mesh network can be divided into single-frequency networking or double-frequency networking based on the difference of the networking frequency bands, wherein the single-frequency networking, namely, the master AP and the plurality of slave APs use a single frequency band for networking, such as 2.4GHz or 5GHz, and the double-frequency networking, namely, the AP and the plurality of slave APs use two different frequency bands for networking, such as 2.4GHz and 5GHz. The method for determining the capturing manner of the wireless message based on the different networking frequency bands, therefore, referring to fig. 7, the step of determining the capturing manner of the wireless message based on the networking frequency bands includes:
step S220, if a single-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, the grabbing mode of the wireless message is a mode of using a single grabbing packet module to match with a branching unit and/or a mode of integrating a plurality of grabbing packet modules to grab packets synchronously;
in step S221, if dual-frequency networking is adopted between the master AP and the plurality of slave APs in the wireless Mesh network, the capturing manner of the wireless message is a manner of integrating a plurality of capturing modules to capture packets synchronously.
In this embodiment, if a single-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, a capturing manner of the wireless packet is a manner of using a single capturing module to cooperate with a splitter, and/or a manner of integrating a plurality of capturing modules to capture packets synchronously, for example: if 2.4GHz is adopted before the master AP and the slave AP1 and 2.4GHz networking is adopted before the master AP and the slave AP2, or the master AP and the slave AP1 and the AP2 are networked through a 5GHz frequency band, a packet grabbing mode of matching a single packet grabbing module with a branching unit or a synchronous packet grabbing mode of integrating a plurality of packet grabbing modules is adopted; if a dual-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 integrating a plurality of capturing modules to capture packets synchronously, for example: if 2.4GHz is adopted before the master AP and the slave AP1, and 5GHz networking is also adopted before the master AP and the slave AP2, a mode of integrating a plurality of packet grabbing modules to grab packets synchronously is used.
In this embodiment, by determining the networking frequency bands adopted by the master AP and the plurality of slave APs in the wireless Mesh network, the capturing manner of the wireless message may be determined based on the networking frequency bands.
In an embodiment, referring to fig. 4, after the step of using the single packet grabbing module to cooperate with the splitter, the method includes:
step S222, the wireless radio frequency channels of the single packet grabbing module are respectively introduced into the shielding boxes of each wireless node through a branching unit;
step S223, performing, by the single packet grabbing module, a grabbing operation of the wireless packet on the wireless node in the shielding box.
In this embodiment, when a packet capturing manner of a single packet capturing module and a splitter is used, 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 of a wireless communication system into a single frequency band and output the single frequency band signal to different communication lines, and in the communication field, the splitter is a device for separating a telephone channel from a data channel; and the single packet grabbing module is used for executing the grabbing operation of the wireless messages on the wireless nodes in the shielding box, namely grabbing the wireless messages in the range of each wireless node. The wireless messages captured by the single-module capturing packet do not need to be subjected to time stamp synchronization, and the wireless messages are captured in time sequence when the single-module capturing packet is captured.
In this embodiment, a single packet capturing module is used to capture wireless messages in the wireless Mesh network in cooperation with the splitter, so that wireless messages 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 mode of synchronous packet capturing of the plurality of packet capturing modules, the method includes:
step S224, the wireless radio frequency channel of each packet grabbing module is respectively introduced into the shielding box of the corresponding wireless node, wherein one packet grabbing module is introduced into the shielding box of one wireless node;
step S225, executing, by each packet grabbing module, a grabbing operation of the wireless message on the wireless node in the shielding box.
In this embodiment, when a mode of integrating multiple packet capturing modules to capture packets synchronously is used, a radio frequency channel of each packet capturing module is respectively introduced into a shielding box of a corresponding wireless node, where one packet capturing module is introduced into a shielding box of one wireless node, that is, the packet capturing modules are in a one-to-one correspondence with infinite nodes, and then each packet capturing module performs capturing operation of wireless messages on the wireless nodes in the shielding box.
Further, referring to fig. 8, after the step of 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 grabbing the wireless message, and executing the grabbing operation of each grabbing module wireless message based on the operation command;
step S227, the wireless message captured by each capturing module is stored in association with a time stamp, where the time stamp is the time point of capturing the wireless message.
Before each packet capturing module performs the wireless message capturing operation, an operation command for capturing the wireless message needs to be acquired, and based on the operation command, the capturing operation of the wireless message of each packet capturing module is performed, for example: first, a promiscuous mode (sniffer mode) of a wireless network card (e.g., wi-Fi module) in the terminal needs to be activated, so that the promiscuous mode of the wireless network card becomes available for user control. 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 promiscuous mode by triggering the opening/closing control. When the terminal detects the triggering operation of the user touch control on/off control, an operation command for grabbing the wireless message is generated, and the operation of grabbing the wireless message by each packet grabbing module is executed based on the operation command.
In order to facilitate a technician to find out a wireless message needed for analysis in time, the wireless message and a time stamp can be stored in an associated manner, wherein the time stamp is a time point for capturing the wireless message; specifically, the wireless message may be stored in a local file according to a specific format (such as a pcap file format), and the file is named through a timestamp, so that the association storage of the wireless message and the timestamp is realized. 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 time stamp, so that problem tracing, problem analysis and problem positioning are performed on a failure site. Optionally, the wireless messages can be time-stamped and synchronized, and then the wireless messages with the time-stamped and synchronized can be stored, wherein the time-stamped and synchronized refers to that all the wireless messages captured by the capturing modules are sequenced according to time sequence, so that an integral message is formed. The timestamp synchronization is mainly used to facilitate analysis of roaming behavior of the message, for example: when analyzing roaming of the STA between different AP nodes, roaming behavior can be analyzed through messages arranged in time sequence.
Optionally, the wireless message captured by each capturing module may be marked, for example, by using a tag, where the tag is defined by the user, and is more accurate and specific than classification, and may summarize keywords of the main content of the article.
In this embodiment, a plurality of packet capturing modules are integrated to capture wireless messages in the wireless Mesh network, so that wireless messages of all wireless nodes in the wireless Mesh network can be captured simultaneously, meanwhile, through association storage of wireless messages and time stamps, a wireless interaction process and problem analysis are executed, so that problems 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 message grabbing system, where the system includes:
the first determining module is used for determining wireless Mesh networking;
the second determining module is used for determining a grabbing 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 the master AP and the plurality of slave APs in the wireless Mesh network;
the second determining module is further configured to determine a capturing manner of the wireless message based on the networking frequency band.
Further, the second determining module is further configured to, if a single-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, grasp a wireless packet in a manner of using a single packet grasping module to cooperate with a splitter and/or integrate a manner of synchronously grasping packets by a plurality of packet grasping modules;
the second determining module is further configured to, if a dual-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, enable the capturing mode of the wireless message to be a mode of integrating a plurality of capturing modules to capture packets synchronously.
Further, the second determining module comprises an introducing unit and a grabbing unit;
the introducing unit is used for introducing the wireless radio frequency channels of the single packet grabbing module into the shielding boxes of each wireless node through the branching units respectively;
the grabbing unit is used for executing the grabbing operation of the wireless message on the wireless node in the shielding box through the single packet grabbing module.
Further, the introducing unit is further configured to introduce the radio frequency channel of each packet capturing module into the shielding box of the corresponding wireless node, where one packet capturing module is introduced into the shielding box of one wireless node;
the grabbing unit is further used for executing grabbing operation of the wireless message on the wireless node in the shielding box through each 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 grabbing the wireless message, and executing the grabbing operation of each grabbing packet module wireless message based on the operation command;
the storage unit is used for storing the wireless messages captured by each packet capturing module in an associated mode with a time stamp, wherein the time stamp is the time point of capturing the wireless messages.
Further, the first determining module is further configured to respectively place each wireless node in the wireless Mesh network in a different shielding box, and adjust a wireless link through the shielding box to form different networking topologies;
the first determining module is further configured to perform networking operation on the networking topology through different networking frequency bands to obtain a plurality of 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 will not be described in detail herein.
In addition, another aspect of the present application further provides a terminal, where the terminal includes a memory, a processor, and a wireless message grabbing program stored in the memory and running on the processor, and the terminal determines, by determining a wireless Mesh networking, a grabbing manner of a wireless message based on the wireless Mesh networking, and performs grabbing operations of all wireless nodes in the wireless Mesh network according to the grabbing manner to obtain wireless messages of all wireless nodes, so that wireless message grabbing can be performed on a plurality of master-slave APs and the terminal in a wireless Mesh distributed system at the same time.
In addition, another aspect of the present application provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the steps of the wireless message grabbing method as described above.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 may 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 use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications in those 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 modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (7)

1. The wireless message grabbing method is characterized by comprising the following steps of:
determining wireless Mesh networking;
determining networking frequency bands adopted by a master AP and a plurality of slave APs in a wireless Mesh network;
if a 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 as follows: the method comprises the steps that a wireless radio frequency channel of a single packet grabbing module is respectively led into a shielding box of each wireless node through a branching unit, and the single packet grabbing module is used for carrying out grabbing operation of wireless messages on the wireless nodes in the shielding box and/or integrating synchronous packet grabbing modes of a plurality of packet grabbing modules;
if a dual-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, the grabbing mode of the wireless message is a mode of integrating a plurality of grabbing modules to grab packets synchronously;
and performing the grabbing operation of the wireless messages on all wireless nodes in the wireless Mesh network according to the grabbing mode to obtain the wireless messages of all wireless nodes.
2. The method for capturing wireless messages according to claim 1, wherein the capturing manner of the wireless messages is a manner of integrating a plurality of capturing modules to capture packets synchronously, and then comprises:
the wireless radio frequency channel of each packet grabbing module is respectively introduced into a shielding box of a corresponding wireless node, wherein one packet grabbing module is introduced into the shielding box of one wireless node;
and executing the grabbing operation of the wireless message on the wireless node in the shielding box through each grabbing module.
3. The method for capturing wireless messages according to claim 2, wherein after the step of introducing the wireless radio frequency channel of each capturing module into the shielding box of the corresponding wireless node, the method comprises:
acquiring an operation command for capturing the wireless message, and executing the capturing operation of each capturing module wireless message based on the operation command;
and storing the wireless messages captured by each capturing module in an associated manner with a time stamp, wherein the time stamp is the time point of capturing the wireless messages.
4. A method of wireless message grabbing according to any one of claims 1 to 3, wherein before the step of determining wireless Mesh networking, the method comprises:
each wireless node in the wireless Mesh network is respectively placed in different shielding boxes, and wireless links are regulated through the shielding boxes to form different networking topologies;
and performing networking operation on the networking topology through different networking frequency bands to obtain a plurality of different wireless Mesh networking.
5. A wireless message grabbing system, the system comprising:
the first determining module is used for determining wireless Mesh networking;
the second determining module is used for determining networking frequency bands adopted by the networking of the master AP and the plurality of slave APs in the wireless Mesh network; if a 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 as follows: the method comprises the steps that a wireless radio frequency channel of a single packet grabbing module is respectively led into a shielding box of each wireless node through a branching unit, and the single packet grabbing module is used for carrying out grabbing operation of wireless messages on the wireless nodes in the shielding box and/or integrating synchronous packet grabbing modes of a plurality of packet grabbing modules; if a dual-frequency networking is adopted between a master AP and a plurality of slave APs in the wireless Mesh network, the grabbing mode of the wireless message is a mode of integrating a plurality of grabbing modules to grab packets synchronously;
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.
6. A terminal comprising a memory, a processor and a wireless message grabbing program stored on the memory and running on the processor, wherein the processor implements the steps of the method of any of claims 1 to 4 when executing the wireless message grabbing sequence.
7. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
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 CN111885621A (en) 2020-11-03
CN111885621B true 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)

Families Citing this family (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
CN113613277B (en) * 2021-09-22 2023-09-19 深圳创维数字技术有限公司 Test method, device, equipment and storage medium for Mesh system performance

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
WO2019089461A1 (en) * 2017-10-31 2019-05-09 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 (23)

* 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
WO2019089461A1 (en) * 2017-10-31 2019-05-09 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
A_systematic_approach_for_analyzing_hop_count_and_path_reliability_of_mobile_Ad_Hoc_networks;B. Venkata SaiKumar;《IEEE XPLORE》;全文 *
Qualcomm Incorporated.S4-200042 "Proposed Updates to Baseline Technologies".3GPP tsg_sa\wg4_codec.2020,(第tsgs4_107_wroclaw期),全文. *
基于无线Mesh网络的粮情测控系统的设计与实现;王占文;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;全文 *

Also Published As

Publication number Publication date
CN111885621A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN106571977B (en) Data transmission method and device
CN111885621B (en) Wireless message grabbing method, system, terminal and storage medium
CN107925629B (en) Method and device for sending data message in IPv6 network
CN112437459B (en) Management method and device for wireless grid network
CN111865736B (en) Equipment control method and device
EP2571196B1 (en) Method and device for upgrading radio relay equipment
CN105050087A (en) Method and system for accessing multi-protocol compatible equipment to WiFi (Wireless Fidelity) network
CN102035694A (en) Link detection device and method
CN110536324B (en) WiFi signal data acquisition and processing method and system
CN100391156C (en) Communication system and terminal
JP4807419B2 (en) Wireless communication log collection system and wireless device
EP3982659A1 (en) Methods and systems for optimizing wireless network performance using behavioral profiling of network devices
CN102215102A (en) Method and applications of network monitoring data packet with timestamp
CN111988756A (en) Multi-channel cascade wireless data acquisition system and method
CN106850319B (en) Data acquisition method and system of power grid EMS system
CN111130680B (en) Method and system for synchronizing time of access node and aggregation unit of Internet of things
US10972309B2 (en) Method and device for automatically discovering cross-node service topology on transoceanic multiple section shared protection ring
CN107295605B (en) A kind of processing method, device, equipment and the base station of Wireless LAN identification information
CN110621053B (en) Network distribution method, network distribution device and electronic equipment
WO2018233049A1 (en) Internet-of-things data communication method and system
CN107547444B (en) Traffic statistical method and switching equipment
CN106888424B (en) Acquisition method and acquisition device for media access control address and network camera
CN104768176A (en) SFlow sampling method and device in wireless network
CN105744601B (en) A kind of method and system configuring wireless sensing terminal
CN108124280B (en) Monitoring diagnosis system and network monitoring diagnosis 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