CN105099787B - A kind of bandwidth allocation methods and device - Google Patents

A kind of bandwidth allocation methods and device Download PDF

Info

Publication number
CN105099787B
CN105099787B CN201510552740.0A CN201510552740A CN105099787B CN 105099787 B CN105099787 B CN 105099787B CN 201510552740 A CN201510552740 A CN 201510552740A CN 105099787 B CN105099787 B CN 105099787B
Authority
CN
China
Prior art keywords
equipment
speed limit
bandwidth
list
router
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510552740.0A
Other languages
Chinese (zh)
Other versions
CN105099787A (en
Inventor
韩俊超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huzhou Yinglie Intellectual Property Operation Co ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510552740.0A priority Critical patent/CN105099787B/en
Publication of CN105099787A publication Critical patent/CN105099787A/en
Application granted granted Critical
Publication of CN105099787B publication Critical patent/CN105099787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention, which provides a kind of bandwidth allocation methods and device, method, to be included:Detect the total bandwidth of the network of couple in router;The flow of all devices of couple in router is detected, obtains the traffic demand of each equipment;Statistics needs the equipment of high bandwidth and obtains statistical result;Judgement needs whether the equipment of high bandwidth is all present in not speed limit list;If desired the equipment of high bandwidth all exists or is entirely absent in not speed limit list, then distributes same band to the equipment for needing high bandwidth according to total bandwidth;If desired the environment division of high bandwidth is present in not speed limit list, then carries out bandwidth limitation to the equipment for being not present in not speed limit list and needing high bandwidth, then distributes same band to the equipment for being present in not speed limit list and needing high bandwidth according to total bandwidth.The present invention realizes the process of automatic detection;Do not conflict with original static rule, user can be according to being actually needed addition unalterable rules.

Description

A kind of bandwidth allocation methods and device
Technical field
The present invention relates to bandwidth allocation field, more particularly to a kind of bandwidth allocation methods and device.
Background technology
At present can access band terminal device it is more and more, average family also have multiple pc and mobile phone by wired or Wirelessly connection route device access band.Generally most of band can be taken when a device downloads file or buffered video Width, the bandwidth meeting very little that other equipment is assigned to is so that it cannot meet normal browsing webpage or game running.
Existing solution is that can add the bandwidth restriction rule to IP address in the router to limit distinct device Bandwidth.Bandwidth restriction rule is added to different equipment by use demands different every time and takes band to solve individual plants It is wider than the problem of high.
The setting rule that existing addition is controlled router bandwidth is static configuration, it is necessary to which the equipment of speed limit is added one by one Add rule.Have during new equipment access, it is necessary to which new equipment, which is added in speed limit rule, could realize control.When the equipment of access becomes When more frequent, if user is unaffected in order to maintain certain equipment, need frequently to be added to new connection equipment one by one In restriction rule.This pattern needs user frequently to configure, very unfriendly for the user that not quite understands collocation method, frequency Numerous configuration can also reduce user's likability.
The content of the invention
In view of the above problems, the application describes a kind of bandwidth allocation methods, and suitable for router, methods described includes step Suddenly:
Detection accesses the total bandwidth of the network of the router;
The flow of all devices to accessing the router detects, and obtains the traffic demand of each equipment;
According to the traffic demand of each equipment, statistics needs the equipment of high bandwidth and obtains statistics knot Fruit;
The not speed limit list according to whether the statistical result judges to need the equipment of high bandwidth to be all present in In;
If desired the equipment of high bandwidth all exists or is entirely absent in the not speed limit list, then basis The total bandwidth distributes same band to the equipment for needing high bandwidth;
If desired the environment division of high bandwidth is present in the not speed limit list, then described unlimited to being not present in In fast list and the equipment of high bandwidth is needed to carry out bandwidth limitation, and according to the total bandwidth to not speed limit described in being present in In list and the equipment of high bandwidth is needed to distribute same band.
Preferably, also include step after the total bandwidth of the network of the detection access router:
Show the list of devices for all equipment being connected with the router;
User selects that the equipment of speed limit need not be carried out from the list of devices;
The MAC Address of the equipment selected by user is stored in the not speed limit list.
Preferably, also include step after the traffic demand of each equipment is obtained:
Detect in the router with the presence or absence of static speed limit rule;
If in the presence of not to added with described during statistics needs the equipment of high bandwidth and obtains statistical result The equipment of static speed limit rule is counted;
If being not present, perform step counted according to the traffic demand of each equipment need high bandwidth described in set It is standby and obtain statistical result.
Preferably, bandwidth limitation is carried out to the equipment added with the static speed limit rule.
Preferably, the not speed limit list includes the MAC Address for being connected to all equipment of the router.
Present invention also offers a kind of bandwidth allocation device, described device includes:
Total bandwidth detection unit, to detect the total bandwidth of the network of couple in router;
Selecting unit, it is connected with the total bandwidth detection unit, the MAC Address of the equipment of speed limit will need not be carried out It is stored in not speed limit list;
Static speed limit detection unit, it is connected with the total bandwidth detection unit, static speed limit rule is added with to count The equipment;
Flow detection unit, it is connected with the static speed limit detection unit, is needed to detect the bandwidth of all equipment Ask;
Statistic unit, it is connected with the flow detection unit, needs the equipment of high bandwidth to count and obtain system Count result;
Not speed limit list query unit, fast detection unit is connected before the statistic unit and the static state, uses Whether there is the equipment being present in not speed limit list in the statistical result to detect and obtain Query Result;
Allocation unit, be connected with the not speed limit list query unit, to according to the Query Result to the equipment Carry out bandwidth allocation.
Preferably, the selecting unit includes:
Subelement is shown, is connected with the total bandwidth detection unit, to show all institutes being connected with the router State the list of devices of equipment;
Subelement is selected, is connected with the display subelement, speed limit need not be carried out selected by user to record The equipment;
Storing sub-units, it is connected with the selection subelement, to by the institute that need not carry out speed limit selected by user The MAC Address for stating equipment is stored in the not speed limit list.
Above-mentioned technical proposal has the following advantages that or beneficial effect:The present invention is recorded with equipment, automatic detection, automatically distribution Premised on, not speed limiting device need to be only added in list, even if there are multiple new equipment connection route devices, without adding speed limit The equipment normal use of not speed limit can preferentially be met;The present invention realizes automatic detection, Intelligent control, frequently enters without user Row configuration;Do not conflict with original static rule, user can be according to being actually needed addition unalterable rules.
Brief description of the drawings
With reference to appended accompanying drawing, more fully to describe embodiments of the invention.However, appended accompanying drawing be merely to illustrate and Illustrate, and be not meant to limit the scope of the invention.
Fig. 1 is a kind of flow chart one of bandwidth allocation methods of the present invention;
Fig. 2 is a kind of flowchart 2 of bandwidth allocation methods of the present invention;
Fig. 3 is a kind of flow chart 3 of bandwidth allocation methods of the present invention;
Fig. 4 is a kind of structural representation one of bandwidth allocation device of the present invention;
A kind of structural representation two of bandwidth allocation device of Fig. 5 positions present invention.
Embodiment
Bandwidth allocation methods of the present invention and device are described in detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment one
As shown in figure 1, a kind of bandwidth allocation methods, including step:
Detect the total bandwidth of network;
The flow of all devices to accessing the router is timed detection, obtains the flow of each equipment and needs Ask;
The equipment of high bandwidth is needed according to traffic demand statistics, obtains statistical result;In the statistical result Including the MAC Address for all devices for needing high bandwidth;
The not speed limit list according to whether the statistical result judges to need the equipment of high bandwidth to be all present in In;
When the equipment for needing high bandwidth is all present or is entirely absent in the not speed limit list, then to this A little equipment distribution same bands;Otherwise, bandwidth limitation is carried out to the equipment being not present in the not speed limit list, it is other Need high bandwidth equipment distribute same band.That is, the priority phase for all devices being present in the not speed limit list Together, when the equipment in not speed limit list needs high bandwidth, then router distributes identical bandwidth to these equipment, if not When equipment in speed limit list and outside list needs high bandwidth simultaneously, it is necessary to preferentially the equipment in not speed limit list is distributed Bandwidth, the equipment outside list carry out the limitation processing of bandwidth.Meanwhile bandwidth preferentially is distributed to the equipment in not speed limit list, this A little equipment still distribute same band.
Specifically, a not speed limit list in router be present, be stored with the list and be connected to the router The MAC Address of equipment.After router connection network, first have to judge wide-band type by WAN mouths IP, the wide-band type includes Telecommunications, Netcom etc., then send packet to the website of testing the speed of telecommunications or Netcom and tested, to obtain total band in the broadband It is wide.It is every to obtain, it is necessary to be timed detection to the flow for every equipment for accessing the router after router unlatching process The traffic demand of the individual equipment.When multiple equipment be present and be required to high bandwidth, judge that these equipment whether there is in described Not in speed limit list.When these equipment have the not speed limit list, illustrate that the priority of these equipment is identical, then now road By device these equipment are allocated with same band processing;If these need the MAC Address for having equipment in the equipment of high bandwidth It is not recorded in the not speed limit list, and other equipment are present in this not in speed limit list, then router is not to The equipment being present in not speed limit list carries out bandwidth limitation processing, preferentially meets the normal use of the equipment in list.Except this Outside, equipment of the router to being not present in the not speed limit list, acquiescence by the way of mean allocation bandwidth.
As shown in Fig. 2 in addition, also include step after the traffic demand of each equipment is obtained:
The all devices title of the router connection is shown on APP or WEB page;
The equipment that user's selection need not carry out speed limit;
The MAC Address of the equipment selected by user is stored in the not speed limit list.
Specifically, after router open function, can be shown on APP or WEB page at present with the router The list of devices of connected all devices, and also have an option for adding not speed limit list behind each device name, when After user selects addition one or more of which equipment, the MAC Address of these equipment can be stored in not speed limit list.Letter For list, after router obtains total bandwidth and after open function, list of devices can be shown by APP or WEB page, The equipment that user need not carry out speed limit by list of devices selection, the selection of user can be stored in not speed limit list. Therefore when all devices normal operation, it becomes possible to according to being actually needed to judge whether to carry out speed limit to the equipment for user Processing.
In addition, when user sets not speed limit list, additionally it is possible to by original mode to needing the equipment relatively fixed Add static limitation bandwidth rule, i.e., static restriction rule.As shown in figure 3, need the equipment of high bandwidth simultaneously in statistics Obtain statistical result also includes step afterwards:
Detect in all-router with the presence or absence of static speed limit rule;
If so, the equipment of the statistics addition static speed limit rule, and height is being needed according to traffic demand statistics The equipment added with the static speed limit rule is not counted during the equipment of bandwidth;
Otherwise, according to the equipment that high bandwidth is needed in the statistics traffic demand statistics all devices.
User adds static speed limit rule by original mode equipment more fixed to demand, when detecting static limit In the presence of fast rule, using the priority of static rule as highest.When inquiring the static speed limit rule of certain equipment, no longer go The equipment is not inquired about in speed limit list.
Of the invention main to realize that router adds devices to not speed limit list, the information of recording equipment distributes bandwidth. The total bandwidth of router meeting detection device first, when there is multiple devices connection route device, router is each by monitoring respectively The traffic demand of equipment draw it is whether multiple all need take high bandwidth.Then these equipment are detected whether in not speed limit list, most Band preference distributes to the equipment in not speed limit list at last.The present invention is recorded with equipment, automatic detection, it is automatic be assigned as before Carry, not speed limiting device need to be only added in list, also can be excellent without adding speed limit even if there is multiple new equipment connection route devices First meet the equipment normal use of not speed limit.
The present invention realizes automatic detection, Intelligent control, is frequently configured without user.Meanwhile with it is original quiet State rule does not conflict, and user can be according to being actually needed addition unalterable rules.
Embodiment two
The bandwidth allocation methods proposed according to above-described embodiment, the present embodiment propose a kind of bandwidth allocation device.
As shown in figure 4, a kind of bandwidth allocation device, including:
Total bandwidth detection unit, to detect the total bandwidth of couple in router network;
Selecting unit, it is connected with the total bandwidth detection unit, the MAC Address of the equipment of speed limit will need not be carried out It is stored in not speed limit list;
Static speed limit detection unit, it is connected with the total bandwidth detection unit, static speed limit rule is added with to count Equipment;
Flow detection unit, it is connected with the static speed limit detection unit, to detect the bandwidth demand of all devices;
Statistic unit, it is connected with the flow detection unit, to count the equipment for needing high bandwidth, obtains statistics As a result;
Not speed limit list query unit, it is connected respectively with the statistic unit and the static speed limit detection unit, uses It is present in equipment in not speed limit list to detect in the statistical result whether to have, and obtains Query Result;
Allocation unit, be connected with the not speed limit list query unit, to according to the Query Result to the equipment Carry out bandwidth allocation.
As shown in figure 5, wherein, the selecting unit includes:
Show subelement, be connected with the total bandwidth detection unit, on APP or WEB page display with it is described The list of devices of the connected all equipment of router;The list of devices includes the title of all devices;
Subelement is selected, is connected with the display subelement, speed limit need not be carried out selected by user to record The equipment;
Storing sub-units, it is connected with the selection subelement, to by the institute that need not carry out speed limit selected by user The MAC Address for stating equipment is stored in the not speed limit list.
In the bandwidth allocation device, after router connects network, the total bandwidth detection unit passes through WAN mouths IP judges the wide-band type of router access, then sends packet to website of testing the speed accordingly to measure the reality in the broadband Bandwidth, i.e. total bandwidth.Router feature is simply opened, the static speed limit detection unit inquiry access router, which whether there is, to be added Added with the equipment of static speed limit rule.If it is present the equipment is inquired about in not speed limit list query unit.Flow The bandwidth demand and statistics of amount detection unit detection all devices need the sum of the equipment of high bandwidth, obtain statistical result.Root According to the statistical result, not speed limit list query unit inspection does not add static speed limit rule and needs the equipment of high bandwidth to be It is no to be present in not speed limit list, if it is present allocation unit is allocated same band processing to these equipment.
The present invention realizes automatic detection, Intelligent control, is frequently configured without user.Meanwhile with it is original quiet State rule does not conflict, and user can be according to being actually needed addition unalterable rules.
For a person skilled in the art, after reading described above, various changes and modifications undoubtedly will be evident. Therefore, appended claims should regard whole variations and modifications of the true intention and scope that cover the present invention as.Weighing Any and all scope and content of equal value, are all considered as still belonging to the intent and scope of the invention in the range of sharp claim.

Claims (6)

1. a kind of bandwidth allocation methods, suitable for router, it is characterised in that methods described includes step:
Detection accesses the total bandwidth of the network of the router;
The flow of all devices to accessing the router detects, and obtains the traffic demand of each equipment;
Detect in the router with the presence or absence of static speed limit rule;
If in the presence of not to added with the static state during statistics needs the equipment of high bandwidth and obtains statistical result The equipment of speed limit rule is counted;
If being not present, perform step needs the equipment of high bandwidth simultaneously according to the traffic demand statistics of each equipment Obtain statistical result;
According to the traffic demand of each equipment, statistics needs the equipment of high bandwidth and obtains statistical result;
Judge to need whether the equipment of high bandwidth is all present in one not in speed limit list according to the statistical result;
If desired the equipment of high bandwidth all exists or is entirely absent in the not speed limit list, then according to Total bandwidth distributes same band to the equipment for needing high bandwidth;
If desired the environment division of high bandwidth is present in the not speed limit list, then to being not present in the not speed limit name In list and the equipment of high bandwidth is needed to carry out bandwidth limitation, and according to the total bandwidth to not speed limit list described in being present in In and need high bandwidth the equipment distribute same band.
2. bandwidth allocation methods according to claim 1, it is characterised in that the network of the router is accessed in detection Also include step after total bandwidth:
Show the list of devices for all equipment being connected with the router;
User selects that the equipment of speed limit need not be carried out from the list of devices;
The MAC Address of the equipment selected by user is stored in the not speed limit list.
3. bandwidth allocation methods according to claim 1, it is characterised in that to the institute added with the static speed limit rule State equipment and carry out bandwidth limitation.
4. bandwidth allocation methods according to claim 1, it is characterised in that the not speed limit list is described including being connected to The MAC Address of all equipment of router.
5. a kind of bandwidth allocation device, it is characterised in that described device includes:
Total bandwidth detection unit, to detect the total bandwidth of the network of couple in router;
Selecting unit, it is connected with the total bandwidth detection unit, the MAC Address that need not carry out the equipment of speed limit to be stored In not speed limit list;
Static speed limit detection unit, it is connected with the total bandwidth detection unit, to count the institute for being added with static speed limit rule State equipment;
Flow detection unit, it is connected with the static speed limit detection unit, to detect the bandwidth demand of all equipment;
Statistic unit, it is connected with the flow detection unit, needs the equipment of high bandwidth and obtain to count knot to count Fruit;
Not speed limit list query unit, fast detection unit is connected before the statistic unit and the static state, to examine Whether survey in the statistical result has the equipment being present in not speed limit list and obtains Query Result;
Allocation unit, it is connected with the not speed limit list query unit, to be carried out according to the Query Result to the equipment Bandwidth allocation.
6. bandwidth allocation device according to claim 5, it is characterised in that the selecting unit includes:
Show subelement, be connected with the total bandwidth detection unit, to show be connected with the router it is all described in set Standby list of devices;
Subelement is selected, is connected with the display subelement, need not be carried out described in speed limit selected by user to record Equipment;
Storing sub-units, it is connected with the selection subelement, that need not will carry out setting described in speed limit selected by user Standby MAC Address is stored in the not speed limit list.
CN201510552740.0A 2015-09-01 2015-09-01 A kind of bandwidth allocation methods and device Active CN105099787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510552740.0A CN105099787B (en) 2015-09-01 2015-09-01 A kind of bandwidth allocation methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510552740.0A CN105099787B (en) 2015-09-01 2015-09-01 A kind of bandwidth allocation methods and device

Publications (2)

Publication Number Publication Date
CN105099787A CN105099787A (en) 2015-11-25
CN105099787B true CN105099787B (en) 2018-04-10

Family

ID=54579403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510552740.0A Active CN105099787B (en) 2015-09-01 2015-09-01 A kind of bandwidth allocation methods and device

Country Status (1)

Country Link
CN (1) CN105099787B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038442A (en) * 2014-06-11 2014-09-10 普联技术有限公司 Bandwidth allocation method and router
CN104125170A (en) * 2014-07-25 2014-10-29 北京奇虎科技有限公司 Router based user accessed bandwidth adjusting method, device and system
CN104618270A (en) * 2015-02-12 2015-05-13 北京极科极客科技有限公司 Intelligent bandwidth allocation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038442A (en) * 2014-06-11 2014-09-10 普联技术有限公司 Bandwidth allocation method and router
CN104125170A (en) * 2014-07-25 2014-10-29 北京奇虎科技有限公司 Router based user accessed bandwidth adjusting method, device and system
CN104618270A (en) * 2015-02-12 2015-05-13 北京极科极客科技有限公司 Intelligent bandwidth allocation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
p2p终结者怎么用的使用方法;百度经验;《百度经验,https://jingyan.baidu.com/article/1876c852daedbc890a137649.html》;20130403;第1-8页 *
超详细讲如何限制局域网网速,P2P终结者使用教程;百度经验;《百度经验,https://jingyan.baidu.com/article/acf728fd1df4ebf8e510a3dc.html》;20131214;第1-6页 *

Also Published As

Publication number Publication date
CN105099787A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN104994037A (en) Automatic distributing system and distributing method for bandwidth
US8416280B2 (en) Video conference system, band control method, conference control device, video conference terminal device and recording medium recording program
CN103609071B (en) Systems and methods for tracking application layer flow via a multi-connection intermediary device
TW201830929A (en) Context-based detection of anomalous behavior in network traffic patterns
CN110380986A (en) Flow limitation method, device, equipment and storage medium based on Zuul
CN106992938A (en) A kind of network traffics dynamic dispatching distribution method and system
CN105721341A (en) Router network resource allocating method and router
CN105119993B (en) Virtual machine deployment method and device
CN107864065A (en) Nothing buries point data acquisition method, system and computer-readable recording medium
US11330512B2 (en) Method and apparatus for wireless device identification and device type based diagnostics and optimization
CN103718508A (en) Advanced determination, processing and control in communication networks
CN106506391A (en) A kind of distribution method of network traffics and router
CN108366012A (en) A kind of social networks method for building up, device and electronic equipment
CN109391520A (en) Deep message detection method, device and system based on pattern of fusion home gateway
TW201921893A (en) Data transmission boosting device
US11558769B2 (en) Estimating apparatus, system, method, and computer-readable medium, and learning apparatus, method, and computer-readable medium
CN108901035A (en) The recognition methods of internet-of-things terminal and device
CN106331172A (en) Method and device for detecting resources for content distribution network
CN104734905A (en) Data flow detection method and device
KR20230003403A (en) Method and apparatus for detecting internet connection problems
CN105099787B (en) A kind of bandwidth allocation methods and device
CN105959248B (en) The method and device of message access control
US10021010B2 (en) Adaptive polling of information from a device
CN106656850A (en) Chip realizing method for automatically identifying network traffic and making speed limit
CN106231613B (en) Distribution strategy generation method and device and network optimization system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 No. 3666 Sixian Road, Songjiang District, Shanghai

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20211210

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A bandwidth allocation method and device

Effective date of registration: 20221205

Granted publication date: 20180410

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2022330003458

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231205

Granted publication date: 20180410

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2022330003458

PC01 Cancellation of the registration of the contract for pledge of patent right