Summary of the invention
In consideration of it, the present invention provides the control method, system and the network equipment of a kind of access device of WIFI network, solve
The technical issues of existing WIFI network influences Web vector graphic efficiency and user experience due to low discharge terminal occupancy access interface.
According to an embodiment of the invention, providing a kind of control method of the access device of WIFI network, comprising: when there is access
When equipment connects WIFI network, the real-time traffic of the access device is detected every default detection time;The access is obtained to set
Flow in the standby default detection time;Judge whether the flow in the default detection time is more than preset flow threshold
Value;When judging that the flow in the default detection time is less than preset flow threshold value, by the MAC Address of the access device
Cloud AC is reported to the WIFI network SSID name;And the cloud AC receives the MAC Address of the access device and described
WIFI network SSID name, and control the network connection of the WIFI network disconnection and the access device.
Preferably, the real-time traffic for detecting the access device every default detection time includes: to generate one in advance
If the timer of timing cycle;The real-time traffic of access device when obtaining the timer to each timing cycle;With
And when the timer by it is presetting when number reach the default detection time when obtain the real-time streams of the access device
Amount.
Preferably, the control method of the access device of the WIFI network further include: detect the access device with it is described
The network attachment time of WIFI network;When detecting that the access device and the network attachment time of the WIFI network do not reach
The flow of the access device is obtained when the default detection time;By the MAC Address of the access device, the net of acquisition
The flow of network Connection Time and the access device is reported to the cloud AC;The access device that the cloud AC will be received
MAC Address, the network attachment time and the access device flow be sent to the new of the access device access
WIFI network;And the new WIFI network is by the network attachment time received and the flow of the access device
It is updated to network attachment time and real-time traffic.
Preferably, the control method of the access device of the WIFI network further include: when judging the default detection time
When interior flow is more than preset flow threshold value, continue to detect the real-time traffic of the access device every default detection time.
Preferably, the control method of the access device of the WIFI network further include: the setting default detection time;With
And the setting preset flow threshold value.
According to a further embodiment of the invention, a kind of control system of the access device of WIFI network is provided, comprising: in real time
Flow detection unit, for detecting the access device every default detection time when there is access device to connect WIFI network
Real-time traffic;Flow acquiring unit, for obtaining the access device in the default inspection of the real-time traffic detection unit
Survey the flow in the time;Judging unit, the stream in the default detection time for judging the flow acquiring unit acquisition
Whether amount is more than preset flow threshold value;Reporting unit, for judging the stream in the default detection time when the judging unit
The MAC Address of the access device and the WIFI network SSID name are reported into cloud when amount is less than preset flow threshold value
AC;And cloud AC, for receive the access device MAC Address and the WIFI network SSID name, and control described in
WIFI network disconnects the network connection with the access device.
Preferably, the real-time traffic detection unit includes: timer generation module, for generate one it is presetting when week
The timer of phase;Real-time traffic obtains module, access device when for obtaining the timer to each timing cycle
Real-time traffic and the timer by it is presetting when number reach the default detection time when obtain it is described access set
Standby real-time traffic.
Preferably, the control system of the access device of the WIFI network further includes Connection Time detection unit and new
WIFI network, when the Connection Time detection unit is used to detect the access device network connection with the WIFI network
Between, when the Connection Time detection unit detects that the access device and the network attachment time of the WIFI network do not reach
The flow of the access device is obtained when the default detection time, the reporting unit is also used to the access device
The flow of MAC Address, the network attachment time of acquisition and the access device is reported to the cloud AC, and the cloud AC is also
For the flow of the MAC Address of the access device received, the network attachment time and the access device to be sent out
The new WIFI network of the access device access is given, the new WIFI network is used for the network connection that will be received
The flow of time and the access device is updated to network attachment time and real-time traffic.
Preferably, the control system of the access device of the WIFI network further includes setting unit, for presetting
State default detection time and the preset flow threshold value.
According to still another embodiment of the invention, a kind of network equipment is provided, the network equipment includes above-mentioned WIFI
The control system of the access device of network.
Control method, system and the network equipment of the access device of WIFI network provided by the invention, access device is existed
Flow in default detection time is compared with preset flow threshold value, to determine low discharge access device and be controlled by cloud AC
WIFI network disconnects the network connection with access device, and the lower low discharge access device of real-time radio network demand is passed through cloud
AC control disconnects network, provides access interface to the equipment for really having wireless network demand, improves the use effect of wireless network
Rate improves the user experience of WIFI network.
Specific embodiment
Further more detailed description is made to technical solution of the present invention with reference to the accompanying drawings and detailed description.It is aobvious
So, described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art's every other embodiment obtained without creative labor,
It all should belong to the scope of protection of the invention.
In the description of the present invention, it is to be understood that, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In the description of the present invention, it should be noted that unless otherwise specific regulation
And restriction, term " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection,
Or it is integrally connected;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, intermediary can also be passed through
It is indirectly connected.For the ordinary skill in the art, above-mentioned term can be understood in the present invention in conjunction with concrete condition
Concrete meaning.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " plurality " is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Fig. 1 is the flow diagram of the control method of the access device of WIFI network in one embodiment of the invention.Such as figure
It is shown, the control method of the access device of the WIFI network, comprising:
Step S101: when there is access device to connect WIFI network, the access device is detected every default detection time
Real-time traffic.
In the present embodiment, the WIFI network is set by the access control of cloud AC (Access Control) WLAN
Standby to carry out network-control and parameter configuration to wireless access point AP (Access Point), the electronics with WIFI communication module is whole
End can be authenticated by Portal or be directly accessed WIFI wireless network without certification.
Referring to fig. 2, the real-time traffic that the access device is detected every default detection time, comprising:
Step S201: the timer of a default timing cycle is generated.
When having detected that access device connects the WIFI network, start the timing for generating a default timing cycle
Device, for example presetting timing cycle is 30 seconds.
Step S202: the real-time traffic of access device when obtaining the timer to each timing cycle.
It is set for example, the timer at 30 seconds, 60 seconds, 120 seconds etc. of each timing cycle, obtains the access respectively
Standby real-time traffic, such as 20KB, 350KB and 500KB etc. in each timing cycle.
Step S203: when the timer by it is presetting when number reach the default detection time when obtain described in connect
Enter the real-time traffic of equipment.
In the present embodiment, it is 5 minutes that detection time, which can be preset, and the timer described in this way is needed by 10 timings
Period can be only achieved preset detection time.
Step S102: the flow in the default detection time of the access device is obtained.
Wherein, when the timer, which reaches 10 timing cycles, meets the default detection time, the detection is obtained
Flow in 5 minutes time, such as 5 minutes flows are 4000KB.
Step S103: judge whether the flow in the default detection time is more than preset flow threshold value.
In the present embodiment, judge whether the flow in the default detection time is more than preset flow threshold value, for example sentence
Whether disconnected 5 minutes flow 4000KB are more than preset flow threshold value 5120KB.Wherein, the default detection time, timer are determined
When the period and preset flow threshold value all can flexibly preset according to actual needs.By judging in the default detection time
Flow, to determine whether the access device is low discharge equipment temporarily not high to the WIFI network demand.
Step S104: it when judging that the flow in the default detection time is less than preset flow threshold value, is connect described
The MAC Address and the WIFI network SSID name for entering equipment are reported to cloud AC.
In the present embodiment, when judging that 5 minutes flow 4000KB are and are less than preset flow threshold value 5120KB, then sentence
The fixed access device is low discharge equipment temporarily not high to the WIFI network demand, in order to improve the WIFI network
Service efficiency facilitates other to have the terminal equipment access network of real real-time network demand, can obtain the object of the access device
Manage service set SSID (the Service Set of the address (MediaAccess Control) MAC and the network
Identifier) title, and be reported to cloud AC to seek wireless network control.
Certainly, when judging that the flow in the default detection time is more than preset flow threshold value, then determine the access
Equipment is to the higher equipment of WIFI network demand and not low discharge equipment, can continue to keep the access device and institute
The network connection of WIFI is stated, and return step S101 continues to detect the real-time streams of the access device every default detection time
Amount, to judge whether the access device becomes low discharge in subsequent network.
Step S105: the cloud AC receives the MAC Address of the access device and the WIFI network SSID name, and controls
Make the network connection of the WIFI network disconnection and the access device.
In the control method of the access device of the WIFI network of the present embodiment, by access device in default detection time
Flow be compared with preset flow threshold value, with determine low discharge access device and by cloud AC control WIFI network disconnect with
The lower low discharge access device of real-time radio network demand is disconnected net by cloud AC control by the network connection of access device
Network provides access interface to the equipment for really having wireless network demand, improves the service efficiency of wireless network, improve WIFI
The user experience of network.
Fig. 3 is the flow diagram of the control method of the access device of WIFI network in another embodiment of the present invention.Such as
Shown in figure, the control method of the access device of the WIFI network, comprising:
Step S301: the network attachment time of the access device Yu the WIFI network is detected.
In the present embodiment, it is reached since detecting that the access device is connected to the WIFI network each described pre-
If calculating network attachment time when the time cycle.
Step S302: when detecting that it is described pre- that network attachment time of the access device with the WIFI network does not reach
If obtaining the flow of the access device when detection time.
In the present embodiment, when the network attachment time for detecting the access device is 4 minutes not up to described default
At detection time 5 minutes, in order to by flow of the access device within the WIFI network this period roam into other with
In the new WIFI network being connected to afterwards, obtains the access device and be connected to the WIFI network from starting to during disconnection
Flow.
Step S303: the MAC Address of the access device, the network attachment time of acquisition and the access are set
Standby flow is reported to the cloud AC.
In the present embodiment, in order to realize that the access device flow information is from a WIFI network to another new
The roaming of WIFI equipment simultaneously re-uses the previous flow information, and the WIFI network is by the MAC of the access device
The flow of location, the network attachment time of acquisition and the access device forms data packet and is reported to the cloud AC, institute
Cloud AC is stated to store these flow informations beyond the clouds.
Step S304: the cloud AC by the MAC Address of the access device received, the network attachment time and
The flow of the access device is sent to the new WIFI network of the access device access.
When the cloud AC detects that the access device of the MAC Address is connected to the service set SSID of new network
When WIFI network, the cloud AC sends the new SSID's for the flow information for the access device that previous cloud stores
WIFI network.
Step S305: the new WIFI network is by the network attachment time received and the access device
Flow is updated to network attachment time and real-time traffic.
In the control method of the access device of the WIFI network of the present embodiment, when the connection of the WIFI network of access device
Between and the not up to described default detection time and when being subsequently attached to new WIFI network, previous WIFI network is connected by cloud AC
The flow information for connecing time and access device roams into new WIFI network, and new WIFI network is made to re-use MAC Address
The previous WIFI network flow information of access device, realize roaming of the WIFI network flow information between different WIFI networks,
And using to the decision rule of low discharge access device, realizing different WIFI networks in above-described embodiment in new WIFI network
Between low discharge access device judgement and disconnect network connection, improve the utilization efficiency of WIFI network and the user of WIFI network
Experience.
Fig. 4 is the structural schematic diagram of the control system 100 of the access device of WIFI network in one embodiment of the invention.Such as
Shown in figure, the control system 100 of the access device of the WIFI network includes real-time traffic detection unit 10, flow acquiring unit
20, judging unit 30, reporting unit 40 and cloud AC 50.
In the present embodiment, the WIFI network passes through the access control of (Access Control) WLAN of cloud AC 50
Control equipment carries out network-control and parameter configuration to wireless access point AP (Access Point), the electricity with WIFI communication module
Sub- terminal can be authenticated by Portal or be directly accessed WIFI wireless network without certification.
Wherein, the real-time traffic detection unit 10 is used for when there is access device to connect WIFI network every default detection
Time detects the real-time traffic of the access device.Fig. 4 is referred to, the real-time traffic detection unit 10 is generated including timer
Module 101 and real-time traffic obtain module 102.
When having detected that access device connects the WIFI network, the timer generation module 101 starts generation one
The timer of a default timing cycle, for example presetting timing cycle is 30 seconds.The real-time traffic obtains module 102, uses
The real-time traffic of the access device and the timer are by advance when obtaining the timer and arriving each timing cycle
The real-time traffic of the access device is obtained when number reaches the default detection time when setting.For example, the timer exists
Ats 30 seconds, 60 seconds, 120 seconds etc. of each timing cycle, the real-time traffic obtains module 102 and obtains the access device respectively
In real-time traffic such as 20KB, 350KB and 500KB etc. of each timing cycle.It in the present embodiment, can be pre- by setting unit
First setting detection time is 5 minutes, when the timer described in this way needs to can be only achieved preset detection by 10 timing cycles
Between.
The flow acquiring unit 20, for obtaining the access device described in the real-time traffic detection unit 10
Flow in default detection time.It is described when the timer, which reaches 10 timing cycles, meets the default detection time
Flow acquiring unit 20 obtains the flow in the detection time 5 minutes, for example 5 minutes flows are 4000KB.
The judging unit 30, the stream in the default detection time for judging the acquisition of flow acquiring unit 20
Whether amount is more than preset flow threshold value.In the present embodiment, the judging unit 30 judges the stream in the default detection time
Whether amount is more than preset flow threshold value, for example judges whether 5 minutes flow 4000KB are more than preset flow threshold value 5120KB.Its
In, the default detection time, the timing cycle of timer and preset flow threshold value can all pass through equipment according to actual needs
The preparatory flexible setting of unit.The flow in the default detection time is judged by the judging unit 30, to determine described connect
Enter whether equipment is low discharge equipment temporarily not high to the WIFI network demand.
The reporting unit 40 is used to judge that the flow in the default detection time is less than when the judging unit 30
The MAC Address of the access device and the WIFI network SSID name are reported into cloud AC 50 when preset flow threshold value.At this
In embodiment, when the judging unit 30 judges that 5 minutes flow 4000KB are and are less than preset flow threshold value 5120KB, then
Determine that the access device is low discharge equipment temporarily not high to the WIFI network demand, in order to improve the WIFI network
Service efficiency, facilitate other to have the terminal equipment access network of real real-time network demand, the reporting unit 40 can obtain
The address (MediaAccess Control) physics MAC of the access device and the service set SSID of the network
(Service Set Identifier) title, and be reported to cloud AC 50 to seek wireless network control.
Certainly, when the judging unit 30 judges that the flow in the default detection time is more than preset flow threshold value,
Then determine that the access device is to the higher equipment of WIFI network demand and not low discharge equipment, can continue to keep institute
The network connection of access device Yu the WIFI is stated, and returns to the real-time traffic detection unit 10 and continues when default detection
Between detect the real-time traffic of the access device, to judge that the access device makes in subsequent network by the judging unit 30
Whether become low discharge in.
The cloud AC 50, for receive the access device MAC Address and the WIFI network SSID name, and control
Make the network connection of the WIFI network disconnection and the access device.
In the control system 100 of the access device of the WIFI network of the present embodiment, access is set by judging unit 30
The standby flow in default detection time is compared with preset flow threshold value, to determine low discharge access device and by cloud AC
50 control WIFI networks disconnect the network connection with access device, by the lower low discharge access device of real-time radio network demand
It is controlled by cloud AC 50 and disconnects network, provided access interface to the equipment for really having wireless network demand, improve wireless network
Service efficiency, improve the user experience of WIFI network.
Fig. 6 is the structural schematic diagram of the control system 100 of the access device of WIFI network in another embodiment of the present invention.
As shown, on the basis of the above embodiments, the control system 100 of the access device of the WIFI network includes real-time traffic
Detection unit 10, flow acquiring unit 20, judging unit 30, reporting unit 40, cloud AC 50, Connection Time detection unit 60 with
And new WIFI network 70.
In the present embodiment, the Connection Time detection unit 60 is connect with the reporting unit 40, for from detecting
The access device is connected to when the WIFI network starts to reach each preset period of time and calculates network attachment time.
When the Connection Time detection unit 60 detects that the access device and the network attachment time of the WIFI network do not reach
The flow of the access device is obtained when the default detection time.In the present embodiment, when detecting the access device
Network attachment time be 4 minutes not up to the default detection time 5 minutes when, in order to by the access device in the WIFI
Flow in network this period roams into the new WIFI network 70 that other are subsequently attached to, and the Connection Time detection is single
Member 60 obtains the access device and is connected to the WIFI network from starting the flow during disconnection.
Wherein, the reporting unit 40 be also used to by the MAC Address of the access device, acquisition the network connection when
Between and the flow of the access device be reported to the cloud AC 50.In the present embodiment, in order to realize the access device stream
Information is measured from a WIFI network to the roaming of another new WIFI equipment 70 and re-uses previous flow letter
Breath, the reporting unit 40 set the MAC Address of the access device, the network attachment time of acquisition and the access
Standby flow forms data packet and is reported to the cloud AC 50, and the cloud AC 50 stores these flow informations beyond the clouds.
The MAC Address of the access device that the cloud AC 50 is also used to receive, the network attachment time and
The flow of the access device is sent to the new WIFI network of the access device access, and the new WIFI network 70 is used for
The flow of the network attachment time received and the access device is updated to network attachment time and real-time traffic.
When the cloud AC 50 detects that the access device of the MAC Address is connected to the service set SSID WIFI of new network
When network 70, the flow information for the access device that previous cloud stores is sent the new SSID by the cloud AC 50
WIFI network 70.
In the control system 100 of the access device of the WIFI network of the present embodiment, when the WIFI network of access device connects
It, will be previous by cloud AC 50 when connecing the time and the not up to described default detection time and being subsequently attached to new WIFI network
The flow information of WIFI network Connection Time and access device roams into new WIFI network 70, makes new 70 weight of WIFI network
The new previous WIFI network flow information of access device for utilizing MAC Address, realizes WIFI network flow information in different WIFI
Internetwork roaming, and in new WIFI network 70 using in above-described embodiment to the decision rule of low discharge access device,
It realizes the judgement of low discharge access device between different WIFI networks and disconnects network connection, improve the utilization efficiency of WIFI network
With the user experience of WIFI network.
It is understood that the control system 100 of the access device of the WIFI network can be used alone, can also be embedded in
It is used into the network equipment, realizes the access control of WIFI network.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The descriptions such as example " or " some examples " mean particular features, structures, materials, or characteristics described in conjunction with this embodiment or example
It is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are different
Surely identical embodiment or example is referred to.Moreover, particular features, structures, materials, or characteristics described can be any
It can be combined in any suitable manner in one or more embodiment or examples.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not
A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this
The range of invention is defined by the claims and their equivalents.