Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 illustrates the computer implemented within network nodes for determining the system topological figure of network speed limit information of one aspect of the invention, wherein at least comprise two network nodes according to system of the present invention, each network node at least comprises a computer equipment, and there is network between at least one network node of each network node and other and be connected, further, the quantity of the network node accessed in system is variable.At this, network includes but not limited to the Internet, wide area network, metropolitan area network, local area network (LAN), wireless network, cable network etc.Wherein, method according to the present invention has been come by the operating system in computer equipment, flush bonding module or processing controller, for simplicity's sake, below described operating system, flush bonding module or processing controller is referred to as speed limit determining device.Wherein, this computer equipment includes but not limited to: 1) subscriber equipment; 2) network equipment.Described subscriber equipment includes but not limited to computer, smart mobile phone, PDA etc.; The described network equipment includes but not limited to single network server, multiple webserver.
Fig. 2 illustrate according to one aspect of the invention within network nodes for determining the method flow diagram of network speed limit information.Method according to the present invention is for determining the first network speed-limiting messages of the predetermined application in speed limit determining device belonging network node.Wherein, the method comprising the steps of S1 and step S2.
In step sl, speed limit determining device obtains the first network use information of described network node and the network bandwidth information of this network node belonging network; Wherein, described first network uses information to comprise following at least one item: 1) current other application programs using network in described network node; 2) network bandwidth that described in, other application programs take respectively; 3) network bandwidth shared by every other application program.Described acquisition first network uses the mode of information to include but not limited to: 1) speed limit determining device detects its belonging network node and obtains and currently using other application programs of network and each network bandwidth that takies respectively of other application programs; 2) speed limit determining device detects the current network bandwidth etc. taken in belonging network node.At least comprise network total bandwidth in described network bandwidth information, preferably, network bandwidth information can also comprise following information: the 1) gateway information of described network node belonging network; 2) web-based history total bandwidth etc.The mode of described acquisition network bandwidth information includes but not limited to: the switch that 1) access of speed limit determining device is nearest apart from self belonging network node, to read network bandwidth information; 2) speed limit determining device detects to obtain network bandwidth information to self belonging network by bandwidth detection function; 3) speed limit determining device obtains network bandwidth information etc. by obtaining the gateway information of network residing for self.
In step s 2, speed limit determining device uses information and described network bandwidth information according to described first network, obtains the first network speed-limiting messages of predetermined application in described network node.Wherein, described first network speed-limiting messages at least comprises following any one information: 1) the available bandwidth upper limit of described predetermined application; 2) the available bandwidth scope of described predetermined application.
Such as, first network use information comprises the information that n item is using other application programs of network, and the bandwidth presetting described predetermined application is obtained divided by total number of network node by the network bandwidth, then speed limit determining device uses information and network bandwidth information according to described first network, determines available bandwidth=network bandwidth/(n+1) of predetermined application described in first network speed-limiting messages.
Again such as, first network use information comprises program A occupied bandwidth 64Kbps, program B occupied bandwidth 56Kbps, the information of program C occupied bandwidth 32Kbps, it is 256Kbps that speed limit determining device obtains network total bandwidth by network bandwidth information, and the smaller in presetting the average bandwidth that obtained divided by number of applications by the network bandwidth and the network bandwidth being deducted both remaining bandwidths that occupied bandwidth obtains is lower limit, the greater is that the upper limit is to determine the speed limit scope of predetermined application; Then speed limit determining device obtains the average bandwidth=network bandwidth/number of applications=256Kbps/4=64Kbps, remaining bandwidth=network bandwidth-occupied bandwidth=104Kbps, then, speed limit determining device determines that the available bandwidth scope of predetermined application described in described first network speed-limiting messages is 64Kbps to 104Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described first network use information and described network bandwidth information, obtain the implementation of the first network speed-limiting messages of predetermined application in described network node, all should be within the scope of the present invention.
As a preferred embodiment of the present invention, wherein, step S211 and step S212 is also comprised in described step S2.
In step S211, speed limit determining device uses information according to described first network, determines speed limit grade.
Particularly, speed limit determining device obtains current other application programs using network by described first network use information, and according to the classification of these other application programs, determines speed limit grade.
Such as, when not comprising other application programs of any use network in first network use information, then speed limit determining device determination speed limit grade is the first speed limit grade; When comprising Web browsing application in first network use information, then speed limit determining device determination speed limit grade is the second speed limit grade; When comprising audio frequency audition program in first network use information, then speed limit determining device determination speed limit grade is the 3rd speed limit grade; Watch video program online when comprising in first network use information, then speed limit determining device determination speed limit grade is the 4th speed limit grade.
Or, speed limit determining device obtains the current network bandwidth using other application programs of network to take respectively according in described first network use information, or directly by the network bandwidth obtaining every other application program in first network use information and take, and according to the network bandwidth that these other application programs take, determine speed limit grade.
Such as, within the network bandwidth taken when other application programs described accounts for 10% of network total bandwidth, then speed limit determining device determination speed limit grade is the first speed limit grade; The network bandwidth taken when other application programs described accounts for 10% ~ 60% of network total bandwidth, then speed limit determining device determination speed limit grade is the second speed limit grade; The network bandwidth taken when other application programs described accounts for 60% ~ 100% of network total bandwidth, then speed limit determining device determination speed limit grade is the 3rd speed limit grade.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, it should be appreciated by those skilled in the art that any according to described first network use information, determine the implementation of speed limit grade, such as, when first network use information comprises Web browsing application and online viewing video program, determine that speed limit grade is the 5th speed limit grade etc., all should be within the scope of the present invention.
In step S212, speed limit determining device, according to the network bandwidth information of described speed limit rank and described network node belonging network, obtains described first network speed-limiting messages.
Concrete, speed limit determining device obtains the ratio corresponding with described speed limit rank preset, and obtains described first network speed-limiting messages according to this ratio and network bandwidth information.
Such as, the acquired speed limit rank of speed limit determining device is the second speed limit rank, then speed limit determining device obtains the ratio corresponding with described speed limit rank preset is 50%, then, described network total bandwidth is multiplied by 50% by speed limit determining device, is used as first network speed-limiting messages with the available bandwidth obtaining described predetermined application.
Or speed limit determining device obtains the ratio range corresponding with described speed limit rank preset, and obtains described first network speed-limiting messages according to this ratio range and network bandwidth information.
Such as, the acquired speed limit rank of speed limit determining device is the 3rd speed limit rank, and be 1024Kbps according to the network total bandwidth that network bandwidth information obtains, it is 20 ~ 40% that speed-limiting device obtains the ratio range corresponding with described speed limit rank preset, then described in speed limit determining device determination first network speed-limiting messages, the scope of the available bandwidth of predetermined application is 204.8Kbps ~ 409.6Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described speed limit rank and described network bandwidth information, obtain the implementation of described first network speed-limiting messages, all should be within the scope of the present invention.
As another preferred embodiment of the present invention, wherein, described step S2 comprises step S221 and step S222.
In step S221, speed limit determining device uses information according to described first network, determines speed limit regulated value.
Such as, to comprise information as follows for first network use information: program A occupied bandwidth is 200Kbps, program B occupied bandwidth is 360Kbps, program C occupied bandwidth 180Kbps; Speed limit determining device determination speed limit regulated value=(minimum values of maximum+other program occupied bandwidths of other program occupied bandwidths)/2=(360Kbps+180Kbps)/2=270Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, it should be appreciated by those skilled in the art that any according to described first network use information, determine the implementation of speed limit regulated value, such as, using the mean value of bandwidth shared by current other application programs using network as speed limit regulated value, or the maximum of other program occupied bandwidths is selected to be used as the modes such as speed limit regulated value, all should be within the scope of the present invention.
In step S222, speed limit determining device, according to described speed limit regulated value and described network bandwidth information, obtains described first network speed-limiting messages.
Such as, the acquired speed limit regulated value of speed limit determining device is 600Kbps, obtaining network total bandwidth by network bandwidth information is 1024Kbps, and presets the first network speed-limiting messages using the smaller in speed limit regulated value and the network bandwidth/2 as described predetermined application; Due to the speed limit regulated value=600Kbps >=network bandwidth/2=1024Kbps/2=512Kbps, it is 512Kbps that speed limit determining device obtains first network speed-limiting messages.
Again such as, the acquired speed limit regulated value of speed limit determining device is 600Kbps, obtaining network total bandwidth by network bandwidth information is 1024Kbps, and preset first network speed-limiting messages=network total bandwidth-speed limit regulated value, then speed limit determining device obtains first network speed-limiting messages=1024-600=424Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described speed limit regulated value and described network bandwidth information, to obtain the implementation of described first network speed-limiting messages, such as using speed limit regulated value directly as the available bandwidth of predetermined application to obtain the mode etc. of first network speed-limiting messages, all should be within the scope of the present invention.
According to method of the present invention, the information of network is used by other application programs obtaining speed limit determining device place network node, determine the available bandwidth of predetermined application, so can not only utilize the network bandwidth to greatest extent, and the operation of other application programs can not be disturbed, larger lifting Consumer's Experience.
Fig. 3 illustrate in accordance with a preferred embodiment of the present invention within network nodes for determining the method flow diagram of network speed limit information.Method according to the present embodiment comprises step S3, step S4 and step S5 further.
In step s3, when meeting scheduled broadcast trigger condition, speed limit determining device issues the first broadcast message in preset range; Wherein, described first broadcast message comprises the identification information of described network node, and this identification information includes but not limited to: the 1) title of network node; 2) network location information etc. of network node.Wherein, described scheduled broadcast trigger condition includes but not limited to: 1) scheduled event trigger condition, when speed limit determining device obtains scheduled event trigger condition, such as, the first broadcast message issue an order that user inputs via input equipment is obtained, again such as, detect that user just operates described predetermined application via computer equipment, again such as, receive the triggering signal etc. from other equipment, then speed limit determining device broadcasts described first broadcast message in preset range; 2) scheduled time condition, runs when speed limit determining device and arrives a certain predetermined point of time, or, when measurement mechanism meets predetermined period running time; Or when measurement mechanism detects that the distance last time interval issuing broadcast message has reached predetermined space value, speed limit determining device broadcasts described first broadcast message in preset range.Wherein, described preset range includes but not limited to: 1) physical location scope, such as, using the local area network (LAN) residing for described publish resource node as preset range; 2) user scope, such as, presets multiple nodal information, using node corresponding to described multiple nodal information as preset range in measurement mechanism.Described first broadcast message also comprises following at least one item: 1) described first network uses information; 2) described first network speed-limiting messages.
In step s 4 which, speed limit determining device obtains the second broadcast message issued from other network nodes in preset range belonging to described network node, and wherein, described second broadcast message comprises the flag information of other network nodes issuing this second broadcast message.
In step s 5, speed limit determining device, according to described second broadcast message, obtains the second network speed-limiting messages of described predetermined application; Wherein, described second network speed-limiting messages at least comprises following any one information: 1) corresponding with each other network nodes respectively available bandwidth; 2) corresponding with each other network nodes available bandwidth scope.
Concrete, speed limit determining device is according to the identification information in all second broadcast messages obtained within the scope of the scheduled time, determine the quantity of other network nodes, and according to the quantity of other network nodes and described network bandwidth information, obtain the second network speed-limiting messages of described predetermined application.
Such as, the network total bandwidth that speed limit determining device obtains is 1024Kbps, and all second broadcast messages that analysis obtains obtaining within the scheduled time comprise the identification information of 15 other network nodes, and preset second network speed-limiting messages=network total bandwidth/overall network number of nodes.Then speed limit determining device is according to the identification information of other network nodes described, determines to have 16 network nodes in its current belonging network, and in conjunction with network total bandwidth, obtains second network speed-limiting messages=1024Kbps/16=64Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described second broadcast message, obtain the implementation of the second network speed-limiting messages of described predetermined application, all should be within the scope of the present invention.
As a preferred embodiment of the present invention, wherein, described step S5 also comprises step S511 and step S512.
In step S511, speed limit determining device, according to the second obtained broadcast message, determines the quantity of other network nodes described;
Concrete, speed limit determining device by the flag information obtaining other network nodes in obtained all second broadcast messages, and obtains not identical identification information quantity, to determine the quantity of other network nodes.
Such as, speed limit determining device obtains four the second broadcast messages, and these four second broadcast messages comprise identification information a, b, c and a respectively, then speed limit determining device determines that other network node quantity are three.
In step S512, speed limit determining device uses information according to the quantity of other network nodes described and described first network, determines described second network speed-limiting messages.
Concrete, speed limit determining device obtains current other application programs using network by described first network use information, to obtain the default ratio corresponding with type that is these other application programs, and determine second network speed-limiting messages according to the quantity of described ratio, other network nodes and network bandwidth information.
Such as, the quantity of other network nodes that speed limit determining device has obtained is 15, Web browsing application is comprised in described first network use information, the ratio that speed limit determining device determination Web browsing application is corresponding is 80%, obtaining network total bandwidth by network bandwidth information is 1024Kbps, and predetermined second network speed-limiting messages=(network total bandwidth/overall network node) * ratio; Then speed limit determining device obtains second network speed-limiting messages=(1024Kbps/16) * 80%=51.2Kbps.
Or, speed limit determining device obtains the current network bandwidth using other application programs of network to take respectively by described first network use information, or directly by the network bandwidth obtaining every other application program in first network use information and take, and according to the network bandwidth that these other application programs take, the quantity of other network nodes and network bandwidth information determine second network speed-limiting messages.
Such as, the quantity of other network nodes that speed limit determining device has obtained is 31, the network total bandwidth obtained by described network bandwidth information is 1024Kbps, speed limit determining device is 128Kbps by the network bandwidth obtained shared by described every other application program in first network use information, and predetermined second network speed-limiting messages=(network bandwidth shared by network total bandwidth-every other application program)/all-network nodes, then speed limit determining device obtains second network speed-limiting messages=(1024Kbps-128Kbps)/32=28Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, the quantity of other network nodes described in any basis, described network total bandwidth and described first network use information, determine the implementation of described second network speed-limiting messages, all should be within the scope of the present invention.
As another preferred embodiment of the present invention, wherein, described step S5 also comprises step S521 and step S522; Described second broadcast message also comprises the 3rd network speed limit information.Wherein, described 3rd network speed limit information at least comprises following any one information: 1) corresponding with the predetermined application in other network nodes described available bandwidth upper limit; 2) scope of corresponding with the predetermined application in other network nodes described available bandwidth.
In step S521, speed limit determining device, according to the second obtained broadcast message, obtains quantity and the 3rd network speed limit information of other network nodes described.
Concrete, speed limit determining device by obtain respectively in each obtained second broadcast message issue this second broadcast message other network nodes corresponding to the 3rd network speed limit information.According to the flag information in the second broadcast message, how speed limit determining device determines that the mode of network node quantity is described in detail in the aforementioned embodiment, repeat no more.
In step S522, speed limit determining device according to the quantity of other network nodes described and the 3rd network speed limit information, and in conjunction with described first network speed-limiting messages, determines described second network speed-limiting messages.
Concrete, speed limit determining device determines described second network speed-limiting messages according to the quantity of first network speed-limiting messages corresponding to corresponding respectively the 3rd network speed limit information of each other network nodes, speed limit determining device belonging network node and other network nodes described.
Such as, speed limit determining device obtains available bandwidth upper limit 56Kbps by the 3rd network speed limit information of network node A, available bandwidth upper limit 64Kbps is obtained in the 3rd network speed limit information of network node B, available bandwidth upper limit 32Kbps is obtained in the 3rd network speed limit information of network node C, available bandwidth upper limit 104Kbps is obtained in the first network speed-limiting messages of speed limit determining device belonging network node D, the quantity of other network nodes described is 3, and preset the second network speed-limiting messages=minimum available bandwidth upper limit/overall network nodes, then the speed limit determining device determination minimum available bandwidth upper limit is 32Kbps, and obtain second network speed-limiting messages=32Kbps/4=8Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, it should be appreciated by those skilled in the art that quantity and the 3rd network speed limit information of other network nodes described in any basis, and in conjunction with described first network speed-limiting messages, determine the implementation of described second network speed-limiting messages, such as, by the mean value of all available bandwidth upper limits divided by overall network number of nodes etc., all should be within the scope of the present invention.
As a preferred embodiment of the present invention, wherein, described second broadcast message also comprises the second network use information of other network nodes issuing this broadcast message; Described step S5 also comprises step S531 and step S532.
In step S531, speed limit determining device uses information by obtaining described second network in described second broadcast message; Wherein, described second network uses information to comprise following at least one item: 1) the current certain applications program using network in other network nodes described; 2) network bandwidth that takies respectively of described certain applications program; 3) the overall network bandwidth shared by described certain applications program.
In step S532, speed limit determining device uses information and described first network to use information according to described second network, determines described second network speed-limiting messages.
Concrete, speed limit determining device is respectively by obtaining the current certain applications program using network in each other network nodes in each second network use information, and use current other application programs using network in acquisition of information speed limit determining device belonging network node according to described first network, and according to the type of described certain applications program and other application programs, in conjunction with network bandwidth information, determine described second network speed-limiting messages;
Such as, the second network that speed limit determining device obtains network node A uses packets of information containing Web browsing application, the second network of network node B uses packets of information containing online video program, the second network of network node C uses information not comprise any application program, the first network of the network node D belonging to speed limit determining device uses packets of information containing online games, and obtaining network total bandwidth by network bandwidth information is 1024Kbps.The ratio that preset web browser is corresponding is 90%, ratio corresponding to Online Video program is 50%, when not comprising any part application program, ratio is 100%, ratio corresponding to game on line journey is 80%, and preset second network speed-limiting messages=network total bandwidth * (using ratio/all ratio sums of information acquisition according to first network), then speed limit determining device obtains second network speed-limiting messages=1024Kbps* [8/ (9+10+5+8)]=256Kbps.
Or, the network bandwidth of speed limit determining device respectively shared by the certain applications program obtained in each second network use information in each other network nodes, by the network bandwidth obtained in first network use information shared by every other application program, and determine second network speed-limiting messages in conjunction with network bandwidth information.
Such as, speed limit determining device uses information according to described second network, obtaining the network bandwidth that in network node A, all certain applications programs take is 128Kbps, the network bandwidth that in network node B, all certain applications programs take is 96Kbps, the network bandwidth that in information acquisition speed limit determining device belonging network node, every other application program takies is used to be 32Kbps according to first network, the network total bandwidth obtained by network bandwidth information is 512Kbps, and network bandwidth * network total bandwidth/(the overall network bandwidth that the network bandwidth that every other application program takies+all certain applications programs take) that default second network speed-limiting messages=every other application program takies, then speed limit determining device obtains second network speed-limiting messages=32Kbps*512Kbps/ (128Kbps+96Kbps+32Kbps)=64Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described network bandwidth information, described second network use information and described first network use information, determine the implementation of described second network speed-limiting messages, all should be within the scope of the present invention.
According to method of the present invention, network node can obtain other application program service conditions of other network nodes in preset range, and in conjunction with self other program service conditions, comprehensively determine the available bandwidth of the predetermined application of each network node in preset range, thus ensure that the network of whole preset range is unimpeded, network congestion can not be caused because part of nodes takies too much bandwidth, and the operation of other application programs of each network node can not be affected.
Fig. 4 illustrate according to one aspect of the invention within network nodes for determining the structural representation of the speed limit determining device of network speed limit information.Method according to the present invention is for determining the first network speed-limiting messages of the predetermined application in speed limit determining device belonging network node.Wherein, this speed limit determining device comprises the first acquisition device 1 and the first speed-limiting device 2.
First acquisition device 1 obtains the first network use information of described network node and the network bandwidth information of this network node belonging network; Wherein, described first network uses information to comprise following at least one item: 1) current other application programs using network in described network node; 2) network bandwidth that described in, other application programs take respectively; 3) network bandwidth shared by every other application program.Described acquisition first network uses the mode of information to include but not limited to: 1) the first acquisition device 1 detects its belonging network node and obtains and currently using other application programs of network and each network bandwidth that takies respectively of other application programs; 2) the first acquisition device 1 detects the current network bandwidth etc. taken in belonging network node.At least comprise network total bandwidth in described network bandwidth information, preferably, network bandwidth information can also comprise following information: the 1) gateway information of described network node belonging network; 2) web-based history total bandwidth etc.The mode of described acquisition network bandwidth information includes but not limited to: 1) the first acquisition device 1 accesses the switch nearest apart from self belonging network node, to read network bandwidth information; 2) the first acquisition device 1 detects to obtain network bandwidth information to self belonging network by bandwidth detection function; 3) the first acquisition device 1 obtains network bandwidth information etc. by obtaining the gateway information of network residing for self.
First speed-limiting device 2 uses information and described network bandwidth information according to described first network, obtains the first network speed-limiting messages of predetermined application in described network node.Wherein, described first network speed-limiting messages at least comprises following any one information: 1) the available bandwidth upper limit of described predetermined application; 2) the available bandwidth scope of described predetermined application.
Such as, first network use information comprises the information that n item is using other application programs of network, and the bandwidth presetting described predetermined application is obtained divided by total number of network node by the network bandwidth, then the first speed-limiting device 2 uses information and network bandwidth information according to described first network, determines available bandwidth=network bandwidth/(n+1) of predetermined application described in first network speed-limiting messages.
Again such as, first network use information comprises program A occupied bandwidth 64Kbps, program B occupied bandwidth 56Kbps, the information of program C occupied bandwidth 32Kbps, it is 256Kbps that first speed-limiting device 2 obtains network total bandwidth by network bandwidth information, and the smaller in presetting the average bandwidth that obtained divided by number of applications by the network bandwidth and the network bandwidth being deducted both remaining bandwidths that occupied bandwidth obtains is lower limit, the greater is that the upper limit is to determine the speed limit scope of predetermined application; Then the first speed-limiting device 2 obtains the average bandwidth=network bandwidth/number of applications=256Kbps/4=64Kbps, remaining bandwidth=network bandwidth-occupied bandwidth=104Kbps, then, the first speed-limiting device 2 determines that the available bandwidth scope of predetermined application described in described first network speed-limiting messages is 64Kbps to 104Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described first network use information and described network bandwidth information, obtain the implementation of the first network speed-limiting messages of predetermined application in described network node, all should be within the scope of the present invention.
As a preferred embodiment of the present invention, wherein, grade determining device (not shown) and the first sub-speed-limiting device (not shown) is also comprised in the first speed-limiting device 2.
Grade determining device uses information according to described first network, determines speed limit grade.
Particularly, grade determining device obtains current other application programs using network by described first network use information, and according to the classification of these other application programs, determines speed limit grade.
Such as, when not comprising other application programs of any use network in first network use information, then grade determining device determination speed limit grade is the first speed limit grade; When comprising Web browsing application in first network use information, then grade determining device determination speed limit grade is the second speed limit grade; When comprising audio frequency audition program in first network use information, then grade determining device determination speed limit grade is the 3rd speed limit grade; Watch video program online when comprising in first network use information, then grade determining device determination speed limit grade is the 4th speed limit grade.
Or, grade determining device obtains the current network bandwidth using other application programs of network to take respectively according in described first network use information, or directly by the network bandwidth obtaining every other application program in first network use information and take, and according to the network bandwidth that these other application programs take, determine speed limit grade.
Such as, within the network bandwidth taken when other application programs described accounts for 10% of network total bandwidth, then grade determining device determination speed limit grade is the first speed limit grade; The network bandwidth taken when other application programs described accounts for 10% ~ 60% of network total bandwidth, then grade determining device determination speed limit grade is the second speed limit grade; The network bandwidth taken when other application programs described accounts for 60% ~ 100% of network total bandwidth, then grade determining device determination speed limit grade is the 3rd speed limit grade.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, it should be appreciated by those skilled in the art that any according to described first network use information, determine the implementation of speed limit grade, such as, when first network use information comprises Web browsing application and online viewing video program, determine that speed limit grade is the 5th speed limit grade etc., all should be within the scope of the present invention.
First sub-speed-limiting device, according to the network bandwidth information of described speed limit rank and described network node belonging network, obtains described first network speed-limiting messages.
Concrete, the first sub-speed-limiting device obtains the ratio corresponding with described speed limit rank preset, and obtains described first network speed-limiting messages according to this ratio and network bandwidth information.
Such as, the acquired speed limit rank of grade determining device is the second speed limit rank, then the first sub-speed-limiting device obtains the ratio corresponding with described speed limit rank preset is 50%, then, described network total bandwidth is multiplied by 50% by the first sub-speed-limiting device, is used as first network speed-limiting messages with the available bandwidth obtaining described predetermined application.
Or the first sub-speed-limiting device obtains the ratio range corresponding with described speed limit rank preset, and obtains described first network speed-limiting messages according to this ratio range and network bandwidth information.
Such as, the acquired speed limit rank of grade determining device is the 3rd speed limit rank, and be 1024Kbps according to the network total bandwidth that network bandwidth information obtains, it is 20 ~ 40% that first sub-speed-limiting device obtains the ratio range corresponding with described speed limit rank preset, then described in the first sub-speed-limiting device determination first network speed-limiting messages, the scope of the available bandwidth of predetermined application is 204.8Kbps ~ 409.6Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described speed limit rank and described network bandwidth information, obtain the implementation of described first network speed-limiting messages, all should be within the scope of the present invention.
As another preferred embodiment of the present invention, wherein, described first speed-limiting device 2 comprises speed limit adjusting device (not shown) and the second sub-speed-limiting device (not shown).
Speed limit adjusting device uses information according to described first network, determines speed limit regulated value.
Such as, to comprise information as follows for first network use information: program A occupied bandwidth is 200Kbps, program B occupied bandwidth is 360Kbps, program C occupied bandwidth 180Kbps; Speed limit adjusting device determination speed limit regulated value=(minimum values of maximum+other program occupied bandwidths of other program occupied bandwidths)/2=(360Kbps+180Kbps)/2=270Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, it should be appreciated by those skilled in the art that any according to described first network use information, determine the implementation of speed limit regulated value, such as, using the mean value of bandwidth shared by current other application programs using network as speed limit regulated value, or the maximum of other program occupied bandwidths is selected to be used as the modes such as speed limit regulated value, all should be within the scope of the present invention.
Second sub-speed-limiting device, according to described speed limit regulated value and described network bandwidth information, obtains described first network speed-limiting messages.
Such as, the acquired speed limit regulated value of speed limit adjusting device is 600Kbps, it is 1024Kbps that second sub-speed-limiting device obtains network total bandwidth by network bandwidth information, and presets the first network speed-limiting messages using the smaller in speed limit regulated value and the network bandwidth/2 as described predetermined application; Second sub-speed-limiting device judges the speed limit regulated value=600Kbps >=network bandwidth/2=1024Kbps/2=512Kbps, then the second sub-speed-limiting device obtains first network speed-limiting messages is 512Kbps.
Again such as, the acquired speed limit regulated value of speed limit adjusting device is 600Kbps, it is 1024Kbps that second sub-speed-limiting device obtains network total bandwidth by network bandwidth information, and preset first network speed-limiting messages=network total bandwidth-speed limit regulated value, then the second sub-speed-limiting device obtains first network speed-limiting messages=1024-600=424Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described speed limit regulated value and described network bandwidth information, to obtain the implementation of described first network speed-limiting messages, such as using speed limit regulated value directly as the available bandwidth of predetermined application to obtain the mode etc. of first network speed-limiting messages, all should be within the scope of the present invention.
According to speed limit determining device of the present invention, the information of network is used by other application programs obtaining speed limit determining device place network node, determine the available bandwidth of predetermined application, so can not only utilize the network bandwidth to greatest extent, and the operation of other application programs can not be disturbed, larger lifting Consumer's Experience.
Fig. 5 illustrate in accordance with a preferred embodiment of the present invention within network nodes for determining the structural representation of the speed limit determining device of network speed limit information.The first broadcaster 3, second acquisition device 4 and the second speed-limiting device 5 is comprised further according to the speed limit determining device of the present embodiment.
When meeting scheduled broadcast trigger condition, the first broadcast message issued by the first broadcaster 3 in preset range; Wherein, described first broadcast message comprises the identification information of described network node, and this identification information includes but not limited to: the 1) title of network node; 2) network location information etc. of network node.Wherein, described scheduled broadcast trigger condition includes but not limited to: 1) scheduled event trigger condition, when the first broadcaster 3 obtains scheduled event trigger condition, such as, the first broadcast message issue an order that user inputs via input equipment is obtained, again such as, detect that user just operates described predetermined application via computer equipment, again such as, receive the triggering signal etc. from other equipment, then described first broadcast message broadcasted by the first broadcaster 3 in preset range; 2) scheduled time condition, runs when speed limit determining device and arrives a certain predetermined point of time, or, when measurement mechanism meets predetermined period running time; Or when measurement mechanism detects that the distance last time interval issuing broadcast message has reached predetermined space value, described first broadcast message broadcasted by the first broadcaster 3 in preset range.Wherein, described preset range includes but not limited to: 1) physical location scope, such as, using the local area network (LAN) residing for described publish resource node as preset range; 2) user scope, such as, presets multiple nodal information, using node corresponding to described multiple nodal information as preset range in measurement mechanism.Described first broadcast message also comprises following at least one item: 1) described first network uses information; 2) described first network speed-limiting messages.
Second acquisition device 4 obtains the second broadcast message issued from other network nodes in preset range belonging to described network node, and wherein, described second broadcast message comprises the flag information of other network nodes issuing this second broadcast message.
Second speed-limiting device 5, according to described second broadcast message, obtains the second network speed-limiting messages of described predetermined application; Wherein, described second network speed-limiting messages at least comprises following any one information: 1) corresponding with each other network nodes respectively available bandwidth; 2) corresponding with each other network nodes available bandwidth scope.
Concrete, second speed-limiting device 5 is according to the identification information in all second broadcast messages obtained within the scope of the scheduled time, determine the quantity of other network nodes, and according to the quantity of other network nodes and described network bandwidth information, obtain the second network speed-limiting messages of described predetermined application.
Such as, second speed-limiting device 5 is 1024Kbps by the network total bandwidth obtained in network bandwidth information, and all second broadcast messages that analysis obtains obtaining within the scheduled time comprise the identification information of 15 other network nodes, and preset second network speed-limiting messages=network total bandwidth/overall network number of nodes.Then the second speed-limiting device 5 is according to the identification information of other network nodes described, determines to have 16 network nodes in its current belonging network, and in conjunction with network total bandwidth, obtains second network speed-limiting messages=1024Kbps/16=64Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described second broadcast message, obtain the implementation of the second network speed-limiting messages of described predetermined application, all should be within the scope of the present invention.
As a preferred embodiment of the present invention, wherein, the second speed-limiting device 5 also comprises quantity statistics device (not shown) and the 3rd sub-speed-limiting device (not shown).
Quantity statistics device, according to the second obtained broadcast message, determines the quantity of other network nodes described;
Concrete, quantity statistics device by the flag information obtaining other network nodes in obtained all second broadcast messages, and obtains not identical identification information quantity, to determine the quantity of other network nodes.
Such as, quantity statistics device obtains four the second broadcast messages, and these four second broadcast messages comprise identification information a, b, c and a respectively, then quantity statistics device determines that other network node quantity are three.
3rd sub-speed-limiting device uses information according to the quantity of other network nodes described and described first network, determines described second network speed-limiting messages.
Concrete, 3rd sub-speed-limiting device obtains current other application programs using network by described first network use information, to obtain the default ratio corresponding with type that is these other application programs, and determine second network speed-limiting messages according to the quantity of described ratio, other network nodes and network bandwidth information.
Such as, predetermined second network speed-limiting messages=(network total bandwidth/overall network node) * ratio; The quantity of other network nodes that quantity statistics device has obtained is 15, Web browsing application is comprised in described first network use information, the ratio that then the 3rd sub-speed-limiting device determination Web browsing application is corresponding is 80%, it is 1024Kbps that 3rd sub-speed-limiting device obtains network total bandwidth by network bandwidth information, then the 3rd sub-speed-limiting device obtains second network speed-limiting messages=(1024Kbps/16) * 80%=51.2Kbps.
Or, 3rd sub-speed-limiting device obtains the current network bandwidth using other application programs of network to take respectively by described first network use information, or directly by the network bandwidth obtaining every other application program in first network use information and take, and according to the network bandwidth that these other application programs take, the quantity of other network nodes and network bandwidth information determine second network speed-limiting messages.
Such as, predetermined second network speed-limiting messages=(network bandwidth shared by network total bandwidth-every other application program)/all-network nodes; The quantity of other network nodes that quantity statistics device has obtained is 31, the network total bandwidth that 3rd sub-speed-limiting device is obtained by described network bandwidth information is 1024Kbps, be 128Kbps by the network bandwidth obtained shared by described every other application program in first network use information, then speed limit determining device obtains second network speed-limiting messages=(1024Kbps-128Kbps)/32=28Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, the quantity of other network nodes described in any basis, described network total bandwidth and described first network use information, determine the implementation of described second network speed-limiting messages, all should be within the scope of the present invention.
As another preferred embodiment of the present invention, wherein, the second speed-limiting device 5 also comprises the 3rd acquisition device (not shown) and the 3rd speed-limiting device (not shown); Described second broadcast message also comprises the 3rd network speed limit information.Wherein, described 3rd network speed limit information at least comprises following any one information: 1) corresponding with the predetermined application in other network nodes described available bandwidth upper limit; 2) scope of corresponding with the predetermined application in other network nodes described available bandwidth.
3rd acquisition device, according to the second obtained broadcast message, obtains quantity and the 3rd network speed limit information of other network nodes described.
Concrete, the 3rd acquisition device by obtain respectively in each obtained second broadcast message issue this second broadcast message other network nodes corresponding to the 3rd network speed limit information.According to the flag information in the second broadcast message, 3rd acquisition device determines that the mode of network node quantity is described in detail in the aforementioned embodiment, repeat no more.
3rd speed-limiting device according to the quantity of other network nodes described and the 3rd network speed limit information, and in conjunction with described first network speed-limiting messages, determines described second network speed-limiting messages.
Concrete, the 3rd speed-limiting device determines described second network speed-limiting messages according to the quantity of first network speed-limiting messages corresponding to corresponding respectively the 3rd network speed limit information of each other network nodes, speed limit determining device belonging network node and other network nodes described.
Such as, 3rd speed-limiting device obtains in the 3rd network speed limit information of network node A and comprises available bandwidth upper limit 56Kbps, available bandwidth upper limit 64Kbps is comprised in the 3rd network speed limit information of network node B, available bandwidth upper limit 32Kbps is comprised in the 3rd network speed limit information of network node C, available bandwidth upper limit 104Kbps is comprised in the first network speed-limiting messages of speed limit determining device belonging network node D, the quantity of other network nodes described is 3, and preset the second network speed-limiting messages=minimum available bandwidth upper limit/overall network nodes, then the 3rd speed-limiting device determination minimum available bandwidth upper limit is 32Kbps, and obtain second network speed-limiting messages=32Kbps/4=8Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, it should be appreciated by those skilled in the art that quantity and the 3rd network speed limit information of other network nodes described in any basis, and in conjunction with described first network speed-limiting messages, determine the implementation of described second network speed-limiting messages, such as, by the mean value of all available bandwidth upper limits divided by overall network number of nodes etc., all should be within the scope of the present invention.
As a preferred embodiment of the present invention, wherein, described second broadcast message also comprises the second network use information of other network nodes issuing this broadcast message; Second speed-limiting device 5 also comprises the 3rd sub-acquisition device (not shown) and the 4th sub-speed-limiting device (not shown).
3rd sub-acquisition device uses information by obtaining described second network in described second broadcast message; Wherein, described second network uses information to comprise following at least one item: 1) the current certain applications program using network in other network nodes described; 2) network bandwidth that takies respectively of described certain applications program; 3) the overall network bandwidth shared by described certain applications program.
4th sub-speed-limiting device uses information and described first network to use information according to described second network, determines described second network speed-limiting messages.
Concrete, 4th sub-speed-limiting device is respectively by obtaining the current certain applications program using network in each other network nodes in each second network use information, and use current other application programs using network in acquisition of information speed limit determining device belonging network node according to described first network, and according to the type of described certain applications program and other application programs, in conjunction with network bandwidth information, determine described second network speed-limiting messages;
Such as, 4th sub-speed-limiting device uses packets of information containing Web browsing application by the second network obtaining network node A in second network use information, the second network of network node B uses packets of information containing online video program, the second network of network node C uses information not comprise any application program, the first network of the network node D belonging to speed limit determining device uses packets of information containing online games, and obtaining network total bandwidth by network bandwidth information is 1024Kbps.And ratio corresponding to preset web browser is 90%, ratio corresponding to Online Video program is 50%, when not comprising any part application program, ratio is 100%, ratio corresponding to game on line journey is 80%, and preset second network speed-limiting messages=network total bandwidth * (using ratio/all ratio sums of information acquisition according to first network), then the 4th sub-speed-limiting device obtains second network speed-limiting messages=1024Kbps* [8/ (9+10+5+8)]=256Kbps.
Or, the network bandwidth of 4th sub-speed-limiting device respectively shared by the certain applications program obtained in each second network use information in each other network nodes, by the network bandwidth obtained in first network use information shared by every other application program, and determine second network speed-limiting messages in conjunction with network bandwidth information.
Such as, 4th sub-speed-limiting device is 128Kbps by obtaining the network bandwidth that in network node A, all certain applications programs take in described second network use information, the network bandwidth that in network node B, all certain applications programs take is 96Kbps, be 32Kbps by obtaining the network bandwidth that in speed limit determining device belonging network node, every other application program takies in first network use information, be 512Kbps by obtaining network total bandwidth in network bandwidth information, and network bandwidth * network total bandwidth/(the overall network bandwidth that the network bandwidth that every other application program takies+all certain applications programs take) that default second network speed-limiting messages=every other application program takies, then speed limit determining device obtains second network speed-limiting messages=32Kbps*512Kbps/ (128Kbps+96Kbps+32Kbps)=64Kbps.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described network bandwidth information, described second network use information and described first network use information, determine the implementation of described second network speed-limiting messages, all should be within the scope of the present invention.
According to method of the present invention, network node can obtain other application program service conditions of other network nodes in preset range, and in conjunction with self other program service conditions, comprehensively determine the available bandwidth of the predetermined application of each network node in preset range, thus ensure that the network of whole preset range is unimpeded, network congestion can not be caused because part of nodes takies too much bandwidth, and the operation of other application programs of each network node can not be affected.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, the present invention can be realized in other specific forms.Therefore, no matter from which point, all should embodiment be regarded as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, and all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of other unit or step, odd number does not get rid of plural number.Multiple unit of stating in system claims or device also can be realized by software or hardware by a unit or device.First, second word such as grade is used for representing title, and does not represent any specific order.