CN104320345B - The method and device of topology information collection in SDN - Google Patents
The method and device of topology information collection in SDN Download PDFInfo
- Publication number
- CN104320345B CN104320345B CN201410598840.2A CN201410598840A CN104320345B CN 104320345 B CN104320345 B CN 104320345B CN 201410598840 A CN201410598840 A CN 201410598840A CN 104320345 B CN104320345 B CN 104320345B
- Authority
- CN
- China
- Prior art keywords
- switching equipment
- message
- adjacent
- interface
- address
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a kind of method and device of topology information collection in SDN, applied to the first switching equipment in SDN, first switching equipment is adjacent with the second switching equipment, and the first switching equipment is connected by first interface with the second interface of the second switching equipment, and this method includes:Obtain the second device identification and the second interface Internet protocol IP address of second switching equipment;According to second device identification and the second interface IP address, generate the first adjacency information, and send adjacent message to controller, wherein, first adjacency information is carried in the adjacent message, so that the controller generates the syntople between first switching equipment and second switching equipment in the second adjacency information matching that first adjacency information and second switching equipment are sent.The application directly can be collected to three etale topology information of SDN.
Description
Technical field
The present invention relates to a kind of method of topology information collection in network communication technology field, more particularly to SDN and
Device.
Background technology
SDN (Software Defined Networks, software defined network) is a kind of new transmission via net framework,
By by control plane and data planar separation, realizing the flexible control of network traffics.SDN is handed over by SDN controllers and SDN
Exchange device forms.Wherein, SDN controllers are responsible for collection network topology information, calculate forward-path and the generation turn of service message
Flow table is sent out, the flow table that SDN switching equipment issue according to SDN controllers carries out the forwarding of service message.
At present, SDN is assisted using LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol)
View and SDN management agreements (interaction protocol between SDN controllers and SDN switching equipment, such as OpenFlow agreements) are engaged
Mode carry out the collection of network topological information, but which can only obtain the physical topology information of network, can not be to network
Three etale topology information are collected.
The content of the invention
In view of this, this application provides a kind of method of topology information collection in SDN, this method to be applied to SDN
The first switching equipment in network, first switching equipment is adjacent with the second switching equipment, and first switching equipment leads to
The second interface that first interface is crossed with second switching equipment is connected, and this method includes:
Obtain the second device identification and the second interface IP address of second switching equipment;
According to second device identification and the second interface IP address, the first adjacency information is generated, and to controller
Adjacent message is sent, wherein, first adjacency information is carried in the adjacent message, so that the controller is described first
During the second adjacency information matching that adjacency information and second switching equipment are sent, generate first switching equipment with it is described
Syntople between second switching equipment.
Present invention also provides a kind of method of topology information collection in SDN, applied to the control in SDN
Device, the SDN includes adjacent the first switching equipment and the second switching equipment, and first switching equipment passes through
One interface is connected with the second interface of second switching equipment, and this method includes:
The adjoining message that first switching equipment is sent is received, the first adjacency information, institute are carried in the adjacent message
It is first switching equipment according to the second device identification of second switching equipment of acquisition and the to state the first adjacency information
Two interface IP address generate;
When the first adjacency information of first switching equipment matches with the second adjacency information of second switching equipment
When, generate the syntople between first switching equipment and second switching equipment.
Present invention also provides a kind of device of topology information collection in SDN, is handed over applied to first in SDN
Exchange device, first switching equipment is adjacent with the second switching equipment, and first switching equipment passes through first interface and institute
The second interface connection of the second switching equipment is stated, the device includes:
Apparatus information acquiring unit, the second device identification and second interface for obtaining second switching equipment are internet
Protocol IP address;
Adjacent message sending unit, for according to second device identification and the second interface IP address, generation the
One adjacency information, and adjacent message is sent to controller, wherein, first adjacency information is carried in the adjacent message, with
Make the controller in the second adjacency information matching that first adjacency information and second switching equipment are sent, generation
Syntople between first switching equipment and second switching equipment.
Present invention also provides a kind of device of topology information collection in SDN, applied to the control in SDN
Device, the SDN includes adjacent the first switching equipment and the second switching equipment, and first switching equipment passes through
One interface is connected with the second interface of second switching equipment, and the device includes:
Message reception units, for receiving the adjoining message of the first switching equipment transmission, taken in the adjacent message
The adjacency information of band first, first adjacency information are first switching equipment according to second switching equipment of acquisition
Second device identification and the generation of second interface IP address;
Syntople processing unit, for being set when the first adjacency information of first switching equipment exchanges with described second
When the second standby adjacency information matches, the syntople between first switching equipment and second switching equipment is generated.
In this application, switching equipment directly obtains the layer three information of switching equipment adjacent thereto, generates local exchange
Equipment and the adjacency information of adjacent switching equipment, and the adjacency information is sent to controller.Controller receives all exchanges and set
Standby adjacency information, when the adjacency information matching that two switching equipment are sent be present, generate the neighbour between two switching equipment
Relation is connect, so as to complete the topology information collection to SDN.
Brief description of the drawings
Fig. 1 is the typical structural representation of SDN.
Fig. 2 is the process chart of the method for topology information collection in SDN in a kind of embodiment of the application.
Fig. 3 is the process chart of the method for topology information collection in SDN in the application another embodiment.
Fig. 4 is the underlying hardware schematic diagram of the device of topology information collection in SDN in a kind of embodiment of the application.
Fig. 5 is the structural representation of the device of topology information collection in SDN in a kind of embodiment of the application.
Fig. 6 is the structural representation of the device of topology information collection in SDN in the application another embodiment.
Embodiment
For the object, technical solution and advantage of the application are more clearly understood, referring to the drawings to herein described
Scheme is described in further detail.
Fig. 1 show the typical structural representation of SDN.SDN by controller and switching equipment (SW1, SW2,
SW3 and SW4) composition, wherein, controller is responsible for collection network topology information, calculates forward-path and the generation of service message
Flow table item is forwarded, the flow table item that switching equipment issues according to controller carries out the forwarding of service message.
At present, in SDN, generally use LLDP agreements and SDN management agreements (SDN controllers and SDN switching equipment
Between interaction protocol, for example, OpenFlow agreements) the physical topology information of collection network.However, from physical topology information
When being changed to three etale topology information, it usually needs by some supplementary means obtain SDN switching equipment layer three information (for example,
The information such as the identification information and/or interface IP address of SDN switching equipment), but the acquisition of the layer three information depends on distinct device
The privately owned definition of manufacturer, currently without unified standard.It can be seen that the method that prior art obtains three etale topology information is more numerous
It is trivial, and it is unfavorable for network extension.
In view of the above-mentioned problems, the method that the embodiment of the present application proposes topology information collection in a kind of SDN, local exchange
Equipment generates adjacency information, the adjacency information includes this by obtaining device identification and the interface IP address of adjacent switching equipment
Device identification, interface identifier and the interface IP address of ground switching equipment, and device identification and the interface of adjacent switching equipment
The adjacency information is reported controller by IP address, local exchange equipment.Controller is receiving the adjacent letter of all switching equipment
After breath, adjacency information comparison is carried out, when the adjacency information of two switching equipment matches, generates the neighbour between two switching equipment
Relation is connect, so as to realize the topology information collection of whole SDN.
Referring to Fig. 2, for one embodiment flow chart of topology information acquiring method in the application SDN, the embodiment
The process of topology information collection in SDN is described from the first switching equipment side.
In the embodiment of the present application, the first switching equipment and the second switching equipment are neighbouring device, for example, SW1 shown in Fig. 1 with
SW2 is neighbouring device, and the first switching equipment is connected by first interface with the second interface of the second switching equipment, for example, SW1 leads to
The S2 interfaces for crossing S1 interfaces and SW2 connect.Wherein, first interface and second interface can be physical interface or logic
Interface, for example, the first switching equipment is connected with the second switching equipment by being used as the tunnel of logic interfacing, then first interface and
Two interfaces are tunnel interface.
Step 210, the second device identification and the second interface IP address of second switching equipment are obtained.
In SDN, each switching equipment can obtain adjacent friendship by the information exchange with adjacent switching equipment
The information of exchange device.In the embodiment of the present application, the first switching equipment can receive the second switching equipment and pass through IP multicast messages
The neighbours that form is sent have found message, and the neighbours have found that message can be based on UDP (User Datagram Protocol, user
Data pack protocol) transmission.First switching equipment finds to obtain the second device identification of the second switching equipment in message from the neighbours
With second interface IP address.Wherein, the second device identification is the identity of the second switching equipment, generally in the form of an ip address
Represent, second interface IP address is that the second switching equipment sends the IP address that neighbours have found the interface of message, second interface IP
Address can find that the source IP address of message IP heads obtains from neighbours.For example, SW2 sends neighbours from interface S2 finds message, it is false
If SW2 device identification is 2.2.2.2, interface S2 IP address is 10.1.1.2, then after SW1 receives neighbours' discovery message, from
Neighbours have found that the device identification that SW2 is obtained in message is 2.2.2.2, interface IP address 10.1.1.2, so as to know that SW2 is certainly
Oneself neighbouring device, and it is adjacent with oneself by S2 interfaces.
Step 220, according to second device identification and the second interface IP address, the first adjacency information is generated, and
Adjacent message is sent to controller.Wherein, first adjacency information is carried in the adjacent message, so that the controller exists
During the second adjacency information matching that first adjacency information and second switching equipment are sent, generation described first, which exchanges, to be set
The standby syntople between second switching equipment.
In step 210, the neighbours that the first switching equipment is sent from the second switching equipment have found to get second in message
Second device identification of switching equipment and second interface IP address, meanwhile, connecing for message can be found according to the neighbours are received
Mouth determines the first interface for the first switching equipment being connected with the second switching equipment, so as to be set according to the first of the first switching equipment
Standby mark, first interface mark and first interface IP address, and the second device identification of the second switching equipment and second connect
Mouth IP address, generates the first adjacency information, and first adjacency information represents that the first interface of the first switching equipment exchanges with second
Syntople is formed between the second interface of equipment.
After the first adjacency information is generated, the adjoining that the first adjacency information of carrying is sent to controller disappears first switching equipment
Breath, as shown in table 1.
Table 1
Table 1 is the message content example carried in the adjoining message that the first switching equipment is sent, is not limited in above-mentioned disappear
Content is ceased, other information related to Link State can also be carried in adjacent message.For example, the link metric shown in table 1
Value is the important parameter of path computing, and the link metric value can be specified by configuring or (bandwidth of link, trembled by parameter
Dynamic, packet loss and delay etc.) it is calculated, it is generally the case that link metric value is smaller, and corresponding path is optimal.First hands over
Exchange device can be based on TCP (Transmission Control Protocol, transmission control to the adjoining message that controller is sent
Agreement processed) transmission, to ensure the reliability of transmission.Similarly, the second adjacency information of generation is sent to control by the second switching equipment
Device processed.So that controller after the first adjacency information and the second adjacency information is received, carries out adjacency information comparison, as the first neighbour
When connecing information and the matching of the second adjacency information, the syntople of the first switching equipment and the second switching equipment is generated.
After the syntople of the first switching equipment and the second switching equipment is generated, the first switching equipment can further pass through
Receive the neighbours that the second switching equipment is sent with prefixed time interval and find message, judge that the first switching equipment exchanges with second and set
Whether the adjoining between standby is normal.The neighbours have found that the adjacent of the second switching equipment is carried in message keeps duration, and first exchanges
Equipment can keep duration to set timer according to the adjoining, if receiving the second switching equipment before timer expiry with pre-
If the neighbours that time interval is sent have found message, illustrate that the adjoining between the first switching equipment and the second switching equipment is normal, with
The neighbours newly received have found the adjacent holding duration renewal timer in message;If do not connect yet in the case of timer expiry
Receive the neighbours that the second switching equipment is sent with prefixed time interval and find message, illustrate that the first switching equipment exchanges with second and set
Adjacent abnormal between standby, the first switching equipment can send adjoining to controller and lose message, in message is lost in the adjoining
The first adjacency information is carried, as shown in table 2.
Table 2
Table 2 be that the first switching equipment is sent it is adjacent lose the message content example carried in message, be not limited on
State message content.Controller finds the adjacent pass between the first switching equipment and the second switching equipment according to the first adjacency information
System, deletes the syntople, realizes automatically updating for network topological information.
In addition, when the first switching equipment and controller are established and connected, equipment message can be sent to controller, such as table 3
It is shown.
Equipment message promoter | First device identification |
Equipment message content | First interface mark, first interface IP address, |
Table 3
Table 3 is the message content example carried in the equipment message that the first switching equipment is sent.Can by the equipment message
So that controller knows the configuration information of the first switching equipment, i.e. the first device identification, first interface mark and first interface
IP address.
Referring to Fig. 3, for another embodiment flow chart of topology information acquiring method in the application SDN, the implementation
The process of topology information collection in SDN is described from controller side for example.
As it was previously stated, the first switching equipment and the second switching equipment are neighbouring device, and the first switching equipment passes through first
Interface is connected with the second interface of the second switching equipment.
Step 310, the adjoining message that first switching equipment is sent is received, the first adjoining is carried in the adjacent message
Information, first adjacency information are second equipment mark of first switching equipment according to second switching equipment of acquisition
Know and second interface IP address generates.
Controller receives the adjoining message that the first switching equipment is sent, and the first adjacency information is carried in the adjoining message, and
The first device identification, first interface mark and the first interface IP of the first switching equipment are included in first adjacency information
Location, and the second device identification and the second interface IP address of the second switching equipment.The generating process of first adjacency information exists
Have been described in, will not be repeated here in step 220.Wherein, the second device identification of the second switching equipment and second interface
IP address is the first switching equipment by being obtained with the information exchange of the second switching equipment, referring specifically to step 210, herein not
Repeat again.
Similarly, controller can get the second adjacency information of the second switching equipment.
Step 320, when the first adjacency information of first switching equipment and the second of second switching equipment abut
During information matches, the syntople between first switching equipment and second switching equipment is generated.
The first adjacency information of the first switching equipment and the second adjacency information of the second switching equipment are got when controller
Afterwards, adjacency information comparison, when the first adjacency information is identical with the syntople represented by the second adjacency information, i.e., first are carried out
Adjacency information and the second adjacency information represent the first interface of the first switching equipment and the second interface phase of the second switching equipment
Even, then the syntople of the first switching equipment and the second switching equipment is generated.
After the generation of the syntople of the first switching equipment and the second switching equipment, if controller receives the first exchange
The adjacent loss message that equipment is sent, the first exchange can be found according to the first adjacency information carried in adjoining loss message and set
The standby syntople between the second switching equipment, the syntople is deleted.Wherein, it is the first exchange that message is lost in the adjoining
Equipment does not receive the neighbours that the second switching equipment is sent again in the adjacent holding duration of the second switching equipment and finds message
When the message that sends, specific generating process that message is lost in first adjoining will not be repeated here referring to step 220.
Now still by taking SDN shown in Fig. 1 as an example, the processing procedure of topology information collection in SDN is introduced.
Because the generating process of the syntople between adjacent switching equipment is identical, therefore, the present embodiment is with SW1 and SW2
Between syntople exemplified by describe in detail.
It is assumed that SW1 device identification is 1.1.1.1, the interface being connected with SW2 is S1, and S1 IP address is 10.1.1.1;
SW2 device identification is 2.2.2.2, and the interface being connected with SW1 is S2, and S2 IP address is 10.1.1.2.
First, the neighbours that SW1 is sent from S1 interface to SW2 have found message, find to get in message from the neighbours
SW2 device identification (2.2.2.2), and find that the source IP address field of message is got from the neighbours and send neighbours discovery
The interface S2 of message IP address (10.1.1.2).Adjacency information is generated in SW1, is shown in Table 4.
Table 4
Adjacency information in table 4 is carried and is sent to controller in adjacent message by SW1.
Similarly, the neighbours that SW2 is sent from S2 interface to SW1 have found message, find to get in message from the neighbours
SW1 device identification (1.1.1.1), and find that the source IP address field of message is got from the neighbours and send neighbours discovery
The interface S1 of message IP address (10.1.1.1).Adjacency information is generated in SW2, is shown in Table 5.
Table 5
Adjacency information in table 5 is carried and is sent to controller in adjacent message by SW2.
Controller is compared after the adjacency information and SW2 adjacency information for receiving SW1, finds SW1 adjacent letter
Breath matches with SW2 adjacency information, the equal device identification including SW1 and S1 IP address, and SW2 device identification and S2
IP address, i.e., represent that SW1 S1 interfaces are connected with SW2 S2 interfaces, therefore, generate SW1 and SW2 syntople.
After SW1 and SW2 syntople generation, it is assumed that the neighbours that the SW2 cycles send have found the adjoining carried in message
A length of 5s during holding, then SW1 receive every time after neighbours have found message, the adjacent of startup can be updated and keep timer, during timing
A length of 5s.If the neighbours that SW1 does not receive SW2 transmissions in 5s have found message, the adjoining for carrying SW1 adjacency informations is sent
Message is lost, notification controller deletes SW1 and SW2 syntople.Controller receives the adjacent of SW1 transmissions and loses message
Afterwards, the syntople for SW1 and SW2 being found according to the adjacency information of carrying is deleted.
Corresponding with the embodiment of the method for topology information collection in foregoing SDN, the application is also provided in SDN
The embodiment of the device of topology information collection.
The embodiment of the device of topology information collection can apply first in SDN networkings to hand in the application SDN
On exchange device or controller.Device embodiment can be realized by software, can also pass through hardware or the side of software and hardware combining
Formula is realized.It is that storage is run by the CPU of module where it as the device on a logical meaning exemplified by implemented in software
Corresponding computer program instructions are formed in device.For hardware view, as shown in figure 4, being topology in the application SDN
A kind of hardware structure diagram of module, in addition to the CPU shown in Fig. 4, memory, is filled in embodiment where the device of information
Module where putting can also generally include other hardware.
Fig. 5 is refer to, is the structural representation of the device of topology information collection in the SDN in the application one embodiment
Figure.Functionally divide, the device of topology information collection includes in the SDN:Apparatus information acquiring unit 501 and adjoining disappear
Transmitting element 502 is ceased, wherein:
Apparatus information acquiring unit 501, for obtaining the second device identification and the second interface of second switching equipment
Internet protocol IP address;
Adjacent message sending unit 502, for according to second device identification and the second interface IP address, generation
First adjacency information, and adjacent message is sent to controller, wherein, first adjacency information is carried in the adjacent message,
So that the controller is in the second adjacency information matching that first adjacency information and second switching equipment are sent, it is raw
Syntople between first switching equipment and second switching equipment.
Further, first adjacency information includes the first device identification of first switching equipment, first interface
Mark and first interface IP address, and the second device identification and the second interface IP address of second switching equipment.
Further, the apparatus information acquiring unit 501 can include:It was found that message receiving module and facility information obtain
Modulus block, wherein:
It was found that message receiving module, message is found for receiving the neighbours that second switching equipment is sent;
Apparatus information acquiring module, for finding that obtaining the second of second switching equipment in message sets from the neighbours
Standby mark and second interface IP address, wherein, the second interface IP address is the source IP address that the neighbours have found message.
Further, the adjacent message sending unit 502, can also include:Duration acquisition module, message is kept to receive
Judge module and loss message transmission module, wherein:
Duration acquisition module is kept, when the adjoining for obtaining the second switching equipment from neighbours discovery message is kept
It is long;
Message receives judge module, for judging that whether receiving second exchange in the adjacent holding duration sets
The standby neighbours sent again have found message;
Message transmission module is lost, if for not receiving second switching equipment again in the adjacent holding duration
The neighbours of secondary transmission have found message, then send adjacent loss message to the controller, and adjacent lose in message carries institute
The first adjacency information is stated, so that the controller deletes first switching equipment and described the according to first adjacency information
Syntople between two switching equipment.
The embodiment of the device of topology information collection can be applied in SDN in SDN shown in above-mentioned Fig. 5
On first switching equipment, its specific implementation process can be found in the explanation of preceding method embodiment, will not be repeated here.
Fig. 6 is refer to, the structure for the device of topology information collection in the SDN in the application another embodiment is shown
It is intended to.Functionally divide, the device of topology information collection includes in the SDN:Adjacent message reception units 601 and adjoining
Relation generation unit 602, wherein:
Message reception units 601, the adjoining message sent for receiving first switching equipment, in the adjacent message
The first adjacency information is carried, first adjacency information is second switching equipment of first switching equipment according to acquisition
The second device identification and second interface IP address generation;
Syntople processing unit 602, handed over for the first adjacency information when first switching equipment with described second
During the second adjacency information matching of exchange device, the adjacent pass between first switching equipment and second switching equipment is generated
System.
Further, first adjacency information includes the first device identification of first switching equipment, first interface
Mark and first interface IP address, and the second device identification and the second interface IP address of second switching equipment.
Further, the message reception units 601, it is additionally operable to receive the adjacent loss that first switching equipment is sent
Message, wherein, adjacent lose carries first adjacency information in message, the adjacent message of losing is handed over for described first
Exchange device does not receive the neighbour that second switching equipment is sent again in the adjacent holding duration of second switching equipment
Occupy the message for finding to be sent during message;
The syntople processing unit 602, it is additionally operable to when the message reception units 601 receive adjacent loss message
Afterwards, the syntople between first switching equipment and second switching equipment is deleted according to first adjacency information.
The embodiment of the device of topology information collection can be applied in SDN networkings in SDN shown in above-mentioned Fig. 6
On controller, its specific implementation process can be found in the explanation of preceding method embodiment, will not be repeated here.
As can be seen that being interacted by the layer three information between switching equipment, often from above method and the embodiment of device
One switching equipment can obtain the information of switching equipment adjacent thereto, generation local exchange equipment and adjacent switching equipment
Adjacency information, and the adjacency information is reported into controller.Controller is compared by adjacency information, with identical adjacency information
Syntople is generated between switching equipment, it is achieved thereby that the three etale topology informations at SDN networkings, the collection method are simply easy
OK.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application
God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.
Claims (14)
1. a kind of method of topology information collection in software defined network SDN, exchange and set applied to first in SDN
Standby, first switching equipment is adjacent with the second switching equipment, and first switching equipment passes through first interface and described the
The second interface connection of two switching equipment, it is characterised in that this method includes:
Obtain the second device identification and the second interface Internet protocol IP address of second switching equipment;
According to second device identification and the second interface IP address, the first adjacency information is generated, and send to controller
Adjacent message, wherein, first adjacency information is carried in the adjacent message, so that the controller is in the described first adjoining
During the second adjacency information matching that information and second switching equipment are sent, first switching equipment and described second is generated
Syntople between switching equipment, complete the topology information collection to the SDN.
2. the method as described in claim 1, it is characterised in that:
First adjacency information includes the first device identification of first switching equipment, first interface identifies and first connects
Mouth IP address, and the second device identification and the second interface IP address of second switching equipment.
3. the method as described in claim 1, it is characterised in that second device identification for obtaining second switching equipment
With second interface IP address, including:
Receive the neighbours that second switching equipment is sent and find message;
Find to obtain the second device identification and the second interface IP address of second switching equipment in message from the neighbours, its
In, the second interface IP address is the source IP address that the neighbours have found message.
4. method as claimed in claim 3, it is characterised in that also include:
Find that the adjacent of the second switching equipment is obtained in message keeps duration from the neighbours;
Judge that the neighbours that second switching equipment is sent again whether are received in the adjacent holding duration finds message;
If it is not, then sending adjacent loss message to the controller, adjacent lose carries the first adjoining letter in message
Breath so that the controller according to first adjacency information delete first switching equipment and second switching equipment it
Between syntople.
5. a kind of method of topology information collection in software defined network SDN, applied to the controller in SDN, institute
Stating SDN includes adjacent the first switching equipment and the second switching equipment, and first switching equipment connects by first
Mouth is connected with the second interface of second switching equipment, it is characterised in that this method includes:
The adjoining message that first switching equipment is sent is received, carries the first adjacency information in the adjacent message, described the
One adjacency information is that first switching equipment connects according to the second device identification and second of second switching equipment of acquisition
Mouth IP address generation;
It is raw when the first adjacency information of first switching equipment matches with the second adjacency information of second switching equipment
Syntople between first switching equipment and second switching equipment, complete to believe the topology of the SDN
Breath is collected.
6. method as claimed in claim 5, it is characterised in that:
First adjacency information includes the first device identification of first switching equipment, first interface identifies and first connects
Mouth IP address, and the second device identification and the second interface IP address of second switching equipment.
7. method as claimed in claim 5, it is characterised in that also include:
The adjacent loss message that first switching equipment is sent is received, adjacent lose carries first adjoining in message
Information, the adjacent message of losing is that first switching equipment keeps not connecing in duration in the adjacent of second switching equipment
Receive the message that the neighbours that second switching equipment is sent again have found to send during message;
Syntople between first switching equipment and second switching equipment is deleted according to first adjacency information.
8. the device of topology information collection in a kind of software defined network SDN, exchange and set applied to first in SDN
Standby, first switching equipment is adjacent with the second switching equipment, and first switching equipment passes through first interface and described the
The second interface connection of two switching equipment, it is characterised in that the device includes:
Apparatus information acquiring unit, for obtaining the second device identification and the second interface Internet protocol of second switching equipment
IP address;
Adjacent message sending unit, for adjacent according to second device identification and the second interface IP address, generation first
Information is connect, and adjacent message is sent to controller, wherein, first adjacency information is carried in the adjacent message, so that institute
Controller is stated in the second adjacency information matching that first adjacency information and second switching equipment are sent, described in generation
Syntople between first switching equipment and second switching equipment, completes the topology information collection to the SDN.
9. device as claimed in claim 8, it is characterised in that:
First adjacency information includes the first device identification of first switching equipment, first interface identifies and first connects
Mouth IP address, and the second device identification and the second interface IP address of second switching equipment.
10. device as claimed in claim 8, it is characterised in that the apparatus information acquiring unit, including:
It was found that message receiving module, message is found for receiving the neighbours that second switching equipment is sent;
Apparatus information acquiring module, for finding to obtain the second equipment mark of second switching equipment in message from the neighbours
Knowledge and second interface IP address, wherein, the second interface IP address is the source IP address that the neighbours have found message.
11. device as claimed in claim 10, it is characterised in that the adjacent message sending unit, in addition to:
Duration acquisition module is kept, for finding that the adjacent of the second switching equipment is obtained in message keeps duration from the neighbours;
Message receives judge module, for judging whether receive second switching equipment again in the adjacent holding duration
The neighbours of secondary transmission have found message;
Message transmission module is lost, if being sent out again for not receiving second switching equipment in the adjacent holding duration
The neighbours that send have found message, then to the controller send it is adjacent lose message, adjacent lose carries described the in message
One adjacency information, handed over so that the controller deletes first switching equipment and described second according to first adjacency information
Syntople between exchange device.
A kind of 12. device of topology information collection in software defined network SDN, applied to the controller in SDN, institute
Stating SDN includes adjacent the first switching equipment and the second switching equipment, and first switching equipment connects by first
Mouth is connected with the second interface of second switching equipment, it is characterised in that the device includes:
Message reception units, the adjoining message sent for receiving first switching equipment, the is carried in the adjacent message
One adjacency information, first adjacency information are first switching equipment according to the second of second switching equipment of acquisition
Device identification and the generation of second interface IP address;
Syntople processing unit, for the first adjacency information when first switching equipment and second switching equipment
When second adjacency information matches, the syntople between first switching equipment and second switching equipment is generated, is completed
To the topology information collection of the SDN.
13. device as claimed in claim 12, it is characterised in that:
First adjacency information includes the first device identification of first switching equipment, first interface identifies and first connects
Mouth IP address, and the second device identification and the second interface IP address of second switching equipment.
14. device as claimed in claim 12, it is characterised in that:
The message reception units, it is additionally operable to receive the adjacent loss message that first switching equipment is sent, wherein, the neighbour
Connect to lose and first adjacency information is carried in message, the adjacent loss message is first switching equipment described second
The neighbours that second switching equipment is sent again are not received in the adjacent holding duration of switching equipment to find to send during message
Message;
The syntople processing unit, it is additionally operable to after the message reception units receive the adjacent loss message, root
The syntople between first switching equipment and second switching equipment is deleted according to first adjacency information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410598840.2A CN104320345B (en) | 2014-10-30 | 2014-10-30 | The method and device of topology information collection in SDN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410598840.2A CN104320345B (en) | 2014-10-30 | 2014-10-30 | The method and device of topology information collection in SDN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104320345A CN104320345A (en) | 2015-01-28 |
CN104320345B true CN104320345B (en) | 2018-02-09 |
Family
ID=52375519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410598840.2A Active CN104320345B (en) | 2014-10-30 | 2014-10-30 | The method and device of topology information collection in SDN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104320345B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9860350B2 (en) | 2015-05-12 | 2018-01-02 | Huawei Technologies Co., Ltd. | Transport software defined networking (SDN)—logical to physical topology discovery |
US10425319B2 (en) | 2015-05-21 | 2019-09-24 | Huawei Technologies Co., Ltd. | Transport software defined networking (SDN)—zero configuration adjacency via packet snooping |
US10015053B2 (en) | 2015-05-21 | 2018-07-03 | Huawei Technologies Co., Ltd. | Transport software defined networking (SDN)—logical link aggregation (LAG) member signaling |
CN106330630B (en) | 2015-07-03 | 2019-09-03 | 华为技术有限公司 | Transmit method, the transmitter and receiver of the data flow of flexible Ethernet |
CN107104811B (en) * | 2016-02-22 | 2021-08-17 | 中兴通讯股份有限公司 | Network function implementation method and control device |
CN107231249B (en) * | 2016-03-25 | 2020-07-14 | 华为技术有限公司 | Method for acquiring physical topology information of forwarding node, controller and forwarding node |
CN107104824B (en) * | 2017-03-31 | 2019-12-06 | 新华三信息技术有限公司 | Network topology determination method and device |
CN110430265A (en) * | 2019-08-06 | 2019-11-08 | 北京奇艺世纪科技有限公司 | A kind of method and device obtaining server and inter-exchange corresponding relationship |
CN111600800B (en) * | 2020-04-01 | 2022-06-28 | 武汉迈威通信股份有限公司 | Method and device for discovering cross-network-segment topology |
CN114157931A (en) * | 2020-09-07 | 2022-03-08 | 中兴通讯股份有限公司 | Method, system, device and storage medium for determining topological relation of wavelength division device |
CN113691399A (en) * | 2021-08-17 | 2021-11-23 | 恒安嘉新(北京)科技股份公司 | Network topology determination method and device, electronic equipment and storage medium |
CN115834396A (en) * | 2022-11-23 | 2023-03-21 | 京东科技信息技术有限公司 | Method, device and system for determining network topology structure and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7471625B2 (en) * | 2001-10-31 | 2008-12-30 | Nec Corporation | Fault recovery system and method for a communications network |
CN101873230A (en) * | 2010-07-05 | 2010-10-27 | 北京星网锐捷网络技术有限公司 | Method and device for discovering physical network topology |
CN102158348A (en) * | 2011-01-30 | 2011-08-17 | 北京星网锐捷网络技术有限公司 | Network topology discovery method, device and network equipment |
CN103004147A (en) * | 2012-09-25 | 2013-03-27 | 华为技术有限公司 | Message forwarding path determining method, network device and control device |
CN103428031A (en) * | 2013-08-05 | 2013-12-04 | 浙江大学 | Inter-domain link fast failure recovery method based on software defined network |
-
2014
- 2014-10-30 CN CN201410598840.2A patent/CN104320345B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7471625B2 (en) * | 2001-10-31 | 2008-12-30 | Nec Corporation | Fault recovery system and method for a communications network |
CN101873230A (en) * | 2010-07-05 | 2010-10-27 | 北京星网锐捷网络技术有限公司 | Method and device for discovering physical network topology |
CN102158348A (en) * | 2011-01-30 | 2011-08-17 | 北京星网锐捷网络技术有限公司 | Network topology discovery method, device and network equipment |
CN103004147A (en) * | 2012-09-25 | 2013-03-27 | 华为技术有限公司 | Message forwarding path determining method, network device and control device |
CN103428031A (en) * | 2013-08-05 | 2013-12-04 | 浙江大学 | Inter-domain link fast failure recovery method based on software defined network |
Also Published As
Publication number | Publication date |
---|---|
CN104320345A (en) | 2015-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104320345B (en) | The method and device of topology information collection in SDN | |
US11477106B2 (en) | Data packet sending method and apparatus in IPV6 network | |
EP3313025B1 (en) | Data packet forwarding | |
US9661080B2 (en) | Systems and methods for smart device networking with an endpoint and a bridge | |
EP3043517B1 (en) | Routing method, method for controlling routing, network node and control entity | |
CN108738101A (en) | Method and apparatus for generating and safeguarding accurate network map in a communication network | |
CN105723657B (en) | Switch, controller, system and link quality detection method | |
CN105100142B (en) | The transfer control method and device of software defined network protocol massages | |
WO2018121257A1 (en) | Method, apparatus and system for sending message, and storage medium | |
US9418340B2 (en) | Fast learning to train learning machines using shadow joining | |
WO2020088683A1 (en) | Method for processing routing event record entry, network device and control device | |
US9094316B2 (en) | Dynamic name generation | |
CN112910704B (en) | Local area network system, method and device supporting dynamic self-adaptive network configuration | |
CN104980368A (en) | Bandwidth guarantee method and apparatus in software defined network (SDN) | |
CN105591798A (en) | Method and device for transmitting OAM information in DCN | |
JP2014027443A (en) | Control device, communication system, communication method, and program | |
TWI826999B (en) | Method and device for configuringtime-sensitive networkingand computer-readable storage medium | |
CN104363084A (en) | Link status synchronization method and device | |
CN105227458B (en) | The route computing method and device of TRILL ISIS | |
CN104796340A (en) | Multicast data transmission method and device | |
CN107231249B (en) | Method for acquiring physical topology information of forwarding node, controller and forwarding node | |
WO2015096734A1 (en) | Downlink transmission method for service data, and packet data gateway | |
EP3160080A1 (en) | Method, apparatus and system for configuring quality of service (qos) parameters | |
US20140211604A1 (en) | Method and Apparatus for the Fast Detection of Connectivity Loss Between Devices in a Network | |
WO2019119836A1 (en) | Message processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |