CN109041268A - The management method and device of WIFI connection - Google Patents

The management method and device of WIFI connection Download PDF

Info

Publication number
CN109041268A
CN109041268A CN201811291439.9A CN201811291439A CN109041268A CN 109041268 A CN109041268 A CN 109041268A CN 201811291439 A CN201811291439 A CN 201811291439A CN 109041268 A CN109041268 A CN 109041268A
Authority
CN
China
Prior art keywords
terminal
reason
management frame
information
connection
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
CN201811291439.9A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811291439.9A priority Critical patent/CN109041268A/en
Publication of CN109041268A publication Critical patent/CN109041268A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to the management methods and device of WIFI connection.This method comprises: obtaining terminal is not suitable for the reason of connecting with access point WIFI;Management frame is generated according to the reason, the information for the operation for indicating that the terminal carries out is carried in the management frame;The management frame is sent to the terminal, in order to which the terminal executes the operation, avoids the terminal blindness reconnection.The behavior of the terminal can be constrained in the technical solution, the terminal blindness reconnection is avoided, the channel being effectively improved in heavy duty WIFI environment uses, and changes the bad experience of WIFI data transmission, the stability and differentiation for increasing WIFI connection help the competitiveness for improving product.

Description

The management method and device of WIFI connection
Technical field
This disclosure relates to wireless communication technology field more particularly to the management method and device of WIFI connection.
Background technique
WIFI (Wireless Fidelity, Wireless Fidelity) is that one kind can be by PC, handheld device (such as mobile phone) Etc. the technology that wirelessly interconnects of terminals.In daily life, WiFi technology is often used to be connected to intelligent terminal WIFI access point, and then realize the function of surfing the Net of intelligent terminal.When the terminal such as smart phone of support WIFI requires connect to When some WIFI access point, the WIFI access point as present in mobile phone searching current network, then selection needs to connect WIFI access point, the WIFI access point will be connected to after input password, access network.
Summary of the invention
The management method and device of embodiment of the present disclosure offer WIFI connection.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of management method of WIFI connection is provided, comprising:
It obtains terminal and is not suitable for the reason of connecting with access point WIFI;
Management frame is generated according to the reason, the letter for the operation for indicating that the terminal carries out is carried in the management frame Breath;
The management frame is sent to the terminal, in order to which the terminal executes the operation, avoids the terminal blindly Reconnection.
It is in one embodiment, described that management frame is generated according to the reason, comprising:
After receiving the connection request that the terminal is sent, replied according to the connection that the reason generates connection failure Frame;
After establishing connection between the terminal, the broken string management frame that connection disconnects is generated according to the reason.
In one embodiment, described the reason is that when the physical address of the terminal is illegal or physical address conflicts, institute State the information for carrying in management frame and the terminal being forbidden to carry out reconnection operation;
Described the reason is that the key handshake failure of the terminal or time-out, the instruction end is carried in the management frame The information of password is re-entered at end;
Described the reason is that carrying the instruction terminal silence preset time period in the management frame when channel busy Information.
In one embodiment, it is described the reason is that do not send or receive normally confirmation character ACK when, the broken string It is carried in management frame and indicates that the terminal is switched to the information for connecting other access point apparatus.
It is in one embodiment, described that multi-frame is connected back to according to reason generation connection failure, comprising:
The letter for the operation for indicating that the terminal carries out is carried in the status code Status Code for connecting back to multi-frame Breath;
It is described that the broken string management frame that connection disconnects is generated according to the reason, comprising:
The letter for the operation for indicating that the terminal carries out is carried the reason of the broken string management frame in code Reason Code Breath.
According to the second aspect of an embodiment of the present disclosure, a kind of managing device of WIFI connection is provided, comprising:
Module is obtained, is not suitable for the reason of connecting with access point WIFI for obtaining terminal;
Generation module, for generating management frame according to the reason, carry in the management frame instruction terminal into The information of capable operation;
Sending module, in order to which the terminal executes the operation, is avoided for sending the management frame to the terminal The terminal blindness reconnection.
In one embodiment, the generation module includes:
First generates submodule, for being generated after receiving the connection request that the terminal is sent according to the reason Connection failure connects back to multi-frame;
Second generates submodule, and after establishing connection between the terminal, it is disconnected to generate connection according to the reason The broken string management frame opened.
In one embodiment, described the reason is that when the physical address of the terminal is illegal or physical address conflicts, institute State the information for carrying in management frame and the terminal being forbidden to carry out reconnection operation;
Described the reason is that the key handshake failure of the terminal or time-out, the instruction end is carried in the management frame The information of password is re-entered at end;
Described the reason is that carrying the instruction terminal silence preset time period in the management frame when channel busy Information.
In one embodiment, it is described the reason is that do not send or receive normally confirmation character ACK when, the broken string It is carried in management frame and indicates that the terminal is switched to the information for connecting other access point apparatus.
In one embodiment, described first submodule is generated, in the status code Status for connecting back to multi-frame The information for the operation for indicating that the terminal carries out is carried in Code;
Described second generates submodule, refers to for being carried the reason of the broken string management frame in code Reason Code Show the information for the operation that the terminal carries out.
According to the third aspect of an embodiment of the present disclosure, a kind of managing device of WIFI connection is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing the step in the above method.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, computer is stored with and refers to It enables, the step in the above method is realized when the computer instruction is executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits: the available terminal of the present embodiment Be not suitable for the reason of connecting with access point WIFI;Management frame is generated according to the reason, instruction institute is carried in the management frame State the information of the operation of terminal progress;The management frame is sent to the terminal, in order to which the terminal executes the operation, about The behavior of the beam terminal avoids the terminal blindness reconnection, and the channel being effectively improved in heavy duty WIFI environment uses, and changes The bad experience of WIFI data transmission, increases the stability and differentiation of WIFI connection, helps the competitiveness for improving product.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of the management method of WIFI connection shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the management method of WIFI connection shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the management method of WIFI connection shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the managing device of WIFI connection shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of the managing device of WIFI connection shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the managing device of WIFI connection shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Currently, access point (Access Point, access point) such as router can initiate line disconnection for some reason, to When the part terminal of connection sends broken string management frame, terminal will receive and respond the broken string management frame of router transmission, by dynamic circuit breaker The WIFI opened between access point is connect.Terminal is after passive broken string, it is not clear that the state of access point can default transmission request The management frame of connection is reconnected, and the reconnection requests may not be able to be effectively treated in access point, this will make the letter of access point Road environment more deteriorates.It is especially more in some access terminals, load (such as station/airport/school under high public WIFI environment Garden net/coffee shop), if access point, since channel circumstance is too noisy, a large amount of continuous data packets are not replied confirmation and are initiated disconnected The line of certain terminals is opened, and these terminals are constantly attached trial, and entire channel abnormal condition can be made crowded, the channel quilt of WIFI The management frame of request connection largely occupies, and the data frame transmitted between other terminals is difficult to get channel, the transmission effect of WIFI Rate and usage experience can sharply decline.Certainly, same problem exists under the scene of terminal connection failure, if terminal connects It connects request to have failed, terminal does not know the state of access point, continues to initiate reconnection, will affect network performance yet.
To solve the above-mentioned problems, the available terminal of the present embodiment is not suitable for the reason of connecting with access point WIFI;Root Management frame is generated according to the reason, the information for the operation for indicating that the terminal carries out is carried in the management frame;To the end End sends the management frame, in order to which the terminal executes the operation, constrains the behavior of the terminal, avoids the terminal blindly Reconnection, the channel being effectively improved in heavy duty WIFI environment use, and change the bad experience of WIFI data transmission, increase WIFI The stability and differentiation of connection help the competitiveness for improving product.
Fig. 1 is a kind of flow chart of the management method of WIFI connection shown according to an exemplary embodiment, such as Fig. 1 institute Show, the management method of the WIFI connection is for including the following steps 101-103 in access point apparatus:
In a step 101, it obtains terminal and is not suitable for the reason of connecting with access point WIFI.
In a step 102, management frame is generated according to the reason, the instruction terminal is carried in the management frame and is carried out Operation information.
In step 103, the management frame is sent to the terminal, in order to which the terminal executes the operation, avoided The terminal blindness reconnection.
Here, which can be the equipment such as router, and the access point apparatus is in the company for receiving terminal transmission When connecing request or with terminal having established connection, the terminal for some reason may be got and be not suitable for connecting with access point WIFI It connects.At this point, the access point apparatus can obtain terminal according to the reason can be avoided the operation for causing the reason, and then generate The management frame for the information for indicating that the terminal carries out the operation is carried, it is exemplary, it is generally the case that access point apparatus receives ACK (ACKnowledgement confirms character) can be returned to after the data packet that terminal is sent to terminal, if the access point apparatus obtains It gets received continuous data packet and does not send ACK, will be considered that this access point apparatus is too busy, the terminal is not suitable for and connects at this time Access point WIFI connection, in this way, access point apparatus, which just gets the terminal, is not suitable for the reason of connecting with access point WIFI as access Point device is too busy, and then the access point apparatus can obtain terminal and can be avoided to cause the operation of the reason to be according to the reason Switching connects other access points, in this way, the access point apparatus will accordingly generate management frame, instruction institute is carried in the management frame State the information that terminal switching connects the operation of other access points.
Here, after access point apparatus generates management frame, which can be sent to terminal, terminal receives management frame Operation indicated by the management frame can be executed afterwards, be still illustrated taking the above example as an example, after terminal receives the management frame, The operation for connecting other access points can be switched over.In this way, just reducing the load of this access point, there is this access point apparatus More resources handle the information of other terminals, avoid interfering with each other between each terminal in network, to improve WIFI network Energy.
The available terminal of the present embodiment is not suitable for the reason of connecting with access point WIFI;It is generated and is managed according to the reason Frame carries the information for the operation for indicating that the terminal carries out in the management frame;The management frame is sent to the terminal, with The operation is executed convenient for the terminal, the behavior of the terminal is constrained, avoids the terminal blindness reconnection, be effectively improved heavy duty WIFI environment in channel use, change the bad experience of WIFI data transmission, increase the stability and difference of WIFI connection Change, helps the competitiveness for improving product.
In a kind of possible embodiment, it can be implemented as in the management method of above-mentioned WIFI connection in step 102 Following steps A1 and A2.
In step A1, after receiving the connection request that the terminal is sent, connection failure is generated according to the reason Connect back to multi-frame;
In step A2, after establishing connection between the terminal, the broken string that connection disconnects is generated according to the reason Management frame.
Here, access point apparatus is after receiving the connection request that the terminal is sent, if get terminal be not suitable for The reason of access point WIFI connection, connection failure will be returned to the terminal connects back to multi-frame, and the present embodiment can be by the original Multi-frame is connected back to because the operation that the corresponding instruction terminal carries out is programmed in this.
Here, after access point apparatus establishes connection between the terminal, if get terminal be not suitable for and access point The reason of WIFI connection, will send the broken string management frame that notice connection disconnects to the terminal, and the present embodiment can be by the reason The operation that the corresponding instruction terminal carries out is programmed in the broken string management frame.
The present embodiment can pass through broken string by the behavior of the terminal for connecting back to multi-frame constraint request connection of connection failure The behavior for the terminal that management frame constraint has connected avoids both terminal blindness reconnections, effectively in this way, constraining more terminals The channel improved in heavy duty WIFI environment uses, and changes the bad experience of WIFI data transmission,
In a kind of possible embodiment, described the reason is that the physical address of the terminal is illegal or physical address conflict When, the information for forbidding the terminal to carry out reconnection operation is carried in the management frame;It is described the reason is that the terminal it is close Key is shaken hands failure or time-out, and the information for indicating that the terminal re-enters password is carried in the management frame;In the reason When being channel busy, the information for indicating the terminal silence preset time period is carried in the management frame.
Here, which is used to define the position of terminal in a network, Each terminal possesses globally unique MAC, and some terminals will use illegal physical address to connect access point apparatus, at this point, Access point apparatus can detect that the MAC of the terminal is illegal, or the terminal having can usurp the legal of other terminals MAC connects access point apparatus, at this point, access point apparatus can detect that the MAC of the terminal is to be with the MAC of other terminals Conflict.Access point apparatus is obtaining the reason is that when the physical address of the terminal is illegal or physical address conflicts, and shows terminal It is being illegally used, access point apparatus will carry the letter for forbidding the terminal to carry out reconnection operation in the management frame at this time Breath forbids the terminal illegally used to carry out reconnection operation, avoids it from sending connection request to the occupancy of channel, avoids influencing it The data of his terminal are transmitted, and the channel being effectively improved in WIFI environment uses, and improve WIFI network performance.
Here, key handshake is exemplary primarily to guarantee the safety of the transmission between terminal and access point apparatus, Key handshake process may is that terminal attaches access point apparatus, access point apparatus are sent to the terminal public key, and terminal obtains key K, and k' is obtained with this public key encryption key k, k' is sent to access point apparatus by terminal, and access point apparatus is used certainly after receiving k' Oneself private key is decrypted to obtain k, and both sides have obtained key k at this time, completion of shaking hands.The above-mentioned any step of handshake procedure is unsuccessfully key It shakes hands unsuccessfully, the time of any step is more than that preset time then thinks key handshake time-out, when access electric equipment detects that key is held When hand failure or key handshake time-out, it is believed that the terminal is not suitable for connecting with access point WIFI, i.e., access point apparatus gets end End is not suitable for the reason of connecting with access point WIFI as key handshake failure or key handshake time-out, causes the maximum of the reason can Can be user's input terminal password it is not right, which can obtain terminal according to the reason and can be avoided to cause this The operation of reason be re-enter password, therefore access point apparatus can be generated carry the instruction terminal re-enter password this The management frame of a operation information.
Here, when the terminal of access point apparatus access is excessive or sometime hold between the two data transmission frequencies it is too fast When, the channel busy of access point apparatus can be caused, the information for handling these terminals is too busy to do it, at this point, in order to avoid network Interfered with each other between interior each terminal, access point apparatus can choose a part of terminal, disconnect the connection between these terminals with And no longer agree to the connection request of other new terminals, be not suitable for connecting this access point at this point, access point apparatus obtains these terminals The reason of WIFI is channel busy, which can obtain terminal according to the reason and can be avoided to cause the reason Operation is these terminal silence preset time periods, in order to avoid aggravation channel busy.These terminals can be after preset time period again The access point apparatus is reconnected, such each terminal can use network in different times, will not interfere with each other each other.
The present embodiment can be described the reason is that when the physical address of the terminal is illegal or physical address conflicts, the pipe The information for forbidding the terminal to carry out reconnection operation is carried in reason frame;Described the reason is that the key handshake of the terminal fails Or it is overtime, the information for indicating that the terminal re-enters password is carried in the management frame;Described the reason is that channel busy When, the information for indicating the terminal silence preset time period is carried in the management frame;So indicated for different reasons Terminal carries out different operations to avoid the reason is caused, more accurate to WIFI connection management.
In a kind of possible embodiment, it is described the reason is that do not send or receive normally confirmation character ACK when, institute It states to carry in broken string management frame and indicates that the terminal is switched to the information for connecting other routers.
Here, terminal can carry out data transmission mutually after establishing connection with access point apparatus, and terminal connects receiving ACK (Acknowledgement confirms character), the access can be sent to the access point apparatus after entering the data of point device transmission Point device also can send ACK to terminal after receiving the data that terminal is sent, if the access point apparatus, which detects, receives number ACK is not normally received without normally return ACK or after having sent data according to rear, then shows the access point apparatus load mistake Big no processing or other reasons in time, at this point, access point apparatus thinks that the terminal is not suitable for connecting with access point WIFI, i.e., Access point apparatus gets terminal and is not suitable for the reason of connecting with access point WIFI not send or receive ACK normally, makes Maximum possible at the reason is that access point apparatus meets the excessive or terminal and had by the data transmission between access point apparatus Problem can be avoided at this point, the access point apparatus can obtain terminal according to the reason and cause the operation of the reason for switching Connect other access point apparatus, naturally it is also possible to be connection data roaming network, therefore access point apparatus can be generated and carry finger Show the management frame of this operation information of other access point apparatus of terminal switching connection.
The present embodiment can be managed described the reason is that when not sending or receiving confirmation character ACK normally in broken string It is carried in frame and indicates that the terminal is switched to the information for connecting other access point apparatus, suitable for not sending normally or connecing It is to have connected the terminal of access point apparatus to be indicated when receiving ACK.
In a kind of possible embodiment, instruction institute is carried in the status code Status Code for connecting back to multi-frame State the information of the operation of terminal progress;It is carried in code Reason Code the reason of the broken string management frame and indicates the end Hold the information of the operation carried out.
Here, in WIFI agreement i.e. 802.11 agreements, connection request is sent in terminal, terminal is got and is not suitable for and connects The reason of access point WIFI connection, connection failure will be returned to the terminal connects back to multi-frame, this connects back in multi-frame and is added with Status Code (status code), for indicating attended operation success or failure.If success, certain position in status code is zero, otherwise Non-zero;Certainly this, which is connected back in multi-frame, may also have the field for carrying and indicating line request failure cause, current Status It is reserved bit that 0~102,103~65535 have been used in Code, can be extended use, therefore the present embodiment can will connect back to Indicate that the information for the operation that the terminal carries out is indicated using 103~65535 these reserved bits in multi-frame.
Here, in WIFI agreement, after access point apparatus establishes connection between the terminal, if getting terminal not It is suitble to the reason of connecting with access point WIFI, the broken string management frame that notice connection disconnects will be sent to the terminal, is actively disconnected Connection between terminal, can add Reason Code field in the broken string management frame to describe broken string reason, exemplary, with Bad channel quality it is corresponding broken string the reason is that Reason Code 34, code 34 indicate: " due to access point apparatus retransmit or Bad channel quality causes continuous multiple packets without replying confirmation ".Currently, if access point apparatus initiates Reason Code's 34 Broken string, terminal are only known due to bad channel quality and break, there is no indication that how terminal should be done in next step.If no Instruction, according to default treatment, regardless of the state of access point and the state of channel, all broken string station can be recycled at once to be retried Connection, deteriorates entire wifi network environment instead.1-66 has been used in current Status Code, 67~65535 be reserved bit, Can be extended use, thus the present embodiment can at this moment by 67~65535 these reserved bits of Reason Code field, Specifically 1 high-order eight bit byte (bit15~bit8) indicates operation that the terminal carries out, according to different originals Because designing different operation informations, and corresponding do in bit15~bit8 is arranged.
The present embodiment can carry out the Reason Code in broken string management frame with the Status Code for connecting back to multi-frame It extends to plan the operation with instruction terminal to improve WIFI network performance, it is only necessary to utilize existing WIFI management frame field Extension field achieves that scheme function by software upgrading, and upgrading difficulty is small, does not need to update hardware, not by equipment form It influences;And technology inclusiveness is stronger, belongs to improvement and Properties of Optimization, can be used as nonessential proposed projects in advance, it will not be not The equipment of support excludes except WIFI network;Basic function is not influenced, the later period supports the equipment of the management method more, is promoted Effect is more obvious.
Realization process is discussed in detail below by several embodiments.
Fig. 2 is a kind of flow chart of the management method of WIFI connection shown according to an exemplary embodiment, such as Fig. 2 institute Show, the management method of the WIFI connection can be realized by equipment such as access point apparatus, including step 201-204.
In step 201, the connection request that the terminal is sent is received.
In step 202, it obtains terminal and is not suitable for the reason of connecting with access point WIFI.
In step 203, multi-frame is connected back to according to reason generation connection failure, in the shape for connecting back to multi-frame The information for the operation for indicating that the terminal carries out is carried in state code Status Code.
Wherein, described the reason is that when the physical address of the terminal is illegal or physical address conflicts, in the management frame Carry the information for forbidding the terminal to carry out reconnection operation;Described the reason is that the key handshake of the terminal fails or surpasses When, the information for indicating that the terminal re-enters password is carried in the management frame;Described the reason is that when channel busy, institute State the information for carrying in management frame and indicating the terminal silence preset time period.
In step 204, multi-frame is connected back to described in terminal transmission, in order to which the terminal executes the operation, Avoid the terminal blindness reconnection.
Fig. 3 is a kind of flow chart of the management method of WIFI connection shown according to an exemplary embodiment, such as Fig. 3 institute Show, the management method of the WIFI connection can be realized by equipment such as access point apparatus, including step 301-304.
In step 301, connection is established between the terminal.
In step 302, it obtains terminal and is not suitable for the reason of connecting with access point WIFI.
In step 303, the broken string management frame that connection disconnects is generated according to the reason, in the original of the broken string management frame Because carrying the information for the operation for indicating that the terminal carries out in code Reason Code.
Wherein, described the reason is that when the physical address of the terminal is illegal or physical address conflicts, in the management frame Carry the information for forbidding the terminal to carry out reconnection operation;Described the reason is that the key handshake of the terminal fails or surpasses When, the information for indicating that the terminal re-enters password is carried in the management frame;Described the reason is that when channel busy, institute State the information for carrying in management frame and indicating the terminal silence preset time period.
In step 304, the broken string management frame is sent to the terminal, in order to which the terminal executes the operation, Avoid the terminal blindness reconnection.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of the managing device of WIFI connection shown according to an exemplary embodiment, which can be with Pass through being implemented in combination with as some or all of of electronic equipment for software, hardware or both.As shown in figure 4, the WIFI connects The managing device connect includes:
Module 401 is obtained, is not suitable for the reason of connecting with access point WIFI for obtaining terminal;
Generation module 402 carries the instruction terminal for generating management frame according to the reason in the management frame The information of the operation of progress;
Sending module 403, for sending the management frame to the terminal, in order to which the terminal executes the operation, Avoid the terminal blindness reconnection.
As a kind of possible embodiment, Fig. 5 is a kind of management of WIFI connection shown according to an exemplary embodiment The block diagram of device, as shown in figure 5, the managing device of WIFI connection disclosed above can also be configured to generation module 402 to wrap It includes the first generation submodule 4021 and second and generates submodule 4022, in which:
First generates submodule 4021, for after receiving the connection request that the terminal is sent, according to the reason Generate connection failure connects back to multi-frame;
Second generates submodule 4022, after establishing connection between the terminal, is generated and is connected according to the reason Connect the broken string management frame of disconnection.
As a kind of possible embodiment, in the managing device of WIFI connection disclosed above, described the reason is that described When the physical address of terminal is illegal or physical address conflicts, is carried in the management frame and the terminal is forbidden to carry out reconnection operation Information;
Described the reason is that the key handshake failure of the terminal or time-out, the instruction end is carried in the management frame The information of password is re-entered at end;
Described the reason is that carrying the instruction terminal silence preset time period in the management frame when channel busy Information.
As a kind of possible embodiment, in the managing device of WIFI connection disclosed above, described the reason is that not having When normally sending or receiving confirmation character ACK, the instruction terminal is carried in the broken string management frame be switched to and connect it The information of his access point apparatus.
As a kind of possible embodiment, in the managing device of WIFI connection disclosed above, described first generates submodule Block 4021, for the operation of the carrying instruction terminal progress in the status code Status Code for connecting back to multi-frame Information;Described second generates submodule 4022, refers to for being carried the reason of the broken string management frame in code Reason Code Show the information for the operation that the terminal carries out.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 6 is a kind of block diagram of the managing device of WIFI connection shown according to an exemplary embodiment.For example, device 600 may be provided as a router.The device 600 includes processing component 611, further comprises one or more processing Device, and the memory resource as representated by memory 612, for store can by the instruction of the execution of processing component 611, such as Application program.The application program stored in memory 612 may include it is one or more each correspond to one group refer to The module of order.In addition, processing component 611 is configured as executing instruction, to execute the above method.
Device 600 can also include the power management that a power supply module 613 is configured as executive device 600, and one has Line or radio network interface 614 are configured as device 600 being connected to network and input and output (I/O) interface 615.Dress Setting 600 can operate based on the operating system for being stored in memory 612, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 600 When device executes, so that device 600 is able to carry out the management method of above-mentioned WIFI connection, which comprises
It obtains terminal and is not suitable for the reason of connecting with access point WIFI;
Management frame is generated according to the reason, the letter for the operation for indicating that the terminal carries out is carried in the management frame Breath;
The management frame is sent to the terminal, in order to which the terminal executes the operation, avoids the terminal blindly Reconnection.
It is in one embodiment, described that management frame is generated according to the reason, comprising:
After receiving the connection request that the terminal is sent, replied according to the connection that the reason generates connection failure Frame;
After establishing connection between the terminal, the broken string management frame that connection disconnects is generated according to the reason.
In one embodiment, described the reason is that when the physical address of the terminal is illegal or physical address conflicts, institute State the information for carrying in management frame and the terminal being forbidden to carry out reconnection operation;
Described the reason is that the key handshake failure of the terminal or time-out, the instruction end is carried in the management frame The information of password is re-entered at end;
Described the reason is that carrying the instruction terminal silence preset time period in the management frame when channel busy Information.
In one embodiment, it is described the reason is that do not send or receive normally confirmation character ACK when, the broken string It is carried in management frame and indicates that the terminal is switched to the information for connecting other access point apparatus.
It is in one embodiment, described that multi-frame is connected back to according to reason generation connection failure, comprising:
The letter for the operation for indicating that the terminal carries out is carried in the status code Status Code for connecting back to multi-frame Breath;
It is described that the broken string management frame that connection disconnects is generated according to the reason, comprising:
The letter for the operation for indicating that the terminal carries out is carried the reason of the broken string management frame in code Reason Code Breath.
The present embodiment additionally provides a kind of managing device of WIFI connection, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It obtains terminal and is not suitable for the reason of connecting with access point WIFI;
Management frame is generated according to the reason, the letter for the operation for indicating that the terminal carries out is carried in the management frame Breath;
The management frame is sent to the terminal, in order to which the terminal executes the operation, avoids the terminal blindly Reconnection.
In one embodiment, above-mentioned processor can be additionally configured to:
It is described that management frame is generated according to the reason, comprising:
After receiving the connection request that the terminal is sent, replied according to the connection that the reason generates connection failure Frame;
After establishing connection between the terminal, the broken string management frame that connection disconnects is generated according to the reason.
In one embodiment, above-mentioned processor can be additionally configured to:
Described the reason is that being carried in the management frame when physical address of the terminal is illegal or physical address conflicts The terminal is forbidden to carry out the information of reconnection operation;
Described the reason is that the key handshake failure of the terminal or time-out, the instruction end is carried in the management frame The information of password is re-entered at end;
Described the reason is that carrying the instruction terminal silence preset time period in the management frame when channel busy Information.
In one embodiment, above-mentioned processor can be additionally configured to:
Described the reason is that being carried in the broken string management frame when not sending or receiving confirmation character ACK normally Indicate that the terminal is switched to the information for connecting other access point apparatus.
In one embodiment, above-mentioned processor can be additionally configured to:
It is described that multi-frame is connected back to according to reason generation connection failure, comprising:
The letter for the operation for indicating that the terminal carries out is carried in the status code Status Code for connecting back to multi-frame Breath;It is described that the broken string management frame that connection disconnects is generated according to the reason, comprising:
The letter for the operation for indicating that the terminal carries out is carried the reason of the broken string management frame in code Reason Code Breath.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.It should be understood that the disclosure is not limited to the accurate knot for being described above and being shown in the accompanying drawings Structure, and various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure only by the attached claims Lai Limitation.

Claims (12)

1. a kind of management method of WIFI connection characterized by comprising
It obtains terminal and is not suitable for the reason of connecting with access point WIFI;
Management frame is generated according to the reason, the information for the operation for indicating that the terminal carries out is carried in the management frame;
The management frame is sent to the terminal, in order to which the terminal executes the operation, avoids the terminal blindness reconnection.
2. the method according to claim 1, wherein described generate management frame according to the reason, comprising:
After receiving the connection request that the terminal is sent, multi-frame is connected back to according to reason generation connection failure;
After establishing connection between the terminal, the broken string management frame that connection disconnects is generated according to the reason.
3. the method according to claim 1, wherein
Described the reason is that carrying and forbidding in the management frame when physical address of the terminal is illegal or physical address conflicts The terminal carries out the information of reconnection operation;
Described the reason is that the key handshake failure of the terminal or time-out, the instruction terminal weight is carried in the management frame The information of new input password;
Described the reason is that carrying the letter for indicating the terminal silence preset time period in the management frame when channel busy Breath.
4. according to the method described in claim 2, it is characterized in that,
Described the reason is that carrying instruction in the broken string management frame when not sending or receiving confirmation character ACK normally The terminal is switched to the information for connecting other access point apparatus.
5. according to the method described in claim 2, it is characterized in that, described generate connecting back to for connection failure according to the reason Multi-frame, comprising:
The information for the operation for indicating that the terminal carries out is carried in the status code Status Code for connecting back to multi-frame;
It is described that the broken string management frame that connection disconnects is generated according to the reason, comprising:
The information for the operation for indicating that the terminal carries out is carried the reason of the broken string management frame in code Reason Code.
6. a kind of managing device of WIFI connection characterized by comprising
Module is obtained, is not suitable for the reason of connecting with access point WIFI for obtaining terminal;
Generation module carries what the instruction terminal carried out for generating management frame according to the reason in the management frame The information of operation;
Sending module, in order to which the terminal executes the operation, avoids described for sending the management frame to the terminal Terminal blindness reconnection.
7. device according to claim 6, which is characterized in that the generation module includes:
First generates submodule, for being generated and being connected according to the reason after receiving the connection request that the terminal is sent Failure connects back to multi-frame;
Second generates submodule, after establishing connection between the terminal, generates what connection disconnected according to the reason Break management frame.
8. device according to claim 6, which is characterized in that
Described the reason is that carrying and forbidding in the management frame when physical address of the terminal is illegal or physical address conflicts The terminal carries out the information of reconnection operation;
Described the reason is that the key handshake failure of the terminal or time-out, the instruction terminal weight is carried in the management frame The information of new input password;
Described the reason is that carrying the letter for indicating the terminal silence preset time period in the management frame when channel busy Breath.
9. device according to claim 7, which is characterized in that
Described the reason is that carrying instruction in the broken string management frame when not sending or receiving confirmation character ACK normally The terminal is switched to the information for connecting other access point apparatus.
10. device according to claim 7, which is characterized in that
Described first generates submodule, for carrying described in instruction in the status code Status Code for connecting back to multi-frame The information for the operation that terminal carries out;
Described second generates submodule, indicates institute for being carried the reason of the broken string management frame in code Reason Code State the information of the operation of terminal progress.
11. a kind of managing device of WIFI connection characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim requires the step in any one of 1 to 5 the method.
12. a kind of computer readable storage medium, is stored with computer instruction, which is characterized in that the computer instruction is located Manage the step realized in any one of claim 1 to 5 the method when device executes.
CN201811291439.9A 2018-10-31 2018-10-31 The management method and device of WIFI connection Pending CN109041268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811291439.9A CN109041268A (en) 2018-10-31 2018-10-31 The management method and device of WIFI connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811291439.9A CN109041268A (en) 2018-10-31 2018-10-31 The management method and device of WIFI connection

Publications (1)

Publication Number Publication Date
CN109041268A true CN109041268A (en) 2018-12-18

Family

ID=64614667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811291439.9A Pending CN109041268A (en) 2018-10-31 2018-10-31 The management method and device of WIFI connection

Country Status (1)

Country Link
CN (1) CN109041268A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862443A (en) * 2019-03-15 2019-06-07 四川长虹电器股份有限公司 A kind of scheme optimizing television set network settings
WO2022166418A1 (en) * 2021-02-05 2022-08-11 华为技术有限公司 Method and apparatus for sending or displaying network detection result
WO2023207223A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Multi-link reconfiguration method and device
AU2023203520B2 (en) * 2022-04-24 2024-02-08 Huawei Technologies Co., Ltd. Multi-link communication setup method and related apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581718A (en) * 2013-10-09 2015-04-29 中兴通讯股份有限公司 Method and system for realizing security access and wireless gateway equipment
CN105188058A (en) * 2015-09-25 2015-12-23 上海矽昌通信技术有限公司 Authentication method for performing identity recognition at WIFI (Wireless Fidelity) scanning stage
CN106302415A (en) * 2016-08-03 2017-01-04 杭州晟元数据安全技术股份有限公司 A kind of method verifying equipment validity and distribution automatic to legitimate device
CN106686590A (en) * 2015-11-10 2017-05-17 中兴通讯股份有限公司 Controlled terminal identification method, controlled terminal management method, controlled terminal identification device, controlled terminal management device and wireless access point equipment
EP3174363A1 (en) * 2015-11-26 2017-05-31 Alcatel Lucent Management system for detecting a wifi range extender
CN107864480A (en) * 2017-09-27 2018-03-30 枣庄学院 A kind of MAC protocol based on cognition audio technology
CN108494604A (en) * 2018-04-09 2018-09-04 深圳友讯达科技股份有限公司 Network management and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581718A (en) * 2013-10-09 2015-04-29 中兴通讯股份有限公司 Method and system for realizing security access and wireless gateway equipment
CN105188058A (en) * 2015-09-25 2015-12-23 上海矽昌通信技术有限公司 Authentication method for performing identity recognition at WIFI (Wireless Fidelity) scanning stage
CN106686590A (en) * 2015-11-10 2017-05-17 中兴通讯股份有限公司 Controlled terminal identification method, controlled terminal management method, controlled terminal identification device, controlled terminal management device and wireless access point equipment
EP3174363A1 (en) * 2015-11-26 2017-05-31 Alcatel Lucent Management system for detecting a wifi range extender
CN106302415A (en) * 2016-08-03 2017-01-04 杭州晟元数据安全技术股份有限公司 A kind of method verifying equipment validity and distribution automatic to legitimate device
CN107864480A (en) * 2017-09-27 2018-03-30 枣庄学院 A kind of MAC protocol based on cognition audio technology
CN108494604A (en) * 2018-04-09 2018-09-04 深圳友讯达科技股份有限公司 Network management and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862443A (en) * 2019-03-15 2019-06-07 四川长虹电器股份有限公司 A kind of scheme optimizing television set network settings
CN109862443B (en) * 2019-03-15 2020-06-30 四川长虹电器股份有限公司 Method for optimizing network setting of television
WO2022166418A1 (en) * 2021-02-05 2022-08-11 华为技术有限公司 Method and apparatus for sending or displaying network detection result
WO2023207223A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Multi-link reconfiguration method and device
AU2023203520B2 (en) * 2022-04-24 2024-02-08 Huawei Technologies Co., Ltd. Multi-link communication setup method and related apparatus

Similar Documents

Publication Publication Date Title
CN109041268A (en) The management method and device of WIFI connection
US11516880B2 (en) Session processing method and apparatus
US8184551B2 (en) Throughput-based rate adaptation for wireless transmissions
JP2019520750A (en) Method and apparatus for creating and using a roaming list based on a user roaming plan
US10681546B2 (en) Processing method for sim card equipped terminal access to 3GPP network and apparatus
US10285053B2 (en) System and method for reducing authentication signaling in a wireless network
US10716043B2 (en) Access point handover method and device
EP3393200A1 (en) Data transmission system, method, and device
CN102017677A (en) Access through non-3GPP access networks
WO2021031592A1 (en) Method and device for reporting user plane functional entity information, storage medium and electronic device
US10999736B2 (en) Communication method and related device
US11622268B2 (en) Secure communication method and secure communications apparatus
KR20200117003A (en) Method and device for determining the SSC mode
US20230048066A1 (en) Slice authentication method and apparatus
AU2017391782A1 (en) RLC layer status report control PDU transmitting method and related device
CN108243631A (en) A kind of method and apparatus for accessing network
CN112672336A (en) Method, communication device and communication system for realizing external authentication
US11606768B2 (en) Method and apparatus for registration
US11463873B2 (en) Communication method and device
CN113448744B (en) Application program selection method and device
US20200403788A1 (en) Information Sending Method, Key Generation Method, and Apparatus
CN110999256B (en) Communication method, terminal equipment and core network equipment
EP3035643B1 (en) Modem dialling method and wideband device
CN110139321A (en) A kind of configuration method and equipment of upstream data compression
WO2024104246A1 (en) Communication method and communication apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218