CN107094295A - The blocking-up method and device of WiFi module - Google Patents
The blocking-up method and device of WiFi module Download PDFInfo
- Publication number
- CN107094295A CN107094295A CN201710298591.9A CN201710298591A CN107094295A CN 107094295 A CN107094295 A CN 107094295A CN 201710298591 A CN201710298591 A CN 201710298591A CN 107094295 A CN107094295 A CN 107094295A
- Authority
- CN
- China
- Prior art keywords
- wifi module
- terminal
- preset time
- blocked
- management frame
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides the blocking-up method of WiFi module and device, including:Multiple wireless access node AP are scanned by the first WiFi module, any AP or connection AP any terminal connected according to demand to terminal is blocked;During the first WiFi module is scanned, if it find that the terminal connection AP that need to be blocked, then all terminals for starting AP that the second WiFi module connects to terminal or AP connections send blocking data frame and blocked;If it find that need the AP blocked to there is any terminal to connect, then start all terminals that the second WiFi module connects to AP and send and block data frame to be blocked, the terminal or AP for needing blocking can accurately be blocked, so as to improve the accuracy rate of blocking.
Description
Technical field
The present invention relates to communication technical field, more particularly, to the blocking-up method and device of WiFi module.
Background technology
At present, WiFi interrupter techniques are to send a large amount of interference data by powerful equipment, are congested 2.4G channels,
So as to reach interference WiFi purpose.But, can not accurately it be blocked by above-mentioned WiFi interrupter techniques, once it is powerful
A large amount of interference data that equipment is sent, can cause all WiFi for being operated in 2.4G channels not use, while can also disturb work
Make in other equipments such as 2.4G bluetooths.
The content of the invention
In view of this, can be to needing to block it is an object of the invention to provide the blocking-up method of WiFi module and device
Terminal or AP accurately blocked, so as to improve the accuracy rate of blocking.
In a first aspect, the embodiments of the invention provide the blocking-up method of WiFi module, methods described includes:
Multiple wireless access node AP are scanned by the first WiFi module, any AP connected according to demand to terminal
Or the connection AP any terminal is blocked;
During first WiFi module is scanned, if it find that the terminal that need to be blocked connects the AP, then
All terminals for starting the AP or described AP connections that the second WiFi module is connected to the terminal send blocking data
Frame is blocked;
If it find that needing the AP blocked to have any terminal connection, then start second WiFi module to institute
All terminals transmission blocking data frames for stating AP connections are blocked.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, institute
Stating any AP connected according to demand to terminal the or connection AP any terminal progress blocking includes:
When being blocked to any AP of terminal connection, the AP that the terminal is currently connected is determined;
First WiFi module is switched to the channel where the AP that the terminal is currently connected, and it is pre- to stop first
If the time, while scanning other channels, and the second preset time is stopped respectively on other described channels, wherein, it is described
First preset time is more than second preset time;
The channel that second WiFi module is rested on where the AP that the terminal is currently connected, and send management frame
Blocked;
When first WiFi module finds that the AP that the terminal is currently connected is switched to next channel, institute
State the first WiFi module and be switched to next channel, and the 3rd preset time of stop, while the other channels of scanning, and
The 4th preset time is stopped respectively on other described channels, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on next channel, and sends the management frame and blocked.
With reference to the first possible embodiment of first aspect, the embodiments of the invention provide second of first aspect
Possible embodiment, wherein, any AP's or the connection AP according to demand to terminal connection is any described
Terminal, which is blocked, also to be included:
When the terminal to the AP connections is blocked, the channel that the AP is currently located is determined;
First WiFi module is switched to the channel that the AP is currently located, and stops the first preset time, together
When scan other channels, and stop the second preset time respectively on other described channels, wherein, described first it is default when
Between be more than second preset time;
Second WiFi module rests on the channel that the AP is currently located, to all described of the connection AP
Terminal sends management frame and blocked;
When first WiFi module finds that the AP is switched to next channel, the first WiFi module switching
To next channel, and the 3rd preset time is stopped, while scanning other channels, and distinguished on other described channels
The 4th preset time is stopped, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on the next channels of the AP, is sent out to all terminals for connecting the AP
The management frame is sent to be blocked.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the third of first aspect, wherein, institute
State all terminals transmission blocking numbers for starting the AP or described AP connections that the second WiFi module is connected to the terminal
Carrying out blocking according to frame includes:
Start second WiFi module and releasing authentication management frame and releasing are sent to the AP with the identity of the terminal
Connection management frame;
Start second WiFi module with the identity of the AP to the terminal send it is described releasing authentication management frame and
The releasing connection management frame;
If first WiFi module finds that the terminal does not reconnect the AP, second WiFi module stops
Only block;
If first WiFi module finds that the terminal connects next AP, second WiFi module to
Next AP sends the blocking data frame.
With reference to the third possible embodiment of first aspect, the embodiments of the invention provide the 4th of first aspect kind
Possible embodiment, wherein, the AP or described AP connections that the second WiFi module of the startup is connected to the terminal
All terminals, which send blocking data frame and blocked, also to be included:
Start second WiFi module and broadcast solution is sent to the terminal being connected with the AP with the identity of the AP
Except authentication management frame, broadcast release connection management frame, the releasing authentication management frame and the releasing connection management frame;
Start second WiFi module and the releasing connection management frame is sent to the AP with the identity of the terminal;
If first WiFi module finds that the terminal being connected with the AP is not reconnected, described second
WiFi module stops blocking;
It is connected if first WiFi module finds that the AP is set up with next terminal, the 2nd WiFi moulds
Block sends the blocking data frame to the next terminal being connected with the AP.
Second aspect, the embodiment of the present invention also provides the occluding device of WiFi module, and described device includes:First blocks mould
Block, for scanning multiple wireless access node AP by the first WiFi module, any AP connected according to demand to terminal
Or the connection AP any terminal is blocked;
Second blocks module, during being scanned in first WiFi module, if it find that what need to be blocked is described
Terminal connects the AP, then starts all described of the AP or described AP connections that the second WiFi module is connected to the terminal
Terminal, which is sent, blocks data frame to be blocked;
3rd blocks module, in the case where finding to need the AP blocked to have any terminal connection, opening
Second WiFi module is moved to be blocked to all terminals transmission blocking data frames of the AP connections.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the first of second aspect, wherein, institute
Stating the first blocking module includes:
When being blocked to any AP of terminal connection, the AP that the terminal is currently connected is determined;
First WiFi module is switched to the channel where the AP that the terminal is currently connected, and it is pre- to stop first
If the time, while scanning other channels, and the second preset time is stopped respectively on other described channels, wherein, it is described
First preset time is more than second preset time;
The channel that second WiFi module is rested on where the AP that the terminal is currently connected, and send management frame
Blocked;
When first WiFi module finds that the AP that the terminal is currently connected is switched to next channel, institute
State the first WiFi module and be switched to next channel, and the 3rd preset time of stop, while the other channels of scanning, and
The 4th preset time is stopped respectively on other described channels, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on next channel, and sends the management frame and blocked.
With reference to the first possible embodiment of second aspect, the embodiments of the invention provide second of second aspect
Possible embodiment, wherein, the first blocking module also includes:
When the terminal to the AP connections is blocked, the channel that the AP is currently located is determined;
First WiFi module is switched to the channel that the AP is currently located, and stops the first preset time, together
When scan other channels, and stop the second preset time respectively on other described channels, wherein, described first it is default when
Between be more than second preset time;
Second WiFi module rests on the channel that the AP is currently located, to all described of the connection AP
Terminal sends management frame and blocked;
When first WiFi module finds that the AP is switched to next channel, the first WiFi module switching
To next channel, and the 3rd preset time is stopped, while scanning other channels, and distinguished on other described channels
The 4th preset time is stopped, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on the next channels of the AP, is sent out to all terminals for connecting the AP
The management frame is sent to be blocked.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the third of second aspect, wherein, institute
Stating the second blocking module includes:
Start second WiFi module and releasing authentication management frame and releasing are sent to the AP with the identity of the terminal
Connection management frame;
Start second WiFi module with the identity of the AP to the terminal send it is described releasing authentication management frame and
The releasing connection management frame;
If first WiFi module finds that the terminal does not reconnect the AP, second WiFi module stops
Only block;
If first WiFi module finds that the terminal connects next AP, second WiFi module to
Next AP sends the blocking data frame.
With reference to the third possible embodiment of second aspect, the embodiments of the invention provide the 4th of second aspect kind
Possible embodiment, wherein, the second blocking module also includes:
Start second WiFi module and broadcast solution is sent to the terminal being connected with the AP with the identity of the AP
Except authentication management frame, broadcast release connection management frame, the releasing authentication management frame and the releasing connection management frame;
Start second WiFi module and the releasing connection management frame is sent to the AP with the identity of the terminal;
If first WiFi module finds that the terminal being connected with the AP is not reconnected, described second
WiFi module stops blocking;
It is connected if first WiFi module finds that the AP is set up with next terminal, the 2nd WiFi moulds
Block sends the blocking data frame to the next terminal being connected with the AP.
The embodiments of the invention provide the blocking-up method of WiFi module and device, including:Scanned by the first WiFi module
Multiple wireless access node AP, any AP connected according to demand to terminal or connection AP any terminal are blocked;
During one WiFi module is scanned, if it find that the terminal connection AP that need to be blocked, then start the second WiFi module and connect to terminal
All terminals of AP or the AP connection connect, which are sent, blocks data frame to be blocked;If it find that needing the AP blocked to have any terminal
Connection, then start all terminals that the second WiFi module connects to AP and send and block data frame to be blocked, can be to needing to hinder
Disconnected terminal or AP is accurately blocked, so as to improve the accuracy rate of blocking.
Other features and advantages of the present invention will be illustrated in the following description, also, partly be become from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the blocking-up method flow chart for the WiFi module that the embodiment of the present invention one is provided;
One of step S101 flow chart in the blocking-up method for the WiFi module that Fig. 2 provides for the embodiment of the present invention one;
The two of step S101 flow chart in the blocking-up method for the WiFi module that Fig. 3 provides for the embodiment of the present invention one;
One of step S102 flow chart in the blocking-up method for the WiFi module that Fig. 4 provides for the embodiment of the present invention one;
The two of step S102 flow chart in the blocking-up method for the WiFi module that Fig. 5 provides for the embodiment of the present invention one;
Fig. 6 is the occluding device schematic diagram for the WiFi module that the embodiment of the present invention two is provided.
Icon:
10- first blocks module;20- second blocks module;30- the 3rd blocks module.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Technical scheme be clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
For ease of understanding the present embodiment, the embodiment of the present invention is described in detail below.
Embodiment one:
Fig. 1 is the blocking-up method flow chart for the WiFi module that the embodiment of the present invention one is provided.
Reference picture 1, this method comprises the following steps:
Step S101, multiple wireless access node AP (Access Point, accessing wirelessly are scanned by the first WiFi module
Access point), any AP or the connection AP any terminal connected according to demand to terminal is blocked;
Here, the first WiFi module is equivalent to scan module, and what scan module was blocked is the connection of AP and terminal, that is,
Say that it is to be directed to the terminal for having been coupled to AP to block, and makes terminal to reconnect AP;Or for being connected to AP all ends
End, prevents this AP from being connected by any terminal.
Scan module can be used for the crawl of 802.11 initial data frames, and scan module can be switched fast each channel, and
And averagely can rest on each channel.
Scan module parses AP essential information, records AP BSSID, channel, SSID (Service Set
Identifier, service set), BSSID is Basic Service Set (BSS), solution of the scan module to AP essential informations
Various information therein are read in analysis, the exactly standard from 802.11 initial data frames according to ordered by IEEE80211, are not required to
The AP being connected is had built up with terminal for AP, but for all AP in periphery.Scan module, can be to surrounding when starting
All AP information are recorded, regardless of the AP for needing to block.
Step S102, during the first WiFi module is scanned, if it find that the terminal connection AP that need to be blocked, then start
All terminals for AP or the AP connection that second WiFi module is connected to terminal, which are sent, blocks data frame to be blocked;
Specifically, by starting two the first WiFi modules that there are monitoring mode (Monitor patterns) and data to inject
It with the second WiFi module, can be used for the crawl of 802.11 initial data frames, can be used for accurate blocking.
Second WiFi module can be directed to AP and have built up with terminal be connected or AP and terminal i.e. will the companies of foundation
The blocking connect.
When scan module finds to need the terminal blocked to connect some AP, then start the second WiFi module and blocked,
Wherein, the second WiFi module is equivalent to module is blocked, and the AP or all terminals of AP connections that blocking module is connected to terminal are sent
Data frame is blocked to be blocked.
Step S103, if it find that needing the AP blocked to have any terminal to connect, then starts the second WiFi module and connects to AP
All terminals connect, which are sent, blocks data frame to be blocked.
Further, reference picture 2, step S101 comprises the following steps:
Step S201, when being blocked to any AP of terminal connection, determines the AP that terminal is currently connected;
Step S202, the first WiFi module is switched to the channel where the AP that terminal is currently connected, and it is default to stop first
Time, while scanning other channels, and stop the second preset time respectively on other channels, wherein, the first preset time is big
In the second preset time;
Step S203, the channel that the second WiFi module is rested on where the AP that terminal is currently connected, and send management frame and enter
Row is blocked;
Step S204, when the first WiFi module finds that the AP that terminal is currently connected is switched to next channel, first
WiFi module is switched to subsequent channels, and stops the 3rd preset time, while scanning other channels, and distinguishes on other channels
The 4th preset time is stopped, wherein, the 3rd preset time is more than the 4th preset time;
Step S205, the second WiFi module rests on subsequent channels, and sends management frame and blocked.
Further, reference picture 3, step S101 is further comprising the steps of:
Step S301, when being blocked to the terminal that AP is connected, determines the channel that AP is currently located;
Step S302, the first WiFi module is switched to the channel that AP is currently located, and stops the first preset time, sweeps simultaneously
Other channels are retouched, and stop the second preset time respectively on other channels, wherein, when the first preset time is default more than second
Between;
Step S303, the second WiFi module rests on the channel that AP is currently located, to connection AP all terminal sending tubes
Reason frame is blocked;
Step S304, when the first WiFi module finds that AP is switched to next channel, the first WiFi module is switched to
Subsequent channels, and the 3rd preset time of stop, while other channels are scanned, and when stop the 4th is default respectively on other channels
Between, wherein, the 3rd preset time is more than the 4th preset time;
Step S305, the second WiFi module rests on AP subsequent channels, and sending management frame to connection AP all terminals enters
Row is blocked.
Further, reference picture 4, step S102 comprises the following steps:
Step S401, starts second WiFi module and sends releasing certification (De- to the AP with the identity of the terminal
Authentication) management frame and releasing connection (Disassociation) management frame;
Step S402, starts second WiFi module and sends releasing certification (De- to the terminal with the identity of the AP
Authentication) management frame and releasing connection (Disassociation) management frame;
Step S403, if the first WiFi module finds that terminal does not reconnect AP, the second WiFi module stops blocking;
Step S404, if the first WiFi module finds that terminal connects next AP, the second WiFi module is to next AP
Send and block data frame.
Specifically, if scan module finds that terminal is not reconnected, stop blocking;If scan module finds terminal quilt
Other AP are quickly connected after blocking, then block module to update channel and AP BSSID, again with new identity and channel sending tube
Reason frame is blocked.
Further, reference picture 5, step S102 is further comprising the steps of:
Step S501, starts the second WiFi module and sends broadcast releasing certification pipe to the terminal being connected with AP with AP identity
Frame, broadcast is managed to release connection management frame, the releasing authentication management frame and release connection management frame;
Step S502, starts the second WiFi module and sends releasing connection management frame to AP with the identity of terminal;
Step S503, if the first WiFi module finds that the terminal being connected with AP is not reconnected, the second WiFi module
Stop blocking;
Step S504, is connected, the second WiFi module if the first WiFi module finds that AP is set up with next terminal
Sent to the next terminal being connected with AP and block data frame.
Specifically, the channel that module needs real-time update AP, the terminal connected below are blocked, is sent so as to adjustment in real time
Management frame strategy.
The embodiments of the invention provide the blocking-up method of WiFi module, including:Multiple nothings are scanned by the first WiFi module
Line accessed node AP, any AP connected according to demand to terminal or connection AP any terminal are blocked;In the first WiFi
During module scans, if it find that the terminal connection AP that need to be blocked, then start the AP that the second WiFi module is connected to terminal
Or all terminals of AP connections send and block data frame to be blocked;If it find that need the AP blocked to there is any terminal to connect,
Then start all terminals that the second WiFi module connects to AP and send and block data frame to be blocked, can be to needing the end of blocking
End or AP are accurately blocked, so as to improve the accuracy rate of blocking.
Embodiment two:
Fig. 6 is the occluding device schematic diagram for the WiFi module that the embodiment of the present invention two is provided.
Reference picture 6, the device includes first and blocks module 10, second to block module 20 and the 3rd to block module 30.
First blocks module 10, right according to demand for scanning multiple wireless access node AP by the first WiFi module
Any AP or connection AP of terminal connection any terminal are blocked;
Second blocks module 20, during being scanned in the first WiFi module, if it find that the terminal that need to be blocked connects
AP is met, then all terminals for starting AP that the second WiFi module connects to terminal or AP connections send and block data frame to be hindered
It is disconnected;
3rd blocks module 30, in the case where finding to need the AP blocked to have any terminal to connect, starting second
All terminals that WiFi module is connected to AP, which are sent, blocks data frame to be blocked.
Further, the first blocking module 10 includes:
When being blocked to any AP of terminal connection, the AP that terminal is currently connected is determined;
First WiFi module is switched to the channel where the AP that terminal is currently connected, and stops the first preset time, simultaneously
Other channels are scanned, and stop the second preset time respectively on other channels, wherein, the first preset time is more than second and preset
Time;
The channel that second WiFi module is rested on where the AP that terminal is currently connected, and send management frame and blocked;
When the first WiFi module finds that the AP that terminal is currently connected is switched to next channel, the first WiFi module is cut
Subsequent channels, and the 3rd preset time of stop are changed to, while other channels are scanned, and it is pre- to stop the 4th respectively on other channels
If the time, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on subsequent channels, and sends management frame and blocked.
Further, the first blocking module 10 also includes:
When being blocked to the terminal that AP is connected, the channel that AP is currently located is determined;
First WiFi module is switched to the channel that AP is currently located, and stops the first preset time, while scanning other letters
Road, and stop the second preset time respectively on other channels, wherein, the first preset time is more than the second preset time;
Second WiFi module rests on the channel that AP is currently located, and sending management frame to connection AP all terminals is hindered
It is disconnected;
When the first WiFi module finds that AP is switched to next channel, the first WiFi module is switched to subsequent channels,
And the 3rd preset time is stopped, while scanning other channels, and stop the 4th preset time respectively on other channels, wherein,
3rd preset time is more than the 4th preset time;
Second WiFi module rests on the next channels of AP, and sending management frame to connection AP all terminals is hindered
It is disconnected.
Further, the second blocking module 20 includes:
Start the second WiFi module to send releasing authentication management frame to AP with the identity of terminal and release connection management frame;
Start the second WiFi module to send releasing authentication management frame to terminal with AP identity and release connection management frame;
If the first WiFi module finds that terminal does not reconnect AP, the second WiFi module stops blocking;
If the first WiFi module finds that terminal connects next AP, the second WiFi module sends the resistance to next AP
Disconnected data frame.
Further, the second blocking module 20 also includes:
Start the second WiFi module and broadcast releasing authentication management frame, broadcast are sent to the terminal being connected with AP with AP identity
Connection management frame is released, authentication management frame is released and releases connection management frame;
Start the second WiFi module and releasing connection management frame is sent to AP with the identity of terminal;
If the first WiFi module finds that the terminal being connected with AP is not reconnected, the second WiFi module stops blocking;
It is connected if the first WiFi module finds that AP is set up with next terminal, the second WiFi module is connected down to AP
One terminal, which is sent, blocks data frame.
The embodiments of the invention provide the occluding device of WiFi module, including:Multiple nothings are scanned by the first WiFi module
Line accessed node AP, any AP connected according to demand to terminal or connection AP any terminal are blocked;In the first WiFi
During module scans, if it find that the terminal connection AP that need to be blocked, then start the AP that the second WiFi module is connected to terminal
Or all terminals of AP connections send and block data frame to be blocked;If it find that need the AP blocked to there is any terminal to connect,
Then start all terminals that the second WiFi module connects to AP and send and block data frame to be blocked, can be to needing the end of blocking
End or AP are accurately blocked, so as to improve the accuracy rate of blocking.
The embodiment of the present invention also provides a kind of electronic equipment, including memory, processor and stores on a memory and can
The computer program run on a processor, realizes the WiFi module that above-described embodiment is provided during computing device computer program
Blocking-up method the step of.
The embodiment of the present invention also provides the meter that is stored with a kind of computer-readable recording medium, computer-readable recording medium
The step of calculation machine program, blocking-up method for the WiFi module that above-described embodiment is performed when computer program is run by processor.
The computer program product that the embodiment of the present invention is provided, including store the computer-readable storage of program code
Medium, the instruction that described program code includes can be used for performing the method described in previous methods embodiment, and implementing to join
See embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description
With the specific work process of device, the corresponding process in preceding method embodiment is may be referred to, be will not be repeated here.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can
To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected to by intermediary, Ke Yishi
The connection of two element internals.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this
Concrete meaning in invention.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ",
The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to
Be easy to the description present invention and simplify description, rather than indicate or imply signified device or element must have specific orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" the 3rd " is only used for describing purpose, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, is only the embodiment of the present invention, to illustrate the present invention
Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art
The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of blocking-up method of WiFi module, it is characterised in that methods described includes:
Multiple wireless access node AP are scanned by the first WiFi module, any AP connected according to demand to terminal or company
Any terminal for meeting the AP is blocked;
During first WiFi module is scanned, if it find that the terminal that need to be blocked connects the AP, then start
All terminals for the AP or described AP connections that second WiFi module is connected to the terminal, which are sent, blocks data frame to enter
Row is blocked;
If it find that needing the AP blocked to have any terminal connection, then start second WiFi module to the AP
All terminals of connection send the blocking data frame and blocked.
2. the blocking-up method of WiFi module according to claim 1, it is characterised in that described to be connected according to demand to terminal
Any AP or the connection AP any terminal carry out blocking and include:
When being blocked to any AP of terminal connection, the AP that the terminal is currently connected is determined;
First WiFi module is switched to the channel where the AP that the terminal is currently connected, and stop first it is default when
Between, while scanning other channels, and the second preset time is stopped respectively on other described channels, wherein, described first
Preset time is more than second preset time;
The channel that second WiFi module is rested on where the AP that the terminal is currently connected, and send management frame progress
Block;
When first WiFi module finds that the AP that the terminal is currently connected is switched to next channel, described the
One WiFi module is switched to next channel, and the 3rd preset time of stop, while the other channels of scanning, and at other
The 4th preset time is stopped on the channel respectively, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on next channel, and sends the management frame and blocked.
3. the blocking-up method of WiFi module according to claim 1, it is characterised in that described to be connected according to demand to terminal
Any AP or the connection AP any terminal blocked and also included:
When the terminal to the AP connections is blocked, the channel that the AP is currently located is determined;
First WiFi module is switched to the channel that the AP is currently located, and stops the first preset time, sweeps simultaneously
Other channels are retouched, and the second preset time is stopped respectively on other described channels, wherein, first preset time is big
In second preset time;
Second WiFi module rests on the channel that the AP is currently located, to all terminals for connecting the AP
Management frame is sent to be blocked;
When first WiFi module finds that the AP is switched to next channel, first WiFi module is switched to down
Channel described in one, and the 3rd preset time is stopped, while scanning other channels, and stopped respectively on other described channels
4th preset time, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on the next channels of the AP, and institute is sent to all terminals for connecting the AP
Management frame is stated to be blocked.
4. the blocking-up method of WiFi module according to claim 1, it is characterised in that the WiFi module of startup second to
All terminals of the AP or described AP connections of the terminal connection, which are sent, blocks data frame progress blocking to include:
Start second WiFi module to send releasing authentication management frame to the AP with the identity of the terminal and release connection
Management frame;
Start second WiFi module and the releasing authentication management frame is sent and described to the terminal with the identity of the AP
Release connection management frame;
If first WiFi module finds that the terminal does not reconnect the AP, second WiFi module stops resistance
It is disconnected;
If first WiFi module finds that the terminal connects next AP, second WiFi module is to next
The AP sends the blocking data frame.
5. the blocking-up method of WiFi module according to claim 4, it is characterised in that the WiFi module of startup second to
All terminals of the AP or described AP connections of the terminal connection, which send blocking data frame and blocked, also to be included:
Start second WiFi module with the identity of the AP to the terminal transmission broadcast releasing being connected with the AP to recognize
Demonstrate,prove management frame, broadcast and release connection management frame, the releasing authentication management frame and the releasing connection management frame;
Start second WiFi module and the releasing connection management frame is sent to the AP with the identity of the terminal;
If first WiFi module finds that the terminal being connected with the AP is not reconnected, the 2nd WiFi moulds
Block stops blocking;
If first WiFi module finds that the AP is connected with next terminal foundation, second WiFi module to
The next terminal being connected with the AP sends the blocking data frame.
6. a kind of occluding device of WiFi module, it is characterised in that described device includes:
First blocks module, and for scanning multiple wireless access node AP by the first WiFi module, terminal is connected according to demand
Any AP or the connection AP any terminal connect is blocked;
Second blocks module, during being scanned in first WiFi module, if it find that the terminal that need to be blocked
The AP is connected, then starts all terminals for the AP or described AP connections that the second WiFi module is connected to the terminal
Send and block data frame to be blocked;
3rd blocks module, in the case where finding to need the AP blocked to have any terminal connection, starting institute
The second WiFi module is stated to be blocked to all terminals transmission blocking data frames of the AP connections.
7. the occluding device of WiFi module according to claim 6, it is characterised in that the first blocking module includes:
When being blocked to any AP of terminal connection, the AP that the terminal is currently connected is determined;
First WiFi module is switched to the channel where the AP that the terminal is currently connected, and stop first it is default when
Between, while scanning other channels, and the second preset time is stopped respectively on other described channels, wherein, described first
Preset time is more than second preset time;
The channel that second WiFi module is rested on where the AP that the terminal is currently connected, and send management frame progress
Block;
When first WiFi module finds that the AP that the terminal is currently connected is switched to next channel, described the
One WiFi module is switched to next channel, and the 3rd preset time of stop, while the other channels of scanning, and at other
The 4th preset time is stopped on the channel respectively, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on next channel, and sends the management frame and blocked.
8. the occluding device of WiFi module according to claim 6, it is characterised in that the first blocking module is also wrapped
Include:
When the terminal to the AP connections is blocked, the channel that the AP is currently located is determined;
First WiFi module is switched to the channel that the AP is currently located, and stops the first preset time, sweeps simultaneously
Other channels are retouched, and the second preset time is stopped respectively on other described channels, wherein, first preset time is big
In second preset time;
Second WiFi module rests on the channel that the AP is currently located, to all terminals for connecting the AP
Management frame is sent to be blocked;
When first WiFi module finds that the AP is switched to next channel, first WiFi module is switched to down
Channel described in one, and the 3rd preset time is stopped, while scanning other channels, and stopped respectively on other described channels
4th preset time, wherein, the 3rd preset time is more than the 4th preset time;
Second WiFi module rests on the next channels of the AP, and institute is sent to all terminals for connecting the AP
Management frame is stated to be blocked.
9. the occluding device of WiFi module according to claim 6, it is characterised in that the second blocking module includes:
Start second WiFi module to send releasing authentication management frame to the AP with the identity of the terminal and release connection
Management frame;
Start second WiFi module and the releasing authentication management frame is sent and described to the terminal with the identity of the AP
Release connection management frame;
If first WiFi module finds that the terminal does not reconnect the AP, second WiFi module stops resistance
It is disconnected;
If first WiFi module finds that the terminal connects next AP, second WiFi module is to next
The AP sends the blocking data frame.
10. the occluding device of WiFi module according to claim 9, it is characterised in that the second blocking module is also wrapped
Include:
Start second WiFi module with the identity of the AP to the terminal transmission broadcast releasing being connected with the AP to recognize
Demonstrate,prove management frame, broadcast and release connection management frame, the releasing authentication management frame and the releasing connection management frame;
Start second WiFi module and the releasing connection management frame is sent to the AP with the identity of the terminal;
If first WiFi module finds that the terminal being connected with the AP is not reconnected, the 2nd WiFi moulds
Block stops blocking;
If first WiFi module finds that the AP is connected with next terminal foundation, second WiFi module to
The next terminal being connected with the AP sends the blocking data frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710298591.9A CN107094295A (en) | 2017-04-28 | 2017-04-28 | The blocking-up method and device of WiFi module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710298591.9A CN107094295A (en) | 2017-04-28 | 2017-04-28 | The blocking-up method and device of WiFi module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107094295A true CN107094295A (en) | 2017-08-25 |
Family
ID=59637462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710298591.9A Pending CN107094295A (en) | 2017-04-28 | 2017-04-28 | The blocking-up method and device of WiFi module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107094295A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109362118A (en) * | 2018-12-03 | 2019-02-19 | 武汉奥浦信息技术有限公司 | A kind of WIFI compacting hold-up interception method based on portable device |
CN111417120A (en) * | 2020-03-27 | 2020-07-14 | 中国人民解放军战略支援部队信息工程大学 | WiFi hotspot and terminal communication blocking method based on de-authentication message reconstruction |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037373A (en) * | 2012-12-21 | 2013-04-10 | 成都科来软件有限公司 | Wireless node blocking system |
CN103067916A (en) * | 2012-12-21 | 2013-04-24 | 成都科来软件有限公司 | System and method of wireless mobile terminal blocking |
CN104320782A (en) * | 2014-10-27 | 2015-01-28 | 任子行网络技术股份有限公司 | WiFi signal blocking system and method |
CN104333862A (en) * | 2013-07-22 | 2015-02-04 | 中国科学院信息工程研究所 | Fine granularity management and control method for wireless local area network |
-
2017
- 2017-04-28 CN CN201710298591.9A patent/CN107094295A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037373A (en) * | 2012-12-21 | 2013-04-10 | 成都科来软件有限公司 | Wireless node blocking system |
CN103067916A (en) * | 2012-12-21 | 2013-04-24 | 成都科来软件有限公司 | System and method of wireless mobile terminal blocking |
CN104333862A (en) * | 2013-07-22 | 2015-02-04 | 中国科学院信息工程研究所 | Fine granularity management and control method for wireless local area network |
CN104320782A (en) * | 2014-10-27 | 2015-01-28 | 任子行网络技术股份有限公司 | WiFi signal blocking system and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109362118A (en) * | 2018-12-03 | 2019-02-19 | 武汉奥浦信息技术有限公司 | A kind of WIFI compacting hold-up interception method based on portable device |
CN111417120A (en) * | 2020-03-27 | 2020-07-14 | 中国人民解放军战略支援部队信息工程大学 | WiFi hotspot and terminal communication blocking method based on de-authentication message reconstruction |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111436160B (en) | Local area network communication method, device and system | |
EP3557913A1 (en) | Network slice selection policy updating method and apparatus | |
CN110691384A (en) | Network slice using method and device | |
US11425764B2 (en) | Communication method and communications apparatus for reporting establishment causes | |
CN111542081B (en) | Communication switching method and device and Internet of things communication module | |
CN102833877B (en) | A kind of Wi-Fi shares method and system | |
FI109638B (en) | A method for recording traffic information of a communication system | |
CN109618392B (en) | Network sharing method, device, equipment and computer readable storage medium | |
CN102271322A (en) | Method and device for transmitting MDT (Minimization of Drive Tests) collocation information | |
CN106385710A (en) | System information transmission method and transmission apparatus | |
US11330643B2 (en) | Method and device for implementing wireless backhaul, and base station | |
CN103747431A (en) | Method and device for realizing rapid roaming based on neighbor detection | |
WO2021135188A1 (en) | Temrinal 5g icon display method, device and computer-readable medium | |
WO2018196463A1 (en) | Method and apparatus for network access, storage medium, and processor | |
CN108966116B (en) | Terminal control method, network side and acquisition device | |
CN107094295A (en) | The blocking-up method and device of WiFi module | |
CN104519482A (en) | Equipment parameter configuration method and device | |
CN108307359A (en) | A kind of method, terminal and system that hot spot is shared | |
CN106162808B (en) | A kind of method and apparatus of network insertion | |
CN105981416B (en) | The method for managing several profiles in safety element | |
CN103634877A (en) | Management method for AP (access point) in AC (access controller)-free network and AP equipment | |
CN110324171B (en) | Internet protocol multimedia system IMS parameter obtaining method, device and system | |
CN103888923A (en) | Call proceeding method, system and device applied to virtual private mobile network | |
CN105323373A (en) | Mobile terminal, and method and device for initializing subscriber identity module card of mobile terminal | |
CN110650467A (en) | Method and device for managing user data |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170825 |
|
RJ01 | Rejection of invention patent application after publication |