CN114329092A - Information query method and system based on Wi-Fi network tree model - Google Patents

Information query method and system based on Wi-Fi network tree model Download PDF

Info

Publication number
CN114329092A
CN114329092A CN202111664415.5A CN202111664415A CN114329092A CN 114329092 A CN114329092 A CN 114329092A CN 202111664415 A CN202111664415 A CN 202111664415A CN 114329092 A CN114329092 A CN 114329092A
Authority
CN
China
Prior art keywords
tree model
field
information
query
network tree
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.)
Pending
Application number
CN202111664415.5A
Other languages
Chinese (zh)
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.)
Zhongfu Information Co Ltd
Original Assignee
Zhongfu Information 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 Zhongfu Information Co Ltd filed Critical Zhongfu Information Co Ltd
Priority to CN202111664415.5A priority Critical patent/CN114329092A/en
Publication of CN114329092A publication Critical patent/CN114329092A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an information query method and system based on a Wi-Fi network tree model, and belongs to the technical field of information retrieval. The method comprises the following steps: capturing Wi-Fi bottom data; based on a tree structure, organizing the Wi-Fi bottom layer data to obtain a Wi-Fi network tree model; acquiring query configuration information, wherein the query configuration information comprises field display conditions, and retrieving the Wi-Fi network tree model according to the configuration information to obtain a target tree model meeting the field display conditions; and receiving a user query request, and querying according to the target tree model to obtain related information. According to the tree-shaped model, any information can be searched through any combination of the tree trunks in the tree-shaped model, the field information is hidden at will, a search interface program does not need to be independently compiled, and the search efficiency is improved.

Description

Information query method and system based on Wi-Fi network tree model
Technical Field
The invention belongs to the technical field of information retrieval, and particularly relates to an information query method and system based on a Wi-Fi network tree model.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
With the development of wireless technologies such as Wi-Fi, a Wi-Fi network is more and more widely applied in people's lives, and a lot of potential safety hazards are brought, for example, for important places, the access of Wi-Fi needs to be controlled, so that the safety of a wireless local area network is ensured.
At present, Wi-Fi detection and management are mainly based on a database management program of Wi-Fi detection equipment to manage and display Wi-Fi data obtained through detection, but important information such as MAC addresses and passwords exists in the Wi-Fi data, the risk of information leakage can be brought if the Wi-Fi data are displayed completely, and if data filtering is needed, a retrieval interface program needs to be written independently, and the efficiency is low.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides the information query method and the information query system based on the Wi-Fi network tree model, any information can be searched through any combination of the tree trunks in the tree model, the field information is hidden at will, a search interface program does not need to be independently written, and the search efficiency is improved.
In order to achieve the above object, one or more embodiments of the present invention provide the following technical solutions:
an information query method based on a Wi-Fi network tree model comprises the following steps:
capturing Wi-Fi bottom data;
based on a tree structure, organizing the Wi-Fi bottom layer data to obtain a Wi-Fi network tree model;
acquiring query configuration information, wherein the query configuration information comprises field display conditions, and retrieving the Wi-Fi network tree model according to the configuration information to obtain a target tree model meeting the field display conditions;
and receiving a user query request, and querying according to the target tree model to obtain related information.
Further, the Wi-Fi network tree model satisfies the following conditions: each path from the root node to the leaf node comprises all fields contained in Wi-Fi underlying data.
Further, the field display condition includes one or more fields; or the like, or, alternatively,
the field display condition comprises one or more fields and values of one or more fields.
Further, if the field display condition only comprises one field, searching layer by layer from the root node of the Wi-Fi network tree model, and after the field is searched, taking the field as the tree model of the root node as a target tree model;
further, if the field display condition includes a plurality of fields, searching a first field layer by layer from the root node of the Wi-Fi network tree model to obtain all paths including the first field, searching a second field on all paths including the first field to obtain all paths including the second field, and so on until the last field is searched, thereby obtaining the tree model satisfying the field display condition.
One or more embodiments provide an information query system based on a Wi-Fi network tree model, comprising a query client, a Wi-Fi capture device, and a server, wherein,
the Wi-Fi capturing device is used for capturing Wi-Fi bottom layer data and uploading the Wi-Fi bottom layer data to the server;
the server, comprising:
the data organization module is used for organizing the Wi-Fi bottom layer data based on a tree structure to obtain a Wi-Fi network tree model;
the authority management module is used for storing the corresponding relation between the personnel information and the query configuration information; the query configuration information comprises field display conditions;
the information query module is used for receiving a user query request, determining corresponding query configuration information according to the personnel information, and retrieving the Wi-Fi network tree model to obtain a target tree model meeting the field display condition; and inquiring according to the target tree model to obtain relevant information. And inquiring according to the target tree model to obtain relevant information.
And the query client is used for receiving a user query request and sending the user query request and the user information to the server.
Further, the system further comprises: and the administrator client is used for setting the query configuration information of different personnel and sending the query configuration information to the server.
Further, the Wi-Fi network tree model satisfies the following conditions: each path from the root node to the leaf node comprises all fields contained in Wi-Fi underlying data.
Further, the field display condition includes one or more fields; or the like, or, alternatively,
the field display condition comprises one or more fields and values of one or more fields.
Further, if the field display condition only comprises one field, searching layer by layer from the root node of the Wi-Fi network tree model, and after the field is searched, taking the field as the tree model of the root node as a target tree model;
further, if the field display condition includes a plurality of fields, searching a first field layer by layer from the root node of the Wi-Fi network tree model to obtain all paths including the first field, searching a second field on all paths including the first field to obtain all paths including the second field, and so on until the last field is searched, thereby obtaining the tree model satisfying the field display condition.
The above one or more technical solutions have the following beneficial effects:
the invention constructs a tree model to organize Wi-Fi bottom data, locks subsequent inquired fields through the inquiry configuration information, and obtains the target tree model based on the inquiry configuration information, so that when an inquiry request is received, only the target tree model needs to be inquired, and the Wi-Fi information does not need to be subjected to additional data filtering, thereby improving the inquiry efficiency and simultaneously realizing the confidentiality aiming at specific fields.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the invention and not to limit the invention.
FIG. 1 is a flowchart of an information query method based on a Wi-Fi network tree model according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of a Wi-Fi network tree model architecture according to a first embodiment of the present invention.
Detailed Description
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the invention. As used herein, the singular forms also are intended to include the plural forms as well, unless the context clearly indicates otherwise, and it should also be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of the features, steps, operations, devices, components, and/or combinations thereof.
The embodiments and features of the embodiments of the present invention may be combined with each other without conflict.
Example one
The embodiment discloses an information query method based on a Wi-Fi network tree model, which is suitable for Wi-Fi detection equipment, a Wi-Fi sniffer, notebook Wi-Fi software, third-party scanning software of Wi-Fi under LINUX equipment and the like, and aims to realize authority control in a Wi-Fi data query process. The method specifically comprises the following steps:
step 1: Wi-Fi underlying data is captured.
The Wi-Fi underlying data includes information such as an AP (server), an STA (client), 2.4G (all information of 2.4G), 5G (all information of 5G), RSSI (signal strength), CHANNEL, MANU (manufacturer), and MAC (MAC address of device).
Step 2: and organizing the Wi-Fi bottom layer data based on a tree structure to obtain a Wi-Fi network tree model.
The Wi-Fi network tree model meets the following conditions: each path from the root node to the leaf node comprises all fields contained in Wi-Fi underlying data.
In this embodiment, as shown in fig. 2, in the tree structure, the layer 1 node below the root node includes a node representing a wireless Wi-Fi frequency band, such as 2.4G, 5G, and the like; each node of the layer 1 comprises a plurality of layer 2 nodes which respectively represent working modes, such as AP, STA and the like, each layer 2 node comprises a plurality of layer 3 nodes, and the layer 3 nodes under the layer 2 STA nodes respectively represent a Wi-Fi signal channel (channel) and whether a client is on-line (CON); the layer 3 nodes under the layer 2 Wi-Fi signal channel nodes comprise whether the client is on line (CON) or not and Wi-Fi protocol version (PRO); and the layer 3 node below the layer 2 wireless network card configuration node comprises a Wi-Fi signal channel (channel), a Wi-Fi protocol version (PRO) and the like.
And step 3: and acquiring query configuration information, wherein the query configuration information comprises field display conditions, and retrieving the Wi-Fi network tree model according to the configuration information to obtain a target tree model meeting the field display conditions.
The field display condition comprises one or more fields and can also comprise values of one or more fields. For example, if all the 6-channel information of the AP service end under 2.4G needs to be acquired, the configuration information may be written in the following "2.4G AP 6", and for example, if the information of all the STA service ends under 5G needs to be acquired, the configuration information may be written in the "5G STA".
The query method can be configuration file, IPC (process communication) control query, or voice query. When the information is IPC (process communication) control query, the IPC communication data is converted, the IPC data is written into a configuration file, and the information is analyzed. When the mode is voice query, after voice information is identified, the voice information is written into a configuration file, and then the information is analyzed.
Retrieving the Wi-Fi network tree model according to the configuration information comprises:
if the field display condition only comprises one field, searching from the root node of the Wi-Fi network tree model layer by layer downwards, and after the field is searched, taking the field as the tree model of the root node as a target tree model;
if the field display condition comprises a plurality of fields, searching a first field from the root node of the Wi-Fi network tree model layer by layer downwards to obtain all paths comprising the first field, then searching a second field on all paths comprising the first field to obtain all paths comprising the second field, and so on until the last field is searched to obtain the tree model meeting the field display condition.
For clarity of explanation of step 3, reference is made to fig. 2, which illustrates the following:
(1) if the field display condition is 2.4G, the target TREE model is a TREE structure taking 2.4G as a root node, and the corresponding graph shows [ root node ] [2.4G ], and the corresponding data structure is TREE [2.4G ];
(2) if the field display conditions are 2.4G and STA, the target tree model takes 2.4G as a root node and STA as a first-layer node and comprises a tree structure of all nodes below the STA, which corresponds to the [ root node ] [2.4G ] [ STA ] shown in the figure. The corresponding data structure is TREE 2.4G ] [ STA ];
(3) if the field display conditions are 2.4G, STA and the sixth CHANNEL, the target TREE model is [ root node ] [2.4G ] [ STA ] [ CHANNEL6] shown by the corresponding graph, and the corresponding data structure is TREE [2.4G ] [ CHANNEL6 ];
(4) and if the field display conditions are 2.4G, STA, a sixth CHANNEL and online, the field display conditions correspond to those shown in the figure [ root node ] [2.4G ] [ STA ] [ CHANNEL6] [ con ]. The corresponding data structure is TREE [2.4G ] [ CHANNEL6] [ con ];
(5) if the field display conditions are 2.4G, STA, a sixth CHANNEL, online and ESSID, corresponding to [ root node ] [5G ] [ STA ] [ con ] [ CHANNEL ] [ 6] [ ESSID ] shown in the figure, and the corresponding data structure is TREE [5G ] [ STA ] [ con ] [ CHANNEL6] [ ESSID ];
(6) if the field display condition is 5G, RSSI-30-50 and off-line, then the query mode is [5G ] [ RSSI-30-50 ] [ con ].
Because each path from the root node to the leaf node of the initial network tree structure comprises all fields contained in Wi-Fi bottom layer data, all possible query combinations are covered, and displayable fields and conditions can be flexibly configured no matter which field starts to be retrieved.
And 4, step 4: and receiving a user query request, and querying according to the target tree model to obtain related information.
Because the query is carried out in the data range contained in the target tree model, the query control of the data is realized, and the leakage of sensitive information is avoided.
Through the random combination of the tree trunks in the tree model, any information can be searched, the field information is randomly hidden, a search interface program does not need to be independently written, and the search efficiency is improved. And meanwhile, secondary development of data is facilitated, for example, the data is directly displayed on a human-computer interaction interface for data analysis.
Example two
Based on the method provided by the first embodiment, the embodiment provides an information query system based on a Wi-Fi network tree model, which comprises an administrator client, a query client, a Wi-Fi capture device and a server, wherein,
the Wi-Fi capturing device is used for capturing Wi-Fi bottom layer data and uploading the Wi-Fi bottom layer data to the server;
the server, comprising:
the data organization module is used for organizing the Wi-Fi bottom layer data based on a tree structure to obtain a Wi-Fi network tree model;
the authority management module is used for managing the inquiry authority of the personnel and storing the corresponding relation between the personnel information and the inquiry configuration information; the query configuration information comprises field display conditions;
the information query module is used for receiving a user query request, determining corresponding query configuration information according to the personnel information, and retrieving the Wi-Fi network tree model to obtain a target tree model meeting the field display condition; and inquiring according to the target tree model to obtain relevant information.
And the administrator client is used for setting the query configuration information of different personnel and sending the query configuration information to the server.
And the query client is used for receiving a user query request and sending the user query request and the user information to the server.
The modules related to the second embodiment correspond to the first embodiment of the method, and the detailed description thereof can be found in the relevant description of the first embodiment.
One or more of the above embodiments have the following technical effects:
through configuring the queriable tree model, the query efficiency can be improved, after query information is received, the device is only responsible for collecting information in the target tree model, other information can be automatically filtered, additional filtering of data is not needed for WI-FI information, the redundancy problem caused by more query information is avoided, and the efficiency of device operation is improved.
And, it is also beneficial to improve the data security, for example, in a common security scenario, a MAC address under a protection terminal, if it is necessary to check how many STAs (clients) exist under an AP (server), it is desirable to check the connection number of the STAs (clients), or RSSI (signal strength indicator, etc.), but the MAC (address) of the device belongs to important information and cannot be revealed. The query configuration information may be configured to: "AP RSSI MAN" represents the number of connections, device vendor, etc. showing all clients under the AP, but the MAC address auto-filter is hidden.
The secondary development can be carried out through the output data, and the obtained data is sent to a third party platform through IPC communication, such as: the data are sent to some embedded devices through mobile phones, computers, panels and the like or through serial ports, USB ports and the like to carry out secondary development of data.
Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using general purpose computer means, or alternatively, they can be implemented using program code executable by computing means, whereby the modules or steps may be stored in memory means for execution by the computing means, or separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. The present invention is not limited to any specific combination of hardware and software.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, it is not intended to limit the scope of the present invention, and it should be understood by those skilled in the art that various modifications and variations can be made without inventive efforts by those skilled in the art based on the technical solution of the present invention.

Claims (10)

1. An information query method based on a Wi-Fi network tree model is characterized by comprising the following steps:
capturing Wi-Fi bottom data;
based on a tree structure, organizing the Wi-Fi bottom layer data to obtain a Wi-Fi network tree model;
acquiring query configuration information, wherein the query configuration information comprises field display conditions, and retrieving the Wi-Fi network tree model according to the configuration information to obtain a target tree model meeting the field display conditions;
and receiving a user query request, and querying according to the target tree model to obtain related information.
2. The information query method based on the Wi-Fi network tree model according to claim 1, wherein the Wi-Fi network tree model satisfies the following conditions: each path from the root node to the leaf node comprises all fields contained in the Wi-Fi underlying data.
3. The information query method based on the Wi-Fi network tree model of claim 1,
the field display condition comprises one or more fields; or the like, or, alternatively,
the field display condition comprises one or more fields and values of one or more fields.
4. The information query method based on the Wi-Fi network tree model of claim 3,
and if the field display condition only comprises one field, searching from the root node of the Wi-Fi network tree model layer by layer downwards, and after the field is searched, taking the field as the tree model of the root node as the target tree model.
5. The information query method based on the Wi-Fi network tree model of claim 3,
if the field display condition comprises a plurality of fields, searching a first field from the root node of the Wi-Fi network tree model layer by layer downwards to obtain all paths comprising the first field, then searching a second field on all paths comprising the first field to obtain all paths comprising the second field, and so on until the last field is searched, and obtaining the tree model meeting the field display condition.
6. An information inquiry system based on a Wi-Fi network tree model is characterized by comprising an inquiry client, a Wi-Fi capture device and a server, wherein,
the Wi-Fi capturing device is used for capturing Wi-Fi bottom layer data and uploading the Wi-Fi bottom layer data to the server;
the server, comprising:
the data organization module is used for organizing the Wi-Fi bottom layer data based on a tree structure to obtain a Wi-Fi network tree model;
the authority management module is used for storing the corresponding relation between the personnel information and the query configuration information; the query configuration information comprises field display conditions;
the information query module is used for receiving a user query request, determining corresponding query configuration information according to the personnel information, and retrieving the Wi-Fi network tree model to obtain a target tree model meeting the field display condition; and inquiring according to the target tree model to obtain relevant information. And inquiring according to the target tree model to obtain relevant information.
And the query client is used for receiving a user query request and sending the user query request and the user information to the server.
7. A Wi-Fi network tree model-based information query system as claimed in claim 6, wherein said system further comprises: and the administrator client is used for setting the query configuration information of different personnel and sending the query configuration information to the server.
8. The Wi-Fi network tree model-based information query system of claim 6,
the Wi-Fi network tree model meets the following conditions: each path from the root node to the leaf node comprises all fields contained in the Wi-Fi underlying data.
9. The Wi-Fi network tree model-based information query system of claim 6,
the field display condition comprises one or more fields; or the like, or, alternatively,
the field display condition comprises one or more fields and values of one or more fields.
10. The Wi-Fi network tree model-based information query system of claim 6,
if the field display condition only comprises one field, searching from the root node of the Wi-Fi network tree model layer by layer downwards, and after the field is searched, taking the field as the tree model of the root node as a target tree model; or the like, or, alternatively,
if the field display condition comprises a plurality of fields, searching a first field from the root node of the Wi-Fi network tree model layer by layer downwards to obtain all paths comprising the first field, then searching a second field on all paths comprising the first field to obtain all paths comprising the second field, and so on until the last field is searched, and obtaining the tree model meeting the field display condition.
CN202111664415.5A 2021-12-30 2021-12-30 Information query method and system based on Wi-Fi network tree model Pending CN114329092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111664415.5A CN114329092A (en) 2021-12-30 2021-12-30 Information query method and system based on Wi-Fi network tree model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111664415.5A CN114329092A (en) 2021-12-30 2021-12-30 Information query method and system based on Wi-Fi network tree model

Publications (1)

Publication Number Publication Date
CN114329092A true CN114329092A (en) 2022-04-12

Family

ID=81021826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111664415.5A Pending CN114329092A (en) 2021-12-30 2021-12-30 Information query method and system based on Wi-Fi network tree model

Country Status (1)

Country Link
CN (1) CN114329092A (en)

Similar Documents

Publication Publication Date Title
US8050241B2 (en) Determining identifiers for wireless networks
EP1928125B1 (en) Determining Identifiers for Wireless Networks with Hidden Identifiers
US20070066280A1 (en) Connection management system, method and program
US20140379911A1 (en) Network Activity Association System and Method
CN103985165A (en) Attendance method and device based on mobile terminal, voice and face identification
MX2014009070A (en) Characteristic information acquisition method, device and network equipment.
US10542486B1 (en) Method and system for multi-map controller discovery and resolution
CN106921460A (en) Signal shielding system and method based on wireless network
CN107969003B (en) Wireless access authentication method
CN101572957A (en) Acquisition method and system of wireless terminal log based on WMMP
US20150256962A1 (en) M2m gateway device and applying method thereof
CN112052227A (en) Data change log processing method and device and electronic equipment
WO2022033079A1 (en) Pico base station configuration method and apparatus, and storage medium and electronic apparatus
CN106792678A (en) A kind of method and system of radio node automatic matching search
KR101366622B1 (en) Apparatus for recognizing platform to identify a node for the control of unauthorized access
CN114329092A (en) Information query method and system based on Wi-Fi network tree model
CN105340238A (en) System and method of ANQP querying using common ANQP group version
CN101515251A (en) Board-level platform debugging method, device and system
CN108282784B (en) Wireless network access method, MiFi terminal, mobile terminal and storage medium
US9398006B2 (en) Smart space access method, system, controller, and smart space interface server
CN109104499B (en) Session establishing method, device, equipment and storage medium
CN112700567A (en) User management method and system based on door lock and computer readable storage medium
CN112469021A (en) Method for scanning Bluetooth equipment
CN105554578A (en) Plug and play device activation method and system thereof
CN111654388A (en) Method for positioning network abnormal access equipment

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