WO2016107393A1 - Procédé et appareil de commande de qualité de service dans un réseau défini par logiciel - Google Patents

Procédé et appareil de commande de qualité de service dans un réseau défini par logiciel Download PDF

Info

Publication number
WO2016107393A1
WO2016107393A1 PCT/CN2015/097181 CN2015097181W WO2016107393A1 WO 2016107393 A1 WO2016107393 A1 WO 2016107393A1 CN 2015097181 W CN2015097181 W CN 2015097181W WO 2016107393 A1 WO2016107393 A1 WO 2016107393A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding device
application layer
qos parameter
data stream
sdn controller
Prior art date
Application number
PCT/CN2015/097181
Other languages
English (en)
Chinese (zh)
Inventor
王楠楠
李琳
欧兆伟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2016107393A1 publication Critical patent/WO2016107393A1/fr

Links

Images

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

Definitions

  • the present invention relates to the field of network communications, and in particular, to a method and apparatus for controlling quality of service in a software-defined network.
  • a Software Defined Network is a network composed of an SDN controller and a forwarding device.
  • the forwarding device accesses the SDN through the SDN controller device.
  • the data stream forwarding rule is formulated by the SDN controller, and the forwarding device completes the data stream forwarding according to the data flow forwarding rule formulated by the SDN controller.
  • SDN Since SDN usually needs to forward data streams generated by multiple different Application Layer services at the same time, delays or blocking may occur during the forwarding of data streams. To ensure that important traffic is not delayed or discarded, and to ensure efficient operation of SDN, SDN needs to perform Quality of Service (QoS) control on each data stream.
  • QoS Quality of Service
  • the SDN needs to use multiple forwarding devices to form a forwarding path of the data stream, and the forwarding path completes the forwarding of the data stream. Therefore, when the SDN performs QoS control on the data stream, the SDN controller
  • the service quality parameter of the data flow is set separately for each forwarding device on the forwarding path according to the application layer service corresponding to the data flow.
  • the application layer filtering module (L7-filter) needs to be installed on the forwarding device; the transmission protocol used by the data stream is identified by using the L7-filter, and then the paired data stream is performed.
  • QoS control In the existing traditional network, when the QoS control is performed based on the application layer service, the application layer filtering module (L7-filter) needs to be installed on the forwarding device; the transmission protocol used by the data stream is identified by using the L7-filter, and then the paired data stream is performed. QoS control.
  • the SDN controller is separated from the forwarding device, and the data flow forwarding rule is generated by the SDN controller, and the forwarding device is only used to complete the data flow forwarding according to the data flow forwarding rule generated by the SDN controller. It can be seen that the QoS control method based on the application layer service in the existing traditional network cannot meet the requirement of QoS control based on the application layer service in the SDN.
  • the embodiments of the present invention provide a service quality control method and apparatus in a software-defined network to meet the requirements of QoS control based on application layer services in an SDN.
  • an embodiment of the present invention provides a QoS control method for a forwarding device in an SDN, where the method includes:
  • the SDN controller acquires an application layer identifier of the data stream; the SDN controller generates, according to the application layer identifier, a forwarding device QoS parameter applicable to the forwarding device on the data flow forwarding path; and the SDN controller uses the forwarding device QoS parameter The number is sent to the forwarding device, so that the forwarding device performs QoS control on the data flow according to the forwarding device QoS parameter when forwarding the data flow including the application layer identifier.
  • the acquiring, by the SDN controller, the application layer identifier of the data stream includes: receiving, by the SDN controller, the first data packet of the data stream; The application layer identifier is parsed in a specified field of the first data packet.
  • the SDN controller parses the application layer identifier from the specified field of the first data packet, including: SDN The controller obtains the application layer identifier from a header field of the first data packet.
  • the acquiring, by the SDN controller, the application layer identifier of the data stream includes: the SDN controller receiving the application layer identifier, where the application layer identifier is The forwarding device sends.
  • the SDN controller generates the data flow forwarding according to the application layer identifier
  • the forwarding device quality of service QoS parameter applicable to the forwarding device on the path includes: the SDN controller acquires an application layer QoS parameter corresponding to the application layer identifier; and the SDN controller acquires a QoS parameter conversion model corresponding to the application layer identifier; The controller converts the application layer QoS parameters into forwarding device QoS parameters using the QoS parameter translation model.
  • the SDN controller sends the forwarding device QoS parameter to
  • the forwarding device includes: an SDN controller generates an OpenFlow meter and an OpenFlow flow table, where the OpenFlow flow table uses the application layer identifier as a matching condition, and the behavior of the OpenFlow flow table is to forward the data stream or in an OpenFlow meter.
  • the specified data rate is used to stream the data stream, and the data rate corresponds to the forwarding device QoS parameter; the SDN controller sends the OpenFlow meter and the OpenFlow flow table to the forwarding device.
  • the method further includes: the SDN controller receiving the traffic reported by the forwarding device Statistical data; the SDN controller uses the traffic statistics to update the QoS parameter conversion model to obtain a current QoS parameter conversion model; the SDN controller uses the current QoS parameter conversion model to convert the application layer quality of service parameters into a forwarding device a current QoS parameter; the SDN controller sends the current QoS parameter of the forwarding device to the forwarding device, so that when the forwarding device forwards the data flow including the application layer identifier, according to the current QoS parameter of the forwarding device The data stream is QoS controlled.
  • an embodiment of the present invention provides a QoS control method for a forwarding device in an SDN, where the method includes:
  • the forwarding device receives the forwarding device QoS parameter delivered by the SDN controller, where the forwarding device QoS parameter is generated by the controller according to the application layer identifier of the data stream; and when the forwarding device forwards the data stream including the application layer identifier, the forwarding device uses the The forwarding device QoS parameter performs quality of service control on the data stream.
  • the forwarding device receives the forwarding device QoS parameter sent by the SDN controller, where the forwarding device acquires the data stream, and the forwarding device acquires the application layer identifier from a specified field of the data stream first data packet; the forwarding device uses the application The layer identifier is reported to the SDN controller; the forwarding device receives the forwarding device QoS parameter sent by the SDN controller, and the forwarding device QoS parameter is generated by the SDN controller according to the application layer QoS parameter corresponding to the application layer identifier.
  • the obtaining, by the forwarding device, the application layer identifier from the specified field of the first data packet includes: the forwarding device acquiring the application layer identifier from a header field of the first data packet.
  • the forwarding device receives the forwarding device QoS parameters sent by the SDN controller, including: the forwarding device acquires the data stream; the forwarding device reports the first data packet of the data stream to the controller; and the forwarding device receives the forwarding device QoS sent by the SDN controller
  • the parameter, the forwarding device QoS parameter is generated by the SDN controller according to an application layer QoS parameter corresponding to the application layer identifier in the first data packet.
  • the forwarding device receives, by the forwarding device, the forwarding device QoS parameter sent by the SDN controller, the forwarding device receiving the OpenFlow meter and the OpenFlow flow table sent by the SDN controller, where the OpenFlow flow table uses the application layer identifier as a matching condition, the OpenFlow
  • the behavior of the flow table is to forward the data stream or flow control the data stream at a data rate specified in an OpenFlow meter, the data rate corresponding to the forwarding device QoS parameter; the forwarding device uses the forwarding device
  • the QoS parameter performs quality of service control on the data stream, including: the forwarding device forwards the data stream according to the behavior of the OpenFlow flow table or streams the data stream according to a data rate specified in the OpenFlow meter.
  • the method further includes: the forwarding device generates the traffic statistics of the data flow; the forwarding device sends the traffic statistics to the SDN controller; the forwarding device receives the current QoS parameters of the forwarding device delivered by the SDN controller, and the forwarding The current QoS parameter of the device is generated by the SDN controller according to the traffic statistics data; when forwarding the data flow that includes the application layer identifier, the forwarding device performs service quality control on the data flow by using the current QoS parameter of the forwarding device. .
  • an embodiment of the present invention provides a QoS control method for a forwarding device in an SDN, where the method includes:
  • the SDN controller acquires an application layer feature of the data stream; the SDN controller allocates an MPLS label group corresponding to the application layer feature to the data stream; and the SDN controller indicates that the forwarding device of the data stream forwarding path is the data stream Adding the MPLS label group to the included data packet; the SDN controller generates a forwarding device QoS parameter corresponding to the MPLS label group; the SDN controller sends the forwarding device QoS parameter to the forwarding device, so as to facilitate the forwarding device When the forwarding data packet includes the data flow of the MPLS label group, the QoS control is performed according to the forwarding device QoS parameter.
  • the acquiring, by the SDN controller, the application layer feature of the data stream includes: the SDN controller acquiring the first data packet of the data stream; and the SDN controller parsing the first packet The application layer characteristics of the packet.
  • the SDN controller parsing the application layer feature of the first data packet includes: the SDN controller from the first data Obtaining the application layer identifier in a packet header field of the packet; the SDN controller acquires an application layer feature corresponding to the application layer identifier.
  • the SDN controller generates a forwarding corresponding to the MPLS label group
  • the QoS parameter of the device includes: the SDN controller acquires an application layer QoS parameter corresponding to the application layer feature; the SDN controller acquires a QoS parameter conversion model corresponding to the application layer feature; and the SDN controller uses the QoS parameter conversion model to The application layer QoS parameter is converted into a forwarding device QoS parameter, and the forwarding device QoS parameter corresponding to the MPLS label group is obtained.
  • the SDN controller sends the forwarding device QoS parameter to
  • the forwarding device includes: an SDN controller generates an OpenFlow meter and an OpenFlow flow table, where the OpenFlow flow table uses the MPLS label group as a matching condition, and the behavior of the OpenFlow flow table is to forward the data stream or in an OpenFlow meter.
  • the specified data rate is used to stream the data stream, and the data rate corresponds to the forwarding device QoS parameter; the SDN controller sends the OpenFlow meter and the OpenFlow flow table to the forwarding device.
  • the method further includes: the SDN controller receives the traffic statistics reported by the forwarding device; the SDN controller updates the QoS parameter conversion model by using the traffic statistics, to obtain a current QoS parameter conversion model; The controller uses the current QoS parameter conversion model to convert the application layer QoS parameter into a forwarding device current QoS parameter; the SDN controller sends the current QoS parameter of the forwarding device to the forwarding device, so that the forwarding device is forwarding When the data stream of the MPLS label group is included, the data stream is QoS controlled according to the current QoS parameter of the forwarding device.
  • an embodiment of the present invention provides a QoS control method for a forwarding device in an SDN, where the method includes:
  • the forwarding device acquires an MPLS label group of the data stream, where the MPLS label group corresponds to an application layer feature of the data stream; the forwarding device receives a forwarding device QoS parameter corresponding to the MPLS label group; and the forwarding device forwards the data stream And performing quality of service control on the data stream by using the forwarding device QoS parameter.
  • the obtaining, by the forwarding device, the MPLS label group includes: the forwarding device acquiring the MPLS label group from the data packet of the data stream.
  • the forwarding device that obtains the MPLS label group includes: the forwarding device sends the first data packet of the data stream to the controller; and the forwarding device receives the controller
  • the forwarding device receiving the forwarding device QoS parameter corresponding to the MPLS label group includes: the forwarding device receiving the forwarding device QoS parameter sent by the SDN controller, and the forwarding device QoS parameter And generated by the SDN controller according to the application layer QoS parameter corresponding to the application layer feature.
  • the forwarding device that receives the forwarding device QoS parameter corresponding to the MPLS label group includes: the forwarding device receives an OpenFlow meter sent by the SDN controller, and the OpenFlow a flow table, where the OpenFlow flow table uses the MPLS label group as a matching condition, and the action of the OpenFlow flow table is to forward the data flow or flow control a data flow at a data rate specified in an OpenFlow meter, The data rate is corresponding to the forwarding device QoS parameter; the forwarding device performing the quality of service control on the data flow by using the forwarding device QoS parameter includes: the forwarding device forwarding the data flow according to the behavior of the OpenFlow flow table or The data stream is streamed at the data rate specified in the OpenFlow meter.
  • the method further includes: the forwarding device adding the MPLS label group to the data packet of the data stream.
  • the forwarding device generates the traffic statistics data of the data flow;
  • the traffic statistics are sent to the SDN controller;
  • the forwarding device receives the current QoS parameters of the forwarding device delivered by the SDN controller,
  • the current QoS parameter of the forwarding device is generated by the SDN controller according to the traffic statistics data; when forwarding the data flow, the forwarding device performs quality of service control on the data flow by using the current QoS parameter of the forwarding device.
  • an embodiment of the present invention provides a QoS control apparatus for a forwarding device in an SDN, where the apparatus includes:
  • An acquiring unit configured to acquire an application layer identifier of the data stream by the SDN controller, and a generating unit, configured to generate, according to the application layer identifier, a forwarding device QoS parameter applicable to the forwarding device on the data flow forwarding path, and a sending unit, configured to:
  • the forwarding device QoS parameter is sent to the forwarding device, so that the forwarding device performs QoS control on the data flow according to the forwarding device QoS parameter when forwarding the data flow including the application layer identifier.
  • the acquiring unit includes: a receiving subunit, configured to receive a first data packet of the data stream; and a parsing subunit, configured to use the first The application layer identifier is parsed in a specified field of the data packet.
  • the parsing subunit is configured to obtain the application layer identifier from the first data packet header field.
  • the acquiring unit is configured to receive the application layer identifier, where the application layer identifier is sent by the forwarding device.
  • the generating unit includes: a parameter acquiring subunit, configured to acquire An application layer QoS parameter corresponding to the application layer identifier; a model acquisition subunit, configured to acquire a QoS parameter conversion model corresponding to the application layer identifier; and a parameter generation subunit, configured to use the QoS parameter transformation model to apply the application
  • the layer QoS parameters are converted to forwarding device QoS parameters.
  • the sending unit includes: a flow table generating subunit, configured to generate An OpenFlow meter and an OpenFlow flow table, where the OpenFlow flow table uses the application layer identifier as a matching condition, and the behavior of the OpenFlow flow table is to forward the data stream or perform data flow on the data rate specified in the OpenFlow meter.
  • the data rate is corresponding to the forwarding device QoS parameter; the flow table sending subunit is configured to send the OpenFlow meter and the OpenFlow flow table to the forwarding device.
  • the device further includes a receiving unit and an updating unit; a unit, configured to receive traffic statistics reported by the forwarding device, where the update unit is configured to update the QoS by using the traffic statistics a parameter conversion model, the current QoS parameter conversion model is obtained; the generating unit is further configured to use the current QoS parameter conversion model to convert the application layer QoS parameter into a current QoS parameter of the forwarding device; the sending unit is further used The current QoS parameter of the forwarding device is sent to the forwarding device, so that the forwarding device performs QoS control on the data flow according to the current QoS parameter of the forwarding device when forwarding the data flow that includes the application layer identifier.
  • an embodiment of the present invention provides a QoS control apparatus for a forwarding device in an SDN, where the apparatus includes:
  • An obtaining unit configured to obtain a forwarding device QoS parameter sent by the SDN controller, where the forwarding device QoS parameter is generated by the controller according to the application layer identifier of the data stream, and the control unit is configured to forward the data including the application layer identifier At the time of streaming, the data stream is subjected to quality of service control using the forwarding device QoS parameters.
  • the acquiring unit includes: a first data stream acquiring subunit, configured to acquire a data stream; and an identifier acquiring subunit, configured to use the data stream Obtaining the application layer identifier in a specified field of the first data packet; the identifier reporting subunit is configured to report the application layer identifier to the SDN controller; and the first parameter receiving subunit is configured to receive the forwarding device sent by the SDN controller
  • the QoS parameter, the forwarding device QoS parameter is generated by the SDN controller according to the application layer QoS parameter corresponding to the application layer identifier.
  • the identifier acquiring subunit is specifically configured to obtain the application layer from a header field of the first data packet. logo.
  • the acquiring unit includes: a second data stream acquiring subunit, configured to acquire a data stream; and a data packet reporting subunit, configured to: The first data packet of the flow is reported to the controller, and the second parameter receiving subunit is configured to receive the forwarding device QoS parameter sent by the SDN controller, where the forwarding device QoS parameter is applied by the SDN controller according to the first data packet.
  • the application layer QoS parameter corresponding to the layer identifier is generated.
  • the acquiring unit is configured to receive an OpenFlow meter and an OpenFlow flow table sent by the SDN controller, where the OpenFlow flow table is in the application layer Identifying as a matching condition, the behavior of the OpenFlow flow table is to forward the data flow or flow control the data flow according to a data rate specified in an OpenFlow meter, where the data rate corresponds to the forwarding device QoS parameter;
  • the control unit is specifically configured to forward the data flow according to the behavior of the OpenFlow flow table or flow control the data flow according to a data rate specified in the OpenFlow meter.
  • the device further includes a statistics unit and a sending unit; Unit for raw And the sending unit is configured to send the traffic statistics to the SDN controller, where the receiving unit is further configured to receive a current QoS parameter of the forwarding device delivered by the SDN controller, where The current QoS parameter of the forwarding device is generated by the SDN controller according to the traffic statistics; the control unit is further configured to use the current QoS parameter of the forwarding device when forwarding the data flow that includes the application layer identifier Quality of service control is performed on the data stream.
  • Unit for raw And the sending unit is configured to send the traffic statistics to the SDN controller
  • the receiving unit is further configured to receive a current QoS parameter of the forwarding device delivered by the SDN controller, where The current QoS parameter of the forwarding device is generated by the SDN controller according to the traffic statistics
  • the control unit is further configured to use the current QoS parameter of the forwarding device when forwarding the data flow that includes the application layer identifier Quality of service control is performed on the data stream.
  • an embodiment of the present invention provides a QoS control apparatus for a forwarding device in an SDN, where the apparatus includes:
  • An obtaining unit configured to acquire an application layer feature of the data stream; an allocating unit, configured to allocate, by the data stream, an MPLS label group corresponding to the application layer feature; and an indicating unit, configured to indicate forwarding of the data stream forwarding path
  • the device adds the MPLS label group to the data packet included in the data stream; the generating unit is configured to generate a forwarding device QoS parameter corresponding to the MPLS label group, and the sending unit is configured to send the forwarding device QoS parameter To the forwarding device, so that the forwarding device performs QoS control according to the forwarding device QoS parameter when forwarding the data packet containing the MPLS label group.
  • the acquiring unit includes: a data packet obtaining subunit, configured to acquire a first data packet of the data stream; and a feature parsing subunit, configured to parse the The application layer characteristics of the first packet.
  • the feature parsing subunit is specifically configured to obtain the application layer from a header field of the first data packet. Identifying an application layer feature corresponding to the application layer identifier.
  • the generating unit includes: a parameter acquiring subunit, configured to acquire An application layer QoS parameter corresponding to the application layer identifier; a model acquisition subunit, configured to acquire a QoS parameter conversion model corresponding to the application layer identifier; and a parameter generation subunit, configured to use the QoS parameter transformation model to apply the application
  • the layer QoS parameters are converted to forwarding device QoS parameters.
  • the sending unit includes: a flow table generating subunit, configured to generate An OpenFlow meter and an OpenFlow flow table, wherein the OpenFlow flow table is matched by the MPLS label group, and the behavior of the OpenFlow flow table is to forward the data stream or perform data flow at a data rate specified in an OpenFlow meter.
  • the data rate is corresponding to the forwarding device QoS parameter; the flow table sending subunit is configured to send the OpenFlow meter and the OpenFlow flow table to the forwarding device.
  • the device further includes: a receiving unit and an updating unit; And the updating unit is configured to update the QoS parameter conversion model by using the traffic statistics data to obtain a current QoS parameter conversion model; the generating unit is further used to use the The current QoS parameter conversion model converts the application layer QoS parameter into a forwarding device current QoS parameter.
  • the sending unit 1105 is further configured to send the current QoS parameter of the forwarding device to the forwarding device, so as to facilitate the forwarding.
  • the device performs QoS control on the data flow according to the current QoS parameter of the forwarding device.
  • an embodiment of the present invention provides a QoS control apparatus for a forwarding device in an SDN, where the apparatus includes:
  • the device includes: an obtaining unit, configured to acquire an MPLS label group of a data stream, where the MPLS label group corresponds to an application layer feature of the data stream; and a receiving unit, configured to receive a forwarding corresponding to the MPLS label group And a control unit, configured to perform quality of service control on the data stream by using the forwarding device QoS parameter when forwarding the data stream.
  • the acquiring unit is configured to obtain the MPLS label group from a data packet of the data stream.
  • the acquiring unit includes: a data packet reporting subunit, configured to send the first data packet of the data stream to a controller; and the MPLS label group receives a subunit, configured to receive, by the controller, an MPLS label group allocated by the controller, where the receiving unit is configured to receive a forwarding device QoS parameter sent by the SDN controller, where the forwarding device QoS parameter is controlled by the SDN
  • the device generates the QoS parameter according to the application layer corresponding to the application layer feature.
  • the receiving unit is configured to receive an OpenFlow meter and an OpenFlow flow table sent by the SDN controller, where the OpenFlow flow table uses the MPLS label As a matching condition, the behavior of the OpenFlow flow table is to forward the data flow or flow control the data flow according to a data rate specified in an OpenFlow meter, where the data rate corresponds to the forwarding device QoS parameter;
  • the control unit is specifically configured to forward the data flow according to the behavior of the OpenFlow flow table or flow control the data flow according to a data rate specified in the OpenFlow meter.
  • the acquiring unit further includes: a label adding unit, configured to add the MPLS to the data packet of the data stream Label group.
  • the device further includes a statistics unit and a sending unit, where the statistics unit is configured to generate traffic statistics of the data stream, and the sending unit is configured to send the traffic statistics to
  • the SDN controller is further configured to receive a current QoS parameter of the forwarding device that is sent by the SDN controller, where the current QoS parameter of the forwarding device is generated by the SDN controller according to the traffic statistics; the control unit And performing, when forwarding the data flow that includes the application layer identifier, performing quality of service control on the data flow by using a current QoS parameter of the forwarding device.
  • the SDN controller acquires an application layer identifier of the data stream; the SDN controller generates, according to the application layer identifier, a forwarding device QoS parameter applicable to the forwarding device on the data flow forwarding path; the SDN controller forwards the forwarding The device QoS parameter is sent to the forwarding device, so that the forwarding device performs QoS control on the data flow according to the forwarding device QoS parameter when forwarding the data flow including the application layer identifier.
  • the SDN controller may determine the application layer QoS parameter of the data stream according to the application layer identifier carried in the data stream, and then convert the application layer QoS parameter into the forwarding device QoS parameter and deliver the QoS parameter to the forwarding device.
  • the forwarding device can perform QoS control on the data flow of the carried application layer identifier according to the forwarding device QoS parameter delivered by the SDN controller, thereby satisfying the requirement of QoS control based on the application layer service in the SDN.
  • FIG. 1 is a flowchart of an embodiment of a QoS control method of a forwarding device in an SDN according to the present invention
  • FIG. 2 is a flowchart of another embodiment of a QoS control method of a forwarding device in an SDN according to the present invention
  • FIG. 3 is a flowchart of another embodiment of a QoS control method of a forwarding device in an SDN according to the present invention.
  • FIG. 4 is a flowchart of another embodiment of a QoS control method of a forwarding device in an SDN according to the present invention.
  • FIG. 5 is a flowchart of another embodiment of a QoS control method of a forwarding device in an SDN according to the present invention.
  • FIG. 6 is a flowchart of another embodiment of a QoS control method of a forwarding device in an SDN according to the present invention.
  • FIG. 7 is a flowchart of another embodiment of a QoS control method of a forwarding device in an SDN according to the present invention.
  • FIG. 8 is a flowchart of another embodiment of a QoS control method of a forwarding device in an SDN according to the present invention.
  • FIG. 9 is a schematic structural diagram of an embodiment of a QoS control apparatus of a forwarding device in an SDN according to the present invention.
  • FIG. 10 is a schematic structural diagram of another embodiment of a QoS control apparatus of a forwarding device in an SDN according to the present invention.
  • FIG. 11 is a schematic structural diagram of another embodiment of a QoS control apparatus of a forwarding device in an SDN according to the present invention.
  • FIG. 12 is a schematic structural diagram of another embodiment of a QoS control apparatus of a forwarding device in an SDN according to the present invention.
  • FIG. 13 is a schematic structural diagram of another embodiment of a QoS control apparatus of a forwarding device in an SDN according to the present invention.
  • FIG. 14 is a schematic structural diagram of another embodiment of a QoS control apparatus of a forwarding device in an SDN according to the present invention.
  • FIG. 15 is a schematic structural diagram of another embodiment of a QoS control apparatus of a forwarding device in an SDN according to the present invention.
  • FIG. 16 is a schematic structural diagram of another embodiment of a QoS control apparatus of a forwarding device in an SDN according to the present invention.
  • the application layer features of the data stream include, but are not limited to, an application layer transmission protocol adopted by the data stream, a priority of the data stream, and the data stream corresponds to a combination of features or features of the user.
  • the application layer of the data stream is identified as an identifier that can reflect the characteristics of the application layer of the data stream.
  • the application layer identifier may be composed of a plurality of sub-identities, wherein each sub-identity may represent an application layer feature of the data stream.
  • the application layer identifier may be combined by a protocol type identifier indicating an application layer transport protocol used by the data stream and a user identifier indicating a user corresponding to the data stream.
  • the MPLS label group corresponds to the application layer feature of the data stream, and can be used to reflect the application layer feature of the data stream.
  • different forwarding MPLS labels can be assigned to each forwarding device according to the application layer characteristics of the data flow and the load condition of each forwarding device, and the MPLS label combination of multiple forwarding devices becomes an MPLS label. group.
  • the OpenFlow protocol can be extended such that the packet header field of the data packet carries the application layer identifier, and the SDN controller has the capability of parsing the application layer identifier from the data packet of the data stream.
  • FIG. 1 is a flowchart of an embodiment of a QoS control method of a forwarding device in an SDN according to the present invention. This embodiment can be performed by an SDN controller in the SDN. As shown in FIG. 1, the method includes the following steps:
  • Step 101 The SDN controller acquires an application layer identifier of the data stream.
  • an SDN controller can obtain an application layer identifier of a data stream.
  • the first data packet may be sent to the SDN controller by using an OpenFlow protocol Packet in message.
  • the SDN controller may obtain the application layer identifier from a header field of the first data packet.
  • the data packet when a forwarding device such as a virtual switch receives the first data packet of the data stream, the data packet may be copied and the copied data packet may be forwarded to the DPI module.
  • the DPI module After parsing the application layer identifier from the first data packet, the DPI module returns the application layer identifier to the forwarding device, and the forwarding device sends the received application layer identifier to the SDN controller.
  • the DPI module can be embedded in the virtual layer (hypervisor).
  • Step 102 The SDN controller generates, according to the application layer identifier, a forwarding device QoS parameter applicable to the forwarding device on the data flow forwarding path.
  • the application layer QoS parameter of the data flow can be determined according to the application layer identifier.
  • the SDN controller may first obtain the application layer QoS parameter corresponding to the application layer identifier; the SDN controller acquires a QoS parameter conversion model corresponding to the application layer identifier; and the SDN controller uses the QoS parameter The parameter conversion model converts the application layer QoS parameters into forwarding device QoS parameters.
  • the QoS parameter conversion model may be preset by a technician, or may be generated by the SDN controller according to the forwarding path of the data stream by using a machine learning algorithm, where the forwarding path may be composed of multiple forwarding devices.
  • the forwarding device QoS parameters may be generated on the basis of the DiffServ model in combination with the data flow application layer characteristics and the performance of the forwarding device.
  • Step 103 The SDN controller sends the forwarding device QoS parameter to the forwarding device, so that the forwarding device forwards the data flow according to the forwarding device QoS parameter when forwarding the data flow including the application layer identifier. Perform QoS control.
  • the SDN controller can generate an OpenFlow meter and an OpenFlow flow table corresponding to the QoS parameter of the forwarding device when the QoS parameter of the forwarding device is sent to the forwarding device; and then send the OpenFlow meter and the OpenFlow stream table to the forwarding device.
  • the application layer identifier can be used as the matching condition in the OpenFlow flow table.
  • the OpenFlow flow table row The QoS control is performed on the data flow according to the forwarding device QoS parameter, in order to forward the data flow or flow control the data flow according to the data rate specified in the OpenFlow meter.
  • the forwarding device After receiving the OpenFlow flow table, the forwarding device forwards, streams, and the like according to the OpenFlow flow table behavior corresponding to the application layer identifier in the OpenFlow flow table, so as to implement the data according to the forwarding device QoS parameter.
  • the flow performs QoS control.
  • the SDN controller Since the load of each forwarding device and the traffic of the data stream may change during the data stream transmission, the SDN controller also needs to adjust the forwarding device QoS parameters in real time as needed. Therefore, as shown in FIG. 2, after step 103, the method may further include:
  • Step 104 The SDN controller receives the traffic statistics reported by the forwarding device.
  • the forwarding device may collect statistics on the transmission rate, flow control, and forwarding performance of the data stream, and then send the traffic statistics to the SDN controller.
  • Step 105 The SDN controller updates the QoS parameter conversion model by using the traffic statistics data to obtain a current QoS parameter conversion model.
  • the SDN controller After obtaining the traffic statistics, the SDN controller calculates a gap between the traffic statistics and the traffic reference data corresponding to the QoS parameters, and adjusts the QoS parameter conversion model according to the gap, thereby obtaining a current QoS parameter conversion model.
  • a multi-dimensional linear fit can be used to calculate the gap between the traffic statistics and the traffic reference data corresponding to the QoS parameters, and then the gap is added as a traffic adjustment influence coefficient to the QoS parameter conversion model, thereby obtaining a current QoS parameter conversion model.
  • other machine learning algorithms may be used to generate the current QoS parameter conversion model.
  • Step 106 The SDN controller converts the application layer quality of service parameter into a current QoS parameter of the forwarding device by using the current QoS parameter conversion model.
  • the SDN controller may first acquire the application layer QoS parameter corresponding to the application layer identifier; and then convert the application layer QoS parameter to the current QoS parameter of the forwarding device by using the current QoS parameter conversion model. .
  • Step 107 The SDN controller sends the current QoS parameter of the forwarding device to the forwarding device, so that the forwarding device forwards the current QoS parameter of the forwarding device when forwarding the data flow including the application layer identifier.
  • the data stream is QoS controlled.
  • the current QoS parameter of the forwarding device may also be delivered in the form of an OpenFlow flow table, where the match of the OpenFlow flow table is still the application layer identifier, and the OpenFlow flow table behavior is to forward the data flow or correspond to the current QoS parameter of the forwarding device.
  • the data rate is streamed to the data stream.
  • the SDN controller may generate an OpenFlow meter and an OpenFlow flow table corresponding to the current QoS parameter of the forwarding device when the current QoS parameter of the forwarding device is sent to the forwarding device; and then the OpenFlow meter and the OpenFlow stream table are sent.
  • the application layer identifier may be used as a matching condition in the OpenFlow flow table, and the OpenFlow flow table behavior is to forward the data stream or stream the data stream at a data rate specified in the OpenFlow meter.
  • the SDN controller can determine the application layer QoS parameters of the data stream according to the application layer identifier carried in the data stream, and then convert the application layer QoS parameters into the forwarding device QoS parameters and deliver the QoS parameters to the forwarding device.
  • the forwarding device can perform QoS control on the data flow of the carried application layer identifier according to the forwarding device QoS parameter delivered by the SDN controller, thereby satisfying the requirement of QoS control based on the application layer service in the SDN.
  • FIG. 3 is a flowchart of an embodiment of a QoS control method of a forwarding device in an SDN according to the present invention. This embodiment can be performed by a network device in the SDN. As shown in FIG. 3, the method includes the following steps:
  • Step 301 The forwarding device acquires a forwarding device QoS parameter sent by the SDN controller, where the forwarding device QoS parameter is generated by the controller according to the application layer identifier of the data flow.
  • the forwarding device may receive the forwarding device QoS parameters delivered by the SDN controller in advance before receiving the data stream.
  • the forwarding device QoS parameters delivered by the SDN controller may also be requested after receiving the data stream.
  • the forwarding device may obtain the application layer identifier from a specified field of the data stream first data packet, and report the application layer identifier to the SDN controller. And then receive the forwarding device QoS parameters sent by the SDN controller.
  • the forwarding device QoS parameter is generated by the SDN controller according to an application layer QoS parameter corresponding to the application layer identifier.
  • the forwarding device may report the first data packet of the data flow to the controller; and then receive the forwarding device QoS parameter sent by the SDN controller, where the forwarding device The QoS parameter is generated by the SDN controller according to an application layer QoS parameter corresponding to the application layer identifier in the first data packet.
  • the forwarding device QoS parameters may be in the form of an OpenFlow meter and an OpenFlow stream table.
  • OpenFlow meter and the OpenFlow flow table For details of the OpenFlow meter and the OpenFlow flow table, refer to the foregoing embodiment, and details are not described herein again.
  • Step 302 The forwarding device uses the forwarding device QoS when forwarding the data flow including the application layer identifier.
  • the parameter performs quality of service control on the data stream.
  • the forwarding device QoS parameters may be used to perform quality of service control on the data stream.
  • the forwarding device may forward and control the data flow according to the OpenFlow flow table behavior corresponding to the application layer identifier and the specific content of the OpenFlow meter in the OpenFlow flow table, thereby implementing Performing QoS control on the data stream according to the forwarding device QoS parameter.
  • the SDN controller Since the load of each forwarding device and the traffic of the data stream may change during the data stream transmission, the SDN controller also needs to adjust the forwarding device QoS parameters in real time as needed. Therefore, as shown in FIG. 4, after step 302, the method may further include:
  • Step 303 The forwarding device generates traffic statistics of the data flow.
  • the forwarding device may collect statistics on the transmission rate, flow control, and forwarding performance of the data stream, and then send the traffic statistics to the SDN controller.
  • Step 304 The forwarding device sends the traffic statistics data to the SDN controller.
  • Step 305 Receive a current QoS parameter of the forwarding device delivered by the SDN controller, where the current QoS parameter of the forwarding device is generated by the SDN controller according to the traffic statistics.
  • the SDN controller may generate a current QoS parameter of the forwarding device according to the traffic statistics.
  • the current QoS parameters of the forwarding device may also be in the form of an OpenFlow meter and an OpenFlow stream table.
  • OpenFlow meter and the OpenFlow flow table For details of the OpenFlow meter and the OpenFlow flow table, refer to the foregoing embodiment, and the specific process is not described herein.
  • Step 306 The forwarding device performs quality of service control on the data stream by using a current QoS parameter of the forwarding device when forwarding the data stream that includes the application layer identifier.
  • the data quality may be controlled by using the current QoS parameters of the forwarding device in the data flow forwarding process.
  • the specific manner of performing the QoS control on the data flow by using the current QoS parameters of the forwarding device refer to step 302, and no further details are provided herein.
  • the SDN controller can determine the application layer QoS parameters of the data stream according to the application layer identifier carried in the data stream, and then convert the application layer QoS parameters into the forwarding device QoS parameters and deliver the QoS parameters to the forwarding device.
  • the forwarding device may identify the carried application layer according to the forwarding device QoS parameter delivered by the SDN controller.
  • the data flow performs QoS control to meet the requirements of QoS control based on application layer services in SDN.
  • FIG. 5 is a flowchart of an embodiment of a QoS control method of a forwarding device in an SDN according to the present invention. This embodiment can be performed by an SDN controller in the SDN. As shown in FIG. 5, the method includes the following steps:
  • Step 501 The SDN controller acquires an application layer feature of the data stream.
  • an SDN controller can obtain application layer characteristics of a data stream.
  • the SDN controller may first obtain an application layer identifier of the data stream from a specified field of the data stream data packet, thereby determining an application layer feature of the data stream according to the application layer identifier; and the SDN controller may also analyze the data of the data stream. Packets to obtain application layer characteristics of the data stream.
  • Step 502 The SDN controller allocates, to the data flow, an MPLS label group corresponding to the application layer feature.
  • the SDN controller allocates an MPLS label group corresponding to the application layer feature to the data stream to distinguish different data streams by using the MPLS label group.
  • the MPLS label group may be corresponding to one or more MPLS labels. For example, when the data flow forwarding path includes multiple forwarding devices, different forwarding MPLS labels can be assigned to each forwarding device according to the application layer feature of the data flow and the load condition of each forwarding device, and the MPLS label combination of multiple forwarding devices becomes MPLS label group.
  • Step 503 The SDN controller instructs the forwarding device of the data flow forwarding path to add the MPLS label group to the data packet included in the data stream.
  • the SDN controller may instruct the first forwarding device of the data stream forwarding path to add the MPLS label group to the data packet.
  • Step 504 The SDN controller generates a forwarding device QoS parameter corresponding to the MPLS label group.
  • the MPLS label group can also reflect the application layer characteristics of the data stream as the application layer identifier.
  • the SDN controller may first acquire the application layer QoS parameter corresponding to the MPLS label; the SDN controller acquires a QoS parameter conversion model corresponding to the application layer feature; and the SDN controller uses the QoS parameter
  • the conversion model converts the application layer QoS parameters into forwarding device QoS parameters.
  • the QoS parameter conversion model may be preset by a technician.
  • Step 505 The SDN controller sends the forwarding device QoS parameter to the forwarding device, so that the forwarding device performs QoS control according to the forwarding device QoS parameter when forwarding the data packet including the MPLS label group data stream.
  • the SDN controller may generate an OpenFlow meter and an OpenFlow flow table corresponding to the QoS parameters of the forwarding device when the QoS parameter is forwarded to the forwarding device; and then send the OpenFlow meter and the OpenFlow stream table to the forwarding device;
  • the MPLS label group is used as a matching condition in the table, and the OpenFlow flow table behavior is to forward the data stream or flow control the data stream at a data rate specified in the OpenFlow meter.
  • the OpenFlow meter and the OpenFlow flow table are then sent to the forwarding device.
  • the forwarding device may forward the data stream according to the OpenFlow flow table behavior corresponding to the MPLS label group in the OpenFlow flow table or use the data rate specified in the OpenFlow meter.
  • the data stream is flow-controlled to implement QoS control on the data flow according to the forwarding device QoS parameter.
  • the SDN controller Since the load of each forwarding device and the traffic of the data stream may change during the data stream transmission, the SDN controller also needs to adjust the forwarding device QoS parameters in real time as needed. Therefore, as shown in FIG. 6, after step 505, the method may further include:
  • Step 506 The SDN controller receives the traffic statistics reported by the forwarding device.
  • the forwarding device may collect statistics on the transmission rate, flow control, and forwarding performance of the data stream, and then send the traffic statistics to the SDN controller.
  • Step 507 The SDN controller updates the QoS parameter conversion model by using the traffic statistics data to obtain a current QoS parameter conversion model.
  • the SDN controller calculates a gap between the traffic statistics data and the traffic reference data corresponding to the QoS parameters, and adjusts the QoS parameter conversion model according to the gap, thereby obtaining a current QoS parameter conversion model.
  • a multi-dimensional linear fit can be used to calculate the gap between the traffic statistics and the traffic reference data corresponding to the QoS parameters, and then the gap is added as a traffic adjustment influence coefficient to the QoS parameter conversion model, thereby obtaining a current QoS parameter conversion model.
  • other machine learning algorithms may be used to generate the current QoS parameter conversion model.
  • Step 508 The SDN controller converts the application layer QoS parameter into a current QoS parameter of the forwarding device by using the current QoS parameter conversion model.
  • the SDN controller may first acquire the application layer QoS parameter corresponding to the application layer feature; and then use the current QoS parameter conversion model to convert the application layer QoS parameter into a current QoS parameter of the forwarding device. .
  • Step 509 The SDN controller sends the current QoS parameter of the forwarding device to the forwarding device, so as to facilitate the When forwarding, the forwarding device forwards the data flow including the MPLS label group, and performs QoS control on the data flow according to the current QoS parameter of the forwarding device.
  • the current QoS parameters of the forwarding device may also be sent in the form of an OpenFlow meter and an OpenFlow flow table, wherein the match of the OpenFlow flow table is still the MPLS label group, and the OpenFlow flow table behavior is to forward the data stream or measure by OpenFlow.
  • the data rate specified in the table is used to stream the data stream. For details, refer to step 505, and details are not described herein again.
  • the SDN controller can allocate an MPLS label group to the data stream according to the application layer characteristics of the data stream, and convert the application layer QoS parameters of the data stream into the forwarding device QoS parameters and deliver the QoS parameters to the forwarding device. Therefore, the transmitting device can perform QoS control on the data flow including the MPLS label group according to the forwarding device QoS parameter delivered by the SDN controller, thereby satisfying the requirement of performing QoS control based on the application layer service in the SDN.
  • FIG. 7 is a flowchart of an embodiment of a QoS control method of a forwarding device in an SDN according to the present invention. This embodiment can be performed by a forwarding device in the SDN. As shown in FIG. 7, the method includes the following steps:
  • Step 701 The forwarding device acquires an MPLS label group of the data stream, where the MPLS label group corresponds to an application layer feature of the data stream.
  • the data packet of the data stream may not be marked with an MPLS label group.
  • the forwarding device may send the first data packet of the data stream to the controller; and then receive the MPLS label group that the controller allocates for the data stream. If the forwarding device receives the data stream that does not include the MPLS label, after receiving the MPLS label group, the forwarding device may add the MPLS label group to the data packet of the data stream, so that the subsequent forwarding device performs the data stream. deal with.
  • the forwarding device acquires the MPLS label group from the data packet of the data stream.
  • Step 702 The forwarding device acquires a forwarding device QoS parameter corresponding to the MPLS label group.
  • the forwarding device After obtaining the MPLS label group, the forwarding device acquires a forwarding device QoS parameter corresponding to the MPLS label group.
  • the forwarding device QoS parameters may also be in the form of an OpenFlow meter and an OpenFlow stream table.
  • the MPLS label group is used as a matching condition in the OpenFlow flow table, and the OpenFlow flow table behavior is to forward the data stream or flow control the data stream at a data rate specified in the OpenFlow meter.
  • the OpenFlow meter and the OpenFlow flow table may be delivered to the forwarding device in advance by the SDN controller, or may be delivered to the forwarding device by the SDN controller to allocate the MPLS label group to the data stream.
  • Step 703 The forwarding device forwards the data stream by using the forwarding device QoS parameter when forwarding the data stream. Line of service quality control.
  • the forwarding device may perform quality of service control on the data stream by using a forwarding device QoS parameter delivered by the SDN controller. For example, after receiving the OpenFlow meter and the OpenFlow flow table, the forwarding device may forward the data stream according to the OpenFlow flow table behavior corresponding to the MPLS label group in the OpenFlow flow table or use the data specified in the OpenFlow meter. The rate flows the data stream to implement QoS control on the data stream according to the forwarding device QoS parameter.
  • the SDN controller Since the load of each forwarding device and the traffic of the data stream may change during the data stream transmission, the SDN controller also needs to adjust the forwarding device QoS parameters in real time as needed. Therefore, as shown in FIG. 8, after step 703, the method may further include:
  • Step 704 The forwarding device generates traffic statistics of the data flow.
  • the forwarding device may collect statistics on the transmission rate, flow control, and forwarding performance of the data stream, and then send the traffic statistics to the SDN controller.
  • Step 705 The forwarding device sends the traffic statistics to the SDN controller.
  • Step 706 The forwarding device receives the current QoS parameter of the forwarding device delivered by the SDN controller, where the current QoS parameter of the forwarding device is generated by the SDN controller according to the traffic statistics.
  • the SDN controller may generate a current QoS parameter of the forwarding device according to the traffic statistics, and deliver the current QoS parameter of the forwarding device to the forwarding device.
  • the current QoS parameters of the forwarding device can also be delivered in the form of an OpenFlow meter and an OpenFlow flow table, wherein the match of the OpenFlow flow table is still the MPLS label group, and the OpenFlow flow table behavior is to forward the data stream or use an OpenFlow meter.
  • the data rate specified in the flow control of the data stream For the process of generating the current QoS parameters of the forwarding device, refer to the foregoing embodiment, and details are not described herein again.
  • Step 707 The forwarding device performs quality of service control on the data stream by using a current QoS parameter of the forwarding device when forwarding the data stream.
  • the data quality may be controlled by using the current QoS parameters of the forwarding device in the data flow forwarding process.
  • the specific manner of performing the QoS control on the data flow by using the current QoS parameters of the forwarding device refer to step 703, and no further details are provided herein.
  • the SDN controller can allocate data streams according to the application layer characteristics of the data stream.
  • the MPLS label group converts the application layer QoS parameters of the data stream into forwarding device QoS parameters and delivers them to the forwarding device. Therefore, the forwarding device can perform QoS control on the data flow including the MPLS label group according to the forwarding device QoS parameter delivered by the SDN controller, thereby satisfying the requirement of performing QoS control based on the application layer service in the SDN.
  • the present invention also provides a quality of service QoS control device for the forwarding device.
  • FIG. 9 is a schematic structural diagram of an embodiment of a QoS control apparatus according to the present invention.
  • the QoS control device can be placed on the SDN controller.
  • the apparatus includes: an obtaining unit 901, a generating unit 902, and a transmitting unit 903.
  • the obtaining unit 901 is configured to: acquire, by the SDN controller, an application layer identifier of the data stream, where the generating unit 902 is configured to generate, according to the application layer identifier, a forwarding device QoS parameter applicable to the forwarding device on the data flow forwarding path; 903.
  • the method is configured to send the forwarding device QoS parameter to the forwarding device, so that the forwarding device performs QoS on the data flow according to the forwarding device QoS parameter when forwarding the data flow that includes the application layer identifier. control.
  • the obtaining unit 901 includes: a receiving subunit, configured to receive a first data packet of the data stream; and a parsing subunit, configured to parse the application layer identifier from a specified field of the first data packet .
  • the parsing subunit is configured to obtain the application layer identifier from the first packet header field.
  • the obtaining unit 901 is specifically configured to receive the application layer identifier, where the application layer identifier is sent by the forwarding device.
  • the generating unit 902 includes: a parameter obtaining subunit, configured to acquire an application layer QoS parameter corresponding to the application layer identifier, and a model obtaining subunit, configured to acquire a QoS parameter conversion corresponding to the application layer identifier. a model; a parameter generation subunit, configured to convert the application layer QoS parameter into a forwarding device QoS parameter using the QoS parameter conversion model.
  • the sending unit 903 includes: a flow table generating sub-unit, configured to generate an OpenFlow meter and an OpenFlow flow table, where the OpenFlow flow table uses the application layer identifier as a matching condition, and the behavior of the OpenFlow flow table Forwarding the data stream or streamping the data stream according to the data rate specified in the OpenFlow meter, the data rate corresponding to the forwarding device QoS parameter; the flow table sending subunit, configured to use the OpenFlow The meter and the OpenFlow flow table are delivered to the forwarding device.
  • a flow table generating sub-unit configured to generate an OpenFlow meter and an OpenFlow flow table, where the OpenFlow flow table uses the application layer identifier as a matching condition, and the behavior of the OpenFlow flow table Forwarding the data stream or streamping the data stream according to the data rate specified in the OpenFlow meter, the data rate corresponding to the forwarding device QoS parameter
  • the flow table sending subunit configured to use the OpenFlow The meter and the OpenFlow flow table are delivered to the forwarding device.
  • the device further includes a receiving unit and an updating unit, where the receiving unit is configured to receive traffic statistics reported by the forwarding device, and the updating unit is configured to update the QoS parameter by using the traffic statistics.
  • the generating unit 902 is further configured to use the current QoS parameter conversion model to convert the application layer quality of service parameter into a forwarding device current QoS parameter;
  • the sending unit 903, further The method is configured to send the current QoS parameter of the forwarding device to the forwarding device, so that the forwarding device performs QoS on the data flow according to the current QoS parameter of the forwarding device when forwarding the data flow that includes the application layer identifier. control.
  • FIG. 10 is a schematic structural diagram of an embodiment of a QoS control apparatus according to the present invention.
  • the QoS control device can be placed on the forwarding device.
  • the apparatus includes: an obtaining unit 1001 and a control unit 1002.
  • the obtaining unit 1001 is configured to obtain a forwarding device QoS parameter that is sent by the SDN controller, where the forwarding device QoS parameter is generated by the controller according to the application layer identifier of the data flow, and the control unit 1002 is configured to forward the inclusion
  • the forwarding device QoS parameter is generated by the controller according to the application layer identifier of the data flow
  • the control unit 1002 is configured to forward the inclusion
  • the obtaining unit 1001 includes: a first data stream obtaining subunit, configured to acquire a data stream; and an identifier obtaining subunit, configured to obtain the application layer identifier from a specified field of the data stream first data packet
  • the identifier reporting subunit is configured to report the application layer identifier to the SDN controller, where the first parameter receiving subunit is configured to receive the forwarding device QoS parameter sent by the SDN controller, where the forwarding device QoS parameter is used by the SDN
  • the controller generates, according to the application layer QoS parameter corresponding to the application layer identifier.
  • the identifier obtaining subunit is specifically configured to obtain the application layer identifier from a header field of the first data packet.
  • the obtaining unit 1001 includes: a second data stream obtaining subunit, configured to acquire a data stream; and a data packet reporting subunit, configured to report the first data packet of the data stream to the controller; And a receiving subunit, configured to receive a forwarding device QoS parameter sent by the SDN controller, where the forwarding device QoS parameter is generated by the SDN controller according to an application layer QoS parameter corresponding to the application layer identifier in the first data packet.
  • the acquiring unit 1001 is configured to receive an OpenFlow meter and an OpenFlow flow table sent by the SDN controller, where the OpenFlow flow table uses the application layer identifier as a matching condition, and the behavior of the OpenFlow flow table is Forwarding the data stream or streamping the data stream according to a data rate specified in an OpenFlow meter, the data rate corresponding to the forwarding device QoS parameter; the control unit 1002, specifically for The behavior of the OpenFlow flow table forwards the data stream or streams the data stream at a data rate specified in the OpenFlow meter.
  • the device further includes a statistics unit and a sending unit, where the statistics unit is configured to generate traffic statistics data of the data stream, and the sending unit is configured to send the traffic statistics data to the SDN controller.
  • the receiving unit is further configured to receive a current QoS parameter of the forwarding device that is sent by the SDN controller, where the current QoS parameter of the forwarding device is generated by the SDN controller according to the traffic statistics; the control unit 1002 further And used to perform quality of service control on the data stream by using a current QoS parameter of the forwarding device when forwarding the data flow that includes the application layer identifier.
  • FIG. 11 is a schematic structural diagram of an embodiment of a QoS control apparatus according to the present invention.
  • the QoS control device can be placed on the SDN controller.
  • the apparatus includes an acquisition unit 1101, an allocation unit 1102, an indication unit 1103, a generation unit 1104, and a transmission unit 1105.
  • the obtaining unit 1101 is configured to acquire an application layer feature of the data stream; the allocating unit 1102 is configured to allocate an MPLS label group corresponding to the application layer feature to the data stream, and the indicating unit 1103 is configured to indicate the data.
  • the forwarding device of the flow forwarding path adds the MPLS label group to the data packet included in the data stream; the generating unit 1104 is configured to generate a forwarding device QoS parameter corresponding to the MPLS label group, and the sending unit 1105 is configured to:
  • the forwarding device QoS parameter is sent to the forwarding device, so that when the forwarding device forwards the data packet including the MPLS label group, the forwarding device performs QoS control according to the forwarding device QoS parameter.
  • the obtaining unit 1101 includes: a data packet obtaining subunit, configured to acquire a first data packet of the data stream; and a feature parsing subunit, configured to parse an application layer feature of the first data packet.
  • the feature parsing sub-unit is configured to obtain the application layer identifier from a header field of the first data packet, and obtain an application layer feature corresponding to the application layer identifier.
  • the generating unit 1104 includes: a parameter obtaining subunit, configured to acquire an application layer QoS parameter corresponding to the application layer identifier, and a model obtaining subunit, configured to acquire a QoS parameter conversion corresponding to the application layer identifier a model; a parameter generation subunit, configured to convert the application layer QoS parameter into a forwarding device QoS parameter using the QoS parameter conversion model.
  • the sending unit 1105 includes: a flow table generating sub-unit, configured to generate an OpenFlow meter and an OpenFlow flow table, where the OpenFlow flow table uses the MPLS label group as a matching condition, and the OpenFlow stream
  • the behavior of the table is to forward the data stream or to stream the data stream according to the data rate specified in the OpenFlow meter, the data rate corresponding to the forwarding device QoS parameter; the flow table is sent to the subunit for The OpenFlow meter and the OpenFlow flow table are delivered to the forwarding device.
  • the device further includes a receiving unit and an updating unit, where the receiving unit is configured to receive traffic statistics reported by the forwarding device, and the updating unit is configured to update, by using the traffic statistics, the QoS parameter conversion.
  • a model the current QoS parameter conversion model is obtained;
  • the generating unit is further configured to use the current QoS parameter conversion model to convert the application layer QoS parameter into a forwarding device current QoS parameter;
  • the sending unit 1105 is further configured to: The current QoS parameter of the forwarding device is sent to the forwarding device, so that the forwarding device performs QoS control on the data flow according to the current QoS parameter of the forwarding device when forwarding the data flow that includes the application layer identifier.
  • FIG. 12 it is a schematic structural diagram of an embodiment of a QoS control apparatus according to the present invention.
  • the QoS control device can be placed on the forwarding device.
  • the apparatus may include: an obtaining unit 1201, a receiving unit 1202, and a control unit 1203.
  • the obtaining unit 1201 is configured to acquire an MPLS label group of the data stream, where the MPLS label group corresponds to an application layer feature of the data stream, and the receiving unit 1202 is configured to receive a forwarding device corresponding to the MPLS label group. a QoS parameter; the control unit 1203, configured to perform quality of service control on the data stream by using the forwarding device QoS parameter when forwarding the data stream.
  • the obtaining unit 1201 is specifically configured to obtain the MPLS label group from a data packet of the data stream.
  • the obtaining unit 1201 includes: a data packet reporting subunit, configured to send a first data packet of the data stream to a controller; and an MPLS label group receiving subunit, configured to receive the controller as the data stream.
  • the MPLS label group is allocated;
  • the receiving unit 1202 is configured to receive a forwarding device QoS parameter sent by the SDN controller, where the forwarding device QoS parameter is used by the SDN controller according to the application layer QoS corresponding to the application layer feature. Parameter generation.
  • the receiving unit 1202 is configured to receive an OpenFlow meter and an OpenFlow flow table sent by the SDN controller, where the OpenFlow flow table uses the MPLS label group as a matching condition, and the behavior of the OpenFlow flow table is Forwarding the data stream or streaming the data stream according to the data rate specified in the OpenFlow meter, the data rate corresponding to the forwarding device QoS parameter; the control unit 1203, specifically for following the OpenFlow stream The behavior of the table forwards the data stream or streams the data stream at a data rate specified in the OpenFlow meter.
  • the obtaining unit 1201 further includes: a label adding unit, configured to add the MPLS label group to the data packet of the data stream.
  • a label adding unit configured to add the MPLS label group to the data packet of the data stream.
  • the device further includes a statistics unit and a sending unit, where the statistics unit is configured to generate traffic statistics data of the data stream, and the sending unit is configured to send the traffic statistics data to the SDN controller.
  • the receiving unit 1202 is further configured to receive a current QoS parameter of the forwarding device that is sent by the SDN controller, where the current QoS parameter of the forwarding device is generated by the SDN controller according to the traffic statistics; the control unit 1203, And used to perform quality of service control on the data stream by using a current QoS parameter of the forwarding device when forwarding the data stream that includes the application layer identifier.
  • FIG. 13 is a schematic structural diagram of an embodiment of a QoS control apparatus according to the present invention.
  • the QoS control device can be placed on the SDN controller.
  • the apparatus may include a processor 1301, a memory 1302, and a transceiver 1303.
  • the processor 1301, the memory 1302, and the transceiver 1303 are connected to each other.
  • the processor 1301, the memory 1302 transceiver 1303 can be connected by a bus 1304.
  • the memory 1302 is configured to store computer execution instructions.
  • the program can include program code, the program code including computer executed instructions.
  • the memory 1302 may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage 1302.
  • the processor 1301 is configured to obtain an application layer identifier of the data stream, and generate, according to the application layer identifier, a forwarding device QoS parameter applicable to the forwarding device on the data flow forwarding path, where the forwarding device QoS parameter is used by the transceiver 1303. Sending to the forwarding device, so that the forwarding device performs QoS control on the data flow according to the forwarding device QoS parameter when forwarding the data flow including the application layer identifier.
  • FIG. 14 is a schematic structural diagram of an embodiment of a QoS control apparatus according to the present invention.
  • the QoS control device can be placed on the forwarding device.
  • the apparatus may include a processor 1401, a memory 1402, and a transceiver 1403.
  • the processor 1401, the memory 1402, and the transceiver 1403 are connected to each other.
  • the processor 1401, the memory 1402 transceiver 1403 can be connected by a bus 1404.
  • the memory 1402 is configured to store computer execution instructions.
  • the program can include program code, the program code including computer executed instructions.
  • Memory 1402 may contain random access memory (random Access memory (RAM) may also include non-volatile memory, such as at least one disk storage 1402.
  • RAM Random Access memory
  • the transceiver 1403 is configured to receive a forwarding device QoS parameter that is sent by the SDN controller, where the forwarding device QoS parameter is generated by the controller according to an application layer identifier of the data stream.
  • the processor 1401 is configured to perform quality of service control on the data stream by using the forwarding device QoS parameter when forwarding the data stream that includes the application layer identifier.
  • FIG. 15 is a schematic structural diagram of an embodiment of a QoS control apparatus according to the present invention.
  • the QoS control device can be placed on the SDN controller.
  • the apparatus may include a processor 1501, a memory 1502, and a transceiver 1503.
  • the processor 1501, the memory 1502, and the transceiver 1503 are connected to each other.
  • the processor 1501, the memory 1502 transceiver 1503 can be connected by a bus 1504.
  • the memory 1502 is configured to store computer execution instructions.
  • the program can include program code, the program code including computer executed instructions.
  • the memory 1502 may include a random access memory (RAM), and may also include a non-volatile memory such as at least one disk storage 1502.
  • the processor 1501 is configured to acquire an application layer feature of the data stream, allocate an MPLS label group corresponding to the application layer feature to the data stream, and include, by the data flow, a forwarding device that indicates the data flow forwarding path Adding the MPLS label group to the MPLS label group; generating a forwarding device QoS parameter corresponding to the MPLS label group; and transmitting, by the transceiver 1503, the forwarding device QoS parameter to the forwarding device, so that the forwarding device is When the forwarded data packet includes the data flow of the MPLS label group, the QoS control is performed according to the forwarding device QoS parameter.
  • FIG. 16 is a schematic structural diagram of an embodiment of a QoS control apparatus according to the present invention.
  • the QoS control device can be placed on the forwarding device.
  • the apparatus may include a processor 1601, a memory 1602, and a transceiver 1603.
  • the processor 1601, the memory 1602, and the transceiver 1603 are connected to each other.
  • the processor 1601, the memory 1602 transceiver 1603 can be connected by a bus 1604.
  • the memory 1602 is used to store computer execution instructions.
  • the program can include program code, the program code including computer executed instructions.
  • the memory 1602 may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage 1602.
  • the processor 1601 is configured to acquire an MPLS label group of a data stream, where the MPLS label group corresponds to an application layer feature of the data stream, and the transceiver 1603 is configured to receive a forwarding device corresponding to the MPLS label group.
  • the QoS parameter is further used by the processor 1601 to perform quality of service control on the data stream when the data stream is forwarded by using the forwarding device QoS parameter.
  • the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. , a disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or forwarding device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
  • a computer device which may be a personal computer, server, or forwarding device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

La présente invention concerne un procédé et un appareil de commande de qualité de service (QoS) dans un réseau défini par logiciel (SDN). Le procédé comprend les étapes suivantes : un contrôleur SDN acquiert un identifiant de couche d'application d'un flux de données ; le contrôleur SDN génère, selon l'identifiant de couche d'application, un paramètre QoS de dispositif d'acheminement approprié pour un dispositif d'acheminement sur un trajet d'acheminement de flux de données ; et le contrôleur SDN fournit le paramètre QoS de dispositif d'acheminement au dispositif d'acheminement, de sorte que le dispositif d'acheminement effectue une commande QoS sur le flux de données selon le paramètre QoS de dispositif d'acheminement lorsque le dispositif d'acheminement transfère le flux de données comprenant l'identifiant de couche d'application. Dans des modes de réalisation de la présente invention, le dispositif d'acheminement peut effectuer une commande QoS sur le flux de données portant l'identifiant de couche d'application selon le paramètre QoS de dispositif d'acheminement fourni par le contrôleur SDN, ce qui permet ainsi de satisfaire les exigences de réalisation de commande QoS dans le SDN en se basant sur un service de couche application.
PCT/CN2015/097181 2014-12-31 2015-12-11 Procédé et appareil de commande de qualité de service dans un réseau défini par logiciel WO2016107393A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410855498.XA CN105812278B (zh) 2014-12-31 2014-12-31 软件定义网络中服务质量控制方法及装置
CN201410855498.X 2014-12-31

Publications (1)

Publication Number Publication Date
WO2016107393A1 true WO2016107393A1 (fr) 2016-07-07

Family

ID=56284205

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097181 WO2016107393A1 (fr) 2014-12-31 2015-12-11 Procédé et appareil de commande de qualité de service dans un réseau défini par logiciel

Country Status (2)

Country Link
CN (1) CN105812278B (fr)
WO (1) WO2016107393A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819596B (zh) * 2016-09-12 2022-07-29 中兴通讯股份有限公司 Sdn网络故障的诊断方法、装置及系统
CN106452958B (zh) * 2016-09-30 2020-04-07 中国联合网络通信集团有限公司 一种流量控制方法、系统及集中控制器
CN109150767A (zh) * 2017-06-16 2019-01-04 华为技术有限公司 一种数据包发送方法、装置及设备
CN108377205A (zh) * 2018-02-22 2018-08-07 赛特斯信息科技股份有限公司 优化nfv数据转发性能的系统及其方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1860458A (zh) * 2003-08-06 2006-11-08 诺基亚有限公司 在移动和ip网络间接口的服务质量支持
CN103475947A (zh) * 2013-09-13 2013-12-25 中国联合网络通信集团有限公司 一种基于软件定义网络的流媒体分发系统和方法
CN103916302A (zh) * 2013-01-04 2014-07-09 上海贝尔股份有限公司 向虚拟wlan提供sdn流路径的方法和设备
CN104184663A (zh) * 2014-07-17 2014-12-03 北京交通大学 基于软件定义网络和一体化标识网络的通信方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379039B (zh) * 2012-04-23 2016-12-14 华为技术有限公司 一种用于流统计的方法、装置及系统
CN103685058B (zh) * 2012-09-11 2017-05-17 北京信息科技大学 控制流数据的服务质量的方法和OpenFlow控制器
CN103906074B (zh) * 2012-12-31 2018-01-12 华为技术有限公司 无线软件定义网络中进行通信的方法及其装置
KR102087226B1 (ko) * 2013-02-14 2020-03-10 삼성전자주식회사 다수의 사업자 지원을 위한 sdn 기반의 네트워크 공유 방법
CN103346922B (zh) * 2013-07-26 2016-08-10 电子科技大学 基于sdn的确定网络状态的控制器及其确定方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1860458A (zh) * 2003-08-06 2006-11-08 诺基亚有限公司 在移动和ip网络间接口的服务质量支持
CN103916302A (zh) * 2013-01-04 2014-07-09 上海贝尔股份有限公司 向虚拟wlan提供sdn流路径的方法和设备
CN103475947A (zh) * 2013-09-13 2013-12-25 中国联合网络通信集团有限公司 一种基于软件定义网络的流媒体分发系统和方法
CN104184663A (zh) * 2014-07-17 2014-12-03 北京交通大学 基于软件定义网络和一体化标识网络的通信方法和装置

Also Published As

Publication number Publication date
CN105812278A (zh) 2016-07-27
CN105812278B (zh) 2019-06-18

Similar Documents

Publication Publication Date Title
KR102544991B1 (ko) 사용자 장비 및 미디어 스트리밍 네트워크 보조 노드
US10805837B2 (en) Context aware and adaptive QOS/QOE target definition in 5G
KR100689430B1 (ko) 디지털 홈 서비스에서 하이브리드 모니터링을 통한 동적서비스 품질 매핑 장치 및 방법
US9608923B2 (en) Adaptive resource management for multi-screen video applications over cable Wi-Fi networks
WO2016107393A1 (fr) Procédé et appareil de commande de qualité de service dans un réseau défini par logiciel
JP7496022B2 (ja) クライアント、サーバ、受信方法及び送信方法
US11297381B2 (en) Method and apparatus of transmitting media data related information in multimedia transmission system
US10498492B2 (en) Method and device for receiving and transmitting information in multimedia system
US20150195209A1 (en) Congestion Notification in a Network
US20120102162A1 (en) Dynamic bandwidth adjustment for multiple service support
JP2017511991A5 (fr)
US10903921B2 (en) Method and device for providing heterogeneous network-based broadcast service
CN113542155B (zh) 用于处理业务流的方法及装置
US10439947B2 (en) Method and apparatus for providing deadline-based segmentation for video traffic
JP2009105949A5 (fr)
US10404617B2 (en) Method and apparatus for resource allocation in communication system
CA2866578C (fr) Systeme et procede pour selectionner un adaptateur de couche 2
US11973814B2 (en) Method and controller for audio and/or video content delivery
KR101566397B1 (ko) 대역폭 관리 장치, 중앙 관리 장치, 및 대역폭 관리 방법
US9413802B2 (en) Adaptive multicasting
Santos et al. An innovative dynamic bit rate streaming approach to improve mobile user multimedia quality of experience
KR101327656B1 (ko) 실시간 스트리밍 패킷의 포워딩 방법
GB2575228A (en) Methods and systems for evaluating network performance of an aggregated connection
Martin et al. On the efficacy of the dynamic adaptive streaming over HTTP (DASH) protocol–extended version

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15875071

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15875071

Country of ref document: EP

Kind code of ref document: A1