CN104734994A - Traffic label control method based on SDN (software-defined network) frame - Google Patents

Traffic label control method based on SDN (software-defined network) frame Download PDF

Info

Publication number
CN104734994A
CN104734994A CN201510171597.0A CN201510171597A CN104734994A CN 104734994 A CN104734994 A CN 104734994A CN 201510171597 A CN201510171597 A CN 201510171597A CN 104734994 A CN104734994 A CN 104734994A
Authority
CN
China
Prior art keywords
stream
sdn
message
stream label
control method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510171597.0A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510171597.0A priority Critical patent/CN104734994A/en
Publication of CN104734994A publication Critical patent/CN104734994A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a traffic label control method based on an SDN (software-defined network) frame. The method includes S1, setting traffic label rules according to a northbound interface; S2, allowing an SDN controller to receive Packet_in information carrying a message; S3, allowing the SDN controller to analyze statistical traffic sequence of the message and match the traffic label rules; S4, allowing the SDN controller to centrally distributing a traffic table to a whole forwarding path according to matching results; S5, filling traffic labels in the message, packaging the message in Packet_out information, and transmitting the Packet_out information to a next SDN switch; S6, allowing the SND switch to forward IPv6 data according to the traffic table. The method has the advantages that by labelling the sequence of the corresponding traffic through high 12 bits of the traffic label, the SDN switch can feed the sequence of the corresponding flow back to the SDN controller through OF information, and thus the SDN controller can monitor whole-network traffic in real time.

Description

A kind of stream label control method based on SDN framework
Technical field
The present invention relates to the application of stream label in the communications field, particularly a kind of stream label control method based on SDN framework.
Background technology
The function of stream can provide service based on QoS for people, and this is different from the service concept " transmitted as possible " in IPv4, and is obviously better than the latter.Stream label is used to carry out dividing flow state in Differentiated Services (Differentiated Services).The definition of IPv6 specification convection current (Flow) is: stream is the packet sequence mailing to specific purpose node from particular source node, and source node wishes that intermediate router can carry out special process to this packet sequence.
Traditional be carry out Qos scheduling according to the VLAN Priority field of 3bits based on VLAN QoS algorithm inside double layer network, such as: SP(absolute priority), WRR(WRR).
Traditional QoS algorithm inside three-layer network can based on IP dscp field.DSCP provides 6 bit fields for QoS marker, and this 6 bit field is 3 identical with IP priority, 3 that add ensuing tos field.Therefore, the scope of DSCP value is 0 to 63.
No matter that the number of the priority provided is no more than 8 or 64 based on the QoS algorithm based on IP DSCP inside the QoS algorithm of VLAN or three-layer network inside traditional double layer network.
Traditional QoS algorithm is all be configured on single forwarding unit and apply, and cannot realize QoS application end to end.
Summary of the invention
The object of this invention is to provide a kind of stream label control method based on SDN framework, by the sequence of the corresponding stream of high 12 marks of stream label, SDN switch can configure according to user, adopt OF message the sequence feedback of correspondence stream to SDN controller, thus controller can monitor the whole network flow in real time.
In order to realize above object, the present invention is achieved by the following technical solutions:
Based on a stream label control method for SDN framework, be characterized in, the method comprises following steps:
S1, arranges stream label rule according to northbound interface;
S2, SDN controller receives the Packet_in message of carrying message;
The stream label rule of S3, SDN controller analytic message statistic fluid sequence also described in coupling;
S4, SDN controller issues stream according to matching result unification and shows whole forward-path;
S5, fills stream label in described message, and is encapsulated in Packet_out message, is submitted to next SDN switch and forwards;
S6, SND switch forwards IPv6 data according to stream table.
The sequence of the corresponding stream of high-order mark in described stream label, the priority of its low numbered indicia correspondence stream.
Described step S3 comprises:
S3.1, SDN controller analytic message statistic fluid sequence from Packet_in message;
S3.2, SDN controller obtains source IPv6 address information and L4 port information, and inquires about stream label rule;
S3.3, SDN controller detects whether mate stream label rule, if coupling stream label rule, then performs S3.4, if do not mate stream label rule, then performs S3.5;
S3.4, SDN controller obtains the flow label values in stream label rule;
Flow label values in stream label rule is set to 1 by S3.5, SDN controller.
Described step S6 comprises:
S6.1, SDN switch is according to IPv6 address, source and L4 port numbers inquiry stream table;
S6.2, SDN switch detects whether mate stream table, if coupling stream table, then obtains fail to be sold at auction sign and queue id, and performs S6.3, if coupling stream table, then performs S6.4;
S6.3, described SDN switch, according to sign of failing to be sold at auction, performs the action of stream table;
S6.4, described message is packaged into Packet_in message and feeds back to SDN controller by SDN switch.
Described stream table action is enter corresponding QoS queue scheduling.
Described QoS queue scheduling at least supports absolute priority pattern, poll pattern or WRR pattern.
Also comprise after described step S4: perform this step of QoS queue scheduling.
Described flow label values comprises fail to be sold at auction sign and queue id.
If described stream label rule is mated, then described source IPv6 address information and L4 port information are written to the Match field of stream table.
The present invention compared with prior art, has the following advantages:
Usage and the semanteme of convection tags of the present invention give clear and definite definition, and the priority number provided can reach 256;
The stream label that the present invention is based on SDN framework intensively configures on the controller and manages, and reasonably can configure qos policy according to user's request;
The present invention is by the sequence of the corresponding stream of high 12 marks of stream label, and SDN switch can configure according to user, adopt OF message the sequence feedback of correspondence stream to controller, thus controller can monitor the whole network flow in real time.
Accompanying drawing explanation
Fig. 1 is stream label form schematic diagram of the present invention;
Fig. 2 is the flow chart of a kind of stream label control method based on SDN framework of the present invention.
Embodiment
Below in conjunction with accompanying drawing, by describing a preferably specific embodiment in detail, the present invention is further elaborated.
As shown in Figure 2, a kind of stream label control method based on SDN framework, the method comprises following steps:
S1, arranges stream label rule according to northbound interface;
S2, SDN controller receives the Packet_in message of carrying message;
The stream label rule of S3, SDN controller analytic message statistic fluid sequence also described in coupling;
S4, SDN controller issues stream according to matching result unification and shows whole forward-path;
S5, fills stream label in described message, and is encapsulated in Packet_out message, is submitted to next SDN switch and forwards;
S6, SND switch forwards IPv6 data according to stream table.
Fig. 1 is stream label form schematic diagram, the sequence of the corresponding stream of high 12 marks in wherein said stream label, the priority of the corresponding stream of its least-significant byte mark.
Particularly, described step S3 comprises:
S3.1, SDN controller analytic message statistic fluid sequence from Packet_in message;
S3.2, SDN controller obtains source IPv6 address information and L4 port information, and inquires about stream label rule;
S3.3, SDN controller detects whether mate stream label rule, if coupling stream label rule, then performs S3.4, if do not mate stream label rule, then performs S3.5;
S3.4, SDN controller obtains the flow label values in stream label rule;
Flow label values in stream label rule is set to 1 by S3.5, SDN controller.
Above-mentioned flow label values comprises fail to be sold at auction sign and queue id.
Particularly, described step S6 comprises:
S6.1, SDN switch is according to IPv6 address, source and L4 port numbers inquiry stream table;
S6.2, SDN switch detects whether mate stream table, if coupling stream table, then obtains fail to be sold at auction sign and queue id, and performs S6.3, if coupling stream table, then performs S6.4;
S6.3, described SDN switch, according to sign of failing to be sold at auction, performs the action of stream table;
S6.4, described message is packaged into Packet_in message and feeds back to SDN controller by SDN switch.
Described stream table action is enter corresponding QoS queue scheduling.
Described QoS queue scheduling at least supports absolute priority (SP) pattern, poll (RR) pattern or weighting (WRR) poll pattern.
In a particular embodiment, also comprise after step S4: perform this step of QoS queue scheduling.
Stream label rule list be safeguarded and be inquired about to SDN controller will.IPv6 address, source and L4 port numbers are using the search index as whole table, if described stream label rule is mated, then described source IPv6 address information and L4 port information are written to the Match field of stream table.
Fail to be sold at auction the codomain of sign from 1 to 255, and the larger priority of value of sign of failing to be sold at auction is higher.
SDN switch needs support 255 hardware queues, and numbering is also from 1 to 255.Default queue number is consistent with sign of failing to be sold at auction.User according to practical application, can revise its binding relationship.Under SP pattern, queue 255 will have limit priority, by the message in this queue of priority scheduling.Under RR pattern, the priority of all queues is the same, and equality is dispatched.Under WRR pattern, refer between 255 queues, carry out the message of round-robin scheduling individual queue according to the weights of configuration.The WRR weights of such as 4 queues are respectively 10,10,20,20, then individual queue has the chance of 1/6,1/6,1/3,1/3 to send message respectively.
In sum, a kind of stream label control method based on SDN framework of the present invention, by the sequence of the corresponding stream of high 12 marks of stream label, SDN switch can configure according to user, adopt OF message the sequence feedback of correspondence stream to SDN controller, thus controller can monitor the whole network flow in real time.
Although content of the present invention has done detailed introduction by above preferred embodiment, will be appreciated that above-mentioned description should not be considered to limitation of the present invention.After those skilled in the art have read foregoing, for multiple amendment of the present invention and substitute will be all apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (9)

1., based on a stream label control method for SDN framework, it is characterized in that, the method comprises following steps:
S1, arranges stream label rule according to northbound interface;
S2, SDN controller receives the Packet_in message of carrying message;
The stream label rule of S3, SDN controller analytic message statistic fluid sequence also described in coupling;
S4, SDN controller issues stream according to matching result unification and shows whole forward-path;
S5, fills stream label in described message, and is encapsulated in Packet_out message, is submitted to next SDN switch and forwards;
S6, SND switch forwards IPv6 data according to stream table.
2. as claimed in claim 1 based on the stream label control method of SDN framework, it is characterized in that, the sequence of the corresponding stream of high-order mark in described stream label, the priority of its low numbered indicia correspondence stream.
3., as claimed in claim 1 based on the stream label control method of SDN framework, it is characterized in that, described step S3 comprises:
S3.1, SDN controller analytic message statistic fluid sequence from Packet_in message;
S3.2, SDN controller obtains source IPv6 address information and L4 port information, and inquires about stream label rule;
S3.3, SDN controller detects whether mate stream label rule, if coupling stream label rule, then performs S3.4, if do not mate stream label rule, then performs S3.5;
S3.4, SDN controller obtains the flow label values in stream label rule;
Flow label values in stream label rule is set to 1 by S3.5, SDN controller.
4. the stream label control method based on SDN framework as described in claim 1 or 3, it is characterized in that, described step S6 comprises:
S6.1, SDN switch is according to IPv6 address, source and L4 port numbers inquiry stream table;
S6.2, SDN switch detects whether mate stream table, if coupling stream table, then obtains fail to be sold at auction sign and queue id, and performs S6.3, if coupling stream table, then performs S6.4;
S6.3, described SDN switch, according to sign of failing to be sold at auction, performs the action of stream table;
S6.4, described message is packaged into Packet_in message and feeds back to SDN controller by SDN switch.
5. as claimed in claim 4 based on the stream label control method of SDN framework, it is characterized in that, described stream table action is enter corresponding QoS queue scheduling.
6., as claimed in claim 5 based on the stream label control method of SDN framework, it is characterized in that, described QoS queue scheduling at least supports absolute priority pattern, poll pattern or WRR pattern.
7. as claimed in claim 1 based on the stream label control method of SDN framework, it is characterized in that, also comprise after described step S4: perform this step of QoS queue scheduling.
8., as claimed in claim 3 based on the stream label control method of SDN framework, it is characterized in that, described flow label values comprises fail to be sold at auction sign and queue id.
9. as claimed in claim 3 based on the stream label control method of SDN framework, it is characterized in that, if described stream label rule is mated, then described source IPv6 address information and L4 port information are written to the Match field of stream table.
CN201510171597.0A 2015-04-13 2015-04-13 Traffic label control method based on SDN (software-defined network) frame Pending CN104734994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510171597.0A CN104734994A (en) 2015-04-13 2015-04-13 Traffic label control method based on SDN (software-defined network) frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510171597.0A CN104734994A (en) 2015-04-13 2015-04-13 Traffic label control method based on SDN (software-defined network) frame

Publications (1)

Publication Number Publication Date
CN104734994A true CN104734994A (en) 2015-06-24

Family

ID=53458441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510171597.0A Pending CN104734994A (en) 2015-04-13 2015-04-13 Traffic label control method based on SDN (software-defined network) frame

Country Status (1)

Country Link
CN (1) CN104734994A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376158A (en) * 2015-10-12 2016-03-02 上海斐讯数据通信技术有限公司 SDN circulation method and device based on EXP value in MPLS message
CN105656814A (en) * 2016-02-03 2016-06-08 浪潮(北京)电子信息产业有限公司 SDN (Software-Defined Network) forwarding system and method
CN106302021A (en) * 2016-08-18 2017-01-04 清华大学深圳研究生院 A kind of network flow forwards method for detecting abnormality
CN106656720A (en) * 2016-10-31 2017-05-10 上海斐讯数据通信技术有限公司 SDN-based IPv4 to IPv6 transition method and system
CN106789703A (en) * 2017-01-12 2017-05-31 上海斐讯数据通信技术有限公司 A kind of traffic policing algorithm based on SDN frameworks
CN106789654A (en) * 2017-02-07 2017-05-31 上海斐讯数据通信技术有限公司 The traffic scheduling method and system of the SP+WRR based on SDN
CN115314447A (en) * 2021-05-08 2022-11-08 中国科学院声学研究所 Method and system for processing packet-in message in SDN environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997010A (en) * 2006-06-28 2007-07-11 华为技术有限公司 An implementation method for packet filtering
CN103326884A (en) * 2013-05-30 2013-09-25 烽火通信科技股份有限公司 Service flow aware system and method combining flow detection and package detection in SDN
CN103595647A (en) * 2013-11-27 2014-02-19 北京邮电大学 OpenFlow-based downlink signaling processing method for SDN (Software Defined Network) virtualization platform
CN103607348A (en) * 2013-11-27 2014-02-26 北京邮电大学 Virtual network flow classifying method based on OpenFlow protocol
CN103746892A (en) * 2013-11-27 2014-04-23 北京邮电大学 SDN virtualization platform uplink signaling flow label processing method based on OpenFlow

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997010A (en) * 2006-06-28 2007-07-11 华为技术有限公司 An implementation method for packet filtering
CN103326884A (en) * 2013-05-30 2013-09-25 烽火通信科技股份有限公司 Service flow aware system and method combining flow detection and package detection in SDN
CN103595647A (en) * 2013-11-27 2014-02-19 北京邮电大学 OpenFlow-based downlink signaling processing method for SDN (Software Defined Network) virtualization platform
CN103607348A (en) * 2013-11-27 2014-02-26 北京邮电大学 Virtual network flow classifying method based on OpenFlow protocol
CN103746892A (en) * 2013-11-27 2014-04-23 北京邮电大学 SDN virtualization platform uplink signaling flow label processing method based on OpenFlow

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376158A (en) * 2015-10-12 2016-03-02 上海斐讯数据通信技术有限公司 SDN circulation method and device based on EXP value in MPLS message
CN105376158B (en) * 2015-10-12 2018-04-27 上海斐讯数据通信技术有限公司 SDN circulation methods and its device based on EXP values in MPLS messages
CN105656814A (en) * 2016-02-03 2016-06-08 浪潮(北京)电子信息产业有限公司 SDN (Software-Defined Network) forwarding system and method
CN105656814B (en) * 2016-02-03 2019-01-01 浪潮(北京)电子信息产业有限公司 A kind of SDN network repeater system and method
CN106302021A (en) * 2016-08-18 2017-01-04 清华大学深圳研究生院 A kind of network flow forwards method for detecting abnormality
CN106302021B (en) * 2016-08-18 2020-03-31 清华大学深圳研究生院 Network flow forwarding abnormity detection method
CN106656720A (en) * 2016-10-31 2017-05-10 上海斐讯数据通信技术有限公司 SDN-based IPv4 to IPv6 transition method and system
CN106789703A (en) * 2017-01-12 2017-05-31 上海斐讯数据通信技术有限公司 A kind of traffic policing algorithm based on SDN frameworks
CN106789654A (en) * 2017-02-07 2017-05-31 上海斐讯数据通信技术有限公司 The traffic scheduling method and system of the SP+WRR based on SDN
CN115314447A (en) * 2021-05-08 2022-11-08 中国科学院声学研究所 Method and system for processing packet-in message in SDN environment
CN115314447B (en) * 2021-05-08 2024-03-26 中国科学院声学研究所 Packet-in message processing method and system in SDN environment

Similar Documents

Publication Publication Date Title
CN104734994A (en) Traffic label control method based on SDN (software-defined network) frame
CN104618194B (en) Software defined network monitoring messages method and SDN controllers, switching equipment
CN103685009B (en) Data packet processing method and system as well as controller
EP2100406B1 (en) Method and apparatus for implementing multicast routing
CN102301663B (en) Message processing method and associated devices
WO2018136422A3 (en) Techniques for handling internet protocol flows in a layer 2 architecture of a wireless device
CN108353029A (en) For managing the method and system for calculating the data service in network
CN107079017B (en) Message conversion method and device
CN102136989B (en) Message transmission method, system and equipment
CN107801249A (en) The resource allocation methods and its equipment and system of wireless communication system
CN104272684A (en) Dynamic service insertion in a fabric switch
CN110290093A (en) The SD-WAN network architecture and network-building method, message forwarding method
CN110224934A (en) A kind of method and device carrying out Message processing using unified SR label stack
CN108512758A (en) Message processing method, controller and forwarding unit
CN103227752A (en) Method and device for realizing policy routing in Ethernet switch chip
CN103036788A (en) Implementation method of multi-interface gateway equipment data transmitting
CN106341333B (en) Applied to the packet loss position method and apparatus in VXLAN
CN104486244B (en) A kind of execution method and device of QoS policy
WO2021088813A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
CN104980368A (en) Bandwidth guarantee method and apparatus in software defined network (SDN)
CN100377550C (en) Routing table next-hop IP address to MAC address analytic method
CN104754521B (en) A kind of message forwarding method, wireless access point, wireless controller and system
CN110290072A (en) Flow control methods, device, the network equipment and storage medium
CN107370654A (en) A kind of encapsulation, de-encapsulation method and the relevant apparatus of pseudo-wire data message
CN105284083A (en) OpenFlow device and IP network device communication method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150624