CN104320345A - Method and device for collecting topological information in SDN network - Google Patents

Method and device for collecting topological information in SDN network Download PDF

Info

Publication number
CN104320345A
CN104320345A CN201410598840.2A CN201410598840A CN104320345A CN 104320345 A CN104320345 A CN 104320345A CN 201410598840 A CN201410598840 A CN 201410598840A CN 104320345 A CN104320345 A CN 104320345A
Authority
CN
China
Prior art keywords
switching equipment
message
interface
adjacent
adjacency information
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
Application number
CN201410598840.2A
Other languages
Chinese (zh)
Other versions
CN104320345B (en
Inventor
叶金荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410598840.2A priority Critical patent/CN104320345B/en
Publication of CN104320345A publication Critical patent/CN104320345A/en
Application granted granted Critical
Publication of CN104320345B publication Critical patent/CN104320345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and device for collecting topological information in an SDN network. The method and device are applied to first exchange equipment in the SDN network. The first exchange equipment and second exchange equipment are adjacent, and the first exchange equipment is connected with a second interface of the second exchange equipment through a first interface. The method comprises the steps that a second equipment identification and a second interface IP address of the second exchange equipment are acquired; first adjacency information is generated according to the second equipment identification and the second interface IP address, and the adjacency information is sent to a controller, wherein the adjacency information carries the first adjacency information, so that when the first adjacency information and the second adjacency information sent by the second exchange equipment are matched, the controller generates the adjacency relation between the first exchange equipment and the second exchange equipment. According to the method and device, the three layers of topological information of the SDN network can be directly connected.

Description

The method of topology information collection and device in SDN
Technical field
The present invention relates to network communication technology field, particularly relate to method and the device of topology information collection in a kind of SDN.
Background technology
SDN (Software Defined Networks, software defined network) is a kind of novel transmission via net framework, by being separated with datum plane by control plane, realizes the flexible control of network traffics.SDN is made up of SDN controller and SDN switching equipment.Wherein, collection network topology information is responsible for by SDN controller, and the forward-path of computing service message also generates forwarding flow table, and SDN switching equipment carries out the forwarding of service message according to the stream table that SDN controller issues.
At present, SDN adopts LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) agreement and the SDN management agreement (interaction protocol between SDN controller and SDN switching equipment, such as OpenFlow agreement) mode that matches carries out the collection of network topological information, but which can only obtain the physical topology information of network, cannot collect three etale topology information of network.
Summary of the invention
In view of this, this application provides the method for topology information collection in a kind of SDN, the method is applied to the first switching equipment in SDN, described first switching equipment is adjacent with the second switching equipment, and described first switching equipment is connected by second interface of first interface with described second switching equipment, the method comprises:
Obtain the second device identification and second interface IP address of described second switching equipment;
According to described second device identification and described second interface IP address, generate the first adjacency information, and send adjacent message to controller, wherein, described first adjacency information is carried in described adjacent message, to make described controller when the second adjacency information that described first adjacency information and described second switching equipment send mates, generate the syntople between described first switching equipment and described second switching equipment.
Present invention also provides the method for topology information collection in a kind of SDN, be applied to the controller in SDN, described SDN comprises the first adjacent switching equipment and the second switching equipment, and described first switching equipment is connected by second interface of first interface with described second switching equipment, the method comprises:
Receive the adjacent message that described first switching equipment sends, carry the first adjacency information in described adjacent message, described first adjacency information is that described first switching equipment generates according to the second device identification of described second switching equipment obtained and the second interface IP address;
When the first adjacency information of described first switching equipment mates with the second adjacency information of described second switching equipment, generate the syntople between described first switching equipment and described second switching equipment.
Present invention also provides the device of topology information collection in a kind of SDN, be applied to the first switching equipment in SDN, described first switching equipment is adjacent with the second switching equipment, and described first switching equipment is connected by second interface of first interface with described second switching equipment, this device comprises:
Apparatus information acquiring unit, for obtaining the second device identification and the second interface Internet protocol IP address of described second switching equipment;
Adjacent message sending unit, for according to described second device identification and described second interface IP address, generate the first adjacency information, and send adjacent message to controller, wherein, carry described first adjacency information in described adjacent message, to make described controller when the second adjacency information that described first adjacency information and described second switching equipment send mates, generate the syntople between described first switching equipment and described second switching equipment.
Present invention also provides the device of topology information collection in a kind of SDN, be applied to the controller in SDN, described SDN comprises the first adjacent switching equipment and the second switching equipment, and described first switching equipment is connected by second interface of first interface with described second switching equipment, this device comprises:
Message reception units, for receiving the adjacent message that described first switching equipment sends, carry the first adjacency information in described adjacent message, described first adjacency information is that described first switching equipment generates according to the second device identification of described second switching equipment obtained and the second interface IP address;
Syntople processing unit, for when the first adjacency information of described first switching equipment mates with the second adjacency information of described second switching equipment, generates the syntople between described first switching equipment and described second switching equipment.
In this application, switching equipment directly obtains three layers of information of the switching equipment be adjacent, and generates the adjacency information of local exchange equipment and adjacent switching equipment, and this adjacency information is sent to controller.Controller receives the adjacency information of all switching equipment, when the adjacency information coupling that existence two switching equipment send, generates the syntople between two switching equipment, thus completes the topology information collection to SDN.
Accompanying drawing explanation
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 execution mode of the application.
Fig. 3 is the process chart of the method for topology information collection in SDN in the another kind of execution mode of the application.
Fig. 4 is the underlying hardware schematic diagram of the device of topology information collection in SDN in a kind of execution mode of the application.
Fig. 5 is the structural representation of the device of topology information collection in SDN in a kind of execution mode of the application.
Fig. 6 is the structural representation of the device of topology information collection in SDN in the another kind of execution mode of the application.
Embodiment
For making the object of the application, technical scheme and advantage clearly understand, referring to accompanying drawing, scheme described in the application is described in further detail.
Figure 1 shows that the typical structural representation of SDN.SDN is made up of controller and switching equipment (SW1, SW2, SW3 and SW4), wherein, collection network topology information is responsible for by controller, the forward-path of computing service message also generates forwarding flow list item, and switching equipment carries out the forwarding of service message according to the stream list item that controller issues.
At present, in SDN, usually adopt the physical topology information of LLDP agreement and SDN management agreement (interaction protocol between SDN controller and SDN switching equipment, such as, OpenFlow agreement) collection network.But, when from physical topology information to three etale topology information conversions, usually need to obtain three layers of information of SDN switching equipment (such as by some supplementary meanss, the information such as the identification information of SDN switching equipment and/or interface IP address), but the privately owned definition of distinct device manufacturer is depended in the acquisition of these three layers of information, does not seek unity of standard at present.Visible, the Measures compare that prior art obtains three etale topology information is loaded down with trivial details, and is unfavorable for extension of network.
For the problems referred to above, the embodiment of the present application proposes the method for topology information collection in a kind of SDN, local exchange equipment is by obtaining device identification and the interface IP address of adjacent switching equipment, generate adjacency information, this adjacency information comprises the device identification of local exchange equipment, interface identifier and interface IP address, and the device identification of adjacent switching equipment and interface IP address, this adjacency information is reported controller by local exchange equipment.Controller, after the adjacency information receiving all switching equipment, carries out adjacency information comparison, when the adjacency information coupling of two switching equipment, generates the syntople between two switching equipment, thus realizes the topology information collection of whole SDN.
See Fig. 2, be an embodiment flow chart of topology information acquiring method in the application's SDN, this embodiment is described from the first switching equipment side the process of topology information collection SDN.
In the embodiment of the present application, the first switching equipment and the second switching equipment are neighbouring device, such as, SW1 and SW2 shown in Fig. 1 is neighbouring device, first switching equipment is connected with the second interface of the second switching equipment by first interface, and such as, SW1 is connected with the S2 interface of SW2 by S1 interface.Wherein, first interface and the second interface can be physical interfaces, also can be logic interfacing, and such as, the first switching equipment is connected by the tunnel as logic interfacing with the second switching equipment, then first interface and the second interface are tunnel interface.
Step 210, obtains the second device identification and second interface IP address of described second switching equipment.
In SDN, each switching equipment by the information interaction with adjacent switching equipment, can obtain the information of adjacent switching equipment.In the embodiment of the present application, first switching equipment can receive the neighbor uni-cast message that the second switching equipment is sent by IP multicast message form, this neighbor uni-cast message can transmit based on UDP (User Datagram Protocol, User Datagram Protocol).First switching equipment obtains the second device identification and second interface IP address of the second switching equipment from this neighbor uni-cast message.Wherein, second device identification is the identify label of the second switching equipment, usually represent in the form of an ip address, the second interface IP address is the IP address that the second switching equipment sends the interface of neighbor uni-cast message, and this second interface IP address can obtain from the source IP address of neighbor uni-cast message IP head.Such as, SW2 sends neighbor uni-cast message from interface S2, suppose, the device identification of SW2 is 2.2.2.2, and the IP address of interface S2 is 10.1.1.2, then after SW1 receives neighbor uni-cast message, the device identification obtaining SW2 from neighbor uni-cast message is 2.2.2.2, interface IP address is 10.1.1.2, thus knows that SW2 is oneself neighbouring device, and adjacent with oneself by S2 interface.
Step 220, according to described second device identification and described second interface IP address, generates the first adjacency information, and sends adjacent message to controller.Wherein, described first adjacency information is carried in described adjacent message, to make described controller when the second adjacency information that described first adjacency information and described second switching equipment send mates, generate the syntople between described first switching equipment and described second switching equipment.
In step 210, first switching equipment gets the second device identification and second interface IP address of the second switching equipment from the neighbor uni-cast message that the second switching equipment sends, simultaneously, the first interface of the first switching equipment be connected with the second switching equipment can be determined according to the interface receiving this neighbor uni-cast message, thus according to the first device identification of the first switching equipment, first interface mark and first interface IP address, and second switching equipment the second device identification and the second interface IP address, generate the first adjacency information, this first adjacency information represents and forms syntople between the first interface of the first switching equipment and the second interface of the second switching equipment.
First switching equipment, after generation first adjacency information, sends the adjacent message of carrying the first adjacency information to controller, as shown in table 1.
Table 1
Table 1 is the message content example of carrying in the adjacent message of the first switching equipment transmission, is not limited in above-mentioned message content, can also carry other information relevant to Link State in adjacent message.Such as, link metric value shown in table 1 is the important parameter of path computing, this link metric value can be specified by configuration or is calculated by parameter (bandwidth of link, shake, packet loss and delay etc.), under normal circumstances, link metric value is less, and corresponding path is optimum.The adjacent message that first switching equipment sends to controller can be transmitted based on TCP (Transmission Control Protocol, transmission control protocol), to ensure the reliability transmitted.In like manner, the second adjacency information generated is sent to controller by the second switching equipment.To make controller after receiving the first adjacency information and the second adjacency information, carry out adjacency information comparison, when the first adjacency information and the second adjacency information coupling, generate the syntople of the first switching equipment and the second switching equipment.
After the syntople of generation first switching equipment and the second switching equipment, the neighbor uni-cast message that first switching equipment can send with prefixed time interval further by reception second switching equipment, whether what judge between the first switching equipment and the second switching equipment is adjacent normal.The adjacent maintenance duration of the second switching equipment is carried in this neighbor uni-cast message, first switching equipment can arrange timer according to this adjacent duration that keeps, if received the neighbor uni-cast message that the second switching equipment sends with prefixed time interval before timer expiry, what illustrate between the first switching equipment and the second switching equipment is adjacent normal, upgrades timer with the adjacent maintenance duration in the neighbor uni-cast message newly received; If do not receive the neighbor uni-cast message that the second switching equipment sends with prefixed time interval yet when timer expiry, adjacent exception between first switching equipment and the second switching equipment is described, first switching equipment can send adjacent loss message to controller, the first adjacency information is carried this adjacent loss in message, as shown in table 2.
Table 2
Table 2 is the message content example of carrying in the adjacent loss message of the first switching equipment transmission, is not limited in above-mentioned message content.Controller finds the syntople between the first switching equipment and the second switching equipment according to the first adjacency information, deletes this syntople, realizes the automatic renewal of network topological information.
In addition, when the first switching equipment and controller connect, can to controller transmitting apparatus message, as shown in table 3.
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 of carrying in the equipment message of the first switching equipment transmission.Controller can be made to know the configuration information of the first switching equipment by this equipment message, i.e. the first device identification, first interface mark and first interface IP address.
See Fig. 3, be another embodiment flow chart of topology information acquiring method in the application's SDN, this embodiment is described from controller side to the process of topology information collection SDN.
As previously mentioned, the first switching equipment and the second switching equipment are neighbouring device, and the first switching equipment is connected with the second interface of the second switching equipment by first interface.
Step 310, receive the adjacent message that described first switching equipment sends, carry the first adjacency information in described adjacent message, described first adjacency information is that described first switching equipment generates according to the second device identification of described second switching equipment obtained and the second interface IP address.
Controller receives the adjacent message that the first switching equipment sends, the first adjacency information is carried in this adjacent message, and in this first adjacency information, comprise the first device identification of the first switching equipment, first interface mark and first interface IP address, and the second device identification of the second switching equipment and the second interface IP address.The generative process of this first adjacency information is described in detail in a step 220, does not repeat them here.Wherein, the second device identification of the second switching equipment and the second interface IP address be the first switching equipment by obtaining with the information interaction of the second switching equipment, specifically see step 210, do not repeat them here.
In like manner, controller can get the second adjacency information of the second switching equipment.
Step 320, when the first adjacency information of described first switching equipment mates with the second adjacency information of described second switching equipment, generates the syntople between described first switching equipment and described second switching equipment.
After controller gets the first adjacency information of the first switching equipment and the second adjacency information of the second switching equipment, carry out adjacency information comparison, when the first adjacency information is identical with the syntople represented by the second adjacency information, namely the first adjacency information and the second adjacency information all represent that the first interface of the first switching equipment is connected with the second interface of the second switching equipment, then generate the syntople of the first switching equipment and the second switching equipment.
After the syntople of the first switching equipment and the second switching equipment generates, if controller receives the adjacent loss message that the first switching equipment sends, the syntople between the first switching equipment and the second switching equipment can be found according to the first adjacency information carried in this adjacent loss message, this syntople is deleted.Wherein, this is adjacent, and to lose message be the message that the first switching equipment sends when not receiving the neighbor uni-cast message that the second switching equipment sends again in the adjacent maintenance duration of the second switching equipment, the concrete generative process of this first adjacent loss message, see step 220, does not repeat them here.
Now still for SDN shown in Fig. 1, introduce topology information collection in SDN processing procedure.
Because the generative process of the syntople between adjacent switching equipment is identical, therefore, the present embodiment describes in detail for the syntople between SW1 and SW2.
Suppose, the device identification of SW1 is 1.1.1.1, and the interface be connected with SW2 is the IP address of S1, S1 is 10.1.1.1; The device identification of SW2 is 2.2.2.2, and the interface be connected with SW1 is the IP address of S2, S2 is 10.1.1.2.
First, the neighbor uni-cast message that SW1 sends from S1 interface to SW2, from this neighbor uni-cast message, get the device identification (2.2.2.2) of SW2, and get the IP address (10.1.1.2) of the interface S2 sending this neighbor uni-cast message from the source IP address field of this neighbor uni-cast message.Adjacency information is generated, in table 4 in SW1.
Table 4
Adjacency information in table 4 is carried in adjacent message and sends to controller by SW1.
In like manner, the neighbor uni-cast message that SW2 sends from S2 interface to SW1, from this neighbor uni-cast message, get the device identification (1.1.1.1) of SW1, and get the IP address (10.1.1.1) of the interface S1 sending this neighbor uni-cast message from the source IP address field of this neighbor uni-cast message.Adjacency information is generated, in table 5 in SW2.
Table 5
Adjacency information in table 5 is carried in adjacent message and sends to controller by SW2.
Controller is compared after the adjacency information of the adjacency information and SW2 that receive SW1, find that the adjacency information of SW1 mates with the adjacency information of SW2, include the device identification of SW1 and the IP address of S1, and the IP address of the device identification of SW2 and S2, namely all represent that the S1 interface of SW1 is connected with the S2 interface of SW2, therefore, the syntople of SW1 and SW2 is generated.
After the syntople of SW1 and SW2 generates, suppose, the adjacent maintenance duration carried in the neighbor uni-cast message that the SW2 cycle sends is 5s, then, after SW1 receives neighbor uni-cast message at every turn, can upgrade the adjacent maintenance timer of startup, timing length is 5s.If SW1 does not receive the neighbor uni-cast message that SW2 sends in 5s, then send the adjacent loss message of carrying SW1 adjacency information, notification controller deletes the syntople of SW1 and SW2.Controller finds the syntople of SW1 and SW2 to delete according to the adjacency information carried after receiving the adjacent loss message of SW1 transmission.
Corresponding with the embodiment of the method for topology information collection in aforementioned SDN, the application also provides the embodiment of the device of topology information collection in SDN.
In the application's SDN, the embodiment of the device of topology information collection can be applied on the first switching equipment in SDN networking or controller.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.For software simulating, as the device on a logical meaning, be that computer program instructions corresponding in the CPU run memory by its place module is formed.Say from hardware view; as shown in Figure 4; for a kind of hardware structure diagram of the device place module of topology information collection in the application's SDN, except the CPU shown in Fig. 4, memory, in embodiment, the module at device place can also comprise other hardware usually.
Please refer to Fig. 5, is the structural representation of the device of topology information collection in the SDN in the application's embodiment.Functionally divide, in this SDN, the device of topology information collection comprises: apparatus information acquiring unit 501 and adjacent message sending unit 502, wherein:
Apparatus information acquiring unit 501, for obtaining the second device identification and the second interface Internet protocol IP address of described second switching equipment;
Adjacent message sending unit 502, for according to described second device identification and described second interface IP address, generate the first adjacency information, and send adjacent message to controller, wherein, carry described first adjacency information in described adjacent message, to make described controller when the second adjacency information that described first adjacency information and described second switching equipment send mates, generate the syntople between described first switching equipment and described second switching equipment.
Further, described first adjacency information comprises the first device identification of described first switching equipment, first interface mark and first interface IP address, and the second device identification of described second switching equipment and the second interface IP address.
Further, described apparatus information acquiring unit 501 can comprise: find message receiver module and apparatus information acquiring module, wherein:
Find message receiver module, for receiving the neighbor uni-cast message that described second switching equipment sends;
Apparatus information acquiring module, for obtaining the second device identification and second interface IP address of described second switching equipment from described neighbor uni-cast message, wherein, described second interface IP address is the source IP address of described neighbor uni-cast message.
Further, described adjacent message sending unit 502, can also comprise: keep duration acquisition module, message receive judge module and lose message transmission module, wherein:
Keep duration acquisition module, for obtaining the adjacent maintenance duration of the second switching equipment from described neighbor uni-cast message;
Message receives judge module, for judging whether to receive in described adjacent maintenance duration the neighbor uni-cast message that described second switching equipment sends again;
Lose message transmission module, if for not receiving the neighbor uni-cast message that described second switching equipment sends again in described adjacent maintenance duration, then send adjacent loss message to described controller, carry described first adjacency information in described adjacent loss message, delete the syntople between described first switching equipment and described second switching equipment to make described controller according to described first adjacency information.
In SDN shown in above-mentioned Fig. 5, the embodiment of the device of topology information collection can be applied on the first switching equipment in SDN, and its specific implementation process see the explanation of preceding method embodiment, can not repeat them here.
Please refer to Fig. 6, is the structural representation of the device of topology information collection in the SDN in another embodiment of the application.Functionally divide, in this SDN, the device of topology information collection comprises: adjacent message reception units 601 and syntople generation unit 602, wherein:
Message reception units 601, for receiving the adjacent message that described first switching equipment sends, carry the first adjacency information in described adjacent message, described first adjacency information is that described first switching equipment generates according to the second device identification of described second switching equipment obtained and the second interface IP address;
Syntople processing unit 602, for when the first adjacency information of described first switching equipment mates with the second adjacency information of described second switching equipment, generates the syntople between described first switching equipment and described second switching equipment.
Further, described first adjacency information comprises the first device identification of described first switching equipment, first interface mark and first interface IP address, and the second device identification of described second switching equipment and the second interface IP address.
Further, described message reception units 601, also for receiving the adjacent loss message that described first switching equipment sends, wherein, carry described first adjacency information in described adjacent loss message, described adjacent loss message is the message that described first switching equipment sends when not receiving the neighbor uni-cast message that described second switching equipment sends again in the adjacent maintenance duration of described second switching equipment;
Described syntople processing unit 602, also for receive when described message reception units 601 adjacent lose message after, delete the syntople between described first switching equipment and described second switching equipment according to described first adjacency information.
In SDN shown in above-mentioned Fig. 6, the embodiment of the device of topology information collection can be applied on the controller in SDN networking, and its specific implementation process see the explanation of preceding method embodiment, can not repeat them here.
As can be seen from the embodiment of above method and apparatus, by three layer information exchanges between switching equipment, each switching equipment can obtain the information of the switching equipment be adjacent, generate the adjacency information of local exchange equipment and adjacent switching equipment, and this adjacency information is reported controller.Controller is by adjacency information comparison, and between the switching equipment with identical adjacency information, generate syntople, thus achieve the three etale topology informations at SDN networking, this collection method is simple.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, within all spirit in the application and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the application protects.

Claims (14)

1. the method for topology information collection in a software defined network SDN, be applied to the first switching equipment in SDN, described first switching equipment is adjacent with the second switching equipment, and described first switching equipment is connected by second interface of first interface with described second switching equipment, it is characterized in that, the method comprises:
Obtain the second device identification and the second interface Internet protocol IP address of described second switching equipment;
According to described second device identification and described second interface IP address, generate the first adjacency information, and send adjacent message to controller, wherein, described first adjacency information is carried in described adjacent message, to make described controller when the second adjacency information that described first adjacency information and described second switching equipment send mates, generate the syntople between described first switching equipment and described second switching equipment.
2. the method for claim 1, is characterized in that:
Described first adjacency information comprises the first device identification of described first switching equipment, first interface mark and first interface IP address, and the second device identification of described second switching equipment and the second interface IP address.
3. the method for claim 1, is characterized in that, the second device identification of described second switching equipment of described acquisition and the second interface IP address, comprising:
Receive the neighbor uni-cast message that described second switching equipment sends;
From described neighbor uni-cast message, obtain the second device identification and second interface IP address of described second switching equipment, wherein, described second interface IP address is the source IP address of described neighbor uni-cast message.
4. method as claimed in claim 3, is characterized in that, also comprise:
The adjacent maintenance duration of the second switching equipment is obtained from described neighbor uni-cast message;
Judge whether to receive in described adjacent maintenance duration the neighbor uni-cast message that described second switching equipment sends again;
If not, then send adjacent loss message to described controller, carry described first adjacency information in described adjacent loss message, delete the syntople between described first switching equipment and described second switching equipment to make described controller according to described first adjacency information.
5. the method for topology information collection in a software defined network SDN, be applied to the controller in SDN, described SDN comprises the first adjacent switching equipment and the second switching equipment, and described first switching equipment is connected by second interface of first interface with described second switching equipment, it is characterized in that, the method comprises:
Receive the adjacent message that described first switching equipment sends, carry the first adjacency information in described adjacent message, described first adjacency information is that described first switching equipment generates according to the second device identification of described second switching equipment obtained and the second interface IP address;
When the first adjacency information of described first switching equipment mates with the second adjacency information of described second switching equipment, generate the syntople between described first switching equipment and described second switching equipment.
6. method as claimed in claim 5, is characterized in that:
Described first adjacency information comprises the first device identification of described first switching equipment, first interface mark and first interface IP address, and the second device identification of described second switching equipment and the second interface IP address.
7. method as claimed in claim 5, is characterized in that, also comprise:
Receive the adjacent loss message that described first switching equipment sends, carry described first adjacency information in described adjacent loss message, described adjacent loss message is the message that described first switching equipment sends when not receiving the neighbor uni-cast message that described second switching equipment sends again in the adjacent maintenance duration of described second switching equipment;
The syntople between described first switching equipment and described second switching equipment is deleted according to described first adjacency information.
8. the device of topology information collection in a software defined network SDN, be applied to the first switching equipment in SDN, described first switching equipment is adjacent with the second switching equipment, and described first switching equipment is connected by second interface of first interface with described second switching equipment, it is characterized in that, this device comprises:
Apparatus information acquiring unit, for obtaining the second device identification and the second interface Internet protocol IP address of described second switching equipment;
Adjacent message sending unit, for according to described second device identification and described second interface IP address, generate the first adjacency information, and send adjacent message to controller, wherein, carry described first adjacency information in described adjacent message, to make described controller when the second adjacency information that described first adjacency information and described second switching equipment send mates, generate the syntople between described first switching equipment and described second switching equipment.
9. device as claimed in claim 8, is characterized in that:
Described first adjacency information comprises the first device identification of described first switching equipment, first interface mark and first interface IP address, and the second device identification of described second switching equipment and the second interface IP address.
10. device as claimed in claim 8, it is characterized in that, described apparatus information acquiring unit, comprising:
Find message receiver module, for receiving the neighbor uni-cast message that described second switching equipment sends;
Apparatus information acquiring module, for obtaining the second device identification and second interface IP address of described second switching equipment from described neighbor uni-cast message, wherein, described second interface IP address is the source IP address of described neighbor uni-cast message.
11. devices as claimed in claim 10, it is characterized in that, described adjacent message sending unit, also comprises:
Keep duration acquisition module, for obtaining the adjacent maintenance duration of the second switching equipment from described neighbor uni-cast message;
Message receives judge module, for judging whether to receive in described adjacent maintenance duration the neighbor uni-cast message that described second switching equipment sends again;
Lose message transmission module, if for not receiving the neighbor uni-cast message that described second switching equipment sends again in described adjacent maintenance duration, then send adjacent loss message to described controller, carry described first adjacency information in described adjacent loss message, delete the syntople between described first switching equipment and described second switching equipment to make described controller according to described first adjacency information.
The device of topology information collection in 12. 1 kinds of software defined network SDN, be applied to the controller in SDN, described SDN comprises the first adjacent switching equipment and the second switching equipment, and described first switching equipment is connected by second interface of first interface with described second switching equipment, it is characterized in that, this device comprises:
Message reception units, for receiving the adjacent message that described first switching equipment sends, carry the first adjacency information in described adjacent message, described first adjacency information is that described first switching equipment generates according to the second device identification of described second switching equipment obtained and the second interface IP address;
Syntople processing unit, for when the first adjacency information of described first switching equipment mates with the second adjacency information of described second switching equipment, generates the syntople between described first switching equipment and described second switching equipment.
13. devices as claimed in claim 12, is characterized in that:
Described first adjacency information comprises the first device identification of described first switching equipment, first interface mark and first interface IP address, and the second device identification of described second switching equipment and the second interface IP address.
14. devices as claimed in claim 12, is characterized in that:
Described message reception units, also for receiving the adjacent loss message that described first switching equipment sends, wherein, carry described first adjacency information in described adjacent loss message, described adjacent loss message is the message that described first switching equipment sends when not receiving the neighbor uni-cast message that described second switching equipment sends again in the adjacent maintenance duration of described second switching equipment;
Described syntople processing unit, also for after receive described adjacent loss message when described message reception units, deletes the syntople between described first switching equipment and described second switching equipment according to described first adjacency information.
CN201410598840.2A 2014-10-30 2014-10-30 The method and device of topology information collection in SDN Active CN104320345B (en)

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 true CN104320345A (en) 2015-01-28
CN104320345B 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)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016184270A1 (en) * 2015-05-21 2016-11-24 Huawei Technologies Co., Ltd. Transport software defined networking (sdn) –zero configuration adjacency via packet snooping
CN106330630A (en) * 2015-07-03 2017-01-11 华为技术有限公司 Method for flexibly transmitting data stream of Ethernet, transmitter and receiver
CN107104824A (en) * 2017-03-31 2017-08-29 紫光华山信息技术有限公司 A kind of network topology determines method and apparatus
WO2017143722A1 (en) * 2016-02-22 2017-08-31 中兴通讯股份有限公司 Network function implementing method, control device and network element
CN107231249A (en) * 2016-03-25 2017-10-03 华为技术有限公司 Acquisition methods, controller and the forward node of the physical topology information of forward node
CN107534611A (en) * 2015-05-12 2018-01-02 华为技术有限公司 Transmit software defined network (SDN) --- logic to physical topology discovering
US10015053B2 (en) 2015-05-21 2018-07-03 Huawei Technologies Co., Ltd. Transport software defined networking (SDN)—logical link aggregation (LAG) member signaling
CN110430265A (en) * 2019-08-06 2019-11-08 北京奇艺世纪科技有限公司 A kind of method and device obtaining server and inter-exchange corresponding relationship
CN111600800A (en) * 2020-04-01 2020-08-28 武汉迈威通信股份有限公司 Method and equipment for discovering cross-network-segment topology
CN113691399A (en) * 2021-08-17 2021-11-23 恒安嘉新(北京)科技股份公司 Network topology determination method and device, electronic equipment and storage medium
WO2022048379A1 (en) * 2020-09-07 2022-03-10 中兴通讯股份有限公司 Wavelength division topological relation determining method, system, device, 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107534611A (en) * 2015-05-12 2018-01-02 华为技术有限公司 Transmit software defined network (SDN) --- logic to physical topology discovering
KR102070963B1 (en) * 2015-05-12 2020-04-01 후아웨이 테크놀러지 컴퍼니 리미티드 Transmission SDN for physical topology discovery in logical topology
US9860350B2 (en) 2015-05-12 2018-01-02 Huawei Technologies Co., Ltd. Transport software defined networking (SDN)—logical to physical topology discovery
KR20180004250A (en) * 2015-05-12 2018-01-10 후아웨이 테크놀러지 컴퍼니 리미티드 Transport SDN for physical topology discovery in logical topology
EP3289735A4 (en) * 2015-05-12 2018-04-25 Huawei Technologies Co., Ltd. Transport software defined networking (sdn) logical to physical topology discovery
WO2016184270A1 (en) * 2015-05-21 2016-11-24 Huawei Technologies Co., Ltd. Transport software defined networking (sdn) –zero configuration adjacency via packet snooping
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
CN106330630A (en) * 2015-07-03 2017-01-11 华为技术有限公司 Method for flexibly transmitting data stream of Ethernet, transmitter and receiver
WO2017005108A1 (en) * 2015-07-03 2017-01-12 华为技术有限公司 Method, transmitter, and receiver for transmission of data stream in flexeth
CN106330630B (en) * 2015-07-03 2019-09-03 华为技术有限公司 Transmit method, the transmitter and receiver of the data flow of flexible Ethernet
US10425357B2 (en) 2015-07-03 2019-09-24 Huawei Technologies Co., Ltd. Method for transmitting data stream in flexible ethernet, transmitter, and receiver
WO2017143722A1 (en) * 2016-02-22 2017-08-31 中兴通讯股份有限公司 Network function implementing method, control device and network element
CN107231249A (en) * 2016-03-25 2017-10-03 华为技术有限公司 Acquisition methods, controller and the forward node of the physical topology information of forward node
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
CN107104824A (en) * 2017-03-31 2017-08-29 紫光华山信息技术有限公司 A kind of network topology determines method and apparatus
CN110430265A (en) * 2019-08-06 2019-11-08 北京奇艺世纪科技有限公司 A kind of method and device obtaining server and inter-exchange corresponding relationship
CN111600800A (en) * 2020-04-01 2020-08-28 武汉迈威通信股份有限公司 Method and equipment for discovering cross-network-segment topology
WO2022048379A1 (en) * 2020-09-07 2022-03-10 中兴通讯股份有限公司 Wavelength division topological relation determining method, system, device, and storage medium
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

Also Published As

Publication number Publication date
CN104320345B (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN104320345A (en) Method and device for collecting topological information in SDN network
US8942212B2 (en) Autoconfiguration system for wireless sensor network and its method, and gateway apparatus for wireless sensor network
CN108259215B (en) Equipment management method and device
CN104506408A (en) Data transmission method and device based on SDN
CN104283722A (en) SDN link state information collecting method and device
US9054976B2 (en) Network configuration system based on location and configuration method thereof
CN105337853A (en) Instance establishing method and apparatus in software defined network (SDN)
US10797986B2 (en) Link discovery method and apparatus
CN113411260A (en) Method and device for sending data message in IPv6 network
KR20140106235A (en) Open-flow switch and packet manageing method thereof
CN103974380A (en) Terminal access position keep-alive method and device
CN104283802A (en) Neighbor discovery method and device
CN107528721B (en) Automatic networking and data forwarding method by using MAC address in Android mobile terminal
CN105450779A (en) Method for achieving connection between one household electric appliance and multiple servers
CN104092614A (en) Method and device for updating address resolution information
WO2020088683A1 (en) Method for processing routing event record entry, network device and control device
CN103916277A (en) Method and device for not interrupting forwarding service in rebooting process
CN107623752B (en) Network management method and device based on link layer
CN112437459A (en) Management method and device of wireless grid network
CN104901825A (en) Method and device for realizing zero configuration startup
CN104092790A (en) Base station host-slave station communication method and system
WO2014161359A1 (en) Distributed base station networking method and apparatus, and computer readable storage medium
CN107465621A (en) A kind of router finds method, SDN controllers, router and network system
WO2011137621A1 (en) Method and apparatus for managing distributed base station
WO2015070763A1 (en) Self-establishing method and apparatus for x2 interface

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant