TWI622282B - Automatic monitoring method of network topology - Google Patents

Automatic monitoring method of network topology Download PDF

Info

Publication number
TWI622282B
TWI622282B TW105112213A TW105112213A TWI622282B TW I622282 B TWI622282 B TW I622282B TW 105112213 A TW105112213 A TW 105112213A TW 105112213 A TW105112213 A TW 105112213A TW I622282 B TWI622282 B TW I622282B
Authority
TW
Taiwan
Prior art keywords
node
path
transmission path
link
abnormal
Prior art date
Application number
TW105112213A
Other languages
Chinese (zh)
Other versions
TW201739218A (en
Inventor
盧祖耀
李原宏
何嘉柎
林筱偉
Original Assignee
遠傳電信股份有限公司
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 遠傳電信股份有限公司 filed Critical 遠傳電信股份有限公司
Priority to TW105112213A priority Critical patent/TWI622282B/en
Publication of TW201739218A publication Critical patent/TW201739218A/en
Application granted granted Critical
Publication of TWI622282B publication Critical patent/TWI622282B/en

Links

Abstract

本發明提供一種網路拓樸自動監控方法主要係藉由一控制器找尋網路拓樸,並配合複數路由規則以產生最佳封包傳輸路徑,將該最佳傳輸路徑寫入至對應各最佳傳輸路徑之各節點的流表,以使各封包流依據該最佳傳輸路徑傳送至該目的介面,且若該節點或該鏈結發生異常中斷狀況時,再藉由該自動復原程序判斷採取備援路徑或重新安排配置最佳傳輸路徑,使封包流能夠在該節點或鏈結發生異常狀況時依然能夠行經最有效率的路徑,以達成減少網路資源的耗費及降低維護網路系統成本之目的。 The invention provides a network topology automatic monitoring method mainly by searching a network topology by a controller, and matching a plurality of routing rules to generate an optimal packet transmission path, and writing the optimal transmission path to corresponding optimal ones. a flow table of each node of the transmission path, so that each packet flow is transmitted to the destination interface according to the optimal transmission path, and if the node or the link is abnormally interrupted, the automatic recovery procedure determines that the device is prepared. Assist the path or rearrange the optimal transmission path so that the packet flow can still pass the most efficient path when the node or link is abnormal, to reduce the cost of network resources and reduce the cost of maintaining the network system. purpose.

Description

網路拓樸自動監控方法 Network topology automatic monitoring method

本發明係關於一種電子系統及一種路由方法,特別係關於一種網路拓樸自動監控方法。 The invention relates to an electronic system and a routing method, in particular to a network topology automatic monitoring method.

隨著資訊科技時代的來臨,各種形式的網際網路已經為人們廣泛的應用於生活當中,如商業用之區域網路、一般大眾所使用的網際網路以及資料中心網路等;然而,習知網路資訊發送的傳輸路徑皆由路由器決定,因此於指定傳輸途徑時便容易產生由各路由器自行運作的情況,並無統一的控制器進行資源調配,更甚者,在原本預定之路徑中斷時將造成大量資料重複傳輸,進而耗費大量的資源,且如果欲更新傳輸方式時,更必須藉由專員以手動的方式更新路由器之規則,進而增加維護上之成本,為此便急需一種網路拓樸自動監控方法。 With the advent of the information technology era, various forms of the Internet have been widely used in life, such as the commercial area network, the Internet used by the general public, and the data center network; however, Knowing that the transmission path of network information transmission is determined by the router, it is easy to generate the operation of each router when the transmission path is specified. There is no unified controller for resource allocation, and even more, the original scheduled path is interrupted. When a large amount of data is repeatedly transmitted, it consumes a lot of resources, and if the transmission method is to be updated, the router must manually update the rules of the router, thereby increasing the maintenance cost, and thus a network is urgently needed. Topology automatic monitoring method.

本發明係提供一種網路拓樸自動監控方法,其主要目的係提升網路資源的效率及降低維護網路系統之成本。 The invention provides a network topology automatic monitoring method, the main purpose of which is to improve the efficiency of network resources and reduce the cost of maintaining a network system.

為達前述目的,本發明網路拓樸自動監控方法,應用於一軟體定義網路架構,該軟體定義網路架構包括複數節點、一控制器、至少一來源介面及至少一目的介面,各該節點分別具有一節點識別碼,各該相鄰之節點係相互連接以形成一鏈結,各該節點分別具有一流表;該控制器與各該節點、該來源介面及該目的介面控制連接,該控制器具有一儲存空間,該儲存空間供以儲存一路由規則及一備援路徑,該來源介面與至少一個該節點連接,該目的介面與至少一個該節點連接,而該網路拓樸自動監控方法,包括;指定動作步驟:選擇對於封包流所執行之動作,其可指定傳輸封包流、捨棄封包流或修改封包之欄位;指定輸出終點步驟:於前述步驟中執行傳輸指令時指定封包流傳輸至一個或多個該目的介面;找尋節點步驟:依據路徑演算原則找出各該節點之該節點識別碼;界定傳輸路徑步驟:依據網路拓樸關係找出各該節點之間的該鏈結;決定最佳傳輸路徑步驟:根據前述找尋節點步驟及界定傳輸路徑步驟所得到之網路拓樸配合該路由規則產生一最佳傳輸路徑,並將該路由規則寫入至對應該最佳傳輸路徑之各該節點的該流表;以及是否自動復原步驟:節點或鏈結發出異常警告通知該控制器時將執行一自動復原程序;其中,該自動復原程序包含有下列步驟: 判斷各節點是否異常步驟:該節點異常則執行一第一判斷是否影響到具備援要求的路徑步驟,反之則執行一判斷鏈結是否異常步驟;第一判斷是否影響到具備援要求的路徑步驟:節點異常會影響具備援要求的路徑則依序執行該找尋節點步驟、該界定傳輸路徑步驟及該決定最佳傳輸路徑步驟並結束程序,反之則執行判斷鏈結是否異常步驟;判斷鏈結是否異常步驟:該鏈結為異常則執行一第二判斷是否影響到具備援要求的路徑步驟,反之則結束程序;第二判斷是否影響到具備援要求的路徑步驟:鏈結異常會影響到具備援要求的路徑則依序執行前述找尋節點步驟、該界定傳輸路徑步驟及該決定最佳傳輸路徑步驟並結束流程,反之則選擇該備援路徑,將該路由規則寫入至對應備援路徑之各該節點之該流表。 To achieve the foregoing objective, the network topology automatic monitoring method of the present invention is applied to a software-defined network architecture, where the software-defined network architecture includes a plurality of nodes, a controller, at least one source interface, and at least one destination interface. Each node has a node identification code, and each of the adjacent nodes is connected to each other to form a link, and each node has a first-class table; the controller controls connection with each node, the source interface, and the destination interface, and the controller The controller has a storage space for storing a routing rule and a backup path, the source interface is connected to at least one node, the destination interface is connected to at least one node, and the network topology automatic monitoring method , including: specifying an action step: selecting an action performed on the packet flow, which may specify a field for transmitting a packet stream, discarding the packet stream, or modifying a packet; specifying an output destination step: specifying a packet stream transmission when the transfer instruction is executed in the foregoing step To one or more of the destination interfaces; the step of finding nodes: finding out the nodes according to the path calculation principle Point identification code; defining a transmission path step: finding the link between the nodes according to the network topology relationship; determining the optimal transmission path step: according to the foregoing steps of finding a node and defining a transmission path step Pu cooperates with the routing rule to generate an optimal transmission path, and writes the routing rule to the flow table of each node corresponding to the optimal transmission path; and whether the automatic restoration step: the node or the link issues an abnormal warning notification The controller will perform an automatic recovery procedure; the automatic recovery procedure includes the following steps: Determine whether each node is abnormal. Step: If the node is abnormal, perform a first judgment to determine whether the path step with the assistance is required. Otherwise, execute a step of determining whether the link is abnormal; whether the first judgment affects the path step with the assistance requirement: If the node abnormality affects the path with the assistance requirement, the search node step, the defined transmission path step and the determining the optimal transmission path step are executed in sequence, and the program is terminated; otherwise, the step of determining whether the link is abnormal is performed; whether the link is abnormal is determined. Step: If the link is abnormal, whether a second judgment is performed affects the path step with the assistance requirement, and vice versa, and the second judgment determines whether the path step with the assistance requirement is affected: the link abnormality may affect the assistance requirement. The path sequentially executes the foregoing searching node step, the defining the transmission path step, and the determining the optimal transmission path step, and ending the process. Otherwise, selecting the backup path, and writing the routing rule to the corresponding backup path. The flow table for the node.

較佳的,該路由規則為,封包流須行經該來源介面至該目的介面間最少該節點數量的路徑。 Preferably, the routing rule is that the packet flow has to travel through the source interface to a minimum number of the number of nodes between the destination interfaces.

較佳的,該路由規則為,封包流需行經頻寬權重較大之該節點。 Preferably, the routing rule is that the packet flow needs to pass the node with a larger bandwidth weight.

較佳的,該路由規則為,封包流需優先行經頻寬用量較小之該節點。 Preferably, the routing rule is that the packet flow needs to preferentially pass the node with a small bandwidth.

較佳的,該路由規則為,封包流需優先行經IP數較小之該節點。 Preferably, the routing rule is that the packet flow needs to preferentially pass the node with a smaller number of IPs.

較佳的,該路由規則係由:封包流須行經該來源介面至該目的介面間最少該節點數量的路徑、封包流需行經頻寬權重較大之該節點、封包流需優先行經IP數較小之該節點、封包流需優先行經頻寬用量較小之該節點組成之群組中至少一項所構成。 Preferably, the routing rule is: the path of the packet flow through the source interface to the destination interface is at least the number of the node, the packet flow needs to pass the bandwidth with a larger weight, and the packet flow needs priority IP number comparison. The node and the packet stream need to be preferentially constructed by at least one of the groups consisting of the nodes having a small bandwidth.

由前述可知,本發明網路拓樸自動監控方法主要係藉由該控制器找尋網路拓樸,並配合該路由規則以產生該最佳傳輸路徑,將該最佳傳輸路徑寫入至對應各最佳傳輸路徑之各該節點的流表,以使各該封包流依據該最佳傳輸路徑傳送至該目的介面,且若該節點或該鏈結發生異常中斷狀況時,再藉由該自動復原程序判斷採取備援路徑或重新安排配置最佳傳輸路徑,使封包流能夠在該節點或鏈結發生異常狀況時依然能夠行經最有效率的路徑,以達成提升網路資源的效率及降低維護網路系統成本之目的。 It can be seen from the foregoing that the network topology automatic monitoring method of the present invention mainly searches for the network topology by using the controller, and cooperates with the routing rule to generate the optimal transmission path, and writes the optimal transmission path to the corresponding each. a flow table of each node of the optimal transmission path, so that each packet flow is transmitted to the destination interface according to the optimal transmission path, and if the node or the link is abnormally interrupted, the automatic recovery is performed by the node The program judges to take the backup path or re-arrange the optimal transmission path, so that the packet flow can still pass the most efficient path when the node or the link is abnormal, so as to achieve the efficiency of improving network resources and reducing the maintenance network. The purpose of the road system cost.

10‧‧‧指定動作步驟 10‧‧‧Specified action steps

20‧‧‧指定輸出終點步驟 20‧‧‧Specified output endpoint steps

30‧‧‧找尋節點步驟 30‧‧‧Search node steps

40‧‧‧界定傳輸路徑步驟 40‧‧‧Defining the transmission path steps

50‧‧‧決定最佳傳輸路徑步驟 50‧‧‧Determining the best transmission path steps

60‧‧‧是否自動復原步驟 60‧‧‧Automatic recovery steps

70‧‧‧自動復原程序 70‧‧‧Automatic recovery procedure

71‧‧‧判斷各節點是否異常步驟 71‧‧‧Determining whether each node is abnormal

72‧‧‧第一判斷是否影響到具備援要求的路徑步驟 72‧‧‧ Whether the first judgement affects the path steps with the aid requirements

73‧‧‧判斷連結是否異常步驟 73‧‧‧Determining whether the link is abnormal

74‧‧‧第二判斷是否影響到具備援要求的路徑步驟 74‧‧‧Does the second judgement affect the path steps with the aid requirements?

A‧‧‧軟體定義網路架構 A‧‧‧Software-defined network architecture

A1‧‧‧節點 A1‧‧‧ node

A11‧‧‧鏈結 A11‧‧‧ link

A2‧‧‧控制器 A2‧‧‧ controller

A3‧‧‧來源介面 A3‧‧‧ source interface

A4‧‧‧目的介面 A4‧‧‧ destination interface

圖1 為本發明網路拓樸自動監控方法應用之軟體定義網路架構示意圖。 FIG. 1 is a schematic diagram of a software-defined network architecture for applying the network topology automatic monitoring method according to the present invention.

圖2 為本發明網路拓樸自動監控方法應用之軟體定義網路架構損壞示意圖。 FIG. 2 is a schematic diagram of software definition network architecture damage applied to the network topology automatic monitoring method of the present invention.

圖3 為本發明網路拓樸自動監控方法之流程圖。 FIG. 3 is a flowchart of a method for automatically monitoring a network topology according to the present invention.

圖4 為本發明之自動復原程序的示意圖。 4 is a schematic diagram of an automatic recovery procedure of the present invention.

使貴審查委員對本發明之目的、特徵及功效能夠有更進一步之瞭解與認識,以下茲請配合圖式簡單說明詳述如後:本發明提供一種網路拓樸自動監控方法,其係應用於一軟體定義網路(SDN)架構A,如圖1至圖2所示,其中該軟體定義網路架構A,包括:複數節點A1、一控制器A2、至少一來源介面A3及至少一目的介面A4,各該節點A1分別具有一節點識別碼,各該相鄰之節點A1係相互連接以形成一鏈結A11,各該節點A1分別具有用以儲存最佳傳輸路徑之一流表(Flow table); 該控制器A2係與各該節點A1、該來源介面A3及該目的介面A4控制連接,該控制器A2具有一儲存空間,該儲存空間供以儲存一路由規則及一備援路徑,該控制器A2將一封包流指定至對應的傳輸途徑,此處所稱之封包流係指網路系統中複數個連續或不連續的封包,具有相同的特徵,例如具有相同之來源為址或目的為址等;該來源介面A3與至少一個該節點A1連接,該來源介面A3供以輸出該封包流;該目的介面A4與至少一個該節點A1連接,該目的介面A4為該封包流所傳送之目的地。 The review committee can have a better understanding and understanding of the purpose, features and effects of the present invention. Please refer to the following for a detailed description of the following: The present invention provides a network topology automatic monitoring method, which is applied to A software-defined network (SDN) architecture A, as shown in FIG. 1 to FIG. 2, wherein the software defines a network architecture A, including: a plurality of nodes A1, a controller A2, at least one source interface A3, and at least one destination interface. A4, each of the nodes A1 has a node identification code, and each of the adjacent nodes A1 is connected to each other to form a link A11, and each of the nodes A1 has a flow table for storing an optimal transmission path. ; The controller A2 is connected to each of the node A1, the source interface A3, and the destination interface A4. The controller A2 has a storage space for storing a routing rule and a backup path. The controller A2 assigns a packet flow to the corresponding transmission path. Here, the packet flow refers to a plurality of consecutive or discontinuous packets in the network system, having the same characteristics, for example, having the same source address or destination address, etc. The source interface A3 is connected to at least one node A1, and the source interface A3 is configured to output the packet stream; the destination interface A4 is connected to at least one node A1, and the destination interface A4 is a destination transmitted by the packet stream.

而該網路拓樸自動監控方法,如圖3至圖4所示,包括:指定動作步驟10:選擇對於封包流所執行之動作,其可指定傳輸封包流、捨棄封包流或修改封包之欄位;指定輸出終點步驟20:於前述步驟中執行傳輸的指令時,便指定封包流傳輸至一個或多個該目的介面A4;找尋節點步驟30:依據路徑演算原則找出相關的節點A1之節點識別碼,以監控各該節點A1;界定傳輸路徑步驟40:依據網路拓樸關係找出各該節點A1之間的該鏈結A11:決定最佳傳輸路徑步驟50:根據前述找尋節點步驟30及界定傳輸路徑步驟40所得到之網路拓樸配合該控制器A2內之路由規則產生該最佳傳輸路徑,並將該路由規則寫入至對應各最佳傳輸路徑之各該節點A1的流表。 The network topology automatic monitoring method, as shown in FIG. 3 to FIG. 4, includes: specifying action step 10: selecting an action performed on the packet stream, which may specify a column for transmitting a packet stream, discarding a packet stream, or modifying a packet. Bit; specify output end point Step 20: When the instruction for transmitting is performed in the foregoing step, the packet stream is specified to be transmitted to one or more of the destination interfaces A4; the search node is step 30: the node of the relevant node A1 is found according to the path calculation principle Identification code to monitor each node A1; defining a transmission path step 40: finding the link A11 between the nodes A1 according to the network topology relationship: determining an optimal transmission path. Step 50: searching for the node according to the foregoing step 30 And the network topology obtained by defining the transmission path step 40 cooperates with the routing rule in the controller A2 to generate the optimal transmission path, and writes the routing rule to the flow of each node A1 corresponding to each optimal transmission path. table.

於本實施例中其中一個路由規則為,封包流須行經該來源介面A3至該目的介面A4間最少節點A1數量的路徑;另一路由規則為,封包流需行經頻寬權重較大之該節點A1,於本實施例中,優先選擇頻寬為10G的該節點A1;又一路由規則為,封包流需優先行經頻寬用量較小之該節點A1;再一路由規則為,封包流需優先行經IP數較小之該節點A1;值得一提的是,可藉由前述其中一個該路由規則單獨配合該網路拓樸形成該最佳傳輸路徑,抑或是以複數個該路由規則配合該網路拓樸形成該最佳傳輸路徑。 In this embodiment, one of the routing rules is that the packet flow must pass the path of the minimum number of nodes A1 between the source interface A3 and the destination interface A4; another routing rule is that the packet flow needs to pass the node with a larger bandwidth weight. A1. In this embodiment, the node A1 having a bandwidth of 10 G is preferentially selected; another routing rule is that the packet flow needs to preferentially pass the node A1 with a smaller bandwidth; and another routing rule is that the packet flow needs to be prioritized. The node A1 having a small number of IP addresses; it is worth mentioning that the optimal transmission path can be formed by using one of the foregoing routing rules alone, or a plurality of the routing rules are used to cooperate with the network. The road topology forms the optimal transmission path.

是否自動復原步驟60,決定是否復原傳輸路徑,當節點狀態或鏈結狀態發出異常警告通知該控制器A2時則執行一自動復原程序70,反之則結束該網路拓樸自動監控方法,於本實施例中異常狀況如節點A1與控制器A2失聯、鏈結A11中斷等。 Whether to automatically restore step 60, determine whether to restore the transmission path, when the node status or link status issues an abnormal warning to notify the controller A2, then execute an automatic recovery procedure 70, otherwise, the network topology automatic monitoring method is terminated. In the embodiment, the abnormal condition is that the node A1 is disconnected from the controller A2, the link A11 is interrupted, and the like.

該自動復原程序70,如圖4所示,包括:判斷各節點是否異常步驟71:如果該節點A1異常則執行一第一判斷是否影響到具備援要求的路徑步驟72,反之,該節點A1無異常則執行一判斷鏈結A11是否異常步驟73;第一判斷是否影響到具備援要求的路徑步驟72:如果影響具備援要求的路徑則依序執行前述該找尋節點步驟30、該界定傳輸路徑步驟40及該決定最佳傳輸路徑步驟50並結束該自動復原程序70,如果不會影響該備援路徑則執行判斷鏈結是否異常步驟73; 判斷鏈結是否異常步驟73:如果該鏈結A11為異常則執行一第二判斷是否影響到具備援要求的路徑步驟74,如果該鏈結A11沒異常則結束該自動復原程序70;第二判斷是否影響到具備援要求的路徑步驟74:如果鏈結A11異常會影響到具備援要求的路徑則依序執行前述找尋節點步驟30、該界定傳輸路徑步驟40及該決定最佳傳輸路徑步驟50並結束該自動復原程序70,如果該鏈結A11異常不會影響到具備援要求的路徑,則選擇該備援路徑,將該路由規則寫入至對應各備援路徑之各該節點A1的流表。 The automatic recovery program 70, as shown in FIG. 4, includes: determining whether each node is abnormal. Step 71: If the node A1 is abnormal, perform a first determination to affect whether the path with the request is performed. Step 72, otherwise, the node A1 has no The abnormality is performed to determine whether the link A11 is abnormal. Step 73; whether the first determination affects the path with the assistance requirement. Step 72: If the path with the assistance requirement is affected, the foregoing search node step 30 is performed in sequence, and the defined transmission path step is performed. 40 and the determining the optimal transmission path step 50 and ending the automatic recovery procedure 70, if the backup path is not affected, then performing a determination of whether the link is abnormal step 73; Determining whether the link is abnormal step 73: if the link A11 is abnormal, whether a second determination is made to affect the path step 74 with the aid request, and if the link A11 is not abnormal, the automatic recovery process 70 is ended; the second determination Whether it affects the path with the assistance requirement. Step 74: If the link A11 abnormality affects the path with the assistance requirement, the foregoing search node step 30, the defined transmission path step 40, and the determined optimal transmission path step 50 are sequentially performed. When the automatic recovery program 70 is completed, if the link A11 abnormality does not affect the path with the assistance request, the backup path is selected, and the routing rule is written to the flow table of each node A1 corresponding to each backup path. .

由前述可知,本發明網路拓樸自動監控方法主要係藉由該控制器A2找尋網路拓樸,並配合該路由規則以產生該最佳傳輸路徑,將該最佳傳輸路徑寫入至對應各最佳傳輸路徑之各該節點A1的流表,以使各該封包流依據該最佳傳輸路徑傳送至該目的介面A4,且若該節點A1或鏈結A11發生異常狀況時,再藉由該自動復原程序70判斷採取備援路徑或重新安排最佳傳輸路徑,使封包流能夠在該節點A1或鏈結A11發生異常中斷狀況時依然能夠行經最有效率的路徑,以達成提升網路資源的效率及降低維護網路系統成本之目的。 It can be seen from the foregoing that the network topology automatic monitoring method of the present invention mainly searches for the network topology by using the controller A2, and cooperates with the routing rule to generate the optimal transmission path, and writes the optimal transmission path to the corresponding a flow table of each of the nodes A1 of each of the optimal transmission paths, so that each of the packet flows is transmitted to the destination interface A4 according to the optimal transmission path, and if an abnormal condition occurs in the node A1 or the link A11, The automatic recovery program 70 determines that the backup path is taken or the optimal transmission path is re-arranged, so that the packet flow can still pass through the most efficient path when the node A1 or the link A11 is abnormally interrupted, so as to achieve the improvement of the network resource. Efficiency and reduce the cost of maintaining network systems.

Claims (7)

一種網路拓樸自動監控方法,應用於一軟體定義網路架構,該軟體定義網路架構包括複數節點、一控制器、至少一來源介面及至少一目的介面,各該節點分別具有一節點識別碼,各該相鄰之節點係相互連接以形成一鏈結,各該節點分別具有一流表;該控制器與各該節點、該來源介面及該目的介面控制連接,該控制器具有一儲存空間,該儲存空間供以儲存一路由規則及一備援路徑,該來源介面與至少一個該節點連接,該目的介面與至少一個該節點連接,而該網路拓樸自動監控方法,包括:指定動作步驟:選擇對於封包流所執行之動作,其可指定傳輸封包流、捨棄封包流或修改封包之欄位;指定輸出終點步驟:於前述步驟中執行傳輸指令時指定封包流傳輸至一個或多個該目的介面;找尋節點步驟:依據路徑演算原則找出各該節點之該節點識別碼;界定傳輸路徑步驟:依據網路拓樸關係找出各該節點之間的該鏈結;決定最佳傳輸路徑步驟:根據前述找尋節點步驟及界定傳輸路徑步驟所得到之網路拓樸配合該路由規則產生一最佳傳輸路徑,並將該路由規則寫入至對應該最佳傳輸路徑之各該節點的該流表;以及是否自動復原步驟:節點或鏈結發出異常警告通知該控制器時執行一自動復原程序;其中,該自動復原程序包含有下列步驟:判斷各節點是否異常步驟:該節點異常則執行一第一判斷是否影響到具備 援要求的路徑步驟,反之則執行一判斷鏈結是否異常步驟;第一判斷是否影響到具備援要求的路徑步驟:節點異常會影響具備援要求的路徑則依序執行該找尋節點步驟、該界定傳輸路徑步驟及該決定最佳傳輸路徑步驟並結束程序,反之則執行判斷鏈結是否異常步驟;判斷鏈結是否異常步驟:該鏈結為異常則執行一第二判斷是否影響到具備援要求的路徑步驟,反之則結束程序;以及第二判斷是否影響到具備援要求的路徑步驟:鏈結異常會影響到具備援要求的路徑則依序執行前述找尋節點步驟、該界定傳輸路徑步驟及該決定最佳傳輸路徑步驟並結束流程,反之則選擇該備援路徑,將該路由規則寫入至對應備援路徑之各該節點之該流表。 A network topology automatic monitoring method is applied to a software-defined network architecture, where the software-defined network architecture includes a plurality of nodes, a controller, at least one source interface, and at least one destination interface, each node having a node identification a code, each of the adjacent nodes are connected to each other to form a link, and each of the nodes has a first-class table; the controller is connected to each of the nodes, the source interface, and the destination interface, and the controller has a storage space. The storage space is configured to store a routing rule and a backup path, the source interface is connected to at least one node, the destination interface is connected to at least one node, and the network topology automatic monitoring method comprises: specifying an action step : selecting an action performed on the packet flow, which may specify a field for transmitting a packet flow, discarding the packet flow, or modifying the packet; specifying an output end point step: specifying a packet flow to one or more when the transfer instruction is executed in the foregoing step Destination interface; step of finding a node: finding the node identification code of each node according to the path calculation principle; The transmission path step: finding the link between the nodes according to the network topology relationship; determining the optimal transmission path step: matching the network topology obtained according to the foregoing step of finding a node and defining a transmission path step Generating an optimal transmission path and writing the routing rule to the flow table of each node corresponding to the optimal transmission path; and whether the automatic restoration step: the node or the link issues an abnormality warning to notify the controller when executing one An automatic recovery program; wherein the automatic recovery program includes the following steps: determining whether each node is abnormal: the node is abnormal, and performing a first judgment affects whether Require the path step of the request, and vice versa to perform a step of determining whether the link is abnormal; whether the first judgment affects the path step with the aid requirement: the node abnormality affects the path with the aid requirement, and the step of performing the search node is performed in sequence, and the definition The transmission path step and the determining the optimal transmission path step and ending the program, otherwise performing the step of determining whether the link is abnormal; determining whether the link is abnormal: the link is abnormal, and performing a second determination affects the request a path step, and vice versa, ending the program; and a second determination as to whether the path step with the assistance requirement is affected: the link abnormality affects the path with the assistance requirement, and the foregoing searching node step, the defined transmission path step, and the decision are sequentially performed. The best transmission path step ends the process, otherwise the backup path is selected, and the routing rule is written to the flow table of each node corresponding to the backup path. 如申請專利範圍第1項所述之網路拓樸自動監控方法,其中,該路由規則為,封包流須行經該來源介面至該目的介面間最少該節點數量的路徑。 The network topology automatic monitoring method according to claim 1, wherein the routing rule is that the packet flow has to pass through the source interface to a minimum number of the nodes between the destination interfaces. 如申請專利範圍第1項所述之網路拓樸自動監控方法,其中,該路由規則為,封包流需行經頻寬權重較大之該節點。 The network topology automatic monitoring method according to claim 1, wherein the routing rule is that the packet flow needs to pass the node with a larger bandwidth weight. 如申請專利範圍第1項所述之網路拓樸自動監控方法,其中,該路由規則為,封包流需優先行經頻寬用量較小之該節點。 The network topology automatic monitoring method according to claim 1, wherein the routing rule is that the packet flow needs to preferentially pass the node with a small bandwidth. 如申請專利範圍第1項所述之網路拓樸自動監控方法,其中,該路由規則為,封包流需優先行經IP數較小之該節點。 The network topology automatic monitoring method according to claim 1, wherein the routing rule is that the packet flow needs to preferentially pass the node with a smaller IP number. 如申請專利範圍第1項所述之網路拓樸自動監控方法,其中,該路由規則係由:封包流須行經該來源介面至該目的介面間最少該節點數量的路徑、封包流需行經頻寬權重較大之該節點、封包流需優先行經IP數較小之該節點、封包流需優先行經頻寬用量較小之該節點組成之群組中至少一項所構成。 The network topology automatic monitoring method according to claim 1, wherein the routing rule is: the path of the packet flow through the source interface to the destination interface, the packet flow needs to pass the frequency The node with a larger weight and the packet stream need to be preferentially routed through at least one of the nodes having a smaller number of IPs, and the packet stream is preferentially routed to a group having a smaller bandwidth. 一種自動復原程序,應用於一軟體定義網路架構,該軟體定義網路架構包括複數節點、一控制器、至少一來源介面及至少一目的介面,各該節點分別具有一節點識別碼,各該相鄰之節點係相互連接以形成一鏈結,各該節點分別具有一流表;該控制器與各該節點、該來源介面及該目的介面控制連接,該控制器具有一儲存空間,該儲存空間供以儲存一路由規則及一備援路徑,該來源介面與至少一個該節點連接,該目的介面與至少一個該節點連接,當該節點或該鏈結發出異常警告時,執行該自動復原程序,而該自動復原程序,包括;判斷各節點是否異常步驟:該節點異常則執行一第一判斷是否影響到具備援要求的路徑步驟,反之則執行一判斷鏈結是否異常步驟;第一判斷是否影響到具備援要求的路徑步驟:節點異常會影響具備援要求的路徑則依序執行一找尋節點步驟、一界定傳輸路徑步驟及一決定最佳傳輸路徑步驟並結束程序,反之則執行判斷鏈結是否異常步驟;找尋節點步驟:依據路徑演算原則找出各該節點之該節點識別碼;界定傳輸路徑步驟:依據網路拓樸關係找出各該節點之間的該鏈結;決定最佳傳輸路徑步驟:根據前述找尋節點步驟及界定傳輸路徑步驟所得到之網路拓樸配合該路由規則產生一最佳傳輸路徑,並將該路由規則寫入至對應該最佳傳輸路徑之各該節點的流表;判斷鏈結是否異常步驟:該鏈結為異常則執行一第二判斷是否影響到具備援要求的路徑步驟,反之則結束程序;第二判斷是否影響到具備援要求的路徑步驟:鏈結異常會影響到具備援要求的路徑則依序執行前述找尋節點步驟、該界定傳輸路徑步驟及該決定最佳傳 輸路徑步驟並結束流程,反之則選擇該備援路徑,將該路由規則寫入至對應各備援路徑之各該節點之該流表。 An automatic recovery procedure is applied to a software-defined network architecture, where the software-defined network architecture includes a plurality of nodes, a controller, at least one source interface, and at least one destination interface, each node having a node identifier, each of which Adjacent nodes are connected to each other to form a link, and each node has a first-class table; the controller is connected to each node, the source interface and the destination interface, and the controller has a storage space for the storage space. To store a routing rule and a backup path, the source interface is connected to at least one node, and the destination interface is connected to at least one node, and when the node or the link issues an abnormal warning, the automatic recovery procedure is executed, and The automatic recovery program includes: determining whether each node is abnormal: the node is abnormal, and whether a first determination determines whether the path step with the assistance is required, and vice versa, whether the step of determining whether the link is abnormal is performed; whether the first determination affects The path step with the aid requirement: the node abnormality will affect the path with the aid requirement, and then execute one in sequence. The step of finding a node, the step of defining a transmission path, and the step of determining an optimal transmission path and ending the procedure, and vice versa, performing an step of determining whether the link is abnormal; the step of finding a node: finding the node identification code of each node according to the path calculation principle; Defining the transmission path step: finding the link between the nodes according to the network topology relationship; determining the optimal transmission path step: matching the network topology obtained according to the foregoing step of finding a node and defining a transmission path step The rule generates an optimal transmission path, and writes the routing rule to the flow table of each node corresponding to the optimal transmission path; determines whether the link is abnormal: if the link is abnormal, whether a second judgment is performed To the path step with the aid requirement, and vice versa, the second step determines whether the path step with the assistance requirement is affected: the link abnormality affects the path with the assistance requirement, and the foregoing search node step is executed in sequence, and the defined transmission path is executed. Steps and the best pass of the decision The path step is terminated and the process is terminated. Otherwise, the backup path is selected, and the routing rule is written to the flow table of each node corresponding to each backup path.
TW105112213A 2016-04-20 2016-04-20 Automatic monitoring method of network topology TWI622282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105112213A TWI622282B (en) 2016-04-20 2016-04-20 Automatic monitoring method of network topology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105112213A TWI622282B (en) 2016-04-20 2016-04-20 Automatic monitoring method of network topology

Publications (2)

Publication Number Publication Date
TW201739218A TW201739218A (en) 2017-11-01
TWI622282B true TWI622282B (en) 2018-04-21

Family

ID=61022810

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105112213A TWI622282B (en) 2016-04-20 2016-04-20 Automatic monitoring method of network topology

Country Status (1)

Country Link
TW (1) TWI622282B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050281271A1 (en) * 1999-09-27 2005-12-22 Nortel Networks Limited State information and routing table updates in large scale data networks
CN103782552A (en) * 2013-09-03 2014-05-07 华为技术有限公司 Method for protecting service path, controller, device and system
CN104158733A (en) * 2013-05-13 2014-11-19 华为技术有限公司 Rapid rerouting method and device and transmission network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050281271A1 (en) * 1999-09-27 2005-12-22 Nortel Networks Limited State information and routing table updates in large scale data networks
CN104158733A (en) * 2013-05-13 2014-11-19 华为技术有限公司 Rapid rerouting method and device and transmission network
CN103782552A (en) * 2013-09-03 2014-05-07 华为技术有限公司 Method for protecting service path, controller, device and system

Also Published As

Publication number Publication date
TW201739218A (en) 2017-11-01

Similar Documents

Publication Publication Date Title
Vissicchio et al. Central control over distributed routing
US10257066B2 (en) Interconnect congestion control in a storage grid
JP5919046B2 (en) Path calculation method
US9680745B2 (en) Multi-domain source routed forwarding based on collaborating network controllers
US9049131B2 (en) Network system and load balancing method
JP2016208555A (en) Network management
US10103969B2 (en) Open shortest path first routing for hybrid networks
US20220272032A1 (en) Malleable routing for data packets
JP5049902B2 (en) Network system
WO2017215378A1 (en) Software-defined network, node, path calculation method and device, and storage medium
Zheng et al. Sentinel: Failure recovery in centralized traffic engineering
US9973405B2 (en) Network element status identification based on service
CN108476175B (en) Transfer SDN traffic engineering method and system using dual variables
US20200044963A1 (en) Centralized label-based software defined network
US10666562B2 (en) Network path computation method, apparatus, and system
JP2016046736A (en) Service chaining system, service chaining forwarder device, and service chaining method
US20190372883A1 (en) Method for scalable computer network partitioning
US10476772B2 (en) Soft constrained shortest-path tunneling
US11632288B2 (en) Determining the impact of network events on network applications
US8483054B2 (en) Communication path estimation method, non-transitory computer-readable recording medium, and monitoring apparatus
US20180167337A1 (en) Application of network flow rule action based on packet counter
WO2017159508A1 (en) Setting device, communication system, method for updating setting of communication device and program
US20160301595A1 (en) Communication system, communication method, network information combination apparatus, processing rule conversion method, and processing rule conversion program
JP2007074055A (en) Network resource control method for dynamic control and network resource control apparatus for dynamic control
TWI622282B (en) Automatic monitoring method of network topology