TW515169B - Automatically distributed network topology discovery method - Google Patents

Automatically distributed network topology discovery method Download PDF

Info

Publication number
TW515169B
TW515169B TW90104820A TW90104820A TW515169B TW 515169 B TW515169 B TW 515169B TW 90104820 A TW90104820 A TW 90104820A TW 90104820 A TW90104820 A TW 90104820A TW 515169 B TW515169 B TW 515169B
Authority
TW
Taiwan
Prior art keywords
node
tree
message
network
variable
Prior art date
Application number
TW90104820A
Other languages
Chinese (zh)
Inventor
Tzong-Jye Liu
Chun-Shiow Chen
Ju-Wei Chen
Shi-Wei Lee
Original Assignee
Ind Tech Res Inst
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 Ind Tech Res Inst filed Critical Ind Tech Res Inst
Priority to TW90104820A priority Critical patent/TW515169B/en
Application granted granted Critical
Publication of TW515169B publication Critical patent/TW515169B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an automatically distributed network topology discovery method using tree structure to distribute detection message and determine required network topology based on the calculation of response message. The method includes that creates an initialization phase to create a leader node as root of tree message transmission structure, uses the tree message transmission structure to build up a data collect phase, making the leader node of the tree message transmission structure to obtain the response message of all other nodes, and determines a network topology in accordance with all response messages.

Description

rfii 修jl 補烏 號 90104820 年月曰 修正 五、發明說明(1) 發明背景 本發明係有關於一種網路拓樸偵測(n e t w 〇 r k topology discovery)方法,特別是有關於一種分散式網 路拓樸自動该測(automatically distributed network topology discovery)方法,其計算分散式的回應訊息來 自動偵測一網路拓樸。 在電4吕網路(telecommunication network)中,網路 祐樸是管理電信網路的重要資訊之一。以一同步數位式階 層網路(Synchronous Digital Hierarchy:SDH)為例,該rfii Xiu jl Buwu No. 90104820 Rev. V. Description of the invention (1) Background of the invention The present invention relates to a method for network topology discovery (netw rk topology discovery), and in particular to a decentralized network The topology is an automatically distributed network topology discovery method, which calculates a distributed response message to automatically detect a network topology. In the telecommunication network, the network is one of the important information for managing the telecommunications network. Taking a synchronous digital hierarchy network (Synchronous Digital Hierarchy: SDH) as an example, the

SDH路已成為現在長程光纖通訊(〇ptic fiber communication)的世界標準,也是寬頻網際網路 (broadband ISDN)的骨幹(backbone)。該 SDH 傳輸網路是 由數位式父換設備(digital crossconnect)、塞取多工器 (add/drop muitiplexer)及高容量的光纖傳輸設備所構成 的、罔路。面對此複雜的傳輸網路,網路管理多 變的相當重要。 《巴就The SDH circuit has become the world standard for current long-range optical fiber communication, and it is also the backbone of the broadband ISDN. The SDH transmission network consists of a digital crossconnect device, an add / drop muitiplexer, and a high-capacity fiber-optic transmission device. Facing this complex transmission network, network management is very important. "Bajiu

路加電信網路需求與環境的不同,該SDH傳輪網 木"〇3第1&圖之樹狀連接(tree connect ion)及第 =之=連接(ring connectlon),其中,該樹 ; ί : t; ΐ第1b圖之點對點連接(dot _ect 10n)及第' 圖生狀連接(star connection)。當完成一 SDH網敗从 設Ϊ政該網路管理者必須對該猶網路作設定,以啟動」 一網路元件(network eleinent)。目 j動母 根據系統架構(網路拓樸),對每一網路二、理定者的?Lujia Telecom's network needs are different from the environment. The SDH transmission wheel network is "tree connection ion" and "ring connectlon" in the figure, where the tree; ί: t; ΐ The point-to-point connection (dot _ect 10n) in Fig. 1b and the star connection in Fig. 1b. When an SDH network failure is completed, the network administrator must configure the network to enable a "network eleinent". Project j based on the system architecture (network topology), for each network

515169515169

作。隨著網路階層的增加或系統新增網路元件的增加,網 路設定與管理的工作將愈趨困難。因此’用以簡化設定鱼 管理工作的自動偵測網路拓樸(aut〇matic t〇p〇1〇gy 、 discovery)的方法已被提出。 目前已提出的自動偵測網路拓樸(aut〇matic topology diSC〇very)方法是以傳輸控制/網路通訊協定 (Transmission Control Protocol/internet _Make. With the increase of the network hierarchy or the increase of new network components in the system, network setting and management will become more and more difficult. Therefore, an automatic detection network topology (automatic t0p0gy, discovery) method for simplifying the setting of fish management has been proposed. The currently proposed automatic detection network topology (aut〇matic topology diSC〇very) method is based on Transmission Control Protocol / internet _

Protocol: TCP/IP)網路為基礎,或在非同步傳送模式. (Asynchronous Transfer Mode)網路中利用内部特定的 輸通道來取得ATM網路拓樸資訊。兩者皆必須將所有資訊 集中至一特定節點(specif ic n〇de)上作計算以取得網路 拓樸資訊’此方式將會浪費極大的網路頻寬 (bandwidth) ° 有鑑於此、,本發明之一目的為提供一種分散式網路拓 樸自動偵測方法,、其以分散在一網路中的每一網路節點上 做小量計算的方式來決定該網路整體的拓樸,如此,可節 省集中式計算所造成的網路資源(頻寬)上的浪費。 . 本發明係一種分散式網路拓樸自動偵測方法,其分散: 式計算的設計可避免傳統上集中式計算所造成的頻寬浪 費。該方法包括下列步驟··建立一初始階段 (inltializatl〇n phase),以產生一以領導節點(16以^ node)為根(root)的樹狀訊息傳遞架構;利用該樹狀訊息 傳遞架構來建立一資料匯集階段(data c〇llect phase), 以使該樹狀訊息傳遞架構的領導節點(丨eader n〇de)獲得Protocol: TCP / IP) network, or use Asynchronous Transfer Mode network to obtain ATM network topology information by using internal specific transmission channels. Both must concentrate all information on a specific node (specific ode) for calculation in order to obtain network topology information. 'This method will waste a great amount of network bandwidth. In view of this ,, An object of the present invention is to provide a distributed network topology automatic detection method, which determines the overall topology of the network by performing a small amount of calculation on each network node dispersed in the network. In this way, network resources (bandwidth) caused by centralized computing can be saved. The present invention is a decentralized network topology automatic detection method, which is decentralized: The design of the distributed computing can avoid the bandwidth waste caused by traditional centralized computing. The method includes the following steps: establishing an initial phase to generate a tree-like message passing structure with a leading node (16 to ^ node) as the root; using the tree-like message passing structure to Establish a data collection phase, so that the leading nodes of the tree-like messaging architecture (eader node) can obtain

515169 Μ:二 0 3, ’ : 案號 90104820 五、發明說明(3) 及根據所有的回應訊息決定一 所有其它節點的回應訊息 網路拓樸。 較佳貫施例之詳細說明 士由於一SDH網路所涵蓋的範圍極大,在管理SD{I網 路時,一般都會將整個SDH網路規劃成數個子網路 (Suj-ndW0rk)來作管理設定的工作。在子網路中,子網515169 M: 203, ′: Case No. 90104820 V. Description of the invention (3) and the response information of all other nodes is determined according to all the response information Network topology. The detailed description of the better implementation example: Because an SDH network covers a large range, when managing an SD {I network, the entire SDH network is generally planned into several sub-networks (Suj-ndW0rk) for management settings. work. Subnet

路官理系統(Sub-network Management System)會透過 ,道網路元件(Gateway Network Element ; GNE)來取 !!"子周路的網路管理訊息。閘道網路元件提供了一個網路 管理的通訊介面,它是子網路管理系統和子網路之間訊息 溝通的一個橋樑。 參π考第3圖,係一本發明系統架構圖。在第3圖中,具 有2個—環狀子網路R1、R2及3個樹狀子網路ΤΙ、Τ2。如第3 圖所示,子網路尺1是由節點(node) ADM1、ADM2、ADM3及 4所構成’子網路R2是由節點(nocje)ADM3、ADM5、ADM6 及ADrF所構成。子網路R1及R2間係藉節點ADM3互連。子網 ^係由節點ADM5、丨及所構成,其中,子網路η係The Sub-network Management System will fetch !! " Zi Zhoulu's network management information through the Gateway Network Element (GNE). The gateway network component provides a network management communication interface, which is a bridge for information communication between the subnet management system and the subnet. Refer to Figure 3, which is a system architecture diagram of the present invention. In Figure 3, there are two—ring subnetworks R1, R2, and three tree subnetworks TI, T2. As shown in Fig. 3, the subnet ruler 1 is composed of nodes ADM1, ADM2, ADM3, and 4 'and the subnet R2 is composed of nodes (nocje) ADM3, ADM5, ADM6, and ADRF. The subnetworks R1 and R2 are interconnected by the node ADM3. The subnet ^ is composed of nodes ADM5, 丨 and, where the subnet η is

=^DM5與子網路^互連。子網路了2係由節點DM7及 T Μ 3所構成,甘山 取 其中,子網路Τ2係藉節點ADM7與子網路R2互 連0 加槿為ί能清楚的描述本發明方法’我們將第3圖的網路 ^ 一 圖的拓樸形式表示。在第4圖中,每一個圓圈代 : 固網路節點(各ADM及各TM),鏈結各節點以形成一網= ^ DM5 is interconnected with the subnet ^. The subnet 2 is composed of nodes DM7 and T Μ 3, which is taken by Ganshan. The subnet T2 is interconnected by the node ADM7 and the subnet R2. The method of the present invention can be clearly described. The network in Figure 3 is shown in a topological form. In Figure 4, each circle represents: fixed network nodes (each ADM and each TM), each node is linked to form a network

路拓樸。如常」 ---圖所示,一網路閘道網路元件所在的節 點,我們稱它為一個領 (此處為節點0)同時 P/(Leader Node),領導節點 資訊總匯隼的角ρ 動網路拓樸偵測的發起人及 例詳述於^的角色。本發明網路拓樸自動偵測方法將以此 [概念性的描述] 我們假設,網路中郎:古 (Bi-dirert · 1、 斤有的鏈結(Link)都是雙向的 以透過這一個來作ί =是說一個鏈結兩端的兩個節點可 有-個鏈結存在則=::息傳遞:如果此二節點之間 > 、 一郎點互為鄰居(Neighbor)。 在母一個節點上會有三個變數:pointer、type及 圖0p:二。對:整個網路,我們會以領導節點,例如第4 =的,點〇 ’為s (Root)建立一樹狀形式。每一個節點中 的Pointer變數值會指向與其相鄰的父節點,而type變數 值係用〃以表示該節點是屬於連接。也就是,在 一個郎點中’若type的值為Tree表示該節點位於某樹 (Tree)上,若type的值為Ring則表示該節點位於某環 (Ringj上。又,topology變數是為一資料結構,它記錄著 以該節點為根的子樹(Sub-tree)的網路拓樸。稍後,我們 會進一步介紹topology變數的資料結構表示法。 若每個節點可以自行決定它的type值,則訊息將可以 大幅的匯整成一簡單的訊息,如此可以大量的減少訊息的 傳遞畺。本發明特徵就是每一個節點具有自行決定其t y p ^ 值的能力。 本發明方法包含下列步驟··建立初始階段 (Initialization Phase)及建立資料匯集階段(DataRoad Top. "As usual" --- As shown in the figure, the node where a network gateway network element is located, we call it a collar (here, node 0) and P / (Leader Node), the angle of the leader node information pool ρ The initiator and example of the dynamic network topology detection are detailed in the role of ^. The method of automatic detection of the network topology of the present invention will be based on this [conceptual description] We assume that the network in the network: the ancient (Bi-dirert · 1.) Some links are two-way to pass through this One to make ί = means that two nodes at both ends of a link can have one link then = :: Interest transfer: If the two nodes are > and Ichiro points are neighbors to each other (neighbor). There will be three variables on the node: pointer, type, and graph 0p: 2. Right: For the entire network, we will use the leading node, such as 4 =, point 0 'for s (Root) to build a tree form. Each node The Pointer variable value in it will point to the parent node adjacent to it, and the type variable value is used to indicate that the node belongs to the connection. That is, in a round point 'if the value of type is Tree, the node is located in a tree (Tree), if the value of type is Ring, it means that the node is located on a certain ring (Ringj. Also, the topology variable is a data structure that records the network of the sub-tree with the node as the root. Lu Tuopu. Later, we will further introduce the data structure representation of topology variables If each node can determine its type value by itself, the message can be greatly aggregated into a simple message, which can greatly reduce the transmission of the message. The feature of the present invention is that each node has its own value of typ ^ The method of the present invention includes the following steps: establishing an Initialization Phase and establishing a Data Collection Phase.

Collect Phase),說明如下: 建立初始階段: 初始階段係由領導節點發起。首先,領導節點會對它 所有的鄰居(例如第4圖的節點}*。送出一個…丨了的訊 息。當一節點收到領導節點的INIT訊息後,該節點會將它 自身的pomter設定成父節點(parent n〇de)以接著發送該 來自該領導節點的INIT訊息給它相接的子節點。也就是, 將該來自該領導節點的⑺]^訊息一階一階傳遞(除了已送 出INIT訊息的節點外)直至末端為止。在此,我們假設每 一個節點對同一個鏈結只會送出一個j N丨τ訊息。當一個 節點第二次收到同一個節點送來的IN丨T訊息時,該 I N I T訊息將被遺棄。如此,由丨N丨τ訊息傳遞所構成的路 徑’將可以表示成以領導節點為根的樹狀分佈。 i料匯集階段: 資料匯集階段是以INIT及RET兩種訊息來判斷網 路系統的拓樸。判斷邏輯(decision alg〇rithm)描述如 下: (1)當一個節點它只有一個鄰居且收到j N丨τ訊· 當此種狀況成立時表示該節點位於一棵樹的葉端 (Leaf Node),則該節點設定它的pointe;r的值,並將… type的值設成Tree。它的變數topology中記錄著以:=匕 節點為根的子樹結構(目前此子樹只含一個節點)。 ^ 最後此節點送一個RET訊息到pointer所指的父# 點,該訊息中含type及topology的值。 節Collect Phase), as follows: Establish the initial phase: The initial phase is initiated by the leader node. First, the leader node sends a message to all its neighbors (such as the node in Figure 4) *. When a node receives the INIT message from the leader node, the node will set its own pomter to The parent node (parent node) then sends the INIT message from the leader node to the child nodes connected to it. That is, the 领导] ^ message from the leader node is passed in order (except that it has been sent out). INIT message outside the node) to the end. Here, we assume that each node will only send a j N 丨 τ message to the same link. When a node receives the IN 丨 T from the same node for the second time When the message is transmitted, the INIT message will be discarded. In this way, the path formed by the 丨 N 丨 τ message transmission can be expressed as a tree-like distribution with the root node as the root. RET two kinds of messages to determine the topology of the network system. The decision logic (decision algorithm) is described as follows: (1) When a node has only one neighbor and receives j N 丨 τ messages, it means when this condition is established A node is located at the leaf end of a tree (Leaf Node), then the node sets its value of pointe; r, and sets the value of type to Tree. Its variable topology records the root with: = dagger node Sub-tree structure (currently this sub-tree contains only one node). ^ Finally, this node sends a RET message to the parent # point pointed to by the pointer, which contains the type and topology values. Section

515169 r——--——.515169 r -------.

Oi l年如个多上案竑90104820_ 午 a r τ π ζ·.· -------^-1 修正- 明說MD! 個INIT訊息 當此種狀況發生時表示該節點位於一個環(R i n g) 上。此時,該節點將從節點j送來的IN丨T訊息當成一個 RET訊息’且該RET訊息所中帶著的變數type及 topology 的值分別為Ring及節點j。 當該節點收到所有的鄰居(除了第一個送來I N丨T訊 息的節點)送來的RET訊息後,則先做以下兩種判斷及 處理: (a) 所有RET訊息中type的值為Ring的訊息 數目為偶數’則該節點設它的type的值為Tree並依所 收到的RET中的topology的資訊更新它的t〇p〇l〇gy 的值,如此topology 記錄著子樹的拓樸。 (b) 所有RET訊息中type的值為Ring的訊息 數目為奇數’則該節點設它的tyPe的值為Ring並依所 收到的RET中的topology的資訊更新它的t〇p〇1〇gy 的值,如此t〇p〇l〇gy 記錄著子樹的拓樸。 最後此節點送一個RET訊息到其p〇inta所指的節點, 该息中含t y p e及topology 的值。 (3 )田(1 )與(2 )的情況均不滿足,且該節點收到所有 的鄰居(除了送來INIT訊息的節點)送來的RET訊 息,則該節點做下列的兩種判斷及處理: U)所有RET訊息中type的值為Ring的訊息 數目為偶數,則該節點設它的type的值為Tree並依所 收到的RET中的topology的資訊更新它的t〇p〇1〇gy 的值,如此topology記錄著子樹的拓樸。Oi has been on the record for many years 竑 90104820_ ar τ π ζ ·. · ------- ^-1 Correction-Explain that MD! An INIT message indicates that the node is in a ring (R ing). At this time, the node treats the IN 丨 T message sent from node j as a RET message ', and the values of the variable type and topology carried in the RET message are Ring and node j, respectively. When the node receives the RET message from all the neighbors (except the first node that sent IN 丨 T message), it first makes the following two judgments and processes: (a) The value of type in all RET messages is The number of Ring messages is even 'then the node sets its type to Tree and updates its value of t〇p〇l〇gy according to the topology information received in RET, so the topology records the subtree Topology. (b) In all RET messages, the type is Ring and the number of messages is an odd number. Then the node sets its tyPe to Ring and updates its t〇p〇1 according to the received topology information in RET. The value of gy, so t〇p〇l〇gy records the topology of the subtree. Finally, this node sends a RET message to the node pointed to by pointa, which contains the values of t y p e and topology. (3) If the conditions of Tian (1) and (2) are not satisfied, and the node receives the RET message from all neighbors (except the node that sent the INIT message), the node makes the following two judgments and Processing: U) In all RET messages, the type is Ring and the number of messages is even. Then the node sets its type to Tree and updates its t〇p〇1 according to the received topology information in RET. 〇gy, so topology records the topology of the subtree.

515169 修巧 东 Η 日:<、號 90104820 曰 修正 1^ ^ I Έ. >^3ΜΜ^Τ^ (b)所有RET訊息中type的值為Ring的訊息 數目為奇數’則該節點設它的type的值為Ring並依所 收到的RET中的topology的資訊更新它的 的值,如此topology 記錄著子樹的拓樸。 最後此節點送一個RET訊息到p〇inte:r所指的節 ,該訊息中含type及top〇l〇gy的值。 最後,當領導節點也完成上述的步驟之後,領導節點 topology 就包含所有網路的拓樸。 本發明分散式網路拓樸自動偵測方法將使用上述訊息 驅動模式的演算法來表示,其詳細說明如下: rn Μ ΓVariable): 每一個節點上有三個變數: (1) pointer: 這一個變數的儐掂内 J值扣向與其相鄰的父節 點。 (2) type:這變數的可能值為Tree式ρ· . 的值表示該節點位於某樹或某環(Ring)上。g (3) topology:為一個資料結構, 广 為根的子樹(Sub-tree)的網路拓樸。σ 、条者以該即點 訊息(Message): (1 ) I N I T :由树根往樹的葉節點散佈。 (2) RET:由樹的葉節點往樹根來匯集。 訊息帶著發出訊息者的type及t〇p〇1〇gy 個β T (3) 訊息轉換:當Α節點向β節% +值。 訊息後,若Α也收到Β送來的ΙΝΠ 出一個ΙΝΙΤ Β所發的ΙΝΙΤ訊息認為一個°心’則Α會將 點 的 515169515169 The day of Xiuqiao East: <, No. 90104820, said to amend 1 ^ ^ I Έ. ≫ ^ 3ΜΜ ^ Τ ^ (b) in all RET messages, the number of Ring values is odd, then the node sets it The value of type is Ring and its value is updated according to the topology information received in RET, so the topology records the topology of the subtree. Finally, this node sends a RET message to the section indicated by pointe: r, which contains the values of type and top〇gy. Finally, after the leader node also completes the above steps, the leader node topology contains the topology of all networks. The decentralized network topology automatic detection method of the present invention will be expressed using the above message-driven algorithm. The detailed description is as follows: rn Μ ΓVariable): There are three variables on each node: (1) pointer: this one variable The J value of 扣 is deducted to the parent node adjacent to it. (2) type: The possible value of this variable is the Tree formula ρ ·. The value indicates that the node is located on a tree or a ring. g (3) topology: a data structure, a network topology of a widely rooted sub-tree. σ and the message point (Message): (1) I N I T: Scatter from the tree root to the leaf nodes of the tree. (2) RET: From the leaf nodes of the tree to the root of the tree. The message carries the type of the sender and t0p0gyy β T (3) message conversion: when the A node goes to the β node% + value. After the message, if Α also receives INI from B and sends out an ΙΝΤ message from ΙΝΤ B, it considers a heart ’, then Α will point 515169

RET々訊心所帶的type及t〇p〇1〇gy的值分別為叫及 j1] (Decision Algorithm)· 我們以訊息驅動的方式來描述我們的演算法。除了領 導節點在初始階段會自動執行外,其它的節點在收到任何 訊息時都會執行所對應的程式片段。 當領導節點要開始偵測網路拓樸時,它將執行下列的程 式。 程式:The values of the type and t〇p〇1〇gy that RET Xunxin brings are called j1] (Decision Algorithm). We describe our algorithm in a message-driven manner. Except for the leading node, which is automatically executed in the initial stage, other nodes will execute the corresponding program fragments when they receive any message. When the leader node starts to detect the network topology, it will perform the following procedure. Program:

Initiate : BInitiate: B

The leader node iThe leader node i

For each neighbor j 〇f n〇de i, send INIT to j. } 當任一個節點收到一訊息時它將執行下列的處理程 序。For each neighbor j 〇f n〇de i, send INIT to j.} When any node receives a message, it will execute the following processing procedures.

When node i receives a message: if node i receives INIT from node j { pointer : = j ; if node i has only one neighbor j { type := Tree ; update topology according to the values ofWhen node i receives a message: if node i receives INIT from node j {pointer: = j; if node i has only one neighbor j {type: = Tree; update topology according to the values of

第11頁 515169 案號 90104820 年月曰 修正 —五、發明說明(9) topologies in RETs; send RET (type, topology) to node j. } elsePage 11 515169 Case No. 90104820 Revised — V. Description of Invention (9) topologies in RETs; send RET (type, topology) to node j.} Else

For each neighbor k (k 1 j) of node i, send INIT to node k. } else if node i receives INIT from node k, but it has received INIT from node j { node i translates INIT from node k as RETCRing, k). if node i does not send INIT to node k node i sends INIT to node k. } if node i receives all RET (type, topology) from all neighbors j (j 1 pointer) if number of RET messages containing type equal to Ring is even type := Tree else type Ring update topology; send RET(type, topology) to pointer.For each neighbor k (k 1 j) of node i, send INIT to node k.} Else if node i receives INIT from node k, but it has received INIT from node j {node i translates INIT from node k as RETCRing, k ). if node i does not send INIT to node k node i sends INIT to node k.} if node i receives all RET (type, topology) from all neighbors j (j 1 pointer) if number of RET messages containing type equal to Ring is even type: = Tree else type Ring update topology; send RET (type, topology) to pointer.

第12頁 515169Page 515 169

修正 [實施例] 參考第5圖,係一利用上述程式執行本發明方法的實 施例。本實施例係根據第4圖的網路拓樸而建立的初始階 段。 ' 如第5圖所示,節點〇為領導節點。於初始階段,首 先,節點〇對它的兩個鄰居節點i及2送出iNIT訊息。節 點1收到I N I T訊息後就對節點3送出I n IT訊息。節點2 收到I N I T訊息後也對節點3送出I n IT訊息。假設,節 點1的I N IT訊息先到節點3,則節點3對節點2、4及5送 出I N IT訊息。如此,節點2及3會收到彼此發出的I N ITT 訊息,它們會將此I N I T訊息轉換成環狀代表符號 RET(Ring, α ) ( α表示發出INIT訊息的節點)。節點4 收到I Ν I Τ訊息後會對節點6、7及8送出I Ν IΤ訊息。節 點5收到I Ν IΤ訊息後對節點6及9送出I Ν IΤ訊息。假 設,節點4的I Ν IΤ訊息先到節點6,則節點6也對節點5送 出ί Ν IΤ訊息。如此,節點5及6會收到彼此發出的I Ν IΤ 訊息,它們也會將此ΙΝΙΤ訊息轉換成符號RET(Ring,α) (α表示發出I Ν I Τ訊息的節點)。 參考第6圖,係一第4圖中之資料匯集階段。如第6圖 所示,在此階段中,節點2及6會對它們的父節點送出RET 訊息,其中變數type 的值為Ring。節點7、8及9為葉節點 (子節點),它們會先對它們的父節點發送RET訊息,其中 變數type的值為Tree。節點4收到節點6、7及8的RET訊息 後,因為變數type的值攜帶的RET訊息為Ring的數目為奇Modification [Embodiment] Referring to Fig. 5, it is an embodiment for executing the method of the present invention by using the above program. This embodiment is an initial stage established based on the network topology of FIG. 'As shown in Figure 5, node 0 is the leader node. In the initial stage, node 0 sends iNIT messages to its two neighbor nodes i and 2. After receiving the I N IT message, node 1 sends an I n IT message to node 3. After receiving the I N IT message, node 2 also sends an I n IT message to node 3. Assume that the I N IT message from node 1 arrives at node 3 first, then node 3 sends I N IT messages to nodes 2, 4, and 5. In this way, nodes 2 and 3 will receive I N ITT messages sent from each other, and they will convert this I N I T message into a ring representative symbol RET (Ring, α) (where α is the node that sent the INIT message). After receiving the I Ν Τ message, node 4 sends an I Ν Τ message to nodes 6, 7, and 8. Node 5 sends an I N ITT message to nodes 6 and 9 after receiving the I N ITT message. Assume that the I N ITT message of node 4 arrives at node 6 first, and then node 6 also sends the I NIT message to node 5. In this way, nodes 5 and 6 will receive the I Ν Τ message from each other, and they will also convert this ΙΝΤ message into the symbol RET (Ring, α) (α represents the node that sends the ΙΝ Τ message). Referring to Fig. 6, it is a data collection stage in Fig. 4. As shown in Figure 6, at this stage, nodes 2 and 6 send RET messages to their parent nodes, where the value of the variable type is Ring. Nodes 7, 8 and 9 are leaf nodes (child nodes). They will first send RET messages to their parent nodes, where the value of the variable type is Tree. After node 4 receives the RET messages from nodes 6, 7, and 8, the number of rings is odd because the RET message carried by the value of variable type is odd

第13頁 .— 5\umPage 13 .— 5 \ um

90104820 五、HWfFTH) —年月日___ 數個,所以,節點4將它的變數type設為Ring並繼續對節 點3送出RET訊息。節點5收到節點9的RET訊息後發現變 數type為Ring的RET訊息也是奇數個(注意,節點6送來 的INIT訊息被轉成變數type為Ring的RET訊息),所 以,節點5也將它的type設成Ring並對節點3送出RET訊 息。節點3匯集節點2、4及5的訊息後也將它的type設成 Ring (注意’節點2送來的INIT訊息被轉成以…為以吖的 RET訊息)’並對節點1送出ret訊息。節點1收到ret後也 將它的type設成Ring並對節點〇送出RET訊息。最後,節90104820 V. HWfFTH) — year, month, and day ___, so node 4 sets its variable type to Ring and continues to send RET message to node 3. After receiving the RET message from node 9, node 5 finds that the RET message with variable type Ring is also an odd number (note that the INIT message sent by node 6 is converted into a RET message with variable type Ring), so node 5 also converts it Set the type to Ring and send a RET message to node 3. Node 3 collects the information of nodes 2, 4 and 5 and sets its type to Ring (note that the INIT message sent by node 2 is converted to a RET message with ...) and sends a ret message to node 1. . After receiving the ret, node 1 also sets its type to Ring and sends a RET message to node 0. Finally, the section

點〇收到偶數個type為Ring的RET訊息並因此獲得完整 的網路拓樸。Click 0 to receive an even number of RET messages of type Ring and thus obtain a complete network topology.

參考第7圖以說明本發明方法如何節省訊息的傳遞 ϊ。在第7圖中,以第5及6圖的一個從樹根(r〇〇t)到葉 節點(leaf node)的分支(branch)(節點〇—節點! 一節點3 節點4-節點8)為例。如第7圖所示,將本發明方法在這一 個分支中的訊息傳遞與採用傳統集中控制計算的方法 的訊息傳遞量作比較。由於在傳統的集中方弋中是士 (r〇〇1集中控制及計算,每一個節點都須;其;= 傳遞訊息(如下圖以虛線表示的訊息),目此越靠近梏 ”點::所需:遞的訊息越多。當我們考慮 : 路口傳統方式就會因為越靠近樹根節點的訊息量 而使::過於複雜導致樹根節·?作出判斷錯誤的情形發」 ΐ n自:本發:ί用分散計算方式可使各節點只有i [拓樸的資料結構表示法]¥致判斷錯誤的問題。Referring to FIG. 7 to explain how the method of the present invention saves message transmission. In Figure 7, a branch from tree root (leaf node) to leaf node (node 0-node!-Node 3-node 4-node 8) is shown in Figures 5 and 6. As an example. As shown in Fig. 7, the amount of information transmitted by the method of the present invention in this branch is compared with the amount of information transmitted by the traditional centralized control calculation method. As a traditional centralized party, it is a shi (r001 centralized control and calculation, each node must be; its; = the message (the message shown by the dashed line in the figure below), so the closer to the "" point: Needed: The more messages you send. When we consider: The traditional way of intersections will be caused by the amount of information that is closer to the root node of the tree :: Too complicated to cause the root node of the tree to make a judgment error. Ϊ́ n Since: This issue: The use of decentralized computing can make each node only i [topological data structure representation] ¥ cause the problem of wrong judgment.

年月曰修正 曰 修正 補充j案號咖觀 五、發明說明(12) _ 本發明進一步提出一個簡單的方法 樸。這一個方法係使用簡單的字串來二、、,路的拓 網路=,而不需用到任何複雜的;=構個節點它子 法。二 :、8c及⑺圖,係—拓樸的資料-構# -^;(t:e:;irr:CrW 5 1份,則使用R{x,: 網路中_的節點如果為環的 來表示節…子節點為a Γ:Χ(Ί C..) 8a圖所示,環可用R{ c w ^ 。因此’如第 示,樹可以用T{r(x(a,h),夂^主來表示。如第8b圖所 當—個環掛在一個樹,’7)}來表不。如第8c圖所示, T{r(R1(z),下=.,可以下面方式表示之: 又,如第8d圖所示,^ ’ R3Ux, a,b,c}. 式表示之: 果树疋掛在環下時,則可以下面方 R { r,T1 雖然本發明Tlib(x,y)}· 用以限定本發明,你:;交佳實施例揭露如上,然其並非 :月之精神及範圍内,:;::匕技術之人士,在不脫離本發 護範圍當視後附之申二^ ^動與潤錦,因此本發明之保 巧專利乾圍所界定者為準。 第15頁 515169 9Ϊ !.j il 右_號 90104j20 曰 修正 圖式簡單說明 第la圖顯示一樹狀連接(tree connection) 第lb圖顯示一點對點連接(dot connection) 第lc圖顯示一星狀連接(star connection) 第2圖顯示一環狀連接(ring connection) 第3圖顯示一本發明系統架構圖 第4圖顯示第3圖之系統拓樸圖 第5圖係根據第4圖之初始階段建立圖 第6圖係根據第4圖之資料匯集階段建立圖 第7圖係一訊息量比較 第8a圖係一樹的資料結構表示法 第8b圖係一環的資料結構表示法 第8c圖係一樹及環混合的資料結構表示法 第8 d圖係另一樹及環混合的資料結構表示法 主要元件符號說明:Year, month, day, day, day, day, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month, month This method uses a simple string to expand the network of two, two, and three paths, without the need to use any complex; = to construct a node and other methods. 2: 8, 8c and ⑺ graphs, Department of Topological Data-Structure #-^; (t: e :; irr: CrW 5 1 copy, then use R {x ,: if the _ node in the network is a ring To represent the section ... the child node is a Γ: × (Ί C ..) As shown in the graph of 8a, the ring can use R {cw ^. Therefore 'as shown, the tree can use T {r (x (a, h), 夂^ Mainly expressed. As shown in Figure 8b-a ring is hung on a tree, '7)} to represent. As shown in Figure 8c, T {r (R1 (z), down =., Can be the following way Representing: Also, as shown in FIG. 8d, ^ 'R3Ux, a, b, c}. The formula is expressed as follows: When the fruit tree is hung under the ring, the following R {r, T1 can be expressed. Although the present invention Tlib (x , Y)} · Used to limit the present invention, you: The Jiao Jia embodiment is disclosed as above, but it is not within the spirit and scope of the month, and the person with the dagger technique is deemed to be within the scope of this hair care The attached application II ^ ^ action and run Jin, so the definition of the Baoqiao patent of the present invention shall prevail. Page 15 515169 9Ϊ! .J il Right _ No. 90104j20 Modified diagram briefly explained A tree connection Figure lb shows a point-to-point connection (dot connection) Figure lc shows a star connection Figure 2 shows a ring connection Figure 3 shows a system architecture diagram of the present invention Figure 4 shows the system topology diagram of Figure 3 Figure 5 The figure is based on the initial stage of Figure 4. Figure 6 is based on the data collection stage of Figure 4. Figure 7 is a message comparison. Figure 8a is a data structure representation of a tree. Figure 8b is a circle of data Structure Representation Figure 8c is a tree and ring mixed data structure representation Figure 8d is another tree and ring mixed data structure representation. Explanation of the main component symbols:

節點 TM 、 ADM 鏈結(Link) STM-N、STM-N1、STM-N2、STM-N3、STM-N4 STM-N5 、STM-N6 、STM-N7 、STM-N8 環狀子網路R1、R2 樹狀子網路T1、T 2 節點 ADM1 、 ADM2 、ADM3 、 ADM4 ADM3 、ADM5 、 ADM6 、 ADM7 節點 1、2、3、4 、5、6、7、8 1 N 1 T 樹根往樹的葉節點散佈 RET 樹的葉節點往樹根匯集Node TM, ADM Link STM-N, STM-N1, STM-N2, STM-N3, STM-N4 STM-N5, STM-N6, STM-N7, STM-N8 ring subnet R1, R2 Tree Subnet T1, T 2 Nodes ADM1, ADM2, ADM3, ADM4 ADM3, ADM5, ADM6, ADM7 Nodes 1, 2, 3, 4, 5, 6, 7, 8 1 N 1 T Tree root towards the leaves of the tree Nodes intersperse the leaf nodes of the RET tree toward the root of the tree

第16頁Page 16

Claims (1)

51-51-69-———^, r p f, * : .-他.-, 91.U 肩 ' —r 案號 QmiUS9(l _年月曰___ 六、申請專利範圍 1 · 一種分散式網路拓樸自動偵測方法,包括下列步 驟: 建立一第一階段,以產生一以領導節點(leader node)為根(!^0〇1:)的樹狀訊息傳遞架構; 利用該樹狀訊息傳遞架構來建立一第二階段,以使該 树狀訊息傳遞架構的領導節點(1 e a d e r η 〇 d e)獲得所有其 它節點的回應訊息;及 根據所有的回應訊息以決定一網路拓樸。51-51-69 -———— ^, rpf, *: .- 他 .-, 91.U Shoulder '—r Case No. QmiUS9 (l _year month ______ 6. Application scope 1 · A decentralized network The Lutuopu automatic detection method includes the following steps: Establishing a first stage to generate a tree-like message transmission structure with a leader node as a root (! ^ 0〇1 :); using the tree-like message The transfer structure is used to establish a second stage, so that the leading node (1 eader η) of the tree-like message transfer structure obtains the response messages of all other nodes; and determines a network topology based on all the response messages. 2 ·如申請專利範圍第1項之自動偵測方法,其中,該 領導節點係一閘道(g a t e w a y )網路元件所在的節點。 3 ·如申請專利範圍第1項之自動偵測方法,其中,該 網路拓樸包括一樹狀型態及一環狀型態。 4·如申請專利範圍第3項之自動偵測方法,其中,該 樹狀型態進一步包括一點對點連接型態及一星狀型態。 5 ·如申請專利範圍第1項之自動偵測方法,進一步在 所產生的樹狀訊息傳遞架構中,決定複數個子樹,每一 樹具有包含一根(r〇〇t)節點的複數個節點,每一節點 一指標(pointer)變數、一型態(type)變數及一拓樸 (topology)變數來控制訊息的傳遞與回應。 、 6.如申清專利範圍第5項之自動搞測 · 指標(P〇1 = er)變數内含值指向鄰接該指標變數;斤 的上一層節點以指示其訊息往來節點的位置。 P 7·如申請專利範圍第5項之自動偵測方法,其 上一層節點是該指標變數所在節點的父節點。、2. The automatic detection method according to item 1 of the scope of patent application, wherein the leading node is a node where a gateway (g a t e w a y) network element is located. 3. The automatic detection method according to item 1 of the scope of patent application, wherein the network topology includes a tree type and a ring type. 4. The automatic detection method according to item 3 of the patent application scope, wherein the tree-like pattern further includes a point-to-point connection pattern and a star-shaped pattern. 5 · According to the automatic detection method of the first patent application scope, further determining a plurality of sub-trees in the generated tree-like message transmission structure, each tree having a plurality of nodes including one (rOOt) node, Each node has a pointer variable, a type variable, and a topology variable to control the transmission and response of the message. 6. Automatic test as described in item 5 of the scope of patent application. The value of the index (P0 = er) variable points to the adjacent variable; the upper node of the index indicates the location of the node where the message is transmitted. P7. If the automatic detection method of item 5 of the patent application scope, the node above it is the parent node of the node where the indicator variable is located. , 該 點 該The point the 第17頁 六琴初範圍 8. 申言青專— 型態(type)變數内,圍=5 一項之自動偵測方法,其中,該 路拓樸。 含值指示包括該型態變數所在節點的網 拓樸變數是一記圍第5項之自動偵測方法,其中,該 子樹(subtree)的^著以該拓樸變數所在節點為根彳1'001^的 1。·如申請專广料結構。 立該第二階段之 員之自動偵測方法,其中,建 錄一子樹的網路扣 v包括下列步驟:決定並記 内含值來傳送包括兮> ^據在該子樹根節點中的指標變數 U如申往衷括己錄的回應訊息至相對應的父節點。 決定並記H範圍第10項之自動偵測方法,其中, 疋亚圮錄該子樹的網路拓 斷:若根節點接收到的型態變輯作判 的數目是為偶數個時,則表干勺不為裱狀^11^) 為樹狀;及若根節點接收到的;網;拓樸 路拓樸為環狀。 則表不包括該節點的子樹網 如申請專”圍第10項之自動偵測方法 , =記錄該子樹的網路拓樸之步驟係使 樸變數作記錄。 .W拓Page 17 Early Scope of Liuqin 8. Acknowledgement Youth Special — An automatic detection method of type = 5 in the type variable, among which the road is topological. The value indicating that the network topology variable that includes the node where the type variable is located is an automatic detection method around item 5, where the subtree (subtree) is based on the node where the topology variable is located. 1 '001 ^ 1. · If you apply for a wide-broadcast structure. Establishing the automatic detection method for the members of the second stage, in which recording and recording the network button of a subtree includes the following steps: determining and recording the embedded value to transmit and include; > The index variable U, as indicated, includes the recorded response message to the corresponding parent node. Decide and record the automatic detection method of the 10th item in the H range, in which 疋 亚 圮 records the network extension of the subtree: if the number of type changes received by the root node is an even number, then The surface dry spoon is not mounted ^ 11 ^) is tree-like; and if received by the root node; net; The table does not include the sub-tree network of this node. If you apply for the automatic detection method of item 10, = The step of recording the network topology of the sub-tree is to record the Park variable.
TW90104820A 2001-03-02 2001-03-02 Automatically distributed network topology discovery method TW515169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW90104820A TW515169B (en) 2001-03-02 2001-03-02 Automatically distributed network topology discovery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW90104820A TW515169B (en) 2001-03-02 2001-03-02 Automatically distributed network topology discovery method

Publications (1)

Publication Number Publication Date
TW515169B true TW515169B (en) 2002-12-21

Family

ID=27786813

Family Applications (1)

Application Number Title Priority Date Filing Date
TW90104820A TW515169B (en) 2001-03-02 2001-03-02 Automatically distributed network topology discovery method

Country Status (1)

Country Link
TW (1) TW515169B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100361465C (en) * 2003-08-20 2008-01-09 烽火通信科技股份有限公司 Method of automatic topological discovery of broad band digital user cut-in concentrator cascade group network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100361465C (en) * 2003-08-20 2008-01-09 烽火通信科技股份有限公司 Method of automatic topological discovery of broad band digital user cut-in concentrator cascade group network

Similar Documents

Publication Publication Date Title
CN1890943B (en) Method and architecture for optical networking between server and storage area networks
US10558542B1 (en) Intelligent device role discovery
US10033623B2 (en) Multithreaded system and method for establishing network connections
US9225417B2 (en) Managing alternate site switching in an optical communication system
JP4833292B2 (en) Ethernet GMPLS control
US8315188B2 (en) Topology database synchronization
CN106851442B (en) Light interconnection network system and communication means in a kind of supercomputer
CN109417508A (en) The connection and access of hierarchical path computing unit (PCE)
US10523553B2 (en) Implementing an E-LAN between multi-nodes utilizing a transport network controller
CN108966053A (en) A kind of cross-domain route computing method of multiple-domain network dynamic domain sequence and device
WO2015070435A1 (en) Service deployment method, apparatus and network device
WO2012119372A1 (en) Message processing method, device and system
JP2005507575A (en) Telecommunications network with automatic topology detection and method for this detection
CN101888573B (en) Method and system for automatically discovering resource state between adjacent nodes
EP2489154A1 (en) Method and device for processing data in a network domain
CN106302351A (en) Collect to access and control the method for list, Apparatus and system
CN105376197B (en) The method and system of implementation level network abstraction
WO2009026788A1 (en) Method, device and system for establishing a communication protocol
CN100579025C (en) Route information maintaining method of automatic exchange optical network
WO2016004752A1 (en) Method and device for determining end-to-end routing
TW515169B (en) Automatically distributed network topology discovery method
WO2012003740A1 (en) Path computation method and path computation element in optical network
CN101147348A (en) Automatic exchange optical network layered route calculation and connection establishing method
WO2022257854A1 (en) Message publishing method and apparatus, and forwarding path processing method and apparatus
CN112087321B (en) TAPI layered topology design method, medium, device and service creation method

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees