CN107786441A - A kind of communication means, OpenFlow interchangers and communication system - Google Patents
A kind of communication means, OpenFlow interchangers and communication system Download PDFInfo
- Publication number
- CN107786441A CN107786441A CN201610769603.7A CN201610769603A CN107786441A CN 107786441 A CN107786441 A CN 107786441A CN 201610769603 A CN201610769603 A CN 201610769603A CN 107786441 A CN107786441 A CN 107786441A
- Authority
- CN
- China
- Prior art keywords
- message
- address
- openflow interchangers
- openflow
- port
- 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
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/32—Flooding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/825—Involving tunnels, e.g. MPLS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/201—Multicast operation; Broadcast operation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Embodiments of the invention provide a kind of communication means, OpenFlow interchangers and communication system, it is related to the communications field, in-band communications passage can be established in SDN controllers and OpenFlow inter-exchanges on the premise of SDN controllers need not issue configuration strategy to OpenFlow interchangers, including:OpenFlow interchangers receive the first message;When it is determined that recipient's IP address of the first message is the in-band communications interface IP address of OpenFlow interchangers, the first message is parsed;When it is determined that sender's IP address of the first message or recipient's IP address of the first message are the IP address of software defined network SDN controllers, the first message is forwarded in a manner of flooding.The present invention is used for OpenFlow switch communications.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of communication means, OpenFlow interchangers and communication system.
Background technology
Software defined network (English full name:Software Defined Network, English abbreviation:SDN it is) in recent years
A kind of new network of Emulex network innovation framework occurred.SDN is separated by control plane with datum plane, control plane centralization, data
It platform service process standard, can effectively simplify network equipment complexity in data communication, improve Network renewal and drill
Enter speed, efficiently meet the needs of user is to application business innovation.OpenFlow agreements are one of SND core technologies,
OpenFlow agreements separate the network equipment chain of command comprising SDN controllers with the data surface comprising OpenFlow interchangers
Come, the control, management function of the whole network are realized by SDN controllers, while realize that business datum forwards by OpenFlow interchangers.From
And the flexible control of network traffics is realized, the innovation for core network and application provides good platform.
Wherein, SDN controllers are communicated with OpenFlow interchangers by OpenFlow agreements, specific communication pattern
In-band communications pattern is generally selected to carry control communication, the wherein in-band communications of SDN controllers and OpenFlow inter-exchanges
The service channel that Path Setup is depended between OpenFlow interchangers is established, and the service channel between OpenFlow interchangers
Establish then dependent on SDN controllers by controlling communication port to issue forwarding strategy to OpenFlow interchangers.
In actual use, SDN controllers before forwarding strategy is issued to OpenFlow interchangers, it is necessary to SDN control
Device establishes VLAN (the English full name for in-band communications configuration with OpenFlow inter-exchanges:Virtual Local
Area Network, English abbreviation:VLAN corresponding two layers, the forwarding of three layer datas), while in OpenFlow interchangers are configured
Function.When establishing in-band communications passage, SDN controllers issue forwarding strategy by the VLAN to OpenFlow interchangers,
OpenFlow interchangers identify the data flow that forwarding strategy is corresponded in the VLAN, and according to configuration in OpenFlow interchangers
Two layers, three layer data data forwarding rules are forwarded.Although such scheme can be in SDN controllers and OpenFlow interchangers
Between establish in-band communications passage, but need to establish the VLAN for being used for in-band communications configuration, and need OpenFlow interchanger branch
Corresponding two layers, three layer data forwarding capabilitys are held, therefore such scheme adds the resource that network operation is consumed, and improve
The complexity of OpenFlow interchangers, so as to add SDN controllers with
OpenFlow inter-exchanges establish the cost of in-band communications passage.
The content of the invention
The application provides a kind of communication means, OpenFlow interchangers and communication system, can SDN controllers without to
OpenFlow interchangers are established in-band communications with OpenFlow inter-exchanges in SDN controllers on the premise of issuing configuration strategy and led to
Road.
In a first aspect, the embodiment provides a kind of communication means, including:OpenFlow interchangers receive first
Message;When it is determined that recipient's IP address of the first message is the in-band communications interface IP address of OpenFlow interchangers, parsing
First message;When it is determined that sender's IP address of the first message or recipient's IP address of the first message are software defined network
During the IP address of SDN controllers, the first message is forwarded in a manner of flooding.
Second aspect, the embodiment provides a kind of OpenFlow interchangers, including:Receiving module, for connecing
Receive the first message;Sending module, for leading to when the band that the recipient's IP address for determining the first message is OpenFlow interchangers is interior
When believing interface IP address, the first message is parsed;When it is determined that sender's IP address of the first message or the recipient IP of the first message
When address is the IP address of software defined network SDN controllers, the first message is forwarded in a manner of flooding.
The third aspect, the embodiment provides a kind of communication system, including second aspect embodiments of the invention
The OpenFlow interchangers and SDN controllers provided.
A kind of communication means, OpenFlow interchangers and the communication system that embodiments of the invention provide, are used for
OpenFlow interchangers, by receiving the first message, and it is determined that it is the OpenFlow interchangers that the first message, which is recipient,
During message, first message is parsed to obtain the specifying information entrained by the first message;It is determined that the first message is recipient is
When the message of SDN controllers is other OpenFlow interchangers to the message of SDN controller reports, first is forwarded in a manner of flooding
Message, so as to ensure that SDN controllers can be properly received message of other OpenFlow interchangers to SDN controller reports;
Determine the first message may be SDN controllers broadcast message when, the first message is equally forwarded in a manner of flooding, so as to ensure it
His OpenFlow interchangers can be properly received the message of SDN controllers broadcast.Therefore communication party provided in an embodiment of the present invention
Method, can SDN controllers without on the premise of issuing configuration strategy to OpenFlow interchangers SDN controllers with
OpenFlow inter-exchanges establish in-band communications passage, reduce the resource that network operation is consumed, and reduce OpenFlow
The complexity of interchanger, so as to reduce SDN controllers and OpenFlow inter-exchanges establish in-band communications passage into
This.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, embodiment will be described below
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also be attached according to these
Figure obtains other accompanying drawings.
A kind of indicative flowchart for communication means that Fig. 1 is provided by embodiments of the invention;
A kind of indicative flowchart for communication means that Fig. 2 is provided by another embodiment of the present invention;
A kind of schematic diagram for network architecture that Fig. 3 is provided by embodiments of the invention;
A kind of schematic diagram for OpenFlow interchangers that Fig. 4 is provided by embodiments of the invention;
A kind of schematic diagram for OpenFlow interchangers that Fig. 5 is provided by another embodiment of the present invention;
A kind of schematic diagram for communication system that Fig. 6 is provided by embodiments of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
For the ease of clearly describing the technical scheme of the embodiment of the present invention, in an embodiment of the present invention, employ " the
One ", the printed words such as " second " make a distinction to function and the essentially identical identical entry of effect or similar item, and those skilled in the art can
To understand that the printed words such as " first ", " second " are not to be defined to quantity and execution order.Such as institute in the embodiment of the present invention
The first message, the second message, the 3rd message mentioned can be the word such as type and form identical message, " first ", " second "
Sample is only used at the time of sign receives corresponding message as at different moments.
At present in data communication field, in order to which control plane is separated from the network equipment, determine frequently with software
Adopted network (English full name:Software Defined Network, English abbreviation:SDN) framework, can be with above-mentioned framework
The control, management function of the whole network are realized by SDN controllers, while realizes that business datum forwards by OpenFlow interchangers.Wherein
SDN controllers are communicated with OpenFlow interchangers by OpenFlow agreements, and specific communication pattern is generally selected in band
Communication pattern is communicated with carrying control.
Established between the two in band due to entering before row data communication to need between SDN controllers and OpenFlow interchangers
Communication channel, and forwarding strategy is issued to establish the method for band communication channel to OpenFlow interchangers by SDN controllers
Need to establish the VLAN for in-band communications configuration between the two, and need OpenFlow interchangers support corresponding two layers,
Three layer data forwarding capabilitys, so as to add the resource that network operation is consumed, and improve the complexity of OpenFlow interchangers
Degree.
In order that can be in SDN controllers without being exchanged to OpenFlow between SDN controllers and OpenFlow interchangers
Machine establishes in-band communications passage on the premise of issuing configuration strategy, as shown in Figure 1, embodiments of the invention propose a kind of logical
Letter method, including:
101st, OpenFlow interchangers receive the first message.
Specifically, can be that OpenFlow interchangers receive the first message from SDN controllers, or OpenFlow is handed over
Change planes and receive the first message at other OpenFlow interchangers, it is necessary to explanation, now OpenFlow interchangers and SDN controls
The communication pattern of device processed is configured as in-band communications pattern, and OpenFlow interchangers belong to be used for interior logical with SND controllers
The VLAN of letter.
Need to illustrate when, will during VLAN is configured with SND controllers in advance for OpenFlow interchangers
Port on OpenFlow interchangers for in-band communications adds the VLAN, and configuration is led to interior on OpenFlow interchangers afterwards
Believe interface and bind the in-band communications interface and VLAN, while for the in-band communications interface with configuring in-band communications interface IP
Location, when OpenFlow interchangers carry out in-band communications, it need to be communicated by the in-band communications interface, be allocated to in-band communications
The in-band communications interface IP address of interface can enter in OpenFlow interchangers and SND controllers or other OpenFlow interchangers
The OpenFlow interchangers are indicated during row in-band communications.
102nd, when it is determined that recipient's IP address of the first message is the in-band communications interface IP address of OpenFlow interchangers
When, parse the first message.
Specifically, the in-band communications interface IP address of in-band communications can be configured on OpenFlow interchangers, its
Middle in-band communications interface IP address is IP address of the OpenFlow interchangers in in-band communications.OpenFlow interchangers can also
The in-band communications interface IP address that the OpenFlow interchangers are used for in-band communications is obtained at other devices or system.
OpenFlow interchangers can be according to recipient's IP address of first the first message of Receive message received, when first
When recipient's IP address of message is the in-band communications interface IP address of the OpenFlow interchangers, first message is determined to connect
Debit is the message of the OpenFlow interchangers, therefore parses first message to obtain the specific letter entrained by the first message
Breath.Specifically, first message is the report that SND controllers or other OpenFlow interchangers are sent to the OpenFlow interchangers
Text, the message IP address can interconnect association for the purpose of between the network of the in-band communications interface IP address of OpenFlow interchangers
Discuss (English full name:Internet Protocol, English abbreviation:IP) message, or recipient's IP address is OpenFlow
Address resolution protocol (the English full name of the in-band communications interface IP address of interchanger:Address Resolution
Protocol, English abbreviation:ARP) message.
103rd, when it is determined that sender's IP address of the first message or recipient's IP address of the first message are software defined network
During the IP address of network SDN controllers, the first message is forwarded in a manner of flooding.
Specifically, the IP address of SDN controllers can be configured on OpenFlow interchangers, can also be handed over by OpenFlow
Change planes and the IP address of SDN controllers is obtained at other devices or system, it is necessary to which explanation, there can be one or more SDN
Controller carries out in-band communications with OpenFlow interchangers, therefore the IP address of SDN controllers can also include multiple IP address.
Specifically, the IP messages that first message can be source IP address or purpose IP address is SDN controller IP address,
Can also be sender's IP address or recipient's IP address is SDN controller IP address ARP messages.
When it is determined that sender's IP address of the first message or recipient's IP address of the first message for SDN controllers IP
During location, the recipient for illustrating the first message is SDN controllers, or first message may be the broadcast transmitted by SDN controllers
Information, therefore in order to ensure that SND controllers or other OpenFlow interchangers can have correctly received the first message, with the side of flooding
Formula forwards the first message.It should be noted that when the sender's IP address for determining first message is the SDN controllers
During IP address, it is also necessary to when the recipient's IP address for meeting first message is not the OpenFlow interchangers, to flood
Mode forwards first message.
Specifically, forwarded in a manner of flooding the first message can be OpenFlow interchangers send in a broadcast manner this
One message.
Need it is illustrated that, can be with setting when OpenFlow interchangers receive first message from p0 ports
OpenFlow interchangers no longer forward the first message when forwarding the first message in a manner of flooding from the p0 ports.
A kind of communication means that embodiments of the invention provide, by OpenFlow interchangers the first message of reception, and
When to determine the first message be the message that recipient is the OpenFlow interchangers, first message is parsed to obtain the first message institute
The specifying information of carrying;It is determined that the first message is recipient be SDN controllers message i.e. other OpenFlow interchangers to
During the message of SDN controller reports, the first message is forwarded in a manner of flooding, so as to ensure that SDN controllers can be properly received it
The message of his OpenFlow interchangers to SDN controller reports;It is determined that the first message may be the message of SDN controllers broadcast
When, the first message is equally forwarded in a manner of flooding, so as to ensure that other OpenFlow interchangers can be properly received SDN controllers
The message of broadcast.Therefore communication means provided in an embodiment of the present invention, can be in SDN controllers without to OpenFlow interchangers
Issue and establish in-band communications passage in SDN controllers and OpenFlow inter-exchanges on the premise of configuration strategy, reduce network
Safeguard consumed resource, and reduce the complexity of OpenFlow interchangers, so as to reduce SDN controllers with
OpenFlow inter-exchanges establish the cost of in-band communications passage.
Specifically, as shown in Figure 2, the embodiment provides a kind of communication means to include:
201st, OpenFlow interchangers receive the first message.
Referring in particular to step 101 in above-described embodiment, will not be repeated here.
It should be noted that before OpenFlow interchangers receive the first message, can match somebody with somebody on OpenFlow interchangers
The virtual LAN VLAN for in-band communications is put, and all COM1s for in-band communications of OpenFlow interchangers are added
Entering into VLAN, configuration VLAN is the in-band communications interface of OpenFlow interchangers, and sets the IP address of in-band communications interface,
Configuration and the IP address of the SDN controllers of OpenFlow switch communications.
It should be noted that first message can for transmitted by other OpenFlow interchangers such as institute in step 211
The control communication message stated.
202nd, when it is determined that sender's IP address of the first message or recipient's IP address of the first message are software defined network
During the IP address of network SDN controllers, the first message is forwarded in a manner of flooding.
Referring in particular to step 103 in above-described embodiment, will not be repeated here.
203rd, when it is determined that recipient's IP address of the first message is the in-band communications interface IP address of OpenFlow interchangers
And the first sender's IP address of message when being the IP address of SDN controllers, obtain OpenFlow interchangers and receive the first message
First port;
Wherein determine that recipient's IP address of the first message can for the in-band communications interface IP address of OpenFlow interchangers
With reference to step 102 in above-described embodiment, will not be repeated here.
Wherein, OpenFlow interchangers can by parse the first message to obtain sender's IP address of the first message,
And the IP address of sender's IP address of the first message and SDN controller of the configuration on OpenFlow interchangers is carried out pair
Than when identical, the sender's IP address for determining the first message is the IP address of SDN controllers.
Specifically, first port is the port that OpenFlow interchangers receive the first message, wherein first port is
It is used for the port of in-band communications on OpenFlow interchangers.
204th, the second message is received;
205th, when it is determined that recipient's IP address of the second message is the IP address of SDN controllers, turned by first port
Send out the second message;
Specifically, recipient's IP address of the second message can obtain by parsing the second message, and by the first message
Recipient's IP address contrasted with configuring the IP address of SDN controllers on OpenFlow interchangers, it is true when identical
Recipient's IP address of fixed second message is the IP address of SDN controllers.
When recipient's IP address that the second message is determined by the above is the IP address of SDN controllers, it may be determined that
Second message is message of other OpenFlow interchangers to SDN controller reports, and is used on this OpenFlow interchangers
The port that in-band communications are carried out with SDN controllers is first port, therefore forwards the second message by first port, so as to avoid
The message of other OpenFlow interchangers to SDN controller reports is forwarded to other OpenFlow interchangers, causes message to let out
The consequence of dew.
It is exemplary, when the first OpenFlow interchangers 311 receive the first message by port P1-1, the first message
Recipient's IP address is the in-band communications interface IP address 128.255.1.1 of the first OpenFlow interchangers 311, therefore port
P1-1 is first port.When the first OpenFlow interchangers 311 receive the second message and the second message by port P1-2
When recipient's IP address is the IP address 128.255.1.254 of SDN controllers 301, the first OpenFlow interchangers 311 pass through end
Mouth P1-1 forwards the second message, SND controllers 301 is had correctly received the second message, avoids because the first OpenFlow is handed over
Change planes 311 from port P1-3 forward the second message caused by the second message is leaked to the 3rd OpenFlow interchangers 313.
206th, when it is determined that sender's IP address of the second message is the IP address of SDN controllers, by except first port
Other ports on outer OpenFlow interchangers for in-band communications forward the second message.
Specifically, sender's IP address of the second message can obtain by parsing the second message, and by the first message
Sender's IP address contrasted with configuring the IP address of SDN controllers on OpenFlow interchangers, it is true when identical
Sender's IP address of fixed second message is the IP address of SDN controllers.
When sender's IP address that the second message is determined by the above is the IP address of SDN controllers, it may be determined that
Second message may be the message of SDN controllers broadcast, and be used to carry out band with SDN controllers on this OpenFlow interchangers
The port of interior communication is first port, thus by addition to first port on OpenFlow interchangers be used for in-band communications other
Port forwards the second message, is wasted so as to avoid passing through the port resource caused by first port forwards the second message.
It is exemplary, when the first OpenFlow interchangers 311 receive the first message by port P1-1, the first message
Recipient's IP address is the in-band communications interface IP address 128.255.1.1 of the first OpenFlow interchangers 311, therefore port
P1-1 is first port.When the first OpenFlow interchangers 311 receive the second message and the second message by port P1-2
When sender's IP address is the IP address 128.255.1.254 of SDN controllers 301, the first OpenFlow interchangers 311 pass through end
Mouth P1-2 and P1-3 forwards the second message, enables the 2nd OpenFlow interchangers 312 and the 3rd OpenFlow interchangers 313
The second message is had correctly received, is avoided caused by the first OpenFlow interchangers 311 are from port P1-1 the second messages of forwarding
Port resource wastes.
207th, automatic discovery message is sent periodically through first port, it is automatic to find that message includes OpenFlow interchangers
In-band communications interface IP address;
Specifically, OpenFlow interchangers can periodically be sent out according to the Ct value of configured in advance by first port
Automatic discovery message is sent, wherein the type of message for finding message automatically is automatic discovery message, receives the automatic discovery message
OpenFlow interchangers or SDN controllers can determine whether the message is automatic according to the type of message of received message
It was found that message.
The automatic in-band communications interface IP address for finding message and including OpenFlow interchangers, it is preferred that automatic to find report
Text can also include the MAC Address of OpenFlow interchangers, and the OpenFlow interchanger adjacent with OpenFlow interchangers can
Determine to send the automatic discovery according to the in-band communications interface IP address of the automatic OpenFlow interchangers for finding to carry in message
The OpenFlow interchangers of message.
Exemplary, in the network architecture as shown in Figure 3, when the first OpenFlow interchangers 311 pass through port P1-
During the automatic discovery message that 2 the 2nd OpenFlow interchangers 312 of reception are sent from port P2-1, this finds the form of message automatically
Can be with as shown in the table:
Wherein recipient's IP address is the IP address of SND controllers 301, receives side mac address as SND controllers 301
MAC Address, type of message 0x0102 refer to the message and find message to be automatic.
208th, receive the automatic discovery message that neighbours OpenFlow interchangers are sent and automatic hair is forwarded by first port
Existing message, according to the automatic in-band communications interface IP address and OpenFlow for finding Receive message neighbours' OpenFlow interchangers
Interchanger receives automatic the 3rd port for finding message;
Exchanged specifically, neighbours OpenFlow interchangers can be the OpenFlow being directly connected to OpenFlow interchangers
Machine, or the OpenFlow interchangers being connected by other OpenFlow interchangers with OpenFlow interchangers.
Specifically, can determine that the message finds message to be automatic according to the type of received message, can basis
The in-band communications interface IP address of the neighbours' OpenFlow interchangers for sending the automatic discovery message in automatic discovery message is true
Determine neighbours' OpenFlow interchangers, it is preferred that the automatic discovery message can also be sent in automatic discovery message
The in-band communications interface IP address of neighbours' OpenFlow interchangers and the neighbours OpenFlow friendships for sending the automatic discovery message
The MAC Address changed planes determines neighbours' OpenFlow interchangers.Determine that OpenFlow interchangers receive the automatic discovery report simultaneously
3rd port of text.So that it is determined that OpenFlow interchangers are used to carry out the 3rd of in-band communications the with neighbours OpenFlow interchangers
Port.
Specifically, forwarding the automatic discovery message by first port, make between OpenFlow interchangers and SND controllers
Other OpenFlow interchangers or SND controllers can receive the automatic discovery message, so as to find that message determines according to automatic
The OpenFlow interchangers of in-band communications can be carried out from corresponding port.
209th, the 3rd message is received;
210th, when it is determined that sender's IP address of the 3rd message be the IP address of SDN controllers, the recipient of the 3rd message
When IP address is the in-band communications interface IP address of neighbours' OpenFlow interchangers, the 3rd message is forwarded by the 3rd port.
Wherein, the 3rd port is that OpenFlow interchangers receive the automatic discovery message that neighbours OpenFlow interchangers are sent
COM1, determine that sender's IP address of the 3rd message is referred in above-described embodiment for the IP address of SDN controllers
Step 102, will not be repeated here.
When the IP address and the IP address of the recipient of the 3rd message that sender's IP address of the 3rd message is SDN controllers
For the neighbours' OpenFlow interchangers determined in step 208 in-band communications interface IP address when, represent the 3rd message for send
Side is SDN controllers and recipient is neighbours' OpenFlow interchangers, and OpenFlow interchangers can be with by the 3rd port
Neighbours OpenFlow interchangers carry out in-band communications, therefore forward the 3rd message by the 3rd port, avoid OpenFlow from exchanging
Message caused by machine forwards the 3rd message by other ports is revealed.
Exemplary, as shown in Figure 3, the first OpenFlow interchangers 311 are received by second from port P1-2
The automatic discovery message that OpenFlow interchangers 312 are sent, the first OpenFlow interchangers 311 forward this automatic from port P1-1
It was found that message, the first OpenFlow interchangers 311 find that sender's IP address is obtained in message is for 128.255.1.2 from automatic
The IP address of 2nd OpenFlow interchangers 312, and determine to receive the port P1-2 of the automatic discovery message.
When the first OpenFlow interchangers 311 receive the 3rd message, and recipient's IP address of the 3rd message is
128.255.1.2 sender's IP address of i.e. the 2nd OpenFlow interchangers 312, the 3rd message is SND for 128.255.1.254
During the IP address of controller 301, determine the 3rd message be sender be SND controllers 301, recipient be the 2nd OpenFlow
The message of interchanger 312, due to before by finding that the first OpenFlow interchangers 311 that message determines pass through port automatically
P1-2 can carry out in-band communications with the 2nd OpenFlow interchangers 312, therefore the first OpenFlow interchangers 311 pass through port
P1-2 forwards the 3rd message.
211st, control communication message is obtained;
Specifically, control communication message can be the message of OpenFlow interchangers itself generation.Control communication message is taken
The reception side mac address of recipient's IP address and control communication message with control communication message.
212nd, when recipient's IP address according to control communication message and the reception side mac address energy of control communication message
When enough determining the second port of OpenFlow interchangers, control communication message is sent from second port.
Specifically, can be according to recipient's IP address of control communication message and the recipient MAC of control communication message
For address lookup control plane forward table to obtain corresponding sending port, the control plane forward table can be that configured in advance exists
On OpenFlow interchangers, or OpenFlow interchangers obtain at other devices or system.
When successful inquiring, the port obtained in Query Result is that the second port of OpenFlow interchangers sends control
Communication message processed, reduces the message leakage caused by sending control communication message from the port of mistake and port resource wastes.
213rd, when according to recipient's IP address of control communication message and the recipient MAC of communication message can not be controlled
When location determines corresponding port, all of the port for in-band communications from OpenFlow interchangers sends control communication message.
Specifically, when inquiring about failure, i.e., can not be communicated according to the recipient's IP address and control of control communication message
When the reception side mac address of message determines corresponding port, all of the port for in-band communications from OpenFlow interchangers is sent out
Control communication message is sent, avoids controlling communication message to send failure.
It should be noted that the step of step 201-203 can be decided to be the initial probe stage in above-described embodiment, above-mentioned
Step 204-213 can be defined as the step of automatic discovery phase in embodiment, and the wherein initial probe stage finds with automatic
Two stages during in-band communications Path Setup of the stage between SDN controllers and OpenFlow interchangers, wherein just
Detection phase beginning can be initial turn that OpenFLow interchangers independently be set before specific message forwarding rule is not established
Hair rule, so as on the premise of the basic communication demand of OpenFLow interchangers and SDN controllers is ensured, collect OpenFLow
The information of the network architecture where interchanger forwards rule in order to the message improved for implementing in automatic discovery phase;When
, can be according to above-mentioned when OpenFlow interchangers are collected into the network configuration information to meet certain requirements by the initial probe stage
Network configuration information correctly establishes forwarding rule, so as to reduce message leakage on the premise of correct forwarding control communication message
May, wherein network configuration information can include the annexation between OpenFlow interchangers and SDN controllers, can also include
Annexation of OpenFlow interchangers OpenFlow interchangers adjacent with other etc..
A kind of communication means that embodiments of the invention provide, the first message is received by OpenFlow interchangers, true
Fixed first message is message i.e. message of other OpenFlow interchangers to SDN controller reports that recipient is SDN controllers
When, the first message is forwarded in a manner of flooding, it is determined that it is OpenFlow interchangers and sender is SDN that the first message, which is recipient,
During controller, the first port that OpenFlow interchangers receive the first message is obtained, so as to be SDN controllers receiving recipient
The second message when, forward second message from first port, enable on the premise of SDN controllers are properly received the second message
Avoid message leakage occur during forwarding the second message;Simultaneously it is determined that the second message is sender be SDN controllers when,
Other ports outside first port on OpenFlow interchangers for in-band communications forward the second message, avoid port resource
Waste.Automatic discovery message is sent periodically through first port, when receiving automatic discovery message, determines the automatic discovery
The sender neighbours OpenFlow interchangers of message and the 3rd port for receiving the automatic discovery message, are being received afterwards
When sender is SDN controllers and recipient is the message of neighbours' OpenFlow interchangers, the 3rd is forwarded by the 3rd port
Message is so as to avoiding message leakage occur during the 3rd message is forwarded.During control communication message is sent, root
Second port is determined according to the recipient of control communication message, and the control communication message is sent from second port, so as to avoid sending out
Occur message leakage during sending control communication message, and port can not determined according to the recipient of control communication message
When, all of the port for in-band communications from OpenFlow interchangers sends control communication message, avoids controlling communication message
Send failure.Therefore communication means provided in an embodiment of the present invention, can be in SDN controllers without under OpenFlow interchangers
In-band communications passage is established in SDN controllers and OpenFlow inter-exchanges on the premise of hair configuration strategy, reduces network dimension
The consumed resource of shield, and reduce the complexity of OpenFlow interchangers, so as to reduce SDN controllers with
OpenFlow inter-exchanges establish the cost of in-band communications passage.
As shown in Figure 4, the embodiment provides a kind of OpenFlow interchangers 401, including:
Receiving module 411, for receiving the first message;
Specifically, can be that OpenFlow interchangers receive the first message from SDN controllers, or OpenFlow is handed over
Change planes and receive the first message at other OpenFlow interchangers, it is necessary to explanation, now OpenFlow interchangers and SDN controls
The communication pattern of device processed is configured as in-band communications pattern, and OpenFlow interchangers belong to be used for interior logical with SND controllers
The VLAN of letter.
Need to illustrate when, will during VLAN is configured with SND controllers in advance for OpenFlow interchangers
Port on OpenFlow interchangers for in-band communications adds the VLAN, and configuration is led to interior on OpenFlow interchangers afterwards
Believe interface and bind the in-band communications interface and VLAN, while for the in-band communications interface with configuring in-band communications interface IP
Location, when OpenFlow interchangers carry out in-band communications, it need to be communicated by the in-band communications interface, be allocated to in-band communications
The in-band communications interface IP address of interface can enter in OpenFlow interchangers and SND controllers or other OpenFlow interchangers
The OpenFlow interchangers are indicated during row in-band communications.
Sending module 412, for leading to when the band that the recipient's IP address for determining the first message is OpenFlow interchangers is interior
When believing interface IP address, the first message is parsed;
When it is determined that sender's IP address of the first message or recipient's IP address of the first message are software defined network SDN
During the IP address of controller, the first message is forwarded in a manner of flooding.
Specifically, the in-band communications interface IP address of in-band communications can be configured on OpenFlow interchangers, its
Middle in-band communications interface IP address is IP address of the OpenFlow interchangers in in-band communications.OpenFlow interchangers can also
The in-band communications interface IP address that the OpenFlow interchangers are used for in-band communications is obtained at other devices or system.
OpenFlow interchangers can be according to recipient's IP address of first the first message of Receive message received, when first
When recipient's IP address of message is the in-band communications interface IP address of the OpenFlow interchangers, first message is determined to connect
Debit is the message of the OpenFlow interchangers, therefore parses first message to obtain the specific letter entrained by the first message
Breath.Specifically, first message is the report that SND controllers or other OpenFlow interchangers are sent to the OpenFlow interchangers
Text, the message IP address can interconnect association for the purpose of between the network of the in-band communications interface IP address of OpenFlow interchangers
Discuss (English full name:Internet Protocol, English abbreviation:IP) message, or recipient's IP address is OpenFlow
Address resolution protocol (the English full name of the in-band communications interface IP address of interchanger:Address Resolution
Protocol, English abbreviation:ARP) message.
Specifically, the IP address of SDN controllers can be configured on OpenFlow interchangers, can also be handed over by OpenFlow
Change planes and the IP address of SDN controllers is obtained at other devices or system, it is necessary to which explanation, there can be one or more SDN
Controller carries out in-band communications with OpenFlow interchangers, therefore the IP address of SDN controllers can also include multiple IP address.
Specifically, the IP messages that first message can be source IP address or purpose IP address is SDN controller IP address,
Can also be sender's IP address or recipient's IP address is SDN controller IP address ARP messages.
When it is determined that sender's IP address of the first message or recipient's IP address of the first message for SDN controllers IP
During location, the recipient for illustrating the first message is SDN controllers, or first message may be the broadcast transmitted by SDN controllers
Information, therefore in order to ensure that SND controllers or other OpenFlow interchangers can have correctly received the first message, with the side of flooding
Formula forwards the first message.
Specifically, forwarded in a manner of flooding the first message can be OpenFlow interchangers send in a broadcast manner this
One message.
Need it is illustrated that, can be with setting when OpenFlow interchangers receive first message from p0 ports
OpenFlow interchangers no longer forward the first message when forwarding the first message in a manner of flooding from the p0 ports.
A kind of OpenFlow interchangers that embodiments of the invention provide, the first report is received by OpenFlow interchangers
Text, and it is determined that the first message is recipient be the message of the OpenFlow interchangers when, parse first message to obtain
Specifying information entrained by one message;It is determined that the first message is recipient be SDN controllers message i.e. other OpenFlow
Message from interchanger to SDN controller reports when, the first message is forwarded in a manner of flooding, so as to ensure that SDN controllers can be just
Really receive message of other OpenFlow interchangers to SDN controller reports;It is determined that the first message may be that SDN controllers are wide
During the message broadcast, the first message is equally forwarded in a manner of flooding, so as to ensure that other OpenFlow interchangers can be properly received
The message of SDN controllers broadcast.Therefore communication means provided in an embodiment of the present invention, can SDN controllers without to
OpenFlow interchangers are established in-band communications with OpenFlow inter-exchanges in SDN controllers on the premise of issuing configuration strategy and led to
Road, reduce the resource that network operation is consumed, and reduce the complexity of OpenFlow interchangers, so as to reduce
SDN controllers establish the cost of in-band communications passage with OpenFlow inter-exchanges.
Specifically, sending module 412 is specifically used for when the sender's IP address for determining the first message is the IP of SDN controllers
During address, the first port that OpenFlow interchangers receive the first message is obtained;
Receiving module 411 is additionally operable to receive the second message;
Sending module 412 is additionally operable to when it is determined that recipient's IP address of the second message is the IP address of SDN controllers, lead to
Cross first port and forward the second message.
Wherein, OpenFlow interchangers can by parse the first message to obtain sender's IP address of the first message,
And the IP address of sender's IP address of the first message and SDN controller of the configuration on OpenFlow interchangers is carried out pair
Than when identical, the sender's IP address for determining the first message is the IP address of SDN controllers.
Specifically, first port is the port that OpenFlow interchangers receive the first message, wherein first port is
It is used for the port of in-band communications on OpenFlow interchangers.
Specifically, recipient's IP address of the second message can obtain by parsing the second message, and by the first message
Recipient's IP address contrasted with configuring the IP address of SDN controllers on OpenFlow interchangers, it is true when identical
Recipient's IP address of fixed second message is the IP address of SDN controllers.
When recipient's IP address that the second message is determined by the above is the IP address of SDN controllers, it may be determined that
Second message is message of other OpenFlow interchangers to SDN controller reports, and is used on this OpenFlow interchangers
The port that in-band communications are carried out with SDN controllers is first port, therefore forwards the second message by first port, so as to avoid
The message of other OpenFlow interchangers to SDN controller reports is forwarded to other OpenFlow interchangers, causes message to let out
The consequence of dew.
It is exemplary, when the first OpenFlow interchangers 311 receive the first message by port P1-1, the first message
Recipient's IP address is the in-band communications interface IP address 128.255.1.1 of the first OpenFlow interchangers 311, therefore port
P1-1 is first port.When the first OpenFlow interchangers 311 receive the second message and the second message by port P1-2
When recipient's IP address is the IP address 128.255.1.254 of SDN controllers 301, the first OpenFlow interchangers 311 pass through end
Mouth P1-1 forwards the second message, SND controllers 301 is had correctly received the second message, avoids because the first OpenFlow is handed over
Change planes 311 from port P1-3 forward the second message caused by the second message is leaked to the 3rd OpenFlow interchangers 313.
Specifically, sending module 412 is additionally operable to:
When it is determined that sender's IP address of the second message is the IP address of SDN controllers, by addition to first port
Other ports on OpenFlow interchangers for in-band communications forward the second message.
Specifically, sender's IP address of the second message can obtain by parsing the second message, and by the first message
Sender's IP address contrasted with configuring the IP address of SDN controllers on OpenFlow interchangers, it is true when identical
Sender's IP address of fixed second message is the IP address of SDN controllers.
When sender's IP address that the second message is determined by the above is the IP address of SDN controllers, it may be determined that
Second message may be the message of SDN controllers broadcast, and be used to carry out band with SDN controllers on this OpenFlow interchangers
The port of interior communication is first port, thus by addition to first port on OpenFlow interchangers be used for in-band communications other
Port forwards the second message, is wasted so as to avoid passing through the port resource caused by first port forwards the second message.
It is exemplary, when the first OpenFlow interchangers 311 receive the first message by port P1-1, the first message
Recipient's IP address is the in-band communications interface IP address 128.255.1.1 of the first OpenFlow interchangers 311, therefore port
P1-1 is first port.When the first OpenFlow interchangers 311 receive the second message and the second message by port P1-2
When sender's IP address is the IP address 128.255.1.254 of SDN controllers 301, the first OpenFlow interchangers 311 pass through end
Mouth P1-2 and P1-3 forwards the second message, enables the 2nd OpenFlow interchangers 312 and the 3rd OpenFlow interchangers 313
The second message is had correctly received, is avoided caused by the first OpenFlow interchangers 311 are from port P1-1 the second messages of forwarding
Port resource wastes.
Specifically, sending module 412 is additionally operable to:
Automatic discovery message, the automatic band for finding message and including OpenFlow interchangers are sent periodically through first port
Interior communication interface IP address;
Receiving module 411 is additionally operable to:
Receive the automatic discovery message that neighbours OpenFlow interchangers are sent and automatic discovery report is forwarded by first port
Text, according to the automatic in-band communications interface IP address for finding Receive message neighbours' OpenFlow interchangers, receive the 3rd message;
Sending module 412 is additionally operable to:
When it is determined that sender's IP address of the 3rd message is the IP address of SDN controllers, pass through the 3rd port forwarding the
Three messages, the 3rd port are the communication that OpenFlow interchangers receive the automatic discovery message that neighbours OpenFlow interchangers are sent
Port.
Specifically, OpenFlow interchangers can periodically be sent out according to the Ct value of configured in advance by first port
Automatic discovery message is sent, wherein the type of message for finding message automatically is automatic discovery message, receives the automatic discovery message
OpenFlow interchangers or SDN controllers can determine whether the message is automatic according to the type of message of received message
It was found that message.
The automatic in-band communications interface IP address for finding message and including OpenFlow interchangers, it is preferred that automatic to find report
Text can also include the MAC Address of OpenFlow interchangers, and the OpenFlow interchanger adjacent with OpenFlow interchangers can
Determine to send the automatic discovery according to the in-band communications interface IP address of the automatic OpenFlow interchangers for finding to carry in message
The OpenFlow interchangers of message.
Exemplary, as shown in Figure 3, when the first OpenFlow interchangers 311 receive second by port P1-2
During the automatic discovery message that OpenFlow interchangers 312 are sent from port P2-1, this finds that the form of message can be as follows automatically
Shown in table:
Wherein recipient's IP address is the IP address of SND controllers 301, receives side mac address as SND controllers 301
MAC Address, type of message 0x0102 refer to the message and find message to be automatic.
Exchanged specifically, neighbours OpenFlow interchangers can be the OpenFlow being directly connected to OpenFlow interchangers
Machine, or the OpenFlow interchangers being connected by other OpenFlow interchangers with OpenFlow interchangers.
Specifically, can determine that the message finds message to be automatic according to the type of received message, can basis
The in-band communications interface IP address of the neighbours' OpenFlow interchangers for sending the automatic discovery message in automatic discovery message is true
Determine neighbours' OpenFlow interchangers, it is preferred that the automatic discovery message can also be sent in automatic discovery message
The in-band communications interface IP address of neighbours' OpenFlow interchangers and the neighbours OpenFlow friendships for sending the automatic discovery message
The MAC Address changed planes determines neighbours' OpenFlow interchangers.Determine that OpenFlow interchangers receive the automatic discovery report simultaneously
3rd port of text.So that it is determined that OpenFlow interchangers are used to carry out the 3rd of in-band communications the with neighbours OpenFlow interchangers
Port.
Specifically, forwarding the automatic discovery message by first port, make between OpenFlow interchangers and SND controllers
Other OpenFlow interchangers or SND controllers can receive the automatic discovery message, so as to find that message determines according to automatic
The OpenFlow interchangers of in-band communications can be carried out from corresponding port.
Wherein determine that sender's IP address of the 3rd message is referred in above-described embodiment for the IP address of SDN controllers
Step 102, will not be repeated here.
When the IP address and the IP address of the recipient of the 3rd message that sender's IP address of the 3rd message is SDN controllers
For the neighbours' OpenFlow interchangers determined in step 208 in-band communications interface IP address when, represent the 3rd message for send
Side is SDN controllers and recipient is neighbours' OpenFlow interchangers, and OpenFlow interchangers can be with by the 3rd port
Neighbours OpenFlow interchangers carry out in-band communications, therefore forward the 3rd message by the 3rd port, avoid OpenFlow from exchanging
Message caused by machine forwards the 3rd message by other ports is revealed.
Exemplary, as shown in Figure 3, the first OpenFlow interchangers 311 are received by second from port P1-2
The automatic discovery message that OpenFlow interchangers 312 are sent, the first OpenFlow interchangers 311 forward this automatic from port P1-1
It was found that message, the first OpenFlow interchangers 311 find that sender's IP address is obtained in message is for 128.255.1.2 from automatic
The IP address of 2nd OpenFlow interchangers 312, and determine to receive the port P1-2 of the automatic discovery message.
When the first OpenFlow interchangers 311 receive the 3rd message, and recipient's IP address of the 3rd message is
128.255.1.2 sender's IP address of i.e. the 2nd OpenFlow interchangers 312, the 3rd message is SND for 128.255.1.254
During the IP address of controller 301, determine the 3rd message be sender be SND controllers 301, recipient be the 2nd OpenFlow
The message of interchanger 312, due to before by finding that the first OpenFlow interchangers 311 that message determines pass through port automatically
P1-2 can carry out in-band communications with the 2nd OpenFlow interchangers 312, therefore the first OpenFlow interchangers 311 pass through port
P1-2 forwards the 3rd message.
Specifically, sending module 412 can be also used for obtaining control communication message, and when connecing according to control communication message
When the reception side mac address of debit's IP address and control communication message can determine the second port of OpenFlow interchangers,
Control communication message is sent from second port.
Specifically, control communication message can be the message of OpenFlow interchangers itself generation.Control communication message is taken
The reception side mac address of recipient's IP address and control communication message with control communication message.
When can not according to control communication message recipient's IP address and control communication message reception side mac address it is true
When determining corresponding port, all of the port for in-band communications from OpenFlow interchangers sends control communication message.
Specifically, can be according to recipient's IP address of control communication message and the recipient MAC of control communication message
For address lookup control plane forward table to obtain corresponding sending port, the control plane forward table can be that configured in advance exists
On OpenFlow interchangers, or OpenFlow interchangers obtain at other devices or system.
When successful inquiring, the port obtained in Query Result is that the second port of OpenFlow interchangers sends control
Communication message processed, reduces the message leakage caused by sending control communication message from the port of mistake and port resource wastes.
Specifically, when inquiring about failure, i.e., can not be communicated according to the recipient's IP address and control of control communication message
When the reception side mac address of message determines corresponding port, all of the port for in-band communications from OpenFlow interchangers is sent out
Control communication message is sent, avoids controlling communication message to send failure.
Specifically, as shown in Figure 5, OpenFlow interchangers 401 also include initialization module 413, initialization module 413
Own for being configured to the virtual LAN VLAN of in-band communications on OpenFlow interchangers, and by OpenFlow interchangers
COM1 for in-band communications is added in VLAN, and configuration VLAN is the in-band communications interface of OpenFlow interchangers, and
The IP address of in-band communications interface, configuration and the IP address of the SDN controllers of OpenFlow switch communications are set.
A kind of OpenFlow interchangers that embodiments of the invention provide, the first report is received by OpenFlow interchangers
Text, it is determined that it is message i.e. other OpenFlow interchangers of SDN controllers to SDN controller reports that the first message, which is recipient,
Message when, the first message is forwarded in a manner of flooding, it is determined that it is OpenFlow interchangers and transmission that the first message, which is recipient,
When side is SDN controllers, the first port that OpenFlow interchangers receive the first message is obtained, so as to be receiving recipient
During the second message of SDN controllers, second message is forwarded from first port, SDN controllers is properly received the second report
Avoid message leakage occur during forwarding the second message on the premise of text;Simultaneously it is determined that the second message is sender is
During SDN controllers, other ports outside first port on OpenFlow interchangers for in-band communications forward the second message, keep away
Exempt from the waste of port resource.Automatic discovery message is sent periodically through first port, when receiving automatic discovery message, really
The sender neighbours OpenFlow interchangers of the fixed automatic discovery message and the 3rd port for receiving the automatic discovery message,
It is afterwards SDN controllers and when recipient is the message of neighbours' OpenFlow interchangers receiving sender, passes through the 3rd
Port forwards the 3rd message to avoid message leakage occur during the 3rd message is forwarded.Communication message is controlled sending
During, second port is determined according to the recipient of control communication message, and the control communication message is sent from second port,
There is message leakage during so as to avoid sending control communication message, and can not be according to the reception of control communication message
When side determines port, all of the port for in-band communications from OpenFlow interchangers sends control communication message, avoids controlling
Communication message processed sends failure.Therefore communication means provided in an embodiment of the present invention, can SDN controllers without to
OpenFlow interchangers are established in-band communications with OpenFlow inter-exchanges in SDN controllers on the premise of issuing configuration strategy and led to
Road, reduce the resource that network operation is consumed, and reduce the complexity of OpenFlow interchangers, so as to reduce
SDN controllers establish the cost of in-band communications passage with OpenFlow inter-exchanges.
As shown in Figure 6, the embodiment provides a kind of communication system 501, including provided in above-described embodiment
OpenFlow interchangers 512 and SDN controllers 511.
A kind of communication system that embodiments of the invention provide, including OpenFlow interchangers and SDN controllers, pass through
OpenFlow interchangers receive the first message, and it is determined that the first message is recipient be the OpenFlow interchangers message
When, first message is parsed to obtain the specifying information entrained by the first message;It is determined that it is SDN controls that the first message, which is recipient,
When the message of device processed is other OpenFlow interchangers to the message of SDN controller reports, the first message is forwarded in a manner of flooding,
So as to ensure that SDN controllers can be properly received message of other OpenFlow interchangers to SDN controller reports;It is determined that
When one message may be the message of SDN controllers broadcast, the first message is equally forwarded in a manner of flooding, so as to ensure other
OpenFlow interchangers can be properly received the message of SDN controllers broadcast.Therefore communication means provided in an embodiment of the present invention,
Can be on the premise of SDN controllers need not issue configuration strategy to OpenFlow interchangers in SDN controllers and OpenFlow
Inter-exchange establishes in-band communications passage, reduces the resource that network operation is consumed, and reduce OpenFlow interchangers
Complexity, so as to reduce the cost that in-band communications passage is established in SDN controllers and OpenFlow inter-exchanges.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with
Realized with hardware, or firmware is realized, or combinations thereof mode is realized.When implemented in software, can be by above-mentioned function
It is stored in computer-readable medium or is transmitted as one or more instructions on computer-readable medium or code.Meter
Calculation machine computer-readable recording medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to from a place to another
Any medium of individual place transmission computer program.Storage medium can be any usable medium that computer can access.With
Exemplified by this but it is not limited to:Computer-readable medium can include random access memory (English full name:Random Access
Memory, English abbreviation:RAM), read-only storage (English full name:Read Only Memory, English abbreviation:ROM), electricity can
EPROM (English full name:Electrically Erasable Programmable Read Only
Memory, English abbreviation:EEPROM), read-only optical disc (English full name:Compact Disc Read Only Memory, English
Referred to as:CD-ROM) or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or
Desired program code of the storage with instruction or data structure form simultaneously can be by any other medium of computer access.This
Outside.Any connection can be suitably turn into computer-readable medium.If for example, software be using coaxial cable, optical fiber cable,
Twisted-pair feeder, digital subscriber line (English full name:Digital Subscriber Line, English abbreviation:DSL it is) or such as red
The wireless technology of outside line, radio and microwave etc is transmitted from website, server or other remote sources, then coaxial electrical
The wireless technology of cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared ray, wireless and microwave etc is included in computer-readable
In the definition of medium.
Through the above description of the embodiments, it is apparent to those skilled in the art that, when with software
When mode realizes the present invention, it will can be stored in for the instruction or code that perform the above method in computer-readable medium or logical
Computer-readable medium is crossed to be transmitted.Computer-readable medium includes computer-readable storage medium and communication media, wherein communicating
Medium includes being easy to any medium that computer program is transmitted from a place to another place.Storage medium can be calculated
Any usable medium that machine can access.As example but it is not limited to:Computer-readable medium can include RAM, ROM, electricity can
EPROM (full name:Electrically erasable programmable read-only memory,
Referred to as:EEPROM), CD, disk or other magnetic storage apparatus or can be used in carrying or store with instruction or data
The desired program code of structure type simultaneously can be by any other medium of computer access.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (13)
- A kind of 1. communication means, it is characterised in that including:OpenFlow interchangers receive the first message;When it is determined that recipient's IP address of first message is the in-band communications interface IP address of the OpenFlow interchangers When, parse first message;When it is determined that sender's IP address of first message or recipient's IP address of first message are software defined network During the IP address of network SDN controllers, first message is forwarded in a manner of flooding.
- 2. communication means according to claim 1, it is characterised in that parsing first message, including:When it is determined that sender's IP address of first message is the IP address of the SDN controllers, described in acquisition OpenFlow interchangers receive the first port of first message;The communication means also includes:Receive the second message;When the OpenFlow interchangers determine that recipient's IP address of second message is the IP address of the SDN controllers When, second message is forwarded by the first port.
- 3. communication means according to claim 2, it is characterised in that the communication means also includes:When it is determined that sender's IP address of second message is the IP address of the SDN controllers, by except described first Other ports outside port on the OpenFlow interchangers for in-band communications forward second message.
- 4. according to the communication means described in claim any one of 1-3, it is characterised in that the communication means also includes:The OpenFlow interchangers send automatic discovery message, the automatic discovery message periodically through the first port Include the in-band communications interface IP address of the OpenFlow interchangers;The OpenFlow interchangers receive the automatic discovery message that neighbours OpenFlow interchangers are sent and pass through described first Port forwarding it is described it is automatic find message, according to it is described it is automatic find Receive message described in neighbours' OpenFlow interchangers band in Communication interface IP address.
- 5. communication means according to claim 4, it is characterised in that the communication means also includes:Receive the 3rd message;When it is determined that sender's IP address of the 3rd message is the IP address of the SDN controllers, pass through the 3rd end Mouth forwards the 3rd message, and the 3rd port is that the OpenFlow interchangers receive the transmission of neighbours OpenFlow interchangers Automatic discovery message COM1.
- 6. according to the communication means any one of claim 1-3, it is characterised in that OpenFlow interchangers receive first Before message, the communication means also includes:The virtual LAN VLAN of in-band communications is configured on the OpenFlow interchangers, and the OpenFlow is handed over All COM1s for in-band communications of changing planes are added in the VLAN;Configure the VLAN and be the in-band communications interface of the OpenFlow interchangers, and the IP of the in-band communications interface is set Address;Configuration and the IP address of the SDN controllers of the OpenFlow switch communications.
- A kind of 7. OpenFlow interchangers, it is characterised in that including:Receiving module, for receiving the first message;Sending module, for leading to when the band that the recipient's IP address for determining first message is the OpenFlow interchangers is interior When believing interface IP address, first message is parsed;When it is determined that sender's IP address of first message or recipient's IP address of first message are software defined network During the IP address of network SDN controllers, first message is forwarded in a manner of flooding.
- 8. OpenFlow interchangers according to claim 7, it is characterised in that the sending module is specifically used for:When it is determined that sender's IP address of first message is the IP address of the SDN controllers, described in acquisition OpenFlow interchangers receive the first port of first message;The receiving module is additionally operable to:Receive the second message;The sending module is additionally operable to:When it is determined that recipient's IP address of second message is the IP address of the SDN controllers, pass through the first end Mouth forwards second message.
- 9. OpenFlow interchangers according to claim 8, it is characterised in that the sending module is additionally operable to:When it is determined that sender's IP address of second message is the IP address of the SDN controllers, by except described first Other ports outside port on the OpenFlow interchangers for in-band communications forward second message.
- 10. the OpenFlow interchangers according to claim 7-9, it is characterised in that the sending module is additionally operable to:Automatic discovery message is sent periodically through the first port, the automatic discovery message is handed over including the OpenFlow The in-band communications interface IP address changed planes;The receiving module is additionally operable to:Receive the automatic discovery message that neighbours OpenFlow interchangers are sent and the automatic hair is forwarded by the first port Existing message, according to the in-band communications interface IP address of neighbours' OpenFlow interchangers described in the automatic discovery Receive message.
- 11. OpenFlow interchangers according to claim 10, it is characterised in that the receiving module is additionally operable to:Receive the 3rd message;The sending module is additionally operable to:When it is determined that sender's IP address of the 3rd message is the IP address of the SDN controllers, pass through the 3rd end Mouth forwards the 3rd message, and the 3rd port is that the OpenFlow interchangers receive the transmission of neighbours OpenFlow interchangers Automatic discovery message COM1.
- 12. OpenFlow interchangers according to claim 11, it is characterised in that the OpenFlow interchangers also include Initialization module, it is used for:The virtual LAN VLAN of in-band communications is configured on the OpenFlow interchangers, and the OpenFlow is handed over All COM1s for in-band communications of changing planes are added in the VLAN;Configure the VLAN and be the in-band communications interface of the OpenFlow interchangers, and the IP of the in-band communications interface is set Address;Configuration and the IP address of the SDN controllers of the OpenFlow switch communications.
- A kind of 13. communication system, it is characterised in that including the OpenFlow interchangers as described in any in claim 7-12 with And SDN controllers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610769603.7A CN107786441B (en) | 2016-08-30 | 2016-08-30 | Communication method, OpenFlow switch and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610769603.7A CN107786441B (en) | 2016-08-30 | 2016-08-30 | Communication method, OpenFlow switch and communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107786441A true CN107786441A (en) | 2018-03-09 |
CN107786441B CN107786441B (en) | 2020-09-11 |
Family
ID=61440922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610769603.7A Active CN107786441B (en) | 2016-08-30 | 2016-08-30 | Communication method, OpenFlow switch and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107786441B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144540A (en) * | 2018-07-27 | 2019-01-04 | 同济大学 | A kind of distributed software defined network update method |
CN110098967A (en) * | 2019-05-14 | 2019-08-06 | 浙江国利网安科技有限公司 | A kind of communication means, device, equipment and medium |
CN113765857A (en) * | 2020-06-04 | 2021-12-07 | 华为技术有限公司 | Message forwarding method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103763207A (en) * | 2014-01-29 | 2014-04-30 | 杭州华三通信技术有限公司 | In-band control connection establishment method and device in SDN |
CN104580025A (en) * | 2013-10-18 | 2015-04-29 | 华为技术有限公司 | Method for establishing in-band connection in open flow network and switch |
CN104579968A (en) * | 2013-10-26 | 2015-04-29 | 华为技术有限公司 | Method of SDN (Software Defined Network) exchanges to obtain precise flow table items, SDN exchange, controller and system |
-
2016
- 2016-08-30 CN CN201610769603.7A patent/CN107786441B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580025A (en) * | 2013-10-18 | 2015-04-29 | 华为技术有限公司 | Method for establishing in-band connection in open flow network and switch |
CN104579968A (en) * | 2013-10-26 | 2015-04-29 | 华为技术有限公司 | Method of SDN (Software Defined Network) exchanges to obtain precise flow table items, SDN exchange, controller and system |
CN103763207A (en) * | 2014-01-29 | 2014-04-30 | 杭州华三通信技术有限公司 | In-band control connection establishment method and device in SDN |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144540A (en) * | 2018-07-27 | 2019-01-04 | 同济大学 | A kind of distributed software defined network update method |
CN110098967A (en) * | 2019-05-14 | 2019-08-06 | 浙江国利网安科技有限公司 | A kind of communication means, device, equipment and medium |
CN113765857A (en) * | 2020-06-04 | 2021-12-07 | 华为技术有限公司 | Message forwarding method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107786441B (en) | 2020-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107438016A (en) | Network management, equipment, system and storage medium | |
CN101217338A (en) | Detection message transmitting method, network element device | |
CN101453413A (en) | Method and apparatus for automatic topology discovery and resource management in PBB network | |
CN103220276B (en) | A kind of method of network insertion, gateway and system | |
WO2020220459A1 (en) | Vxlan and openflow-based method and system for sharing virtual home network | |
CN107786441A (en) | A kind of communication means, OpenFlow interchangers and communication system | |
CN109076019A (en) | Addressing for customer rs premise LAN extension | |
CN105472486A (en) | Processing method for preventing routing loop of PON access system | |
CN102209034A (en) | Layer 2 path maximum transmission unit discovery method and node | |
CN102281165A (en) | Fault detection method based on QoS, system and apparatus thereof | |
JP4953360B2 (en) | Communication apparatus and program for processing operation maintenance management frame | |
US20220094572A1 (en) | Gateway selection method, device, and system | |
KR20170076064A (en) | Method, apparatus and computer program for subnetting of software defined network | |
EP1933524A1 (en) | System for ethernet supporting the transmitting of the source-specific multicast and the method thereof | |
CN109167729B (en) | Topology discovery method and device and multi-service transmission network system | |
CN107465621A (en) | A kind of router finds method, SDN controllers, router and network system | |
CN101242339A (en) | IP data transmission method based on RRU | |
CN104539539A (en) | Multi-service-board data forwarding method for AC device | |
EP2566139B1 (en) | Method and device for obtaining remote ip address | |
CN100454828C (en) | Method for implementing terminal management in network equipment | |
CN100479371C (en) | Method of broadcast transmitting message and an exchange equipment | |
CN105681229A (en) | Method for extending port serial numbers and switch | |
CN102480413B (en) | Digital microwave equipment, network and network management data transmission method | |
CN100435520C (en) | Method for selecting services provided by different providers of network service | |
CN110445708A (en) | Communication means and system in a kind of Convergence gateway |
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 |