CN105812278A - Service quality control method and device in software defined network - Google Patents

Service quality control method and device in software defined network Download PDF

Info

Publication number
CN105812278A
CN105812278A CN201410855498.XA CN201410855498A CN105812278A CN 105812278 A CN105812278 A CN 105812278A CN 201410855498 A CN201410855498 A CN 201410855498A CN 105812278 A CN105812278 A CN 105812278A
Authority
CN
China
Prior art keywords
forwarding unit
data stream
qos parameter
application layer
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.)
Granted
Application number
CN201410855498.XA
Other languages
Chinese (zh)
Other versions
CN105812278B (en
Inventor
王楠楠
李琳
欧兆伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410855498.XA priority Critical patent/CN105812278B/en
Priority to PCT/CN2015/097181 priority patent/WO2016107393A1/en
Publication of CN105812278A publication Critical patent/CN105812278A/en
Application granted granted Critical
Publication of CN105812278B publication Critical patent/CN105812278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Abstract

The invention discloses a service quality control method and device in a software defined network. The method comprises the steps that an SDN controller acquires the application layer identifier of data flow; the SDN controller generates forwarding equipment QoS parameters applicable for forwarding equipment on a data flow forwarding path according to the application layer identifier; the SDN controller issue the forwarding equipment QoS parameters to the forwarding equipment; and when the forwarding equipment forwards data flow which contains the application layer identifier, QoS control is carried out on the data flow according to the forwarding equipment QoS parameters. According to the invention, the forwarding equipment can carry out QoS control on the data flow which contains the application layer identifier according to the forwarding equipment QoS parameters issued by the SDN controller, and the need of QoS control based on an application layer service is met in SDN.

Description

Method for controlling quality of service and device in software defined network
Technical field
The present invention relates to network communication field, particularly relate to method for controlling quality of service and device in software defined network.
Background technology
Software defined network (SoftwareDefinedNetwork is called for short SDN) is a kind of network being made up of SDN controller and forwarding unit, and wherein forwarding unit accesses SDN by SDN controller equiment.In SDN forwarding data flow process, SDN controller formulate forwarding data flow rule, forwarding unit complete the forwarding of data stream according to the forwarding data flow rule that SDN controller is formulated.
Forward data stream produced by multiple different application layer (ApplicationLayer) business owing to SDN typically requires simultaneously, therefore at data stream in repeating process it may happen that postpone or block.For guaranteeing that important service amount is not postponed or abandons, it is ensured that the Effec-tive Function of SDN, SDN needs that each data stream carries out service quality (QualityofService is called for short QoS) and controls.Owing to SDN is in the process of transmitting data flow, need the forward-path using multiple forwarding unit to form this data stream, and the forwarding of this data stream is completed by this forward-path, therefore when data stream is carried out QoS control by SDN, SDN controller needs the application layer business corresponding to data stream, is respectively provided with the QoS parameter of this data stream for each forwarding unit on this forward-path.
Existing legacy network is when carrying out QoS control based on application layer business, it is necessary to install application filters module (L7-filter) on forwarding unit;Utilize L7-filter to identify the host-host protocol that data stream adopts, and then data stream is carried out QoS control by this.But in SDN, SDN controller and forwarding unit are separated, forwarding data flow rule is generated by SDN controller, and the forwarding data flow rule that forwarding unit is used only for according to SDN controller generates completes forwarding data flow.It can thus be seen that the method carrying out QoS control based on application layer business in existing legacy network, it is impossible to meet the demand carrying out QoS control in SDN based on application layer business.
Summary of the invention
Embodiments provide method for controlling quality of service and device in software defined network, to meet the demand carrying out QoS control in SDN based on application layer business.
First aspect, embodiments provides the QoS control method of forwarding unit in a kind of SDN, and the method includes:
SDN controller obtains the application layer mark of data stream;SDN controller generates, according to application layer mark, the forwarding unit qos parameter that the forwarding unit on described forwarding data flow path is suitable for;Described forwarding unit qos parameter is issued to forwarding unit by SDN controller, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit qos parameter by described forwarding unit.
In conjunction with first aspect, in the first possible implementation of first aspect, described SDN controller obtains the application layer mark of data stream and includes: SDN controller receives the first packet of described data stream;SDN controller parses described application layer mark from the specific field of described first packet.
In conjunction with the first possible implementation of first aspect, in the implementation that first aspect the second is possible, described SDN controller parses described application layer mark from the specific field of described first packet and includes: SDN controller obtains described application layer mark from the territory, packet header of described first packet.
In conjunction with first aspect, in the third possible implementation of first aspect, described SDN controller obtains the application layer mark of data stream and includes: SDN controller receives described application layer mark, and described application layer mark is sent by described forwarding unit.
In conjunction with in the implementation that first aspect or first aspect the first to three kind are possible any one, in the 4th kind of possible implementation of first aspect, the forwarding unit service quality QoS parameter that described SDN controller is suitable for according to the forwarding unit on the described forwarding data flow path of application layer mark generation includes: SDN controller obtains the application layer qos parameter that described application layer mark is corresponding;SDN controller obtains the qos parameter transformation model corresponding with described application layer mark;SDN controller uses described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.
In conjunction with in the implementation that first aspect or first aspect first to fourth kind are possible any one, in the 5th kind of possible implementation of first aspect, described forwarding unit qos parameter is issued to forwarding unit and includes by described SDN controller: SDN controller generates OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or carry out flowing control to data stream with the data rate specified in OpenFlow gauge table, described data rate is corresponding with described forwarding unit qos parameter;Described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit by SDN controller.
In conjunction with in the implementation that first aspect or first aspect the first to five kind are possible any one, in the 6th kind of possible implementation of first aspect, described method also includes: SDN controller receives the traffic statistics that reports of forwarding unit;SDN controller uses described traffic statistics to update described qos parameter transformation model, obtains current QoS Parameters Transformation model;SDN controller uses described current QoS Parameters Transformation model that described application layer services mass parameter is converted to forwarding unit current QoS parameter;Described forwarding unit current QoS parameter is issued to forwarding unit by SDN controller, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit current QoS parameter by described forwarding unit.
Second aspect, embodiments provides the QoS control method of forwarding unit in a kind of SDN, and the method includes:
Forwarding unit receives the forwarding unit qos parameter that SDN controller issues, and described forwarding unit qos parameter is identified generation by controller according to the application layer of data stream;Forwarding unit, when forwarding the data stream comprising described application layer mark, uses described forwarding unit qos parameter that described data stream is carried out service quality control.
In conjunction with second aspect, in the first possible implementation of second aspect,
The forwarding unit qos parameter that described forwarding unit reception SDN controller issues includes: forwarding unit obtains data stream;Forwarding unit obtains described application layer mark from the specific field of described data stream head packet;Described application layer mark is reported to SDN controller by forwarding unit;Forwarding unit receives the forwarding unit qos parameter that SDN controller sends, and described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer mark is corresponding by described SDN controller.
In conjunction with the first possible implementation of second aspect, in the implementation that second aspect the second is possible,
Described forwarding unit obtains described application layer mark from the specific field of described data stream head packet and includes: described forwarding unit obtains described application layer mark from the territory, packet header of described first packet.
In conjunction with second aspect, in the third possible implementation of second aspect,
The forwarding unit qos parameter that described forwarding unit reception SDN controller issues includes: forwarding unit obtains data stream;The first packet of described data stream is reported to controller by forwarding unit;Forwarding unit receives the forwarding unit qos parameter that SDN controller sends, and described forwarding unit qos parameter is generated according to the application layer qos parameter that application layer mark in described first packet is corresponding by described SDN controller.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect,
Described forwarding unit receives the forwarding unit qos parameter of SDN controller transmission and includes: forwarding unit receives OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Described data stream is carried out service quality and controls to include by the described forwarding unit described forwarding unit qos parameter of use: forwarding unit forwards described data stream according to the behavior of described OpenFlow flow table or carries out flowing control to data stream with the data rate specified in OpenFlow gauge table.
In conjunction with any one in the implementation that two aspects or second aspect first to fourth kind are possible, in the 5th kind of possible implementation of second aspect,
Described method also includes: forwarding unit generates the traffic statistics of described data stream;Described traffic statistics is sent to SDN controller by forwarding unit;Forwarding unit receives the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;Forwarding unit, when forwarding the data stream comprising described application layer mark, uses described forwarding unit current QoS parameter that described data stream is carried out service quality control.
The third aspect, embodiments provides the QoS control method of forwarding unit in a kind of SDN, and the method includes:
SDN controller obtains the application layer feature of data stream;SDN controller is the MPLS label group that the distribution of described data stream is corresponding with described application layer feature;SDN controller indicate the forwarding unit in described forwarding data flow path be described data stream packets containing packet add described MPLS label group;SDN controller generates the forwarding unit qos parameter corresponding with described MPLS label group;Described forwarding unit qos parameter is issued to forwarding unit by SDN controller, in order to described forwarding unit, when the data stream forwarding packet to comprise MPLS label group, carries out QoS control according to described forwarding unit qos parameter.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described SDN controller obtains the application layer feature of data stream and includes: SDN controller obtains the first packet of data stream;SDN controller resolves the application layer feature of described first packet.
In conjunction with the first possible implementation of the third aspect, in the implementation that third aspect the second is possible, described SDN controller resolves the application layer feature of described first packet and includes: SDN controller obtains described application layer mark from the territory, packet header of described first packet;SDN controller obtains the application layer feature corresponding with described application layer mark.
In conjunction with in the implementation that the third aspect or the third aspect the first to two kind are possible any one, in the third possible implementation of the third aspect, described SDN controller generates the forwarding unit qos parameter corresponding with described MPLS label group and includes: SDN controller obtains the application layer qos parameter that described application layer feature is corresponding;SDN controller obtains the qos parameter transformation model corresponding with described application layer feature;SDN controller uses described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter, obtains the forwarding unit qos parameter that described MPLS label group is corresponding.
In conjunction with in the implementation that the third aspect or the third aspect the first to three kind are possible any one, in the 4th kind of possible implementation of the third aspect, described forwarding unit qos parameter is issued to forwarding unit and includes by described SDN controller: SDN controller generates OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table is with described MPLS label group for matching condition, the behavior of described OpenFlow flow table is to forward described data stream or carry out flowing control to data stream with the data rate specified in OpenFlow gauge table, described data rate is corresponding with described forwarding unit qos parameter;Described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit by SDN controller.
In conjunction with in the implementation that the third aspect or the third aspect first to fourth kind are possible any one, in the 5th kind of possible implementation of the third aspect, described method also includes: SDN controller receives the traffic statistics that reports of forwarding unit;SDN controller uses described traffic statistics to update described qos parameter transformation model, obtains current QoS Parameters Transformation model;SDN controller uses described current QoS Parameters Transformation model that described application layer qos parameter is converted to forwarding unit current QoS parameter;Described forwarding unit current QoS parameter is issued to forwarding unit by SDN controller, in order to described data stream, when forwarding the data stream comprising described MPLS label group, is carried out QoS control according to described forwarding unit current QoS parameter by described forwarding unit.
Fourth aspect, embodiments provides the QoS control method of forwarding unit in a kind of SDN, and the method includes:
Forwarding unit obtains the MPLS label group of data stream, and described MPLS label group is corresponding with the application layer feature of described data stream;Forwarding unit receives the forwarding unit qos parameter corresponding with described MPLS label group;Forwarding unit, when transmitting data flow, uses described forwarding unit qos parameter that described data stream is carried out service quality control.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described forwarding unit obtains MPLS label group and includes: forwarding unit obtains described MPLS label group from the packet of described data stream.
In conjunction with fourth aspect, in the implementation that fourth aspect the second is possible, described forwarding unit obtains MPLS label group and includes: the first packet of described data stream is sent to controller by forwarding unit;Forwarding unit receives the MPLS label group that controller is the distribution of described data stream;Described forwarding unit receives the forwarding unit qos parameter corresponding with described MPLS label group and includes: forwarding unit receives the forwarding unit qos parameter that described SDN controller sends, and described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer feature is corresponding by described SDN controller.
In conjunction with fourth aspect, in the third possible implementation of fourth aspect, described forwarding unit receives the forwarding unit qos parameter corresponding with described MPLS label group and includes: forwarding unit receives OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table is using described MPLS label group as matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Described data stream is carried out service quality and controls to include by the described forwarding unit described forwarding unit qos parameter of use: forwarding unit forwards described data stream according to the behavior of described OpenFlow flow table or carries out flowing control to data stream with the data rate specified in OpenFlow gauge table.
In conjunction with the first possible implementation of fourth aspect, in the third possible implementation of fourth aspect, described method also includes: the packet that forwarding unit is described data stream adds described MPLS label group.
In conjunction with in the implementation that fourth aspect or fourth aspect the first to three kind are possible any one, in the 4th kind of possible implementation of fourth aspect, forwarding unit generate described data stream traffic statistics;Described traffic statistics is sent to SDN controller by forwarding unit;Forwarding unit receives the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;Forwarding unit, when forwarding described data stream, uses described forwarding unit current QoS parameter that described data stream is carried out service quality control.
5th aspect, the QoS embodiments providing forwarding unit in a kind of SDN controls device, and this device includes:
Acquiring unit, obtains the application layer mark of data stream for SDN controller;Generate unit, for generating, according to application layer mark, the forwarding unit qos parameter that the forwarding unit on described forwarding data flow path is suitable for;Transmitting element, for being issued to forwarding unit by described forwarding unit qos parameter, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit qos parameter by described forwarding unit.
In conjunction with the 5th aspect, in the implementation that the first is possible in the 5th, described acquiring unit includes: receive subelement, for receiving the first packet of described data stream;Resolve subelement, for parsing described application layer mark from the specific field of described first packet.
In conjunction with the first possible implementation of the 5th aspect, in the implementation that the second is possible in the 5th, described parsing subelement, for obtaining described application layer mark from described first packet header territory.
In conjunction with the 5th aspect, in the implementation that the third is possible in the 5th, described acquiring unit, specifically for receiving described application layer mark, described application layer mark is sent by described forwarding unit.
In conjunction with in the implementation that the 5th aspect or the 5th aspect are the first to three kind possible any one, in the 5th in the 4th kind of possible implementation, described generation unit includes: parameter acquiring subelement, the application layer qos parameter corresponding for obtaining described application layer mark;Model obtains subelement, for obtaining the qos parameter transformation model corresponding with described application layer mark;Parameter generates subelement, is used for using described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.
In conjunction with in the implementation that the 5th aspect or the 5th aspect are first to fourth kind possible any one, in the 5th in the 5th kind of possible implementation, described transmitting element includes: stream table generates subelement, for generating OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Stream table issues subelement, for described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit.
In conjunction with in the implementation that the 5th aspect or the 5th aspect are the first to five kind possible any one, in the 5th in the 6th kind of possible implementation, described device also includes receiving unit and updating block;Described reception unit, for receiving the traffic statistics that forwarding unit reports;Described updating block, for updating described qos parameter transformation model with described traffic statistics, obtains current QoS Parameters Transformation model;Described generation unit, is also used for described current QoS Parameters Transformation model and described application layer services mass parameter is converted to forwarding unit current QoS parameter;Described transmitting element, it is additionally operable to described forwarding unit current QoS parameter is issued to forwarding unit, so that described forwarding unit is when forwarding the data stream comprising described application layer mark, according to described forwarding unit current QoS parameter, described data stream is carried out QoS control.
6th aspect, the QoS embodiments providing forwarding unit in a kind of SDN controls device, and this device includes:
Acquiring unit, for obtaining the forwarding unit qos parameter that SDN controller issues, described forwarding unit qos parameter is identified generation by controller according to the application layer of data stream;Control unit, for when forwarding the data stream comprising described application layer mark, using described forwarding unit qos parameter that described data stream is carried out service quality control.
In conjunction with the 6th aspect, in the implementation that the first is possible in the 6th, described acquiring unit includes: the first data stream obtains subelement, is used for obtaining data stream;Mark obtains subelement, for obtaining described application layer mark from the specific field of described data stream head packet;Mark reports subelement, for described application layer mark is reported to SDN controller;First parameter receives subelement, and for receiving the forwarding unit qos parameter that SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer mark is corresponding by described SDN controller.
In conjunction with the first possible implementation of the 6th aspect, in the implementation that the second is possible in the 6th, described mark obtains subelement, specifically for obtaining described application layer mark from the territory, packet header of described first packet.
In conjunction with the 6th aspect, in the implementation that the third is possible in the 6th, described acquiring unit includes: the second data stream obtains subelement, is used for obtaining data stream;Packet reports subelement, for the first packet of described data stream is reported to controller;Second parameter receives subelement, and for receiving the forwarding unit qos parameter that SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that application layer mark in described first packet is corresponding by described SDN controller.
In conjunction with the 6th aspect, in the 6th in the 4th kind of possible implementation, described acquiring unit, specifically for receiving OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Described control unit, specifically for forwarding described data stream according to the behavior of described OpenFlow flow table or carrying out flowing control to data stream with the data rate specified in OpenFlow gauge table.
In conjunction with any one in the implementation that the 6th aspect or the 6th aspect are first to fourth kind possible, in the 6th in the 5th kind of possible implementation, described device also includes statistic unit and transmitting element;Described statistic unit, for generating the traffic statistics of described data stream;Described transmitting element, for sending described traffic statistics to SDN controller;Described reception unit, is additionally operable to receive the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;Described control unit, is additionally operable to, when forwarding the data stream comprising described application layer mark, use described forwarding unit current QoS parameter that described data stream is carried out service quality control.
7th aspect, the QoS embodiments providing forwarding unit in a kind of SDN controls device, and this device includes:
Acquiring unit, for obtaining the application layer feature of data stream;Allocation units, for the MPLS label group corresponding with described application layer feature for the distribution of described data stream;Indicating member, the forwarding unit for indicating described forwarding data flow path be described data stream packets containing packet add described MPLS label group;Generate unit, for generating the forwarding unit qos parameter corresponding with described MPLS label group;Transmitting element, for being issued to forwarding unit by described forwarding unit qos parameter, in order to described forwarding unit, when the data stream forwarding packet to comprise MPLS label group, carries out QoS control according to described forwarding unit qos parameter.
In conjunction with the 7th aspect, in the implementation that the first is possible in the 7th, described acquiring unit includes: packet obtains subelement, for obtaining the first packet of data stream;Feature analysis subelement, for resolving the application layer feature of described first packet.
In conjunction with the first possible implementation of the 7th aspect, in the implementation that the second is possible in the 7th, described feature analysis subelement, specifically for obtaining described application layer mark from the territory, packet header of described first packet;Obtain the application layer feature corresponding with described application layer mark.
In conjunction with in the implementation that the 7th aspect or the 7th aspect are the first to two kind possible any one, in the implementation that the third is possible in the 7th, described generation unit includes: parameter acquiring subelement, the application layer qos parameter corresponding for obtaining described application layer mark;Model obtains subelement, for obtaining the qos parameter transformation model corresponding with described application layer mark;Parameter generates subelement, is used for using described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.
In conjunction with in the implementation that the 7th aspect or the 7th aspect are the first to three kind possible any one, in the 7th in the 4th kind of possible implementation, described transmitting element includes: stream table generates subelement, for generating OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table is with described MPLS label group for matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Stream table issues subelement, for described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit.
In conjunction with in the implementation that the 7th aspect or the 7th aspect are first to fourth kind possible any one, in the 7th in the 5th kind of possible implementation, described device also includes receiving unit and updating block;Described reception unit, for receiving the traffic statistics that forwarding unit reports;Described updating block, for updating described qos parameter transformation model with described traffic statistics, obtains current QoS Parameters Transformation model;Described generation unit, is also used for described current QoS Parameters Transformation model and described application layer services mass parameter is converted to forwarding unit current QoS parameter;Described transmitting element 1105, it is additionally operable to described forwarding unit current QoS parameter is issued to forwarding unit, so that described forwarding unit is when forwarding the data stream comprising described application layer mark, according to described forwarding unit current QoS parameter, described data stream is carried out QoS control.
Eighth aspect, the QoS embodiments providing forwarding unit in a kind of SDN controls device, and this device includes:
Described device includes: acquiring unit, and for obtaining the MPLS label group of data stream, described MPLS label group is corresponding with the application layer feature of described data stream;Receive unit, for receiving the forwarding unit qos parameter corresponding with described MPLS label group;Control unit, for when transmitting data flow, using described forwarding unit qos parameter that described data stream is carried out service quality control.
In conjunction with eighth aspect, in the first possible implementation of eighth aspect, described acquiring unit, specifically for obtaining described MPLS label group from the packet of described data stream.
In conjunction with eighth aspect, in the implementation that eighth aspect the second is possible, described acquiring unit includes: packet reports subelement, for sending the first packet of described data stream to controller;MPLS label group receives subelement, for receiving the MPLS label group that controller is the distribution of described data stream;Described reception unit, for receiving the forwarding unit qos parameter that described SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer feature is corresponding by described SDN controller.
In conjunction with eighth aspect, in the third possible implementation of eighth aspect, described reception unit, specifically for receiving OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table is using described MPLS label group as matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Described control unit, specifically for forwarding described data stream according to the behavior of described OpenFlow flow table or carrying out flowing control to data stream with the data rate specified in OpenFlow gauge table.
In conjunction with the first possible implementation of eighth aspect, in the third possible implementation of eighth aspect, described acquiring unit also includes: label adding device, adds described MPLS label group for the packet for described data stream.
In conjunction with in the implementation that eighth aspect or eighth aspect the first to three kind are possible any one, in the 4th kind of possible implementation of eighth aspect, described device also includes statistic unit and transmitting element;Described statistic unit, for generating the traffic statistics of described data stream;Described transmitting element, for sending described traffic statistics to SDN controller;Described reception unit, is additionally operable to receive the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;Described control unit, is additionally operable to, when forwarding the data stream comprising described application layer mark, use described forwarding unit current QoS parameter that described data stream is carried out service quality control.
In the embodiment of the present invention, SDN controller obtains the application layer mark of data stream;SDN controller generates, according to application layer mark, the forwarding unit qos parameter that the forwarding unit on described forwarding data flow path is suitable for;Described forwarding unit qos parameter is issued to forwarding unit by SDN controller, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit qos parameter by described forwarding unit.In embodiments of the present invention, SDN controller can according to the application layer mark carried in data stream, it is determined that the application layer qos parameter of data stream, then application layer qos parameter is converted to forwarding unit qos parameter and is issued to forwarding unit.The forwarding unit qos parameter that forwarding unit can issue according to SDN controller, carries out QoS control to the data stream of the application layer mark carried, thus meeting the demand carrying out QoS control in SDN based on application layer business.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, for those of ordinary skills, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of one embodiment of QoS control method of forwarding unit in SDN of the present invention;
Fig. 2 is the flow chart of another embodiment of QoS control method of forwarding unit in SDN of the present invention;
Fig. 3 is the flow chart of another embodiment of QoS control method of forwarding unit in SDN of the present invention;
Fig. 4 is the flow chart of another embodiment of QoS control method of forwarding unit in SDN of the present invention;
Fig. 5 is the flow chart of another embodiment of QoS control method of forwarding unit in SDN of the present invention;
Fig. 6 is the flow chart of another embodiment of QoS control method of forwarding unit in SDN of the present invention;
Fig. 7 is the flow chart of another embodiment of QoS control method of forwarding unit in SDN of the present invention;
Fig. 8 is the flow chart of another embodiment of QoS control method of forwarding unit in SDN of the present invention;
Fig. 9 is the structural representation of QoS control one embodiment of device of forwarding unit in SDN of the present invention;
Figure 10 is the structural representation of QoS control another embodiment of device of forwarding unit in SDN of the present invention;
Figure 11 is the structural representation of QoS control another embodiment of device of forwarding unit in SDN of the present invention;
Figure 12 is the structural representation of QoS control another embodiment of device of forwarding unit in SDN of the present invention;
Figure 13 is the structural representation of QoS control another embodiment of device of forwarding unit in SDN of the present invention;
Figure 14 is the structural representation of QoS control another embodiment of device of forwarding unit in SDN of the present invention;
Figure 15 is the structural representation of QoS control another embodiment of device of forwarding unit in SDN of the present invention;
Figure 16 is the structural representation of QoS control another embodiment of device of forwarding unit in SDN of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete description, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
In the embodiment of the present invention, the application layer feature of data stream includes but not limited to the application layer host-host protocol that described data stream adopts, the priority of described data stream, the combination of the feature such as described data stream correspondence user or feature.
In the embodiment of the present invention, the application layer of data stream is designated the mark of the application layer feature that can reflect data stream.This application layer mark can be formed by many sub-identifier combination, and wherein, each height mark can represent an application layer feature of this data stream.Such as, the protocol type of the application layer host-host protocol that application layer mark can be adopted by the described data stream of expression identifies and represents that the ID of described data stream correspondence user is formed by combining.
In the embodiment of the present invention, MPLS label group is corresponding with the application layer feature of data stream, it is possible to for reflecting the application layer feature of data stream.When forwarding data flow path comprises multiple forwarding unit, can being the different MPLS label of each forwarding unit distribution in conjunction with the loading condition of each forwarding unit for the application layer feature of data stream, the MPLS label of multiple forwarding units be combined into MPLS label group.
When using the embodiment of the present invention, it is possible to extension OpenFlow agreement so that the territory, packet header of packet is carried application layer mark, and makes SDN controller have the ability resolving application layer mark from the packet of data stream.
Referring to Fig. 1, for the flow chart of one embodiment of QoS control method of forwarding unit in SDN of the present invention.The present embodiment can be performed by the SDN controller in SDN.As it is shown in figure 1, the method comprises the steps:
Step 101, SDN controller obtains the application layer mark of data stream.
The mode of the application layer mark that SDN controller obtains data stream can have multiple.
It is likely in implementation in one, when the forwarding units such as virtual switch (vSwitch) receive the first packet of data stream, it is possible to use head packet is sent to SDN controller by OpenFlow agreement Packetin message.SDN controller is after the first packet obtaining described data stream, it is possible to obtain described application layer mark from the territory, packet header of described first packet.
In alternatively possible implementation, when the forwarding units such as virtual switch receive the first packet of data stream, it is possible to packet is replicated portion, and the packet of duplication is transmitted to DPI module.Application layer mark is returned to forwarding unit after parsing described application layer mark from described first packet by DPI module;The application layer mark received is sent to SDN controller by forwarding unit again.Wherein, DPI module can be embedded in virtual level (hypervisor).
Step 102, SDN controller generates, according to application layer mark, the forwarding unit qos parameter that the forwarding unit on described forwarding data flow path is suitable for.
Owing to data stream application layer qos parameter is corresponding with the application layer feature of data stream, therefore may determine that the application layer qos parameter of data stream according to application layer mark.When generating forwarding unit qos parameter, first SDN controller can obtain the application layer qos parameter that described application layer mark is corresponding;SDN controller obtains the qos parameter transformation model corresponding with described application layer mark;SDN controller uses described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.Described qos parameter transformation model can be pre-set by technical staff, it is also possible to being adopted machine learning algorithm to generate by SDN controller according to the forward-path of this data stream, wherein, described forward-path can be made up of multiple forwarding units.For example, it is possible on Differentiated Services (DiffServ) model basis, the performance in conjunction with data stream application layer feature and forwarding unit generates forwarding unit qos parameter.
Step 103, described forwarding unit qos parameter is issued to forwarding unit by SDN controller, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit qos parameter by described forwarding unit.
SDN controller is when issuing forwarding unit qos parameter to forwarding unit, it is possible to generate the OpenFlow gauge table corresponding with forwarding unit qos parameter and OpenFlow flow table;Then this OpenFlow gauge table and OpenFlow flow table are issued to forwarding unit.OpenFlow flow table can use application layer identify as matching condition, OpenFlow flow table behavior is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, thus realizing, according to described forwarding unit qos parameter, described data stream is carried out QoS control.
Forwarding unit is after receiving this OpenFlow flow table, according to OpenFlow flow table behavior corresponding with application layer mark in this OpenFlow flow table, data stream is forwarded and flows control etc., thus realizing, according to described forwarding unit qos parameter, described data stream is carried out QoS control.
Owing to, in the process of data stream transmitting, the load of each forwarding unit and the flow of data stream are it may happen that change, because SDN controller also needs to adjustment forwarding unit qos parameter real-time as required.Therefore, as in figure 2 it is shown, can also include after step 103:
Step 104, SDN controller receives the traffic statistics that forwarding unit reports.
Forwarding unit is when forwarding the data stream comprising described application layer mark, it is possible to the transfer rate of this data stream, stream control, forwarding performance etc. are carried out statistics and generates traffic statistics, then send traffic statistics to SDN controller.
Step 105, SDN controller uses described traffic statistics to update described qos parameter transformation model, obtains current QoS Parameters Transformation model.
After SDN controller obtains how described traffic statistics, gap between the flow reference data that calculated flow rate statistical data is corresponding with qos parameter, and according to this gap, qos parameter transformation model is adjusted, thus obtaining current QoS Parameters Transformation model.
Such as, gap between the flow reference data that multidimensional linear fit calculated flow rate statistical data is corresponding with qos parameter can be adopted, then this gap is added in qos parameter transformation model as the influence coefficient of flow adjustment, thus obtaining current QoS Parameters Transformation model.Or, it would however also be possible to employ other machines learning algorithm generates current QoS Parameters Transformation model.
Step 106, SDN controller uses described current QoS Parameters Transformation model that described application layer services mass parameter is converted to forwarding unit current QoS parameter.
After current QoS Parameters Transformation model generation, SDN controller can first obtain the application layer qos parameter that described application layer mark is corresponding;Then use described current QoS Parameters Transformation model that described application layer qos parameter is converted to forwarding unit current QoS parameter.
Step 107, described forwarding unit current QoS parameter is issued to forwarding unit by SDN controller, so that described forwarding unit is when forwarding the data stream comprising described application layer mark, according to described forwarding unit current QoS parameter, described data stream is carried out QoS control.
Forwarding unit current QoS parameter can also adopt OpenFlow flow sheet form to issue, wherein, the occurrence of OpenFlow flow table is still described application layer mark, and OpenFlow flow table behavior is to forward described data stream or carry out flowing control to data stream with the data rate that forwarding unit current QoS parameter is corresponding.Specifically, SDN controller is when issuing forwarding unit current QoS parameter to forwarding unit, it is possible to generate the OpenFlow gauge table corresponding with forwarding unit current QoS parameter and OpenFlow flow table;Then this OpenFlow gauge table and OpenFlow flow table are issued to forwarding unit.Application layer can be used in OpenFlow flow table to identify as matching condition, and OpenFlow flow table behavior is to forward described data stream or carry out flowing control to data stream with the data rate specified in OpenFlow gauge table.
From the above it can be seen that SDN controller can according to the application layer mark carried in data stream, it is determined that the application layer qos parameter of data stream, then application layer qos parameter be converted to forwarding unit qos parameter and be issued to forwarding unit.The forwarding unit qos parameter that forwarding unit can issue according to SDN controller, carries out QoS control to the data stream of the application layer mark carried, thus meeting the demand carrying out QoS control in SDN based on application layer business.
Referring to Fig. 3, for the flow chart of one embodiment of QoS control method of forwarding unit in SDN of the present invention.The present embodiment can be performed by the network equipment in SDN.As it is shown on figure 3, the method comprises the steps:
Step 301, forwarding unit obtains the forwarding unit qos parameter that SDN controller issues, and described forwarding unit qos parameter is identified generation by controller according to the application layer of data stream.
Forwarding unit can receive the forwarding unit qos parameter that SDN controller issues in advance before receiving data stream.The forwarding unit qos parameter that SDN controller issues can also be asked after receiving data stream.
In a kind of possible implementation, forwarding unit is after getting data stream, it is possible to obtain described application layer mark from the specific field of described data stream head packet, and described application layer mark is reported to SDN controller;Then the forwarding unit qos parameter that SDN controller sends is received.Wherein, described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer mark is corresponding by described SDN controller.
In alternatively possible implementation, forwarding unit is after getting data stream, it is possible to the first packet of described data stream is reported to controller;Then receiving the forwarding unit qos parameter that SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that application layer mark in described first packet is corresponding by described SDN controller.
Forwarding unit qos parameter can be OpenFlow gauge table and OpenFlow flow sheet form.The particular content of OpenFlow gauge table and OpenFlow flow table may refer to previous embodiment, just repeats no more at this.
Step 302, forwarding unit, when forwarding the data stream comprising described application layer mark, uses described forwarding unit qos parameter that described data stream is carried out service quality control.
After receiving forwarding unit qos parameter, it is possible to use described forwarding unit qos parameter that described data stream is carried out service quality control in forwarding data flow process.
Such as, forwarding unit is after the qos parameter receiving OpenFlow flow sheet form, according to data stream is forwarded by this OpenFlow flow table with the particular content of application layer OpenFlow flow table behavior corresponding to mark and OpenFlow gauge table and control can be flowed, thus described data stream is carried out QoS control according to described forwarding unit qos parameter by realization.
Owing to, in the process of data stream transmitting, the load of each forwarding unit and the flow of data stream are it may happen that change, because SDN controller also needs to adjustment forwarding unit qos parameter real-time as required.Therefore, as shown in Figure 4, can also include after step 302:
Step 303, forwarding unit generates the traffic statistics of described data stream.
Forwarding unit is when forwarding the data stream comprising described application layer mark, it is possible to the transfer rate of this data stream, stream control, forwarding performance etc. are carried out statistics and generates traffic statistics, then send traffic statistics to SDN controller.
Step 304, described traffic statistics is sent to SDN controller by forwarding unit.
Step 305, receives the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller.
SDN controller is after receiving described traffic statistics, it is possible to generate forwarding unit current QoS parameter according to described traffic statistics.Forwarding unit current QoS parameter can also be OpenFlow gauge table and OpenFlow flow sheet form.The particular content of OpenFlow gauge table and OpenFlow flow table may refer to previous embodiment, and concrete process just repeats no more at this.
Step 306, forwarding unit, when forwarding the data stream comprising described application layer mark, uses described forwarding unit current QoS parameter that described data stream is carried out service quality control.
After receiving forwarding unit current QoS parameter, it is possible to use described forwarding unit current QoS parameter that described data stream is carried out service quality control in forwarding data flow process.Use the concrete mode that described data stream is carried out service quality control by forwarding unit current QoS parameter to may refer to step 302, just no longer repeat at this.
From the above it can be seen that SDN controller can according to the application layer mark carried in data stream, it is determined that the application layer qos parameter of data stream, then application layer qos parameter be converted to forwarding unit qos parameter and be issued to forwarding unit.The forwarding unit qos parameter that forwarding unit can issue according to SDN controller, carries out QoS control to the data stream of the application layer mark carried, thus meeting the demand carrying out QoS control in SDN based on application layer business.
Referring to Fig. 5, for the flow chart of one embodiment of QoS control method of forwarding unit in SDN of the present invention.The present embodiment can be performed by the SDN controller in SDN.As it is shown in figure 5, the method comprises the steps:
Step 501, SDN controller obtains the application layer feature of data stream.
The mode of the application layer feature that SDN controller obtains data stream can have multiple.First SDN controller can obtain the application layer mark of data stream from the specific field of described data flow data bag, thus determine the application layer feature of data stream according to this application layer mark;SDN controller can also analyze the packet of described data stream, thus obtaining the application layer feature of described data stream.
Step 502, SDN controller is the MPLS label group that the distribution of described data stream is corresponding with described application layer feature.
SDN controller is the MPLS label group that the distribution of described data stream is corresponding with described application layer feature, to distinguish different data stream by MPLS label group.Wherein, described MPLS label group can be corresponding by one or more MPLS label.Such as, when forwarding data flow path comprises multiple forwarding unit, can being the different MPLS label of each forwarding unit distribution in conjunction with the loading condition of each forwarding unit for the application layer feature of data stream, the MPLS label of multiple forwarding units be combined into MPLS label group.
Step 503, SDN controller indicate the forwarding unit in described forwarding data flow path be described data stream packets containing packet add described MPLS label group.
After the MPLS label group of data stream is determined, SDN controller may indicate that the packet that the first forwarding unit in described forwarding data flow path is described adds described MPLS label group.
Step 504, SDN controller generates the forwarding unit qos parameter corresponding with described MPLS label group.
Owing to MPLS label group is corresponding with the application layer feature of data stream, therefore MPLS label group can also identify as application layer the application layer feature of response data stream.When generating forwarding unit qos parameter, first SDN controller can obtain the application layer qos parameter that described MPLS label is corresponding;SDN controller obtains the qos parameter transformation model corresponding with described application layer feature;SDN controller uses described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.Wherein, described qos parameter transformation model can have technical staff to pre-set.
Step 505, described forwarding unit qos parameter is issued to forwarding unit by SDN controller, in order to described forwarding unit, when the data stream forwarding packet to comprise MPLS label group, carries out QoS control according to described forwarding unit qos parameter.
SDN controller is when issuing forwarding unit qos parameter to forwarding unit, it is possible to generate the OpenFlow gauge table corresponding with forwarding unit qos parameter and OpenFlow flow table;Then this OpenFlow gauge table and OpenFlow flow table are issued to forwarding unit;Using described MPLS label group as matching condition in OpenFlow flow table, OpenFlow flow table behavior is to forward described data stream or carry out flowing control to data stream with the data rate specified in OpenFlow gauge table.Then this OpenFlow gauge table and OpenFlow flow table are issued to forwarding unit.Forwarding unit is after receiving this OpenFlow gauge table and OpenFlow flow table, can according to OpenFlow flow table behavior corresponding with described MPLS label group in this OpenFlow flow table, data stream is forwarded or with the data rate specified in OpenFlow gauge table, data stream is carried out stream control, thus realizing, according to described forwarding unit qos parameter, described data stream is carried out QoS control.
Owing to, in the process of data stream transmitting, the load of each forwarding unit and the flow of data stream are it may happen that change, because SDN controller also needs to adjustment forwarding unit qos parameter real-time as required.Therefore, as shown in Figure 6, can also include after step 505:
Step 506, SDN controller receives the traffic statistics that forwarding unit reports.
Forwarding unit is when forwarding the data stream comprising described application layer feature, it is possible to the transfer rate of this data stream, stream control, forwarding performance etc. are carried out statistics and generates traffic statistics, then send traffic statistics to SDN controller.
Step 507, SDN controller uses described traffic statistics to update described qos parameter transformation model, obtains current QoS Parameters Transformation model.
After SDN controller gets described traffic statistics, gap between the flow reference data that calculated flow rate statistical data is corresponding with qos parameter, and according to this gap, qos parameter transformation model is adjusted, thus obtaining current QoS Parameters Transformation model.Such as, gap between the flow reference data that multidimensional linear fit calculated flow rate statistical data is corresponding with qos parameter can be adopted, then this gap is added in qos parameter transformation model as the influence coefficient of flow adjustment, thus obtaining current QoS Parameters Transformation model.Or, it would however also be possible to employ other machines learning algorithm generates current QoS Parameters Transformation model.
Step 508, SDN controller uses described current QoS Parameters Transformation model that described application layer qos parameter is converted to forwarding unit current QoS parameter.
After current QoS Parameters Transformation model generation, SDN controller can first obtain the application layer qos parameter that described application layer feature is corresponding;Then use described current QoS Parameters Transformation model that described application layer qos parameter is converted to forwarding unit current QoS parameter.
Step 509, described forwarding unit current QoS parameter is issued to forwarding unit by SDN controller, so that described forwarding unit is when forwarding the data stream comprising described MPLS label group, according to described forwarding unit current QoS parameter, described data stream is carried out QoS control.
Forwarding unit current QoS parameter can also adopt OpenFlow gauge table and OpenFlow flow sheet form to issue, wherein, the occurrence of OpenFlow flow table is still described MPLS label group, and OpenFlow flow table behavior is to forward described data stream or carry out flowing control to data stream with the data rate specified in OpenFlow gauge table.Concrete mode may refer to step 505, just repeats no more at this.
From the above it can be seen that SDN controller according to the application layer feature of data stream, can distribute MPLS label group for data stream, and be converted to forwarding unit qos parameter and be issued to forwarding unit by the application layer qos parameter of data stream.So that the forwarding unit qos parameter that the equipment of sending out can issue according to SDN controller, the described data stream comprising described MPLS label group is carried out QoS control, thus meeting the demand carrying out QoS control in SDN based on application layer business.
Referring to Fig. 7, for the flow chart of one embodiment of QoS control method of forwarding unit in SDN of the present invention.The present embodiment can be performed by the forwarding unit in SDN.As it is shown in fig. 7, the method comprises the steps:
Step 701, forwarding unit obtains the MPLS label group of data stream, and described MPLS label group is corresponding with the application layer feature of described data stream.
Owing to source device is when sending data stream, it is possible to do not stamp MPLS label group to the packet of data stream.When receiving the data stream not comprising MPLS label, the first packet of described data stream can be sent to controller by forwarding unit;Then the MPLS label group that controller is the distribution of described data stream is received.If forwarding unit receives the data stream not comprising MPLS label, after receiving described MPLS label group, the packet that forwarding unit can be described data stream adds described MPLS label group, in order to data stream is processed by follow-up forwarding unit.When receiving the data stream comprising MPLS label, forwarding unit obtains described MPLS label group from the packet of described data stream.
Step 702, forwarding unit obtains the forwarding unit qos parameter corresponding with described MPLS label group.
Forwarding unit, after getting described MPLS label group, obtains the forwarding unit qos parameter corresponding with described MPLS label group.Described forwarding unit qos parameter can also be OpenFlow gauge table and OpenFlow flow sheet form equally.Using described MPLS label group as matching condition in OpenFlow flow table, OpenFlow flow table behavior is to forward described data stream or carry out flowing control to data stream with the data rate specified in OpenFlow gauge table.This OpenFlow gauge table and OpenFlow flow table can be handed down to forwarding unit in advance by SDN controller, it is also possible to be handed down to forwarding unit by after the MPLS label group that SDN controller is the distribution of described data stream.
Step 703, forwarding unit, when transmitting data flow, uses described forwarding unit qos parameter that described data stream is carried out service quality control.
Forwarding unit is when transmitting data flow, it is possible to use described data stream is carried out service quality control by the forwarding unit qos parameter that SDN controller issues.Such as, forwarding unit is after receiving this OpenFlow gauge table and OpenFlow flow table, can according to OpenFlow flow table behavior corresponding with described MPLS label group in this OpenFlow flow table, data stream is forwarded or with the data rate specified in OpenFlow gauge table, data stream is carried out stream control, thus realizing, according to described forwarding unit qos parameter, described data stream is carried out QoS control.
Owing to, in the process of data stream transmitting, the load of each forwarding unit and the flow of data stream are it may happen that change, because SDN controller also needs to adjustment forwarding unit qos parameter real-time as required.Therefore, as shown in Figure 8, can also include after step 703:
Step 704, forwarding unit generates the traffic statistics of described data stream.
Forwarding unit is when forwarding described data stream, it is possible to the transfer rate of this data stream, stream control, forwarding performance etc. are carried out statistics and generates traffic statistics, then send traffic statistics to SDN controller.
Step 705, described traffic statistics is sent to SDN controller by forwarding unit.
Step 706, forwarding unit receives the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller.
SDN controller is after receiving described traffic statistics, it is possible to generate forwarding unit current QoS parameter according to described traffic statistics, and described forwarding unit current QoS parameter is issued to forwarding unit.Forwarding unit current QoS parameter can also adopt OpenFlow gauge table and OpenFlow flow sheet form to issue, wherein, the occurrence of OpenFlow flow table is still described MPLS label group, and OpenFlow flow table behavior is to forward described data stream or carry out flowing control to data stream with the data rate specified in OpenFlow gauge table.The generation process of forwarding unit current QoS parameter may refer to previous embodiment, just repeats no more at this.
Step 707, forwarding unit, when forwarding described data stream, uses described forwarding unit current QoS parameter that described data stream is carried out service quality control.
After receiving forwarding unit current QoS parameter, it is possible to use described forwarding unit current QoS parameter that described data stream is carried out service quality control in forwarding data flow process.Use the concrete mode that described data stream is carried out service quality control by forwarding unit current QoS parameter to may refer to step 703, just no longer repeat at this.
From the above it can be seen that SDN controller according to the application layer feature of data stream, can distribute MPLS label group for data stream, and be converted to forwarding unit qos parameter and be issued to forwarding unit by the application layer qos parameter of data stream.So that the forwarding unit qos parameter that forwarding unit can issue according to SDN controller, the described data stream comprising described MPLS label group is carried out QoS control, thus meeting the demand carrying out QoS control in SDN based on application layer business.
Corresponding with the service quality QoS control method of forwarding unit of the present invention, present invention also offers the service quality QoS of forwarding unit and control device.
Referring to Fig. 9, control the structural representation of one embodiment of device for QoS of the present invention.This QoS controls device and can be arranged on SDN controller.
As it is shown in figure 9, this device includes: acquiring unit 901, generation unit 902 and transmitting element 903.
Wherein, acquiring unit 901, the application layer mark of data stream is obtained for SDN controller;Generate unit 902, for generating, according to application layer mark, the forwarding unit qos parameter that the forwarding unit on described forwarding data flow path is suitable for;Transmitting element 903, for being issued to forwarding unit by described forwarding unit qos parameter, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit qos parameter by described forwarding unit.
Optionally, described acquiring unit 901 includes: receive subelement, for receiving the first packet of described data stream;Resolve subelement, for parsing described application layer mark from the specific field of described first packet.
Optionally, described parsing subelement, for obtaining described application layer mark from described first packet header territory.
Optionally, described acquiring unit 901, specifically for receiving described application layer mark, described application layer mark is sent by described forwarding unit.
Optionally, described generation unit 902 includes: parameter acquiring subelement, the application layer qos parameter corresponding for obtaining described application layer mark;Model obtains subelement, for obtaining the qos parameter transformation model corresponding with described application layer mark;Parameter generates subelement, is used for using described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.
Optionally, described transmitting element 903 includes: stream table generates subelement, for generating OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Stream table issues subelement, for described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit.
Optionally, described device also includes receiving unit and updating block;Described reception unit, for receiving the traffic statistics that forwarding unit reports;Described updating block, for updating described qos parameter transformation model with described traffic statistics, obtains current QoS Parameters Transformation model;Described generation unit 902, is also used for described current QoS Parameters Transformation model and described application layer services mass parameter is converted to forwarding unit current QoS parameter;Described transmitting element 903, it is additionally operable to described forwarding unit current QoS parameter is issued to forwarding unit, so that described forwarding unit is when forwarding the data stream comprising described application layer mark, according to described forwarding unit current QoS parameter, described data stream is carried out QoS control.
Referring to Figure 10, control the structural representation of one embodiment of device for QoS of the present invention.This QoS controls device and can be arranged on forwarding unit.
As shown in Figure 10, this device includes: acquiring unit 1001 and control unit 1002.
Wherein, described acquiring unit 1001, for obtaining the forwarding unit qos parameter that SDN controller issues, described forwarding unit qos parameter is identified generation by controller according to the application layer of data stream;Control unit 1002, for when forwarding the data stream comprising described application layer mark, using described forwarding unit qos parameter that described data stream is carried out service quality control.
Optionally, described acquiring unit 1001 includes: the first data stream obtains subelement, is used for obtaining data stream;Mark obtains subelement, for obtaining described application layer mark from the specific field of described data stream head packet;Mark reports subelement, for described application layer mark is reported to SDN controller;First parameter receives subelement, and for receiving the forwarding unit qos parameter that SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer mark is corresponding by described SDN controller.
Optionally, described mark obtains subelement, specifically for obtaining described application layer mark from the territory, packet header of described first packet.
Optionally, described acquiring unit 1001 includes: the second data stream obtains subelement, is used for obtaining data stream;Packet reports subelement, for the first packet of described data stream is reported to controller;Second parameter receives subelement, and for receiving the forwarding unit qos parameter that SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that application layer mark in described first packet is corresponding by described SDN controller.
Optionally, described acquiring unit 1001, specifically for receiving OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Described control unit 1002, specifically for forwarding described data stream according to the behavior of described OpenFlow flow table or carrying out flowing control to data stream with the data rate specified in OpenFlow gauge table.
Optionally, described device also includes statistic unit and transmitting element;Described statistic unit, for generating the traffic statistics of described data stream;Described transmitting element, for sending described traffic statistics to SDN controller;Described reception unit, is additionally operable to receive the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;Described control unit 1002, is additionally operable to, when forwarding the data stream comprising described application layer mark, use described forwarding unit current QoS parameter that described data stream is carried out service quality control.
Referring to Figure 11, control the structural representation of one embodiment of device for QoS of the present invention.This QoS controls device and can be arranged on SDN controller.
As shown in figure 11, this device includes: acquiring unit 1101, allocation units 1102, indicating member 1103, generation unit 1104 and transmitting element 1105.
Wherein, acquiring unit 1101, for obtaining the application layer feature of data stream;Allocation units 1102, for the MPLS label group corresponding with described application layer feature for the distribution of described data stream;Indicating member 1103, the forwarding unit for indicating described forwarding data flow path be described data stream packets containing packet add described MPLS label group;Generate unit 1104, for generating the forwarding unit qos parameter corresponding with described MPLS label group;Transmitting element 1105, for being issued to forwarding unit by described forwarding unit qos parameter, in order to described forwarding unit, when the data stream forwarding packet to comprise MPLS label group, carries out QoS control according to described forwarding unit qos parameter.
Optionally, described acquiring unit 1101 includes: packet obtains subelement, for obtaining the first packet of data stream;Feature analysis subelement, for resolving the application layer feature of described first packet.
Optionally, described feature analysis subelement, specifically for obtaining described application layer mark from the territory, packet header of described first packet;Obtain the application layer feature corresponding with described application layer mark.
Optionally, described generation unit 1104 includes: parameter acquiring subelement, the application layer qos parameter corresponding for obtaining described application layer mark;Model obtains subelement, for obtaining the qos parameter transformation model corresponding with described application layer mark;Parameter generates subelement, is used for using described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.
Optionally, described transmitting element 1105 includes: stream table generates subelement, for generating OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table is with described MPLS label group for matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Stream table issues subelement, for described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit.
Optionally, described device also includes receiving unit and updating block;Described reception unit, for receiving the traffic statistics that forwarding unit reports;Described updating block, for updating described qos parameter transformation model with described traffic statistics, obtains current QoS Parameters Transformation model;Described generation unit, is also used for described current QoS Parameters Transformation model and described application layer services mass parameter is converted to forwarding unit current QoS parameter;Described transmitting element 1105, it is additionally operable to described forwarding unit current QoS parameter is issued to forwarding unit, so that described forwarding unit is when forwarding the data stream comprising described application layer mark, according to described forwarding unit current QoS parameter, described data stream is carried out QoS control.
Referring to Figure 12, control the structural representation of one embodiment of device for QoS of the present invention.This QoS controls device and can be arranged on forwarding unit.
As shown in figure 12, this device may include that acquiring unit 1201, receives unit 1202 and control unit 1203.
Wherein, acquiring unit 1201, for obtaining the MPLS label group of data stream, described MPLS label group is corresponding with the application layer feature of described data stream;Receive unit 1202, for receiving the forwarding unit qos parameter corresponding with described MPLS label group;Control unit 1203, for when transmitting data flow, using described forwarding unit qos parameter that described data stream is carried out service quality control.
Optionally, described acquiring unit 1201, specifically for obtaining described MPLS label group from the packet of described data stream.
Optionally, described acquiring unit 1201 includes: packet reports subelement, for sending the first packet of described data stream to controller;MPLS label group receives subelement, for receiving the MPLS label group that controller is the distribution of described data stream;Described reception unit 1202, for receiving the forwarding unit qos parameter that described SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer feature is corresponding by described SDN controller.
Optionally, described reception unit 1202, specifically for receiving OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table is using described MPLS label group as matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;Described control unit 1203, specifically for forwarding described data stream according to the behavior of described OpenFlow flow table or carrying out flowing control to data stream with the data rate specified in OpenFlow gauge table.
Optionally, described acquiring unit 1201 also includes: label adding device, adds described MPLS label group for the packet for described data stream.
Optionally, described device also includes statistic unit and transmitting element;Described statistic unit, for generating the traffic statistics of described data stream;Described transmitting element, for sending described traffic statistics to SDN controller;Described reception unit 1202, is additionally operable to receive the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;Described control unit 1203, is additionally operable to, when forwarding the data stream comprising described application layer mark, use described forwarding unit current QoS parameter that described data stream is carried out service quality control.
As shown in figure 13, the structural representation of one embodiment of device is controlled for QoS of the present invention.This QoS controls device and can be arranged on SDN controller.
As shown in figure 13, this device may include that processor 1301, memorizer 1302 and transceiver 1303.Interconnect between processor 1301, memorizer 1302 and transceiver 1303.Such as, described processor 1301, memorizer 1302 transceiver 1303 can pass through bus 1304 and connect.
Wherein, memorizer 1302 is used for storing computer executed instructions.Specifically, program can include program code, and described program code includes computer executed instructions.Memorizer 1302 is likely to comprise random access memory (randomaccessmemory is called for short RAM), it is also possible to also include nonvolatile memory (non-volatilememory), for instance at least one disk memory 1302.
Described processor 1301 is for obtaining the application layer mark of data stream;The forwarding unit qos parameter that the forwarding unit on described forwarding data flow path is suitable for is generated according to application layer mark;By transceiver 1303, described forwarding unit qos parameter is issued to forwarding unit, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit qos parameter by described forwarding unit.
As shown in figure 14, the structural representation of one embodiment of device is controlled for QoS of the present invention.This QoS controls device and can be arranged on forwarding unit.
As shown in figure 14, this device may include that processor 1401, memorizer 1402 and transceiver 1403.Interconnect between processor 1401, memorizer 1402 and transceiver 1403.Such as, described processor 1401, memorizer 1402 transceiver 1403 can pass through bus 1404 and connect.
Wherein, memorizer 1402 is used for storing computer executed instructions.Specifically, program can include program code, and described program code includes computer executed instructions.Memorizer 1402 is likely to comprise random access memory (randomaccessmemory is called for short RAM), it is also possible to also include nonvolatile memory (non-volatilememory), for instance at least one disk memory 1402.
Described transceiver 1403 is for receiving the forwarding unit qos parameter that SDN controller issues, and described forwarding unit qos parameter is identified generation by controller according to the application layer of data stream.Described processor 1401 is for when forwarding the data stream comprising described application layer mark, using described forwarding unit qos parameter that described data stream is carried out service quality control.
As shown in figure 15, the structural representation of one embodiment of device is controlled for QoS of the present invention.This QoS controls device and can be arranged on SDN controller.
As shown in figure 15, this device may include that processor 1501, memorizer 1502 and transceiver 1503.Interconnect between processor 1501, memorizer 1502 and transceiver 1503.Such as, described processor 1501, memorizer 1502 transceiver 1503 can pass through bus 1504 and connect.
Wherein, memorizer 1502 is used for storing computer executed instructions.Specifically, program can include program code, and described program code includes computer executed instructions.Memorizer 1502 is likely to comprise random access memory (randomaccessmemory is called for short RAM), it is also possible to also include nonvolatile memory (non-volatilememory), for instance at least one disk memory 1502.
Described processor 1501, for obtaining the application layer feature of data stream;For the MPLS label group that the distribution of described data stream is corresponding with described application layer feature;Indicate the forwarding unit in described forwarding data flow path be described data stream packets containing packet add described MPLS label group;Generate the forwarding unit qos parameter corresponding with described MPLS label group;By described transceiver 1503, described forwarding unit qos parameter is issued to forwarding unit, in order to described forwarding unit, when the data stream forwarding packet to comprise MPLS label group, carries out QoS control according to described forwarding unit qos parameter.
As shown in figure 16, the structural representation of one embodiment of device is controlled for QoS of the present invention.This QoS controls device and can be arranged on forwarding unit.
As shown in figure 16, this device may include that processor 1601, memorizer 1602 and transceiver 1603.Interconnect between processor 1601, memorizer 1602 and transceiver 1603.Such as, described processor 1601, memorizer 1602 transceiver 1603 can pass through bus 1604 and connect.
Wherein, memorizer 1602 is used for storing computer executed instructions.Specifically, program can include program code, and described program code includes computer executed instructions.Memorizer 1602 is likely to comprise random access memory (randomaccessmemory is called for short RAM), it is also possible to also include nonvolatile memory (non-volatilememory), for instance at least one disk memory 1602.
Described processor 1601 is for obtaining the MPLS label group of data stream, and described MPLS label group is corresponding with the application layer feature of described data stream;Described transceiver 1603 is for receiving the forwarding unit qos parameter corresponding with described MPLS label group;Described processor 1601 is additionally operable to when transmitting data flow, uses described forwarding unit qos parameter that described data stream is carried out service quality control.
Those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to the technology in the embodiment of the present invention and realize.Based on such understanding, the part that prior art is contributed by technical scheme in the embodiment of the present invention substantially in other words can embody with the form of software product, this computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or forwarding unit etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is the difference with other embodiments.Especially for entity apparatus embodiment, owing to it is substantially similar to embodiment of the method, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Invention described above embodiment, is not intended that limiting the scope of the present invention.Any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.

Claims (50)

1. the service quality QoS control method of forwarding unit in a software defined network SDN, it is characterised in that described method includes:
SDN controller obtains the application layer mark of data stream;
SDN controller generates, according to application layer mark, the forwarding unit qos parameter that the forwarding unit on described forwarding data flow path is suitable for;
Described forwarding unit qos parameter is issued to forwarding unit by SDN controller, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit qos parameter by described forwarding unit.
2. the method for claim 1, it is characterised in that described SDN controller obtains the application layer mark of data stream and includes:
SDN controller receives the first packet of described data stream;
SDN controller parses described application layer mark from the specific field of described first packet.
3. method as claimed in claim 2, it is characterised in that described SDN controller parses described application layer mark from the specific field of described first packet and includes:
SDN controller obtains described application layer mark from the territory, packet header of described first packet.
4. the method for claim 1, it is characterised in that described SDN controller obtains the application layer mark of data stream and includes:
SDN controller receives described application layer mark, and described application layer mark is sent by described forwarding unit.
5. the method as described in any one of Claims 1-4, it is characterised in that the forwarding unit service quality QoS parameter that described SDN controller is suitable for according to the forwarding unit on the described forwarding data flow path of application layer mark generation includes:
SDN controller obtains the application layer qos parameter that described application layer mark is corresponding;
SDN controller obtains the qos parameter transformation model corresponding with described application layer mark;
SDN controller uses described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.
6. the method as described in any one of claim 1 to 5, it is characterised in that described forwarding unit qos parameter is issued to forwarding unit and includes by described SDN controller:
SDN controller generates OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;
Described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit by SDN controller.
7. the method as described in any one of claim 1 to 6, it is characterised in that described method also includes:
SDN controller receives the traffic statistics that forwarding unit reports;
SDN controller uses described traffic statistics to update described qos parameter transformation model, obtains current QoS Parameters Transformation model;
SDN controller uses described current QoS Parameters Transformation model that described application layer services mass parameter is converted to forwarding unit current QoS parameter;
Described forwarding unit current QoS parameter is issued to forwarding unit by SDN controller, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit current QoS parameter by described forwarding unit.
8. the service quality QoS control method of forwarding unit in a software defined network SDN, it is characterised in that described method includes:
Forwarding unit receives the forwarding unit qos parameter that SDN controller issues, and described forwarding unit qos parameter is identified generation by controller according to the application layer of data stream;
Forwarding unit, when forwarding the data stream comprising described application layer mark, uses described forwarding unit qos parameter that described data stream is carried out service quality control.
9. method as claimed in claim 8, it is characterised in that the forwarding unit qos parameter that described forwarding unit reception SDN controller issues includes:
Forwarding unit obtains data stream;
Forwarding unit obtains described application layer mark from the specific field of described data stream head packet;
Described application layer mark is reported to SDN controller by forwarding unit;
Forwarding unit receives the forwarding unit qos parameter that SDN controller sends, and described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer mark is corresponding by described SDN controller.
10. method as claimed in claim 9, it is characterised in that described forwarding unit obtains described application layer mark from the specific field of described data stream head packet and includes:
Described forwarding unit obtains described application layer mark from the territory, packet header of described first packet.
11. method as claimed in claim 8, it is characterised in that the forwarding unit qos parameter that described forwarding unit reception SDN controller issues includes:
Forwarding unit obtains data stream;
The first packet of described data stream is reported to controller by forwarding unit;
Forwarding unit receives the forwarding unit qos parameter that SDN controller sends, and described forwarding unit qos parameter is generated according to the application layer qos parameter that application layer mark in described first packet is corresponding by described SDN controller.
12. method as claimed in claim 8, it is characterised in that
Described forwarding unit receives the forwarding unit qos parameter of SDN controller transmission and includes:
Forwarding unit receives OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;
Described data stream is carried out service quality and controls to include by the described forwarding unit described forwarding unit qos parameter of use:
Forwarding unit forwards described data stream according to the behavior of described OpenFlow flow table or carries out flowing control to data stream with the data rate specified in OpenFlow gauge table.
13. the method as described in any one of claim 8 to 12, it is characterised in that described method also includes:
Forwarding unit generates the traffic statistics of described data stream;
Described traffic statistics is sent to SDN controller by forwarding unit;
Forwarding unit receives the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;
Forwarding unit, when forwarding the data stream comprising described application layer mark, uses described forwarding unit current QoS parameter that described data stream is carried out service quality control.
14. service quality QoS control method in a software defined network SDN, it is characterised in that described method includes:
SDN controller obtains the application layer feature of data stream;
SDN controller is the MPLS label group that the distribution of described data stream is corresponding with described application layer feature;
SDN controller indicate the forwarding unit in described forwarding data flow path be described data stream packets containing packet add described MPLS label group;
SDN controller generates the forwarding unit qos parameter corresponding with described MPLS label group;
Described forwarding unit qos parameter is issued to forwarding unit by SDN controller, in order to described forwarding unit, when the data stream forwarding packet to comprise MPLS label group, carries out QoS control according to described forwarding unit qos parameter.
15. method as claimed in claim 14, it is characterised in that described SDN controller obtains the application layer feature of data stream and includes:
SDN controller obtains the first packet of data stream;
SDN controller resolves the application layer feature of described first packet.
16. method as claimed in claim 15, it is characterised in that described SDN controller resolves the application layer feature of described first packet and includes:
SDN controller obtains described application layer mark from the territory, packet header of described first packet;
SDN controller obtains the application layer feature corresponding with described application layer mark.
17. the method as described in any one of claim 14 to 16, it is characterised in that described SDN controller generates the forwarding unit qos parameter corresponding with described MPLS label group and includes:
SDN controller obtains the application layer qos parameter that described application layer feature is corresponding;
SDN controller obtains the qos parameter transformation model corresponding with described application layer feature;
SDN controller uses described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter, obtains the forwarding unit qos parameter that described MPLS label group is corresponding.
18. the method as described in any one of claim 14 to 17, it is characterised in that described forwarding unit qos parameter is issued to forwarding unit and includes by described SDN controller:
SDN controller generates OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table is with described MPLS label group for matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;
Described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit by SDN controller.
19. the method as described in any one of claim 14 to 18, it is characterised in that described method also includes:
SDN controller receives the traffic statistics that forwarding unit reports;
SDN controller uses described traffic statistics to update described qos parameter transformation model, obtains current QoS Parameters Transformation model;
SDN controller uses described current QoS Parameters Transformation model that described application layer qos parameter is converted to forwarding unit current QoS parameter;
Described forwarding unit current QoS parameter is issued to forwarding unit by SDN controller, in order to described data stream, when forwarding the data stream comprising described MPLS label group, is carried out QoS control according to described forwarding unit current QoS parameter by described forwarding unit.
20. the service quality QoS control method of forwarding unit in a software defined network SDN, it is characterised in that described method includes:
Forwarding unit obtains the MPLS label group of data stream, and described MPLS label group is corresponding with the application layer feature of described data stream;
Forwarding unit receives the forwarding unit qos parameter corresponding with described MPLS label group;
Forwarding unit, when transmitting data flow, uses described forwarding unit qos parameter that described data stream is carried out service quality control.
21. method as claimed in claim 20, it is characterised in that described forwarding unit obtains MPLS label group and includes:
Forwarding unit obtains described MPLS label group from the packet of described data stream.
22. method as claimed in claim 20, it is characterised in that
Described forwarding unit obtains MPLS label group and includes:
The first packet of described data stream is sent to controller by forwarding unit;
Forwarding unit receives the MPLS label group that controller is the distribution of described data stream;
Described forwarding unit receives the forwarding unit qos parameter corresponding with described MPLS label group and includes:
Forwarding unit receives the forwarding unit qos parameter that described SDN controller sends, and described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer feature is corresponding by described SDN controller.
23. method as claimed in claim 20, it is characterised in that described forwarding unit receives the forwarding unit qos parameter corresponding with described MPLS label group and includes:
Forwarding unit receives OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table is using described MPLS label group as matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;
Described data stream is carried out service quality and controls to include by the described forwarding unit described forwarding unit qos parameter of use:
Forwarding unit forwards described data stream according to the behavior of described OpenFlow flow table or carries out flowing control to data stream with the data rate specified in OpenFlow gauge table.
24. method as claimed in claim 22, it is characterised in that described method also includes:
The packet that forwarding unit is described data stream adds described MPLS label group.
25. the method as described in any one of claim 20 to 24, it is characterised in that described method also includes:
Forwarding unit generates the traffic statistics of described data stream;
Described traffic statistics is sent to SDN controller by forwarding unit;
Forwarding unit receives the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;
Forwarding unit, when forwarding described data stream, uses described forwarding unit current QoS parameter that described data stream is carried out service quality control.
26. in a software defined network SDN, the service quality QoS of forwarding unit controls device, it is characterised in that described device includes:
Acquiring unit, obtains the application layer mark of data stream for SDN controller;
Generate unit, for generating, according to application layer mark, the forwarding unit qos parameter that the forwarding unit on described forwarding data flow path is suitable for;
Transmitting element, for being issued to forwarding unit by described forwarding unit qos parameter, in order to described data stream, when forwarding the data stream comprising described application layer mark, is carried out QoS control according to described forwarding unit qos parameter by described forwarding unit.
27. device as claimed in claim 26, it is characterised in that described acquiring unit includes:
Receive subelement, for receiving the first packet of described data stream;
Resolve subelement, for parsing described application layer mark from the specific field of described first packet.
28. device as claimed in claim 27, it is characterised in that
Described parsing subelement, for obtaining described application layer mark from described first packet header territory.
29. device as claimed in claim 26, it is characterised in that
Described acquiring unit, specifically for receiving described application layer mark, described application layer mark is sent by described forwarding unit.
30. the device as described in any one of claim 26 to 29, it is characterised in that described generation unit includes:
Parameter acquiring subelement, the application layer qos parameter corresponding for obtaining described application layer mark;
Model obtains subelement, for obtaining the qos parameter transformation model corresponding with described application layer mark;
Parameter generates subelement, is used for using described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.
31. the device as described in any one of claim 26 to 30, it is characterised in that described transmitting element includes:
Stream table generates subelement, for generating OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;
Stream table issues subelement, for described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit.
32. the device as described in any one of claim 26 to claim 31, it is characterised in that described device also includes receiving unit and updating block;
Described reception unit, for receiving the traffic statistics that forwarding unit reports;
Described updating block, for updating described qos parameter transformation model with described traffic statistics, obtains current QoS Parameters Transformation model;
Described generation unit, is also used for described current QoS Parameters Transformation model and described application layer services mass parameter is converted to forwarding unit current QoS parameter;
Described transmitting element, it is additionally operable to described forwarding unit current QoS parameter is issued to forwarding unit, so that described forwarding unit is when forwarding the data stream comprising described application layer mark, according to described forwarding unit current QoS parameter, described data stream is carried out QoS control.
33. in a software defined network SDN, the service quality QoS of forwarding unit controls device, it is characterised in that described device includes:
Acquiring unit, for obtaining the forwarding unit qos parameter that SDN controller issues, described forwarding unit qos parameter is identified generation by controller according to the application layer of data stream;
Control unit, for when forwarding the data stream comprising described application layer mark, using described forwarding unit qos parameter that described data stream is carried out service quality control.
34. device as claimed in claim 33, it is characterised in that described acquiring unit includes:
First data stream obtains subelement, is used for obtaining data stream;
Mark obtains subelement, for obtaining described application layer mark from the specific field of described data stream head packet;
Mark reports subelement, for described application layer mark is reported to SDN controller;
First parameter receives subelement, and for receiving the forwarding unit qos parameter that SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer mark is corresponding by described SDN controller.
35. device as claimed in claim 34, it is characterised in that
Described mark obtains subelement, specifically for obtaining described application layer mark from the territory, packet header of described first packet.
36. device as claimed in claim 33, it is characterised in that described acquiring unit includes:
Second data stream obtains subelement, is used for obtaining data stream;
Packet reports subelement, for the first packet of described data stream is reported to controller;
Second parameter receives subelement, and for receiving the forwarding unit qos parameter that SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that application layer mark in described first packet is corresponding by described SDN controller.
37. device as claimed in claim 33, it is characterised in that
Described acquiring unit, specifically for receiving OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table identifies as matching condition using described application layer, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;
Described control unit, specifically for forwarding described data stream according to the behavior of described OpenFlow flow table or carrying out flowing control to data stream with the data rate specified in OpenFlow gauge table.
38. the device as described in any one of claim 33 to 37, it is characterised in that described device also includes statistic unit and transmitting element;
Described statistic unit, for generating the traffic statistics of described data stream;
Described transmitting element, for sending described traffic statistics to SDN controller;
Described reception unit, is additionally operable to receive the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;
Described control unit, is additionally operable to, when forwarding the data stream comprising described application layer mark, use described forwarding unit current QoS parameter that described data stream is carried out service quality control.
39. in a software defined network SDN, the service quality QoS of forwarding unit controls device, it is characterised in that described device includes:
Acquiring unit, for obtaining the application layer feature of data stream;
Allocation units, for the MPLS label group corresponding with described application layer feature for the distribution of described data stream;
Indicating member, the forwarding unit for indicating described forwarding data flow path be described data stream packets containing packet add described MPLS label group;
Generate unit, for generating the forwarding unit qos parameter corresponding with described MPLS label group;
Transmitting element, for being issued to forwarding unit by described forwarding unit qos parameter, in order to described forwarding unit, when the data stream forwarding packet to comprise MPLS label group, carries out QoS control according to described forwarding unit qos parameter.
40. device as claimed in claim 39, it is characterised in that described acquiring unit includes:
Packet obtains subelement, for obtaining the first packet of data stream;
Feature analysis subelement, for resolving the application layer feature of described first packet.
41. device as claimed in claim 40, it is characterised in that
Described feature analysis subelement, specifically for obtaining described application layer mark from the territory, packet header of described first packet;Obtain the application layer feature corresponding with described application layer mark.
42. the device as described in claim 39 to 41 any one claim, it is characterised in that described generation unit includes:
Parameter acquiring subelement, the application layer qos parameter corresponding for obtaining described application layer mark;
Model obtains subelement, for obtaining the qos parameter transformation model corresponding with described application layer mark;
Parameter generates subelement, is used for using described qos parameter transformation model that described application layer qos parameter is converted to forwarding unit qos parameter.
43. the device as described in claim 39 to 42 any one claim, it is characterised in that described transmitting element includes:
Stream table generates subelement, for generating OpenFlow gauge table and OpenFlow flow table, described OpenFlow flow table is with described MPLS label group for matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;
Stream table issues subelement, for described OpenFlow gauge table and described OpenFlow flow table are issued to forwarding unit.
44. the device as described in claim 39 to 43 any one claim, it is characterised in that described device also includes receiving unit and updating block;
Described reception unit, for receiving the traffic statistics that forwarding unit reports;
Described updating block, for updating described qos parameter transformation model with described traffic statistics, obtains current QoS Parameters Transformation model;
Described generation unit, is also used for described current QoS Parameters Transformation model and described application layer services mass parameter is converted to forwarding unit current QoS parameter;
Described transmitting element, it is additionally operable to described forwarding unit current QoS parameter is issued to forwarding unit, so that described forwarding unit is when forwarding the data stream comprising described application layer mark, according to described forwarding unit current QoS parameter, described data stream is carried out QoS control.
45. in a software defined network SDN, the service quality QoS of forwarding unit controls device, it is characterised in that described device includes:
Acquiring unit, for obtaining the MPLS label group of data stream, described MPLS label group is corresponding with the application layer feature of described data stream;
Receive unit, for receiving the forwarding unit qos parameter corresponding with described MPLS label group;
Control unit, for when transmitting data flow, using described forwarding unit qos parameter that described data stream is carried out service quality control.
46. device as claimed in claim 45, it is characterised in that
Described acquiring unit, specifically for obtaining described MPLS label group from the packet of described data stream.
47. device as claimed in claim 45, it is characterised in that described acquiring unit includes:
Packet reports subelement, for sending the first packet of described data stream to controller;
MPLS label group receives subelement, for receiving the MPLS label group that controller is the distribution of described data stream;
Described reception unit, for receiving the forwarding unit qos parameter that described SDN controller sends, described forwarding unit qos parameter is generated according to the application layer qos parameter that described application layer feature is corresponding by described SDN controller.
48. device as claimed in claim 45, it is characterised in that
Described reception unit, specifically for receiving OpenFlow gauge table and the OpenFlow flow table that SDN controller sends, described OpenFlow flow table is using described MPLS label group as matching condition, the behavior of described OpenFlow flow table is to forward described data stream or with the data rate specified in OpenFlow gauge table, data stream carried out stream control, and described data rate is corresponding with described forwarding unit qos parameter;
Described control unit, specifically for forwarding described data stream according to the behavior of described OpenFlow flow table or carrying out flowing control to data stream with the data rate specified in OpenFlow gauge table.
49. device as claimed in claim 47, it is characterised in that described acquiring unit also includes:
Label adding device, adds described MPLS label group for the packet for described data stream.
50. the device as described in any one of claim 45 to 49, it is characterised in that described device also includes statistic unit and transmitting element;
Described statistic unit, for generating the traffic statistics of described data stream;
Described transmitting element, for sending described traffic statistics to SDN controller;
Described reception unit, is additionally operable to receive the forwarding unit current QoS parameter that SDN controller issues, and described forwarding unit current QoS parameter is generated according to described traffic statistics by described SDN controller;
Described control unit, is additionally operable to, when forwarding the data stream comprising described application layer mark, use described forwarding unit current QoS parameter that described data stream is carried out service quality control.
CN201410855498.XA 2014-12-31 2014-12-31 Method for controlling quality of service and device in software defined network Active CN105812278B (en)

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 true CN105812278A (en) 2016-07-27
CN105812278B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452958A (en) * 2016-09-30 2017-02-22 中国联合网络通信集团有限公司 Flow control method and system, and centralized controller
CN107819596A (en) * 2016-09-12 2018-03-20 南京中兴软件有限责任公司 Diagnostic method, the apparatus and system of SDN failure
CN108377205A (en) * 2018-02-22 2018-08-07 赛特斯信息科技股份有限公司 Optimize the system and method for NFV data forwarding performances
CN109150767A (en) * 2017-06-16 2019-01-04 华为技术有限公司 A kind of data packet sending method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1860458A (en) * 2003-08-06 2006-11-08 诺基亚有限公司 Quality of service support at an interface between mobile and IP network
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
CN103906074A (en) * 2012-12-31 2014-07-02 华为技术有限公司 Method and device for conducting communication in wireless SDN
US20140226467A1 (en) * 2013-02-14 2014-08-14 Samsung Electronics Co., Ltd. Sdn-based network sharing method and apparatus for supporting multiple operators

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916302B (en) * 2013-01-04 2017-03-15 上海贝尔股份有限公司 To the method and apparatus that virtual WLAN provides SDN flow paths
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1860458A (en) * 2003-08-06 2006-11-08 诺基亚有限公司 Quality of service support at an interface between mobile and IP network
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
CN103906074A (en) * 2012-12-31 2014-07-02 华为技术有限公司 Method and device for conducting communication in wireless SDN
US20140226467A1 (en) * 2013-02-14 2014-08-14 Samsung Electronics Co., Ltd. Sdn-based network sharing method and apparatus for supporting multiple operators
CN103346922A (en) * 2013-07-26 2013-10-09 电子科技大学 Controller for determining network state based on SDN (Software Defined Networking) and determination method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819596A (en) * 2016-09-12 2018-03-20 南京中兴软件有限责任公司 Diagnostic method, the apparatus and system of SDN failure
CN107819596B (en) * 2016-09-12 2022-07-29 中兴通讯股份有限公司 SDN network fault diagnosis method, device and system
CN106452958A (en) * 2016-09-30 2017-02-22 中国联合网络通信集团有限公司 Flow control method and system, and centralized controller
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

Also Published As

Publication number Publication date
CN105812278B (en) 2019-06-18
WO2016107393A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
CN103229468B (en) Packet-switched resources distribution method and equipment
CN105227341A (en) For the system and method by content center network management devices
CN103618679A (en) Service quality control method, device and system
CN104301249B (en) A kind of SDN flow table issuances method and apparatus
WO2015106618A1 (en) Resource scheduling method and apparatus
CN106549870B (en) The method and relevant apparatus distributed the method for global label, obtain global label
KR101460048B1 (en) Method and apparatus for control of dynamic service chaining by using tagging
CN103269315B (en) Label distribution method, device, System and Network equipment
US10819583B2 (en) Network device management method and apparatus
CN105791151B (en) A kind of dynamic flow control method and device
CN105812278A (en) Service quality control method and device in software defined network
CN105791169A (en) Switch transmission control method, switch transmitting method and related equipment in SDN (Software Defined Network)
CN109474449A (en) A kind of method and device of processing network slice example
CN108965204A (en) A kind of method and device of automatic realization IOAM encapsulation
CN107566292B (en) Message forwarding method and device
CN111835579B (en) Method and system for testing effectiveness of network traffic scheduling simulation
CN104348743A (en) Whole-network load balancing method and device
CN106161053A (en) A kind of SDN controller QoS manages system and method
CN101631089A (en) Flow calculating method, flow calculating device and flow calculating system based on private network VPN
CN108513703A (en) network performance detection method and device
CN104734994A (en) Traffic label control method based on SDN (software-defined network) frame
CN104601488A (en) Flow control method and device in SDN (software defined network)
CN108063653A (en) A kind of delay control method, apparatus and system
CN112995036B (en) Network traffic scheduling method and device
CN104869064A (en) Flow table updating method and device

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 Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.