The control method and system of a kind of shared bandwidth of wireless deviceTechnical field
The present invention relates to wireless communication field, more particularly to a kind of wireless device shares the control method of bandwidth and isSystem.
Background technology
With the popularization of mobile Internet and smart machine, network has been increasingly becoming an essential infrastructure.Mobile Internet is penetrated into the life and work of people gradually, and everyone will inevitably receive substantial amounts of information daily, butThe transmission of information is final or to be attributed to the configuration of infrastructure network.Although the configuration of infrastructure network is being carried graduallyRise, but reach the level that user wants and need for the not short time.WiFi is used as a kind of wireless communication technology, extensive useIn airport, office, the place such as family, compared to other wireless technologys, WiFi has following technical advantage:Transmission rate is high, althoughLimited by wireless transmission signal intensity etc., actual speed rate does not reach preferable speed, but remain above major part and be wirelessly transferred, andPart cable network;The equipment of support is more, almost all of notebook computer all can built-in WiFi module, many middle and high endsPDA, mobile phone also supports WiFi, and on airport, there is AP (AccessPoint) in office building, the place such as cafe, and it is convenient to access.In family lan, router turns into the central module that all mobile devices, smart home connect network.Under existing environment,The equipment of networking is needed in one family, school, company or cell includes mobile phone, notebook, panel computer, desktop computer, intelligenceCan TV etc., to hundreds of thousands of, the network bandwidth that one family can be used is limited from several, but to the need of bandwidthAsks but be to be continuously increased.How Internet resources assignment problem multiple network equipment under is solved, it appears particularly significant.
In the prior art, network bandwidth allocation mainly has network speed limit, intelligent bandwidth distribution, QoS(QualityofService, service quality), fixed-bandwidth distribution etc..Network speed limit function is generally by router administration pageThe highest bandwidth of face set device.Intelligent bandwidth distribution refers to mean allocation network in the case of multiple equipment connected networksBandwidth is on all access devices, it is to avoid influence other equipment to use because of the too many bandwidth of certain hold facility.QoS is a kind ofNetwork foundation technical capability, it is therefore intended that ensure the availability of network, is mainly used to the problems such as solving network delay and congestion, whenWhen network over loading or congestion, QoS can ensure that important service is not postponed or abandoned, while ensureing the Effec-tive Function of network.It is fixedBandwidth is the bandwidth that the bandwidth that operator selects according to user and payment amount are specified to user's distribution, corresponds to the wide of routing deviceThe bandwidth of domain net (WAN, WideAreaNetwork) side input, because personal online likes different, to various network applicationsThe demand of business is also different, such as someone have deep love for seeing a film, TV video frequency program, then the network bandwidth for needing just comparesGreatly, someone then likes browsing webpage, sees news, novel etc., and the bandwidth of this service needed is just smaller, but, it is existing solidBandwidth is determined to browsing webpage and seeing that video uses identical bandwidth, and this largely causes a large amount of Internet resourcesWaste.
Although the bandwidth allocation function of existing route device has the advantages that the above, following shortcoming is equally existed:Intelligent bandDistribution function wide is the mean allocation network bandwidth, and as a result not enough, some device bandwidths are superfluous, cause for presumable device rateThe waste of a large amount of Internet resources, and QoS realizes complexity.
The content of the invention
The invention provides the control method and system of a kind of shared bandwidth of wireless device, criticized the purpose is to focus onAmount wireless device connection network, makes full use of the Internet resources and flexible distribution bandwidth of free time.
The technical scheme that the present invention is provided is as follows:
A kind of control method of the shared bandwidth of wireless device, including step:S100 Centralized Controllers judge the wireless of connectionWhether equipment reaches default connection allocation threshold, if so, performing step S200;Otherwise, step S300 is performed;Concentrated described in S200The wireless device current operating state of controller analysis connection, obtains the current bandwidth of the wireless device of all connectionsSituation, and send bandwidth sharing and instruct to the wireless device of all connections;Described in S300 Centralized Controller keep with it is describedThe current network connection status of wireless device.
Due to current Internet resources technology, it is main or by network connection point plus wireless device cooperation come forUser's offer function of surfing the Net, but online Optimization Mechanism of the invention, are one kind effectively supplements to prior art, as long as a certainIndividual region is disposed with this Centralized Controller for gathering and collecting wireless device, and (free time refers to bandwidth just to make full use of the free timeThe small user of demand browses the business such as webpage or does not use user of network etc.) broadband resource.Consequently, it is possible to concentrate controlDevice processed has just accomplished the effect of reasonable arrangement broadband resource:Originally the wireless routing device without internet can connect internet, the very poor wireless routing device of script Internet resources is also improved, and those free time do not use from portionThe broadband resource of wireless routing device is divided also to be utilized.
Further, the step S200 includes step:Centralized Controller described in S210 receives the wireless device and sendsItself current network conditions information;Centralized Controller described in S220 according to the current network conditions information of the wireless device,Obtain the amount of bandwidth grade of the wireless device;Centralized Controller described in S230 judges the working net of the current wireless devicesWhether network speed reaches the corresponding default network rate of own bandwidth order of magnitude, if so, performing step S240;Otherwise, performStep S250;It is busy condition that Centralized Controller described in S240 exports the current wireless devices current operating state;S250 institutesIt is idle condition to state Centralized Controller and export the current wireless devices current operating state;Centralized Controller analysis described in S260The current bandwidth demand of the wireless device of all busy conditions, and analyze the current bandwidth of the wireless device of all idle conditionsSurplus, generation current bandwidth demand schedule and current bandwidth residue table;Centralized Controller described in S270 is according to the current bandwidthDemand schedule and current bandwidth residue table carry out inquiry computing distribution, send the distribution bandwidth shared instruction to all connectionsThe wireless device.
In the present invention, after setting up connection, wireless device end will parse current online situation, and the situation is sentTo Centralized Controller, after Centralized Controller receives the information, it will online situation according to wireless device will be different wirelessEquipment is referred to current bandwidth demand schedule and current bandwidth residue table.Then Centralized Controller will determine which router turns intoNetwork bandwidth provider, which is network bandwidth recipient, after waiting these all to determine, it will formal unlatching wirelessly sets with eachThe network bandwidth passage set up between standby.Consequently, it is possible to Centralized Controller has just accomplished the effect of reasonable arrangement broadband resource:OriginallyThe wireless routing device for not having internet can connect internet, and the very poor wireless routing device of script Internet resources is also obtainedImprovement has been arrived, and the broadband resource from part wireless routing device that those free time do not use also is utilized.
Further, the step S270 includes step:Centralized Controller described in S271 makes according to the wireless deviceAssigned sequence table is generated with frequency and/or priority level and/or network application type;Centralized Controller described in S272 is according toCurrent bandwidth demand schedule and current bandwidth residue table carry out inquiry computing point according to putting in order for the assigned sequence tableMatch somebody with somebody, obtain current allocated bandwidth shared instruction;Centralized Controller described in S273 puts in order according to the assigned sequence table,The wireless device of the distribution bandwidth shared instruction to all connections is sent in preset duration.
In the present invention, according to the frequency of use of wireless device, and/or priority level, and/or the generation point of network application typeWith sequence table, this makes it possible to cause to carry out bandwidth allocation according to each factor, consider many when being each equipment distribution bandwidthKind of factor, well using network bandwidth resources, because being according to the frequency of use of wireless device, priority level and network applicationType to be wireless device distribution bandwidth that explanation is with being targetedly each wireless device distribution bandwidth, rather than averageDistribution bandwidth, because be each factor of each wireless device of real-time monitoring, thus is also real-time to the adjustment of its band-width tactics.
Further, step is included after the step S200:Centralized Controller described in S400 has monitored whether new certificationThe wireless device of connection, and/or, have been verified by connecting the bandwidth demand amount of the wireless device of the Centralized ControllerWhether generation changes;If so, performing step S500;Otherwise, step S600 is performed;Centralized Controller described in S500 updates all companiesThe current bandwidth surplus of the wireless device for connecing, resends bandwidth sharing and instructs to the described of all connections and wirelessly setIt is standby;Centralized Controller described in S600 does not update the current bandwidth surplus of the wireless device of all connections.
In the present invention, when Centralized Controller once monitors the wireless device of new certification connection, and/or, pass throughWhen bandwidth demand the changing of volume production of the wireless device of the checking connection Centralized Controller, all connections are updatedThe current bandwidth surplus of the wireless device, resends bandwidth sharing and instructs to the wireless device of all connections, thisSample just can be in real time according to wireless device each factor adjust band-width tacticses in real time.
Further, step is included before the step S100:On wireless device described in S010 after electricity, the concentration is searched forThe wireless signal that controller sends;Wireless device described in S020 judges whether to search the wireless communication that the Centralized Controller sendsNumber, if so, performing step S030;Otherwise, return to step S010;Wireless device described in S030 sends online connection request extremely automaticallyThe Centralized Controller;Centralized Controller described in S040 judges whether the wireless device is to carry out first time checking, if so, holdingRow step S050;Otherwise, step S060 is directly performed;Centralized Controller described in S050 judges to send the described of online connection requestWhether wireless device is by checking, if so, performing step S060;Otherwise, step S070 is performed;Centralized Controller described in S060 withThe wireless device sets up network service connection;Centralized Controller described in S070 is not set up network service and is connected with the wireless deviceConnect.
In the present invention, when wireless device connects power supply, if this wireless device is to possess and support Centralized Controller, it will connection request is sent to the wireless signal that Centralized Controller sends.When Centralized Controller receives this signal, willThe checking authorization message included in the request can be parsed, upon checking, a connection long will be produced with the wireless device.
The present invention also provides a kind of control system of the shared bandwidth of wireless device, including:Centralized Controller, wireless device;The Centralized Controller is communicated to connect with the wireless device;
The Centralized Controller, judges whether the wireless device of connection reaches default connection allocation threshold;When the nothing of connectionWhen line equipment reaches default connection allocation threshold, the wireless device work at present shape of the Centralized Controller analysis connectionState, obtains the current bandwidth situation of the wireless device of all connections, and sends bandwidth sharing and instruct to the institute of all connectionsState wireless device;When the wireless device of connection is not up to default connection allocation threshold, the Centralized Controller keep with it is describedThe current network connection status of wireless device.
In the present invention, after Centralized Controller judges that collection is connected to a number of wireless device, difference is analyzedThe state (idle or busy) of wireless device, then the bandwidth channel of different radio equipment is distributed by certain algorithm policy,The passage is duplex channel, and wireless device is probably bandwidth service recipient, it is also possible to bandwidth service supplier.In this way, collectionMiddle controller just can reasonably arrange the broadband resource of free time:Originally the wireless routing device without internet can be connected mutuallyNetwork, the very poor wireless routing device of script Internet resources is also improved, and those free time do not useAlso utilized from the broadband resource of part wireless routing device, it is to avoid the waste of a large amount of Internet resources, can according toThe network bandwidth amount that family truly uses carrys out calculating network campus network, has saved the expense of the small user of some bandwidth demand amounts,Increased the online experience of the big user of bandwidth demand amount.
Further, the Centralized Controller includes:Acquisition module, judge module, output module, analysis module, distributionModule;The acquisition module is communicated to connect with the judge module;The judge module is communicated to connect with the output module;InstituteOutput module is stated to be communicated to connect with the analysis module;The analysis module is communicated to connect with the distribute module;
The acquisition module, receives itself the current network conditions information that the wireless device sends, according to described wirelessThe current network conditions information of equipment, obtains the amount of bandwidth grade of the wireless device;The judge module, judges described working asWhether the job network speed of preceding wireless device reaches the corresponding default network rate of own bandwidth order of magnitude;The output mouldBlock, when the job network speed of the current wireless devices reaches the corresponding default network rate of own bandwidth order of magnitude,The current wireless devices current operating state is exported for busy condition;The output module, when the current wireless devicesWhen job network speed reaches own bandwidth order of magnitude corresponding default network rate, the current wireless devices are exported currentWorking condition is idle condition;The analysis module, analyzes the current bandwidth demand of the wireless device of all busy conditions, andThe current bandwidth surplus of the wireless device of all idle conditions is analyzed, generation current bandwidth demand schedule and current bandwidth are remainingTable;The distribute module, inquiry computing distribution, hair are carried out according to the current bandwidth demand schedule and current bandwidth residue tableSend distribution bandwidth shared instruction to the wireless device of all connections.
In the present invention, after setting up connection, wireless device end will parse current online situation, and the situation is sentTo Centralized Controller, after Centralized Controller receives the information, it will online situation according to wireless device will be different wirelessEquipment is referred to current bandwidth demand schedule and current bandwidth residue table.Wherein, network speeds of download of such as 10M with wide routerWhen reaching about 1.25M/s, the current online situation of the router is busy condition, and then which Centralized Controller will determineRouter turns into network bandwidth provider, and which is network bandwidth recipient, after waiting these all to determine, it will it is formal open withThe network bandwidth passage set up between each wireless device.Consequently, it is possible to Centralized Controller has just accomplished reasonable arrangement broadband resourceEffect:Originally the wireless routing device without internet can connect internet, very poor wireless of script Internet resourcesRouting device is also improved, and the broadband resource from part wireless routing device that those free time do not use also is obtainedUtilization is arrived.
Further, the distribute module includes:Generation list submodule, inquiry distribution sub module and transmission instruction submoduleBlock;The generation list submodule is communicated to connect with the inquiry distribution sub module;Inquiry distribution sub module and the hairInstruction submodule is sent to communicate to connect;
The generation list submodule, frequency of use and/or priority level and/or network according to the wireless device shouldAssigned sequence table is generated with type;The inquiry distribution sub module, according to the current bandwidth demand schedule and the current bandwidthRemaining table carries out inquiry computing distribution according to putting in order for the assigned sequence table, obtains current allocated bandwidth shared instruction;Instruction submodule is sent, according to putting in order for the assigned sequence table, the distribution bandwidth is sent in preset duration and is sharedInstruct to the wireless device of all connections.
In the present invention, it is allocated according to network application type, frequency of use and priority level, to the applied business for enteringPacket shunted, statistics network application type, frequency of use and priority level obtain the packet of each applied businessTo corresponding bandwidth, in this way, wireless device just can according to user using the frequency of applied business come distribution bandwidth, make bandwidth pointWith more intelligent, personalized, with being targetedly each wireless device distribution bandwidth, rather than mean allocation bandwidth, becauseIt is each factor of each wireless device of real-time monitoring, thus is also real-time to the adjustment of its band-width tactics.So make full use ofInternet resources, substantially increase the fluency that user is surfed the Net using various applied business, disclosure satisfy that the online demand of user,The operation complexity and user's participation of equipment are reduced simultaneously.
Further, the Centralized Controller also includes:Monitoring modular and update module;The monitoring modular is obtained with describedModulus block is communicated to connect;The update module is communicated to connect with the monitoring modular;
The monitoring modular, monitors whether the wireless device of new certification connection, and/or, have been verified by connecting instituteWhether the bandwidth demand amount for stating the wireless device of Centralized Controller produces change;The update module, newly recognizes when not havingThe wireless device of connection is demonstrate,proved, also, has been verified by connecting the bandwidth demand of the wireless device of the Centralized ControllerAmount does not produce change, and the current bandwidth situation of the wireless device of all connections is not updated;The update module, when havingThe wireless device of new certification connection, and/or, have been verified by connecting the bandwidth of the wireless device of the Centralized ControllerDemand produces change, updates the current bandwidth situation of the wireless device of all connections, resends bandwidth sharingInstruct to the wireless device of all connections.
In the present invention, once Centralized Controller monitors the wireless device of new certification connection, and/or, by testingWhen bandwidth demand the changing of volume production of the wireless device of the card connection Centralized Controller, Centralized Controller will be moreThe current bandwidth surplus of the wireless device of new all connections, resends bandwidth sharing and instructs to described in all connectionsWireless device, band-width tacticses are adjusted this makes it possible to each factor in real time according to wireless device in real time.Because being real-timeMonitor each factor of each wireless device, thus be also real-time to the adjustment of its band-width tactics.
Further, the wireless device includes search module and link block;The Centralized Controller also includes checkingModule and control module;The search module is communicated to connect with the link block;The authentication module and the link blockCommunication connection;The authentication module is also communicated to connect with the acquisition module;The control module communicates with the authentication moduleConnection;
The search module, after upper electricity, searches for the wireless signal that the Centralized Controller sends, and judges whether to search instituteState the wireless signal that Centralized Controller sends;The link block, when searching the wireless signal that the Centralized Controller sendsWhen, it is automatic to send online connection request to the Centralized Controller;The search module, when search is less than the Centralized ControllerDuring the wireless signal for sending, the wireless signal that the Centralized Controller sends is continued search for;The authentication module, judges the nothingWhether line equipment is to carry out first time checking;The authentication module, also when the wireless device is when carrying out checking for the first time, to enterWhether one step judges to send the wireless device of online connection request by checking;The control module, wirelessly sets when describedIt is standby to be when carrying out checking for the first time, and when sending the wireless device of online connection request by verifying, wirelessly set with describedIt is standby to set up network service connection;The control module, when the wireless device be carry out for the first time checking when, but send online connectConnect request the wireless device it is not verified when, do not set up network service with the wireless device and be connected;The control mouldBlock, also when the wireless device is not that the Centralized Controller sets up network with the wireless device when carrying out checking for the first timeCommunication connection.
In the present invention, when wireless device connects power supply, if this wireless device is to possess and support Centralized Controller, it will connection request is sent to the wireless signal that Centralized Controller sends.When Centralized Controller receives this signal, willThe checking authorization message included in the request can be parsed, upon checking, a connection long will be produced with the wireless device.If this wireless device is the authenticated wireless device after, then after it is disconnected with Centralized Controller, itsCan be verified again.
Compared with prior art, the present invention provides the control method and system of a kind of shared bandwidth of wireless device, at least bandCarry out a kind of following technique effect:
1st, batch wireless device connection network, the distribution bandwidth of simple and flexible are focused on.
2nd, each factor of each wireless device of real-time monitoring, each factor according to wireless device adjusts bandwidth plan in real timeSlightly, the Internet resources of free time are made full use of.
3rd, the bandwidth expense of the small user of some bandwidth demand amounts has been saved, the upper of the big user of bandwidth demand amount has been increasedDictyosome is tested.
Brief description of the drawings
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, band is shared to a kind of wireless deviceControl method wide and the characteristic of system, technical characteristic, advantage and its implementation are further described.
Fig. 1 is a kind of flow chart of control method one embodiment of the shared bandwidth of wireless device of the invention;
Fig. 2 is a kind of flow chart of another embodiment of the shared control method of bandwidth of wireless device of the invention;
Fig. 3 is a kind of flow chart of another embodiment of the shared control method of bandwidth of wireless device of the invention;
Fig. 4 is a kind of flow chart of another embodiment of the shared control method of bandwidth of wireless device of the invention;
Fig. 5 is a kind of flow chart of another embodiment of the shared control method of bandwidth of wireless device of the invention;
Fig. 6 is a kind of structure chart of control system one embodiment of the shared bandwidth of wireless device of the invention;
Fig. 7 is a kind of structure chart of another embodiment of the shared control system of bandwidth of wireless device of the invention;
Fig. 8 is a kind of structure chart of another embodiment of the shared control system of bandwidth of wireless device of the invention;
Fig. 9 is a kind of one flow chart of example of control system of the shared bandwidth of wireless device of the invention;
Figure 10 is a kind of one structure chart of example of control system of the shared bandwidth of wireless device of the invention.
Specific embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated belowSpecific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the present invention, forFor those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawingsAccompanying drawing, and obtain other implementation methods.
To make simplified form, part related to the present invention is only schematically show in each figure, they are not representedIts as product practical structures.In addition, so that simplified form is readily appreciated, there is identical structure or function in some figuresPart, only symbolically depicts one of those, or has only marked one of those.Herein, " one " is not only represented" only this ", it is also possible to represent the situation of " more than one ".
Shown in reference picture 1, the present invention provides a kind of one embodiment of the control method of the shared bandwidth of wireless device, bagInclude:
S100 Centralized Controllers judge whether the wireless device of connection reaches default connection allocation threshold, if so, performing stepRapid S200;Otherwise, step S300 is performed;
The wireless device current operating state of Centralized Controller analysis connection, obtains the institute of all connections described in S200The current bandwidth situation of wireless device is stated, and sends bandwidth sharing and instructed to the wireless device of all connections;
Centralized Controller described in S300 keeps the current network connection status with the wireless device.
Specifically, in the embodiment of the present invention, the collection that this collection collects wireless device is disposed with by some regionMiddle controller, can just make full use of the broadband resource of free time.Consequently, it is possible to Centralized Controller has just accomplished reasonable arrangement broadbandThe effect of resource:Originally the wireless routing device without internet can connect internet, and script Internet resources are very poorWireless routing device is also improved, and the broadband resource from part wireless routing device that those free time do not useAlso utilized.
Shown in reference picture 2, the present invention provides a kind of another embodiment of the control method of the shared bandwidth of wireless device, bagInclude:
S100 Centralized Controllers judge whether the wireless device of connection reaches default connection allocation threshold, if so, performing stepRapid S200;Otherwise, step S300 is performed;
Centralized Controller described in S210 receives itself the current network conditions information that the wireless device sends;
Centralized Controller described in S220 obtains the wireless device according to the current network conditions information of the wireless deviceAmount of bandwidth grade;
Centralized Controller described in S230 judges whether the job network speed of the current wireless devices reaches own bandwidthThe corresponding default network rate of order of magnitude, if so, performing step S240;Otherwise, step S250 is performed;
It is busy condition that Centralized Controller described in S240 exports the current wireless devices current operating state;
It is idle condition that Centralized Controller described in S250 exports the current wireless devices current operating state;
Centralized Controller described in S260 analyzes the current bandwidth demand of the wireless device of all busy conditions, and analyzes instituteThe current bandwidth surplus of the wireless device of available free state, generation current bandwidth demand schedule and current bandwidth residue table;
Centralized Controller described in S270 is inquired about according to the current bandwidth demand schedule and current bandwidth residue tableComputing is distributed, and sends the wireless device of the distribution bandwidth shared instruction to all connections;
Centralized Controller described in S300 keeps the current network connection status with the wireless device;
Centralized Controller described in S400 monitors whether the wireless device of new certification connection, if performing step S500;It is noThen, step S600 is performed;
Centralized Controller described in S500 updates the current bandwidth surplus of the wireless device of all connections, resendsBandwidth sharing is instructed to the wireless device of all connections;
Centralized Controller described in S600 does not update the current bandwidth surplus of the wireless device of all connections.
In the embodiment of the present invention, after setting up connection, wireless device end will parse current online situation, and by the shapeCondition is sent to Centralized Controller, after Centralized Controller receives the information, it will online situation according to wireless device is by differenceWireless device be referred to current bandwidth demand schedule and current bandwidth residue table.Then Centralized Controller will determine which routeDevice turns into network bandwidth provider, and which is network bandwidth recipient, after waiting these all to determine, it will formal to open and eachThe network bandwidth passage set up between wireless device.For example, the prepaid fixed-bandwidth amount of wireless device first is 4M, currently withoutThe network application type of line equipment first is HD video, high to bandwidth requirement at least to need 1Mbps-2Mbps bandwidth, but 4M bandsNetwork speed of download wide probably only has 4M*1024/8=512, i.e., maximum download 512Kbps per second, and now wireless device first is seenSee that HD video is the state in interim card, therefore wireless device first needs " borrow " bandwidth for its smoothness from Centralized ControllerViewing video, then the router of wireless device first sends checking request to Centralized Controller, and by after checking, concentrating controlDevice real-time monitoring processed finds that wireless device second is not surfed the Net now using bandwidth, also, the bandwidth of wireless device second is 10M,So network speed of download is about 10M*1024/8=1280Kbps, i.e. about 1Mbps, then Centralized Controller is directly controlledThe bandwidth " borrowing " of wireless device second processed gives wireless device first, while the use of the real-time counting statistics wireless device first of Centralized ControllerFlow, such wireless device first can glibly watch video, and wireless device second can save stream when that need not use flowAmount expense.Consequently, it is possible to Centralized Controller has just accomplished the effect of reasonable arrangement broadband resource:Originally it is wireless without internetRouting device can connect internet, and the very poor wireless routing device of script Internet resources is also improved, and thoseThe broadband resource from part wireless routing device that free time does not use also is utilized.
Preferably, once Centralized Controller monitors the wireless device of new certification connection, all connections are updatedThe wireless device current bandwidth surplus, resend bandwidth sharing and instruct to the wireless device of all connections,Band-width tacticses are adjusted in real time this makes it possible to each factor in real time according to wireless device.
Shown in reference picture 3, relative to a upper embodiment, identical part repeats no more.The present invention provides one kind and wirelessly setsAnother embodiment of the control method of standby shared bandwidth, including:
Centralized Controller monitoring described in S400 has been verified by connecting the wireless device of the Centralized ControllerWhether bandwidth demand amount produces change;If performing step S500;Otherwise, step S600 is performed;
In the embodiment of the present invention, once Centralized Controller monitors to have been verified by the institute for connecting the Centralized ControllerWhen stating bandwidth demand the changing of volume production of wireless device, the current bandwidth for updating the wireless device of all connections is remainingAmount, resends bandwidth sharing and instructs to the wireless device of all connections, this makes it possible in real time according to wireless deviceEach factor adjust band-width tacticses in real time.In addition, once Centralized Controller monitors the wireless device of new certification connection,When bandwidth demand the changing of volume production of the wireless device for having been verified by connecting the Centralized Controller simultaneously, moreThe current bandwidth surplus of the wireless device of new all connections, resends bandwidth sharing and instructs to described in all connectionsWireless device, band-width tacticses are adjusted this makes it possible to each factor in real time according to wireless device in real time, targetedly forEach wireless device distribution bandwidth, rather than mean allocation bandwidth, because being each factor of each wireless device of real-time monitoring, becauseAnd the adjustment to its band-width tactics is also real-time.
Shown in reference picture 4, the present invention provides a kind of another embodiment of the control method of the shared bandwidth of wireless device, bagInclude:
On wireless device described in S010 after electricity, the wireless signal that the Centralized Controller sends is searched for;
Wireless device described in S020 judges whether to search the wireless signal that the Centralized Controller sends, if so, performingStep S030;Otherwise, return to step S010;
Wireless device described in S030 sends online connection request to the Centralized Controller automatically;
Centralized Controller described in S040 judges whether the wireless device is to carry out first time checking, if so, performing stepS050;Otherwise, step S060 is directly performed;
Whether Centralized Controller described in S050 judges to send the wireless device of online connection request by checking, ifIt is to perform step S060;Otherwise, step S070 is performed;
Centralized Controller described in S060 is set up network service and is connected with the wireless device;
Centralized Controller described in S070 is not set up network service and is connected with the wireless device;
S100 Centralized Controllers judge whether the wireless device of connection reaches default connection allocation threshold, if so, performing stepRapid S200;Otherwise, step S300 is performed;
The wireless device current operating state of Centralized Controller analysis connection, obtains the institute of all connections described in S200The current bandwidth situation of wireless device is stated, and sends bandwidth sharing and instructed to the wireless device of all connections;
Centralized Controller described in S300 keeps the current network connection status with the wireless device.
In the present embodiment, when wireless device connects power supply, if this wireless device is to possess and support centralized ControlDevice, it will connection request is sent to the wireless signal that Centralized Controller sends.When Centralized Controller receives this signal,The checking authorization message included in the request will be parsed, upon checking, a company long will be produced with the wireless deviceConnect.If this wireless device is the authenticated wireless device after, then after it is disconnected with Centralized Controller,It can be verified again.In such manner, it is possible to the time of Centralized Controller checking is saved, if while authentication mechanismSecurity can be increased, prevent illegal one's share of expenses for a joint undertaking using the router of camouflage, steal the flow of validated user, reduce validated userExpenses.
Shown in reference picture 5, the present invention provides a kind of another embodiment of the control method of the shared bandwidth of wireless device, bagInclude:
S100 Centralized Controllers judge whether the wireless device of connection reaches default connection allocation threshold, if so, performing stepRapid S200;Otherwise, step S300 is performed;
Centralized Controller described in S210 receives itself the current network conditions information that the wireless device sends;
Centralized Controller described in S220 obtains the wireless device according to the current network conditions information of the wireless deviceAmount of bandwidth grade;
Centralized Controller described in S230 judges whether the job network speed of the current wireless devices reaches own bandwidthThe corresponding default network rate of order of magnitude, if so, performing step S240;Otherwise, step S250 is performed;
It is busy condition that Centralized Controller described in S240 exports the current wireless devices current operating state;
It is idle condition that Centralized Controller described in S250 exports the current wireless devices current operating state;
Centralized Controller described in S260 analyzes the current bandwidth demand of the wireless device of all busy conditions, and analyzes instituteThe current bandwidth surplus of the wireless device of available free state, generation current bandwidth demand schedule and current bandwidth residue table;
Centralized Controller described in S271 should according to the frequency of use and/or priority level and/or network of the wireless deviceAssigned sequence table is generated with type;
Centralized Controller described in S272 is according to the current bandwidth demand schedule and current bandwidth residue table according to describedPutting in order for assigned sequence table carries out inquiry computing distribution, obtains current allocated bandwidth shared instruction;
Centralized Controller described in S273 is put in order according to the assigned sequence table, and described point is sent in preset durationThe wireless device with bandwidth shared instruction to all connections;
Centralized Controller described in S300 keeps the current network connection status with the wireless device;
Centralized Controller described in S400 monitors whether the wireless device of new certification connection, if performing step S500;It is noThen, step S600 is performed;
Centralized Controller described in S500 updates the current bandwidth surplus of the wireless device of all connections, resendsBandwidth sharing is instructed to the wireless device of all connections;
Centralized Controller described in S600 does not update the current bandwidth surplus of the wireless device of all connections.
In the embodiment of the present invention, wherein, different network application types can correspond to different bandwidth ranges, be described below notWith the bandwidth estimation method required for network application type.Specifically, in certain period of time (a few minutes or several hours),Router can ask the type of Internet resources by URL identifying user, carry out traffic statistics, bandwidth=streamAmount/time.For example, in past 5 minutes, carry out counting the video for obtaining has 150M using flow, then shared by videoResource is 150M/300s=500KB/s=4Mbps bandwidth.Similarly, if within past 5 minutes, the class that Loads Image altogether resource6M, then the bandwidth demand of picture category resource is 6M/300s=20KB/s=160Kbps.According to the monitoring of router, automatic studyAverage bandwidth required for different type resource (game, video, download, picture, music, text).Due to resource on networkDiversity, this bandwidth demand is not unalterable.Therefore, it is possible to certain computation of Period and renewal learning result.UnderFace determine network application type required for bandwidth:
1st, text class application:The bandwidth of needs is generally 20Kbps or so.
2nd, picture category application:Need bandwidth generally 150-800Kbps.
3rd, Online Music class application:Need bandwidth generally 80Kbps-128Kbps.
4th, Online Video class application:Generally refer to watch film online, according to broadcast mode point, online film is based onThe point broadcast mode of P2P, and streaming media on demand mode, a width of 60Kbps of band required for the online films of P2P, user are more, rightIt is also lower the need for bandwidth;The online film of Streaming Media then at least needs the bandwidth of more than 230Kbps could to ensure the smoothness of filmPlay, picture is more clear, and required bandwidth is also bigger.If high-definition movie, it might even be possible to take 1Mbps-2Mbps.
5th, game class application:Online game is less demanding for bandwidth, and the bandwidth of 50Kbps can ensure a completelyThe smooth operation of online game.But, some 3D game is relatively higher for the requirement of bandwidth, typically in 80Kbps or so.Therefore, bandwidth needed for playing is generally 50-80Kbps.
6th, class application is downloaded:Bandwidth required for P2P is downloaded is determined by the actual bandwidth of user, and needs to take widthUplink and downlink bandwidth with user, once having used P2P to download software, the bandwidth of user 80% or even more than 90% will be occupiedWith.
To sum up, it is followed successively by from big to small according to required bandwidth:Download class application, Online Video class, picture category application, onlineThe application of music class, game class application, text class application.
According to the frequency of use of wireless device, and/or priority level, and/or network application type generation assigned sequence table,This makes it possible to cause to carry out bandwidth allocation according to each factor, many factors are considered when being each equipment distribution bandwidth, veryUtilize network bandwidth resources well because be according to the frequency of use of wireless device, priority level and network application type come forWireless device distribution bandwidth, explanation is that have targetedly for each wireless device distribution bandwidth, rather than mean allocation bandwidth,Because be each factor of each wireless device of real-time monitoring, thus it is also real-time to the adjustment of its band-width tactics.It is of the invention realApply in example, after setting up connection, wireless device end will parse current online situation, and the situation is sent into centralized ControlDevice, after Centralized Controller receives the information, it will be referred to for different wireless devices by the online situation according to wireless deviceCurrent bandwidth demand schedule and current bandwidth residue table.Then Centralized Controller will determine which router is carried as the network bandwidthSupplier, which is network bandwidth recipient, after waiting these all to determine, it will formal to open what is set up and between each wireless deviceNetwork bandwidth passage.For example, the prepaid fixed-bandwidth amount of wireless device first is 4M, the network of current wireless devices first shouldWith type one is HD video, network application type in addition also has download software, and HD video is high to bandwidth requirement at least1Mbps-2Mbps bandwidth is needed, downloading software can occupy 80% or even more than 90% bandwidth, but the network of 4M bandwidth is downloadedSpeed probably only has 4M*1024/8=512Kbps, and now wireless device first viewing HD video is the state in interim card,Therefore wireless device first needs " to borrow " bandwidth for the viewing video of its smoothness from Centralized Controller and downloads software, then wirelessThe router of equipment first sends checking request to Centralized Controller, and by the way that after checking, Centralized Controller real-time monitoring findsWireless device second is not surfed the Net now using bandwidth, also, the bandwidth of wireless device second is 4M, then remaining amount of bandwidth is4M, network speed of download probably only has 4M*1024/8=512, i.e., maximum download 512Kbps per second, then Centralized Controller is sentencedThe disconnected bandwidth offer amount for finding current wireless devices second is far from being enough, then Centralized Controller finds according to assigned sequence tableThe fixed-bandwidth of wireless device third is 10M, and user third is currently when by network transmission word, such as to receive and dispatch postalPart, chat etc., now the network application type of wireless device is word class application, then the network of user third now downloads speedDegree is about 10M*1024/8-20Kbps=1260Kbps or so, i.e. about 1Mbps, then Centralized Controller control is wirelessEquipment second and wireless device third provide bandwidth and give wireless device first jointly, while the real-time counting statistics wireless device of Centralized ControllerThe use flow of first, such wireless device first can glibly watch video and quickly download software, and wireless device second canWhen flow need not be used, campus network is saved, wireless device third can be when using a small amount of flow, there is provided unnecessary not useFlow give wireless device first, save campus network.As long as the current bandwidth of wireless device of the invention is not enough used, Ke YitongCrossing Centralized Controller only selects bandwidth left amount wireless device very high to provide demand bandwidth, if Centralized Controller is examinedSurvey the bandwidth demand for finding that neither one wireless device can provide current wireless devices, then can be selected by Centralized ControllerSelect multiple wireless devices to be pieced together so that the summation of bandwidth left amount is more than or equal to the bandwidth demand amount of current wireless devices,Oneself remaining bandwidth is supplied to current wireless devices by each wireless device with remaining bandwidth so that connection is current wirelessThe access terminals of equipment smooth can be surfed the Net, the experience of structural reform user.Consequently, it is possible to Centralized Controller has just been accomplished rationallyArrange the effect of broadband resource:Originally the wireless routing device without internet can connect internet, script internet moneyThe very poor wireless routing device in source is also improved, and those free time do not use from part wireless routing deviceBroadband resource is also utilized.Here, Centralized Controller can be connected with server, by the high bandwidth requirements of user, closeThe wireless device of user is closed, business of the excess traffic to remaining user is provided when the network is in the idle state.By user'sEconomic needs, can select high to open of cost performance provide when the network is in the idle state industry of the excess traffic to remaining userBusiness, so, Centralized Controller (can be set according to the frequency of use of wireless device, and/or priority level according to user's requestPut or be configured according to user gradation), and/or network application type, personalized carries out implementation distribution.
During specific implementation, the difference of bandwidth according to needed for network application type, we are its default allocation level, specificallyFor:The grade highest of text class application, is set as the first estate, and game class application is the second grade, and Online Music class application isThree Estate, picture category application is the fourth estate, and the application of Online Video class is the 5th grade, and it is 6th etc. to download class applicationLevel.When for each wireless device distribution bandwidth, except the bandwidth range according to required for heterogeneous networks application type, in addition it is also necessary to noIt is allocated with the corresponding grade of network application type, for example, only providing bandwidth to only making using the wireless device of the first estateWith the wireless device of the 6th grade, bandwidth only is provided to only wirelessly setting using the 5th grade using the wireless device of the second gradeIt is standby, only using the tertiary gradient wireless device provide bandwidth to only use the fourth estate wireless device, such case be and itsFew, it is desired nonetheless to Centralized Controller distributes the bandwidth channel of different radio equipment by certain algorithm policy, the passageIt is duplex channel, wireless device is probably bandwidth service recipient, it is also possible to bandwidth service supplier.In use,The network application type of each wireless device is real-time monitoring, when the network application type for monitoring wireless device changesWhen, it is necessary to adjust its Bandwidth Management strategy accordingly.To sum up, Bandwidth Allocation Policy considers physical device in the inventive methodApplication scenarios, can be with more intelligent distribution bandwidth, it is ensured that Consumer's Experience.Traffic statistic function based on router, realizes letterIt is single, save the campus network of the few user of bandwidth demand.
Shown in reference picture 6, the present invention provides a kind of one embodiment of the control system of wireless device, including:
Centralized Controller 100, wireless device 200;The Centralized Controller 100 is communicated to connect with the wireless device 200;
The Centralized Controller 100, judges whether the wireless device 200 of connection reaches default connection allocation threshold;
The Centralized Controller 100, when the wireless device 200 of connection reaches default connection allocation threshold, analysis connectionThe current operating state of the wireless device 200, obtain the current bandwidth situation of the wireless device 200 of all connections, andTransmission bandwidth shared instruction to all connections the wireless device 200;
The Centralized Controller 100, when the not up to default connection allocation threshold of wireless device 200 of connection, keep withThe current network connection status of the wireless device 200.
In the embodiment of the present invention, judge that collection is connected to a number of wireless device 200 by Centralized Controller 100Afterwards, the state (idle or busy) of different radio equipment 200 is analyzed, then different nothings is distributed by certain algorithm policyThe bandwidth channel of line equipment 200, the passage is duplex channel, and wireless device 200 is probably bandwidth service recipient, it is also possible toBandwidth service supplier.In this way, Centralized Controller 100 just can reasonably arrange the broadband resource of free time:Originally do not interconnectThe wireless routing device of net can connect internet, and the very poor wireless routing device of script Internet resources is also changedIt is kind, and the broadband resource from part wireless routing device that those free time do not use also is utilized, it is to avoid greatlyThe waste of Internet resources is measured, the network bandwidth amount that can be truly used according to user has saved one come calculating network campus networkThe expense of the small user of a little bandwidth demand amounts, increased the online experience of the big user of bandwidth demand amount.
Shown in reference picture 7, the present invention provides a kind of another embodiment of the control system of wireless device, including:
The Centralized Controller 100 includes:Acquisition module 110, judge module 120, output module 130, analysis module140th, distribute module 150;The acquisition module 110 is communicated to connect with the judge module 120;The judge module 120 and instituteOutput module 130 is stated to communicate to connect;The output module 130 is communicated to connect with the analysis module 140;The analysis module140 communicate to connect with the distribute module 150;
The acquisition module 110, receives itself the current network conditions information that the wireless device 200 sends, according to instituteThe current network conditions information of wireless device 200 is stated, the amount of bandwidth grade of the wireless device 200 is obtained;
The judge module 120, judges whether the job network speed of the current wireless devices 200 reaches own bandwidthThe corresponding default network rate of order of magnitude;
The output module 130, when the job network speed of the current wireless devices 200 reaches own bandwidth size etc.During the corresponding default network rate of level, it is busy condition to export the current operating state of current wireless devices 200;
The output module 130, when the job network speed of the current wireless devices 200 reaches own bandwidth size etc.During the corresponding default network rate of level, it is idle condition to export the current operating state of current wireless devices 200;
The analysis module 140, analyzes the current bandwidth demand of the wireless device 200 of all busy conditions, and analyzesThe current bandwidth surplus of the wireless device 200 of all idle conditions, generation current bandwidth demand schedule and current bandwidth residue table;
The distribute module 150, inquiry fortune is carried out according to the current bandwidth demand schedule and current bandwidth residue tablePoint counting is matched somebody with somebody, and sends the wireless device 200 of distribution bandwidth shared instruction to all connections;
The distribute module 150 includes:Generation list submodule 151, inquiry distribution sub module 152 and transmission instruction submoduleBlock 153;The generation list submodule 151 is communicated to connect with the inquiry distribution sub module 152;The inquiry distribution sub module152 communicate to connect with the instruction submodule 153 that sends;
The generation list submodule 151, frequency of use and/or priority level according to the wireless device 200 and/orNetwork application type generates assigned sequence table;
It is described inquiry distribution sub module 152, according to the current bandwidth demand schedule and the current bandwidth residue table according toPutting in order for the assigned sequence table carries out inquiry computing distribution, obtains current allocated bandwidth shared instruction;
Instruction submodule 153 is sent, according to putting in order for the assigned sequence table, described point is sent in preset durationThe wireless device 200 with bandwidth shared instruction to all connections.
In the present embodiment, after setting up connection, the end of wireless device 200 will parse current online situation, and by the shapeCondition is sent to Centralized Controller 100, after Centralized Controller 100 receives the information, it will according to the upper netted of wireless device 200Different wireless devices 200 is referred to current bandwidth demand schedule and current bandwidth residue table by condition.Wherein, such as 10M bands broad wayWhen reaching about 1.25M/s by the network speed of download of device, the current online situation of the router is busy condition, is then concentratedController 100 will determine which router turns into network bandwidth provider, and which is network bandwidth recipient, waits these all trueAfter fixed, it will formal to open the network bandwidth passage set up and between each wireless device 200.According to network application type, makeIt is allocated with frequency and priority level, the packet of applied business to entering is shunted, statistics network application type, is madeWith frequency and priority level, the packet of each applied business is set to obtain corresponding bandwidth, in this way, wireless device 200 just can be withAccording to user using the frequency of applied business come distribution bandwidth, make bandwidth allocation more intelligent, personalized, with being targetedlyEach distribution bandwidth of wireless device 200, rather than mean allocation bandwidth, because being each of each wireless device 200 of real-time monitoringFactor, thus be also real-time to the adjustment of its band-width tactics.Consequently, it is possible to Centralized Controller 100 has just accomplished reasonable arrangementThe effect of broadband resource:Originally the wireless routing device without internet can connect internet, and script Internet resources are veryPoor wireless routing device is also improved, and the broadband from part wireless routing device that those free time do not useResource is also utilized.Internet resources are so taken full advantage of, substantially increases what user was surfed the Net using various applied businessFluency, can fully meet the online demand of user, while reducing the operation complexity and user's participation of equipment.
Bandwidth allocation is carried out by reference to Multiple factors, network bandwidth resources can be well utilized;With being targetedlyEach equipment distribution bandwidth;Realize simply, in the environment of combining various application scenarios at one, when network condition is good,The bandwidth request of all wireless devices 200 can be met.But in the case where network condition is not good, such as when generation network congestionAnd time delay, if mean allocation bandwidth obviously can not provide good Consumer's Experience, now it is accomplished by enabling network bandwidth limitationStrategy, i.e., carry out bandwidth allocation using the inventive method.Network application type according to each wireless device 200 for monitoring, makeIt is the distribution bandwidth of each wireless device 200 with frequency and priority level.
Also there is another situation in the middle of actual, if home network bandwidth can not meet so many people while making at allHow to be processed with thisThe treatment strategy of this kind of situation is:It is each nothing according to network application type and frequency of use and priorityThe distribution bandwidth of line equipment 200, specifically, according to priority level is high and/or frequency of use is high and/or network application class bandwidth needThe generation assigned sequence table of wireless device 200 of the small user of the amount of asking, Centralized Controller 100 is distributed by generating assigned sequence table" free time " bandwidth, until network congestion is solved.
The inventive method is illustrated below by specific embodiment:In the middle of home scenarios, have a desktop computer,One notebook, an iPad, a mobile phone, while carrying out common network service using these equipment.It is assumed that in desktop computerOn play online game, be downloaded on notebook, iPad play video, on a mobile phone Jingdone district shopping.In networkUnder conditions of bandwidth is abundant, each equipment can smoothness use.But under commonly used scene, download just can be with depletion zone money wideSource, along with the use of video class application, bandwidth is often inadequate.In this case, it is necessary to the bandwidth of wireless device 200 is enteredRow adjustment.Here, wireless device 200 is in the wireless device 200 " borrowing " of idle condition by Centralized Controller 100 to other.After router identifies the network application type on the said equipment, according to traffic characteristic and the corresponding relation of network application type,Limit the bandwidth of distinct device.Assuming that the priority level and frequency of use of first family wireless equipment 200 and second wireless device 200 areIt is consistent, wherein, a width of 50M of band of first family wireless equipment 200, in first family usage scenario, desktop computer playing online game,Only distribute the network speed of download of 80Kbps, it is ensured that the stability of game.2Mbps network speeds of download are distributed to iPad, it is ensured thatThe fluency of video.Mobile phone and notebook do not carry out above-mentioned network service.The a width of 4M of band of second family wireless equipment 200, second manIn the usage scenario of front yard, notebook is downloaded task, can take 80% or even more than 90% bandwidth, but the network of 4M bandwidthSpeed of download probably only has 4M*1024/8=512, i.e., maximum download 512Kbps per second, notebook is downloaded and can take 409.6-460.8 network speed of download, only the network speed of download of residue 51.2-102.4, is so not enough to distribute to Jingdone district on mobile phoneThe network speed of download of shopping distribution 800Kbps browses the demand of shopping website to meet.Assuming that after 5 minutes, first home networkNetwork service keeps constant, and second family notebook downloading task terminates, then reclaim its bandwidth carries out upper Jingdone district shopping to mobile phoneUse.Assuming that after 5 minutes, second home network service keeps constant, first family iPad stops playing video, first family tape remainingA width of 50*1024-2*1024=48M, then second family " borrows " bandwidth to supply mobile phone by Centralized Controller 100 to first familyUpper Jingdone district shopping, ensures the fluency of online.Wherein, wireless device 200 sends online situation to Centralized Controller 100 in real time,Centralized Controller 100 is according to the resource request type for monitoring each wireless device 200, as far as possible real-time update bandwidth allocation.
In sum, following beneficial effect can be obtained by the inventive method and device:Band is being distributed for each equipmentMany factors are considered when wide, network bandwidth resources can be well utilized;Because be according to the frequency of use of wireless device 200,Priority level and network application type to be the distribution bandwidth of wireless device 200 that explanation is that have targetedly for each wirelessly setsStandby 200 distribution bandwidths, rather than mean allocation bandwidth, because it is each factor of each wireless device 200 of real-time monitoring, thus it is rightThe adjustment of its band-width tactics is also real-time.Bandwidth bag can also be shunted according to classification according to assigned sequence table, willPriority level wireless device 200 relatively high and the relatively low wireless device 200 of priority level are separated, and its each self energy is obtained instituteThe respective bandwidth of distribution, in the embodiment of the present invention, Centralized Controller 100 sets up database, statistics frequency of use, priority level andNetwork application type, to carrying out statistic of classification, the classification based on classification carries out bandwidth allocation and takes full advantage of to each applied businessInternet resources, are improved greatly the one of network service quality.
Shown in reference picture 8, relative to a upper embodiment, identical part repeats no more.The present invention provides one kind and wirelessly setsAnother embodiment of standby control system, the wireless device 200 includes search module 210 and link block 220;The collectionMiddle controller 100 also includes authentication module 180 and control module 190;The search module 210 is logical with the link block 220Letter connection;The authentication module 180 is communicated to connect with the link block 220;The authentication module 180 also with the acquisition mouldBlock 110 is communicated to connect;The control module 190 is communicated to connect with the authentication module 180;The Centralized Controller 100 is also wrappedInclude:Monitoring modular 180 and update module 170;The monitoring modular 180 is communicated to connect with the acquisition module 110;The renewalModule 170 is communicated to connect with the monitoring modular 180;
The search module 210, after upper electricity, searches for the wireless signal that the Centralized Controller 100 sends, and judges whether to searchThe wireless signal that rope sends to the Centralized Controller 100;
The link block 220, it is automatic to send when the wireless signal that the Centralized Controller 100 sends is searchedNet connection request is to the Centralized Controller 100;
The search module 210, when search is less than the wireless signal that the Centralized Controller 100 sends, continues search forThe wireless signal that the Centralized Controller 100 sends;
The authentication module 180, judges whether the wireless device 200 is to carry out first time checking;
The authentication module 180, also when the wireless device 200 is when carrying out checking for the first time, to determine whether to sendWhether the wireless device 200 of online connection request is by checking;
The control module 190, when the wireless device 200 be carry out for the first time checking when, and send online connection pleaseWhen the wireless device 200 asked is by verifying, sets up network service with the wireless device 200 and be connected;
The control module 190, when the wireless device 200 be carry out for the first time checking when, but send online connection pleaseWhen the wireless device 200 asked is not verified, network service is not set up with the wireless device 200 and is connected;
The control module 190, also when the wireless device 200 is not centralized Control when carrying out checking for the first timeDevice 100 is set up network service and is connected with the wireless device 200;
The monitoring modular 180, monitors whether the wireless device 200 of new certification connection, and/or, have been verified byWhether the bandwidth demand amount for connecting the wireless device 200 of the Centralized Controller 100 produces change;
The update module 170, when the wireless device 200 for not having new certification connection, also, has been verified by connectionThe bandwidth demand amount of the wireless device 200 of the Centralized Controller 100 does not produce change, and the described of all connections is not updatedThe current bandwidth situation of wireless device 200;
The update module 170, when the wireless device 200 for having new certification connection, and/or, have been verified by connecting instituteBandwidth demand the changing of volume production of the wireless device 200 of Centralized Controller 100 is stated, all the described of connection is updated and is wirelessly setThe standby 200 current bandwidth situation, resends bandwidth sharing and instructs to the wireless device 200 of all connections.
In the present embodiment, when wireless device 200 connects power supply, if this wireless device 200 is to possess and support collectionMiddle controller 100, it will connection request is sent to the wireless signal that Centralized Controller 100 sends.When Centralized Controller 100 connectsWhen receiving this signal, it will parse the checking authorization message included in the request, upon checking, will wirelessly be set with thisStandby 200 produce a connection long.If this wireless device 200 is the authenticated wireless device 200 after, then when itAfter being disconnected with Centralized Controller 100, it can be verified again.Once Centralized Controller 100 is monitoredThere is the wireless device 200 of new certification connection, and/or, have been verified by connecting the described of the Centralized Controller 100 and wirelessly setWhen standby 200 bandwidth demand changing of volume production, Centralized Controller 100 will update the wireless device of all connections200 current bandwidth surplus, resends bandwidth sharing and instructs to the wireless device 200 of all connections, thus canIt is enough that band-width tacticses are adjusted according to each factor of wireless device 200 in real time in real time.Because being each wireless device of real-time monitoring200 each factor, thus be also real-time to the adjustment of its band-width tactics.
The present invention provides an a kind of example of the control system of wireless device, is the flow of the example shown in reference picture 9Figure, Figure 10 is the structure chart of the example.Flow is as follows:
The wireless devices such as S1, router are connected with power supply, then start search for network Centralized Controller send it is distinctiveWireless signal, if searched, just automatically initiates connection;
After S2, network Centralized Controller receive connection request, the checking information carried in meeting checking request, once checkingPass through, it will set up with the wireless device and be connected;
After S3, foundation connection, oneself current network condition information is sent to network Centralized Controller by wireless device, is hadA little wireless devices cannot be surfed the Net, and some networks are in the free time, and some networks are in the middle of busy, networking network Centralized Controller oneOne sticks grade label for them;
S4, which wireless device network Centralized Controller in networking determines for these grade labels is that the network bandwidth is carriedSupplier, which wireless device is network bandwidth recipient, then further determines that the amount of bandwidth for providing or receiving;
The network bandwidth passage set up between S5, unlatching and each wireless device.
This example relates generally to two core links, and one is wireless device connecting link, and one is that bandwidth channel is providedLink.Wireless device connecting link, the execution of this link relies on the wireless signal of network Centralized Controller, when user'sWireless device search to the network Centralized Controller wireless signal when, authentication authorization request, network centralized Control will be sentIt is authenticated to produce connection with the router after after device receives the request.Bandwidth channel provides link, then pass throughAfter the collection of network Centralized Controller is connected to a number of wireless device, analyze different radio equipment state (it is idle orIt is busy), then the bandwidth channel of different radio equipment is distributed by certain algorithm policy, the passage is duplex channel, wirelesslyEquipment is probably bandwidth service recipient, it is also possible to bandwidth service supplier.
From the point of view of system construction drawing, different router connection network Centralized Controller, the i.e. connection route of user mobile phone 11It is connected with network Centralized Controller 2 after device A, is connected with network Centralized Controller 2 after the connection route device B of user mobile phone 12, wherein,The equipments for surfing the net such as user mobile phone are unidirectional connections with the connection of router, and router is double with the connection of network Centralized Controller 2To connection.Structure of the invention relates generally to two relevant connections of module, and one is connection between mobile phone and wireless device,Another is then the connection between wireless device and network Centralized Controller, it is clear that wireless device and network Centralized Controller itBetween connection and its allocation strategy mechanism afterwards be core of the invention where.As system flow chart is described, when wirelessWhen equipment connects power supply, if this wireless setting possesses and supports network Centralized Controller link block, it will to netThe focus that network Centralized Controller sends sends connection request.It is when network Centralized Controller receives this signal, it will parsingThe checking authorization message included in the request, upon checking, will produce a connection long with the wireless device.The company of foundationAfter connecing, wireless device end will parse current online situation, and the situation is sent into network Centralized Controller, network collectionAfter middle controller receives the information, it will the online situation according to wireless device is upper different to different wireless device additionsGrade label.Then according to these different grade labels, network Centralized Controller will determine which router turns into networkBandwidth provider, which is network bandwidth recipient, and the size rank of bandwidth is also to be determined by these grades.All determine Deng theseAfter, it will it is formal to open the network bandwidth passage set up and between each wireless device.Consequently, it is possible to network Centralized Controller is justThe effect of reasonable arrangement broadband resource is accomplished:Originally the wireless routing device without internet can connect internet, formerThe very poor wireless routing device of this Internet resources is also improved, and that those free time do not use is wireless from partThe broadband resource of routing device is also utilized.The function of allowing user faster to connect internet is realized, can be fully sharpWith idle resource.
Obviously, those skilled in the art should be understood that each module or each step of the above-mentioned embodiment of the present invention can be withRealized with general computing device, they can be concentrated on single computing device, or be distributed in multiple computing devicesOn the network for being constituted, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to by itStore and performed by computing device in the storage device, and in some cases, can be held with different from order hereinThe shown or described step of row, or they are fabricated to each integrated circuit modules respectively, or by the multiple in themModule or step are fabricated to single integrated circuit module to realize.So, the embodiment of the present invention is not restricted to any specific hardPart and software are combined.
It should be noted that above-described embodiment can independent assortment as needed.The above is only of the invention preferredImplementation method, it is noted that for those skilled in the art, is not departing from the premise of the principle of the inventionUnder, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.