Summary of the invention
Given this, the invention provides a kind of control method, system and network equipment of access device of WIFI network, solveExisting WIFI network affects the technology of network service efficiency and user's experience and asks because low discharge terminal takies access interfaceTopic.
According to embodiments of the invention, a kind of control method of access device of WIFI network is provided, comprising: when connecingWhile entering equipment connection WIFI network, every the default real-time traffic that detects described access device detection time; Described in obtainingFlow in the described default detection time of access device; Judge whether the flow in described default detection time exceedes defaultFlow threshold; In the time judging that flow in described default detection time does not exceed preset flow threshold value, by described access deviceMAC Address and described WIFI network SSID name be reported to cloud AC; And described cloud AC receives described accessThe MAC Address of equipment and described WIFI network SSID name, and control described WIFI network disconnection and described accessThe network of equipment connects.
Preferably, describedly comprise every the default real-time traffic that detects described access device detection time: generates one and presetThe timer of timing cycle; The real-time traffic of access device described in while obtaining described customizer to each timing cycle; WithAnd in the time that arriving described default detection time, obtains described timer number of times when presetting the real-time streams of described access deviceAmount.
Preferably, the control method of the access device of described WIFI network also comprises: detect described access device with described inThe WIFI network of network connect hours; When described access device and described WIFI network of network connect hours being detected notWhile arriving described default detection time, obtain the flow of described access device; By the MAC Address of described access device, obtainThe described network connect hours of getting and the flow of described access device are reported to described cloud AC; Described cloud AC will receiveThe flow of MAC Address, described network connect hours and described access device of described access device send to described inThe new WIFI network of access device access; And described new WIFI network is by the described network connect hours receivingAnd the flow of described access device is updated to network connect hours and real-time traffic.
Preferably, the control method of the access device of described WIFI network also comprises: when judging described default detection timeWhen interior flow exceedes preset flow threshold value, continue the real-time traffic that detects described access device detection time every default.
Preferably, the control method of the access device of described WIFI network also comprises: be set described default detection time;And described preset flow threshold value is set.
According to a further embodiment of the invention, provide a kind of control system of access device of WIFI network, comprising: be realTime flow detection unit, for detect described access every default detection time in the time having access device to connect WIFI networkThe real-time traffic of equipment; Flow acquiring unit, for obtaining the institute of described access device at described real-time traffic detecting unitState the flow in default detection time; Judging unit, for the described default detection that judges that described flow acquiring unit is obtainedWhether the flow in the time exceedes preset flow threshold value; Report unit, for judging described default inspection when described judging unitWhen flow in the survey time does not exceed preset flow threshold value by the MAC Address of described access device and described WIFI networkSSID name is reported to cloud AC; And cloud AC, for receiving MAC Address and the described WIFI of described access deviceNetwork SSID name, and control described WIFI network and disconnect and being connected with the network of described access device.
Preferably, described real-time traffic detecting unit comprises: timer generation module, and for generating a week while presettingThe timer of phase; Real-time traffic acquisition module, accesses described in when obtaining described customizer to each timing cycle and establishesDescribed in obtaining when when standby real-time traffic and described timer process preset, number of times arrives described default detection time, connectEnter the real-time traffic of equipment.
Preferably, the control system of the access device of described WIFI network also comprises connect hours detecting unit and newWIFI network, described connect hours detecting unit is connected with described WIFI network of network for detection of described access deviceTime, when described connect hours detecting unit detects described access device and described WIFI network of network connect hoursWhile not arriving described default detection time, obtain the flow of described access device, described in report unit also for by described accessThe flow of the MAC Address of equipment, the described network connect hours of obtaining and described access device is reported to described cloudAC, described cloud AC also for by the MAC Address of the described access device receiving, described network connect hours andThe flow of described access device sends to the new WIFI network of described access device access, and described new WIFI network is usedIn the flow of the described network connect hours receiving and described access device is updated to network connect hours and real-time streamsAmount.
Preferably, the control system of the access device of described WIFI network also comprises setting unit, for setting in advanceState default detection time and described preset flow threshold value.
According to still another embodiment of the invention, provide a kind of network equipment, the described network equipment comprises above-mentioned WIFIThe 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, by access device in advanceIf the flow in detection time and preset flow threshold value compare, to judge low discharge access device and to control by cloud ACWIFI network disconnects and being connected with the network of access device, and low discharge access device lower real-time radio network demand is passed throughCloud AC controls and disconnects network, is really had the equipment of wireless network demand that access interface is provided, and has improved making of wireless networkBy efficiency, the user who has promoted WIFI network experiences.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, technical scheme of the present invention is made to further more detailed description. Obviously,Described embodiment is only a part of embodiment of the present invention, instead of whole embodiment. Based in the present inventionEmbodiment, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work,All should belong to the scope of protection of the invention.
In description of the invention, it will be appreciated that, term " first ", " second " etc. are only for describing object, and notCan be interpreted as instruction or hint relative importance. In description of the invention, it should be noted that, unless separately had clear and definiteRegulation and restriction, term " is connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also canDismounting connects, or connects integratedly; Can be mechanical connection, can be also electrical connection; Can be to be directly connected, also canTo be indirectly connected by intermediary. For the ordinary skill in the art, on can understanding in conjunction with concrete conditionState term concrete meaning in the present invention. In addition,, in description of the invention, except as otherwise noted, " multiple " containJustice is two or more.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise oneIndividual or more for realizing module, fragment or the portion of code of executable instruction of step of specific logical function or processPoint, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to shown or discussSequentially, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be byEmbodiments of the invention person of ordinary skill in the field understand.
Fig. 1 is the schematic flow sheet of the control method of the access device of WIFI network in one embodiment of the invention. As scheme instituteShow, the control method of the access device of described WIFI network, comprising:
Step S101: in the time having access device to connect WIFI network, detect described access device every default detection timeReal-time traffic.
In the present embodiment, described WIFI network is established by the Access Control of cloud AC (AccessControl) WLANFor wireless access point AP (AccessPoint) is carried out to network control and parameter configuration, there is the electricity of WIFI communication moduleSub-terminal can be authenticated or directly be accessed WIFI wireless network without certification by Portal.
Referring to Fig. 2, described every the default real-time traffic that detects described access device detection time, comprising:
Step S201: the timer that generates a default timing cycle.
In the time having detected that access device connects described WIFI network, start to generate the timer of a default timing cycle,It is 30 seconds such as setting in advance timing cycle.
Step S202: the real-time traffic of access device described in while obtaining described customizer to each timing cycle.
For example, described timer, in the times of 30 seconds, 60 seconds, 120 seconds of each timing cycle etc., obtains respectively described accessEquipment is at the real-time traffic of each timing cycle, such as 20KB, 350KB and 500KB etc.
Step S203: obtain described access when number of times arrives described default detection time in the time that described timer process presetsThe real-time traffic of equipment.
In the present embodiment, can set in advance detection time is 5 minutes, and described like this timer need to be through 10 timingsCycle just can reach default detection time.
Step S102: obtain the flow in described default detection time of described access device.
Wherein, in the time that 10 timing cycles of described timer arrival meet described default detection time, while obtaining described detectionBetween flow in 5 minutes, such as 5 minutes flows are 4000KB.
Step S103: judge whether the flow in described default detection time exceedes preset flow threshold value.
In the present embodiment, judge whether the flow in described default detection time exceedes preset flow threshold value, such as judgementWithin 5 minutes, whether flow 4000KB exceedes preset flow threshold value 5120KB. Wherein, described default detection time, timerTiming cycle and preset flow threshold value all can set in advance flexibly according to actual needs. By judging described default detectionFlow in time, judges whether described access device is temporarily the not high low discharge of described WIFI network demand to be establishedStandby.
Step S104: in the time judging that flow in described default detection time does not exceed preset flow threshold value, by described accessThe MAC Address of equipment and described WIFI network SSID name are reported to cloud AC.
In the present embodiment, when judging that 5 minutes flow 4000KB are while not exceeding preset flow threshold value 5120KB,Judge that described access device is the temporary transient low discharge equipment not high to described WIFI network demand, described in improvingThe service efficiency of WIFI network, facilitates other terminal equipment access networks that has real real-time network demand, described in can obtainingPhysics MAC (MediaAccessControl) address of access device and the service set SSID of described network(ServiceSetIdentifier) title, and be reported to cloud AC to seek wireless network control.
Certainly,, in the time judging that flow in described default detection time exceedes preset flow threshold value, judge that described access establishesStandby is low discharge equipment compared with high equipment and not to described WIFI network demand, can continue to keep described access device withThe network of described WIFI connects, and returns to step S101 and continue the reality that detects described access device detection time every defaultShi Liuliang, to judge whether described access device becomes low discharge in subsequent network is used.
Step S105: described cloud AC receives MAC Address and the described WIFI network SSID name of described access device,And control described WIFI network and disconnect and being connected with the network of described access device.
In the control method of the access device of the WIFI of the present embodiment network, by access device within default detection timeFlow and preset flow threshold value compare, to judge low discharge access device and to control WIFI network by cloud ACDisconnect and being connected with the network of access device, low discharge access device lower real-time radio network demand is controlled by cloud ACSystem disconnects network, is really had the equipment of wireless network demand that access interface is provided, and has improved the service efficiency of wireless network,The user who has promoted WIFI network experiences.
Fig. 3 is the schematic flow sheet of the control method of the access device of WIFI network in another embodiment of the present invention. AsShown in figure, the control method of the access device of described WIFI network, comprising:
Step S301: detect described access device and described WIFI network of network connect hours.
In the present embodiment, from detecting that described access device is connected to described WIFI network and starts to arrive each described pre-If the computing network connect hours when time cycle.
Step S302: described pre-when detecting that described access device and described WIFI network of network connect hours do not arriveIf obtain the flow of described access device when detection time.
In the present embodiment, when detecting that the network connect hours of described access device is within 4 minutes, not reach described default inspectionWhen 5 minutes survey time, for by described access device, at described WIFI network, the flow in during this period of time roams into otherIn the new WIFI network being connected to subsequently, obtain described access device and be connected to described WIFI network from starting to disconnectionFlow during this time.
Step S303: by the MAC Address of described access device, the described network connect hours of obtaining and described accessThe flow of equipment is reported to described cloud AC.
In the present embodiment, new to another one from a WIFI network in order to realize described access device flow informationThe roaming of WIFI equipment also re-uses previous described flow information, and described WIFI network is by described access deviceThe flow of MAC Address, the described network connect hours of obtaining and described access device form packet and be reported to described inCloud AC, these flow informations are stored in high in the clouds by described cloud AC.
Step S304: described cloud AC is by the MAC Address of the described access device receiving, described network connect hoursAnd the flow of described access device sends to the new WIFI network of described access device access.
When detecting the access device of described MAC Address, described cloud AC is connected to again the service set of new networkWhen SSIDWIFI network, described in described cloud AC sends to the flow information of the described access device of previous high in the clouds storageThe WIFI network of new SSID.
Step S305: described new WIFI network is by the described network connect hours receiving and described access deviceFlow is updated to network connect hours and real-time traffic.
In the control method of the access device of the WIFI of the present embodiment network, in the time that the WIFI of access device network connectsBetween when not reaching described default detection time and being connected to subsequently new WIFI network, by cloud AC by previous WIFIThe flow information of network connect hours and access device roams into new WIFI network, makes new WIFI network profit againWith the previous WIFI network traffic information of access device of MAC Address, realize WIFI network traffic information in differenceThe internetwork roaming of WIFI, and the judgement to low discharge access device utilize above-described embodiment in new WIFI network inRule, the judgement that realizes low discharge access device between different WIFI networks is connected with disconnection network, has improved WIFI networkUtilization ratio and the user of WIFI network experience.
Fig. 4 is the structural representation of the control system 100 of the access device of WIFI network in one embodiment of the invention.As shown in the figure, the control system 100 of the access device of described WIFI network comprises real-time traffic detecting unit 10, flowAcquiring unit 20, judging unit 30, report unit 40 and cloud AC50.
In the present embodiment, described WIFI network is by cloud AC50 (AccessControl) WLAN access controlControl equipment carries out network control and parameter configuration to wireless access point AP (AccessPoint), has WIFI communication moduleElectric terminal can authenticate or without directly access WIFI wireless network of certification by Portal.
Wherein, described real-time traffic detecting unit 10 for detecting every default in the time having access device to connect WIFI networkThe real-time traffic of access device described in time detecting. Refer to Fig. 4, described real-time traffic detecting unit 10 comprises timerGeneration module 101 and real-time traffic acquisition module 102.
In the time having detected that access device connects described WIFI network, described timer generation module 101 starts to generate oneThe timer of individual default timing cycle is 30 seconds such as setting in advance timing cycle. Described real-time traffic acquisition module 102,Real-time traffic and the described timer warp of access device described in while arriving each timing cycle for obtaining described customizerCross the real-time traffic that obtains described access device when number of times while presetting arrives described default detection time. For example, described fixedTime device in the times of 30 seconds, 60 seconds, 120 seconds of each timing cycle etc., described real-time traffic acquisition module 102 obtains respectivelyDescribed access device at the real-time traffic of each timing cycle such as 20KB, 350KB and 500KB etc. At the present embodimentIn, can set in advance detection time by setting unit is 5 minutes, described like this timer need to be through 10 timing weeksPhase just can reach default detection time.
Described flow acquiring unit 20, for obtaining described access device described in described real-time traffic detecting unit 10Flow in default detection time. In the time that 10 timing cycles of described timer arrival meet described default detection time, instituteState flow acquiring unit 20 and obtain the flow in described 5 minutes detection times, such as 5 minutes flows are 4000KB.
Described judging unit 30, for judging the stream in the described default detection time that described flow acquiring unit 20 obtainsWhether amount exceedes preset flow threshold value. In the present embodiment, described judging unit 30 judged in described default detection timeWhether flow exceedes preset flow threshold value, such as judging whether 5 minutes flow 4000KB exceed preset flow threshold value5120KB. Wherein, the timing cycle of described default detection time, timer and preset flow threshold value all can be according to realityNeed to arrange flexibly in advance by unit. Judge the stream in described default detection time by described judging unit 30Amount, judges whether described access device is the temporary transient low discharge equipment not high to described WIFI network demand.
The described unit 40 that reports is for judging that when described judging unit 30 flow in described default detection time does not exceed in advanceIf the MAC Address of described access device and described WIFI network SSID name are reported to cloud AC50 when flow threshold.In the present embodiment, when judging 5 minutes flow 4000KB, described judging unit 30 do not exceed preset flow threshold valueWhen 5120KB, judge that described access device is the temporary transient low discharge equipment not high to described WIFI network demand, forImprove the service efficiency of described WIFI network, facilitate other terminal equipment access networks that has real real-time network demand,Described physics MAC (MediaAccessControl) address and the institute that reports unit 40 can obtain described access deviceState service set SSID (ServiceSetIdentifier) title of network, and be reported to cloud AC50 wireless to seekNetwork control.
Certainly, when the flow in described judging unit 30 judges described default detection time exceedes preset flow threshold value,Judge that described access device is not is low discharge equipment to described WIFI network demand compared with high equipment, can continue to keepDescribed access device is connected with the network of described WIFI, and returns to described real-time traffic detecting unit 10 and continue every defaultDetect the real-time traffic of described access device detection time, to judge that by described judging unit 30 described access device is rearDuring using, continuous network whether becomes low discharge.
Described cloud AC50, for receiving MAC Address and the described WIFI network SSID name of described access device,And control described WIFI network and disconnect and being connected with the network of described access device.
In the control system 100 of the access device of the WIFI of the present embodiment network, by judging unit 30, access is establishedStandby flow and preset flow threshold value within default detection time compares, to judge low discharge access device and to pass through cloudAC50 controls the disconnection of WIFI network and is connected with the network of access device, by low discharge lower real-time radio network demandAccess device is controlled and is disconnected network by cloud AC50, is really had the equipment of wireless network demand that access interface is provided, and carriesThe high service efficiency of wireless network, the user who has promoted WIFI network experiences.
Fig. 6 is the structural representation of the control system 100 of the access device of WIFI network in another embodiment of the present invention.As shown in the figure, on the basis of above-described embodiment, the control system 100 of the access device of described WIFI network comprises realityTime flow detection unit 10, flow acquiring unit 20, judging unit 30, report unit 40, cloud AC50, while connectingBetween detecting unit 60 and new WIFI network 70.
In the present embodiment, described connect hours detecting unit 60, is connected with the described unit 40 that reports, for from detectWhen being connected to described WIFI network and starting to arrive each described preset time period to described access device, computing network connectsTime. In the time that described connect hours detecting unit 60 detects that described access device is connected with described WIFI network of networkBetween obtain the flow of described access device while not arriving described default detection time. In the present embodiment, described in detectThe network connect hours of access device is while within 4 minutes, not reaching 5 minutes described default detection times, for by described accessAt described WIFI network, the flow in during this period of time roams into 70 li, the new WIFI network that other are connected to subsequently to equipment,Described connect hours detecting unit 60 obtains described access device and is connected to described WIFI network from starting to off periodFlow.
Wherein, described in, report unit 40 also for the MAC Address of described access device, the described network that obtains are connectedThe flow of time and described access device is reported to described cloud AC50. In the present embodiment, in order to realize described accessThe roaming of equipment flow information from a WIFI network to the new WIFI equipment 70 of another one also re-uses previousDescribed flow information, described in while reporting unit 40 that the MAC Address of described access device, the described network that obtains are connectedBetween and the flow of described access device form packet and be reported to described cloud AC50, described cloud AC50 flows theseAmount information is stored in high in the clouds.
Described cloud AC50 also for by the MAC Address of the described access device receiving, described network connect hours withAnd the flow of described access device sends to the new WIFI network of described access device access, described new WIFI network70 for the flow of the described network connect hours receiving and described access device is updated to the network connect hours andReal-time traffic. When detecting the access device of described MAC Address, described cloud AC50 is connected to again the service of new networkWhen set identifier SSIDWIFI network 70, described cloud AC50 is by the flow letter of the described access device of previous high in the clouds storageBreath sends to the WIFI network 70 of described new SSID.
In the control system 100 of the access device of the WIFI of the present embodiment network, when the WIFI of access device network connectsThe time that connects does not reach described default detection time and while being connected to subsequently new WIFI network, will be first by cloud AC50The flow information of front WIFI network connect hours and access device roams into new WIFI network 70, makes new WIFINetwork 70 re-uses the previous WIFI network traffic information of access device of MAC Address, has realized WIFI network flowAmount information is in the internetwork roaming of different WIFI, and utilize above-described embodiment in new WIFI network 70 in to low streamThe decision rule of amount access device, the judgement that realizes low discharge access device between different WIFI networks is connected with disconnection network,Having improved the utilization ratio of WIFI network and the user of WIFI network experiences.
Be understandable that, the control system 100 of the access device of described WIFI network can be used alone, also can embeddingEnter in the network equipment and use, realize the Access Control of WIFI network.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination. Above-mentionedIn embodiment, multiple steps or method can be with being stored in carry out in memory and by suitable instruction execution system softPart or firmware are realized. For example, if realized with hardware, with the same in another embodiment, available this area public affairsAny one in the following technology of knowing or their combination realize: have for data-signal being realized to patrolling of logic functionCollect the discrete logic of gate circuit, there is the special IC of suitable combinational logic gate circuit, programmable gate array(PGA), field programmable gate array (FPGA) etc.
In the description of this description, reference term " embodiment ", " some embodiment ", " example ", " concrete example ",Or the description such as " some examples " means specific features, structure, material or the feature bag described in conjunction with this embodiment or exampleBe contained at least one embodiment of the present invention or example. In this manual, the schematic statement of above-mentioned term is differedSurely refer to identical embodiment or example. And specific features, structure, material or the feature of description can be in officeIn what one or more embodiment or example with suitable mode combination.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: not de-In the situation of principle of the present invention and aim, can carry out multiple variation, amendment, replacement and modification to these embodiment,Scope of the present invention is limited by claim and equivalent thereof.