CN107306193A - Switch ports themselves information sensing method, device and terminal device based on SDN - Google Patents
Switch ports themselves information sensing method, device and terminal device based on SDN Download PDFInfo
- Publication number
- CN107306193A CN107306193A CN201610241280.4A CN201610241280A CN107306193A CN 107306193 A CN107306193 A CN 107306193A CN 201610241280 A CN201610241280 A CN 201610241280A CN 107306193 A CN107306193 A CN 107306193A
- Authority
- CN
- China
- Prior art keywords
- port
- information
- tunnel
- interchanger
- aggregation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/253—Routing or path finding in a switch fabric using establishment or release of connections between ports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention proposes a kind of switch ports themselves information sensing method, device and terminal device based on SDN.Wherein, method includes:The logical port information that desampler is sent by port synchronization message, wherein, logical port information includes:Extended field information for accessing SDN;Logic port is controlled accordingly according to the logic port in logical port information aware switch, and according to application demand.Flexible perception and application of the controller to switch logic port information are the method achieve, and configuration is simple, transformation is convenient, and practicality is high.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of switch ports themselves information sensing method based on SDN,
Device and terminal device.
Background technology
SDN (Software Defined Network, software defined network) is the hot spot technology of present communications area research.
SDN includes the C (Controller, controller) of chain of command and SW (Switch, interchanger) two parts structure of forwarding surface
Into.According to the definition of current SDN technologies, control instruction is issued by OPENFLOW agreements between controller and interchanger,
To instruct the forwarding data flow on interchanger.
At present, divided according to whether compatible traditional switch processes mode, support the exchange of OPENFLOW agreements
Machine can be divided into two kinds of OPENFLOW-Only and OPENFLOW-Hybrid (mixing).OPENFLOW-Only is handed over
Change planes and only support OPENFLOW pile line operations.OPENFLOW-Hybrid interchangers not only support OPENFLOW to flow
Waterline is operated, and also supports traditional Ethernet exchanging to operate.However, above-mentioned OPENFLOW-Hybrid interchangers may have
Section ports are not added in SDN domains, and under the prospect that the continuous upgrade expanding of SDN, networking may be adjusted,
The logic port for having the non-SDN domains of OPENFLOW-Hybrid interchangers changes and is controlled by the controller with adding SDN domains, connect
Demand scene.
In correlation technique, in order to meet the complicated business demand of SDN, OPENFLOW agreements describe interchanger branch
Hold TUNNEL tunnel faces, LAG (Link Aggregation Group, link aggregation group) aggregation port, LOOPBACK rings
The logical end relevant information such as answer back.However, OPENFLOW agreements these logical port informations are not described specifically should be how
Transmitted between controller and interchanger.I.e. existing OPENFLOW agreements do not provide specific to the application of logic port
Description and support, so as to cause many demands in SDN to be to realize under current agreement.
Therefore, a kind of side for enabling the controller to the increasingly complex information type of perception and the more detailed information content is needed badly
Method so that for different business demands, the logical port information that controller is perceived is variable, expansible.
The content of the invention
Present invention aims at least solve one of above-mentioned technical problem to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of switch ports themselves information sensing method based on SDN,
Flexible perception and application of the controller to switch logic port information are the method achieve, and configuration is simple, transformation is convenient,
Practicality is high.
Second object of the present invention is to propose a kind of switch ports themselves information Perception device based on SDN.
Third object of the present invention is to propose a kind of terminal device.
For up to above-mentioned purpose, the switch ports themselves information sensing method bag based on SDN of first aspect present invention embodiment
Include following steps:The logical port information that desampler is sent by port synchronization message, wherein, the logical end message
Breath includes:Extended field information for accessing SDN;Perceived according to the logical port information in the interchanger
Logic port, and the logic port is controlled accordingly according to application demand.
Switch ports themselves information sensing method based on SDN according to embodiments of the present invention, desampler passes through port
The logical port information that synchronization message is sent, and the extended field information of access SDN in logical port information etc.
Logic port in aware switch, to be controlled accordingly logic port according to application demand.This method passes through logic
The logic port of interchanger is specifically described port information, with the logic according to the logical port information aware switch
Port, and support is provided for the demand of interchanger, controller is realized to the flexible perception of switch logic port information and is answered
With, and configuration is simple, transformation is convenient, and practicality is high.
In addition, in one embodiment of the invention, the extended field information for being used to access SDN, including:Patrol
Collect port number field, port type description field, port extra information field.
In one embodiment of the invention, the port type description field is aggregation port type, the desampler
The logical port information sent by port synchronization message, including:The polymerization that desampler is sent by port synchronization message
Add information in port;The logic port perceived according to the logical port information in the interchanger, and according to applying need
Ask and the logic port is controlled accordingly, including:The interchanger according to the aggregation port adds information Perception
Aggregation port, and set up the topological relation of the aggregation port;According to the topological relation of the aggregation port, polymeric chain is calculated
The forwarding cost and capability and performance on road, determine the switchover policy of service path.
In one embodiment of the invention, the aggregation port addition information includes:Aggregation scheme, physical member mouthful, when
Preceding member port, whether support quick detection, LACP detection cycles, load-sharing strategy.
In one embodiment of the invention, methods described also includes:The carrying aggregation port for receiving the interchanger transmission is cut
Change the message of state;The aggregation port switched on the interchanger is recognized, the forwarding strategy of service path is redefined.
In one embodiment of the invention, methods described also includes:Receive the carrying aggregation port event that the interchanger is sent
The message of barrier state;Recognize between the interchanger malfunction of aggregated links and delete the aggregated links, redefine
The forwarding strategy of service path.
In one embodiment of the invention, the port type description field is tunnel port type, the desampler
The logical port information sent by port synchronization message, including:The tunnel that desampler is sent by port synchronization message
Add information in port;The logic port perceived according to the logical port information in the interchanger, and according to applying need
Ask and the logic port is controlled accordingly, including:The interchanger according to the tunnel port adds information Perception
Tunnel port;O&M access node corresponding with the tunnel port is recognized by the addition information of the tunnel port, utilized
The tunnel port sets up O&M service channel;The service traffics of the interchanger are mirrored to by the O&M service channel
The O&M access node.
In one embodiment of the invention, the tunnel port addition information includes:Destination address, the VPN of tunnel port
Whether routing forwarding information, tunnel port support certification key, sequence number information.
In one embodiment of the invention, the addition information identification by the tunnel port and the tunnel port pair
The O&M access node answered, O&M service channel is set up using the tunnel port, including:According to the tunnel port whether
Certification key and sequence number inspection is supported to judge the security of the tunnel port;If the tunnel port safety, is recognized
O&M access node safety corresponding with the tunnel port, and set up O&M service channel using the tunnel port.
For up to above-mentioned purpose, the switch ports themselves information Perception device based on SDN of second aspect of the present invention embodiment,
Including:Receiving module, the logical port information sent for desampler by port synchronization message, wherein, it is described to patrol
Collecting port information includes:Extended field information for accessing SDN;Control module, for according to the logic port
Logic port in interchanger described in information Perception, and the logic port is controlled accordingly according to application demand.
Switch ports themselves information Perception device based on SDN according to embodiments of the present invention, desampler passes through port
The logical port information that synchronization message is sent, and the extended field information of access SDN in logical port information etc.
Logic port in aware switch, to be controlled accordingly logic port according to application demand.The device passes through logic
The logic port of interchanger is specifically described port information, with the logic according to the logical port information aware switch
Port, and support is provided for the demand of interchanger, controller is realized to the flexible perception of switch logic port information and is answered
With, and configuration is simple, transformation is convenient, and practicality is high.
In addition, in one embodiment of the invention, the extended field information for being used to access SDN, including:Patrol
Collect port number field, port type description field, port extra information field.
In one embodiment of the invention, the port type description field be aggregation port type, the receiving module,
For:The aggregation port that desampler is sent by port synchronization message adds information;The control module includes:First
Unit is set up, for the aggregation port of the interchanger according to aggregation port addition information Perception, and the polymerization is set up
The topological relation of port;Determining unit, for the topological relation according to the aggregation port, calculates the forwarding generation of aggregated links
Valency and capability and performance, determine the switchover policy of service path.
In one embodiment of the invention, the aggregation port addition information includes:Aggregation scheme, physical member mouthful, when
Preceding member port, whether support quick detection, LACP detection cycles, load-sharing strategy.
In one embodiment of the invention, the receiving module, is additionally operable to receive the carrying polymerization end that the interchanger is sent
The message of mouth switching state;First determining module, for recognizing the aggregation port switched on the interchanger, again really
Determine the forwarding strategy of service path.
In one embodiment of the invention, the receiving module, is additionally operable to receive the carrying polymerization end that the interchanger is sent
The message of mouth malfunction;Second determining module, for recognizing the malfunction of aggregated links and deletion between the interchanger
The aggregated links, redefines the forwarding strategy of service path.
In one embodiment of the invention, the port type description field be tunnel port type, the receiving module,
For:The tunnel port that desampler is sent by port synchronization message adds information;The control module includes:Perceive
Unit, the tunnel port for the interchanger according to tunnel port addition information Perception;Second sets up unit, is used for
The identification of addition information and the tunnel by the tunnel port
The corresponding O&M access node in road port, O&M service channel is set up using the tunnel port;Mirror image unit, is used for
The service traffics of the interchanger are mirrored to the O&M access node by the O&M service channel.
In one embodiment of the invention, the tunnel port addition information includes:Destination address, the VPN of tunnel port
Whether routing forwarding information, tunnel port support certification key, sequence number information.
In one embodiment of the invention, described second unit is set up, be used for:Whether certification is supported according to the tunnel port
Key and sequence number inspection judge the security of the tunnel port;If the tunnel port safety, identification and the tunnel
The corresponding O&M access node safety in road port, and set up O&M service channel using the tunnel port.
For up to above-mentioned purpose, the terminal device of third aspect present invention embodiment, including:Housing, processor, memory,
Circuit board and power circuit, wherein, the circuit board is placed in the interior volume that the housing is surrounded, the processor and institute
Memory is stated to be arranged on the circuit board;The power circuit, for being powered for each circuit or device of terminal device;
The memory is used to store executable program code;The processor is by reading the executable journey stored in the memory
Sequence code runs program corresponding with the executable program code, for performing following steps:
The logical port information that desampler is sent by port synchronization message, wherein, the logical port information includes:
Extended field information for accessing SDN;
Logic port in the interchanger is perceived according to the logical port information, and according to application demand to the logical end
Mouth is controlled accordingly.
Terminal device according to embodiments of the present invention, the logical port information that desampler is sent by port synchronization message,
And the logic port in the aware switch such as the extended field information of access SDN in logical port information, with root
Logic port is controlled accordingly according to application demand.The terminal device passes through logical end of the logical port information to interchanger
Mouth is specifically described, with the logic port according to the logical port information aware switch, and is carried for the demand of interchanger
For support, flexible perception and application of the controller to switch logic port information are realized, and configuration is simple, transformation is convenient,
Practicality is high.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will become bright from the following description
It is aobvious, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will be apparent from the following description of the accompanying drawings of embodiments
Be readily appreciated that, wherein,
Fig. 1 is the flow chart of the switch ports themselves information sensing method according to an embodiment of the invention based on SDN;
Fig. 2 is the flow of the switch ports themselves information sensing method based on SDN according to a specific embodiment of the invention
Figure;
Fig. 3 is the flow of the switch ports themselves information sensing method in accordance with another embodiment of the present invention based on SDN
Figure;
Fig. 4 is the flow of the switch ports themselves information sensing method based on SDN according to another embodiment of the invention
Figure;
Fig. 5 is the method schematic of control aggregation port according to embodiments of the present invention;
Fig. 6 is the flow chart of the method for control aggregation port according to embodiments of the present invention;
Fig. 7 is the flow of the switch ports themselves information sensing method based on SDN according to further embodiment of the present invention
Figure;
Fig. 8 is the schematic diagram of the method for control tunnel port according to embodiments of the present invention;
Fig. 9 is the flow chart of the method for control tunnel port according to embodiments of the present invention;
Figure 10 is that the structure of the switch ports themselves information Perception device according to an embodiment of the invention based on SDN is shown
It is intended to;
Figure 11 is the knot of the switch ports themselves information Perception device based on SDN according to a specific embodiment of the invention
Structure schematic diagram;
Figure 12 is the structure of the switch ports themselves information Perception device in accordance with another embodiment of the present invention based on SDN
Schematic diagram;
Figure 13 is the structure of the switch ports themselves information Perception device based on SDN according to another embodiment of the invention
Schematic diagram;And
Figure 14 is the structure of the switch ports themselves information Perception device based on SDN according to further embodiment of the present invention
Schematic diagram.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein identical from beginning to end
Or similar label represents same or similar element or the element with same or like function.Retouched below with reference to accompanying drawing
The embodiment stated is exemplary, it is intended to for explaining the present invention, and be not considered as limiting the invention.
Below with reference to the accompanying drawings be described in detail the embodiment of the present invention the switch ports themselves information sensing method based on SDN,
Device and terminal device.
Fig. 1 is the flow chart of the switch ports themselves information sensing method according to an embodiment of the invention based on SDN.
As shown in figure 1, being somebody's turn to do the switch ports themselves information sensing method based on SDN includes:
S110, the logical port information that desampler is sent by port synchronization message, wherein, logical port information includes:
Extended field information for accessing SDN.
It is appreciated that in order to which the existing logic port of interchanger is added into SDN, to realize in SDN environment
Under to interchanger control, it is necessary to be configured accordingly to a variety of logic ports on interchanger, such as to UNNEL tunnels
The logic ports such as road port, LAG aggregation ports, LOOPBACK loopbacks mouthful are configured.Thus, in order to realize to hand over
The configuration of logic port on changing planes is, it is necessary to obtain the logical port information of interchanger.
Specifically, can the logical port information that is sent by port synchronization message of desampler, such as can desampler lead to
Cross the logical port information for the OFPT_PORT_STATUS message carrying that OPENFLOW agreements are reported.
Wherein, above-mentioned logical port information includes the extended field information for being used to access SDN, and the extended field information is protected
The logic port demonstrate,proved on interchanger can be by access SDN, and the extended field information may include logical port number word
Section, port type description field, port extra information field etc..
In order to which the port synchronization message and logical port information in the present embodiment are clearly illustrated, below with table 1-
Table 5, is illustrated to port synchronization message and the specific data structure of logical port information etc., in this example,
Port synchronization message is carried with OFPT_PORT_STATUS fields, and logical port information is defined with ofp_port fields,
It is described as follows:
First, as shown in table 1, port synchronization message OFPT_PORT_STATUS data structure may include to logic
The definition field struct ofp_port desc of port information, the field is to define logical port information.
Table 1
Further, as shown in table 2, the ofp_port logical port informations include the extended field information of access SDN,
The extended field information can include the various information of logic port, such as may include in logic port field information, such as table 2
The range of port number (0xffffff00~0xfffffff8) retained defined in ofp_port logical port informations is used to represent logic port
Number etc..
Table 2
In addition, as shown in Table 3 and Table 4, above-mentioned logical port information may include port type description field, in this example,
Definition, description logic port type field are extended to logic port attribute description field properties
Ofp_port_desc_prop_type enumerated value, increase TUNNEL tunnel ports, LAG aggregation ports, LOOPBACK
The new implication such as loopback port.
Table 3
Table 4
Further, the extended field information may include port extra information field, be patrolled in the example with the definition of TLV forms
Collect the additional information of port.
Table 5
S120, is carried out according to the logic port in logical port information aware switch, and according to application demand to logic port
Corresponding control.
Specifically, the logic port in the logical port information aware switch of acquisition, with according to application demand to logic
Port is controlled accordingly.Such as current application demand is the switching of the service path under aggregated links, then according to interchanger
Middle related logical port information carries out control of corresponding service path switching etc..
It is appreciated that the logic port for the logical port information aware switch for passing through acquisition, to obtain in specific applied field
It is related to the specific descriptions of logic port in scape, and respective support is provided for it, it is full to realize to the specific control of logic port
The corresponding scene demand of foot.
In summary, the switch ports themselves information sensing method based on SDN of the embodiment of the present invention, desampler leads to
Cross the logical port information that port synchronization message is sent, and the extended field of the access SDN in logical port information
Logic port in the aware switch such as information, to be controlled accordingly logic port according to application demand.This method is led to
Cross logical port information the logic port of interchanger is specifically described, with according to the logical port information aware switch
Logic port, and provide support for the demand of interchanger, realize flexible sense of the controller to switch logic port information
Know and apply, and configuration is simple, transformation is convenient, and practicality is high.
Because in actual application scenarios, the logic port of interchanger has diversity, such as, the port of interchanger can be with
It is the logic ports such as TUNNEL tunnel ports, LAG aggregation ports, LOOPBACK loopbacks mouthful, it is therefore, above-mentioned to patrolling
The method that volume port is controlled is according to the different and different of concrete application demand.In order to clearly illustrate the embodiment of the present invention
Switch ports themselves information sensing method based on SDN, below using logic port as aggregation port type and tunnel port class
It is illustrated exemplified by type.
First, it is specifically described, is described as follows so that the logic port is aggregation port as an example:
Fig. 2 is the flow of the switch ports themselves information sensing method based on SDN according to a specific embodiment of the invention
Figure, as shown in Fig. 2 being somebody's turn to do the switch ports themselves information sensing method based on SDN includes:
S210, the aggregation port that desampler is sent by port synchronization message adds information.
Wherein, as shown in table 6, aggregation port addition message may include aggregation scheme, physical member mouthful, current membership mouthful,
Whether quick detection, LACP detection cycle, load-sharing strategy etc. are supported.
Table 6
S220, the aggregation port of information Perception interchanger is added according to aggregation port, and sets up the topological relation of aggregation port.
Specifically, after the aggregation port of information Perception interchanger is added according to aggregation port, topology probe message can be issued,
It is corresponding aggregation port building topology relation according to the specific result of detection of the message.
S230, according to the topological relation of aggregation port, calculates the forwarding cost and capability and performance of aggregated links, determines business road
The switchover policy in footpath.
Specifically, after the topological relation of aggregation port is set up, according to the aggregation port addition information measuring and calculating polymeric chain perceived
The forwarding cost and capability and performance on road, to determine the switchover policy of service path.
For example, when the interchanger of building topology relation is interchanger SW1 and SW2, then according to the above-mentioned friendship perceived
The forwarding cost and capability and performance of the addition information measuring and calculating SW1-SW2 aggregated links for the aggregation port changed planes, it is assumed that current
The results of measuring of SW1-SW2 aggregated links is better than original SW1-SW3 aggregated links, it is determined that service path is switched to
In SW1-SW2 aggregated links.
To sum up, the switch ports themselves information sensing method based on SDN of the embodiment of the present invention, desampler passes through end
The aggregation port addition information that mouth synchronization message is sent, the aggregation port of information Perception interchanger is added according to aggregation port, and
The topological relation of aggregation port is set up, and according to the topological relation of aggregation port, calculates the forwarding cost and quality of aggregated links
Performance, determines the switchover policy of service path.The optimal switching of the service path of aggregated links is realized, further increase
Should switch ports themselves information sensing method based on SDN practicality.
Based on above-described embodiment, when aggregated links port because current logic port failure etc. switch when, both link ends
Exchange opportunity real-time report currently go out to connect port information, so as to trigger the forwarding strategy for re-starting path.
Specifically, Fig. 3 is the switch ports themselves information Perception side in accordance with another embodiment of the present invention based on SDN
The flow chart of method, as shown in figure 3, being somebody's turn to do the switch ports themselves information sensing method based on SDN includes:
S310, the message for the carrying aggregation port switching state that desampler is sent.
For example, the feelings that switch are needed if member's aggregation port that interchanger detects current aggregated links breaks down etc.
Condition, then report the message for carrying aggregation port switching state.
The aggregation port switched on S320, identification switch, redefines the forwarding strategy of service path.
Now, because the connection exclusive port between the interchanger of building topology relation needs switching, therefore the topology is not changed
Relation, the then aggregation port switched on identification switch redefines the forwarding strategy of service path.
In summary, the switch ports themselves information sensing method based on SDN of the embodiment of the present invention, desampler hair
The message for the carrying aggregation port switching state sent;The aggregation port switched on identification switch, redefines business road
The forwarding strategy in footpath.It is new to determine so as to when the connectivity port of aggregated links needs switching, redefine forwarding strategy
Connectivity port, further increases the practicality of the switch ports themselves information sensing method based on SDN.
Based on above-described embodiment, when all aggregation ports of the interchanger of building topology relation break down, exchange
Chance reporting fault status message, triggering deletes current aggregated links to rescan network topology, redefines turning for path
Hair strategy.
Fig. 4 is the flow of the switch ports themselves information sensing method based on SDN according to another embodiment of the invention
Figure, as shown in figure 4, being somebody's turn to do the switch ports themselves information sensing method based on SDN includes:
S410, the message for the carrying aggregation port malfunction that desampler is sent.
Specifically, when all aggregation ports of the member switch in aggregated links break down, then show current
Aggregated links can not realize the functions such as the forwarding of flow, therefore report the message of aggregation port malfunction.
The malfunction of aggregated links and aggregated links is deleted between S420, identification switch, redefine turning for service path
Hair strategy.
Specifically, according to the malfunction between the message identification switch for carrying aggregation port malfunction, by the poly- of foundation
Close port to be deleted, redefine the forwarding strategy of service path, such as service switching can be returned to original aggregated links,
All interchangers that service path is not related to update the business information such as flow table and group table.
In summary, the switch ports themselves information sensing method based on SDN of the embodiment of the present invention, desampler hair
The message for the carrying aggregation port malfunction sent;The malfunction of aggregated links and aggregated links is deleted between identification switch,
To redefine the forwarding strategy of service path.When aggregation port of this method in aggregated links breaks down, delete current
Aggregated links, and redefine the forwarding strategy of service path, further improve the interchanger based on SDN
The practicality of port information cognitive method.
In order that must be clearer to the description of the switch ports themselves information sensing method embodiment based on SDN, tie below
Fig. 5 and Fig. 6 is closed to say the workflow progress example of the switch ports themselves information sensing method embodiment based on SDN
It is bright.In the example illustrated by Fig. 5, control switch logic port is controller controller, logic port
It is aggregation port type, the interchanger of building topology relation is aggregation port on SW1 and SW2, and interchanger with LAG
Port is labeled, and the physical port on interchanger is labeled with Physical Port.It is described as follows:
Fig. 5 is the method schematic of control aggregation port according to embodiments of the present invention, as shown in figure 5, SW1 first and
Itself aggregation port LAG Port 1 and LAG Port 2 are configured addition SDN domains by SW2 interchangers respectively, are passed through
OFPT_PORT_STATUS ports synchronization message reports aggregation port to add information.When controller gets new interchanger
Logic port, issues LLDP topology probe messages, according to the LLDP Topology Discoveries of aggregation port, the LAG Port for being SW1
The 1 and SW2 building topology relations of LAG Port 2.
And then, when the aggregation port topological relation between SW1 and SW2 is set up, controller adds according to the aggregation port perceived
Plus the forwarding cost and capability and performance of information measuring and calculating SW1-SW2 aggregated links.Assuming that the measuring and calculating knot of SW1-SW2 aggregated links
Fruit is better than SW1-SW3 aggregated links, then controller selection is (false by the service traffics operated in former SW1-SW3 aggregated links
It is set to purpose network 1.1.1.0/24 flow), it is switched to new SW1-SW2 aggregated links.
So as to, controller is that SW1 and SW2 renewals issue flow table and group table, for purpose network 1.1.1.0/24 flow,
Instruct SW1 to be forwarded using exit port LAG Port 1, instruct SW2 to be received using inbound port LAG Port 2,
Forwarded using exit port Physical Port 1.
In addition, when member's outgoing interface of SW1-SW2 aggregated links switches, two ends exchange machine passes through
The current of OFPT_PORT_STATUS ports synchronization message real-time report change goes out to connect port information, and trigger controller is again
Determine the forwarding strategy in path.
When all member ports of SW1-SW2 aggregated links break down, two ends exchange machine passes through
OFPT_PORT_STATUS ports synchronization message reporting port malfunction, trigger controller deletes SW1-SW2 polymeric chains
Road, rescans network topology, and service traffics switch back into SW1-SW3 aggregated links.
In order to further describe the method for controlling aggregation port of the embodiment of the present invention in detail, illustrate, scheme with reference to Fig. 6
6 be the flow chart of the method for control aggregation port according to embodiments of the present invention, corresponding with Fig. 5, in figure 6, is set up
The interchanger of topological relation is SW1 and SW2, and the aggregation port of interchanger is marked with LAG, and aggregated links uses LACP
Agreement carries out the polymerization of aggregated links.As shown in fig. 6, the method for the control aggregation port includes:
Step 601a:Existing logical aggregate mouthful LAG 1 is added in SDN domains on SW1 interchangers, and SW1 can be sent
Aggregation scheme, thing are included in OFPT_PORT_STATUS ports synchronization message, notice aggregation port addition event, message
Manage member port, current membership mouthful, whether support the aggregation ports such as quick detection, LACP detection cycles, load-sharing strategy
Add information.
Controller recognizes OFPT_PORT_STATUS ports synchronization message, and ofp_port_desc_prop_type field values are
OFPPDPT_LAGPORT (0x5), it is LAG aggregation ports to represent description type, continues to parse TLV forms below
Field, preserves all information of logic port, and uses OFPT_PACKET_OUT message, notifies LAG 1 on SW1
Do LLDP topology probes in port.SW2 logic port not yet configures addition SDN domains when therefore, SW1 and SW2 it
Between aggregation port topological relation not yet set up
Step 601b:Existing logical aggregate port LAG 2 is added in SDN domains on SW2 interchangers, similarly, control
Device can also recognize OFPT_PORT_STATUS message, preserve logical port information and send LLDP topology probes.Subsequently,
The discovery result of LLDP topology probes can report controller.
Step 602:Aggregation port topological relation between SW1 and SW2 is set up, and trigger controller carries out cutting for service path
Change the measuring and calculating of strategy:I.e. according to physical member's port band width, the load-sharing strategy of two ends aggregation port, aggregation port link is calculated
Forwarding cost, according to aggregation scheme, whether support quick detection, LACP detection cycles, judge aggregation port link
In capability and performance, the routing algorithm that result is applied to many aggregated links.
Step 603:Assuming that the result of calculation of SW1-SW2 aggregated links is better than SW1-SW3 aggregated links, purpose network
1.1.1.0/24 service traffics need to be switched to new SW1-SW2 aggregated links by former SW1-SW3 aggregated links.Control
Device is that the interchanger that all forward-paths change updates flow table and group table, the flow for instructing purpose network 1.1.1.0/24
Forwarding.
Step 604a:SW1 receives purpose network 1.1.1.0/24 message, according to the matched rule of multilevel flow table, selects
SW2 aggregation port LAG 1 is connected, SW2 interchangers are forwarded the packet to.
Step 604b:SW2 receives purpose network 1.1.1.0/24 message, similarly according to the matched rule of multilevel flow table,
SW4 is forwarded the packet to, the message forwarding of SW1-SW2 aggregation port links is completed.
Step 605:Assuming that SW1 is polymerize with SW2 aggregated links using LACP protocol dynamics, if LACP heartbeats are examined
Survey or BFD quick detections find that current membership mouthful is broken down, then two ends exchange machine renegotiates replacing current membership port,
OFPT_PORT_STATUS ports synchronization message is almost reported simultaneously, carries the message of aggregation port switching state.
Controller receives OFPT_PORT_STATUS ports synchronization message, because the port status of aggregation port is constant,
LLDP topological relations are constant, therefore only carry out the forwarding cost of SW1-SW2 aggregated links to redefine turning for service path
Hair strategy.Assuming that still less than SW1-SW3 aggregated links business does not occur for the forwarding cost of SW1-SW2 aggregated links then
The switching in path.
Step 606:If LACP heartbeat detections or BFD quick detections find that all member ports break down, two ends
Interchanger almost reports OFPT_PORT_STATUS ports synchronization message, the state field description port failures of message simultaneously
State.
Step 607:Controller recognizes the malfunction of aggregated links, and SW1-SW2 topological relation is deleted, and redefines industry
The forwarding strategy in business path, service traffics are switched back into former SW1-SW3 aggregated links, are the institute that forward-path changes
There is interchanger to update flow table and group table.
Step 608:LACP heartbeat detections or BFD quick detections on SW1-SW2 aggregation port links recover normal, SW1
OFPT_PORT_STATUS ports synchronization message, notification controller fault recovery are reported with SW2 simultaneously.More than repeating
602-604 normal steps.
Secondly, the friendship based on SDN of the embodiment of the present invention is illustrated so that the logic port is tunnel port type as an example
Change planes port information cognitive method, the tunnel port that the embodiment is mainly described outside SDN networkings is added in SDN,
And using the tunnel building O&M service channel of existing interchanger, the embodiment of the control method of distal end business traffic mirroring is realized,
It is described as follows:
Fig. 7 is the flow of the switch ports themselves information sensing method based on SDN according to further embodiment of the present invention
Figure, as shown in fig. 7, being somebody's turn to do the switch ports themselves information sensing method based on SDN includes:
S710, the tunnel port that desampler is sent by port synchronization message adds information.
Specifically, as shown in table 7, tunnel port addition information can be destination address, the VPN routing forwardings of tunnel port
Whether information, tunnel port support certification key, sequence number information etc..
Table 7
S720, the tunnel port of information Perception interchanger is added according to tunnel port.
S730, recognizes O&M access node corresponding with tunnel port by the addition information of tunnel port, utilizes tunnel port
Set up O&M service channel.
Specifically, certification key and sequence number inspection whether can be supported to judge the security of tunnel port according to tunnel port.
If tunnel port is safe, O&M access node safety corresponding with tunnel port is recognized, and build using tunnel port
Vertical O&M service channel.
The service traffics of interchanger are mirrored to O&M access node by S740 by O&M service channel.
Specifically, the service traffics of interchanger are mirrored to O&M access node by O&M service channel, taken with matching distal end
Business.
In order that must be clearer to the description of the switch ports themselves information sensing method embodiment based on SDN, tie below
Fig. 8 and Fig. 9 is closed to say the workflow progress example of the switch ports themselves information sensing method embodiment based on SDN
It is bright.In the example illustrated by Fig. 8, logic port is tunnel port type, represents tunnel in this example with GRE
Road port, control switch logic port is controller controller, and the tunnel port number on interchanger is with Tunnel Port
It is labeled, interchanger is labeled with SW1.It is described as follows:
Fig. 8 is the schematic diagram of the method for control tunnel port according to embodiments of the present invention, as shown in figure 8, SW1 interchangers
The overseas gre tunneling port Tunnel Port 1 of SDN are configured into addition SDN domains, pass through OFPT_PORT_STATUS
Port synchronization message reports tunnel port to add information.Destination address, VPN routing forwarding letter of the controller according to tunnel port
Whether the business roles of the identification remote equipment such as breath, support certification key, sequence number information etc. to judge tunnel according to tunnel port
Security.
If far-end address is identified as the available O&M access node of safety, controller utilizes existing interchanger tunnel end
Mouth sets up O&M service channel.
And then, interchanger where procotol that controller is used according to O&M business, protocol port number are tunnel port is issued
Flow table rule, guides the service request message of distal end to be unsealed by interchanger on after tunnel information and send controller to handle, guide control
The business response message that device is replied is packaged transmission by interchanger gre tunneling mouthful.
When the Business Stream mirror request that distal end is initiated by controller receives (so-called distal end traffic mirroring function, the friendship that will be specified
The specified services flow changed planes on node, is mirrored to distal end O&M node, such as long-range packet capturing), then controller is specified for business
Interchanger issue flow table rule, guide target flow be forwarded to distant-end node through gre tunneling.
For the method for the control tunnel port that further describes the embodiment of the present invention in detail, carried out with reference to Fig. 9 further
Explanation.It is corresponding with Fig. 8, interchanger is represented with SW in this example, GRE represents tunnel port, with Tunnel Port tables
Show port numbers of tunnel port etc..Fig. 9 is the flow chart of the method for control tunnel port according to embodiments of the present invention, is such as schemed
Shown in 9, the method for the control tunnel port includes:
Step 901:The overseas gre tunneling port Tunnel Port 1 of SDN are configured addition SDN domains by SW1 interchangers,
Added and carried in information, notice port addition event, message by OFPT_PORT_STATUS information reportings tunnel port
The information such as source address, destination address, "VPN routing and forwarding (VRF) instance, the certification key in tunnel.
Step 902:The gre tunneling end of TLV forms in the synchronization message of controller identification OFPT_PORT_STATUS ports
Mouth addition information, the business roles of remote equipment are recognized according to information such as the destination address in tunnel, "VPN routing and forwarding (VRF) instance,
The information such as certification key, sequence number inspection, verification and inspection whether are supported to judge the security in tunnel according to tunnel.
Information is added according to above-mentioned tunnel port, far-end address is identified as the available O&M access node of safety, controller to
O&M business open network agreement, protocol port number, interchanger where being tunnel port issue flow table, specify tunnel decapsulation
Distal end service request message afterwards sets up O&M business by sending controller to be handled in OFPT_PACKET_IN message
Passage.
Step 903:Controller is that distal end O&M access node issues access permission certificate, and certificate message is passed through
OFPT_PACKET_OUT message issues interchanger, and it is gre tunneling port to specify exit port, and certificate is completed by interchanger
The tunnel encapsulation and outgoing of message.
Step 904:SW1 interchangers where gre tunneling port, are specified according in OFPT_PACKET_OUT message
Tunnel exit port, complete gre tunneling encapsulation, the O&M access node of distal end is sent to outside.
The O&M access node of distal end receives message by gre tunneling, unseals tunnel header, obtains SDN controllers and issues
The access permission certificate of cloth.
Step 905:The O&M access node of distal end sends the Business Stream inquiry request of SDN, carries certificate information, leads to
Gre tunneling is crossed to send to SW1 interchangers.
Step 906:SW1 interchangers unseal channel message, the flow table rule issued according to controller, will meet O&M network
The service request message of agreement, protocol port number, by sending controller to be handled in OFPT_PACKET_IN message.
Step 907:Controller responds the Business Stream inquiry request of distal end O&M access node, and Query Result is passed through
OFPT_PACKET_OUT message issues SW1 interchangers, and it is gre tunneling port to specify exit port.
Step 908:SW1 interchangers, according to the gre tunneling exit port specified in OFPT_PACKET_OUT message,
The encapsulation of tunnel information is completed, the O&M access node of distal end is sent to outside.
Step 909:The O&M access node of distal end specifies selection to need mirror image according to the flow Query Result of return by user
Flow, such as SW2 interchanger purposes network is mirrored to distant-end node for 1.1.1.0/24 service traffics.
Step 910:SW1 interchangers unseal channel message, by OFPT_PACKET_IN message by the traffic mirroring of distal end
Controller is sent to be handled on request message.
Step 911:Controller is that SW1 and SW2 interchangers issue flow table rule according to the request target of distal end traffic mirroring,
The forwarding of guiding mirror flow.
Step 912:SW2 interchangers, according to flow table rule, are the service traffics increase mirror image that purpose network is 1.1.1.0/24
Processing (modification heading, stamp special identifier, be forwarded to SW1 interchangers).
Step 913:SW1 interchangers pass through gre tunneling according to flow table rule, message of the identification with mirror image special identifier
Encapsulation forwarding.
Step 914:The O&M node deblocking tunnel header of distal end, obtains the service traffics being mirrored.
In summary, the switch ports themselves information sensing method based on SDN of the embodiment of the present invention, desampler leads to
The tunnel port addition information that port synchronization message is sent is crossed, the tunnel port of information Perception interchanger is added according to tunnel port,
And O&M access node corresponding with tunnel port is recognized by the addition information of tunnel port, set up O&M using tunnel port
Service channel, so that the service traffics of interchanger are mirrored into O&M access node by O&M service channel.This method passes through
Port synchronization message perceives newly-increased tunnel port addition information, and distally will be identified as O&M according to tunnel port addition information connects
Ingress, using existing interchanger tunnel building O&M service channel, realizes distal end business traffic mirroring, realizes controller
Flexible perception and application to switch logic port information, further increase the switch ports themselves letter based on SDN
Cease the practicality of cognitive method.
For up to above-mentioned purpose, the invention also provides a kind of switch ports themselves information Perception device based on SDN, figure
10 be the structural representation of the switch ports themselves information Perception device according to an embodiment of the invention based on SDN,
As shown in Figure 10, being somebody's turn to do the switch ports themselves information Perception device based on SDN includes:Receiving module 1010 and control mould
Block 1020.
Wherein, receiving module 1010 is used for the logical port information that desampler is sent by port synchronization message, wherein,
Logical port information includes:Extended field information for accessing SDN.
Specifically, receiving module 1010 can the logical port information that is sent by port synchronization message of desampler, such as may be used
The logical port information that the OFPT_PORT_STATUS message that desampler is reported by OPENFLOW agreements is carried.
Wherein, above-mentioned logical port information includes the extended field information for being used to access SDN, and the extended field information is protected
The logic port demonstrate,proved on interchanger can be by access SDN, and the extended field information may include logical port number word
Section, port type description field, port extra information field etc..
Control module 1020, for the logic port in logical port information aware switch, and according to application demand to logic
Port is controlled accordingly.
Specifically, control module 1020 is according to the logic port in the logical port information aware switch of acquisition, with according to should
Logic port is controlled accordingly with demand.Such as current application demand is the switching of the service path under aggregated links,
Control module 1020 then carries out control of corresponding service path switching etc. according to logical port information related in interchanger.
It is appreciated that the logic port for the logical port information aware switch that control module 1020 passes through acquisition, to obtain
It is related to the specific descriptions of logic port in specific application scenarios, and respective support is provided for it, has to realize to logic port
The control of body, meets corresponding scene demand.
In summary, the switch ports themselves information Perception device based on SDN of the embodiment of the present invention, desampler leads to
Cross the logical port information that port synchronization message is sent, and the extended field of the access SDN in logical port information
Logic port in the aware switch such as information, to be controlled accordingly logic port according to application demand.The device leads to
Cross logical port information the logic port of interchanger is specifically described, with according to the logical port information aware switch
Logic port, and provide support for the demand of interchanger, realize flexible sense of the controller to switch logic port information
Know and apply, and configuration is simple, transformation is convenient, and practicality is high.
Because in actual application scenarios, the logic port of interchanger has diversity, such as, the port of interchanger can be with
It is the logic ports such as TUNNEL tunnel ports, LAG aggregation ports, LOOPBACK loopbacks mouthful, it is therefore, above-mentioned to patrolling
The method that volume port is controlled is according to the different and different of concrete application demand.In order to clearly illustrate the embodiment of the present invention
Switch ports themselves information Perception device based on SDN, below using logic port as aggregation port type and tunnel port class
It is illustrated exemplified by type.
First, it is specifically described, is described as follows so that the logic port is aggregation port as an example:
Figure 11 is the knot of the switch ports themselves information Perception device based on SDN according to a specific embodiment of the invention
Structure schematic diagram, as shown in figure 11, on the basis of as shown in Figure 10, the control module 1020 sets up unit including first
1021 and determining unit 1022.
In an embodiment of the present invention, receiving module 1010 passes through gathering that port synchronization message is sent specifically for desampler
Close port addition information.
Wherein, aggregation port addition message may include aggregation scheme, physical member mouthful, current membership mouthful, whether support fast
Fast detection, LACP detection cycles, load-sharing strategy etc..
First sets up unit 1021, for adding the aggregation port of information Perception interchanger according to aggregation port, and sets up polymerization
The topological relation of port.
Specifically, when according to aggregation port add information Perception interchanger aggregation port after, first set up unit 1021 can under
Topology probe message is sent out, is corresponding aggregation port building topology relation according to the specific result of detection of the message.
Determining unit 1022, for the topological relation according to aggregation port, calculates the forwarding cost and capability and performance of aggregated links,
Determine the switchover policy of service path.
Specifically, after the topological relation of aggregation port is set up, determining unit 1022 is added according to the aggregation port perceived to be believed
The forwarding cost and capability and performance of breath measuring and calculating aggregated links, to determine the switchover policy of service path.
To sum up, the switch ports themselves information Perception device based on SDN of the embodiment of the present invention, desampler passes through end
The aggregation port addition information that mouth synchronization message is sent, the aggregation port of information Perception interchanger is added according to aggregation port, and
The topological relation of aggregation port is set up, and according to the topological relation of aggregation port, calculates the forwarding cost and quality of aggregated links
Performance, determines the switchover policy of service path.The arrangement achieves the optimal switching of the service path of aggregated links, further
The practicality for adding the switch ports themselves information Perception device based on SDN.
Based on above-described embodiment, when aggregated links port because current logic port failure etc. switch when, both link ends
Exchange opportunity real-time report currently go out to connect port information, so as to trigger the forwarding strategy for re-starting path.
Figure 12 is the structure of the switch ports themselves information Perception device in accordance with another embodiment of the present invention based on SDN
Schematic diagram, as shown in figure 12, should the switch ports themselves information Perception based on SDN on the basis of as shown in Figure 10
Device also includes:First determining module 1030.
Wherein, in an embodiment of the present invention, receiving module 1010, the carrying aggregation port sent for desampler is cut
Change the message of state.
For example, the feelings that switch are needed if member's aggregation port that interchanger detects current aggregated links breaks down etc.
The message of condition, then its carrying aggregation port switching state reported of the reception of receiving module 1010.
First determining module 1030, the aggregation port switched on identification switch redefines turning for service path
Hair strategy.
In summary, the switch ports themselves information Perception device based on SDN of the embodiment of the present invention, desampler hair
The message for the carrying aggregation port switching state sent;The aggregation port switched on identification switch, redefines business road
The forwarding strategy in footpath.It is new to determine so as to when the connectivity port of aggregated links needs switching, redefine forwarding strategy
Connectivity port, further increases the practicality of the switch ports themselves information Perception device based on SDN.
Based on above-described embodiment, when all aggregation ports of the interchanger of building topology relation break down, exchange
Chance reporting fault status message, triggering deletes current aggregated links to rescan network topology, redefines turning for path
Hair strategy.
Figure 13 is the structure of the switch ports themselves information Perception device based on SDN according to another embodiment of the invention
Schematic diagram, as shown in figure 13, should the switch ports themselves information Perception based on SDN on the basis of as shown in Figure 10
Device also includes:Second determining module 1040.
Wherein, in the present embodiment, receiving module 1010 is used for the carrying aggregation port malfunction that desampler is sent
Message.
Specifically, when all aggregation ports of the member switch in aggregated links break down, then show current
Aggregated links can not realize the functions such as the forwarding of flow, therefore receiving module 1010 receives the aggregation port malfunction that it is reported
Message.
Second determining module 1040, for aggregated links between identification switch malfunction and delete aggregated links, again
Determine the forwarding strategy of service path.
Specifically, the second determining module 1040 is according to the failure between the message identification switch for carrying aggregation port malfunction
State, the aggregation port of foundation is deleted, and redefines the forwarding strategy of service path, such as can be returned service switching
Aggregated links originally, all interchangers that service path is not related to update the business information such as flow table and group table.
In summary, the switch ports themselves information Perception device based on SDN of the embodiment of the present invention, desampler hair
The message for the carrying aggregation port malfunction sent;The malfunction of aggregated links and aggregated links is deleted between identification switch,
To redefine the forwarding strategy of service path.When aggregation port of this method in aggregated links breaks down, delete current
Aggregated links, and redefine the forwarding strategy of service path, further improve the interchanger based on SDN
The practicality of port information sensing device.
Secondly, the friendship based on SDN of the embodiment of the present invention is illustrated so that the logic port is tunnel port type as an example
Change planes port information sensing device, the tunnel port that the embodiment is mainly described outside SDN networkings is added in SDN,
And using the tunnel building O&M service channel of existing interchanger, realize the embodiment of the control of distal end business traffic mirroring, say
It is bright as follows:
Figure 14 is the structure of the switch ports themselves information Perception device based on SDN according to further embodiment of the present invention
Schematic diagram, as shown in figure 14, on the basis of as shown in Figure 10, control module 1020 includes:Perception unit 1023,
Second sets up unit 1024 and mirror image unit 1025.
Wherein, in an embodiment of the present invention, receiving unit 1010 is used for what desampler was sent by port synchronization message
Tunnel port adds information.
Specifically, tunnel port addition information can be the destination address of tunnel port, VPN routing forwardings information, tunnel end
Whether mouth supports certification key, sequence number information etc..
Unit 1023 is perceived, the tunnel port for adding information Perception interchanger according to tunnel port.
Second sets up unit 1024, recognizes that O&M access corresponding with tunnel port is saved for the addition information by tunnel port
Point, O&M service channel is set up using tunnel port.
Specifically, second set up whether unit 1024 can support certification key and sequence number inspection to judge tunnel according to tunnel port
The security of port.
If tunnel port is safe, second, which sets up unit 1024, then recognizes O&M access node safety corresponding with tunnel port,
And set up O&M service channel using tunnel port.
Mirror image unit 1025, for the service traffics of interchanger to be mirrored into O&M access node by O&M service channel.
Specifically, the service traffics of interchanger are mirrored to O&M access node by mirror image unit 1025 by O&M service channel,
To match remote service.
It should be noted that the switch ports themselves information Perception device embodiment based on SDN of the invention technical characteristic
With in the switch ports themselves information sensing method embodiment based on SDN technical characteristic correspond, therefore based on
The details not disclosed in the switch ports themselves information Perception device embodiment of SDN, with reference to the friendship based on SDN
The description for port information cognitive method embodiment of changing planes.
In summary, the switch ports themselves information Perception device based on SDN of the embodiment of the present invention, desampler leads to
The tunnel port addition information that port synchronization message is sent is crossed, the tunnel port of information Perception interchanger is added according to tunnel port,
And O&M access node corresponding with tunnel port is recognized by the addition information of tunnel port, set up O&M using tunnel port
Service channel, so that the service traffics of interchanger are mirrored into O&M access node by O&M service channel.The device passes through
Port synchronization message perceives newly-increased tunnel port addition information, and distally will be identified as O&M according to tunnel port addition information connects
Ingress, using existing interchanger tunnel building O&M service channel, realizes distal end business traffic mirroring, realizes controller
Flexible perception and application to switch logic port information, further increase the switch ports themselves letter based on SDN
Cease the practicality of sensing device.
In order to realize above-described embodiment, the invention also provides a kind of terminal device, including:Housing, processor, memory,
Circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memory are arranged on electricity
On the plate of road;Power circuit, for being powered for each circuit or device of terminal device;Memory is used to store executable program
Code;The executable program code that processor is stored by reading in memory runs journey corresponding with executable program code
Sequence, for performing following steps:
The logical port information that desampler is sent by port synchronization message, wherein, logical port information includes:For
Access the extended field information of SDN;
Logic port is carried out accordingly according to the logic port in logical port information aware switch, and according to application demand
Control.
It should be noted that the above-mentioned description for terminal device with reference to it is above-mentioned referring to figs. 1 to Fig. 9 to based on SDN
The function description of switch ports themselves information sensing method, its technical characteristic and the switch ports themselves information Perception based on SDN
The technical characteristic of method is corresponded, and will not be repeated here.
In summary, the terminal device of the embodiment of the present invention, the logic port that desampler is sent by port synchronization message
Logic port in information, and the aware switch such as the extended field information of access SDN in logical port information,
To be controlled accordingly logic port according to application demand.The terminal device is patrolled interchanger by logical port information
Collect port to be specifically described, with the logic port according to the logical port information aware switch, and be the need of interchanger
Offer support is provided, flexible perception and application of the controller to switch logic port information is realized, and configuration is simple, transformation
Convenient, practicality is high.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relatively important
Property or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be with
Express or implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two,
Such as two, three etc., unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " tool
The description of body example " or " some examples " etc. means to combine specific features, structure, material that the embodiment or example are described
Material or feature are contained at least one embodiment of the present invention or example.In this manual, to the signal of above-mentioned term
Property statement be necessarily directed to identical embodiment or example.Moreover, specific features, structure, material or the spy of description
Point can in an appropriate manner be combined in any one or more embodiments or example.In addition, in the case of not conflicting,
Those skilled in the art can be by the not be the same as Example described in this specification or the spy of example and non-be the same as Example or example
Levy and be combined and combine.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment be it is exemplary,
It is not considered as limiting the invention, one of ordinary skill in the art within the scope of the invention can be to above-described embodiment
It is changed, changes, replacing and modification.
Claims (19)
1. a kind of switch ports themselves information sensing method based on SDN, it is characterised in that comprise the following steps:
The logical port information that desampler is sent by port synchronization message, wherein, the logical port information includes:
Extended field information for accessing SDN;
Logic port in the interchanger is perceived according to the logical port information, and according to application demand to the logical end
Mouth is controlled accordingly.
2. the method as described in claim 1, it is characterised in that the extended field information for being used to access SDN,
Including:
Logical port number field, port type description field, port extra information field.
3. the method as described in claim 1, it is characterised in that the port type description field is aggregation port type,
The logical port information that the desampler is sent by port synchronization message, including:
The aggregation port that desampler is sent by port synchronization message adds information;
The logic port perceived according to the logical port information in the interchanger, and patrolled according to application demand described
Port is collected to be controlled accordingly, including:
The aggregation port of interchanger according to the aggregation port adds information Perception, and set up the topology of the aggregation port
Relation;
According to the topological relation of the aggregation port, calculate the forwarding cost and capability and performance of aggregated links, determine service path
Switchover policy.
4. method as claimed in claim 3, it is characterised in that the aggregation port addition information includes:
Aggregation scheme, physical member mouthful, current membership mouthful, whether support quick detection, LACP detection cycles, load point
Load strategy.
5. method as claimed in claim 3, it is characterised in that methods described also includes:
Receive the message for the carrying aggregation port switching state that the interchanger is sent;
The aggregation port switched on the interchanger is recognized, the forwarding strategy of service path is redefined.
6. method as claimed in claim 3, it is characterised in that methods described also includes:
Receive the message for the carrying aggregation port malfunction that the interchanger is sent;
Recognize between the interchanger malfunction of aggregated links and delete the aggregated links, redefine service path
Forwarding strategy.
7. method as claimed in claim 3, it is characterised in that the port type description field is tunnel port type,
The logical port information that the desampler is sent by port synchronization message, including:
The tunnel port that desampler is sent by port synchronization message adds information;
The logic port perceived according to the logical port information in the interchanger, and patrolled according to application demand described
Port is collected to be controlled accordingly, including:
The tunnel port of interchanger according to the tunnel port adds information Perception;
O&M access node corresponding with the tunnel port is recognized by the addition information of the tunnel port, the tunnel is utilized
O&M service channel is set up in road port;
The service traffics of the interchanger are mirrored to the O&M access node by the O&M service channel.
8. method as claimed in claim 7, it is characterised in that the tunnel port addition information includes:
Whether the destination address of tunnel port, VPN routing forwardings information, tunnel port support certification key, sequence number information.
9. method as claimed in claim 7, it is characterised in that the addition information identification by the tunnel port with
The corresponding O&M access node of the tunnel port, O&M service channel is set up using the tunnel port, including:
Certification key and sequence number inspection whether is supported to judge the security of the tunnel port according to the tunnel port;
If the tunnel port safety, O&M access node safety corresponding with the tunnel port is recognized, and utilize institute
State tunnel port and set up O&M service channel.
10. a kind of switch ports themselves information Perception device based on SDN, it is characterised in that including:
Receiving module, the logical port information sent for desampler by port synchronization message, wherein, the logic
Port information includes:Extended field information for accessing SDN;
Control module, for perceiving the logic port in the interchanger according to the logical port information, and according to applying need
Ask and the logic port is controlled accordingly.
11. device as claimed in claim 9, it is characterised in that the extended field information for being used to access SDN,
Including:
Logical port number field, port type description field, port extra information field.
12. device as claimed in claim 9, it is characterised in that the port type description field is aggregation port type,
The receiving module, is used for:
The aggregation port that desampler is sent by port synchronization message adds information;
The control module includes:
First sets up unit, for the aggregation port of the interchanger according to aggregation port addition information Perception, and sets up
The topological relation of the aggregation port;
Determining unit, for the topological relation according to the aggregation port, calculates the forwarding cost and capability and performance of aggregated links,
Determine the switchover policy of service path.
13. device as claimed in claim 12, it is characterised in that the aggregation port addition information includes:
Aggregation scheme, physical member mouthful, current membership mouthful, whether support quick detection, LACP detection cycles, load point
Load strategy.
14. device as claimed in claim 12, it is characterised in that
The receiving module, is additionally operable to receive the message for the carrying aggregation port switching state that the interchanger is sent;
First determining module, for recognizing the aggregation port switched on the interchanger, redefines turning for service path
Hair strategy.
15. device as claimed in claim 12, it is characterised in that
The receiving module, is additionally operable to receive the message for the carrying aggregation port malfunction that the interchanger is sent;
Second determining module, for recognizing between the interchanger malfunction of aggregated links and deleting the aggregated links,
Redefine the forwarding strategy of service path.
16. device as claimed in claim 12, it is characterised in that the port type description field is tunnel port type,
The receiving module, is used for:
The tunnel port that desampler is sent by port synchronization message adds information;
The control module includes:
Unit is perceived, the tunnel port for the interchanger according to tunnel port addition information Perception;
Second sets up unit, recognizes that O&M corresponding with the tunnel port connects for the addition information by the tunnel port
Ingress, O&M service channel is set up using the tunnel port;
Mirror image unit, is accessed for the service traffics of the interchanger to be mirrored into the O&M by the O&M service channel
Node.
17. device as claimed in claim 16, it is characterised in that the tunnel port addition information includes:
Whether the destination address of tunnel port, VPN routing forwardings information, tunnel port support certification key, sequence number information.
18. device as claimed in claim 16, it is characterised in that described second sets up unit, is used for:
Certification key and sequence number inspection whether is supported to judge the security of the tunnel port according to the tunnel port;
If the tunnel port safety, O&M access node safety corresponding with the tunnel port is recognized, and utilize institute
State tunnel port and set up O&M service channel.
19. a kind of terminal device, it is characterised in that including:Housing, processor, memory, circuit board and power circuit,
Wherein, the circuit board is placed in the interior volume that the housing is surrounded, and the processor and the memory are arranged on described
On circuit board;The power circuit, for being powered for each circuit or device of terminal device;The memory is used to store
Executable program code;The processor run by reading the executable program code stored in the memory with it is described
The corresponding program of executable program code, for performing following steps:
The logical port information that desampler is sent by port synchronization message, wherein, the logical port information includes:
Extended field information for accessing SDN;
Logic port in the interchanger is perceived according to the logical port information, and according to application demand to the logical end
Mouth is controlled accordingly.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610241280.4A CN107306193B (en) | 2016-04-18 | 2016-04-18 | Switch port information sensing method and device based on SDN network and terminal equipment |
PCT/CN2017/077550 WO2017181807A1 (en) | 2016-04-18 | 2017-03-21 | Sdn-based switch port information detection method, device, and terminal apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610241280.4A CN107306193B (en) | 2016-04-18 | 2016-04-18 | Switch port information sensing method and device based on SDN network and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107306193A true CN107306193A (en) | 2017-10-31 |
CN107306193B CN107306193B (en) | 2020-11-27 |
Family
ID=60116585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610241280.4A Active CN107306193B (en) | 2016-04-18 | 2016-04-18 | Switch port information sensing method and device based on SDN network and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107306193B (en) |
WO (1) | WO2017181807A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109194547A (en) * | 2018-09-29 | 2019-01-11 | 新华三技术有限公司 | Message transmitting method, device, local device and readable storage medium storing program for executing |
CN113660136A (en) * | 2021-08-12 | 2021-11-16 | 中国工商银行股份有限公司 | Method, device, equipment and storage medium for checking availability of ports of two-way switch |
CN114253197A (en) * | 2021-12-23 | 2022-03-29 | 浪潮思科网络科技有限公司 | SDN network-based power supply equipment management system, method, equipment and medium |
CN114253197B (en) * | 2021-12-23 | 2024-05-28 | 浪潮思科网络科技有限公司 | SDN network-based power supply equipment management system, method, equipment and medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108809849B (en) * | 2018-08-30 | 2022-07-29 | 新华三技术有限公司 | Flow rate limiting method and device and controller |
CN111277423B (en) * | 2018-12-04 | 2022-05-20 | 中兴通讯股份有限公司 | Data center flow intercommunication method, device, equipment and storage medium |
CN112637079B (en) * | 2020-12-16 | 2022-08-23 | 中国电子科技集团公司第三十研究所 | Multi-line flow impact control method and device |
CN115225479A (en) * | 2021-03-31 | 2022-10-21 | 大唐移动通信设备有限公司 | Transmission path aggregation method, transmission path aggregation device, network switching equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092604A (en) * | 2014-07-02 | 2014-10-08 | 杭州华三通信技术有限公司 | Message transmission control method and device |
CN104253770A (en) * | 2013-06-27 | 2014-12-31 | 杭州华三通信技术有限公司 | Method and equipment for realizing distributed virtual switch system |
CN104486119A (en) * | 2014-12-16 | 2015-04-01 | 盛科网络(苏州)有限公司 | Method and system for achieving batch management switch through improved openflow protocol |
CN104935594A (en) * | 2015-06-16 | 2015-09-23 | 杭州华三通信技术有限公司 | Message processing method based on virtual extensible local area network tunnel and device |
CN105262667A (en) * | 2015-09-17 | 2016-01-20 | 杭州数梦工场科技有限公司 | Method and device for controlling multicast transmission in Overlay network |
CN105376197A (en) * | 2014-08-22 | 2016-03-02 | 中国电信股份有限公司 | Method of realizing hierarchical network abstraction and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104221336B (en) * | 2012-03-27 | 2017-04-12 | 阿尔卡特朗讯公司 | System and method for virtual fabric link failure recovery |
-
2016
- 2016-04-18 CN CN201610241280.4A patent/CN107306193B/en active Active
-
2017
- 2017-03-21 WO PCT/CN2017/077550 patent/WO2017181807A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104253770A (en) * | 2013-06-27 | 2014-12-31 | 杭州华三通信技术有限公司 | Method and equipment for realizing distributed virtual switch system |
CN104092604A (en) * | 2014-07-02 | 2014-10-08 | 杭州华三通信技术有限公司 | Message transmission control method and device |
CN105376197A (en) * | 2014-08-22 | 2016-03-02 | 中国电信股份有限公司 | Method of realizing hierarchical network abstraction and system |
CN104486119A (en) * | 2014-12-16 | 2015-04-01 | 盛科网络(苏州)有限公司 | Method and system for achieving batch management switch through improved openflow protocol |
CN104935594A (en) * | 2015-06-16 | 2015-09-23 | 杭州华三通信技术有限公司 | Message processing method based on virtual extensible local area network tunnel and device |
CN105262667A (en) * | 2015-09-17 | 2016-01-20 | 杭州数梦工场科技有限公司 | Method and device for controlling multicast transmission in Overlay network |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109194547A (en) * | 2018-09-29 | 2019-01-11 | 新华三技术有限公司 | Message transmitting method, device, local device and readable storage medium storing program for executing |
CN113660136A (en) * | 2021-08-12 | 2021-11-16 | 中国工商银行股份有限公司 | Method, device, equipment and storage medium for checking availability of ports of two-way switch |
CN113660136B (en) * | 2021-08-12 | 2023-11-21 | 中国工商银行股份有限公司 | Method, device, equipment and storage medium for checking port availability of two-way switch |
CN114253197A (en) * | 2021-12-23 | 2022-03-29 | 浪潮思科网络科技有限公司 | SDN network-based power supply equipment management system, method, equipment and medium |
CN114253197B (en) * | 2021-12-23 | 2024-05-28 | 浪潮思科网络科技有限公司 | SDN network-based power supply equipment management system, method, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN107306193B (en) | 2020-11-27 |
WO2017181807A1 (en) | 2017-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107306193A (en) | Switch ports themselves information sensing method, device and terminal device based on SDN | |
US11228515B2 (en) | Data packet detection method, device, and system | |
CN105376154B (en) | Gradual MAC address learning | |
KR101706006B1 (en) | A method and system for updating distributed resilient network interconnect states | |
CN102724117B (en) | Multi-protocol label switching traffic engineering tunnel establishing method and equipment | |
CN101394361B (en) | Packet transmission method, device and system | |
CN108156074A (en) | Pretection switch method, the network equipment and system | |
EP2129049A1 (en) | A protecting method and device for ethernet tree service | |
CN104993988B (en) | A kind of energy internet scheduling and control method | |
CN105897465A (en) | Equipment configuration method and apparatus | |
CN106330697A (en) | Hybrid network spanning tree establishing method, backup method and control system thereof | |
CN108811035A (en) | User equipment accesses the method and Wi-Fi access nodes of Wireless Fidelity Wi-Fi | |
CN107465611A (en) | The pretection switch method and device of SDN controllers and Switch control link | |
CN104618189B (en) | Link failure detection method and device | |
CN105515802A (en) | Network virtualization method and network virtualization apparatus | |
CN105284150A (en) | Service offloading method, control network element, gateway router, and user plane entity | |
CN101425941A (en) | Loop network link convergence time and recovery time test system | |
EP2858302B1 (en) | Connectivity check method of service stream link, related apparatus and system | |
CN102833161B (en) | Tunnel load share method and device | |
CN102812750B (en) | Fault handling method, grouping conveying network and node in grouping conveying network | |
CN105262686A (en) | Network connectivity verification method and device | |
CN103746891B (en) | A kind of guard method of looped network access service, apparatus and system | |
CN104219068A (en) | Method of channel fault notification and network equipment | |
CN107231321A (en) | Detect method, equipment and the network system of forward-path | |
CN109347734A (en) | A kind of file transmitting method, device, the network equipment and computer-readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |