CN105812278B - Method for controlling quality of service and device in software defined network - Google Patents
Method for controlling quality of service and device in software defined network Download PDFInfo
- Publication number
- CN105812278B CN105812278B CN201410855498.XA CN201410855498A CN105812278B CN 105812278 B CN105812278 B CN 105812278B CN 201410855498 A CN201410855498 A CN 201410855498A CN 105812278 B CN105812278 B CN 105812278B
- Authority
- CN
- China
- Prior art keywords
- forwarding device
- qos parameter
- forwarding
- data flow
- sdn controller
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 230000005540 biological transmission Effects 0.000 claims description 41
- 230000009466 transformation Effects 0.000 claims description 41
- 238000003908 quality control method Methods 0.000 claims description 29
- 241000208340 Araliaceae Species 0.000 claims description 9
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 9
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 9
- 235000008434 ginseng Nutrition 0.000 claims description 9
- 230000006399 behavior Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 16
- 230000008859 change Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses method for controlling quality of service in software defined network and devices.The described method includes: SDN controller obtains the application layer identification of data flow;SDN controller generates the forwarding device qos parameter that the forwarding device on the forwarding data flow path is applicable according to using layer identification;The forwarding device qos parameter is issued to forwarding device by SDN controller, in order to which the forwarding device is when forwarding is comprising the data flow using layer identification, carries out QoS control to the data flow according to the forwarding device qos parameter.In embodiments of the present invention, forwarding device can carry out QoS control to the data flow using layer identification of carrying according to the forwarding device qos parameter that SDN controller issues, to meet the needs of carrying out QoS control based on application layer service in SDN.
Description
Technical field
The present invention relates to method for controlling quality of service and devices in network communication field more particularly to software defined network.
Background technique
Software defined network (Software Defined Network, abbreviation SDN) is one kind by SDN controller and forwarding
The network that equipment is constituted, wherein forwarding device accesses SDN by SDN controller equiment.During SDN forwarding data flow, by
SDN controller formulates forwarding data flow rule, is completed by forwarding device according to the prepared forwarding data flow rule of SDN controller
The forwarding of data flow.
As SDN it is generally necessary to be forwarded caused by multiple and different application layers (Application Layer) business simultaneously
Data flow, therefore delay or obstruction may occur in repeating process in data flow.For ensure important service amount do not postponed or
It abandons, guarantees the efficient operation of SDN, SDN needs to carry out each data flow service quality (Quality of Service, abbreviation
QoS it) controls.Since SDN is during transmitting data flow, need to form the forwarding road of the data flow using multiple forwarding devices
Diameter, and the forwarding of the data flow is completed by the forward-path, therefore when SDN carries out QoS control to data stream, SDN controller
It needs to apply layer service according to corresponding to data flow, the data flow is respectively set for each forwarding device on the forward-path
QoS parameter.
Existing traditional network needs to install application layer on forwarding device when based on QoS control is carried out using layer service
Filtering module (L7-filter);Transport protocol used by data flow is identified using L7-filter, and then to this to data flow
Carry out QoS control.But in SDN, SDN controller is mutually separated with forwarding device, and forwarding data flow rule is given birth to by SDN controller
At forwarding device is used only for completing forwarding data flow according to the forwarding data flow rule that SDN controller generates.It is possible thereby to see
Out, the method for carrying out QoS control based on application layer service in existing traditional network, is unable to satisfy in SDN based on using layer service
Carry out the demand of QoS control.
Summary of the invention
The embodiment of the invention provides method for controlling quality of service in software defined network and devices, to meet base in SDN
The demand of QoS control is carried out in application layer service.
In a first aspect, the embodiment of the invention provides a kind of QoS control methods of forwarding device in SDN, this method comprises:
The application layer identification of SDN controller acquisition data flow;SDN controller generates the data flow according to application layer identification
The forwarding device qos parameter that forwarding device on forward-path is applicable in;SDN controller will be under the forwarding device qos parameter
It is sent to forwarding device, in order to which the forwarding device is when forwarding is comprising the data flow using layer identification, according to described turn
It sends out equipment qos parameter and QoS control is carried out to the data flow.
With reference to first aspect, in a first possible implementation of that first aspect, the SDN controller obtains data flow
Include: first data packet that SDN controller receives the data flow using layer identification;SDN controller is from the first data packet
It is parsed in specific field described using layer identification.
The first possible implementation with reference to first aspect, in a second possible implementation of that first aspect, institute
Stating SDN controller and parsing the application layer identification from the specific field of the first data packet includes: SDN controller from described
It is obtained in the packet header domain of first data packet described using layer identification.
With reference to first aspect, in first aspect in the third possible implementation, the SDN controller obtains data flow
Application layer identification include: that SDN controller receives described using layer identification, the application layer identification is sent out by the forwarding device
It send.
With reference to first aspect or any one in the first to three kind of first aspect possible implementation, in first aspect
In four kinds of possible implementations, the SDN controller is according to turn generated on the forwarding data flow path using layer identification
The forwarding device service quality QoS parameter that hair equipment is applicable in, which includes: that the SDN controller acquisition application layer identification is corresponding, answers
With layer qos parameter;SDN controller obtains qos parameter transformation model corresponding with the application layer identification;SDN controller uses
The application layer qos parameter is converted to forwarding device qos parameter by the qos parameter transformation model.
With reference to first aspect or any one in the possible implementation of first to fourth kind of first aspect, in first aspect
In five kinds of possible implementations, it includes: SDN that the forwarding device qos parameter is issued to forwarding device by the SDN controller
Controller generates OpenFlow gauge table and OpenFlow flow table, the OpenFlow flow table using the application layer identification as
With condition, the behavior of the OpenFlow flow table is to forward the data flow or with specified data in OpenFlow gauge table
Rate carries out flow control to data stream, and the data rate is corresponding with the forwarding device qos parameter;SDN controller will be described
OpenFlow gauge table and the OpenFlow flow table are issued to forwarding device.
With reference to first aspect or any one in the first to five kind of first aspect possible implementation, in first aspect
In six kinds of possible implementations, the method also includes: SDN controller receives the traffic statistics that forwarding device reports;
SDN controller updates the qos parameter transformation model using the traffic statistics, obtains current QoS Parameter Switch model;
The application layer services mass parameter is converted to forwarding device using the current QoS Parameter Switch model and worked as by SDN controller
Preceding qos parameter;The forwarding device current QoS parameter is issued to forwarding device by SDN controller, in order to the forwarding device
When forwarding is comprising the data flow using layer identification, the data are flowed into according to the forwarding device current QoS parameter
Row QoS control.
Second aspect, the embodiment of the invention provides a kind of QoS control methods of forwarding device in SDN, this method comprises:
Forwarding device receives the forwarding device qos parameter that SDN controller issues, and the forwarding device qos parameter is by controlling
Device is generated according to the application layer identification of data flow;Forwarding device is used when forwarding is comprising the data flow using layer identification
The forwarding device qos parameter carries out service quality control to the data flow.
In conjunction with second aspect, in second aspect in the first possible implementation,
It includes: that forwarding device obtains data that the forwarding device, which receives the forwarding device qos parameter that SDN controller issues,
Stream;Forwarding device obtains described using layer identification from the specific field of the data flow head data packet;Forwarding device will be described
SDN controller is reported to using layer identification;Forwarding device receives the forwarding device qos parameter that SDN controller is sent, the forwarding
Equipment qos parameter is generated by the SDN controller according to the corresponding application layer qos parameter of the application layer identification.
The first possible implementation in conjunction with second aspect, in second of second aspect possible implementation,
It includes: institute that the forwarding device obtains the application layer identification from the specific field of the data flow head data packet
State forwarding device obtained from the packet header domain of the first data packet it is described using layer identification.
In conjunction with second aspect, in second aspect in the third possible implementation,
It includes: that forwarding device obtains data that the forwarding device, which receives the forwarding device qos parameter that SDN controller issues,
Stream;The first data packet of the data flow is reported to controller by forwarding device;Forwarding device receives the forwarding that SDN controller is sent
Equipment qos parameter, the forwarding device qos parameter apply layer identification pair according in the first data packet by the SDN controller
The application layer qos parameter answered generates.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect,
It includes: that forwarding device receives SDN control that the forwarding device, which receives the forwarding device qos parameter that SDN controller is sent,
The OpenFlow gauge table and OpenFlow flow table that device processed is sent, the OpenFlow flow table using the application layer identification as
With condition, the behavior of the OpenFlow flow table is to forward the data flow or with specified data in OpenFlow gauge table
Rate carries out flow control to data stream, and the data rate is corresponding with the forwarding device qos parameter;The forwarding device uses
It includes: forwarding device according to the OpenFlow that the forwarding device qos parameter, which carries out service quality control to the data flow,
The behavior of flow table forwards the data flow or carries out flow control to data stream with the data rate specified in OpenFlow gauge table.
In conjunction with any one in two aspects or the possible implementation of first to fourth kind of second aspect, in second aspect the
In five kinds of possible implementations,
The method also includes: forwarding device generates the traffic statistics of the data flow;Forwarding device is by the stream
Amount statistical data is sent to SDN controller;Forwarding device receives the forwarding device current QoS parameter that SDN controller issues, described
Forwarding device current QoS parameter is generated by the SDN controller according to the traffic statistics;Forwarding device includes in forwarding
When the data flow using layer identification, service quality is carried out to the data flow using the forwarding device current QoS parameter
Control.
The third aspect, the embodiment of the invention provides a kind of QoS control methods of forwarding device in SDN, this method comprises:
The application layer feature of SDN controller acquisition data flow;SDN controller is data flow distribution and the application layer
The corresponding MPLS label group of feature;SDN controller indicates that the forwarding device in the forwarding data flow path is the data stream packets
The data packet contained adds the MPLS label group;SDN controller generates forwarding device QoS ginseng corresponding with the MPLS label group
Number;The forwarding device qos parameter is issued to forwarding device by SDN controller, in order to which the forwarding device is in forwarding data
When packet includes the data flow of MPLS label group, QoS control is carried out according to the forwarding device qos parameter.
In conjunction with the third aspect, in the third aspect in the first possible implementation, the SDN controller obtains data flow
Application layer feature include: SDN controller obtain data flow first data packet;SDN controller parses answering for the first data packet
With layer feature.
The first possible implementation in conjunction with the third aspect, in second of the third aspect possible implementation, institute
Stating SDN controller and parsing the application layer feature of the first data packet includes: SDN controller from the packet header domain of the first data packet
It obtains described using layer identification;SDN controller obtains application layer feature corresponding with the application layer identification.
In conjunction with any one in the third aspect or the first to two kind of the third aspect possible implementation, in the third aspect
In three kinds of possible implementations, the SDN controller generates forwarding device qos parameter packet corresponding with the MPLS label group
Include: SDN controller obtains the corresponding application layer qos parameter of the application layer feature;SDN controller obtains special with the application layer
Levy corresponding qos parameter transformation model;SDN controller is turned the application layer qos parameter using the qos parameter transformation model
It is changed to forwarding device qos parameter, obtains the corresponding forwarding device qos parameter of the MPLS label group.
In conjunction with any one in the third aspect or the first to three kind of the third aspect possible implementation, in the third aspect
In four kinds of possible implementations, it includes: SDN that the forwarding device qos parameter is issued to forwarding device by the SDN controller
Controller generates OpenFlow gauge table and OpenFlow flow table, and the OpenFlow flow table is matching with the MPLS label group
Condition, the behavior of the OpenFlow flow table are to forward the data flow or with specified data speed in OpenFlow gauge table
Rate carries out flow control to data stream, and the data rate is corresponding with the forwarding device qos parameter;SDN controller will be described
OpenFlow gauge table and the OpenFlow flow table are issued to forwarding device.
In conjunction with any one in the third aspect or the possible implementation of first to fourth kind of the third aspect, in the third aspect
In five kinds of possible implementations, the method also includes: SDN controller receives the traffic statistics that forwarding device reports;
SDN controller updates the qos parameter transformation model using the traffic statistics, obtains current QoS Parameter Switch model;
The application layer qos parameter is converted to forwarding device current QoS using the current QoS Parameter Switch model by SDN controller
Parameter;The forwarding device current QoS parameter is issued to forwarding device by SDN controller, in order to which the forwarding device is turning
When the data flow containing the MPLS label group of giving out a contract for a project, QoS is carried out to the data flow according to the forwarding device current QoS parameter
Control.
Fourth aspect, the embodiment of the invention provides a kind of QoS control methods of forwarding device in SDN, this method comprises:
Forwarding device obtains the MPLS label group of data flow, the application layer feature of the MPLS label group and the data flow
It is corresponding;Forwarding device receives forwarding device qos parameter corresponding with the MPLS label group;Forwarding device is in transmitting data flow
When, service quality control is carried out to the data flow using the forwarding device qos parameter.
In conjunction with fourth aspect, in fourth aspect in the first possible implementation, the forwarding device obtains MPLS mark
Label group includes: that forwarding device obtains the MPLS label group from the data packet of the data flow.
In conjunction with fourth aspect, in second of fourth aspect possible implementation, the forwarding device obtains MPLS mark
Label group includes: that the first data packet of the data flow is sent to controller by forwarding device;It is described that forwarding device, which receives controller,
The MPLS label group of data flow distribution;The forwarding device receives forwarding device qos parameter corresponding with the MPLS label group
It include: that forwarding device receives the forwarding device qos parameter that the SDN controller is sent, the forwarding device qos parameter is by described
SDN controller is generated according to the corresponding application layer qos parameter of the application layer feature.
In conjunction with fourth aspect, in fourth aspect in the third possible implementation, the forwarding device receive with it is described
The corresponding forwarding device qos parameter of MPLS label group includes: that forwarding device receives the OpenFlow gauge table that SDN controller is sent
And OpenFlow flow table, the OpenFlow flow table is using the MPLS label group as matching condition, the OpenFlow flow table
Behavior be the forwarding data flow or flow control, institute carried out to data stream with the data rate specified in OpenFlow gauge table
It is corresponding with the forwarding device qos parameter to state data rate;The forwarding device is using the forwarding device qos parameter to institute
Stating data flow and carrying out service quality control includes: the behavior forwarding data flow of the forwarding device according to the OpenFlow flow table
Or flow control is carried out to data stream with the data rate specified in OpenFlow gauge table.
The first possible implementation in conjunction with fourth aspect, in fourth aspect in the third possible implementation, institute
State method further include: forwarding device is that the data packet of the data flow adds the MPLS label group.
In conjunction with any one in fourth aspect or the first to three kind of fourth aspect possible implementation, in fourth aspect
In four kinds of possible implementations, forwarding device generates the traffic statistics of the data flow;Forwarding device is by the flow
Statistical data is sent to SDN controller;The forwarding device current QoS parameter that forwarding device reception SDN controller issues, described turn
Hair equipment current QoS parameter is generated by the SDN controller according to the traffic statistics;Forwarding device is forwarding the number
When according to stream, service quality control is carried out to the data flow using the forwarding device current QoS parameter.
5th aspect, the embodiment of the invention provides a kind of QoS control device of forwarding device in SDN, which includes:
Acquiring unit obtains the application layer identification of data flow for SDN controller;Generation unit, for according to application layer
Mark generates the forwarding device qos parameter that the forwarding device on the forwarding data flow path is applicable in;Transmission unit, being used for will
The forwarding device qos parameter is issued to forwarding device, in order to which the forwarding device applies layer identification comprising described in forwarding
Data flow when, according to the forwarding device qos parameter to the data flow carry out QoS control.
In conjunction with the 5th aspect, the 5th aspect the first possible implementation in, the acquiring unit include: receive son
Unit, for receiving the first data packet of the data flow;Parsing subunit, for being solved from the specific field of the first data packet
It is precipitated described using layer identification.
In conjunction with the 5th aspect the first possible implementation, the 5th aspect second of possible implementation in, institute
Parsing subunit is stated, it is described using layer identification for being obtained from the first packet header domain.
In conjunction with the 5th aspect, the 5th aspect the third possible implementation in, the acquiring unit, specifically for connecing
Receive described using layer identification, the application layer identification is sent by the forwarding device.
In conjunction with any one in the 5th aspect or the 5th the first to three kind of possible implementation of aspect, at the 5th aspect the
In four kinds of possible implementations, the generation unit includes: that parameter obtains subelement, for obtaining the application layer identification pair
The application layer qos parameter answered;Model obtains subelement, for obtaining qos parameter modulus of conversion corresponding with the application layer identification
Type;Parameter generates subelement, sets for the application layer qos parameter to be converted to forwarding using the qos parameter transformation model
Standby qos parameter.
In conjunction with any one in the 5th aspect or the 5th first to fourth kind of possible implementation of aspect, at the 5th aspect the
In five kinds of possible implementations, the transmission unit include: flow table generate subelement, for generate OpenFlow gauge table and
OpenFlow flow table, the OpenFlow flow table using the application layer identification as matching condition, the OpenFlow flow table
Behavior is the forwarding data flow or carries out flow control to data stream with the data rate specified in OpenFlow gauge table, described
Data rate is corresponding with the forwarding device qos parameter;Flow table issuance subelement, for by the OpenFlow gauge table and
The OpenFlow flow table is issued to forwarding device.
In conjunction with any one in the 5th aspect or the 5th the first to five kind of possible implementation of aspect, at the 5th aspect the
In six kinds of possible implementations, described device also further includes receiving unit and updating unit;The receiving unit, for receiving
The traffic statistics that forwarding device reports;The updating unit, for updating the qos parameter with the traffic statistics
Transformation model obtains current QoS Parameter Switch model;The generation unit is also used for the current QoS Parameter Switch mould
The application layer services mass parameter is converted to forwarding device current QoS parameter by type;The transmission unit, being also used to will be described
Forwarding device current QoS parameter is issued to forwarding device, in order to which the forwarding device applies layer identification comprising described in forwarding
Data flow when, according to the forwarding device current QoS parameter to the data flow carry out QoS control.
6th aspect, the embodiment of the invention provides a kind of QoS control device of forwarding device in SDN, which includes:
Acquiring unit, the forwarding device qos parameter issued for obtaining SDN controller, the forwarding device qos parameter by
Controller is generated according to the application layer identification of data flow;Control unit, for including the data using layer identification in forwarding
When stream, service quality control is carried out to the data flow using the forwarding device qos parameter.
In conjunction with the 6th aspect, the 6th aspect the first possible implementation in, the acquiring unit include: first number
Subelement is obtained according to stream, for obtaining data flow;Mark obtains subelement, for the designated word from the data flow head data packet
It is obtained in section described using layer identification;Mark reports subelement, for the application layer identification to be reported to SDN controller;The
One parameter receiving subelement, for receive SDN controller transmission forwarding device qos parameter, the forwarding device qos parameter by
The SDN controller is generated according to the corresponding application layer qos parameter of the application layer identification.
In conjunction with the 6th aspect the first possible implementation, the 6th aspect second of possible implementation in, institute
It states mark and obtains subelement, it is described using layer identification specifically for being obtained from the packet header domain of the first data packet.
In conjunction with the 6th aspect, the 6th aspect the third possible implementation in, the acquiring unit include: second number
Subelement is obtained according to stream, for obtaining data flow;Data packet reports subelement, for reporting the first data packet of the data flow
To controller;Second parameter receiving subelement, for receiving the forwarding device qos parameter of SDN controller transmission, the forwarding is set
Standby qos parameter is generated according in the first data packet using the corresponding application layer qos parameter of layer identification by the SDN controller.
In conjunction with the 6th aspect, in the 6th the 4th kind of possible implementation of aspect, the acquiring unit, specifically for connecing
The OpenFlow gauge table and OpenFlow flow table that SDN controller is sent are received, the OpenFlow flow table is with the application layer mark
Know and be used as matching condition, the behavior of the OpenFlow flow table is to forward the data flow or with OpenFlow gauge table middle finger
Fixed data rate carries out flow control to data stream, and the data rate is corresponding with the forwarding device qos parameter;The control
Unit forwards the data flow specifically for the behavior according to the OpenFlow flow table or with OpenFlow gauge table middle finger
Fixed data rate carries out flow control to data stream.
In conjunction with any one in the 6th aspect or the 6th first to fourth kind of possible implementation of aspect, at the 6th aspect
In 5th kind of possible implementation, described device further includes statistic unit and transmission unit;The statistic unit, for generating
The traffic statistics of the data flow;The transmission unit, for the traffic statistics to be sent to SDN controller;
The receiving unit is also used to receive the forwarding device current QoS parameter that SDN controller issues, the forwarding device current QoS
Parameter is generated by the SDN controller according to the traffic statistics;Described control unit is also used in forwarding comprising described
Using layer identification data flow when, using the forwarding device current QoS parameter to the data flow carry out service quality control.
7th aspect, the embodiment of the invention provides a kind of QoS control device of forwarding device in SDN, which includes:
Acquiring unit, for obtaining the application layer feature of data flow;Allocation unit is used for as data flow distribution and institute
State the corresponding MPLS label group of application layer feature;Indicating unit, the forwarding device for being used to indicate the forwarding data flow path are
The data packet that the data stream packets contain adds the MPLS label group;Generation unit, for generating and the MPLS label group pair
The forwarding device qos parameter answered;Transmission unit, for the forwarding device qos parameter to be issued to forwarding device, in order to institute
Forwarding device is stated when forwarding data packet to include the data flow of MPLS label group, carries out QoS according to the forwarding device qos parameter
Control.
In conjunction with the 7th aspect, the 7th aspect the first possible implementation in, the acquiring unit includes: data packet
Subelement is obtained, for obtaining the first data packet of data flow;Feature analysis subelement, for parsing the application of the first data packet
Layer feature.
In conjunction with the 7th aspect the first possible implementation, the 7th aspect second of possible implementation in, institute
Feature analysis subelement is stated, it is described using layer identification specifically for being obtained from the packet header domain of the first data packet;Acquisition and institute
It states using the corresponding application layer feature of layer identification.
In conjunction with any one in the 7th aspect or the 7th the first to two kind of possible implementation of aspect, at the 7th aspect the
In three kinds of possible implementations, the generation unit includes: that parameter obtains subelement, for obtaining the application layer identification pair
The application layer qos parameter answered;Model obtains subelement, for obtaining qos parameter modulus of conversion corresponding with the application layer identification
Type;Parameter generates subelement, sets for the application layer qos parameter to be converted to forwarding using the qos parameter transformation model
Standby qos parameter.
In conjunction with any one in the 7th aspect or the 7th the first to three kind of possible implementation of aspect, at the 7th aspect the
In four kinds of possible implementations, the transmission unit include: flow table generate subelement, for generate OpenFlow gauge table and
OpenFlow flow table, the OpenFlow flow table is using the MPLS label group as matching condition, the row of the OpenFlow flow table
To be the forwarding data flow or carrying out flow control, the number to data stream with the data rate specified in OpenFlow gauge table
It is corresponding with the forwarding device qos parameter according to rate;Flow table issuance subelement is used for the OpenFlow gauge table and institute
It states OpenFlow flow table and is issued to forwarding device.
In conjunction with any one in the 7th aspect or the 7th first to fourth kind of possible implementation of aspect, at the 7th aspect the
In five kinds of possible implementations, described device further includes receiving unit and updating unit;The receiving unit turns for receiving
The traffic statistics that hair equipment reports;The updating unit turns for updating the qos parameter with the traffic statistics
Mold changing type obtains current QoS Parameter Switch model;The generation unit is also used for the current QoS Parameter Switch model
The application layer services mass parameter is converted into forwarding device current QoS parameter;The transmission unit 1105 is also used to institute
It states forwarding device current QoS parameter and is issued to forwarding device, in order to which the forwarding device includes the application layer mark in forwarding
When the data flow of knowledge, QoS control is carried out to the data flow according to the forwarding device current QoS parameter.
Eighth aspect, the embodiment of the invention provides a kind of QoS control device of forwarding device in SDN, which includes:
Described device includes: acquiring unit, for obtaining the MPLS label group of data flow, the MPLS label group with it is described
The application layer feature of data flow is corresponding;Receiving unit, for receiving forwarding device QoS ginseng corresponding with the MPLS label group
Number;Control unit, for carrying out Service Quality to the data flow using the forwarding device qos parameter in transmitting data flow
Amount control.
In conjunction with eighth aspect, in eighth aspect in the first possible implementation, the acquiring unit, be specifically used for from
The MPLS label group is obtained in the data packet of the data flow.
In conjunction with eighth aspect, in second of eighth aspect possible implementation, the acquiring unit includes: data packet
Subelement is reported, for the first data packet of the data flow to be sent to controller;MPLS label group receiving subelement, for connecing
Admission controller is the MPLS label group of data flow distribution;The receiving unit, for receiving the SDN controller transmission
Forwarding device qos parameter, the forwarding device qos parameter are answered by the SDN controller according to the application layer feature is corresponding
It is generated with layer qos parameter.
In conjunction with eighth aspect, in eighth aspect in the third possible implementation, the receiving unit, specifically for connecing
The OpenFlow gauge table and OpenFlow flow table that SDN controller is sent are received, the OpenFlow flow table is with the MPLS label
Group is used as matching condition, and the behavior of the OpenFlow flow table is to forward the data flow or with OpenFlow gauge table middle finger
Fixed data rate carries out flow control to data stream, and the data rate is corresponding with the forwarding device qos parameter;The control
Unit forwards the data flow specifically for the behavior according to the OpenFlow flow table or with OpenFlow gauge table middle finger
Fixed data rate carries out flow control to data stream.
The first possible implementation in conjunction with eighth aspect, in eighth aspect in the third possible implementation, institute
State acquiring unit further include: label adding unit, for adding the MPLS label group for the data packet of the data flow.
In conjunction with any one in eighth aspect or the first to three kind of eighth aspect possible implementation, in eighth aspect
In four kinds of possible implementations, described device further includes statistic unit and transmission unit;The statistic unit, for generating
State the traffic statistics of data flow;The transmission unit, for the traffic statistics to be sent to SDN controller;Institute
Receiving unit is stated, is also used to receive the forwarding device current QoS parameter that SDN controller issues, the forwarding device current QoS ginseng
Number is generated by the SDN controller according to the traffic statistics;Described control unit is also used to answer in forwarding comprising described
When with the data flow of layer identification, service quality control is carried out to the data flow using the forwarding device current QoS parameter.
In the embodiment of the present invention, SDN controller obtains the application layer identification of data flow;SDN controller is according to application layer mark
Know and generates the forwarding device qos parameter that the forwarding device on the forwarding data flow path is applicable in;SDN controller described will turn
Hair equipment qos parameter is issued to forwarding device, in order to which the forwarding device includes the data using layer identification in forwarding
When stream, QoS control is carried out to the data flow according to the forwarding device qos parameter.In embodiments of the present invention, SDN is controlled
Device can determine the application layer qos parameter of data flow, then by application layer QoS according to the application layer identification carried in data flow
Parameter Switch is forwarding device qos parameter and is issued to forwarding device.The forwarding that forwarding device can be issued according to SDN controller
Equipment qos parameter carries out QoS control to the data flow using layer identification of carrying, to meet in SDN based on using layer service
Carry out the demand of QoS control.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart of QoS control method one embodiment of forwarding device in SDN of the present invention;
Fig. 2 is the flow chart of another embodiment of the QoS control method of forwarding device in SDN of the present invention;
Fig. 3 is the flow chart of another embodiment of the QoS control method of forwarding device in SDN of the present invention;
Fig. 4 is the flow chart of another embodiment of the QoS control method of forwarding device in SDN of the present invention;
Fig. 5 is the flow chart of another embodiment of the QoS control method of forwarding device in SDN of the present invention;
Fig. 6 is the flow chart of another embodiment of the QoS control method of forwarding device in SDN of the present invention;
Fig. 7 is the flow chart of another embodiment of the QoS control method of forwarding device in SDN of the present invention;
Fig. 8 is the flow chart of another embodiment of the QoS control method of forwarding device in SDN of the present invention;
Fig. 9 is the structural schematic diagram of QoS control device one embodiment of forwarding device in SDN of the present invention;
Figure 10 is the structural schematic diagram of another embodiment of the QoS control device of forwarding device in SDN of the present invention;
Figure 11 is the structural schematic diagram of another embodiment of the QoS control device of forwarding device in SDN of the present invention;
Figure 12 is the structural schematic diagram of another embodiment of the QoS control device of forwarding device in SDN of the present invention;
Figure 13 is the structural schematic diagram of another embodiment of the QoS control device of forwarding device in SDN of the present invention;
Figure 14 is the structural schematic diagram of another embodiment of the QoS control device of forwarding device in SDN of the present invention;
Figure 15 is the structural schematic diagram of another embodiment of the QoS control device of forwarding device in SDN of the present invention;
Figure 16 is the structural schematic diagram of another embodiment of the QoS control device of forwarding device in SDN of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Whole description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In the embodiment of the present invention, the application layer feature of data flow includes but is not limited to application layer used by the data flow
Transport protocol, the priority of the data flow, the data flow correspond to the combination of the features such as user or feature.
In the embodiment of the present invention, the application layer of data flow is identified as the mark that can reflect the application layer feature of data flow.
This can be composed of using layer identification multiple sub-marks, wherein each sub-mark can indicate one of the data flow
Application layer feature.For example, can be as indicating the protocol class of application layer transport protocol used by the data flow using layer identification
Type identifies and indicates that the data flow corresponds to the user identifier of user and is formed by combining.
In the embodiment of the present invention, MPLS label group is corresponding with the application layer feature of data flow, can be used for reflecting data
The application layer feature of stream.When forwarding data flow path includes multiple forwarding devices, the application layer feature of data flow can be directed to
Loading condition in conjunction with each forwarding device is that each forwarding device distributes different MPLS labels, the MPLS of multiple forwarding devices
Tag combination becomes MPLS label group.
When using the embodiment of the present invention, OpenFlow agreement can be extended, is answered so that being carried in the packet header domain of data packet
With layer identification, and the ability for making SDN controller that there is from the data packet of data flow parsing to apply layer identification.
It is the flow chart of QoS control method one embodiment of forwarding device in SDN of the present invention referring to Fig. 1.The present embodiment
It can be executed by the SDN controller in SDN.As shown in Figure 1, this method comprises the following steps:
Step 101, SDN controller obtains the application layer identification of data flow.
SDN controller obtain data flow the mode using layer identification can there are many.
In a kind of possible implementation, when the forwarding devices such as virtual switch (vSwitch) receive the first number of data flow
When according to packet, OpenFlow agreement Packet in message can be used by first data packet and be sent to SDN controller.SDN controller exists
After the first data packet for obtaining the data flow, it can be obtained from the packet header domain of the first data packet described using layer identification.
In alternatively possible implementation, when the forwarding devices such as virtual switch receive the first data packet of data flow,
Can be a by data packet replication, and the data packet of duplication is transmitted to DPI module.DPI module is solved from the first data packet
After the application layer identification is precipitated, forwarding device will be returned to using layer identification;The application layer mark that forwarding device will receive again
Knowledge is sent to SDN controller.Wherein, DPI module can be embedded in virtual level (hypervisor).
Step 102, SDN controller generates the forwarding device on the forwarding data flow path according to application layer identification and fits
Forwarding device qos parameter.
Since data flow application layer qos parameter is corresponding with the application layer feature of data flow, according to using layer identification
It can determine the application layer qos parameter of data flow.When generating forwarding device qos parameter, SDN controller can obtain institute first
It states using the corresponding application layer qos parameter of layer identification;SDN controller obtains qos parameter corresponding with the application layer identification and turns
Mold changing type;The application layer qos parameter is converted to forwarding device QoS using the qos parameter transformation model by SDN controller joins
Number.The qos parameter transformation model can be preset by technical staff, can also be by SDN controller according to the data flow
Forward-path is generated using machine learning algorithm, wherein the forward-path can be made of multiple forwarding devices.For example, can
With on the basis of Differentiated Services (DiffServ) model, the performance of combined data stream application layer feature and forwarding device generates forwarding
Equipment qos parameter.
Step 103, the forwarding device qos parameter is issued to forwarding device by SDN controller, in order to which the forwarding is set
It is standby when forwarding is comprising the data flow using layer identification, the data flow is carried out according to the forwarding device qos parameter
QoS control.
SDN controller can be generated and forwarding device qos parameter when issuing forwarding device qos parameter to forwarding device
Corresponding OpenFlow gauge table and OpenFlow flow table;Then the OpenFlow gauge table and OpenFlow flow table are issued to
Forwarding device.It is can be used in OpenFlow flow table using layer identification as matching condition, OpenFlow flow table behavior is forwarding
The data flow carries out flow control to data stream with the data rate specified in OpenFlow gauge table, to realize according to institute
It states forwarding device qos parameter and QoS control is carried out to the data flow.
Forwarding device is after receiving the OpenFlow flow table, according to corresponding with application layer identification in the OpenFlow flow table
OpenFlow flow table behavior carries out forwarding and flow control etc. to data stream, to realize according to the forwarding device qos parameter to institute
It states data flow and carries out QoS control.
Since during data stream transmitting, the load of each forwarding device and the flow of data flow may become
Change, because SDN controller also needs as needed adjustment forwarding device qos parameter in real time.Therefore, as shown in Fig. 2, in step
Can also include: after 103
Step 104, SDN controller receives the traffic statistics that forwarding device reports.
Forwarding device when forwarding is comprising the data flow using layer identification, can transmission rate to the data flow,
Flow control, forwarding performance etc. carry out statistics and generate traffic statistics, and traffic statistics are then sent to SDN controller.
Step 105, SDN controller updates the qos parameter transformation model using the traffic statistics, obtains current
Qos parameter transformation model.
After SDN controller obtains the traffic statistics, traffic statistics flow corresponding with qos parameter is calculated
Gap between reference data, and qos parameter transformation model is adjusted according to the gap, turn to obtain current QoS parameter
Mold changing type.
For example, traffic statistics flow reference data corresponding with qos parameter can be calculated using multidimensional linear fit
Between gap, then the influence coefficient that the gap is adjusted as flow is added in qos parameter transformation model, to be worked as
Preceding qos parameter transformation model.Alternatively, current QoS Parameter Switch model can also be generated using other machines learning algorithm.
Step 106, SDN controller uses the current QoS Parameter Switch model by the application layer services mass parameter
Be converted to forwarding device current QoS parameter.
After the generation of current QoS Parameter Switch model, SDN controller can first obtain that the application layer identification is corresponding to answer
With layer qos parameter;Then the application layer qos parameter is converted into forwarding device using the current QoS Parameter Switch model
Current QoS parameter.
Step 107, the forwarding device current QoS parameter is issued to forwarding device by SDN controller, in order to described turn
Equipment is sent out when forwarding is comprising the data flow using layer identification, according to the forwarding device current QoS parameter to the number
QoS control is carried out according to stream.
Forwarding device current QoS parameter can also be issued using OpenFlow flow sheet form, wherein OpenFlow flow table
Occurrence is still described using layer identification, and OpenFlow flow table behavior is the forwarding data flow or current with forwarding device
The corresponding data rate of qos parameter carries out flow control to data stream.Specifically, SDN controller is issuing forwarding to forwarding device
When equipment current QoS parameter, OpenFlow gauge table corresponding with forwarding device current QoS parameter and OpenFlow can be generated
Flow table;Then the OpenFlow gauge table and OpenFlow flow table are issued to forwarding device.It can make in OpenFlow flow table
It uses using layer identification as matching condition, OpenFlow flow table behavior is to forward the data flow or with OpenFlow gauge table
In specify data rate to data stream carry out flow control.
From above-described embodiment as can be seen that SDN controller can determine number according to the application layer identification carried in data flow
According to the application layer qos parameter of stream, application layer qos parameter is then converted into forwarding device qos parameter and is issued to forwarding device.
Forwarding device can carry out the data flow using layer identification of carrying according to the forwarding device qos parameter that SDN controller issues
QoS control, to meet the needs of carrying out QoS control based on application layer service in SDN.
It is the flow chart of QoS control method one embodiment of forwarding device in SDN of the present invention referring to Fig. 3.The present embodiment
It can be executed by the network equipment in SDN.As shown in figure 3, this method comprises the following steps:
Step 301, forwarding device obtains the forwarding device qos parameter that SDN controller issues, the forwarding device QoS ginseng
Number is generated by controller according to the application layer identification of data flow.
Forwarding device can receive the forwarding device qos parameter that SDN controller issues in advance before receiving data flow.
The forwarding device qos parameter that SDN controller can also be requested to issue after receiving data flow.
In one possible implementation, forwarding device, can be first from the data flow after getting data flow
It obtains described using layer identification in the specific field of data packet, and the application layer identification is reported into SDN controller;Then it connects
Receive the forwarding device qos parameter that SDN controller is sent.Wherein, the forwarding device qos parameter by the SDN controller according to
The corresponding application layer qos parameter of the application layer identification generates.
In alternatively possible implementation, forwarding device, can be by the data flow after getting data flow
First data packet report to controller;Then the forwarding device qos parameter that SDN controller is sent, the forwarding device QoS are received
Parameter is generated according in the first data packet using the corresponding application layer qos parameter of layer identification by the SDN controller.
Forwarding device qos parameter can be OpenFlow gauge table and OpenFlow flow sheet form.OpenFlow gauge table
And the particular content of OpenFlow flow table may refer to previous embodiment, details are not described herein again.
Step 302, forwarding device uses the forwarding device when forwarding is comprising the data flow using layer identification
Qos parameter carries out service quality control to the data flow.
After receiving forwarding device qos parameter, it can be joined during forwarding data flow using the forwarding device QoS
It is several that service quality control is carried out to the data flow.
For example, forwarding device receive OpenFlow flow sheet form qos parameter after, can be according to the OpenFlow flow table
In data stream is turned with the particular content of the corresponding OpenFlow flow table behavior of application layer identification and OpenFlow gauge table
Hair and flow control carry out QoS control to the data flow according to the forwarding device qos parameter to realize.
Since during data stream transmitting, the load of each forwarding device and the flow of data flow may become
Change, because SDN controller also needs as needed adjustment forwarding device qos parameter in real time.Therefore, as shown in figure 4, in step
Can also include: after 302
Step 303, forwarding device generates the traffic statistics of the data flow.
Forwarding device when forwarding is comprising the data flow using layer identification, can transmission rate to the data flow,
Flow control, forwarding performance etc. carry out statistics and generate traffic statistics, and traffic statistics are then sent to SDN controller.
Step 304, the traffic statistics are sent to SDN controller by forwarding device.
Step 305, the forwarding device current QoS parameter that SDN controller issues, the forwarding device current QoS ginseng are received
Number is generated by the SDN controller according to the traffic statistics.
SDN controller can be generated according to the traffic statistics and be forwarded after receiving the traffic statistics
Equipment current QoS parameter.Forwarding device current QoS parameter may be OpenFlow gauge table and OpenFlow flow sheet form.
OpenFlow gauge table and the particular content of OpenFlow flow table may refer to previous embodiment, and specific process is herein just no longer
It repeats.
Step 306, forwarding device is worked as when forwarding is comprising the data flow using layer identification using the forwarding device
Preceding qos parameter carries out service quality control to the data flow.
After receiving forwarding device current QoS parameter, the forwarding device can be used during forwarding data flow
Current QoS parameter carries out service quality control to the data flow.The data are flowed into using forwarding device current QoS parameter
The concrete mode of row service quality control may refer to step 302, herein with regard to no longer being repeated.
From above-described embodiment as can be seen that SDN controller can determine number according to the application layer identification carried in data flow
According to the application layer qos parameter of stream, application layer qos parameter is then converted into forwarding device qos parameter and is issued to forwarding device.
Forwarding device can carry out the data flow using layer identification of carrying according to the forwarding device qos parameter that SDN controller issues
QoS control, to meet the needs of carrying out QoS control based on application layer service in SDN.
It is the flow chart of QoS control method one embodiment of forwarding device in SDN of the present invention referring to Fig. 5.The present embodiment
It can be executed by the SDN controller in SDN.As shown in figure 5, this method comprises the following steps:
Step 501, SDN controller obtains the application layer feature of data flow.
SDN controller obtain data flow application layer feature mode can there are many.SDN controller can be first from institute
The application layer identification that data flow is obtained in the specific field of data flow data packet is stated, to determine data using layer identification according to this
The application layer feature of stream;SDN controller also can analyze the data packet of the data flow, to obtain the application of the data flow
Layer feature.
Step 502, SDN controller is that the data flow distributes MPLS label group corresponding with the application layer feature.
SDN controller is that the data flow distributes MPLS label group corresponding with the application layer feature, to be marked with MPLS
Label group distinguishes different data flows.Wherein, the MPLS label group can be corresponded to by one or more MPLS labels.For example,
When forwarding data flow path includes multiple forwarding devices, each forwarding device can be combined for the application layer feature of data flow
Loading condition be each forwarding device distribute different MPLS labels, the MPLS label of multiple forwarding devices is combined into MPLS
Set of tags.
Step 503, SDN controller indicates that the forwarding device in the forwarding data flow path is the number that the data stream packets contain
The MPLS label group is added according to packet.
After the MPLS label group of data flow determines, SDN controller can indicate the head in the forwarding data flow path
Forwarding device is that the data packet adds the MPLS label group.
Step 504, SDN controller generates forwarding device qos parameter corresponding with the MPLS label group.
Since MPLS label group is corresponding with the application layer feature of data flow, MPLS label group can also be as application layer
Identify the application layer feature of such response data stream.When generating forwarding device qos parameter, SDN controller can obtain first
The corresponding application layer qos parameter of the MPLS label;SDN controller obtains qos parameter corresponding with the application layer feature and turns
Mold changing type;The application layer qos parameter is converted to forwarding device QoS using the qos parameter transformation model by SDN controller joins
Number.Wherein, the qos parameter transformation model can have technical staff to preset.
Step 505, the forwarding device qos parameter is issued to forwarding device by SDN controller, in order to which the forwarding is set
For when forwarding data packet to include the data flow of MPLS label group, QoS control is carried out according to the forwarding device qos parameter.
SDN controller can be generated and forwarding device qos parameter when issuing forwarding device qos parameter to forwarding device
Corresponding OpenFlow gauge table and OpenFlow flow table;Then the OpenFlow gauge table and OpenFlow flow table are issued to
Forwarding device;Use the MPLS label group as matching condition in OpenFlow flow table, OpenFlow flow table behavior is to turn
It sends out data flow described or flow control is carried out to data stream with the data rate specified in OpenFlow gauge table.Then should
OpenFlow gauge table and OpenFlow flow table are issued to forwarding device.Forwarding device receive the OpenFlow gauge table and
It, can be according to OpenFlow flow table row corresponding with the MPLS label group in the OpenFlow flow table after OpenFlow flow table
For, forwarding is carried out to data stream or flow control is carried out to data stream with the data rate specified in OpenFlow gauge table, thus
It realizes and QoS control is carried out to the data flow according to the forwarding device qos parameter.
Since during data stream transmitting, the load of each forwarding device and the flow of data flow may become
Change, because SDN controller also needs as needed adjustment forwarding device qos parameter in real time.Therefore, as shown in fig. 6, in step
Can also include: after 505
Step 506, SDN controller receives the traffic statistics that forwarding device reports.
Forwarding device when forwarding includes the data flow of the application layer feature, can transmission rate to the data flow,
Flow control, forwarding performance etc. carry out statistics and generate traffic statistics, and traffic statistics are then sent to SDN controller.
Step 507, SDN controller updates the qos parameter transformation model using the traffic statistics, obtains current
Qos parameter transformation model.
After SDN controller gets the traffic statistics, traffic statistics flow corresponding with qos parameter is calculated
Gap between reference data, and qos parameter transformation model is adjusted according to the gap, turn to obtain current QoS parameter
Mold changing type.For example, can be calculated using multidimensional linear fit corresponding with the qos parameter flow reference data of traffic statistics it
Between gap, then the influence coefficient that the gap is adjusted as flow is added in qos parameter transformation model, to obtain current
Qos parameter transformation model.Alternatively, current QoS Parameter Switch model can also be generated using other machines learning algorithm.
Step 508, SDN controller is converted to the application layer qos parameter using the current QoS Parameter Switch model
Forwarding device current QoS parameter.
After the generation of current QoS Parameter Switch model, SDN controller can first obtain that the application layer feature is corresponding to answer
With layer qos parameter;Then the application layer qos parameter is converted into forwarding device using the current QoS Parameter Switch model
Current QoS parameter.
Step 509, the forwarding device current QoS parameter is issued to forwarding device by SDN controller, in order to described turn
Equipment is sent out when forwarding includes the data flow of the MPLS label group, according to the forwarding device current QoS parameter to the number
QoS control is carried out according to stream.
Forwarding device current QoS parameter can also be issued using OpenFlow gauge table and OpenFlow flow sheet form,
In, the occurrence of OpenFlow flow table is still the MPLS label group, and OpenFlow flow table behavior is the forwarding data flow
Or flow control is carried out to data stream with the data rate specified in OpenFlow gauge table.Concrete mode may refer to step 505,
Details are not described herein again.
From above-described embodiment as can be seen that SDN controller can be distributed according to the application layer feature of data flow for data flow
MPLS label group, and the application layer qos parameter of data flow is converted into forwarding device qos parameter and is issued to forwarding device.From
And allow to send out the forwarding device qos parameter that equipment is issued according to SDN controller, to the number comprising the MPLS label group
QoS control is carried out according to stream, to meet the needs of carrying out QoS control based on application layer service in SDN.
It is the flow chart of QoS control method one embodiment of forwarding device in SDN of the present invention referring to Fig. 7.The present embodiment
It can be executed by the forwarding device in SDN.As shown in fig. 7, this method comprises the following steps:
Step 701, forwarding device obtains the MPLS label group of data flow, and the MPLS label group is answered with the data flow
It is corresponding with layer feature.
Since source device is when sending data flow, MPLS label group may not be stamped to the data packet of data flow.When connecing
When receiving the data flow not comprising MPLS label, the first data packet of the data flow can be sent to controller by forwarding device;
Then the MPLS label group that controller is data flow distribution is received.If forwarding device receives not comprising MPLS label
Data flow, after receiving the MPLS label group, forwarding device can add the MPLS for the data packet of the data flow
Set of tags, in order to which subsequent forwarding device handles data stream.When receive included the data flow of MPLS label when, turn
Hair equipment obtains the MPLS label group from the data packet of the data flow.
Step 702, forwarding device obtains forwarding device qos parameter corresponding with the MPLS label group.
Forwarding device obtains forwarding device corresponding with the MPLS label group after getting the MPLS label group
Qos parameter.The forwarding device qos parameter equally may be OpenFlow gauge table and OpenFlow flow sheet form.
Use the MPLS label group as matching condition in OpenFlow flow table, OpenFlow flow table behavior is the forwarding data flow
Or flow control is carried out to data stream with the data rate specified in OpenFlow gauge table.The OpenFlow gauge table and
OpenFlow flow table can be handed down to forwarding device by SDN controller in advance, can also be the data flow point by SDN controller
Forwarding device is handed down to after the MPLS label group matched.
Step 703, forwarding device flows into the data using the forwarding device qos parameter in transmitting data flow
The control of row service quality.
Forwarding device qos parameter that SDN controller issues can be used to the number in transmitting data flow in forwarding device
Service quality control is carried out according to stream.It, can be with for example, forwarding device is after receiving the OpenFlow gauge table and OpenFlow flow table
According to OpenFlow flow table behavior corresponding with the MPLS label group in the OpenFlow flow table, to data stream carry out forwarding or
Person carries out flow control to data stream with the data rate specified in OpenFlow gauge table, to realize according to the forwarding device
Qos parameter carries out QoS control to the data flow.
Since during data stream transmitting, the load of each forwarding device and the flow of data flow may become
Change, because SDN controller also needs as needed adjustment forwarding device qos parameter in real time.Therefore, as shown in figure 8, in step
Can also include: after 703
Step 704, forwarding device generates the traffic statistics of the data flow.
Forwarding device when forwarding the data flow, can transmission rate, flow control, forwarding performance to the data flow etc. into
Row statistics generates traffic statistics, and traffic statistics are then sent to SDN controller.
Step 705, the traffic statistics are sent to SDN controller by forwarding device.
Step 706, forwarding device receives the forwarding device current QoS parameter that SDN controller issues, and the forwarding device is worked as
Preceding qos parameter is generated by the SDN controller according to the traffic statistics.
SDN controller can be generated according to the traffic statistics and be forwarded after receiving the traffic statistics
Equipment current QoS parameter, and the forwarding device current QoS parameter is issued to forwarding device.Forwarding device current QoS parameter
It can also be issued using OpenFlow gauge table and OpenFlow flow sheet form, wherein the occurrence of OpenFlow flow table is still
The MPLS label group, OpenFlow flow table behavior are the forwarding data flow or the number to specify in OpenFlow gauge table
Flow control is carried out to data stream according to rate.The generating process of forwarding device current QoS parameter may refer to previous embodiment, herein
It repeats no more.
Step 707, forwarding device is when forwarding the data flow, using the forwarding device current QoS parameter to described
Data flow carries out service quality control.
After receiving forwarding device current QoS parameter, the forwarding device can be used during forwarding data flow
Current QoS parameter carries out service quality control to the data flow.The data are flowed into using forwarding device current QoS parameter
The concrete mode of row service quality control may refer to step 703, herein with regard to no longer being repeated.
From above-described embodiment as can be seen that SDN controller can be distributed according to the application layer feature of data flow for data flow
MPLS label group, and the application layer qos parameter of data flow is converted into forwarding device qos parameter and is issued to forwarding device.From
And the forwarding device qos parameter for issuing forwarding device according to SDN controller, to described comprising the MPLS label group
Data flow carries out QoS control, to meet the needs of carrying out QoS control based on application layer service in SDN.
Corresponding with the service quality QoS control method of forwarding device of the present invention, the present invention also provides forwarding devices
Service quality QoS control device.
It is the structural schematic diagram of QoS control device one embodiment of the present invention referring to Fig. 9.The QoS control device can be set
It sets on SDN controller.
As shown in figure 9, the device includes: acquiring unit 901, generation unit 902 and transmission unit 903.
Wherein, acquiring unit 901 obtain the application layer identification of data flow for SDN controller;Generation unit 902, is used for
The forwarding device qos parameter that the forwarding device on the forwarding data flow path is applicable in is generated according to using layer identification;It sends
Unit 903, for the forwarding device qos parameter to be issued to forwarding device, in order to which the forwarding device includes in forwarding
When the data flow using layer identification, QoS control is carried out to the data flow according to the forwarding device qos parameter.
Optionally, the acquiring unit 901 includes: receiving subelement, for receiving the first data packet of the data flow;Solution
Subelement is analysed, it is described using layer identification for being parsed from the specific field of the first data packet.
Optionally, the parsing subunit, it is described using layer identification for being obtained from the first packet header domain.
Optionally, the acquiring unit 901, described using layer identification specifically for receiving, the application layer identification is by institute
State forwarding device transmission.
Optionally, the generation unit 902 includes: that parameter obtains subelement, corresponding for obtaining the application layer identification
Application layer qos parameter;Model obtains subelement, for obtaining qos parameter transformation model corresponding with the application layer identification;
Parameter generates subelement, for the application layer qos parameter to be converted to forwarding device using the qos parameter transformation model
Qos parameter.
Optionally, the transmission unit 903 include: flow table generate subelement, for generate OpenFlow gauge table and
OpenFlow flow table, the OpenFlow flow table using the application layer identification as matching condition, the OpenFlow flow table
Behavior is the forwarding data flow or carries out flow control to data stream with the data rate specified in OpenFlow gauge table, described
Data rate is corresponding with the forwarding device qos parameter;Flow table issuance subelement, for by the OpenFlow gauge table and
The OpenFlow flow table is issued to forwarding device.
Optionally, described device also further includes receiving unit and updating unit;The receiving unit is set for receiving forwarding
The standby traffic statistics reported;The updating unit, for updating the qos parameter modulus of conversion with the traffic statistics
Type obtains current QoS Parameter Switch model;The generation unit 902 is also used for the current QoS Parameter Switch model
The application layer services mass parameter is converted into forwarding device current QoS parameter;The transmission unit 903 is also used to institute
It states forwarding device current QoS parameter and is issued to forwarding device, in order to which the forwarding device includes the application layer mark in forwarding
When the data flow of knowledge, QoS control is carried out to the data flow according to the forwarding device current QoS parameter.
It is the structural schematic diagram of QoS control device one embodiment of the present invention referring to Figure 10.The QoS control device can be with
It is arranged on forwarding device.
As shown in Figure 10, which includes: acquiring unit 1001 and control unit 1002.
Wherein, the acquiring unit 1001, the forwarding device qos parameter issued for obtaining SDN controller, the forwarding
Equipment qos parameter is generated by controller according to the application layer identification of data flow;Control unit 1002, for including described in forwarding
Using layer identification data flow when, using the forwarding device qos parameter to the data flow carry out service quality control.
Optionally, the acquiring unit 1001 includes: that the first data flow obtains subelement, for obtaining data flow;Mark
Subelement is obtained, it is described using layer identification for being obtained from the specific field of the data flow head data packet;Man who brings news of appointment in mark
Unit, for the application layer identification to be reported to SDN controller;First parameter receiving subelement, for receiving SDN controller
The forwarding device qos parameter of transmission, the forwarding device qos parameter is by the SDN controller according to the application layer identification pair
The application layer qos parameter answered generates.
Optionally, the mark obtains subelement, specifically for answering described in the acquisition from the packet header domain of the first data packet
Use layer identification.
Optionally, the acquiring unit 1001 includes: that the second data flow obtains subelement, for obtaining data flow;Data
Man who brings news of appointment's unit is wrapped, for the first data packet of the data flow to be reported to controller;Second parameter receiving subelement, for connecing
The forwarding device qos parameter that SDN controller is sent is received, the forwarding device qos parameter is by the SDN controller according to the head
It is generated in data packet using the corresponding application layer qos parameter of layer identification.
Optionally, the acquiring unit 1001, specifically for receive SDN controller send OpenFlow gauge table and
OpenFlow flow table, the OpenFlow flow table using the application layer identification as matching condition, the OpenFlow flow table
Behavior is the forwarding data flow or carries out flow control to data stream with the data rate specified in OpenFlow gauge table, described
Data rate is corresponding with the forwarding device qos parameter;Described control unit 1002 is specifically used for according to the OpenFlow
The behavior of flow table forwards the data flow or carries out flow control to data stream with the data rate specified in OpenFlow gauge table.
Optionally, described device further includes statistic unit and transmission unit;The statistic unit, for generating the data
The traffic statistics of stream;The transmission unit, for the traffic statistics to be sent to SDN controller;The reception
Unit is also used to receive the forwarding device current QoS parameter that SDN controller issues, and the forwarding device current QoS parameter is by institute
SDN controller is stated to be generated according to the traffic statistics;Described control unit 1002 is also used to include the application in forwarding
When the data flow of layer identification, service quality control is carried out to the data flow using the forwarding device current QoS parameter.
It is the structural schematic diagram of QoS control device one embodiment of the present invention referring to Figure 11.The QoS control device can be with
It is arranged on SDN controller.
As shown in figure 11, which includes: acquiring unit 1101, allocation unit 1102, indicating unit 1103, generation unit
1104 and transmission unit 1105.
Wherein, acquiring unit 1101, for obtaining the application layer feature of data flow;Allocation unit 1102, for being described
Data flow distributes MPLS label group corresponding with the application layer feature;Indicating unit 1103 is used to indicate the stream compression
The forwarding device in hair path is that the data packet that the data stream packets contain adds the MPLS label group;Generation unit 1104, is used for
Generate forwarding device qos parameter corresponding with the MPLS label group;Transmission unit 1105 is used for the forwarding device QoS
Parameter is issued to forwarding device, in order to which the forwarding device is when forwarding data packet to include the data flow of MPLS label group, presses
QoS control is carried out according to the forwarding device qos parameter.
Optionally, the acquiring unit 1101 includes: that data packet obtains subelement, for obtaining the first data of data flow
Packet;Feature analysis subelement, for parsing the application layer feature of the first data packet.
Optionally, the feature analysis subelement, specifically for being answered described in the acquisition from the packet header domain of the first data packet
Use layer identification;Obtain application layer feature corresponding with the application layer identification.
Optionally, the generation unit 1104 includes: that parameter obtains subelement, corresponding for obtaining the application layer identification
Application layer qos parameter;Model obtains subelement, for obtaining qos parameter transformation model corresponding with the application layer identification;
Parameter generates subelement, for the application layer qos parameter to be converted to forwarding device using the qos parameter transformation model
Qos parameter.
Optionally, the transmission unit 1105 include: flow table generate subelement, for generate OpenFlow gauge table and
OpenFlow flow table, the OpenFlow flow table is using the MPLS label group as matching condition, the row of the OpenFlow flow table
To be the forwarding data flow or carrying out flow control, the number to data stream with the data rate specified in OpenFlow gauge table
It is corresponding with the forwarding device qos parameter according to rate;Flow table issuance subelement is used for the OpenFlow gauge table and institute
It states OpenFlow flow table and is issued to forwarding device.
Optionally, described device further includes receiving unit and updating unit;The receiving unit, for receiving forwarding device
The traffic statistics reported;The updating unit, for updating the qos parameter modulus of conversion with the traffic statistics
Type obtains current QoS Parameter Switch model;The generation unit is also used for the current QoS Parameter Switch model for institute
It states application layer services mass parameter and is converted to forwarding device current QoS parameter;The transmission unit 1105 is also used to described turn
Hair equipment current QoS parameter is issued to forwarding device, in order to which the forwarding device includes described using layer identification in forwarding
When data flow, QoS control is carried out to the data flow according to the forwarding device current QoS parameter.
It is the structural schematic diagram of QoS control device one embodiment of the present invention referring to Figure 12.The QoS control device can be with
It is arranged on forwarding device.
As shown in figure 12, the apparatus may include acquiring unit 1201, receiving unit 1202 and control units 1203.
Wherein, acquiring unit 1201, for obtaining the MPLS label group of data flow, the MPLS label group and the data
The application layer feature of stream is corresponding;Receiving unit 1202, for receiving forwarding device QoS ginseng corresponding with the MPLS label group
Number;Control unit 1203, for being taken to the data flow using the forwarding device qos parameter in transmitting data flow
Quality of being engaged in control.
Optionally, the acquiring unit 1201 is marked specifically for obtaining the MPLS from the data packet of the data flow
Label group.
Optionally, the acquiring unit 1201 includes: that data packet reports subelement, for by the first data of the data flow
Packet is sent to controller;MPLS label group receiving subelement, for receiving the MPLS label that controller is data flow distribution
Group;The receiving unit 1202, the forwarding device qos parameter sent for receiving the SDN controller, the forwarding device
Qos parameter is generated by the SDN controller according to the corresponding application layer qos parameter of the application layer feature.
Optionally, the receiving unit 1202, specifically for receive SDN controller send OpenFlow gauge table and
OpenFlow flow table, the OpenFlow flow table using the MPLS label group as matching condition, the OpenFlow flow table
Behavior is the forwarding data flow or carries out flow control to data stream with the data rate specified in OpenFlow gauge table, described
Data rate is corresponding with the forwarding device qos parameter;Described control unit 1203 is specifically used for according to the OpenFlow
The behavior of flow table forwards the data flow or carries out flow control to data stream with the data rate specified in OpenFlow gauge table.
Optionally, the acquiring unit 1201 further include: label adding unit, for adding for the data packet of the data flow
Add the MPLS label group.
Optionally, described device further includes statistic unit and transmission unit;The statistic unit, for generating the data
The traffic statistics of stream;The transmission unit, for the traffic statistics to be sent to SDN controller;The reception
Unit 1202 is also used to receive the forwarding device current QoS parameter that SDN controller issues, the forwarding device current QoS parameter
It is generated by the SDN controller according to the traffic statistics;Described control unit 1203 is also used in forwarding comprising described
Using layer identification data flow when, using the forwarding device current QoS parameter to the data flow carry out service quality control.
It as shown in figure 13, is the structural schematic diagram of QoS control device one embodiment of the present invention.The QoS control device can
To be arranged on SDN controller.
As shown in figure 13, the apparatus may include processor 1301, memory 1302 and transceivers 1303.Processor
1301, it is interconnected between memory 1302 and transceiver 1303.For example, the processor 1301,1302 transceiver of memory
1303 can be connected by bus 1304.
Wherein, memory 1302 is for storing computer executed instructions.Specifically, program may include program code, institute
Stating program code includes computer executed instructions.Memory 1302 may include random access memory (random access
Memory, abbreviation RAM), it is also possible to it further include nonvolatile memory (non-volatile memory), for example, at least one
Magnetic disk storage 1302.
The processor 1301 is used to obtain the application layer identification of data flow;The data flow is generated according to application layer identification
The forwarding device qos parameter that forwarding device on forward-path is applicable in;The forwarding device QoS is joined by transceiver 1303
Number is issued to forwarding device, in order to which the forwarding device is when forwarding is comprising the data flow using layer identification, according to institute
It states forwarding device qos parameter and QoS control is carried out to the data flow.
It as shown in figure 14, is the structural schematic diagram of QoS control device one embodiment of the present invention.The QoS control device can
To be arranged on forwarding device.
As shown in figure 14, the apparatus may include processor 1401, memory 1402 and transceivers 1403.Processor
1401, it is interconnected between memory 1402 and transceiver 1403.For example, the processor 1401,1402 transceiver of memory
1403 can be connected by bus 1404.
Wherein, memory 1402 is for storing computer executed instructions.Specifically, program may include program code, institute
Stating program code includes computer executed instructions.Memory 1402 may include random access memory (random access
Memory, abbreviation RAM), it is also possible to it further include nonvolatile memory (non-volatile memory), for example, at least one
Magnetic disk storage 1402.
The transceiver 1403 is for receiving the forwarding device qos parameter that SDN controller issues, the forwarding device QoS
Parameter is generated by controller according to the application layer identification of data flow.The processor 1401 is used in forwarding include the application layer
When the data flow of mark, service quality control is carried out to the data flow using the forwarding device qos parameter.
It as shown in figure 15, is the structural schematic diagram of QoS control device one embodiment of the present invention.The QoS control device can
To be arranged on SDN controller.
As shown in figure 15, the apparatus may include processor 1501, memory 1502 and transceivers 1503.Processor
1501, it is interconnected between memory 1502 and transceiver 1503.For example, the processor 1501,1502 transceiver of memory
1503 can be connected by bus 1504.
Wherein, memory 1502 is for storing computer executed instructions.Specifically, program may include program code, institute
Stating program code includes computer executed instructions.Memory 1502 may include random access memory (random access
Memory, abbreviation RAM), it is also possible to it further include nonvolatile memory (non-volatile memory), for example, at least one
Magnetic disk storage 1502.
The processor 1501, for obtaining the application layer feature of data flow;For data flow distribution and the application
The corresponding MPLS label group of layer feature;The forwarding device for indicating the forwarding data flow path is the data that the data stream packets contain
Packet adds the MPLS label group;Generate forwarding device qos parameter corresponding with the MPLS label group;Pass through the transceiver
The forwarding device qos parameter is issued to forwarding device by 1503, in order to which the forwarding device includes in forwarding data packet
When the data flow of MPLS label group, QoS control is carried out according to the forwarding device qos parameter.
It as shown in figure 16, is the structural schematic diagram of QoS control device one embodiment of the present invention.The QoS control device can
To be arranged on forwarding device.
As shown in figure 16, the apparatus may include processor 1601, memory 1602 and transceivers 1603.Processor
1601, it is interconnected between memory 1602 and transceiver 1603.For example, the processor 1601,1602 transceiver of memory
1603 can be connected by bus 1604.
Wherein, memory 1602 is for storing computer executed instructions.Specifically, program may include program code, institute
Stating program code includes computer executed instructions.Memory 1602 may include random access memory (random access
Memory, abbreviation RAM), it is also possible to it further include nonvolatile memory (non-volatile memory), for example, at least one
Magnetic disk storage 1602.
The processor 1601 is used to obtain the MPLS label group of data flow, the MPLS label group and the data flow
Application layer feature is corresponding;The transceiver 1603 is for receiving forwarding device qos parameter corresponding with the MPLS label group;
The processor 1601 is also used in transmitting data flow, is taken using the forwarding device qos parameter to the data flow
Quality of being engaged in control.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present invention substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with
It is personal computer, server or forwarding device etc.) execute certain part institutes of each embodiment of the present invention or embodiment
The method stated.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.It is filled especially for entity
For setting embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method reality
Apply the part explanation of example.
The embodiments of the present invention described above are not intended to limit the scope of the present invention.It is any in the present invention
Spirit and principle within made modifications, equivalent substitutions and improvements etc., should all be included in the protection scope of the present invention.
Claims (42)
1. the service quality QoS control method of forwarding device in a kind of software defined network SDN, which is characterized in that the method
Include:
The application layer identification of SDN controller acquisition data flow;
SDN controller generates the forwarding device that the forwarding device on the forwarding data flow path is applicable according to using layer identification
Qos parameter;
The forwarding device qos parameter is issued to forwarding device by SDN controller, in order to which the forwarding device includes in forwarding
When the data flow using layer identification, QoS control is carried out to the data flow according to the forwarding device qos parameter;
Wherein the forwarding device qos parameter is issued to forwarding device and includes: by the SDN controller
SDN controller generates OpenFlow gauge table and OpenFlow flow table, and the OpenFlow flow table is with the application layer mark
Know and be used as matching condition, the behavior of the OpenFlow flow table is to forward the data flow or with OpenFlow gauge table middle finger
Fixed data rate carries out flow control to data stream, and the data rate is corresponding with the forwarding device qos parameter;
The OpenFlow gauge table and the OpenFlow flow table are issued to forwarding device by SDN controller.
2. the method as described in claim 1, which is characterized in that the SDN controller obtains the application layer identification packet of data flow
It includes:
SDN controller receives the first data packet of the data flow;
SDN controller parses described using layer identification from the specific field of the first data packet.
3. method according to claim 2, which is characterized in that specific field of the SDN controller from the first data packet
In parse the application layer identification and include:
SDN controller obtains described using layer identification from the packet header domain of the first data packet.
4. the method as described in claim 1, which is characterized in that the SDN controller obtains the application layer identification packet of data flow
It includes:
The reception of SDN controller is described to apply layer identification, and the application layer identification is sent by the forwarding device.
5. such as the described in any item methods of Claims 1-4, which is characterized in that the SDN controller is raw according to application layer identification
Include: at the forwarding device service quality QoS parameter that the forwarding device on the forwarding data flow path is applicable in
SDN controller obtains the corresponding application layer qos parameter of the application layer identification;
SDN controller obtains qos parameter transformation model corresponding with the application layer identification;
The application layer qos parameter is converted to forwarding device qos parameter using the qos parameter transformation model by SDN controller.
6. such as the described in any item methods of Claims 1-4, which is characterized in that the method also includes:
SDN controller receives the traffic statistics that forwarding device reports;
SDN controller updates the qos parameter transformation model using the traffic statistics, obtains current QoS Parameter Switch
Model;
The application layer services mass parameter is converted to forwarding using the current QoS Parameter Switch model and set by SDN controller
Standby current QoS parameter;
The forwarding device current QoS parameter is issued to forwarding device by SDN controller, in order to which the forwarding device is forwarding
When comprising the data flow using layer identification, QoS control is carried out to the data flow according to the forwarding device current QoS parameter
System.
7. the service quality QoS control method of forwarding device in a kind of software defined network SDN, which is characterized in that the method
Include:
Forwarding device receives the forwarding device qos parameter that SDN controller issues, and the forwarding device qos parameter is by controller root
It is generated according to the application layer identification of data flow;
Forwarding device is when forwarding is comprising the data flow using layer identification, using the forwarding device qos parameter to described
Data flow carries out service quality control;
Wherein the forwarding device qos parameter of the forwarding device reception SDN controller transmission includes:
Forwarding device receives the OpenFlow gauge table and OpenFlow flow table that SDN controller is sent, the OpenFlow flow table
Using the application layer identification as matching condition, the behavior of the OpenFlow flow table be the forwarding data flow or with
The data rate specified in OpenFlow gauge table carries out flow control, the data rate and the forwarding device QoS to data stream
Parameter is corresponding;
The forwarding device carries out service quality control to the data flow using the forwarding device qos parameter
Forwarding device is according to the behavior forwarding data flow of the OpenFlow flow table or with OpenFlow gauge table middle finger
Fixed data rate carries out flow control to data stream.
8. the method for claim 7, which is characterized in that the forwarding device receives the forwarding that SDN controller issues and sets
Include: for qos parameter
Forwarding device obtains data flow;
Forwarding device obtains described using layer identification from the specific field of the data flow head data packet;
The application layer identification is reported to SDN controller by forwarding device;
Forwarding device receives the forwarding device qos parameter that SDN controller is sent, and the forwarding device qos parameter is controlled by the SDN
Device processed is generated according to the corresponding application layer qos parameter of the application layer identification.
9. method according to claim 8, which is characterized in that the forwarding device is specified from the data flow head data packet
The application layer identification is obtained in field includes:
The forwarding device obtains described using layer identification from the packet header domain of the first data packet.
10. the method for claim 7, which is characterized in that the forwarding device receives the forwarding that SDN controller issues and sets
Include: for qos parameter
Forwarding device obtains data flow;
The first data packet of the data flow is reported to controller by forwarding device;
Forwarding device receives the forwarding device qos parameter that SDN controller is sent, and the forwarding device qos parameter is controlled by the SDN
Device processed is generated according in the first data packet using the corresponding application layer qos parameter of layer identification.
11. such as the described in any item methods of claim 7 to 10, which is characterized in that the method also includes:
Forwarding device generates the traffic statistics of the data flow;
The traffic statistics are sent to SDN controller by forwarding device;
Forwarding device receives the forwarding device current QoS parameter that issues of SDN controller, the forwarding device current QoS parameter by
The SDN controller is generated according to the traffic statistics;
Forwarding device uses the forwarding device current QoS parameter pair when forwarding is comprising the data flow using layer identification
The data flow carries out service quality control.
12. service quality QoS control method in a kind of software defined network SDN, which is characterized in that the described method includes:
The application layer feature of SDN controller acquisition data flow;
SDN controller is that the data flow distributes MPLS label group corresponding with the application layer feature;
SDN controller indicates that the forwarding device in the forwarding data flow path is described in the data packet that the data stream packets contain is added
MPLS label group;
SDN controller generates forwarding device qos parameter corresponding with the MPLS label group;
The forwarding device qos parameter is issued to forwarding device by SDN controller, in order to which the forwarding device is in forwarding data
When packet includes the data flow of MPLS label group, QoS control is carried out according to the forwarding device qos parameter;
The forwarding device qos parameter is issued to forwarding device by the SDN controller
SDN controller generates OpenFlow gauge table and OpenFlow flow table, and the OpenFlow flow table is with the MPLS label
Group is matching condition, and the behavior of the OpenFlow flow table is to forward the data flow or to specify in OpenFlow gauge table
Data rate flow control is carried out to data stream, the data rate is corresponding with the forwarding device qos parameter;
The OpenFlow gauge table and the OpenFlow flow table are issued to forwarding device by SDN controller.
13. method as claimed in claim 12, which is characterized in that the SDN controller obtains the application layer feature of data flow
Include:
The first data packet of SDN controller acquisition data flow;
SDN controller parses the application layer feature of the first data packet.
14. method as claimed in claim 13, which is characterized in that the SDN controller parses the application of the first data packet
Layer feature include:
SDN controller obtains described using layer identification from the packet header domain of the first data packet;
SDN controller obtains application layer feature corresponding with the application layer identification.
15. such as the described in any item methods of claim 12 to 14, which is characterized in that the SDN controller generate with it is described
The corresponding forwarding device qos parameter of MPLS label group includes:
SDN controller obtains the corresponding application layer qos parameter of the application layer feature;
SDN controller obtains qos parameter transformation model corresponding with the application layer feature;
The application layer qos parameter is converted to forwarding device qos parameter using the qos parameter transformation model by SDN controller,
Obtain the corresponding forwarding device qos parameter of the MPLS label group.
16. such as the described in any item methods of claim 12 to 14, which is characterized in that the method also includes:
SDN controller receives the traffic statistics that forwarding device reports;
SDN controller updates the qos parameter transformation model using the traffic statistics, obtains current QoS Parameter Switch
Model;
It is current that the application layer qos parameter using the current QoS Parameter Switch model is converted to forwarding device by SDN controller
Qos parameter;
The forwarding device current QoS parameter is issued to forwarding device by SDN controller, in order to which the forwarding device is forwarding
When data flow comprising the MPLS label group, QoS control is carried out to the data flow according to the forwarding device current QoS parameter
System.
17. the service quality QoS control method of forwarding device in a kind of software defined network SDN, which is characterized in that the method
Include:
Forwarding device obtains the MPLS label group of data flow, and the MPLS label group is opposite with the application layer feature of the data flow
It answers;
Forwarding device receives forwarding device qos parameter corresponding with the MPLS label group;
Forwarding device carries out service quality control to the data flow in transmitting data flow, using the forwarding device qos parameter
System;
The forwarding device receives forwarding device qos parameter corresponding with the MPLS label group
Forwarding device receives the OpenFlow gauge table and OpenFlow flow table that SDN controller is sent, the OpenFlow flow table
Using the MPLS label group as matching condition, the behavior of the OpenFlow flow table be the forwarding data flow or with
The data rate specified in OpenFlow gauge table carries out flow control, the data rate and the forwarding device QoS to data stream
Parameter is corresponding;
The forwarding device carries out service quality control to the data flow using the forwarding device qos parameter
Forwarding device is according to the behavior forwarding data flow of the OpenFlow flow table or with OpenFlow gauge table middle finger
Fixed data rate carries out flow control to data stream.
18. method as claimed in claim 17, which is characterized in that the forwarding device obtains MPLS label group and includes:
Forwarding device obtains the MPLS label group from the data packet of the data flow.
19. method as claimed in claim 18, which is characterized in that
The forwarding device obtains MPLS label group
The first data packet of the data flow is sent to controller by forwarding device;
Forwarding device receives the MPLS label group that controller is data flow distribution;
The forwarding device receives forwarding device qos parameter corresponding with the MPLS label group
Forwarding device receives the forwarding device qos parameter that the SDN controller is sent, and the forwarding device qos parameter is by described
SDN controller is generated according to the corresponding application layer qos parameter of the application layer feature.
20. method as claimed in claim 19, which is characterized in that the method also includes:
Forwarding device is that the data packet of the data flow adds the MPLS label group.
21. such as the described in any item methods of claim 17 to 20, which is characterized in that the method also includes:
Forwarding device generates the traffic statistics of the data flow;
The traffic statistics are sent to SDN controller by forwarding device;
Forwarding device receives the forwarding device current QoS parameter that issues of SDN controller, the forwarding device current QoS parameter by
The SDN controller is generated according to the traffic statistics;
Forwarding device takes the data flow using the forwarding device current QoS parameter when forwarding the data flow
Quality of being engaged in control.
22. the service quality QoS control device of forwarding device in a kind of software defined network SDN, which is characterized in that described device
Include:
Acquiring unit obtains the application layer identification of data flow for SDN controller;
Generation unit, for generating the forwarding that the forwarding device on the forwarding data flow path is applicable according to using layer identification
Equipment qos parameter;
Transmission unit, for the forwarding device qos parameter to be issued to forwarding device, in order to which the forwarding device is forwarding
When comprising the data flow using layer identification, QoS control is carried out to the data flow according to the forwarding device qos parameter;
The transmission unit includes:
Flow table generates subelement, and for generating OpenFlow gauge table and OpenFlow flow table, the OpenFlow flow table is with institute
It states using layer identification as matching condition, the behavior of the OpenFlow flow table is to forward the data flow or with OpenFlow
The data rate specified in gauge table carries out flow control to data stream, and the data rate is opposite with the forwarding device qos parameter
It answers;
Flow table issuance subelement, for the OpenFlow gauge table and the OpenFlow flow table to be issued to forwarding device.
23. device as claimed in claim 22, which is characterized in that the acquiring unit includes:
Receiving subelement, for receiving the first data packet of the data flow;
Parsing subunit, it is described using layer identification for being parsed from the specific field of the first data packet.
24. device as claimed in claim 23, which is characterized in that
The parsing subunit, it is described using layer identification for being obtained from the first packet header domain.
25. device as claimed in claim 22, which is characterized in that
The acquiring unit, described using layer identification specifically for receiving, the application layer identification is sent by the forwarding device.
26. such as the described in any item devices of claim 22 to 25, which is characterized in that the generation unit includes:
Parameter obtains subelement, for obtaining the corresponding application layer qos parameter of the application layer identification;
Model obtains subelement, for obtaining qos parameter transformation model corresponding with the application layer identification;
Parameter generates subelement, sets for the application layer qos parameter to be converted to forwarding using the qos parameter transformation model
Standby qos parameter.
27. such as the described in any item devices of claim 22 to 25, which is characterized in that described device further includes receiving unit and more
New unit;
The receiving unit, the traffic statistics reported for receiving forwarding device;
The updating unit obtains current QoS ginseng for updating the qos parameter transformation model with the traffic statistics
Number transformation model;
The generation unit is also used for the current QoS Parameter Switch model and turns the application layer services mass parameter
It is changed to forwarding device current QoS parameter;
The transmission unit is also used to the forwarding device current QoS parameter being issued to forwarding device, in order to the forwarding
Equipment is when forwarding is comprising the data flow using layer identification, according to the forwarding device current QoS parameter to the data
Stream carries out QoS control.
28. the service quality QoS control device of forwarding device in a kind of software defined network SDN, which is characterized in that described device
Include:
Acquiring unit, the forwarding device qos parameter issued for obtaining SDN controller, the forwarding device qos parameter is by controlling
Device is generated according to the application layer identification of data flow;
Control unit, for using the forwarding device qos parameter pair when forwarding is comprising the data flow using layer identification
The data flow carries out service quality control;
The acquiring unit, it is described specifically for receiving the OpenFlow gauge table and OpenFlow flow table that SDN controller is sent
For OpenFlow flow table using the application layer identification as matching condition, the behavior of the OpenFlow flow table is the forwarding data
Stream carries out flow control, the data rate and the forwarding to data stream with the data rate specified in OpenFlow gauge table
Equipment qos parameter is corresponding;
Described control unit, specifically for the behavior according to the OpenFlow flow table forward the data flow or with
The data rate specified in OpenFlow gauge table carries out flow control to data stream.
29. device as claimed in claim 28, which is characterized in that the acquiring unit includes:
First data flow obtains subelement, for obtaining data flow;
Mark obtains subelement, described using layer identification for obtaining from the specific field of the data flow head data packet;
Mark reports subelement, for the application layer identification to be reported to SDN controller;
First parameter receiving subelement, for receiving the forwarding device qos parameter of SDN controller transmission, the forwarding device QoS
Parameter is generated by the SDN controller according to the corresponding application layer qos parameter of the application layer identification.
30. device as claimed in claim 29, which is characterized in that
The mark obtains subelement, described using layer identification specifically for obtaining from the packet header domain of the first data packet.
31. device as claimed in claim 28, which is characterized in that the acquiring unit includes:
Second data flow obtains subelement, for obtaining data flow;
Data packet reports subelement, for the first data packet of the data flow to be reported to controller;
Second parameter receiving subelement, for receiving the forwarding device qos parameter of SDN controller transmission, the forwarding device QoS
Parameter is generated according in the first data packet using the corresponding application layer qos parameter of layer identification by the SDN controller.
32. such as the described in any item devices of claim 28 to 31, which is characterized in that described device further includes statistic unit and hair
Send unit;
The statistic unit, for generating the traffic statistics of the data flow;
The transmission unit, for the traffic statistics to be sent to SDN controller;
Receiving unit is also used to receive the forwarding device current QoS parameter that SDN controller issues, the forwarding device current QoS
Parameter is generated by the SDN controller according to the traffic statistics;
Described control unit is also used to work as when forwarding is comprising the data flow using layer identification using the forwarding device
Preceding qos parameter carries out service quality control to the data flow.
33. the service quality QoS control device of forwarding device in a kind of software defined network SDN, which is characterized in that described device
Include:
Acquiring unit, for obtaining the application layer feature of data flow;
Allocation unit, for distributing MPLS label group corresponding with the application layer feature for the data flow;
Indicating unit, the forwarding device for being used to indicate the forwarding data flow path is that the data packet that the data stream packets contain is added
The MPLS label group;
Generation unit, for generating forwarding device qos parameter corresponding with the MPLS label group;
Transmission unit, for the forwarding device qos parameter to be issued to forwarding device, in order to which the forwarding device is forwarding
When data packet includes the data flow of MPLS label group, QoS control is carried out according to the forwarding device qos parameter;
The transmission unit includes:
Flow table generates subelement, and for generating OpenFlow gauge table and OpenFlow flow table, the OpenFlow flow table is with institute
Stating MPLS label group is matching condition, and the behavior of the OpenFlow flow table is to forward the data flow or in terms of OpenFlow
The data rate specified in scale carries out flow control to data stream, and the data rate is corresponding with the forwarding device qos parameter;
Flow table issuance subelement, for the OpenFlow gauge table and the OpenFlow flow table to be issued to forwarding device.
34. device as claimed in claim 33, which is characterized in that the acquiring unit includes:
Data packet obtains subelement, for obtaining the first data packet of data flow;
Feature analysis subelement, for parsing the application layer feature of the first data packet.
35. device as claimed in claim 34, which is characterized in that
The feature analysis subelement, it is described using layer identification specifically for being obtained from the packet header domain of the first data packet;It obtains
Take application layer feature corresponding with the application layer identification.
36. the device as described in any one of claim 33 to 35 claim, which is characterized in that the generation unit includes:
Parameter obtains subelement, for obtaining the corresponding application layer qos parameter of the application layer identification;
Model obtains subelement, for obtaining qos parameter transformation model corresponding with the application layer identification;
Parameter generates subelement, sets for the application layer qos parameter to be converted to forwarding using the qos parameter transformation model
Standby qos parameter.
37. the device as described in any one of claim 33 to 35 claim, which is characterized in that described device further includes receiving
Unit and updating unit;
The receiving unit, the traffic statistics reported for receiving forwarding device;
The updating unit obtains current QoS ginseng for updating the qos parameter transformation model with the traffic statistics
Number transformation model;
The generation unit is also used for the current QoS Parameter Switch model and turns the application layer services mass parameter
It is changed to forwarding device current QoS parameter;
The transmission unit is also used to the forwarding device current QoS parameter being issued to forwarding device, in order to the forwarding
Equipment is when forwarding is comprising the data flow using layer identification, according to the forwarding device current QoS parameter to the data
Stream carries out QoS control.
38. the service quality QoS control device of forwarding device in a kind of software defined network SDN, which is characterized in that described device
Include:
Acquiring unit, for obtaining the MPLS label group of data flow, the application layer spy of the MPLS label group and the data flow
It levies corresponding;
Receiving unit, for receiving forwarding device qos parameter corresponding with the MPLS label group;
Control unit, for carrying out Service Quality to the data flow using the forwarding device qos parameter in transmitting data flow
Amount control;
The receiving unit, it is described specifically for receiving the OpenFlow gauge table and OpenFlow flow table that SDN controller is sent
For OpenFlow flow table using the MPLS label group as matching condition, the behavior of the OpenFlow flow table is the forwarding data
Stream carries out flow control, the data rate and the forwarding to data stream with the data rate specified in OpenFlow gauge table
Equipment qos parameter is corresponding;
Described control unit, specifically for the behavior according to the OpenFlow flow table forward the data flow or with
The data rate specified in OpenFlow gauge table carries out flow control to data stream.
39. device as claimed in claim 38, which is characterized in that
The acquiring unit, specifically for obtaining the MPLS label group from the data packet of the data flow.
40. device as claimed in claim 38, which is characterized in that the acquiring unit includes:
Data packet reports subelement, for the first data packet of the data flow to be sent to controller;
MPLS label group receiving subelement, for receiving the MPLS label group that controller is data flow distribution;
The receiving unit, the forwarding device qos parameter sent for receiving the SDN controller, the forwarding device QoS ginseng
Number is generated by the SDN controller according to the corresponding application layer qos parameter of the application layer feature.
41. device as claimed in claim 40, which is characterized in that the acquiring unit further include:
Label adding unit, for adding the MPLS label group for the data packet of the data flow.
42. such as the described in any item devices of claim 38 to 41, which is characterized in that described device further includes statistic unit and hair
Send unit;
The statistic unit, for generating the traffic statistics of the data flow;
The transmission unit, for the traffic statistics to be sent to SDN controller;
The receiving unit, is also used to receive the forwarding device current QoS parameter that SDN controller issues, and the forwarding device is worked as
Preceding qos parameter is generated by the SDN controller according to the traffic statistics;
Described control unit is also used to work as when forwarding is comprising the data flow using layer identification using the forwarding device
Preceding qos parameter carries out service quality control to the data flow.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410855498.XA CN105812278B (en) | 2014-12-31 | 2014-12-31 | Method for controlling quality of service and device in software defined network |
PCT/CN2015/097181 WO2016107393A1 (en) | 2014-12-31 | 2015-12-11 | Quality-of-service control method and apparatus in software-defined network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410855498.XA CN105812278B (en) | 2014-12-31 | 2014-12-31 | Method for controlling quality of service and device in software defined network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105812278A CN105812278A (en) | 2016-07-27 |
CN105812278B true CN105812278B (en) | 2019-06-18 |
Family
ID=56284205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410855498.XA Active CN105812278B (en) | 2014-12-31 | 2014-12-31 | Method for controlling quality of service and device in software defined network |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105812278B (en) |
WO (1) | WO2016107393A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107819596B (en) * | 2016-09-12 | 2022-07-29 | 中兴通讯股份有限公司 | SDN network fault diagnosis method, device and system |
CN106452958B (en) * | 2016-09-30 | 2020-04-07 | 中国联合网络通信集团有限公司 | Flow control method, system and centralized controller |
CN109150767A (en) * | 2017-06-16 | 2019-01-04 | 华为技术有限公司 | A kind of data packet sending method, device and equipment |
CN108377205A (en) * | 2018-02-22 | 2018-08-07 | 赛特斯信息科技股份有限公司 | Optimize the system and method for NFV data forwarding performances |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103346922A (en) * | 2013-07-26 | 2013-10-09 | 电子科技大学 | Controller for determining network state based on SDN (Software Defined Networking) and determination method thereof |
CN103379039A (en) * | 2012-04-23 | 2013-10-30 | 华为技术有限公司 | Method, device and system for flow statistics |
CN103685058A (en) * | 2012-09-11 | 2014-03-26 | 北京信息科技大学 | Method for controlling QoS (Quality of Service) of stream data, and OpenFlow controller |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7657634B2 (en) * | 2003-08-06 | 2010-02-02 | Nokia Corporation | Quality of service support at an interface between mobile and IP network |
CN103906074B (en) * | 2012-12-31 | 2018-01-12 | 华为技术有限公司 | Wireless software defines the method to be communicated in network and its device |
CN103916302B (en) * | 2013-01-04 | 2017-03-15 | 上海贝尔股份有限公司 | To the method and apparatus that virtual WLAN provides SDN flow paths |
KR102087226B1 (en) * | 2013-02-14 | 2020-03-10 | 삼성전자주식회사 | Method for sharing network based on software defined network to support multiple operator |
CN103475947B (en) * | 2013-09-13 | 2016-08-31 | 中国联合网络通信集团有限公司 | A kind of flow media distribution system based on software defined network and method |
CN104184663B (en) * | 2014-07-17 | 2018-02-06 | 北京交通大学 | Communication means and device based on software defined network and integrated identification network |
-
2014
- 2014-12-31 CN CN201410855498.XA patent/CN105812278B/en active Active
-
2015
- 2015-12-11 WO PCT/CN2015/097181 patent/WO2016107393A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103379039A (en) * | 2012-04-23 | 2013-10-30 | 华为技术有限公司 | Method, device and system for flow statistics |
CN103685058A (en) * | 2012-09-11 | 2014-03-26 | 北京信息科技大学 | Method for controlling QoS (Quality of Service) of stream data, and OpenFlow controller |
CN103346922A (en) * | 2013-07-26 | 2013-10-09 | 电子科技大学 | Controller for determining network state based on SDN (Software Defined Networking) and determination method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105812278A (en) | 2016-07-27 |
WO2016107393A1 (en) | 2016-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105264509B (en) | Adaptive interruption joint in converged network | |
CN105812278B (en) | Method for controlling quality of service and device in software defined network | |
CN104521198B (en) | For the system and method for Virtual Ethernet binding | |
CN104685827B (en) | For providing method, system and the computer-readable medium of strategy and charging rule functions (PCRF) with integrated openflow controllers | |
CN104301249B (en) | A kind of SDN flow table issuances method and apparatus | |
CN106452980B (en) | Time-based method for processing business and device | |
CN112600759B (en) | Multipath traffic scheduling method and system based on deep reinforcement learning under Overlay network | |
CN106549870B (en) | The method and relevant apparatus distributed the method for global label, obtain global label | |
CN106576345A (en) | Propagating communication awareness over a cellular network | |
CN105871745A (en) | Mixed-service-based dispatching method in SDN network | |
CN106846065A (en) | A kind of data processing method and device | |
CN109120525A (en) | For the determining method of path of SDN, device, SDN controller and network | |
CN105959354A (en) | Load scheduling method and load scheduling system of streaming media service | |
CN106412043B (en) | CDN network flow bootstrap technique and device | |
CN108241534A (en) | A kind of task processing, distribution, management, the method calculated and device | |
CN105847159A (en) | CDN topological structure generating method and system | |
CN106911588A (en) | Methods, devices and systems for realizing deep-packet detection optimization | |
CN103873361B (en) | Packet transmitting device and method | |
CN106713010B (en) | A kind of communication means and system of avionics network system | |
Bhattacharyya et al. | QFlow: A learning approach to high QoE video streaming at the wireless edge | |
CN110417687A (en) | A kind of message sends and receives method and device | |
CN100583817C (en) | Method of safetguard digital household network QoS | |
CN107249192A (en) | A kind of method for monitoring state and device of shared network section | |
CN109151895B (en) | Data transmission method, device, server and network center node | |
CN105744552B (en) | A kind of wireless network idle message processing unit and method |
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: 20220218 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Patentee after: Huawei Cloud Computing Technologies Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |