CN106231630A - A kind of business scheduling method and device - Google Patents
A kind of business scheduling method and device Download PDFInfo
- Publication number
- CN106231630A CN106231630A CN201610621772.6A CN201610621772A CN106231630A CN 106231630 A CN106231630 A CN 106231630A CN 201610621772 A CN201610621772 A CN 201610621772A CN 106231630 A CN106231630 A CN 106231630A
- Authority
- CN
- China
- Prior art keywords
- business
- set priority
- bandwidth resources
- available bandwidth
- vlan tag
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0252—Traffic management, e.g. flow control or congestion control per individual bearer or channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/24—Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention provides a kind of business scheduling method and device, relates to communication technical field, solves in prior art and occur, between multiple business of same user, the problem that resource is fought for.The method includes: receiving link control message, described link control message carries VLAN tag or the port-mark of first user accessing virtual LAN VLAN;According to described VLAN tag or described port-mark, identifying at least one business of described first user, the quantity of at least one business described is M, and described M is the integer more than or equal to 1;According to the VLAN tag of each business at least one business described, determine the pre-set priority of described each business;According to the order of the pre-set priority of at least one business described, available bandwidth resources is scheduled to the top n business at least one business described, described N≤described M.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of business scheduling method and device.
Background technology
At present, broadband user samples the mode access network of PPPOE dialing, and gateway device is by user account and close
Code transmission carries out authentication to aaa server (Authentication Authorization Accounting Server) and recognizes
Card, after certification is passed through, aaa server transmission primary bandwidth information is to gateway device, thus the business of broadband user just can connect
Receive network.When broadband user uses multiple business simultaneously, such as, video class business, information browse class business, communication class industry
Business etc., the flow of this multiple business can mix by gateway device, and owing to the bandwidth resources of gateway device are to have
Limit, when the flow of this multiple business is bigger, the situation that bandwidth resources are fought for can occur between the plurality of business, thus cause
There is the problem postponed, card pauses in a part of business, and causes Consumer's Experience poor.
Summary of the invention
Embodiments of the invention provide a kind of business scheduling method and device, solve in prior art when user makes simultaneously
With multiple business and service traffics bigger time, the situation that bandwidth resources are fought for can occur between multiple business.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, it is provided that a kind of business scheduling method, the method includes: receive link control message, described link control
Information processed carries VLAN tag or the port-mark of first user accessing virtual LAN VLAN;According to described VLAN tag or institute
Stating port-mark, identify at least one business of described first user, the quantity of at least one business described is M, and described M is big
In the integer equal to 1;According to the VLAN tag of each business at least one business described, determine presetting of described each business
Priority;According to the order of the pre-set priority of at least one business described, available bandwidth resources is scheduled to described at least one
Top n business in individual business, described N≤described M.
In conjunction with first aspect, in the first possible implementation of first aspect, described VLAN tag includes internal layer
Label and outer layer label.
In conjunction with the first possible implementation of first aspect, the implementation that the second in first aspect is possible
In, according to the VLAN tag of each business at least one business described, determine the pre-set priority of described each business, bag
Include: for the first business at least one business described, according to the vpn label of described first business, from the first corresponding relation
The pre-set priority that middle acquisition is corresponding with described vpn label;Wherein, during described first business is at least one business described
Arbitrary business;Described first corresponding relation at least include described first business vpn label and with described vpn label pair
The described pre-set priority answered.
In conjunction with the first possible implementation of first aspect, in the third possible implementation of first aspect
In, according to the VLAN tag of each business at least one business described, determine the pre-set priority of described each business, bag
Include: for the first business at least one business described, according to the outer layer label of described first business, from the first corresponding relation
The pre-set priority that middle acquisition is corresponding with described outer layer label;Wherein, during described first business is at least one business described
Arbitrary business;Described first corresponding relation at least include described first business outer layer label and with described outer layer label pair
The described pre-set priority answered.
In conjunction with any one in the third possible implementation of first aspect to first aspect, in the of first aspect
In four kinds of possible implementations, according to the order of the pre-set priority of at least one business described, available bandwidth resources is adjusted
Spend at least one business described, including:
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources more than described at least
The total bandwidth resource needed for front N-1 business in one business, and less than the total bandwidth resource needed for top n business, then from
Described available bandwidth resources is the bandwidth resources needed for the described each business of N-1 traffic scheduling, and by residual available bandwidth
Scheduling of resource is to n-th business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources equal to described at least
The total bandwidth resource needed for top n business in one business, then be described N number of traffic scheduling from described available bandwidth resources
Bandwidth resources needed for each business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources is more than or equal to described
Total bandwidth resource needed at least one business, then be the M at least one business described from described available bandwidth resources
Bandwidth resources needed for each business of traffic scheduling.
Second aspect, it is provided that a kind of traffic scheduling device, this device includes: receive unit, is used for receiving link and controls letter
Breath, described link control message carries VLAN tag or the port-mark of first user accessing virtual LAN VLAN;Identify single
Unit, for according to described VLAN tag or described port-mark, identifies at least one business of described first user, described at least
The quantity of one business is M, and described M is the integer more than or equal to 1;Determine unit, for according at least one business described
The VLAN tag of each business, determines the pre-set priority of described each business;Scheduling unit, for according to described at least one
The order of the pre-set priority of business, is scheduled to the top n business at least one business described by available bandwidth resources, described
N≤described M.
In conjunction with second aspect, in the first possible implementation of second aspect, described VLAN tag includes internal layer
Label and outer layer label.
In conjunction with the first possible implementation of second aspect, the implementation that the second in second aspect is possible
In, determine unit specifically for: for the first business at least one business described, according to the internal layer mark of described first business
Sign, from the first corresponding relation, obtain the pre-set priority corresponding with described vpn label;Wherein, described first business is described
Arbitrary business at least one business;Described first corresponding relation at least include described first business vpn label and
The described pre-set priority corresponding with described vpn label.
In conjunction with the first possible implementation of second aspect, in the third possible implementation of second aspect
In, determine unit specifically for: for the first business at least one business described, according to the outer layer mark of described first business
Sign, from the first corresponding relation, obtain the pre-set priority corresponding with described outer layer label;Wherein, described first business is described
Arbitrary business at least one business;Described first corresponding relation at least include described first business outer layer label and
The described pre-set priority corresponding with described outer layer label.
In conjunction with the first possible implementation of second aspect to second aspect, possible the 4th kind of second aspect
In implementation, scheduling unit specifically for:
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources more than described at least
The total bandwidth resource needed for front N-1 business in one business, and less than the total bandwidth resource needed for top n business, then from
Described available bandwidth resources is the bandwidth resources needed for the described each business of N-1 traffic scheduling, and by residual available bandwidth
Scheduling of resource is to n-th business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources equal to described at least
The total bandwidth resource needed for top n business in one business, then be described N number of traffic scheduling from described available bandwidth resources
Bandwidth resources needed for each business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources is more than or equal to described
Total bandwidth resource needed at least one business, then be the M at least one business described from described available bandwidth resources
Bandwidth resources needed for each business of traffic scheduling.
A kind of business scheduling method of embodiments of the invention offer and device, carry first user by reception and access void
Intend VLAN tag or the link control message of port-mark of LAN, according to VLAN mark or port-mark, identify the first use
At least one business at family, the quantity of this at least one business is M, and the VLAN according to business each at least one business
Label, determines the pre-set priority of each business, afterwards, according to the order of the pre-set priority of at least one business, and will be available
Bandwidth scheduling gives the top n business at least one business, thus avoids multiple when multiple service traffics are bigger
The situation that business generation resource is fought for, it is ensured that the service quality of the business that pre-set priority is higher, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be in embodiment or description of the prior art
The required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only some realities of the present invention
Execute example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings
Obtain other accompanying drawing.
The system architecture diagram of a kind of communication system that Fig. 1 provides for the embodiment of the present invention;
A kind of policy control equipment that Fig. 2 provides for the embodiment of the present invention or the structural representation of server;
The structural representation of a kind of access device that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of business scheduling method that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of traffic scheduling device that Fig. 5 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
The system architecture diagram of a kind of communication system that Fig. 1 provides for the embodiment of the present invention, sees Fig. 1, this system architecture bag
Include policy control equipment 101, server 102, gateway device 103 and access device 104.
Wherein, policy control equipment 101 and server 102 are all as in figure 2 it is shown, memorizer 1011, processor can be included
1012, system bus 1013, power supply module 1014, input output interface 1015 and communications component 1016 etc..Memorizer 1011 can
For storing data, software program and module, mainly including storing program area and storage data field, storage program area can store
Application program etc. needed for operating system, at least one function, storage data field can store the number that the use of server is created
According to etc..Processor 1012 is by running or perform to be stored in the software program in memorizer 1011 and/or module, and calls and deposit
Storage data in memorizer, perform the various functions of server and process data.System bus 1013 includes address bus, number
According to bus, control bus, be used for transmitting data and instruction;Power supply module 1014 is for providing power supply for each assembly;Input defeated
Outgoing interface 1015 is for providing interface between processor 1012 and peripheral interface module;Communications component 1016 for other equipment it
Between carry out the communication of wired or wireless mode.
Gateway device, also known as gateway, protocol converter etc., is the meter providing DTS between multiple network
Calculation machine system or equipment.Access device 104 can be notebook computer, computer, mobile phone and panel computer etc..With this
As a example by access device is notebook computer, as it is shown on figure 3, this access device 104 may include that memorizer 1041, processor
1042, the parts such as communications component 1043, input block 1044, display unit 1045 and power supply 1046.Wherein, input block
1044 can be used for receiving numeral or the character information of input, and produce the user setup with access device 104 and function control
It is shaped with the key signals input of pass.This input block 1044 can include but not limited to that (such as volume controls for physical keyboard, function key
Button, power switch button etc.), trace ball, mouse, one or more in action bars etc..Display unit 1045 can be used for showing
Show the information inputted by user or be supplied to the information of user and various menus etc..Display unit 1045 can include display surface
Plate, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-
Emitting Diode, Organic Light Emitting Diode) etc. form configure display floater.Although not shown, access device 104 also may be used
To include sensor assembly, audio-frequency module, WiFi (wireless fidelity, Wireless Fidelity) module, bluetooth module etc.,
This repeats no more.
Rationale here is that in the embodiment of the present invention, policy control equipment controls letter by receiving link corresponding to user
Breath, and be that access device 104 corresponding to user formulates relevant scheduling strategy, and the tune that will formulate according to this link control message
Degree strategy is sent to gateway device, so that gateway device is according to the user that scheduling strategy is access device 104 correspondence formulated
Multiple business carry out scheduling of resource, it is to avoid the situation that resource is fought for occur in multiple business, and improve Consumer's Experience.
The method flow diagram of a kind of business scheduling method that Fig. 4 provides for the embodiment of the present invention, the method is applied to above-mentioned
Policy control equipment in communication system shown in Fig. 1, sees Fig. 4, and the method includes following step.
Step 201: policy control equipment receives link control message, this link control message carries first user and accesses void
Intend VLAN tag or the port-mark of LAN (Virtual Local Area Network, VLAN).
Wherein, this link control message can be sent to policy control equipment by server, and this server can be AAA clothes
Business device (Authentication Authorization Accounting Server).Send link at aaa server to control
Before information, first user can by the way of PPPOE dials accessing virtual LAN VLAN, dial it at first user
After, the user account of first user and password can be sent and carry out authentication to aaa server by gateway device, and certification is passed through
Afterwards, aaa server transmission primary bandwidth information is to gateway device, thus the business of first user is connected to network.
It addition, virtual LAN VLAN is one group of equipment in logic and user, these equipment and user be not by physical bit
They can be organized by the restriction put according to factors such as function, department and application, and communication each other just looks like them
As in the same network segment.VLAN is operated in the layers 2 and 3 of OSI Reference Model, and a VLAN is exactly a broadcast
Territory, the communication between VLAN is to be completed by the router of the 3rd layer.In a computer network, a double layer network is permissible
Being divided into multiple different broadcast domain, a broadcast domain is known as VLAN, broadcast domain is a corresponding specific user
Group, first user can be any user in user's group.
Concrete, when first user uses multiple business simultaneously, if the band that the flow of the plurality of business is relatively big and available
During wide resource-constrained, in order to avoid the flow because of multiple business is relatively big, and cause multiple business that the situation that resource is fought for occurs,
The link control message carrying VLAN mark or port-mark that first user accesses VLAN can be sent to strategy by server
Control equipment, so that policy control equipment processes accordingly according to this link control message.
Step 202: policy control equipment, according to this VLAN tag or port-mark, identifies at least one industry of first user
Business, the quantity of this at least one business be M, M be the integer more than or equal to 1.
Wherein, this VLAN tag can be VLAN value, and this VLAN value exists a total span, and such as, this always takes
Value may range from 1 4096, and total span of this VLAN value is divided into multiple little span, the plurality of value model
Enclosing can be continuous print, it is also possible to be to be interrupted, the corresponding different business of different span, and the drawing of multiple span
Point and multiple span and different business between corresponding relation can be configured in advance, the embodiment of the present invention pair
This is not construed as limiting.
Such as, total span of this VLAN value is divided into A little span according to order from big to small, should
A span can be continuous print, it is also possible to is to be interrupted, between A the span and the different business that arrange in advance
Corresponding relation is as shown in table 1 below.
Table 1
Span | Business |
1—400 | Video |
401—1000 | Phone |
…… | …… |
3401—4096 | Web page browsing |
It should be noted that the corresponding relation between different spans and the business shown in above-mentioned table 1 is merely illustrative
Property, above-mentioned table 1 constitutes restriction to the embodiment of the present invention.
Optionally, when this VLAN tag is VLAN value, policy control equipment is according to this VLAN tag identification first user
The method of at least one business can be: according to the multiple spans arranged in advance, determine in link control message each
The span at individual VLAN tag place, and from the corresponding relation between multiple spans and business, obtain each
The business that the span at VLAN tag place is corresponding, thus obtain at least one business of first user.
It addition, this port-mark is similar with VLAN tag, this port-mark can be port numbers, and different port numbers is permissible
Corresponding different business, the port-mark that policy control equipment can carry according to link control message, from the end arranged in advance
Corresponding relation between slogan and business, determines at least one business of first user.Between concrete port numbers and business
The description of corresponding relation, similar with the corresponding relation between above-mentioned VLAN tag and business, referring specifically to foregoing description, the present invention
Embodiment does not repeats them here.
Step 203: policy control equipment, according to the VLAN tag of business each at least one business, determines each business
Pre-set priority.
Wherein, this VLAN tag can include vpn label and outer layer label.This vpn label is CVLAN (Customer
VLAN), refer to when packet transmits in private network with a private network tags;Outer layer label is SVLAN (Stack VLAN),
Refer to the public network label that data are stamped after entering into the backbone network that service provider provides.Such as, user data package is self-contained
VID be exactly CVLAN, enter and can be beaten last layer label SVLAN again after switch, become the data of double labels, if
User data package is not stamp the packet of any label, and switch can stamp two-layer label, and internal layer stamps CVLAN, outer layer
Stamp SVLAN.
Optionally, policy control equipment, according to the VLAN tag of business each at least one business, determines each business
Pre-set priority, may include that for the first business at least one business, according to the vpn label of the first business, from
First corresponding relation obtains the pre-set priority corresponding with vpn label;Wherein, during the first business is at least one business
Arbitrary business;First corresponding relation at least includes the vpn label of the first business and corresponding with this vpn label default excellent
First level.
Such as, if at least one business determined in step 202 includes business 1 and business 2, the packet of business 1 is corresponding
VLAN tag be: SVLAN=300, CVLAN=200, the VLAN tag that the packet of business 2 is corresponding is: SVLAN=300,
CLAN=300, then policy control equipment determines business 1 and the pre-set priority of business 2 according to internal layer CVLAN, if first
In corresponding relation, the pre-set priority corresponding for CVLAN=200 of business 1 is 7, corresponding default excellent of the CVLAN=300 of business 2
First level is 4, it is determined that the pre-set priority of business 1 is seven grades, and the pre-set priority of business 2 is level Four.It should be noted that this
In pre-set priority seven grades higher than level Four, that is to say, the pre-set priority of business 1 is higher than the pre-set priority of business 2.
Optionally, policy control equipment, according to the VLAN tag of business each at least one business, determines each business
Pre-set priority, it is also possible to including: for the first business at least one business, according to the outer layer label of the first business,
The pre-set priority corresponding with this outer layer label is obtained from the first corresponding relation;Wherein, the first business is at least one business
In arbitrary business;First corresponding relation at least includes the outer layer label of the first business and preset corresponding with outer layer label
Priority.
Such as, if at least one business determined in step 202 includes business 1 and business 3, the packet of business 1 is corresponding
VLAN tag be: SVLAN=300, CVLAN=200, the VLAN tag that the packet of business 3 is corresponding is: SVLAN=500,
CLAN=300, then policy control equipment determines business 1 and the pre-set priority of business 3 according to outer layer SVLAN, if first
In corresponding relation, the pre-set priority corresponding for SVLAN=300 of business 1 is 5, corresponding default excellent of the SVLAN=300 of business 3
First level is 4, it is determined that the pre-set priority of business 1 is Pyatyi, and the pre-set priority of business 3 is level Four.It should be noted that this
In pre-set priority Pyatyi higher than level Four, that is to say, the pre-set priority of business 1 is higher than the pre-set priority of business 3.
It should be noted that above-mentioned first corresponding relation can be configured in advance, and the first corresponding relation includes
The number of concrete VLAN tag can also be configured, and this is not construed as limiting by the embodiment of the present invention.
Step 204: policy control equipment is according to the order of the pre-set priority of at least one business, by available bandwidth resources
The top n business being scheduled at least one business, N≤M.
Concrete, according to can relation between the total bandwidth resource needed for bandwidth resources and at least one business, permissible
It is divided into three kinds of different situations, described in detail below.
The first situation, the order of pre-set priority according at least one business, if available bandwidth resources is more than at least
The total bandwidth resource needed for front N-1 business in one business, and less than the total bandwidth resource needed for top n business, then from
Available bandwidth resources is the bandwidth resources needed for N-1 each business of traffic scheduling, and by residual available bandwidth scheduling of resource
To n-th business.
Such as, at least one business includes business 1, business 2 and business 3, and the pre-set priority of correspondence be followed successively by 7 grades, 2
Level, 4 grades, the bandwidth resources needed for each business are 3MHz (Mega Hertz, megahertz), 5MHz, 8MHz, available bandwidth resources
For 10MHz, then according to the pre-set priority order from high to low of at least one business, available resources 10MHz are more than business 1 institute
Bandwidth resources 3MHz needed, and less than total bandwidth resource 11MHz needed for business 1 and business 3, so, policy control equipment is first
From available bandwidth resources, first dispatch the bandwidth resources of 3MHz for the business 1 that pre-set priority is the highest, the most again residue be can use
Bandwidth resources 7MHz are scheduled to be only second to the business 3 of the highest pre-set priority.
The second situation, the order of pre-set priority according at least one business, if available bandwidth resources is equal at least about
The total bandwidth resource needed for top n business in one business, then be each business of N number of traffic scheduling from available bandwidth resources
Required bandwidth resources.
Such as, at least one business includes business 4 and business 5, and the pre-set priority of correspondence is followed successively by 5 grades, 2 grades, often
Bandwidth resources needed for individual business are 10MHz, 5MHz, and available bandwidth resources is 10MHz, then presetting according at least one business
Priority order from high to low, available resources 10MHz are equal to bandwidth resources 10MHz needed for business 4, so, policy control
Available bandwidth resources 10MHz is directly scheduled to the highest business of pre-set priority 4 by equipment.
The third situation, the order of pre-set priority according at least one business, if available bandwidth resources is more than or equal to
Total bandwidth resource needed at least one business, then be M traffic scheduling at least one business from available bandwidth resources
Bandwidth resources needed for each business.
Such as, at least one business includes business 6, business 7 and business 8, and the pre-set priority of correspondence be followed successively by 7 grades, 2
Level, 4 grades, the bandwidth resources needed for each business are 2M, 5M, 3MHz, and available bandwidth resources is 10MHz, then according at least one
The pre-set priority of business order from high to low, available resources 10MHz are equal to the bandwidth needed for business 6, business 8 and business 7
Resource 10MHz, so, first policy control equipment dispatched for the business 6 that pre-set priority is the highest from available bandwidth resources 1
The bandwidth resources of 2MHz, then the bandwidth resources of 3MHz are dispatched for being only second to the business 8 of the highest pre-set priority, it is finally business 7
The bandwidth resources of scheduling 5MHz.
Further, when policy control equipment according to the method described above available bandwidth resources is scheduled at least one business it
After, the above-mentioned final scheduling strategy at least one traffic scheduling bandwidth resources can be sent to gateway and set by policy control equipment
Standby, so that the data traffic of this at least one business is when by gateway device, gateway device can strategically control equipment
The final scheduling strategy sent, the data traffic of at least one business of scheduling controlling.
It should be noted that above-mentioned policy control equipment can individually be disposed, it is also possible to merge deployment with server, namely
It is, when policy control equipment merges deployment with server, server the traffic scheduling side provided according to embodiments of the present invention
Method is multiple traffic scheduling bandwidth resources of user, the method that concrete business scheduling method performs with above-mentioned policy control equipment
Similar, the embodiment of the present invention does not repeats them here.
A kind of business scheduling method that the embodiment of the present invention provides, by receiving link control message, this link controls letter
Breath carries VLAN tag or the port-mark of first user accessing virtual LAN, according to this VLAN tag or port-mark identification
At least one business of first user, and determine the pre-of each business according to the VLAN tag of business each at least one business
Setting priority, afterwards, according to the order of the pre-set priority of at least one business, is scheduled at least one by available bandwidth resources
Top n business in business, thus avoid, between multiple business of same user, the situation that resource is fought for occurs, it is ensured that pre-
The service quality of the business that setting priority is higher, improves Consumer's Experience.
The structural representation of a kind of traffic scheduling device that Fig. 5 provides for the embodiment of the present invention, sees Fig. 5, this device bag
Include: receive unit 301, recognition unit 302, determine unit 303 and scheduling unit 304.
Receiving unit 301, be used for receiving link control message, described link control message carries first user access of virtual
The VLAN tag of LAN VLAN or port-mark;
Recognition unit 302, for according to described VLAN tag or described port-mark, identifies described first user at least
One business, the quantity of at least one business described is M, and described M is the integer more than or equal to 1;
Determine unit 303, for according to the VLAN tag of each business at least one business described, determine described each
The pre-set priority of business;
Scheduling unit 304, for the order of the pre-set priority according at least one business described, by available bandwidth resources
It is scheduled to the top n business at least one business described, described N≤described M.
Optionally, described VLAN tag includes vpn label and outer layer label.
In another embodiment of the invention, determine unit 303 specifically for: at least one business described
One business, according to the vpn label of described first business, obtains corresponding with described vpn label pre-from the first corresponding relation
Setting priority;Wherein, the arbitrary business during described first business is at least one business described;Described first corresponding relation is at least
Vpn label and the described pre-set priority corresponding with described vpn label including described first business.
In another embodiment of the invention, determine unit 303 specifically for: at least one business described
One business, according to the outer layer label of described first business, obtains corresponding with described outer layer label pre-from the first corresponding relation
Setting priority;Wherein, the arbitrary business during described first business is at least one business described;Described first corresponding relation is at least
Outer layer label and the described pre-set priority corresponding with described outer layer label including described first business.
In another embodiment of the invention, scheduling unit 304 specifically for:
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources more than described at least
The total bandwidth resource needed for front N-1 business in one business, and less than the total bandwidth resource needed for top n business, then from
Described available bandwidth resources is the bandwidth resources needed for the described each business of N-1 traffic scheduling, and by residual available bandwidth
Scheduling of resource is to n-th business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources equal to described at least
The total bandwidth resource needed for top n business in one business, then be described N number of traffic scheduling from described available bandwidth resources
Bandwidth resources needed for each business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources is more than or equal to described
Total bandwidth resource needed at least one business, then be the M at least one business described from described available bandwidth resources
Bandwidth resources needed for each business of traffic scheduling.
A kind of traffic scheduling device that embodiments of the invention provide, carries first user access of virtual local by reception
The VLAN tag of net or the link control message of port-mark, according to VLAN mark or port-mark, identify first user extremely
A few business, the quantity of this at least one business is M, and the VLAN tag according to business each at least one business,
Determine the pre-set priority of each business, afterwards, according to the order of the pre-set priority of at least one business, available bandwidth is provided
Source is scheduled to the top n business at least one business, thus avoids multiple business when multiple service traffics are bigger and send out
The situation that production-goods source is fought for, it is ensured that the service quality of the business that pre-set priority is higher, improves Consumer's Experience.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although
With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;
And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. a business scheduling method, it is characterised in that described method includes:
Receiving link control message, described link control message carries the VLAN tag of first user accessing virtual LAN VLAN
Or port-mark;
According to described VLAN tag or described port-mark, identify at least one business of described first user, described at least one
The quantity of individual business is M, and described M is the integer more than or equal to 1;
According to the VLAN tag of each business at least one business described, determine the pre-set priority of described each business;
According to the order of the pre-set priority of at least one business described, available bandwidth resources is scheduled at least one industry described
Top n business in business, described N≤described M.
Method the most according to claim 1, it is characterised in that described VLAN tag includes vpn label and outer layer label.
Method the most according to claim 2, it is characterised in that each business at least one business described in described basis
VLAN tag, determines the pre-set priority of described each business, including:
For the first business at least one business described, according to the vpn label of described first business, from the first corresponding pass
System obtains the pre-set priority corresponding with described vpn label;Wherein, during described first business is at least one business described
Arbitrary business;Described first corresponding relation at least include described first business vpn label and with described vpn label
Corresponding described pre-set priority.
Method the most according to claim 2, it is characterised in that each business at least one business described in described basis
VLAN tag, determines the pre-set priority of described each business, including:
For the first business at least one business described, according to the outer layer label of described first business, from the first corresponding pass
System obtains the pre-set priority corresponding with described outer layer label;Wherein, during described first business is at least one business described
Arbitrary business;Described first corresponding relation at least include described first business outer layer label and with described outer layer label
Corresponding described pre-set priority.
5. according to the method described in any one of claim 1-4, it is characterised in that described pre-according at least one business described
The order of setting priority, is scheduled at least one business described by available bandwidth resources, including:
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources more than described at least one
The total bandwidth resource needed for front N-1 business in business, and less than the total bandwidth resource needed for top n business, then from described
Available bandwidth resources is the bandwidth resources needed for the described each business of N-1 traffic scheduling, and by residual available bandwidth resource
It is scheduled to n-th business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources equal to described at least one
The total bandwidth resource needed for top n business in business, then be that described N number of traffic scheduling is each from described available bandwidth resources
Bandwidth resources needed for business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources more than or equal to described at least
Total bandwidth resource needed for one business, then be M business at least one business described from described available bandwidth resources
Dispatch the bandwidth resources needed for each business.
6. a traffic scheduling device, it is characterised in that described device includes:
Receiving unit, be used for receiving link control message, described link control message carries first user accessing virtual LAN
The VLAN tag of VLAN or port-mark;
Recognition unit, for according to described VLAN tag or described port-mark, identifies at least one industry of described first user
Business, the quantity of at least one business described is M, and described M is the integer more than or equal to 1;
Determine unit, for according to the VLAN tag of each business at least one business described, determine described each business
Pre-set priority;
Scheduling unit, for the order of the pre-set priority according at least one business described, is scheduled to available bandwidth resources
Top n business at least one business described, described N≤described M.
Device the most according to claim 6, it is characterised in that described VLAN tag includes vpn label and outer layer label.
Device the most according to claim 7, it is characterised in that described determine unit specifically for:
For the first business at least one business described, according to the vpn label of described first business, from the first corresponding pass
System obtains the pre-set priority corresponding with described vpn label;Wherein, during described first business is at least one business described
Arbitrary business;Described first corresponding relation at least include described first business vpn label and with described vpn label
Corresponding described pre-set priority.
Device the most according to claim 7, it is characterised in that described determine unit specifically for:
For the first business at least one business described, according to the outer layer label of described first business, from the first corresponding pass
System obtains the pre-set priority corresponding with described outer layer label;Wherein, during described first business is at least one business described
Arbitrary business;Described first corresponding relation at least include described first business outer layer label and with described outer layer label
Corresponding described pre-set priority.
10. according to the device described in any one of claim 6-9, it is characterised in that described scheduling unit specifically for:
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources more than described at least one
The total bandwidth resource needed for front N-1 business in business, and less than the total bandwidth resource needed for top n business, then from described
Available bandwidth resources is the bandwidth resources needed for the described each business of N-1 traffic scheduling, and by residual available bandwidth resource
It is scheduled to n-th business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources equal to described at least one
The total bandwidth resource needed for top n business in business, then be that described N number of traffic scheduling is each from described available bandwidth resources
Bandwidth resources needed for business;
According to the order of the pre-set priority of at least one business described, if described available bandwidth resources more than or equal to described at least
Total bandwidth resource needed for one business, then be M business at least one business described from described available bandwidth resources
Dispatch the bandwidth resources needed for each business.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610621772.6A CN106231630A (en) | 2016-08-01 | 2016-08-01 | A kind of business scheduling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610621772.6A CN106231630A (en) | 2016-08-01 | 2016-08-01 | A kind of business scheduling method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106231630A true CN106231630A (en) | 2016-12-14 |
Family
ID=57535861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610621772.6A Pending CN106231630A (en) | 2016-08-01 | 2016-08-01 | A kind of business scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106231630A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109246238A (en) * | 2018-10-15 | 2019-01-18 | 中国联合网络通信集团有限公司 | Content caching accelerated method and the network equipment |
CN109729186A (en) * | 2018-12-29 | 2019-05-07 | 北京金山云网络技术有限公司 | A kind of ration policy determines method and device |
CN113596920A (en) * | 2021-07-29 | 2021-11-02 | 百度在线网络技术(北京)有限公司 | Flow control method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090141731A1 (en) * | 2007-12-03 | 2009-06-04 | Verizon Services Organization Inc. | Bandwidth admission control on link aggregation groups |
CN101964757A (en) * | 2010-10-29 | 2011-02-02 | 中国电信股份有限公司 | Method and system for controlling quality of multi-service portfolio |
CN105471729A (en) * | 2010-06-08 | 2016-04-06 | 博科通讯系统有限公司 | Methods and apparatuses for processing and/or forwarding packets |
-
2016
- 2016-08-01 CN CN201610621772.6A patent/CN106231630A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090141731A1 (en) * | 2007-12-03 | 2009-06-04 | Verizon Services Organization Inc. | Bandwidth admission control on link aggregation groups |
CN105471729A (en) * | 2010-06-08 | 2016-04-06 | 博科通讯系统有限公司 | Methods and apparatuses for processing and/or forwarding packets |
CN101964757A (en) * | 2010-10-29 | 2011-02-02 | 中国电信股份有限公司 | Method and system for controlling quality of multi-service portfolio |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109246238A (en) * | 2018-10-15 | 2019-01-18 | 中国联合网络通信集团有限公司 | Content caching accelerated method and the network equipment |
CN109729186A (en) * | 2018-12-29 | 2019-05-07 | 北京金山云网络技术有限公司 | A kind of ration policy determines method and device |
CN113596920A (en) * | 2021-07-29 | 2021-11-02 | 百度在线网络技术(北京)有限公司 | Flow control method and device, electronic equipment and storage medium |
CN113596920B (en) * | 2021-07-29 | 2024-04-05 | 百度在线网络技术(北京)有限公司 | Flow control method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100403682C (en) | Mechanisms for policy based UMTS QOS and IP QOS management in mobile IP networks | |
CN1326426C (en) | System for providing roaming service | |
CN101662511B (en) | Network address distributing method, DHCP server, access system and method thereof | |
KR100690762B1 (en) | A telephone call method and system for using many number in mobile communication station | |
CN101026548A (en) | Data business routing method | |
CN106231630A (en) | A kind of business scheduling method and device | |
CN101801059B (en) | Data access method and CPE for CPE | |
CN101741888A (en) | Method, system and device for pushing certification page | |
CN101197785A (en) | MAC authentication method and apparatus | |
CN106330683A (en) | Multimedia seating system | |
CN103974206A (en) | Call Control System, Mobile Station And Call Restriction Method | |
CN102006267B (en) | Access authentication method and device based on simple network protocol | |
CN106231586A (en) | A kind of multi-card terminal and communication means thereof | |
CN102546318A (en) | Intelligent home furnishing realizing system and method | |
CN101141380B (en) | Method and system of transmitting packet | |
CN105897667A (en) | Device access history tracking method, apparatus, server and system | |
CN102104603A (en) | Method, system and device for registering mobile terminal in WEB server | |
CN103888435B (en) | For the methods, devices and systems of business admission control | |
CN103812707B (en) | A kind of method for processing forwarding of line identification message | |
CN106789561A (en) | Terminals physical address binding method and system based on Intranet service platform | |
CN101335952A (en) | Network access point management method and mobile terminal | |
CN101616498B (en) | Method for carrying out interactive information access, user identification card and unit | |
US7433675B2 (en) | Communication system and related supervision method | |
CN101843066B (en) | System and method for improved scheduling for time-frequency slicing | |
CN102891900A (en) | Domain name resolution method, device and system during traffic offloading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161214 |
|
RJ01 | Rejection of invention patent application after publication |