CN104767720A - OpenFlow message tracking and filtering method in software defined network - Google Patents

OpenFlow message tracking and filtering method in software defined network Download PDF

Info

Publication number
CN104767720A
CN104767720A CN201410007439.7A CN201410007439A CN104767720A CN 104767720 A CN104767720 A CN 104767720A CN 201410007439 A CN201410007439 A CN 201410007439A CN 104767720 A CN104767720 A CN 104767720A
Authority
CN
China
Prior art keywords
message
traceid
controller
switch
openflow
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
CN201410007439.7A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410007439.7A priority Critical patent/CN104767720A/en
Priority to PCT/CN2014/083089 priority patent/WO2015103869A1/en
Publication of CN104767720A publication Critical patent/CN104767720A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/20Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Abstract

The invention discloses an OpenFlow message tracking and filtering method in software defined network. When a controller interacts with a switch, the controller or switch carries a trace ID in an initiated OpenFlow message; and when the controller or switch receives the OpenFlow message with the Trace ID, a response message of the OpenFlow message or other messages triggered by the OpenFlow message carry(s) the same Trace ID. The method breaks through in present OpenFlow protocols, tagged words are defined in the message between the controller and the switch to track or filter related OpenFlow information, convenient, effective and practical added values are provided for users, and better user experience is realized.

Description

A kind of method that in software defined network, OpenFlow message is followed the tracks of and filtered
Technical field
The present invention relates to communication network field, especially relate to the using method that in a kind of software defined network, OpenFlow message is followed the tracks of and filtered.
Background technology
OpenFlow agreement is Stanford Univ USA proposed a kind of forwarding/control separation agreement in 2008, external chain of command entity adopts OpenFlow protocol integrated test system to forward face equipment and realizes various forwarding logic, and to forward face equipment major function be exactly perform controlled forwarding according to the stream table that OpenFlow controller issues.The further evolution of OpenFlow agreement, becomes software defined network (Software Defined Network, SDN) technology, namely software programming can be adopted to realize the network application of various complexity at chain of command.
OpenFlow agreement supports three kinds of information types: Controller-to-Switch(controller is to switch), Asynchronous(asynchronous message) and Symmetric(synchronization message), each type has multiple subtype.Controller-to-Switch information is initiated by controller, and be directly used in and detect the state in forwarding face, specifically have Feature(characteristic message), Configuration(configuration messages), Modify-State(amendment stream table message), Read-State(reads statistical message), Packet-out(bag output message), Barrier(identification message), Role-Request(character request message), Asychronous-Configuration(asynchronous configuration message).Asynchronous information is initiated by forwarding face, and be generally used for the network event of update controller and change the state of switch, specifically have Packet-In(to wrap input message), Flow-Removed(flows list deletion message), Port-status(port status message), Error message (error message).Symmetric information can be initiated by controller or the face of forwarding when not request, specifically have Hello(to greet message), Echo(echo-back message), Experimenter(realizes message).
Carry out with telephone net node the concept that instantiation forwards face in below describing.After controller switch establishes OpenFlow link, interacting message is between the two divided into relevant and relevant with agreement with forwarding.Protocol-dependent message (such as hello, Echo etc.) is mutual between controller and single switch.The message relevant with forwarding, may carry out between controller and multiple switch, such as, in the process of Packet forwarding, controller can give multiple switch downstream table, the path between the source address of such guarantee bag and destination address on forward-path.Single switch, by the message of Asynchronous information reporting, may relate to forwarding, such as Packet-In message.Even if the status message that single switch reports, such as Port-status or Error message, also can regard as and forward relevant, affect generation and the renewal in the path of Packet forwarding.
In order to business diagnosis or fault location, may need to obtain interacting messages (the stream table information of all switches such as involved by a forward-path) all between controller and switch, each reporting message for switch may be needed to follow the tracks of and add up.At present according to OpenFlow agreement, for the message between controller and switch, cannot defined feature word, cannot realize for there being the OpenFlow information of correlation to carry out following the tracks of or filtering.
Summary of the invention
The present invention be directed in SDN, propose a kind of method that in software defined network, OpenFlow message is followed the tracks of and filtered, solve the mode of having carried out message screening and message tracking between the two.
The tracking of OpenFlow message and a filter method in software defined network SDN, the method comprises:
When carrying out mutual between controller and switch, controller or switch carry TraceID in the OpenFlow message initiated;
Described controller or switch, after receiving the OpenFlow message of carrying described TraceID, also carry same described TraceID in the response message of this OpenFlow message or in other message of this OpenFlow message trigger.
Preferably, described method also comprises:
Described TraceID is placed between described OpenFlow message header and message ending or is placed on described OpenFlow message ending;
Described TraceID is 64 or 128;
When described TraceID is 64, the random value of the hash value generated by ID and 32 forms;
When described TraceID is 128, be made up of the random value of ID and 64.
Preferably, described method also comprises:
The step that controller or switch carry TraceID in the OpenFlow message initiated comprises:
When switch is initiated, switch sends the bag input Packet-In message of carrying TraceID to controller;
Described controller or switch after receiving the OpenFlow message of carrying described TraceID, in the response message of this OpenFlow message or the step of also carrying same described TraceID in other message of this OpenFlow message trigger comprise:
After described controller receives the Packet-In message of carrying TraceID, described controller sends the amendment stream table Modify-State message of carrying same TraceID to all switches, and described controller carries switch from the OpenFlow message of described TraceID to transmission sends the bag output Packet-Out message of carrying same TraceID.
Preferably, described method also comprises:
The step that controller or switch carry TraceID in the OpenFlow message initiated comprises:
When message initiated by controller, controller sends statistics request of the reading Read-State Req message of carrying TraceID to switch;
Described controller or switch after receiving the OpenFlow message of carrying described TraceID, in the response message of this OpenFlow message or the step of also carrying same described TraceID in other message of this OpenFlow message trigger comprise:
After described switch receives the Read-State Req message of carrying TraceID, described switch sends the statistics of reading of carrying same TraceID to described controller and replys Read-State Resp message;
After described controller receives the Read-State Resp message of carrying TraceID, periodically send the Read-State Req message of carrying same TraceID to all switches.
Preferably, described method also comprises:
When switch carries TraceID in the OpenFlow message initiated, generate the DPID that described TraceID ID used is switch;
When controller carries TraceID in the OpenFlow message initiated, generate the ID that described TraceID ID used is controller.
In order to solve the problem, the invention provides the device that OpenFlow message in a kind of software defined network SDN is followed the tracks of and filtered, in the controller being applied to described SDN and switch, comprise:
Adding module, during for carrying out mutual between controller and switch, in the OpenFlow message that the controller at place or switch are initiated, carrying TraceID;
Feedback module, for after the controller at place or switch receive the OpenFlow message of carrying described TraceID, also carries same described TraceID in the response message of this OpenFlow message or in other information of this OpenFlow message trigger.
Preferably, described device also has following characteristics:
Described TraceID is placed between described OpenFlow message header and message ending or is placed on described OpenFlow message ending by described interpolation module and described feedback module respectively;
Described device also comprises: generation module;
Described TraceID is 64 or 128;
Described generation module is used for when described TraceID is 64, and the hash value generate ID and the random value of 32 form described TraceID;
Described generation module is used for, when described TraceID is 128, the random value of ID and 64 being formed described TraceID.
Preferably, described device also has following characteristics:
Described interpolation module, during for carrying out mutual between controller and switch, carrying TraceID in the OpenFlow message that the controller at place or switch are initiated and referring to:
Described interpolation module, for when switch is initiated, the switch at place inputs in Packet-In message to the bag that controller sends and carries TraceID;
Described feedback module, for after the controller at place or switch receive the OpenFlow message of carrying described TraceID, also carry same described TraceID in the response message of this OpenFlow message or in other information of this OpenFlow message trigger and refer to:
Described feedback module, for receive when the controller at place carry TraceID Packet-In message after, carry same TraceID in the amendment stream table Modify-State message that controller at place sends to all switches, the bag that the switch carrying the OpenFlow message of described TraceID at place controller to transmission sends exports in Packet-Out message and carries same TraceID.
Preferably, described device also has following characteristics:
Described interpolation module, during for carrying out mutual between controller and switch, carrying TraceID in the OpenFlow message that the controller at place or switch are initiated and referring to:
Described interpolation module, for when message initiated by the controller at place, carries TraceID in statistics request of the reading Read-State Req message that place controller sends to switch;
Described feedback module, for after the controller at place or switch receive the OpenFlow message of carrying described TraceID, also carry same described TraceID in the response message of this OpenFlow message or in other information of this OpenFlow message trigger and refer to:
Described feedback module, for receive when the switch at place carry TraceID Read-State Req message after, the switch at place carries same TraceID to reading of sending of controller in statistics response Read-State Resp message; After the controller at place receives the Read-State Resp message of carrying TraceID, in the Read-State Req message that controller described in place periodically sends to all switches, carry same TraceID.
Preferably, described device also has following characteristics:
The switch of described generation module when place carries in the OpenFlow message initiated, and generates the DPID that described TraceID ID used is switch; When the controller at place carries TraceID in the OpenFlow message initiated, generate the ID that described TraceID ID used is controller.
To sum up, adopt the method for the invention and device, there is following beneficial effect:
Compared to prior art, the method that in software defined network of the present invention, OpenFlow message is followed the tracks of and filtered and device, breach the limitation in existing OpenFlow agreement, by defined feature word in the message between controller and switch, the OpenFlow information achieved for pertinence carries out following the tracks of or filtering, and brings convenience effective, practical added value and good Consumer's Experience to user.
Accompanying drawing explanation
Figure 1 shows that the schematic diagram of existing SDN;
Figure 2 shows that the schematic diagram of SDN controller and switch OpenFlow link setup;
Figure 3 shows that SDN Packet forwarding switch OpenFlow message interaction process schematic diagram of the present invention;
Figure 4 shows that SDN Packet forwarding chain of command of the present invention and the mutual schematic diagram of switch;
Figure 5 shows that SDN controller of the present invention inquiry switch statistic data OpenFlow message schematic diagram;
Figure 6 shows that SDN controller of the present invention inquiry switch statistic data schematic diagram;
Figure 7 shows that the OpenFlow message structure figure of prior art;
Figure 8 shows that the OpenFlow message structure figure after invention increases TraceID;
Figure 9 shows that the flow chart of the method that OpenFlow message is followed the tracks of and filtered in software defined network in embodiment of the present invention;
Figure 10 shows that the Organization Chart of the device that OpenFlow message is followed the tracks of and filtered in software defined network in embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail.
Show the basic network Organization Chart in existing SDN solution in Fig. 1, be made up of controller and switch, main frame hangs over below switch.
Fig. 2 is the message interaction process setting up link between software defined network middle controller and switch, and interacting message is the process of request and response.
As shown in Figure 9, the invention provides a kind of method that in software defined network, OpenFlow message is followed the tracks of and filtered, the method comprises:
S101: when carrying out mutual between controller and switch, controller or switch carry TraceID in the OpenFlow message initiated;
In the message that controller or switch are independently initiated, increase a TraceID.Except setting up except the message of link between controller and switch, other message initiatively initiated by controller or switch can bring TraceID.
When controller and switch establish the link time, controller and switch can be consulted whether to support TraceID.Either party does not support TraceID, does not affect the process to this message.Controller and switch initiatively can initiate the OpenFlow message being with TraceID.
The placement location of TraceID, can be, but not limited to be placed between OpenFlow message header and message ending or is placed on OpenFlow message ending.
The figure place of TraceID can be 64 or 128;
When TraceID is 64, the random value of the hash value generated by ID and 32 forms;
When TraceID is 128, be made up of the random value of ID and 64.
The existing similarity of things xid in TraceID and OpenFlow agreement in message header Header, also has different places.Xid be used in request and corresponding between, and generally different for there is no xid, xid between the message of things correlation.And TraceID is for even without agreement correlation, but there is the message of business correlation, TraceID can be kept the same, like this can according to TraceID as the condition of filtering and follow the tracks of.Xid is 32 simultaneously, not necessarily need the whole network unique, but TraceID needs the whole network unique.The generating mode of TraceID is 64 or 128.Select 64 or 128, the balance mainly between the expense of system and uniqueness.
Generating mode for TraceID:
When switch initiates message, switch sends the bag input Packet-In message of carrying TraceID to controller; Generate data path mark (datapathID, DPID) that TraceID ID used is switch; If the message initiated by switch carries TraceID, can be unique by the DPID(of switch) calculate generation.
When message initiated by controller, controller sends statistics request of the reading Read-State Req message of carrying TraceID to switch; Generate the ID that TraceID ID used is controller.If the message initiated by chain of command carries TraceID, can be configured by chain of command and calculate generation.
S102: controller or switch, after receiving the OpenFlow message of carrying TraceID, also carry same TraceID in the response message of this OpenFlow message or in other message of this OpenFlow message trigger.
In the message independently initiated at controller or switch by above-mentioned steps, increase a TraceID.This step, in the response message of controller or switch or in other related news triggered, can bring this TraceID.
When switch initiates message, after controller receives the Packet-In message of carrying TraceID, controller sends the amendment stream table Modify-State message of carrying same TraceID to all switches, and controller carries switch from the OpenFlow message of TraceID to transmission sends the bag output Packet-Out message of carrying same TraceID.
When message initiated by controller, after switch receives the Read-State Req message of carrying TraceID, switch sends the statistics of reading of carrying same TraceID to controller and replys Read-State Resp message; After controller receives the Read-State Resp message of carrying TraceID, periodically send the Read-State Req message of carrying same TraceID to all switches.
In said method, by defined feature word in the message between controller and switch, the OpenFlow information achieved for relevant property carries out following the tracks of or filtering.The OpenFlow information achieved for pertinence carries out following the tracks of or filtering, and brings convenience effective, practical added value and good Consumer's Experience to user.
The mode simultaneously increasing TraceID need not as the necessary functions of system, can as the miscellaneous function of system.Can not use at ordinary times, when needs use, can be opened by command mode, not the normal function of influential system.After opening TraceID function, do message at controller or switch place and follow the tracks of or do message screening, can with TraceID as tagged word or filter condition.
For realizing above method, present invention also offers the device that in a kind of software defined network, OpenFlow message is followed the tracks of and filtered, as shown in Figure 10, this device comprises interpolation module, feedback module and generation module, wherein,
Adding module, during for carrying out mutual between controller and switch, in the OpenFlow message that the controller at place or switch are initiated, carrying TraceID;
TraceID is placed between OpenFlow message header and message ending or is placed on OpenFlow message ending by interpolation module and feedback module respectively;
Add module, for when switch is initiated, the switch at place inputs in Packet-In message to the bag that controller sends and carries TraceID;
Add module, for when message initiated by the controller at place, in statistics request of the reading Read-State Req message that place controller sends to switch, carry TraceID.
Device also comprises: generation module;
TraceID is 64 or 128;
Generation module is used for when TraceID is 64, and the hash value generate ID and the random value of 32 form TraceID;
Generation module is used for when TraceID is 128, by the random value of ID and 64 composition TraceID.
The switch of generation module when place carries in the OpenFlow message initiated, and generates the DPID that TraceID ID used is switch; When the controller at place carries TraceID in the OpenFlow message initiated, generate the ID that TraceID ID used is controller.
Feedback module, for after the controller at place or switch receive the OpenFlow message of carrying TraceID, also carries same TraceID in the response message of this OpenFlow message or in other information of this OpenFlow message trigger.
Feedback module, for receive when the controller at place carry TraceID Packet-In message after, carry same TraceID in the amendment stream table Modify-State message that controller at place sends to all switches, the bag that the switch carrying the OpenFlow message of TraceID at place controller to transmission sends exports in Packet-Out message and carries same TraceID.
Feedback module, for receive when the switch at place carry TraceID Read-State Req message after, the switch at place carries same TraceID to reading of sending of controller in statistics response Read-State Resp message; After the controller at place receives the Read-State Resp message of carrying TraceID, in the Read-State Req message that place controller periodically sends to all switches, carry same TraceID.
Other functions of this device please refer to the description of method content.
Embodiment one, Fig. 3, Fig. 4 are the message interaction process that switch carries out forwarding.In this process, the tagged word of TraceID as service interaction can be increased.
Concrete operating procedure is as described below:
S301: when switch receives a bag time, can look into this locality has and does not have corresponding transmitting.If had, just according to transmitting forwarding.If no, switch issues controller by Packet-In message by needing the bag (or part bag content) forwarded.If now TraceID function is opened, exchange opportunity generates a unique TraceID, and is encapsulated in Packet-In message and gives controller.The message format of traditional OpenFlow agreement is as shown in Figure 7: be made up of message header and message body, message header comprises version number, type of message and things number.Add the OpenFlow message of TraceID as shown in Figure 8, wherein TraceID is placed between message header and message body.Certain placement location not necessarily between message body and message body, also will can be placed on message ending.If being configured to is the TraceID of 64, TraceID is with the DPID(64 position in this forwarding face) random value of the hash value+32 of 32 that generates generates, and this random value can be generate after system electrification, incrementally changes.If be configured to the TraceID of 128, TraceID generates with the random value of the DPID+64 position in this forwarding face, and this random value can be generate after system electrification, incrementally changes.
S302: after controller receives Packet-In message, generates Packet forwarding path (comprising the forwarding flow table of each node in path) according to the network topological information that this locality is preserved.Controller by Modify message stream table under to each switch in path.Later switch will forward this stream according to stream list item.Because the forwarding of each telephone net node is relevant with this flow forwarding, therefore controller can bring same TraceID giving in the Modify message that issues of each telephone net node, first Packet-In namely in S301 flow process with TraceID.After respective switch node receives stream list item, after the bag receiving the forwarding of previous telephone net node, also can forward according to forwarding rule and continue this stream of forwarding, until bag of this stream arrives destination.
S403: controller receive first switch on the Packet-In message sent, issue Packet-Out message also can initiatively to this Packet of this switch, this mainly controller notice the forwarding how switch carries out this bag.Controller can bring same TraceID in Packet-Out message, first Packet-In namely in S301 flow process with TraceID.
Above three processes, by same TraceID, achieve the repeating process characterizing same stream with TraceID.If filter with TraceID or follow the tracks of, the OpenFlow message with correlation can be filtered out.
Embodiment two, Fig. 5, Fig. 6 are the process that chain of command is added up switch.In this process, the tagged word of TraceID as service interaction can be increased.
Concrete operating procedure is as described below:
S501: controller can be added up telephone net node.Statistical message is carried out for different switch, can manual triggers, also can automatically trigger.Triggered time point can point at one time, also can initiate in different time points.If controller needs association for the statistics of different switch, in the Read-State message that can send to switch, carry same TraceID.The message format of traditional OpenFlow agreement is as shown in Figure 7: be made up of message header and message body, message header comprises version number, type of message and things number.Add the OpenFlow message of TraceID as shown in Figure 7, wherein TraceID is placed between message header and message body.Certain placement location not necessarily between message body and message body, also can will prevent at message ending.TraceID can be made up of ID+ random value.ID can be configured to 64 on the controller.If TraceID is 128, can be made up of the random number of ID+64 position; If TraceID is 64, can be made up of the random value of the hash value of ID (32)+32.Ensure that TraceID is unique.
S502: after each switch receives the statistics request of controller, can send statistics response message to controller.If carry TraceID in the request message of controller, switch supports TraceID again, can carry in response message controller send statistics request in same TraceID.TraceID in the statistical message of replying at switch is like this same.
If controller needs to add up switch, same TraceID can be carried in the Read-State message periodically sent.
Above process, by same TraceID, achieves controller carries out statistical message association to one group of telephone net node.If filtered with TraceID, the OpenFlow message with correlation can be filtered out.
The inventive method and device, compared to prior art, breach the limitation in existing OpenFlow agreement, by defined feature word in the message between controller and switch, the OpenFlow information achieved for pertinence carries out following the tracks of or filtering, and brings convenience effective, practical added value and good Consumer's Experience to user.
Controller function in above scheme can any have on all network equipments such as the server of computing capability or controller realize, such as X86 server; The function in forwarding face can any have on the server of routing function or all network equipments such as router or switch realize, such as X86 server, the general switch etc. of enhancing.
Certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection range that all should belong to the claim appended by the present invention.

Claims (10)

1. the tracking of OpenFlow message and a method for filtration in software defined network SDN, it is characterized in that, the method comprises:
When carrying out mutual between controller and switch, controller or switch carry in the OpenFlow message initiated follows the tracks of mark TraceID;
Described controller or switch, after receiving the OpenFlow message of carrying described TraceID, also carry same described TraceID in the response message of this OpenFlow message or in other message of this OpenFlow message trigger.
2. the method for claim 1, is characterized in that,
Described TraceID is placed between described OpenFlow message header and message ending or is placed on described OpenFlow message ending;
Described TraceID is 64 or 128;
When described TraceID is 64, the random value of the hash value generated by ID and 32 forms;
When described TraceID is 128, be made up of the random value of ID and 64.
3. method as claimed in claim 1 or 2, is characterized in that,
The step that controller or switch carry TraceID in the OpenFlow message initiated comprises:
When switch is initiated, switch sends the bag input Packet-In message of carrying TraceID to controller;
Described controller or switch after receiving the OpenFlow message of carrying described TraceID, in the response message of this OpenFlow message or the step of also carrying same described TraceID in other message of this OpenFlow message trigger comprise:
After described controller receives the Packet-In message of carrying TraceID, described controller sends the amendment stream table Modify-State message of carrying same TraceID to all switches, and described controller carries switch from the OpenFlow message of described TraceID to transmission sends the bag output Packet-Out message of carrying same TraceID.
4. method as claimed in claim 1 or 2, is characterized in that,
The step that controller or switch carry TraceID in the OpenFlow message initiated comprises:
When message initiated by controller, controller sends statistics request of the reading Read-State Req message of carrying TraceID to switch;
Described controller or switch after receiving the OpenFlow message of carrying described TraceID, in the response message of this OpenFlow message or the step of also carrying same described TraceID in other message of this OpenFlow message trigger comprise:
After described switch receives the Read-State Req message of carrying TraceID, described switch sends the statistics of reading of carrying same TraceID to described controller and replys Read-State Resp message;
After described controller receives the Read-State Resp message of carrying TraceID, periodically send the Read-State Req message of carrying same TraceID to all switches.
5. method as claimed in claim 2, is characterized in that,
When switch carries TraceID in the OpenFlow message initiated, generate the DPID that described TraceID ID used is switch;
When controller carries TraceID in the OpenFlow message initiated, generate the ID that described TraceID ID used is controller.
6. the tracking of OpenFlow message and a device for filtration in software defined network SDN, in the controller being applied to described SDN and switch, is characterized in that, comprising:
Adding module, during for carrying out mutual between controller and switch, in the OpenFlow message that the controller at place or switch are initiated, carrying TraceID;
Feedback module, for after the controller at place or switch receive the OpenFlow message of carrying described TraceID, also carries same described TraceID in the response message of this OpenFlow message or in other information of this OpenFlow message trigger.
7. device as claimed in claim 6, is characterized in that,
Described TraceID is placed between described OpenFlow message header and message ending or is placed on described OpenFlow message ending by described interpolation module and described feedback module respectively;
Described device also comprises: generation module;
Described TraceID is 64 or 128;
Described generation module is used for when described TraceID is 64, and the hash value generate ID and the random value of 32 form described TraceID;
Described generation module is used for, when described TraceID is 128, the random value of ID and 64 being formed described TraceID.
8. device as claimed in claims 6 or 7, is characterized in that,
Described interpolation module, during for carrying out mutual between controller and switch, carrying TraceID in the OpenFlow message that the controller at place or switch are initiated and referring to:
Described interpolation module, for when switch is initiated, the switch at place inputs in Packet-In message to the bag that controller sends and carries TraceID;
Described feedback module, for after the controller at place or switch receive the OpenFlow message of carrying described TraceID, also carry same described TraceID in the response message of this OpenFlow message or in other information of this OpenFlow message trigger and refer to:
Described feedback module, for receive when the controller at place carry TraceID Packet-In message after, carry same TraceID in the amendment stream table Modify-State message that controller at place sends to all switches, the bag that the switch carrying the OpenFlow message of described TraceID at place controller to transmission sends exports in Packet-Out message and carries same TraceID.
9. device as claimed in claims 6 or 7, is characterized in that,
Described interpolation module, during for carrying out mutual between controller and switch, carrying TraceID in the OpenFlow message that the controller at place or switch are initiated and referring to:
Described interpolation module, for when message initiated by the controller at place, carries TraceID in statistics request of the reading Read-State Req message that place controller sends to switch;
Described feedback module, for after the controller at place or switch receive the OpenFlow message of carrying described TraceID, also carry same described TraceID in the response message of this OpenFlow message or in other information of this OpenFlow message trigger and refer to:
Described feedback module, for receive when the switch at place carry TraceID Read-State Req message after, the switch at place carries same TraceID to reading of sending of controller in statistics response Read-State Resp message; After the controller at place receives the Read-State Resp message of carrying TraceID, in the Read-State Req message that controller described in place periodically sends to all switches, carry same TraceID.
10. method as claimed in claim 7, is characterized in that,
The switch of described generation module when place carries in the OpenFlow message initiated, and generates the DPID that described TraceID ID used is switch; When the controller at place carries TraceID in the OpenFlow message initiated, generate the ID that described TraceID ID used is controller.
CN201410007439.7A 2014-01-08 2014-01-08 OpenFlow message tracking and filtering method in software defined network Pending CN104767720A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410007439.7A CN104767720A (en) 2014-01-08 2014-01-08 OpenFlow message tracking and filtering method in software defined network
PCT/CN2014/083089 WO2015103869A1 (en) 2014-01-08 2014-07-25 Method for tracing and filtering openflow message in software defined network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410007439.7A CN104767720A (en) 2014-01-08 2014-01-08 OpenFlow message tracking and filtering method in software defined network

Publications (1)

Publication Number Publication Date
CN104767720A true CN104767720A (en) 2015-07-08

Family

ID=53523515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410007439.7A Pending CN104767720A (en) 2014-01-08 2014-01-08 OpenFlow message tracking and filtering method in software defined network

Country Status (2)

Country Link
CN (1) CN104767720A (en)
WO (1) WO2015103869A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357450A (en) * 2016-09-29 2017-01-25 全球能源互联网研究院 Method for mapping asynchronous information of OpenFlow protocol
CN107968754A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 Flow table issuance method, method of reseptance, controller, interchanger and repeater system
CN109644158A (en) * 2016-06-01 2019-04-16 华为技术有限公司 Distinguish the software defined network system of message inbound message
CN112262553A (en) * 2018-06-13 2021-01-22 瑞典爱立信有限公司 Apparatus and method for tracking packets in a packet processing pipeline of a software defined network switch

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010103909A1 (en) * 2009-03-09 2010-09-16 日本電気株式会社 OpenFlow COMMUNICATION SYSTEM AND OpenFlow COMMUNICATION METHOD
CN102594697A (en) * 2012-02-21 2012-07-18 华为技术有限公司 Load balancing method and device
CN103209121A (en) * 2013-03-15 2013-07-17 中兴通讯股份有限公司 Discovery method and device based on Open Flow protocol for control plane device
CN103250392A (en) * 2010-12-09 2013-08-14 日本电气株式会社 Computer system, controller, and network monitoring method
CN103379039A (en) * 2012-04-23 2013-10-30 华为技术有限公司 Method, device and system for flow statistics

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010103909A1 (en) * 2009-03-09 2010-09-16 日本電気株式会社 OpenFlow COMMUNICATION SYSTEM AND OpenFlow COMMUNICATION METHOD
CN103250392A (en) * 2010-12-09 2013-08-14 日本电气株式会社 Computer system, controller, and network monitoring method
CN102594697A (en) * 2012-02-21 2012-07-18 华为技术有限公司 Load balancing method and device
CN103379039A (en) * 2012-04-23 2013-10-30 华为技术有限公司 Method, device and system for flow statistics
CN103209121A (en) * 2013-03-15 2013-07-17 中兴通讯股份有限公司 Discovery method and device based on Open Flow protocol for control plane device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109644158A (en) * 2016-06-01 2019-04-16 华为技术有限公司 Distinguish the software defined network system of message inbound message
CN109644158B (en) * 2016-06-01 2020-12-25 华为技术有限公司 Software defined network system for distinguishing message entering message
US10931576B2 (en) 2016-06-01 2021-02-23 Huawei Technologies Co., Ltd. Software defined networking system for distinguishing packet-in messages
CN106357450A (en) * 2016-09-29 2017-01-25 全球能源互联网研究院 Method for mapping asynchronous information of OpenFlow protocol
CN106357450B (en) * 2016-09-29 2021-09-03 全球能源互联网研究院 OpenFlow protocol asynchronous message mapping method
CN107968754A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 Flow table issuance method, method of reseptance, controller, interchanger and repeater system
CN107968754B (en) * 2016-10-19 2021-08-06 中兴通讯股份有限公司 Flow table issuing method, receiving method, controller, switch and forwarding system
CN112262553A (en) * 2018-06-13 2021-01-22 瑞典爱立信有限公司 Apparatus and method for tracking packets in a packet processing pipeline of a software defined network switch
CN112262553B (en) * 2018-06-13 2022-09-16 瑞典爱立信有限公司 Apparatus and method for tracking packets in a packet processing pipeline of a software defined network switch

Also Published As

Publication number Publication date
WO2015103869A1 (en) 2015-07-16

Similar Documents

Publication Publication Date Title
CN102823205B (en) Aggregating data traffic from access domains
TWI548239B (en) Openflow switch and method for packet exchanging thereof, sdn controller and data flow control method thereof
US20160087873A1 (en) Network Topology Discovery Method and System
WO2014153967A1 (en) Method, apparatus and system for configuring flow table in openflow network
EP3039830B1 (en) Network switching systems and methods
EP2911355B1 (en) Method and device for flow path negotiation in link aggregation group
WO2015032026A1 (en) Link discovery method, sdn controller and device
CN104243270A (en) Tunnel setup method and tunnel setup device
WO2018233580A1 (en) Method, controller and system for establishing forwarding path in network
KR20140106235A (en) Open-flow switch and packet manageing method thereof
KR102025680B1 (en) SDN based ARP implementation method and device
CN109660442A (en) The method and device of multicast replication in Overlay network
CN102821099B (en) Message forwarding method, equipment and system
CN104092684A (en) Method and device for supporting VPN based on OpenFlow protocol
US10567180B2 (en) Method for multicast packet transmission in software defined networks
CN104767720A (en) OpenFlow message tracking and filtering method in software defined network
CN103825826A (en) Method and device for implementing dynamic routing
WO2018219103A1 (en) Method and device for determining link state
WO2016062067A1 (en) User message forwarding control method and processing node
WO2014075594A1 (en) Service transmission protection method and device based on intersecting ring of multi-ring structure network
WO2019041944A1 (en) Method and apparatus for processing packets
KR20220160639A (en) Message interaction methods, devices, facilities and storage media
CN101155148B (en) Method, system and device for media gateway issuing and receiving multicast data
CN106375222A (en) Multicast line switching method for annular networking and equipment
CN104320322A (en) Message control method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150708

RJ01 Rejection of invention patent application after publication