WO2015114714A1 - ネットワークトポロジー検出システム、方法およびプログラムならびに制御装置 - Google Patents
ネットワークトポロジー検出システム、方法およびプログラムならびに制御装置 Download PDFInfo
- Publication number
- WO2015114714A1 WO2015114714A1 PCT/JP2014/006140 JP2014006140W WO2015114714A1 WO 2015114714 A1 WO2015114714 A1 WO 2015114714A1 JP 2014006140 W JP2014006140 W JP 2014006140W WO 2015114714 A1 WO2015114714 A1 WO 2015114714A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- connection
- port
- group
- detection
- protocol packet
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/64—Hybrid switching systems
- H04L12/6418—Hybrid transport
Definitions
- the present invention relates to a network topology detection system, a network topology detection method, a network topology detection program, and a control device that detect connection of a network.
- Patent Document 1 An example of a system that automatically detects a network topology and detects an erroneous connection is described in Patent Document 1.
- Patent Document 1 describes a method of manually inputting connection information between devices of a network and a method of using a unique protocol provided by a device developer for network topology detection.
- a general OpenFlow (OpenFlow) control device uses a protocol (connection detection protocol) that detects the connection state between OFS (OpenFlow Switch, OpenFlow switch) when automatically acquiring network topology information. To do. When a packet of the connection detection protocol is transmitted to port 1 of OFS1, if a corresponding packet is received from port 2 of OFS2, it is determined that there is a connection (link) from port 1 of OFS1 to port 2 of OFS2. .
- connection detection protocol connection detection protocol
- an OpenFlow control device (not shown) transmits a connection detection protocol packet to all ports of all OFS under control. Then, the OpenFlow control device confirms the connection states of all the ports based on whether or not a connection detection protocol packet has been received.
- the OpenFlow control device transmits connection detection protocol packets to a total of 12 ports of 3 each for OFS 1, OFS 2, OFS 3, and OFS 4 under control. Since OFS1 port 1 is an external connection, the OpenFlow control device does not receive the connection detection protocol packet transmitted to OFS1 port 1 from anywhere. Therefore, it is determined that OFS1 port 1 is an external connection (1). Since the OFS 1 port 2 is connected to the OFS 2 port 1, the OpenFlow control device receives the connection detection protocol packet transmitted to the OFS 1 port 2 from the OFS 2 port 1. Therefore, it is determined that there is a connection (link) from OFS1 port 2 to OFS2 port 1 (2).
- connection detection protocol packet transmitted to OFS2 port 1 from OFS1 port 2
- connection detection protocol packet transmitted to OFS2 port 1 from OFS1 port 2
- connection opposite to (2) there is also a connection from OFS2 port 1 to OFS1 port 2 (connection opposite to (2)).
- the same determination is made for reception of the remaining connection detection protocol packets.
- connection detection protocol is executed by transmitting a packet on a communication path used by a general user, if the frequency is high, it becomes a factor that hinders communication of the general user. Therefore, it is desirable that the number of packet transmissions of the connection detection protocol is as small as possible.
- an object of the present invention is to provide a network topology detection system, method, program, and control device that reduce the number of times of transmission of connection detection protocol packets for detecting the topology of the network.
- a network topology detection system includes a plurality of switches that transmit and receive packets to each other and a control device that controls the plurality of switches, and the control device does not detect a connection among ports of the plurality of switches.
- Storage means for storing a plurality of connection undetected groups holding information indicating ports, and a plurality of connection detection groups holding information indicating ports detected to be connected among ports of a plurality of switches, and a connection undetected group
- Topology management means for transmitting a connection detection protocol packet, which is a packet for detecting a connection state between the plurality of switches, to each port belonging to the group, and the topology management means includes a first connection undetected group. After sending a connection detection protocol packet to the first port belonging to If the second ports belonging to discovery group has received the connection detection protocol packets, and wherein the moving information indicating the information and the second port of a first port for connection detection group.
- a control device is a control device that controls a plurality of switches that mutually transmit and receive packets, and that has a plurality of unconnected connections that hold information indicating a port from which no connection is detected among the ports of the plurality of switches.
- a storage means for storing a plurality of connection detection groups that hold information indicating a detection detected port among the ports of the detection group and a plurality of switches, and a port belonging to the connection non-detection group between the plurality of switches.
- Topology management means for transmitting a connection detection protocol packet, which is a packet for detecting a connection state, for each group, and the topology management means sends a connection detection protocol packet to the first port belonging to the first connection undetected group. Is transmitted from the second port belonging to the second undetected connection group.
- a network topology detection method is a network topology detection method used in a network topology detection system including a plurality of switches that transmit and receive packets to each other and a control device that controls the plurality of switches.
- a plurality of connection undetected groups that hold information indicating ports in which no connection is detected among switch ports, and a plurality of connection detection groups that hold information indicating ports in which connections are detected among ports of a plurality of switches
- a connection detection protocol packet which is a packet for detecting a connection state between the plurality of switches, is transmitted for each group to a port belonging to the connection undetected group. After sending a connection detection protocol packet to port 1, When the connection detection protocol packet is received from the second port belonging to the connection undetected group, information indicating the first port and information indicating the second port are moved to the connection detection group.
- a network topology detection program is a network topology detection program used in a network topology detection system including a plurality of switches that mutually transmit and receive packets and a control device that controls the plurality of switches.
- a plurality of connection undetected groups that hold information indicating ports that are not detected in connection among a plurality of switch ports, and a plurality of information that indicate information indicating ports in which connections are detected among ports of a plurality of switches.
- Run topology management processing When the connection detection protocol packet is received from the second port belonging to the second connection undetected group after transmitting the connection detection protocol packet to the first port belonging to the first connection undetected group, The information indicating the first port and the information indicating the second port are moved to the connection detection group.
- connection detection protocol packet transmissions for detecting the topology of the network can be reduced.
- FIG. 5 is an explanatory diagram showing a state of the system after a distribution operation after connection detection is performed on the other undetected group from the state of the system shown in FIG. 4.
- the network topology detection system of the present embodiment uses this property to reduce the number of connection detection protocol packet transmissions.
- FIG. 1 is a block diagram showing a configuration in an embodiment of a network topology detection system.
- the network topology detection system of the present embodiment includes an OpenFlow control device 10 and a plurality of OFSs 20.
- the OpenFlow control device 10 includes a topology management unit 11 that manages the network topology of the OFS 20 to be controlled, and a storage unit 13.
- the storage unit 13 stores the topology management table 12.
- the topology management table 12 holds network topology data.
- the topology management table 12 includes information indicating the ports of the OFS 20, including a plurality of connection undetected groups including a port where connection is not detected, and a plurality of ports including a port where connection is detected among ports of a plurality of OpenFlow switches. Separately hold the connection detection group.
- the topology management table 12 holds information indicating the ports of the OFS 20 in four groups of connection undetected A, connection undetected B, connection detected A, and connection detected B.
- the topology management unit 11 transmits a connection detection protocol packet, which is a packet for detecting a connection state between the OFSs 20, to the ports of the OFS 20 belonging to the connection undetected group for each group.
- the topology management unit 11 is realized by, for example, hardware designed to perform specific arithmetic processing or the like, or an information processing device such as a CPU (Central Processing Unit) that operates according to a program.
- the program is stored in a non-transitory computer-readable storage medium.
- the storage unit 13 is realized by a storage device such as an HDD (Hard disk drive).
- the OFS 20 includes a connection detection protocol transmission unit 21 and a connection detection protocol reception unit 22.
- the connection detection protocol transmission unit 21 transmits the connection detection protocol packet sent from the OpenFlow control device 10 to its own port to the other OFS 20.
- connection detection protocol receiving unit 22 receives a connection detection protocol packet sent from another OFS 20 from its own port, and sends it to the OpenFlow control device 10.
- FIG. 2 is a flowchart showing the operation of the connection detection phase in the embodiment of the network topology detection system.
- the topology management unit 11 collectively distributes all ports of the OFS into the group of connection undetected A and connection undetected B in the order of recognition of the OFS (step A1).
- FIG. 3 is an explanatory diagram showing the state of the system after this group distribution operation has been performed.
- the topology management unit 11 transmits a connection detection protocol packet to the port of connection not detected A (step A2). Then, the topology management unit 11 waits for a predetermined time to receive the connection detection protocol packet (step A3). When the topology management unit 11 receives the connection detection protocol packet, the topology management unit 11 moves the transmission source port to the connection detection A, moves the reception destination port to the connection detection B, and determines that these two ports are connected. (Step A4). At this time, when the topology management unit 11 receives both directions, the topology management unit 11 determines a group based on the previously received direction. The topology management unit 11 does nothing if the connection detection protocol packet is not received.
- FIG. 4 is an explanatory view showing a state after the distribution operation after the connection detection from step A2 to A4 is performed from the state shown in FIG.
- connection not detected A includes six data of OFS 1 port 1, OFS 1 port 2, OFS 1 port 3, OFS 3 port 1, OFS 3 port 2, and OFS 3 port 3. Therefore, topology management unit 11 transmits a connection detection protocol packet to these six ports (step A2). Since OFS1 port 1 is an external connection, topology management unit 11 does not receive the connection detection protocol packet transmitted to OFS1 port 1 (“not received” in step A3).
- OFS1 port 1 remains in connection undetected A as it is. Since the OFS1 port 2 is connected to the OFS2 port 1, the topology management unit 11 receives the connection detection protocol packet transmitted to the OFS1 port 2 from the OFS2 port 1 (“received” in step A3). In this case, topology management unit 11 moves OFS1 port 2 to connection detection A and moves OFS2 port 1 to connection detection B (step A4).
- the topology management unit 11 receives the connection detection protocol packet transmitted to the OFS 1 port 3 from the OFS 3 port 3. Further, the topology management unit 11 receives the connection detection protocol packet transmitted to the OFS 3 port 3 from the OFS 1 port 3.
- topology management unit 11 moves OFS1 port 3 to connection detection A, moves OFS3 port 3 to connection detection B, and determines that these two ports are connected. (Step A4). The same processing is performed for the reception of the remaining connection detection protocol packets, and the ports of the OFS belonging to each group are in the state shown in FIG.
- the topology management unit 11 transmits a connection detection protocol packet to the port of connection undetected B (step A5). Then, topology management unit 11 waits for a certain period of time to receive the connection detection protocol packet (step A6). When the topology management unit 11 receives the connection detection protocol packet, the topology management unit 11 moves the transmission source port to the connection detection B, moves the reception destination port to the connection detection A, and determines that these two ports are connected. (Step A7). When the topology management unit 11 receives a connection detection protocol packet between two ports in both directions, the topology management unit 11 determines a group based on the previously received direction. The topology management unit 11 does nothing if the connection detection protocol packet is not received. Thereafter, the processing after step A2 is repeated.
- FIG. 5 is an explanatory diagram showing the state of the system after performing the operations from steps A5 to A7 from the state shown in FIG.
- the connection undetected B includes four of the OFS 2 port 2, the OFS 2 port 3, the OFS 4 port 2, and the OFS 4 port 3. Therefore, topology management unit 11 transmits a connection detection protocol packet to these four ports (step A5). Since OFS2 port 2 is an external connection, topology management unit 11 does not receive the connection detection protocol packet transmitted to OFS2 port 2 (“not received” in step A6). Therefore, OFS2 port 2 remains in connection undetected B as it is. Since the OFS 2 port 3 is connected to the OFS 4 port 3, the topology management unit 11 receives the connection detection protocol packet transmitted to the OFS 2 port 3 from the OFS 4 port 3 (“received” in step A 6).
- the topology management unit 11 receives the connection detection protocol packet transmitted to the OFS 4 port 3 from the OFS 2 port 3 (“received” in step A 6). If the reception from the OFS2 port 3 is early, the topology management unit 11 assigns the OFS4 port 3 to the connection detection B, assigns the OFS2 port 3 to the connection detection A, and determines that these two ports are connected ( Step A7). The same processing is performed for reception of the remaining connection detection protocol packets, and the topology management table 12 is in the state shown in FIG.
- the connection detection protocol packet is transmitted to all ports as in the example shown in FIG. 11, the number of packet transmissions in the connection detection phase is 12, which is the total number of ports. Therefore, the network topology detection system can reduce the number of times of connection detection protocol packet transmission compared to a system that transmits ports to all ports without grouping the ports.
- FIG. 6 is a flowchart showing the operation in the connection maintenance confirmation phase of the network topology detection system.
- the topology management unit 11 transmits a connection detection protocol packet to the connection detection A port (step B1). Then, topology management unit 11 waits for a certain period of time to receive the connection detection protocol packet (step B2). When the topology management unit 11 receives the connection detection protocol packet, the topology management unit 11 checks whether the destination port has changed (step B3). If there is no change, one connection maintenance confirmation is completed. When the topology management unit 11 does not receive the connection detection protocol packet from anywhere, the topology management unit 11 moves each port from the connection detection A to the connection non-detection A, and moves from the connection detection B to the connection non-detection B (step). B4).
- topology management unit 11 moves the old destination port to the connection undetected B and moves the new destination port to the connection detection B.
- topology management unit 11 moves the source port to connection undetected A (step B5).
- FIG. 7 is an explanatory diagram showing a specific operation in the connection maintenance confirmation phase.
- connection detection A since connection detection A includes four ports, OFS1 port 2, OFS1 port 3, OFS3 port 2, and OFS2 port 3, connection detection protocol packets are transmitted to these four ports (step B1). If the connection between OFS1 port 2 and OFS2 port 1 is maintained, topology management unit 11 receives the connection detection protocol packet transmitted to OFS1 port 2 from OFS2 port 1 (“received” in step B2). Since there is no change in the destination port (NO in step B3), the connection maintenance confirmation is completed. The topology management unit 11 performs the same process for the remaining three ports.
- the topology management unit 11 receives the connection detection protocol packet transmitted to the OFS1 port 2 from the OFS2 port 1, thereby confirming that the connection between the OFS1 port 2 and the OFS2 port 1 is maintained. .
- the detected ports are distributed to different groups in the connection detection phase, it can be considered that all connection maintenance confirmations have been made by checking only one group.
- the network topology detection system confirms connection from the opposite direction after a predetermined period of time when confirmation of connection from one direction is performed. That is, the network topology detection system alternately performs the operation shown in FIG. 6 and the reverse operation shown in FIG.
- an operation indicating confirmation of connection from the reverse direction in the connection maintenance confirmation phase will be described.
- FIG. 8 is a flowchart showing the operation of the connection maintenance confirmation phase in the reverse direction.
- the topology management unit 11 transmits a connection detection protocol packet to the connection detection B port (step B6). Then, topology management unit 11 waits for a predetermined time to receive the connection detection protocol packet (step B7). When the topology management unit 11 receives the connection detection protocol packet, the topology management unit 11 checks whether the destination port has changed (step B8). If there is no change, one connection maintenance confirmation is completed. When the topology management unit 11 does not receive the connection detection protocol packet from anywhere, the topology management unit 11 moves each port from the connection detection B to the connection non-detection B, and moves from the connection detection A to the connection non-detection A (step). B9).
- topology management unit 11 moves the old destination port to the connection not detected A and moves the new destination port to the connection detection A.
- topology management unit 11 moves the port to connection undetected B (step B10).
- connection detection B includes four ports, OFS2 port 1, OFS3 port 3, OFS4 port 1, and OFS4 port 3, topology management unit 11 transmits a connection detection protocol packet to these four ports (step B6). If the connection between OFS2 port 1 and OFS1 port 2 is maintained, topology management unit 11 receives the connection detection protocol packet transmitted to OFS2 port 1 from OFS1 port 2 (“received” in step B7). Since there is no change in the destination port (NO in step B8), the connection maintenance confirmation is completed. The topology management unit 11 performs the same process for the remaining three ports.
- the number of packet transmissions in the connection maintenance confirmation phase is 4 in the configuration example shown in FIG.
- the number of packet transmissions in the connection maintenance confirmation phase is 8. Therefore, the network topology detection system can reduce the number of transmissions of connection detection protocol packets for connection maintenance confirmation, compared to a method of transmitting ports to all ports without grouping the ports. In particular, in the connection detection phase, since the detected ports are allocated to different groups, the number of protocol packet transmissions can be more reliably reduced in the connection maintenance confirmation phase.
- FIG. 9 is an explanatory diagram showing another configuration example of the network topology detection system of the present embodiment.
- the connection between OFS1 and OFS4 and the connection between OFS2 and OFS3 are increased compared to the configuration shown in FIG.
- the effect of the connection detection phase is further increased.
- the network topology detection system of the present embodiment can reduce the number of connection detection protocol packet transmissions by managing network topology detection system ports in a plurality of groups and performing connection detection for each group. The reason is that the network topology detection system of the present embodiment does not detect in the reverse direction, assuming that a bidirectional connection is possible if a one-way connection is detected between certain ports.
- the way of allocating unconnected groups before detection is not limited to the way shown in step A1 and FIG. It is preferable that the storage unit 13 store the ports for which connection detection is performed in different groups as much as possible, and store the ports for which connection detection is not performed in the same group.
- the topology management unit 11 transmits connection detection protocol packets to the two ports in a lump, and therefore the number of detections between the ports. This is because it cannot be reduced.
- the storage unit 13 since the ports included in the same OFS are not connected, stores the ports included in the same OFS in the same connection undetected group.
- the group is divided into four groups, but the number of groups is not necessarily four.
- the topology management unit 11 may further divide the connection undetected A and the connection undetected B into two groups so as to be divided into different groups for each OFS. As a result, the number of detections can be further reduced. However, since the time required for the detection process increases as the number of groups increases, it is preferable to determine the number of groups in consideration of the time.
- connection detection protocol used in the network topology detection system of this embodiment is assumed to be used as a unique protocol provided by the device developer.
- OpenFlow a network in which only devices conforming to the same OpenFlow standard is generally configured, so that the topology of the entire network can be detected using the unique protocol.
- the network topology detection system of the present embodiment can be used for networks other than networks using the open flow technology.
- the Openflow device 10 may be a device that controls a switch, and is realized using a general server or the like.
- the OFS 20 may be a switch that can switch the communication path.
- FIG. 10 is a block diagram showing the configuration of the main part of the network topology detection system according to the present invention.
- the network topology detection system according to the present invention includes, as main components, a plurality of switches 40 that mutually transmit and receive packets, and a control device 30 that controls the plurality of switches 40.
- the control device 30 indicates a plurality of connection undetected groups that hold information indicating ports for which connections are not detected among the ports of the plurality of switches 40, and ports for which connections are detected among the ports of the plurality of switches 40.
- Storage means 33 for storing a plurality of connection detection groups holding information, and connection detection protocol packets, which are packets for detecting the connection state between the plurality of switches 40, for each port belonging to the connection undetected group.
- Topology management means 31 for transmitting to the network.
- the topology management unit 31 receives the connection detection protocol packet from the second port belonging to the second connection undetected group after transmitting the connection detection protocol packet to the first port belonging to the first connection undetected group. In this case, the information indicating the first port and the information indicating the second port are moved to the connection detection group.
- network topology detection systems shown in the following (1) to (4) are also disclosed.
- a plurality of switches (for example, OFS 20) that transmit and receive packets to and from each other and a control device (for example, OpenFlow control device 10) that controls the plurality of switches.
- a connection is detected among a plurality of connection undetected groups (for example, a group of connection undetected A, a group of connection undetected B) that holds information indicating ports for which connection is not detected, and a plurality of switch ports.
- Storage means for example, the storage unit 13 for storing a plurality of connection detection groups (for example, a group of connection detection A and a group of connection detection B) that hold information indicating the connected ports, and ports belonging to the connection undetected group , A connection detection protocol packet that is a packet for detecting a connection state between the plurality of switches is transmitted for each group.
- Topology management means for example, topology management unit 11
- the topology management means is a first port (for example, OFS1 port 2) belonging to the first connection undetected group (for example, group of connection undetected A).
- connection detection protocol packet When the connection detection protocol packet is received from the second port (for example, OFS2 port 1) belonging to the second connection undetected group (for example, the group of connection undetected B) after transmitting the connection detection protocol packet to A network topology detection system that moves information indicating the first port and information indicating the second port to a connection detection group.
- the second port for example, OFS2 port 1
- the second connection undetected group for example, the group of connection undetected B
- the topology management means transmits a connection detection protocol packet to the first port (for example, OFS1 port 2) belonging to the first connection undetected group (for example, connection not detected A).
- a second port for example, OFS2 port 1 belonging to the second connection undetected group (for example, connection not detected B)
- information indicating the first port is displayed.
- Move to a first connection detection group for example, connection detection A
- move information indicating the second port to a second connection detection group for example, connection detection B
- the first port By transmitting a connection detection protocol packet to the first port and receiving the connection detection protocol packet from the second port. It may be configured to verify that the connection between the second port is maintained.
- the detected ports are distributed to different groups, so it can be considered that all connection maintenance confirmations have been made only by checking one group. .
- the topology management means transmits a connection detection protocol packet to the first port (for example, OFS1 port 2), and the connection detection protocol from the second port (for example, OFS2 port 1). After a predetermined period in which the connection maintenance between the first port and the second port is confirmed by receiving a packet, the connection maintenance between the first port and the second port is performed again.
- the connection between the first port and the second port is transmitted by transmitting a connection detection protocol packet to the second port and receiving the connection detection protocol packet from the first port. It may be configured to confirm maintenance.
- the number of packet detections can be reduced even in a system in which a failure may occur only in one-way communication, such as when an optical cable is used for a network line.
- a decrease in accuracy of connection maintenance confirmation can be suppressed.
- ports of the same switch for example, OFS1, OFS2, OFS3, or OFS4 are stored in the same connection undetected group (for example, connection undetected A or connection undetected B). It may be configured as follows. According to such a network topology detection system, the number of connection detection protocol packet transmissions can be reduced more effectively.
- the present invention can be applied to a network using OpenFlow, for example, and is not limited to OpenFlow, and can be applied to detection of a general network topology.
- Topology management unit 10 OpenFlow control device 11 Topology management unit 12 Topology management table 13 Storage unit 20 OFS 21 Connection Detection Protocol Transmitting Unit 22 Connection Detection Protocol Receiving Unit 30 Control Device 31 Topology Management Unit 33 Storage Unit 40 Switch
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
ネットワークトポロジー検出システムは、複数のスイッチ40と、制御装置30とを備える。制御装置30は、複数の接続未検出グループ、および複数の接続検出グループを記憶する記憶手段33と、接続未検出グループに属するポートに、接続検出プロトコルパケットをグループ毎に送信するトポロジー管理手段31とを含む。トポロジー管理手段31は、第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該パケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を接続検出グループに移動させる。
Description
本発明は、ネットワークの接続検出を行うネットワークトポロジー検出システム、ネットワークトポロジー検出方法およびネットワークトポロジー検出プログラムならびに制御装置に関する。
ネットワークトポロジーを自動で検出し、誤接続の検出を行うシステムの一例が、特許文献1に記載されている。特許文献1には、ネットワークのトポロジー検出について、ネットワークの各装置間の接続情報を手動で入力する方法、および装置の開発元により提供される独自のプロトコルを利用する方法が記載されている。
一般的なOpenFlow(オープンフロー)制御装置は、ネットワークのトポロジー情報を自動的に取得する際には、OFS(OpenFlow Switch、オープンフロースイッチ)間の接続状態を検出するプロトコル(接続検出プロトコル)を使用する。接続検出プロトコルのパケットをOFS1のポート1へ送信した際に、OFS2のポート2から該当パケットを受信した場合に、OFS1のポート1からOFS2のポート2への接続(リンク)があると判断される。
一般的な方法では、図11に示すように、OpenFlow制御装置(図示せず)は、制御下の全OFSの全ポートへ接続検出プロトコルのパケットを送信する。そして、OpenFlow制御装置は、その全ポートの接続状態を、接続検出プロトコルパケットの受信有無によりそれぞれ確認する。
具体的には、図11において、OpenFlow制御装置は、制御下のOFS1、OFS2、OFS3、OFS4に各3個ずつの合計12個のポートへ接続検出プロトコルパケットを送信する。OFS1ポート1は外部接続であるので、OpenFlow制御装置は、OFS1ポート1へ送信した接続検出プロトコルパケットをどこからも受信しない。したがって、OFS1ポート1は、外部接続であると判断される(1)。OFS1ポート2はOFS2ポート1と接続されているので、OpenFlow制御装置は、OFS1ポート2へ送信した接続検出プロトコルパケットをOFS2ポート1から受信する。したがって、OFS1ポート2からOFS2ポート1への接続(リンク)があると判断される(2)。逆に、OpenFlow制御装置は、OFS2ポート1へ送信した接続検出プロトコルパケットを、OFS1ポート2から受信するので、OFS2ポート1からOFS1ポート2への接続((2)と逆方向の接続)もあると判断される(4)。残りの接続検出プロトコルパケットの受信についても同様に判断される。
しかし、接続検出プロトコルは、一般ユーザが使用する通信路上にパケットを送信することにより実行されるので、頻度が高いと一般ユーザの通信を阻害する要因となる。したがって、接続検出プロトコルのパケット送信回数はなるべく少ない方が望ましい。
そこで、本発明は、ネットワークのトポロジーを検出するための接続検出プロトコルパケットの送信回数を削減するネットワークトポロジー検出システム、方法およびプログラムならびに制御装置を提供することを目的とする。
本発明によるネットワークトポロジー検出システムは、相互にパケットの送受信を行う複数のスイッチと、複数のスイッチを制御する制御装置とを備え、制御装置は、複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶する記憶手段と、接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信するトポロジー管理手段とを含み、トポロジー管理手段は、第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を接続検出グループに移動させることを特徴とする。
本発明による制御装置は、相互にパケットの送受信を行う複数のスイッチを制御する制御装置であって、複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶する記憶手段と、接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信するトポロジー管理手段とを備え、トポロジー管理手段は、第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を接続検出グループに移動させることを特徴とする。
本発明によるネットワークトポロジー検出方法は、相互にパケットの送受信を行う複数のスイッチと、複数のスイッチを制御する制御装置とを備えたネットワークトポロジー検出システムに用いられるネットワークトポロジー検出方法であって、複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶し、接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信し、第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を接続検出グループに移動させることを特徴とする。
本発明によるネットワークトポロジー検出プログラムは、相互にパケットの送受信を行う複数のスイッチと、複数のスイッチを制御する制御装置とを備えたネットワークトポロジー検出システムに用いられるネットワークトポロジー検出プログラムであって、コンピュータに、複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶する記憶処理と、接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信するトポロジー管理処理とを実行させ、トポロジー管理処理で、第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を接続検出グループに移動させることを特徴とする。
本発明によれば、ネットワークのトポロジーを検出するための接続検出プロトコルパケットの送信回数を削減することができる。
以下、本発明によるネットワークトポロジー検出システムの実施形態を、図面を参照して説明する。ネットワークトポロジーのポート間のリンクは双方向であるので、片方向のリンクが確認できれば、双方向共に接続されているとみなすことができる。本実施形態のネットワークトポロジー検出システムは、この性質を利用して、接続検出プロトコルパケットの送信回数を削減する。
図1は、ネットワークトポロジー検出システムの実施形態における構成を示すブロック図である。図1に示すように、本実施形態のネットワークトポロジー検出システムは、OpenFlow制御装置10と、複数のOFS20とを含む。
OpenFlow制御装置10は、制御対象のOFS20のネットワークトポロジーを管理するトポロジー管理部11と、記憶部13とを備える。記憶部13は、トポロジー管理テーブル12を記憶する。
トポロジー管理テーブル12は、ネットワークのトポロジーデータを保持する。トポロジー管理テーブル12は、OFS20のポートを示す情報を、接続が検出されていないポートを含む複数の接続未検出グループと、複数のオープンフロースイッチのポートのうち接続が検出されたポートを含む複数の接続検出グループとに分けて保持する。本実施形態では、トポロジー管理テーブル12は、OFS20のポートを示す情報を、接続未検出A、接続未検出B、接続検出A、接続検出Bという4つのグループに分けて保持する。
トポロジー管理部11は、接続未検出グループに属するOFS20のポートに、OFS20間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信する。
トポロジー管理部11は、例えば、特定の演算処理等を行うよう設計されたハードウェア、またはプログラムに従って動作するCPU(Central Processing Unit)等の情報処理装置によって実現される。また、そのプログラムは、非一時的でコンピュータが読み取り可能な記憶媒体に記憶される。また、記憶部13は、HDD(Hard disk drive)等の記憶装置により実現される。
OFS20は、接続検出プロトコル送信部21と、接続検出プロトコル受信部22とを含む。
接続検出プロトコル送信部21は、OpenFlow制御装置10から自身のポートへ送られた接続検出プロトコルのパケットを他のOFS20に送信する。
接続検出プロトコル受信部22は、他のOFS20から送られた接続検出プロトコルのパケットを自身のポートから受信し、OpenFlow制御装置10に送る。
次に、本実施形態のネットワークトポロジー検出システムの動作を、接続検出フェーズ、接続維持確認フェーズのそれぞれについて説明する。まず、接続検出フェーズの動作を説明する。図2は、ネットワークトポロジー検出システムの実施形態における接続検出フェーズの動作を示すフローチャートである。
トポロジー管理部11は、最初に、OFSの認識順に、そのOFSの全ポートを一括して、接続未検出Aと接続未検出Bのグループに交互に振り分ける(ステップA1)。図3は、このグループ振り分け動作が行われた後のシステムの状態を示す説明図である。
トポロジー管理部11は、接続未検出Aのポートへ接続検出プロトコルパケットを送信する(ステップA2)。そして、トポロジー管理部11は、接続検出プロトコルパケットの受信を一定時間待つ(ステップA3)。トポロジー管理部11は、接続検出プロトコルパケットを受信した場合は、送信元ポートを接続検出Aに移動させ、受信先ポートを接続検出Bに移動させ、これら2つのポートは接続されていると判断する(ステップA4)。この際、トポロジー管理部11は、双方向ともに受信した場合には、先に受信した方向に基づいてグループを決める。トポロジー管理部11は、接続検出プロトコルパケットを受信しなかった場合は、何もしない。
図3、図4を参照して、ステップA2からA4までの具体的な動作を説明する。図4は、図3に示す状態から、ステップA2からA4までの接続検出後の振り分け動作が行われた後の状態を示した説明図である。図3において、接続未検出Aは、OFS1ポート1、OFS1ポート2、OFS1ポート3、OFS3ポート1、OFS3ポート2、OFS3ポート3の6つのデータを含む。そのため、トポロジー管理部11は、これら6つのポートへ接続検出プロトコルパケットを送信する(ステップA2)。OFS1ポート1は、外部接続であるので、トポロジー管理部11は、OFS1ポート1へ送信した接続検出プロトコルパケットを受信しない(ステップA3の「受信しなかった」)。
したがって、OFS1ポート1は、そのまま接続未検出Aに残る。OFS1ポート2はOFS2ポート1と接続されているので、トポロジー管理部11は、OFS1ポート2へ送信した接続検出プロトコルパケットをOFS2ポート1から受信する(ステップA3の「受信した」)。この場合、トポロジー管理部11は、OFS1ポート2を接続検出Aに移動させ、OFS2ポート1を接続検出Bに移動させる(ステップA4)。
OFS1ポート3は、OFS3ポート3と接続されているので、トポロジー管理部11は、OFS1ポート3へ送信した接続検出プロトコルパケットを、OFS3ポート3から受信する。さらに、トポロジー管理部11は、OFS3ポート3へ送信した接続検出プロトコルパケットを、OFS1ポート3から受信する。トポロジー管理部11は、OFS3ポート3からの受信が早い場合、OFS1ポート3を接続検出Aに移動させ、OFS3ポート3は接続検出Bに移動させ、これら2つのポートは接続されていると判断する(ステップA4)。また、残りの接続検出プロトコルパケットの受信についても同様に処理が行われ、各グループに属するOFSのポートは図4に示す状態になる。
次に、トポロジー管理部11は、接続未検出Bのポートへ接続検出プロトコルパケットを送信する(ステップA5)。そして、トポロジー管理部11は、接続検出プロトコルパケットの受信を一定時間待つ(ステップA6)。トポロジー管理部11は、接続検出プロトコルパケットを受信した場合は、送信元ポートを接続検出Bに移動させ、受信先ポートを接続検出Aに移動させ、それら2つのポートは接続されていると判断する(ステップA7)。トポロジー管理部11は、2つのポート間の接続検出プロトコルパケットを、双方向ともに受信した場合には、先に受信した方向に基づいてグループを決める。トポロジー管理部11は、接続検出プロトコルパケットを受信しなかった場合は、何もしない。そして、その後はステップA2以降の処理が繰り返される。
図4および図5を参照して、ステップA5からA7までの具体的な動作を説明する。図5は、図4に示す状態から、ステップA5からA7までの動作を行った後のシステムの状態を示す説明図である。図4において、接続未検出Bは、OFS2ポート2、OFS2ポート3、OFS4ポート2、OFS4ポート3の4つを含む。よって、トポロジー管理部11は、これら4つのポートへ接続検出プロトコルパケットを送信する(ステップA5)。OFS2ポート2は外部接続であるので、トポロジー管理部11は、OFS2ポート2へ送信した接続検出プロトコルパケットを受信しない(ステップA6の「受信しなかった」)。したがって、OFS2ポート2は、そのまま接続未検出Bに残る。OFS2ポート3はOFS4ポート3と接続されているので、トポロジー管理部11は、OFS2ポート3へ送信した接続検出プロトコルパケットを、OFS4ポート3から受信する(ステップA6の「受信した」)。
さらに、トポロジー管理部11は、OFS4ポート3へ送信した接続検出プロトコルパケットを、OFS2ポート3から受信する(ステップA6の「受信した」)。OFS2ポート3からの受信が早かった場合、トポロジー管理部11は、OFS4ポート3を接続検出Bに振り分け、OFS2ポート3を接続検出Aに振り分け、これら2つのポートが接続されていると判断する(ステップA7)。残りの接続検出プロトコルパケットの受信についても同様に処理が行われ、トポロジー管理テーブル12は図5に示す状態になる。
以上のように、本実施形態のネットワークトポロジー検出システムを用いた場合、図3~図5に示した構成例では、接続検出プロトコルのパケット送信回数は、ステップA2で6回、ステップA5で4回であるため、6+4=10となる。一方、図11に示した例のように、接続検出プロトコルパケットを、全ポートへ送信した場合、接続検出フェーズのパケット送信回数は全ポート数の12である。よって、ネットワークトポロジー検出システムは、ポートをグループ分けせずに全ポートへ送信するシステムと比べて、接続検出プロトコルパケットの送信回数を削減することができる。
次に、ネットワークトポロジー検出システムの接続維持確認フェーズの動作を説明する。図6は、ネットワークトポロジー検出システムの接続維持確認フェーズの動作を示すフローチャートである。
トポロジー管理部11は、接続検出Aのポートへ接続検出プロトコルパケットを送信する(ステップB1)。そして、トポロジー管理部11は、接続検出プロトコルパケットの受信を一定時間待つ(ステップB2)。トポロジー管理部11は、接続検出プロトコルパケットを受信した場合は、受信先ポートが変化したかどうかを確認する(ステップB3)。変化しなければ1回の接続維持確認が終了する。トポロジー管理部11は、接続検出プロトコルパケットをどこからも受信しなかった場合は、それぞれのポートを、接続検出Aから接続未検出Aに移動させ、接続検出Bから接続未検出Bに移動させる(ステップB4)。トポロジー管理部11は、接続検出プロトコルパケットの受信先ポートが変化した場合、旧受信先ポートを接続未検出Bに移動させ、新受信先ポートを接続検出Bに移動させる。トポロジー管理部11は、新受信先ポートに対応する送信元ポートが接続検出Aにある場合には、その送信元ポートを接続未検出Aに移動させる(ステップB5)。
次に接続維持確認フェーズの動作を、図を用いて具体的に説明する。図7は、接続維持確認フェーズの具体的な動作を示す説明図である。図7において、接続検出Aは、OFS1ポート2、OFS1ポート3、OFS3ポート2、OFS2ポート3の4つのポートを含むので、これら4つのポートへ接続検出プロトコルパケットを送信する(ステップB1)。OFS1ポート2とOFS2ポート1の接続が維持されていれば、トポロジー管理部11は、OFS1ポート2へ送信した接続検出プロトコルパケットを、OFS2ポート1から受信する(ステップB2の「受信した」)。受信先ポートに変化はないので(ステップB3のNO)、接続維持確認は終了である。トポロジー管理部11は、残り3つのポートに関しても同様に処理を行う。
以上のように、トポロジー管理部11は、OFS1ポート2へ送信した接続検出プロトコルパケットを、OFS2ポート1から受信することにより、OFS1ポート2とOFS2ポート1の接続が維持されていることを確認する。本実施形態のネットワークトポロジー検出システムは、接続検出フェーズにおいて、接続検出したポート同士を異なるグループに振り分けているので、一方のグループのみの確認だけで全ての接続維持確認をしたとみなすことができる。
なお、ネットワークの回線に例えば光ケーブルを用いた場合、片方向の通信のみ障害が発生する可能性がある。本実施形態のネットワークトポロジー検出システムは、そのような可能性を考慮して、一方向からの接続の確認を行った所定期間後に、逆方向からの接続の確認を行う。すなわち、ネットワークトポロジー検出システムは、定期的に接続維持確認フェーズの動作を行う場合、図6に示す動作と後述する図8に示す逆方向の動作を交互に行う。以下、接続維持確認フェーズにおける逆方向からの接続の確認を示す動作を説明する。
図8は、逆方向の接続維持確認フェーズの動作を示すフローチャートである。トポロジー管理部11は、接続検出Bのポートへ接続検出プロトコルパケットを送信する(ステップB6)。そして、トポロジー管理部11は、接続検出プロトコルパケットの受信を一定時間待つ(ステップB7)。トポロジー管理部11は、接続検出プロトコルパケットを受信した場合は、受信先ポートが変化したかどうかを確認する(ステップB8)。変化しなければ1回の接続維持確認が終了する。トポロジー管理部11は、接続検出プロトコルパケットをどこからも受信しなかった場合には、それぞれのポートを接続検出Bから接続未検出Bに移動させ、接続検出Aから接続未検出Aに移動させる(ステップB9)。接続検出プロトコルパケットの受信先ポートが変化した場合には、トポロジー管理部11は、旧受信先ポートを接続未検出Aに移動させ、新受信先ポートを接続検出Aに移動させる。新受信先ポートに対応する送信元ポートが接続検出Bにある場合には、トポロジー管理部11は、そのポートを接続未検出Bに移動させる(ステップB10)。
次に逆方向からの接続維持確認フェーズの動作を、図7を用いて具体的に説明する。接続検出Bは、OFS2ポート1、OFS3ポート3、OFS4ポート1、OFS4ポート3の4つのポートを含むので、トポロジー管理部11は、これら4つのポートへ接続検出プロトコルパケットを送信する(ステップB6)。OFS2ポート1とOFS1ポート2の接続が維持されていれば、トポロジー管理部11は、OFS2ポート1へ送信した接続検出プロトコルパケットを、OFS1ポート2から受信する(ステップB7の「受信した」)。受信先ポートに変化はないので(ステップB8のNO)、接続維持確認は終了である。トポロジー管理部11は、残り3つのポートに関しても同様に処理を行う。
以上のように、本実施形態のネットワークトポロジー検出システムを用いた場合、図7に示した構成例において、接続維持確認フェーズにおけるパケット送信回数は4である。一方、接続検出プロトコルパケットを、接続検出できた全ポートへ送信した場合、接続維持確認フェーズにおけるパケット送信回数は8である。よって、ネットワークトポロジー検出システムは、ポートをグループ分けせずに全ポートへ送信する方法と比べて、接続維持確認のための接続検出プロトコルパケットの送信回数を削減することができる。特に、接続検出フェーズにおいて、接続検出したポート同士を異なるグループに振り分けていたことによって、接続維持確認フェーズにおいてより確実にプロトコルパケットの送信回数を削減することができる。
図9は、本実施形態のネットワークトポロジー検出システムの他の構成例を示す説明図である。図9に示す例では、図3等に示した構成と比べて、OFS1とOFS4との間の接続、OFS2とOFS3との間の接続が増えている。この場合、接続検出プロトコルパケットを全ポートへ送信した場合の送信回数は16であるが、本実施形態のOpenFlow制御装置の制御を用いると8+4=12となる。このように、OpenFlow制御装置10の制御対象であるOFS間の接続数が多い場合、接続検出フェーズの効果がより大きくなる。
本実施形態のネットワークトポロジー検出システムは、ネットワークトポロジー検出システムポートを複数のグループで管理し、グループ毎に接続検出を行うことにより、接続検出プロトコルパケットの送信回数を削減することができる。その理由は、本実施形態のネットワークトポロジー検出システムは、あるポート間において片方向の接続を検出した場合は双方向の接続が可能であるとみなして逆方向の検出を行わないからである。
なお、検出前における接続未検出グループの振り分け方は、ステップA1および図3に示した振り分け方に限られない。記憶部13は、可能な限り、接続検出を行う対象のポート同士を異なるグループに記憶し、接続検出を行わないポート同士を同じグループに記憶することが好ましい。接続検出を行う対象の2つのポートが同じグループに属している場合、トポロジー管理部11は、その2つのポートに接続検出プロトコルパケットを一括して送信してしまうため、そのポート間に関しては検出回数を削減することができないからである。例えば、同じOFSに含まれるポートは接続されることはないため、記憶部13は、同じOFSに含まれるポートを同じ接続未検出グループに記憶する。
また、本実施形態では、グループは4つに分けられているが、グループの数は必ずしも4つでなくてもよい。例えば、図3に示す例において、トポロジー管理部11は、接続未検出Aと接続未検出Bをさらに2つのグループに分けることにより、OFS毎に異なるグループに分けてもよい。これにより検出回数をさらに削減することができる。ただし、グループの数が増えるほど、検出処理にかかる時間が増加するため、その時間を考慮してグループ数を決定することが好ましい。
なお、本実施形態のネットワークトポロジー検出システムで利用する接続検出プロトコルは、装置の開発元により提供される独自のプロトコルとして用いられることが想定される。しかし、OpenFlowを用いたシステムにおいては、一般的に同じOpenFlowの規格に則った装置のみを接続したネットワークが構成されるので、その独自プロトコルで、ネットワーク全体のトポロジーを検出することができる。
また、本実施形態のネットワークトポロジー検出システムは、オープンフロー技術を用いたネットワーク以外のネットワークにも用いることができる。その場合、Openflow装置10は、スイッチを制御する装置であればよく、一般的なサーバ等を用いて実現される。また、OFS20は、通信経路を切り替えることができるスイッチであればよい。
図10は、本発明によるネットワークトポロジー検出システムの主要部の構成を示すブロック図である。図10に示すように、本発明によるネットワークトポロジー検出システムは、主要な構成要素として、相互にパケットの送受信を行う複数のスイッチ40と、複数のスイッチ40を制御する制御装置30とを備える。制御装置30は、複数のスイッチ40のポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および複数のスイッチ40のポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶する記憶手段33と、接続未検出グループに属するポートに、当該複数のスイッチ40間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信するトポロジー管理手段31とを含む。トポロジー管理手段31は、第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を接続検出グループに移動させる。
また、上記の各実施形態には、下記の(1)~(4)に示すネットワークトポロジー検出システムも開示されている。
(1)相互にパケットの送受信を行う複数のスイッチ(例えば、OFS20)と、複数のスイッチを制御する制御装置(例えば、OpenFlow制御装置10)とを備え、制御装置は、複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ(例えば、接続未検出Aのグループ、接続未検出Bのグループ)、および複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループ(例えば、接続検出Aのグループ、接続検出Bのグループ)を記憶する記憶手段(例えば、記憶部13)と、接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信するトポロジー管理手段(例えば、トポロジー管理部11)とを含み、トポロジー管理手段は、第1の接続未検出グループ(例えば、接続未検出Aのグループ)に属する第1のポート(例えば、OFS1ポート2)に接続検出プロトコルパケットを送信した後に、第2の接続未検出グループ(例えば、接続未検出Bのグループ)に属する第2のポート(例えば、OFS2ポート1)から当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を接続検出グループに移動させるネットワークトポロジー検出システム。
(2)ネットワークトポロジー検出システムは、トポロジー管理手段が、第1の接続未検出グループ(例えば、接続未検出A)に属する第1のポート(例えば、OFS1ポート2)に接続検出プロトコルパケットを送信し、第2の接続未検出グループ(例えば、接続未検出B)に属する第2のポート(例えば、OFS2ポート1)から当該接続検出プロトコルパケットを受信した場合に、前記第1のポートを示す情報を第1の接続検出グループ(例えば、接続検出A)に移動させ、前記第2のポートを示す情報を第2の接続検出グループ(例えば、接続検出B)に移動させ、再度、前記第1のポートに接続検出プロトコルパケットを送信し、前記第2のポートから当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続が維持されていることを確認するように構成されていてもよい。このようなネットワークトポロジー検出システムによれば、接続検出フェーズにおいて、接続検出したポート同士を異なるグループに振り分けているので、一方のグループのみの確認だけで全ての接続維持確認をしたとみなすことができる。
(3)ネットワークトポロジー検出システムは、トポロジー管理手段が、第1のポート(例えば、OFS1ポート2)に接続検出プロトコルパケットを送信し、第2のポート(例えば、OFS2ポート1)から当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続維持を確認した所定期間後に、再度、前記第1のポートと前記第2のポートとの間の接続維持を確認する場合、前記第2のポートに接続検出プロトコルパケットを送信し、前記第1のポートから当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続維持を確認するように構成されていてもよい。このようなネットワークトポロジー検出システムによれば、ネットワークの回線に例えば光ケーブルを用いた場合のように、片方向の通信のみ障害が発生する可能性があるシステムであっても、パケット検出回数を減らしつつ接続維持確認の精度の低下を抑制することができる。
(4)ネットワークトポロジー検出システムは、同一のスイッチ(例えば、OFS1、OFS2、OFS3またはOFS4)のポートが、同一の接続未検出グループ(例えば、接続未検出Aまたは接続未検出B)に記憶されるように構成されていてもよい。このようなネットワークトポロジー検出システムによれば、接続検出プロトコルパケットの送信回数の削減をより効果的にすることができる。
以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。
この出願は、2014年2月3日に出願された日本出願特願2014-018185を基礎とする優先権を主張し、その開示の全てをここに取り込む。
本発明は、例えばOpenFlowを用いたネットワークに適用することが可能であり、OpenFlowに限らず一般的なネットワークのトポロジーの検出に適用することが可能である。
10 OpenFlow制御装置
11 トポロジー管理部
12 トポロジー管理テーブル
13 記憶部
20 OFS
21 接続検出プロトコル送信部
22 接続検出プロトコル受信部
30 制御装置
31 トポロジー管理手段
33 記憶手段
40 スイッチ
11 トポロジー管理部
12 トポロジー管理テーブル
13 記憶部
20 OFS
21 接続検出プロトコル送信部
22 接続検出プロトコル受信部
30 制御装置
31 トポロジー管理手段
33 記憶手段
40 スイッチ
Claims (10)
- 相互にパケットの送受信を行う複数のスイッチと、
前記複数のスイッチを制御する制御装置とを備え、
前記制御装置は、
前記複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および前記複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶する記憶手段と、
前記接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信するトポロジー管理手段とを含み、
前記トポロジー管理手段は、
第1の接続未検出グループに属する第1のポートに前記接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を前記接続検出グループに移動させる
ことを特徴とするネットワークトポロジー検出システム。 - トポロジー管理手段は、
第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信し、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、前記第1のポートを示す情報を第1の接続検出グループに移動させ、前記第2のポートを示す情報を第2の接続検出グループに移動させ、
再度、前記第1のポートに接続検出プロトコルパケットを送信し、前記第2のポートから当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続が維持されていることを確認する
請求項1記載のネットワークトポロジー検出システム。 - トポロジー管理手段は、
第1のポートに接続検出プロトコルパケットを送信し、第2のポートから当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続維持を確認した所定期間後に、再度、前記第1のポートと前記第2のポートとの間の接続維持を確認する場合、前記第2のポートに接続検出プロトコルパケットを送信し、前記第1のポートから当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続維持を確認する
請求項2記載のネットワークトポロジー検出システム。 - 同一のスイッチのポートは、同一の接続未検出グループに記憶される
請求項1から請求項3のうちのいずれか1項記載のネットワークトポロジー検出システム。 - 相互にパケットの送受信を行う複数のスイッチを制御する制御装置であって、
前記複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および前記複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶する記憶手段と、
前記接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信するトポロジー管理手段とを備え、
前記トポロジー管理手段は、
第1の接続未検出グループに属する第1のポートに前記接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を前記接続検出グループに移動させる
ことを特徴とする制御装置。 - トポロジー管理手段は、
第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信し、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、前記第1のポートを示す情報を第1の接続検出グループに移動させ、前記第2のポートを示す情報を第2の接続検出グループに移動させ、
再度、前記第1のポートに接続検出プロトコルパケットを送信し、前記第2のポートから当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続が維持されていることを確認する
請求項5記載の制御装置。 - 相互にパケットの送受信を行う複数のスイッチと、前記複数のスイッチを制御する制御装置とを備えたネットワークトポロジー検出システムに用いられるネットワークトポロジー検出方法であって、
前記複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および前記複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶し、
前記接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信し、
第1の接続未検出グループに属する第1のポートに前記接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を前記接続検出グループに移動させる
ことを特徴とするネットワークトポロジー検出方法。 - 第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信し、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、前記第1のポートを示す情報を第1の接続検出グループに移動させ、前記第2のポートを示す情報を第2の接続検出グループに移動させ、
再度、前記第1のポートに接続検出プロトコルパケットを送信し、前記第2のポートから当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続が維持されていることを確認する
請求項7記載のネットワークトポロジー検出方法。 - 相互にパケットの送受信を行う複数のスイッチと、前記複数のスイッチを制御する制御装置とを備えたネットワークトポロジー検出システムに用いられるネットワークトポロジー検出プログラムであって、
コンピュータに、
前記複数のスイッチのポートのうち接続が検出されていないポートを示す情報を保持する複数の接続未検出グループ、および前記複数のスイッチのポートのうち接続が検出されたポートを示す情報を保持する複数の接続検出グループを記憶する記憶処理と、
前記接続未検出グループに属するポートに、当該複数のスイッチ間の接続状態を検出するためのパケットである接続検出プロトコルパケットをグループ毎に送信するトポロジー管理処理とを実行させ、
前記トポロジー管理処理で、
第1の接続未検出グループに属する第1のポートに前記接続検出プロトコルパケットを送信した後に、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、当該第1のポートを示す情報および当該第2のポートを示す情報を前記接続検出グループに移動させる
ためのネットワークトポロジー検出プログラム。 - トポロジー管理処理で、
第1の接続未検出グループに属する第1のポートに接続検出プロトコルパケットを送信し、第2の接続未検出グループに属する第2のポートから当該接続検出プロトコルパケットを受信した場合に、前記第1のポートを示す情報を第1の接続検出グループに移動させ、前記第2のポートを示す情報を第2の接続検出グループに移動させ、
再度、前記第1のポートに接続検出プロトコルパケットを送信し、前記第2のポートから当該接続検出プロトコルパケットを受信することにより前記第1のポートと前記第2のポートとの間の接続が維持されていることを確認させる
請求項9記載のネットワークトポロジー検出プログラム。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014018185 | 2014-02-03 | ||
| JP2014-018185 | 2014-02-03 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015114714A1 true WO2015114714A1 (ja) | 2015-08-06 |
Family
ID=53756337
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2014/006140 Ceased WO2015114714A1 (ja) | 2014-02-03 | 2014-12-09 | ネットワークトポロジー検出システム、方法およびプログラムならびに制御装置 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2015114714A1 (ja) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011080870A1 (ja) * | 2009-12-28 | 2011-07-07 | 日本電気株式会社 | 通信システムおよびポート情報収集方法 |
| WO2011108205A1 (ja) * | 2010-03-05 | 2011-09-09 | 日本電気株式会社 | 通信システム、経路制御装置、パケット転送装置および経路制御方法 |
| WO2013115177A1 (ja) * | 2012-01-30 | 2013-08-08 | 日本電気株式会社 | ネットワークシステム、及びトポロジー管理方法 |
-
2014
- 2014-12-09 WO PCT/JP2014/006140 patent/WO2015114714A1/ja not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011080870A1 (ja) * | 2009-12-28 | 2011-07-07 | 日本電気株式会社 | 通信システムおよびポート情報収集方法 |
| WO2011108205A1 (ja) * | 2010-03-05 | 2011-09-09 | 日本電気株式会社 | 通信システム、経路制御装置、パケット転送装置および経路制御方法 |
| WO2013115177A1 (ja) * | 2012-01-30 | 2013-08-08 | 日本電気株式会社 | ネットワークシステム、及びトポロジー管理方法 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9059909B2 (en) | System and method for configuration of link aggregation groups | |
| US9455916B2 (en) | Method and system for changing path and controller thereof | |
| US9876698B2 (en) | Interconnect congestion control in a storage grid | |
| CN104468236B (zh) | Sdn控制器集群、sdn交换机及其连接控制方法 | |
| EP2983342A2 (en) | Internet protocol addressing of industrial control devices employing the network ring topology | |
| US10491504B2 (en) | System for support in the event of intermittent connectivity, a corresponding local device and a corresponding cloud computing platform | |
| CN105207971A (zh) | 一种数据传输方法及装置 | |
| CN105591817B (zh) | 一种协商模式处理方法及智能网络设备 | |
| CN104935614B (zh) | 一种数据传输方法及装置 | |
| KR101576833B1 (ko) | 이중화 장치에서 수신 버퍼를 이용한 통신 데이터의 중복 검사 방법 | |
| US20200235815A1 (en) | Methods and sysems for reconfigurable network topologies | |
| WO2015114714A1 (ja) | ネットワークトポロジー検出システム、方法およびプログラムならびに制御装置 | |
| CN113328917B (zh) | 用于epa链路诊断的方法、epa设备和计算机存储介质 | |
| CN103684888A (zh) | 一种批量配置网络设备的方法 | |
| CN104618021B (zh) | 一种基于光纤的数据传输方法、装置及系统 | |
| CN109067666B (zh) | 一种报文传输的方法及装置 | |
| JP5212152B2 (ja) | 通信システム | |
| JP6062394B2 (ja) | 中継装置および中継方法 | |
| CN106357429B (zh) | 一种数据处理方法及系统 | |
| CN104113436B (zh) | 双多路服务器监控方法、装置和系统 | |
| JP5922601B2 (ja) | ネットワーク装置 | |
| JP6339438B2 (ja) | 産業機器制御用ネットワークシステム | |
| JP6362424B2 (ja) | 中継装置および中継方法 | |
| JP6162996B2 (ja) | ネットワーク制御装置及び方法 | |
| JP6367630B2 (ja) | 冗長系システム、冗長機器及びその切替方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14881148 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14881148 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: JP |