TWI646803B - Heterogeneous software defined network controller and management device and method thereof - Google Patents

Heterogeneous software defined network controller and management device and method thereof Download PDF

Info

Publication number
TWI646803B
TWI646803B TW106145831A TW106145831A TWI646803B TW I646803 B TWI646803 B TW I646803B TW 106145831 A TW106145831 A TW 106145831A TW 106145831 A TW106145831 A TW 106145831A TW I646803 B TWI646803 B TW I646803B
Authority
TW
Taiwan
Prior art keywords
link layer
discovery protocol
packet format
layer discovery
protocol packet
Prior art date
Application number
TW106145831A
Other languages
Chinese (zh)
Other versions
TW201929493A (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 TW106145831A priority Critical patent/TWI646803B/en
Application granted granted Critical
Publication of TWI646803B publication Critical patent/TWI646803B/en
Publication of TW201929493A publication Critical patent/TW201929493A/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Abstract

本發明的主要目的係為解決使用異質軟體定義網路控制器進行網域拓樸的發現時遭遇的困難,而設計出一種具有標準化的統一格式且能被網域其它品牌的控制器所辨識的鏈路層發現協定格式及其封包,因此可達到異質網域之拓樸全面偵測。此外,透過使用彈性的鏈路層發現協定格式的解析方式,本發明的管理裝置可兼容商用SDN控制器而達到多元方案的整合性。The main purpose of the present invention is to solve the difficulties encountered in using the heterogeneous software to define the network controller for the discovery of the network topology, and to design a standardized unified format that can be recognized by other brands of the network domain. The link layer discovers the protocol format and its packets, so that the topology of the heterogeneous domain can be fully detected. In addition, by using an elastic link layer discovery protocol format resolution method, the management device of the present invention can be compatible with a commercial SDN controller to achieve integration of multiple schemes.

Description

異質軟體定義網路控制器及其管理裝置和方法Heterogeneous software definition network controller and management device and method thereof

本發明是有關於一種軟體定義網路控制器,且特別是有關於一種異質軟體定義網路控制器及其管理裝置和方法。The present invention relates to a software-defined network controller, and more particularly to a heterogeneous software-defined network controller and a management apparatus and method thereof.

根據軟體定義網路(software defined networking,SDN)的技術演進,現有的SDN控制器大多採用自定義的鏈路層發現協定(link layer discovery protocol,LLDP)封包格式來進行所納管的SDN實體機交換器之拓樸找尋。因此,當網域較為複雜,且同時具備多個異質SDN控制器管控網路環境時,將會發生因為LLDP封包格式不同而導致無法偵測邊界網域拓樸資料的議題。舉例來說:Open Daylight與RUY兩大SDN開源控制器所使用的LLDP封包格式不同,其中Open Daylight控制器的LLDP Chassis ID TLV之Subtype使用MAC Address 4來表示每一台SDN實體交換器的唯一代表號,而RYU控制器使用Chassis ID TLV之Subtype的Locally assigned 7來代表,並使用自行規劃的ID號碼為調入的值。According to the technology evolution of software defined networking (SDN), most existing SDN controllers use a custom link layer discovery protocol (LLDP) packet format to perform the SDN physical machine. The topology of the exchanger is looking for. Therefore, when the domain is complex and has multiple heterogeneous SDN controllers to control the network environment, the problem that the boundary domain topology cannot be detected due to different LLDP packet formats will occur. For example: Open Daylight and RUY two SDN open source controllers use different LLDP packet formats. The Open Daylight controller's LLDP Chassis ID TLV Subtype uses MAC Address 4 to represent the unique representation of each SDN entity switch. No., and the RYU controller is represented by the Locally assigned 7 of the Subtype of the Chassis ID TLV, and uses the self-planned ID number as the value to be called.

上述的現象導致Open Daylight會丟棄RUY送來的LLDP封包,進而無法得知底下納管之邊界SDN實體交換器與RYU所納管的SDN實體交換器界接,形成各自為政的管理模式,因而無法取得全面的網域拓樸。此外,當引進商用的SDN控制器後,亦會有相同的議題產生,亦即,無法有效地融合管理多種異質SDN網路控制器。The above phenomenon causes Open Daylight to discard the LLDP packets sent by RUY, and thus it is impossible to know that the border SDN entity switch of the bottom controller and the SDN entity switch of the RYU are connected, forming a separate management mode, and thus cannot be obtained. Comprehensive domain topology. In addition, when the commercial SDN controller is introduced, the same problem arises, that is, the heterogeneous SDN network controller cannot be effectively integrated and managed.

現有的SDN網路架構發展導向,大多是採用多種SDN控制器使用的情境。舉例來說,由於SDN控制器有管控的限制與功能的差異,故佈建上通常是單一機房內使用一種控制器,而出口外或是其他機房採用異質的SDN控制器。故此議題係為能良好管控異質SDN控制器與SDN網路的關鍵議題。The existing SDN network architecture development orientation is mostly the use of multiple SDN controllers. For example, because the SDN controller has the limitation of control and function, it is usually used in a single equipment room to use one controller, and the heterogeneous SDN controller is used outside the exit or other equipment room. Therefore, this issue is a key issue for good management of heterogeneous SDN controllers and SDN networks.

本發明提供一種管理異質軟體定義網路(software-defined networking,SDN)控制器的方法,包括:響應於接收軟體定義網路控制器的註冊請求,定義一個鏈路層發現協定(link layer discovery protocol,LLDP)封包格式。傳送該鏈路層發現協定封包格式的範本至該軟體定義網路控制器。以及接收來自該軟體定義網路控制器的訊息來更新網域拓樸。The present invention provides a method for managing a hetero-software-defined networking (SDN) controller, comprising: defining a link layer discovery protocol in response to receiving a registration request of a software-defined network controller , LLDP) packet format. Transmitting a template of the link layer discovery protocol packet format to the software defined network controller. And receiving a message from the software defined network controller to update the domain topology.

本發明提供一種在異質軟體定義網路管理網域拓樸的方法,適用於軟體定義網路控制器,該方法包括:傳送註冊請求。響應於傳送該註冊請求,接收新定義之鏈路層發現協定封包格式的範本。以及基於該鏈路層發現協定封包格式來管理網域拓樸。The present invention provides a method for defining a network management domain topology in a heterogeneous software, suitable for a software-defined network controller, the method comprising: transmitting a registration request. In response to transmitting the registration request, a template for the newly defined link layer discovery protocol packet format is received. And managing the domain topology based on the link layer discovery protocol packet format.

本發明提供一種管理異質軟體定義網路控制器的裝置,包括:收發器,傳送或接收資料。儲存單元,記錄多個模組。以及處理單元,耦接該儲存單元,且存取並執行該儲存單元所儲存的該些模組,該些模組包括:集中式鏈路層發現協定重組定義模組以及異質軟體定義網路控制器之網域拓樸偵測模組。集中式鏈路層發現協定重組定義模組包括:鏈路層發現協定註冊模組,其透過該收發器接收軟體定義網路控制器的註冊請求、基於該註冊請求定義一個鏈路層發現協定(link layer discovery protocol,LLDP)封包格式以及傳送該鏈路層發現協定封包格式的範本至該軟體定義網路控制器。異質軟體定義網路控制器之網域拓樸偵測模組包括:集中式異質網域拓樸管理模組,接收來自該軟體定義網路控制器的訊息來更新網域拓樸。The present invention provides an apparatus for managing a heterogeneous software-defined network controller, comprising: a transceiver, transmitting or receiving data. A storage unit that records multiple modules. And the processing unit is coupled to the storage unit, and accesses and executes the modules stored by the storage unit, where the modules include: a centralized link layer discovery protocol reorganization definition module and a heterogeneous software definition network control The domain topology detection module. The centralized link layer discovery protocol reorganization definition module includes: a link layer discovery protocol registration module, which receives a registration request of a software definition network controller through the transceiver, and defines a link layer discovery protocol based on the registration request ( A link layer discovery protocol (LLDP) packet format and a template for transmitting the link layer discovery protocol packet format to the software defined network controller. The domain topology detection module of the heterogeneous software definition network controller includes: a centralized heterogeneous domain topology management module, which receives messages from the software defined network controller to update the domain topology.

本發明提供一種軟體定義網路控制器,包括:收發器,傳送註冊請求。以及處理器,經配置以執行:響應於傳送該註冊請求,透過該收發器接收新定義之鏈路層發現協定封包格式的範本。以及基於該鏈路層發現協定封包格式來管理網域拓樸。The invention provides a software defined network controller, comprising: a transceiver, transmitting a registration request. And a processor configured to: receive, in response to transmitting the registration request, a template of the newly defined link layer discovery protocol packet format through the transceiver. And managing the domain topology based on the link layer discovery protocol packet format.

基於上述,本發明提出一種異質軟體定義網路控制器及其管理裝置和方法,可自動地偵測出全網域拓樸。集中式鏈路層發現協定重組定義模組連結到各個SDN控制器的拓樸收集應用程式,用來定義並彈性地發送鏈路層發現協定封包格式。異質軟體定義網路控制器之網域拓樸偵測模組利用集中式異質網域拓樸管理模組觸發各控制器發送LLDP封包的事件,並進行異質網域拓樸資料的整合。Based on the above, the present invention proposes a heterogeneous software definition network controller and a management apparatus and method thereof, which can automatically detect a full domain topology. The centralized link layer discovery protocol reassembly definition module is linked to the topology collection application of each SDN controller to define and flexibly transmit the link layer discovery protocol packet format. The domain topology detection module of the heterogeneous software definition network controller uses the centralized heterogeneous domain topology management module to trigger the events of each controller to send LLDP packets, and integrates the heterogeneous domain topology data.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.

圖1是依照本發明的實施例的一種管理異質SDN控制器的裝置10的示意圖。裝置10包括但不限於:儲存單元100、處理器130以及收發器140。儲存單元100可以係任何型態的固定或可移動隨機存取記憶體(RAM)、唯讀記憶體(ROM)、快閃記憶體(flash memory)、傳統硬碟(hard disk drive)、固態硬碟(solid-state drive)或類似元件或上述元件的組合,並用以記錄多個模組,包括:集中式鏈路層發現協定重組定義模組110以及異質軟體定義網路控制器之網域拓樸偵測模組120。處理器130耦接儲存單元100,並可以是中央處理單元(CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(DSP)、可程式化控制器、特殊應用積體電路(ASIC)或其他類似元件或上述元件的組合。在本發明實施例中,處理單元140用以執行管理異質SDN控制器的裝置10的所有功能,且可存取並執行儲存單元100中記錄的模組。收發器140用以傳送及接收無線訊號。收發器140亦可執行諸如低雜訊放大、阻抗匹配、混頻、升頻或降頻轉換、濾波、放大及其類似者的操作。1 is a schematic diagram of an apparatus 10 for managing a heterogeneous SDN controller in accordance with an embodiment of the present invention. Device 10 includes, but is not limited to, storage unit 100, processor 130, and transceiver 140. The storage unit 100 can be any type of fixed or removable random access memory (RAM), read only memory (ROM), flash memory, hard disk drive, solid state hard A solid-state drive or similar component or combination of the above components, and used to record a plurality of modules, including: a centralized link layer discovery protocol reorganization definition module 110 and a heterogeneous software definition network controller domain extension Park detection module 120. The processor 130 is coupled to the storage unit 100 and may be a central processing unit (CPU) or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), and programmable. Controller, Special Application Integrated Circuit (ASIC) or other similar component or combination of the above. In the embodiment of the present invention, the processing unit 140 is configured to perform all functions of the device 10 for managing the heterogeneous SDN controller, and can access and execute the modules recorded in the storage unit 100. The transceiver 140 is configured to transmit and receive wireless signals. Transceiver 140 can also perform operations such as low noise amplification, impedance matching, mixing, upconversion or down conversion, filtering, amplification, and the like.

集中式鏈路層發現協定重組定義模組110係為重組定義一個標準化的LLDP封包格式,提供彈性調整機制。並可響應於SDN控制器的主動註冊來分派目前所支援的LLDP封包格式,且指派SDN控制器一個唯一的系統識別碼,用來進行後續溝通。異質軟體定義網路控制器之網域拓樸偵測模組120可被視為最主要的監控框架模組,利用經標準化之鏈路層發現協定封包來偵測異質SDN控制器的網域拓樸,並透過集中式異質網域拓樸管理模組121進行拓樸資訊的整合,達到網域全貌的可視性。The centralized link layer discovery protocol reorganization definition module 110 defines a standardized LLDP packet format for reassembly, and provides an elastic adjustment mechanism. The currently supported LLDP packet format can be assigned in response to active registration of the SDN controller, and the SDN controller is assigned a unique system identifier for subsequent communication. The domain topology detection module 120 of the heterogeneous software definition network controller can be regarded as the most important monitoring framework module, and the standardized link layer discovery protocol packet is used to detect the domain extension of the heterogeneous SDN controller. Park, and through the centralized heterogeneous domain topology management module 121 to achieve the integration of topology information, to achieve the visibility of the entire domain.

集中式鏈路層發現協定重組定義模組110的主要作用為達到統一各SDN控制器之LLDP封包格式,且使異質的SDN控制器可解析分自身傳送的拓璞偵測訊息。其包括:鏈路層發現協定格式操作模組111、協定格式資源與軟體定義網路控制器關係知識庫112、鏈路層發現協定重組模組113以及鏈路層發現協定註冊模組114。The main function of the centralized link layer discovery protocol reorganization definition module 110 is to unify the LLDP packet format of each SDN controller, and enable the heterogeneous SDN controller to resolve the topology detection information transmitted by itself. The method includes a link layer discovery protocol format operation module 111, a protocol format resource and a software definition network controller relationship knowledge base 112, a link layer discovery protocol reassembly module 113, and a link layer discovery agreement registration module 114.

鏈路層發現協定格式操作模組111用來提供輸入定義之鏈路層發現協定封包格式。假設管理異質SDN控制器的裝置10是用以在一直網路環境中管控包括RYU與OpenDaylight(ODL)等具有不同LLDP封包格式的SDN控制器,則鏈路層發現協定格式操作模組111可產生如圖2所示的LLDP封包格式200,其包括但不限於以下的至少其中之一:chassis識別碼(chassis ID)210、埠識別碼(port ID)211、老化時間(time to live)212、系統名稱(system name)213以及鏈路層發現協定資料單元(link layer discovery protocol data unit,LLDPDU)的結束(end of LLDPDU)214之類型/長度/值(Type/Length/Value,TLV)欄位。鏈路層發現協定格式操作模組111將相同的LLDP封包格式200傳送多個原本具有不同LLDP封包格式的SDN控制器,使其依照相同的LLDP封包格式200運作。例如,在習知技術中,RYU的SDN控制器所使用的LLDP封包其埠識別碼TLV欄位的格式的內容會與ODL的SDN控制器所使用的LLDP封包其埠識別碼TLV欄位的格式並不相同。然而,在本發明的實施例中,鏈路層發現協定格式操作模組111將會傳送相同的LLDP封包格式200給RYU以及ODL的SDN控制器,使該些SDN控制器使用相同的LLDP封包格式進行資料傳輸。The link layer discovery protocol format operation module 111 is configured to provide an input layer defined link layer discovery protocol packet format. It is assumed that the device 10 for managing the heterogeneous SDN controller is used to manage the SDN controllers having different LLDP packet formats, such as RYU and OpenDaylight (ODL), in the always-on network environment, and the link layer discovery protocol format operation module 111 can generate The LLDP packet format 200 shown in FIG. 2 includes, but is not limited to, at least one of the following: a chassis identification code 210, a port ID 211, and a time to live 212. The system name 213 and the type/length/value (TLV) field of the end of LLD PDU of the link layer discovery protocol data unit (LLDPDU) 214 . The link layer discovery protocol format operation module 111 transmits the same LLDP packet format 200 to a plurality of SDN controllers having different LLDP packet formats to operate in accordance with the same LLDP packet format 200. For example, in the prior art, the format of the format of the LLDP field of the LLDP packet used by the RY controller of the RYU and the format of the TLV field of the LLDP packet used by the SDN controller of the ODL will be the format of the TLV field. Not the same. However, in an embodiment of the present invention, the link layer discovery protocol format operation module 111 will transmit the same LLDP packet format 200 to the RYU and the ODL SDN controller, so that the SDN controllers use the same LLDP packet format. Data transfer.

在LLDP封包格式200中,系統名稱213係用以用來指明異質SDN控制器的系統名稱代碼。chassis識別碼210之子類型(Subtype)欄位使用了Locally assigned 7格式,用以表示SDN交換器之ID。埠識別碼211之子類型欄位亦使用了Locally assigned 7格式,用以表示SDN交換器連接埠之號碼。In the LLDP packet format 200, the system name 213 is used to indicate the system name code of the heterogeneous SDN controller. The Subtype field of the chassis ID 210 uses the Locally assigned 7 format to indicate the ID of the SDN switch. The subtype field of the 埠ID 211 also uses the Locally assigned 7 format to indicate the number of the SDN switch port.

協定格式資源與軟體定義網路控制器關係知識庫112用以提供記錄SDN控制器專屬識別碼與LLDP封包格式。The protocol format resource and the software definition network controller relationship knowledge base 112 are used to provide a record SDN controller specific identification code and LLDP packet format.

鏈路層發現協定重組模組113的主要作用為解析重組鏈路層發現協定格式操作模組111取得之封包格式,將比對輸入之封包格式是否符合鏈路層發現協定基本規則,其中基本規則包含必備之Chassis ID TLV、Port ID TLV、Time to live TLV與End of LLDPDU TLV等四個欄位。The main function of the link layer discovery protocol reassembly module 113 is to parse the packet format obtained by the recombination link layer discovery protocol format operation module 111, and whether the packet format of the comparison input conforms to the basic rules of the link layer discovery protocol, wherein the basic rule It contains four fields: Chassis ID TLV, Port ID TLV, Time to live TLV and End of LLDPDU TLV.

鏈路層發現協定註冊模組114的主要作用為處理由SDN控制器所提出之註冊請求,給予各個SDN控制器唯一識別之系統名稱代碼與鏈路層發現協定封包格式。The main function of the link layer discovery protocol registration module 114 is to process the registration request proposed by the SDN controller, and give the system name code and link layer discovery protocol packet format uniquely identified by each SDN controller.

異質軟體定義網路控制器之網域拓樸偵測模組120的主要功能係為針對異質SDN控制器所管理的網域拓樸進行自動偵測與整合,取得跨區域的網路連線資訊,提供使用者全域網路之整體拓樸。其包括:集中式異質網域拓樸管理模組121以及異質軟體定義網路控制器之網域拓樸知識庫122。The main function of the domain topology detection module 120 of the heterogeneous software definition network controller is to automatically detect and integrate the domain topology managed by the heterogeneous SDN controller, and obtain cross-regional network connection information. Provides the overall topology of the user's global network. The method includes: a centralized heterogeneous domain topology management module 121 and a domain topology knowledge base 122 of a heterogeneous software definition network controller.

集中式異質網域拓樸管理模組121的主要功能為偵測收集由各個SDN控制器傳回之拓樸連線資訊、交換器與連接埠資訊,經過整合與資訊重組後取得跨越異質SDN控制器的網域拓樸,可自動偵測到網域拓樸的異動。The main function of the centralized heterogeneous domain topology management module 121 is to detect and collect the topology connection information, the switch and the connection information returned by each SDN controller, and obtain the cross-heterogeneous SDN control after integration and information reorganization. The topology of the domain can automatically detect the change of the topology of the domain.

異質軟體定義網路控制器之網域拓樸知識庫122的主要功能為記路網域拓樸之相關知識。The main function of the domain topology knowledge base 122 of the heterogeneous software definition network controller is the knowledge of the road network topology.

圖3是依照本發明的實施例的一種SDN控制器30以及其所管理之網路的示意圖,其中SDN控制器30可以是使用RYU或ODL等任意一種LLDP封包格式的SDN控制器。3 is a schematic diagram of an SDN controller 30 and a network managed thereby, wherein the SDN controller 30 may be an SDN controller using any of the LLDP packet formats, such as RYU or ODL, in accordance with an embodiment of the present invention.

SDN控制器30可包括但不限於:儲存單元300、處理器330以及收發器340。儲存單元300可以係任何型態的固定或可移動隨機存取記憶體(RAM)、唯讀記憶體(ROM)、快閃記憶體(flash memory)、傳統硬碟(hard disk drive)、固態硬碟(solid-state drive)或類似元件或上述元件的組合,並用以記錄異質網域拓樸監控應用程式模組310。處理器330耦接儲存單元300,並可以是中央處理單元(CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(DSP)、可程式化控制器、特殊應用積體電路(ASIC)或其他類似元件或上述元件的組合。在本發明實施例中,處理單元340用以執行SDN控制器30的所有功能,且可存取並執行儲存單元300中記錄的模組。收發器340用以傳送及接收無線訊號。收發器340亦可執行諸如低雜訊放大、阻抗匹配、混頻、升頻或降頻轉換、濾波、放大及其類似者的操作。The SDN controller 30 can include, but is not limited to, a storage unit 300, a processor 330, and a transceiver 340. The storage unit 300 can be any type of fixed or removable random access memory (RAM), read only memory (ROM), flash memory, hard disk drive, solid state hard A solid-state drive or similar component or combination of the above components is used to record the heterogeneous domain topology monitoring application module 310. The processor 330 is coupled to the storage unit 300 and may be a central processing unit (CPU) or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), and programmable. Controller, Special Application Integrated Circuit (ASIC) or other similar component or combination of the above. In the embodiment of the present invention, the processing unit 340 is configured to perform all functions of the SDN controller 30, and can access and execute the modules recorded in the storage unit 300. The transceiver 340 is configured to transmit and receive wireless signals. Transceiver 340 can also perform operations such as low noise amplification, impedance matching, mixing, upconversion or down conversion, filtering, amplification, and the like.

請同時參照圖1以及圖3,在接下來的實施例中,將會假設管理異質SDN控制器的裝置10在同一個異質網路中管控至少二個具有不同LLDP封包格式的異質SDN控制器(例如:使用RYU封包格式的SDN控制器以及使用ODL封包格式的SDN控制器),且該些異質SDN控制均可由本發明的SDN控制器30實現。Referring to FIG. 1 and FIG. 3 simultaneously, in the following embodiments, it will be assumed that the device 10 managing the heterogeneous SDN controller manages at least two heterogeneous SDN controllers having different LLDP packet formats in the same heterogeneous network ( For example, an SDN controller using a RYU packet format and an SDN controller using an ODL packet format, and the heterogeneous SDN control can be implemented by the SDN controller 30 of the present invention.

回到圖3。在圖3中,SDN控制器30連接的SDN網路可包括SDN交換器與連接埠。異質網域拓樸監控應用程式模組310係用來接收網域拓樸知識、分析當前環境所需的LLDP封包格式,以及收集異質SDN控制器發送而來的LLDP封包格式,達到初步的拓樸整合。異質網域拓樸監控應用程式模組310並執行將拓樸知識回送至集中式異質網域拓樸管理模組121的工作。異質網域拓樸監控應用程式模組310之演算法具備可移植性,可移植並使用於不同的程式語言。Go back to Figure 3. In FIG. 3, the SDN network to which the SDN controller 30 is connected may include an SDN switch and a port. The heterogeneous domain topology monitoring application module 310 is used to receive the domain topology knowledge, analyze the LLDP packet format required by the current environment, and collect the LLDP packet format sent by the heterogeneous SDN controller to achieve a preliminary topology. Integration. The heterogeneous domain topology monitors the application module 310 and performs the work of returning the topology knowledge to the centralized heterogeneous domain topology management module 121. The algorithms of the heterogeneous domain topology monitoring application module 310 are portable, portable and available for different programming languages.

圖4是依照本發明的實施例的管理SDN控制器的方法的流程圖400,其可由集中式鏈路層發現協定重組定義模組110所執行。圖4主要闡述SDN控制器註冊並取得標準化鏈路層發現協定封包格式之步驟。4 is a flow diagram 400 of a method of managing an SDN controller that may be performed by the centralized link layer discovery protocol reassembly definition module 110, in accordance with an embodiment of the present invention. Figure 4 illustrates the steps for the SDN controller to register and obtain a standardized link layer discovery protocol packet format.

在步驟S401,SDN控制器30送出註冊請求至鏈路層發現協定註冊模組114,要求鏈路層發現協定註冊模組114提供後續所使用之系統名稱代碼與LLDP封包格式200。In step S401, the SDN controller 30 sends a registration request to the link layer discovery protocol registration module 114, requesting the link layer discovery agreement registration module 114 to provide the subsequently used system name code and LLDP packet format 200.

在步驟S402,響應於接收到SDN控制器30送出之註冊請求,鏈路層發現協定註冊模組114判斷SDN控制器是否為符合設備10的管控範圍內之設備。若為是,則進入步驟S404,反之,則進入步驟S403。In step S402, in response to receiving the registration request sent by the SDN controller 30, the link layer discovery agreement registration module 114 determines whether the SDN controller is a device within the control range of the device 10. If YES, the process proceeds to step S404, and if not, the process proceeds to step S403.

在步驟S403,鏈路層發現協定註冊模組114回報SDN控制器30無法被註冊的訊息至SDN控制器30。In step S403, the link layer discovery protocol registration module 114 reports a message that the SDN controller 30 cannot be registered to the SDN controller 30.

在步驟S404,鏈路層發現協定註冊模組114查詢協定格式資源與軟體定義網路控制器關係知識庫112,且針對SDN控制器30產生LLDP封包格式200。In step S404, the link layer discovery protocol registration module 114 queries the protocol format resource and the software defined network controller relationship knowledge base 112, and generates an LLDP packet format 200 for the SDN controller 30.

在步驟S405,鏈路層發現協定註冊模組114創建專屬於SDN控制器30的系統名稱。In step S405, the link layer discovery protocol registration module 114 creates a system name that is specific to the SDN controller 30.

在步驟S406,鏈路層發現協定註冊模組114傳送LLDP封包格式200的範本以及SDN控制器30專屬的系統名稱至SDN控制器30。SDN控制器30可基於LLDP封包格式200來更新網域拓樸。In step S406, the link layer discovery protocol registration module 114 transmits the template of the LLDP packet format 200 and the system name unique to the SDN controller 30 to the SDN controller 30. The SDN controller 30 can update the domain topology based on the LLDP packet format 200.

圖5是依照本發明的實施例的異質軟體定義網路控制器之網域拓樸偵測模組120監控SDN交換器之連接埠與拓樸的流程圖500,此方法可由異質軟體定義網路控制器之網域拓樸偵測模組120以及SND控制器30實施。流程圖500主要闡述以SDN控制器取得SDN交換器的連接埠狀態事件為基準來更新網域拓樸。當有新的SDN交換器的連接埠產生時,會啟動拓樸監控機制進行此連接埠網域探測。5 is a flow chart 500 of a topology topology detection module 120 of a heterogeneous software-defined network controller monitoring a connection and topology of an SDN switch, which may define a network by a heterogeneous software, in accordance with an embodiment of the present invention. The domain topology detection module 120 of the controller and the SND controller 30 are implemented. The flow chart 500 mainly describes updating the domain topology based on the connection status event of the SDN controller obtained by the SDN controller. When a new SDN switch connection is generated, a topology monitoring mechanism is started to perform this connection and network detection.

在步驟S501,SDN控制器30收到管控範圍內之交換器傳送之連接埠異動事件。In step S501, the SDN controller 30 receives a connection error event transmitted by the switch within the control range.

在步驟S502,SDN控制器30對異動事件進行事件分析與決策。當異動事件為新增一個SDN交換器連接埠時,進入步驟S503,反之,若異動事件為刪除一個SDN交換器連接埠時,則進入步驟S507。At step S502, the SDN controller 30 performs event analysis and decision on the transaction event. When the transaction event is a new SDN switch connection, the process proceeds to step S503. Otherwise, if the transaction event is to delete an SDN switch connection, the process proceeds to step S507.

若SDN控制器30在步驟S502判斷異動事件為新增一個SDN交換器連接埠時,在步驟S503,SDN控制器30傳送新增SDN交換器連接埠的事件相關訊息至集中式異質網域拓樸管理模組121,通知集中式異質網域拓樸管理模組121目前新增之連接埠ID,以及所隸屬之SDN交換器之ID。接著,在步驟S504,集中式異質網域拓樸管理模組121會將收到的資訊更新到所屬的異質軟體定義網路控制器之網域拓樸知識庫122,藉以更新網路拓樸。If the SDN controller 30 determines in step S502 that the transaction event is to add a new SDN switch port, in step S503, the SDN controller 30 transmits the event related information of the newly added SDN switch port to the centralized heterogeneous domain topology. The management module 121 notifies the currently added port ID of the centralized heterogeneous domain topology management module 121 and the ID of the SDN switch to which it belongs. Next, in step S504, the centralized heterogeneous domain topology management module 121 updates the received information to the domain topology knowledge base 122 of the associated heterogeneous software definition network controller, thereby updating the network topology.

可選地,在步驟S505,SDN控制器30可執行新連接埠新增後之前置作業,將新增的連接埠資訊加入被定期被傳送的LLDP封包中,其中定期被傳送的LLDP封包係用以定期地偵測網域拓樸中的連接埠。定期地傳送LLDP封包之流程圖可參考圖6以及後續的闡述。Optionally, in step S505, the SDN controller 30 may perform a new connection, add a pre-join job, and add the new port information to the LLDP packet that is periodically transmitted, where the LLDP packet is periodically transmitted. Used to periodically detect connections in the domain topology. A flowchart for periodically transmitting LLDP packets can be referred to FIG. 6 and subsequent descriptions.

可選地,在步驟S506,SDN控制器30可執行一次性地傳送LLDP流程,用來確認新連接埠當前的拓樸狀態。一次性地傳送LLDP之流程圖亦可參考圖6以及後續的闡述。步驟S505以及步驟S506為可選用的實施步驟,本發明並不限定兩者實施之順序。Optionally, in step S506, the SDN controller 30 may perform a one-time transmission of the LLDP process to confirm the current topology of the new connection. A flow chart for transmitting LLDP at one time can also be referred to FIG. 6 and subsequent descriptions. Steps S505 and S506 are optional implementation steps, and the present invention is not limited to the order in which the two are implemented.

若SDN控制器30在步驟S502判斷異動事件為刪除一個現有的SDN交換器連接埠的資訊時,在步驟S507,SDN控制器30傳送刪除SDN交換器連接埠的事件相關訊息至集中式異質網域拓樸管理模組121,要求集中式異質網域拓樸管理模組121組刪除所述SDN交換器連接埠的資訊。接著,在步驟S508,集中式異質網域拓樸管理模組121刪除儲存於異質軟體定義網路控制器之網域拓樸知識庫122中的所述SDN交換器連接埠的資訊。If the SDN controller 30 determines in step S502 that the transaction event is to delete the information of an existing SDN switch port, in step S507, the SDN controller 30 transmits the event related message for deleting the SDN switch port to the centralized heterogeneous domain. The topology management module 121 requires the centralized heterogeneous domain topology management module 121 to delete the information of the SDN switch port. Next, in step S508, the centralized heterogeneous domain topology management module 121 deletes the information of the SDN switch port stored in the domain topology knowledge base 122 of the heterogeneous software definition network controller.

可選地,在步驟S509,SDN控制器30在定期傳送的LLDP封包中刪除的SDN交換器連接埠的資訊。換言之,後續的定期網域拓璞偵測將可略過已刪除的SDN交換器連接埠。Optionally, in step S509, the SDN controller 30 deletes the information of the SDN switch connected to the periodically transmitted LLDP packet. In other words, subsequent periodic domain topology detection will bypass the deleted SDN switch port.

圖6是依照本發明的實施例的定期地或一次性地傳送LLDP封包之流程圖600,其可由SDN控制器30實施。流程圖600的主要目的為透過定期或一次性地傳送LLDP封包來偵測網域拓樸。6 is a flow diagram 600 of transmitting LLDP packets periodically or once, which may be implemented by SDN controller 30, in accordance with an embodiment of the present invention. The main purpose of flowchart 600 is to detect the topology of the domain by transmitting LLDP packets on a regular or one-time basis.

在步驟S601,SDN控制器30定期要求管控範圍內的交換器傳送LLDP封包至交換器連接埠,其中定期之時間範圍可彈性地調整。在本發明的一實施例中,定期之時間是採用5秒為一單位。In step S601, the SDN controller 30 periodically requests the switch within the control range to transmit the LLDP packet to the switch port, wherein the periodic time range can be flexibly adjusted. In an embodiment of the invention, the periodic time is one unit of 5 seconds.

在步驟S602,SDN控制器30接收交換器轉送的LLDP封包,具體來說,當SDN交換器接收到用以進行探測的LLDP封包時,SDN交換器會轉發給SDN控制器30,由SDN控制器30進行管控範圍內之拓樸連線資訊的記錄。In step S602, the SDN controller 30 receives the LLDP packet forwarded by the switch. Specifically, when the SDN switch receives the LLDP packet for detecting, the SDN switch forwards the SDN controller to the SDN controller 30, and the SDN controller 30 Record the topology connection information within the scope of control.

在步驟S603,SDN控制器30判斷所接收LLDP封包的格式是否符合LLDP封包的基本規則,假如不符合基本規則,則SDN控制器30會在步驟S604丟棄所接收LLDP封包。反之,則進入步驟S605。In step S603, the SDN controller 30 determines whether the format of the received LLDP packet conforms to the basic rule of the LLDP packet. If the basic rule is not met, the SDN controller 30 discards the received LLDP packet in step S604. Otherwise, the process proceeds to step S605.

在步驟S605,SDN控制器30解析LLDP封包的內容資料,並且基於LLDP封包來重組拓樸連線資訊,且組合成為異質網域拓樸連線資訊。In step S605, the SDN controller 30 parses the content data of the LLDP packet, and reorganizes the topology connection information based on the LLDP packet, and combines it into the heterogeneous domain topology connection information.

在步驟S606,SDN控制器30判斷異質網域拓樸連線資訊是否已經存在。假如異質網域拓樸連線資訊為現存的資料,則進入步驟S607,反之,則進入步驟S608。In step S606, the SDN controller 30 determines whether the heterogeneous domain topology connection information already exists. If the heterogeneous domain topology connection information is the existing data, the process proceeds to step S607, otherwise, the process proceeds to step S608.

在步驟S607,SDN控制器30更新異質網域拓樸連線資訊之時間戳記。此時,SDN控制器30無須另行通知異質網域拓樸管理模組121。如此,可減少資訊溝通太過頻繁而損耗模組資源。時間戳記之機制可用來自動地偵測網域拓樸狀態的可信度,相關說明請參照圖7。In step S607, the SDN controller 30 updates the time stamp of the heterogeneous domain topology connection information. At this time, the SDN controller 30 does not need to notify the heterogeneous domain topology management module 121 separately. In this way, the information communication is too frequent and the module resources are depleted. The timestamp mechanism can be used to automatically detect the trustworthiness of the topology of the domain. For details, please refer to Figure 7.

在步驟S608,SDN控制器30針對異質網域拓樸連線資訊形成的時間給予時間戳記。In step S608, the SDN controller 30 gives a time stamp for the time formed by the heterogeneous domain topology connection information.

在步驟S609,SDN控制器30傳送異質網域拓樸連線資訊的更新訊息給異質網域拓樸管理模組121。In step S609, the SDN controller 30 transmits an update message of the heterogeneous domain topology connection information to the heterogeneous domain topology management module 121.

在步驟S607或步驟S609之後,流程圖600可重新回到執行步驟S601。如此,則可視為定期地執行傳送LLDP封包之流程。若僅實施步驟S602至S609,則可視為一次性地執行傳送LLDP封包之流程。After step S607 or step S609, the flowchart 600 may return to execution step S601. As such, it can be considered as a process of periodically transmitting LLDP packets. If only steps S602 to S609 are implemented, it can be considered that the flow of transmitting the LLDP packet is performed once.

圖7是依照本發明的實施例的定期地傳送LLDP封包來偵測網域拓樸中所使用之時間戳記之機制的流程圖700,其可由SDN控制器30實施。流程圖700的主要目的是用來反映拓樸狀態之真實情況,避免SDN交換器損壞或連接埠損壞時,無法及時傳遞損壞資訊,導致無法立刻呈現真實的網域拓樸。7 is a flow diagram 700 of a mechanism for periodically transmitting LLDP packets to detect timestamps used in a domain topology, which may be implemented by SDN controller 30, in accordance with an embodiment of the present invention. The main purpose of the flowchart 700 is to reflect the real situation of the topology state, and to avoid the damage of the SDN switch or the damage of the connection port, the damage information cannot be transmitted in time, and the real domain topology cannot be presented immediately.

在步驟S701,SDN控制器30定期檢查異質網域拓樸連線資訊的時間戳記。In step S701, the SDN controller 30 periodically checks the time stamp of the heterogeneous domain topology connection information.

在步驟S702,SDN控制器30判斷時間戳記是否逾期,其中逾期標準為可彈性調整之參數。在本發明的一實施例中,採用15秒為逾期時間,且定期之時間是採用5秒為一單位。換言之,若在定期之時間經過三次後仍無法取得拓樸資訊時,SDN控制器30將判斷異質網域拓樸連線資訊逾期(即:時間戳記逾期)。若時間戳記逾期,則進入步驟S704,反之,則進入步驟S703。In step S702, the SDN controller 30 determines whether the time stamp is overdue, wherein the overdue criterion is a parameter that can be flexibly adjusted. In an embodiment of the invention, 15 seconds is used as the overdue time, and the regular time is 5 seconds as a unit. In other words, if the topology information cannot be obtained after three times in a regular time, the SDN controller 30 will judge that the heterogeneous domain topology connection information is overdue (ie, the timestamp is overdue). If the time stamp expires, the process proceeds to step S704, and if not, the process proceeds to step S703.

在步驟S703,SDN控制器30持續保留此異質網域拓樸連線資訊。反之,在步驟S704,SDN控制器30將傳送刪除異質網域拓樸連線資訊給集中式異質網域拓樸管理模組121。In step S703, the SDN controller 30 continues to retain the heterogeneous domain topology connection information. On the other hand, in step S704, the SDN controller 30 transmits the deleted heterogeneous domain topology connection information to the centralized heterogeneous domain topology management module 121.

綜上所述,本發明提出一種異質軟體定義網路控制器及其管理裝置和方法,係透過重組定義標準化鏈路層發現協定與集中管控偵測異質軟體定義網路控制器的方法,自動地偵測出全網域拓樸。本發明的系統包括集中式鏈路層發現協定重組定義模組與異質軟體定義網路控制器之網域拓樸偵測模組。集中式鏈路層發現協定重組定義模組連結到各個SDN控制器的拓樸收集應用程式,用來定義並彈性發送鏈路層發現協定封包格式,讓各個控制器內安裝之拓樸收集應用程式得以使用統一標準化的鏈路層發現協定達到蒐集異質網域資料。異質軟體定義網路控制器之網域拓樸偵測模組利用集中式異質網域拓樸管理模組觸發各控制器發送LLDP封包的事件,並進行異質網域拓樸資料的整合,達到跨區域之全面性網域拓樸資料之全面呈現。In summary, the present invention provides a heterogeneous software definition network controller and a management apparatus and method thereof, which are defined by reorganizing a standardized link layer discovery protocol and a centralized control method for detecting a heterogeneous software to define a network controller, automatically Detect the full domain topology. The system of the present invention comprises a centralized link layer discovery protocol reorganization definition module and a domain topology detection module of a heterogeneous software definition network controller. The centralized link layer discovery protocol reorganization definition module is linked to the topology collection application of each SDN controller, and is used to define and elastically transmit the link layer discovery protocol packet format, so that the topology collection application installed in each controller is configured. It is possible to collect heterogeneous domain data using a uniformly standardized link layer discovery protocol. The domain topology detection module of the heterogeneous software definition network controller uses the centralized heterogeneous domain topology management module to trigger the events of each controller to send LLDP packets, and integrates the heterogeneous domain topology data to achieve cross-domain Comprehensive presentation of regional comprehensive domain topology data.

本發明之特點及功效:The features and effects of the invention:

本發明實施例所提供之異質軟體定義網路控制器及其管理裝置和方法,與其他習用技術相互比較時,更具有下列之優點: 1. 本發明具備統一的LLDP封包格式技術,針對SDN網路設備改良設計適合的LLDP格式。在有多個SDN控制器管控的網域下偵測網域拓樸時,因拓樸蒐集的方式與LLDP封包的格式亦不同,導致了各自為政無法整合的困難,使上層的OSS/BSS系統無法取得網域整體全貌。本發明利用軟體定義網路可以擴充應用程式的特性,設計了一種統一且彈性的LLDP格式機制,在各個控制器內設計程式語言不同,但LLDP封包格式相同的軟體定義網路控制器之異質網域拓樸監控應用程式,透過SDN控制器下方的交換器觸發發送LLDP封包的事件需求或是SDN控制器向上方的模組提出發送LLDP封包的需求,因為各控制器發送的封包格式相同,所以能為互相所辨識,最終控制器再將整理好的資料送給整體網路拓樸的主要管理模組;集中式異質網域拓樸管理模組。 2. 本發明具備彈性的LLDP封包解析機制,透過可因應網路環境的而彈性修改的LLDP封包格式,彈性的LLDP封包格式解析方式,可達到兼容商用SDN控制器,達到多元方案的整合性。適用於異質網路之多廠牌的SDN控制器管控,此外由於軟體定義網路控制器之異質網域拓樸監控應用程式可彈性輸入所需格式,當有新的一種商用SDN控制器導入時,舊有的異質網域拓樸監控應用程式無須進行程式碼的修改,僅需填入所需資料即可快速使用新的SDN控制器,達到SDN控制器的快速上架。 3. 由於現有環境中,已知的系統在有多個不同品牌的控制器管理網域時會發生辨識全域拓樸的困難。以RYU和OpenDaylight為例,因為兩者發送的LLDP封包格式不同,造成各自發送的封包無法為對方辨識而會被丟棄,故各個控制器只能得到局部的拓樸資訊,各個局部間的連線則不會被辨識出來。但使用本發明之重組定義標準化鏈路層發現協定集中管控偵測異質軟體定義網路控制器的網域拓樸之方法與系統即可以突破目前的技術困難點。The heterogeneous software definition network controller and the management apparatus and method thereof provided by the embodiments of the present invention have the following advantages when compared with other conventional technologies: 1. The invention has a unified LLDP packet format technology for the SDN network. The road device is modified to design a suitable LLDP format. When the topology of the network is detected under the domain controlled by multiple SDN controllers, the format of the topology collection and the format of the LLDP packet are different, which makes it difficult for the respective policies to be integrated, and the upper OSS/BSS system cannot be Get the overall picture of the domain. The invention can expand the characteristics of the application by using the software definition network, and design a unified and flexible LLDP format mechanism, and the software of the LLDP packet format is different, but the software of the same LLDP packet format defines the heterogeneous network controller of the network controller. The domain topology monitoring application triggers the event request for sending LLDP packets through the switch under the SDN controller or the SDN controller requests the upper module to send LLDP packets, because the packets sent by each controller have the same format, so Can be identified for each other, the final controller will then send the completed data to the main management module of the overall network topology; centralized heterogeneous domain topology management module. 2. The invention has an elastic LLDP packet parsing mechanism, and is compatible with a commercial SDN controller through an LLDP packet format that can be flexibly modified according to the network environment, and an elastic LLDP packet format parsing method, thereby achieving integration of multiple schemes. It is suitable for the SDN controller management of multiple brands of heterogeneous networks. In addition, the heterogeneous domain topology monitoring application of the software-defined network controller can flexibly input the required format when a new commercial SDN controller is imported. The old heterogeneous domain topology monitoring application does not need to modify the code. Just fill in the required information and quickly use the new SDN controller to achieve fast deployment of the SDN controller. 3. Due to the existing environment, known systems have difficulty recognizing the global topology when there are multiple different brands of controllers managing the domain. Taking RYU and OpenDaylight as an example, because the LLDP packet formats sent by the two are different, the packets sent by the two cannot be identified by the other party and will be discarded. Therefore, each controller can only obtain local topology information, and the connection between each part. It will not be recognized. However, the method and system for centrally controlling and detecting the domain topology of the heterogeneous software-defined network controller using the recombination definition standardized link layer discovery protocol of the present invention can break through the current technical difficulties.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

10‧‧‧管理異質SDN控制器的裝置10‧‧‧Devices for managing heterogeneous SDN controllers

100、300‧‧‧儲存單元100, 300‧‧‧ storage unit

110‧‧‧集中式鏈路層發現協定重組定義模組110‧‧‧Centralized Link Layer Discovery Protocol Reorganization Definition Module

111‧‧‧鏈路層發現協定格式操作模組111‧‧‧Link Layer Discovery Protocol Format Operation Module

112‧‧‧協定格式資源與軟體定義網路控制器關係知識庫112‧‧‧Commitment format resource and software definition network controller relationship knowledge base

113‧‧‧鏈路層發現協定重組模組113‧‧‧Link layer discovery agreement reorganization module

114‧‧‧鏈路層發現協定註冊模組114‧‧‧Link Layer Discovery Protocol Registration Module

120‧‧‧異質軟體定義網路控制器之網域拓樸偵測模組120‧‧‧Heteromorphic software defines the network topology detection module of the network controller

121‧‧‧集中式異質網域拓樸管理模組121‧‧‧Centralized heterogeneous domain topology management module

122‧‧‧異質軟體定義網路控制器之網域拓樸知識庫122‧‧‧Heterogeneous software defines the domain topology knowledge base of the network controller

130、330‧‧‧處理器130, 330‧‧‧ processor

140、340‧‧‧收發器140, 340‧‧‧ transceiver

200‧‧‧LLDP封包格式200‧‧‧LLDP packet format

210‧‧‧chassis識別碼210‧‧‧chassis identification code

211‧‧‧埠識別碼211‧‧‧埠ID

212‧‧‧老化時間212‧‧‧Aging time

213‧‧‧系統名稱213‧‧‧System Name

214‧‧‧LLDPDU的結束214‧‧‧End of LLDPDU

30‧‧‧SDN控制器30‧‧‧SDN Controller

310‧‧‧異質網域拓樸監控應用程式模組310‧‧‧ Heterogeneous Domain Topology Monitoring Application Module

400、500、600、700‧‧‧方法流程400, 500, 600, 700‧‧‧ Method flow

S401、S402、S403、S404、S405、S406、S501、S502、S503、S504、S505、S506、S507、S508、S509、S601、S602、S603、S604、S605、S606、S607、S608、S609、SS701、S702、S703、S704‧‧‧步驟S401, S402, S403, S404, S405, S406, S501, S502, S503, S504, S505, S506, S507, S508, S509, S601, S602, S603, S604, S605, S606, S607, S608, S609, SS701, S702, S703, S704‧‧‧ steps

圖1是依照本發明的實施例的一種管理異質SDN控制器的裝置的示意圖。 圖2是依照本發明的實施例的一種LLDP封包格式。 圖3是依照本發明的實施例的一種SDN控制器以及其所管理之網路的示意圖。 圖4是依照本發明的實施例的管理SDN控制器的方法的流程圖。 圖5是依照本發明的實施例的異質軟體定義網路控制器之網域拓樸偵測模組監控SDN交換器之連接埠與拓樸的流程圖。 圖6是依照本發明的實施例的定期地或一次性地傳送LLDP封包之流程圖。 圖7是依照本發明的實施例的定期地傳送LLDP封包來偵測網域拓樸中所使用之時間戳記之機制的流程圖。1 is a schematic diagram of an apparatus for managing a heterogeneous SDN controller in accordance with an embodiment of the present invention. 2 is a LLDP packet format in accordance with an embodiment of the present invention. 3 is a schematic diagram of an SDN controller and the network it manages in accordance with an embodiment of the present invention. 4 is a flow chart of a method of managing an SDN controller in accordance with an embodiment of the present invention. 5 is a flow chart of monitoring the connection and topology of a SDN switch by a domain topology detection module of a heterogeneous software-defined network controller in accordance with an embodiment of the present invention. 6 is a flow diagram of transmitting LLDP packets periodically or once, in accordance with an embodiment of the present invention. 7 is a flow diagram of a mechanism for periodically transmitting LLDP packets to detect timestamps used in a domain topology, in accordance with an embodiment of the present invention.

Claims (10)

一種管理異質軟體定義網路控制器的方法,適用於管理第一軟體定義網路控制器和第二軟體定義網路控制器,其中該第一軟體定義網路控制器所使用的第一鏈路層發現協定封包格式不同於該第二軟體定義網路控制器所使用的第二鏈路層發現協定封包格式,該方法包括:響應於從異質網路接收該第一軟體定義網路控制器的註冊請求,定義一第三鏈路層發現協定封包格式,其中該第三鏈路層發現協定封包格式不同於該第一鏈路層發現協定封包格式,且不同於該第二鏈路層發現協定封包格式;傳送該第三鏈路層發現協定封包格式的範本至該第一軟體定義網路控制器;以及接收來自該第一軟體定義網路控制器的訊息來更新網域拓樸。 A method for managing a heterogeneous software defining a network controller, configured to manage a first software defined network controller and a second software defined network controller, wherein the first software defines a first link used by the network controller The layer discovery protocol packet format is different from the second link layer discovery protocol packet format used by the second software definition network controller, the method comprising: responsive to receiving the first software defined network controller from the heterogeneous network a registration request, defining a third link layer discovery protocol packet format, wherein the third link layer discovery protocol packet format is different from the first link layer discovery protocol packet format, and different from the second link layer discovery protocol a packet format; transmitting a template of the third link layer discovery protocol packet format to the first software-defined network controller; and receiving a message from the first software-defined network controller to update the domain topology. 如申請專利範圍第1項所述的方法,更包括:判斷該第一軟體定義網路控制器是否符合管控範圍,若為是,則定義該第三鏈路層發現協定封包格式;以及若為否,則回報該第一軟體定義網路控制器無法被註冊的訊息至該第一軟體定義網路控制器。 The method of claim 1, further comprising: determining whether the first software defines a network controller to comply with a control scope, and if so, defining the third link layer discovery protocol packet format; Otherwise, the first software defined network controller cannot be registered to the first software defined network controller. 如申請專利範圍第1項所述的方法,更包括:依據對應於chassis識別碼、埠識別碼、老化時間以及鏈路層發現協定資料單元的結束之類型/長度/值(Type/Length/Value, TLV)欄位來判斷該第三鏈路層發現協定封包格式是否符合鏈路層發現協定封包的基本規則。 The method of claim 1, further comprising: selecting a type/length/value corresponding to the chassis identification code, the 埠 identification code, the aging time, and the end of the link layer discovery protocol data unit (Type/Length/Value , The TLV) field is used to determine whether the third link layer discovery protocol packet format conforms to the basic rules of the link layer discovery protocol packet. 如申請專利範圍第1項所述的方法,更包括:響應於接收連接埠狀態事件的相關訊息而更新該網域拓樸。 The method of claim 1, further comprising: updating the domain topology in response to receiving a related message of the connection state event. 一種在異質軟體定義網路管理網域拓樸的方法,適用於軟體定義網路控制器,該方法包括:由第一軟體定義網路控制器通過異質網路傳送註冊請求,其中該異質網路包括該第一軟體定義網路控制器和第二軟體定義網路控制器,其中該第一軟體定義網路控制器所使用的第一鏈路層發現協定封包格式不同於該第二軟體定義網路控制器所使用的第二鏈路層發現協定封包格式;響應於傳送該註冊請求,接收新定義之鏈路層發現協定封包格式的範本,其中該新定義之鏈路層發現協定封包格式不同於該第一鏈路層發現協定封包格式,且不同於該第二鏈路層發現協定封包格式;以及基於該新定義之鏈路層發現協定封包格式來管理網域拓樸。 A method for defining a network management domain topology in a heterogeneous software, suitable for a software-defined network controller, the method comprising: the first software defining a network controller to transmit a registration request through a heterogeneous network, wherein the heterogeneous network The first software defined network controller and the second software defined network controller, wherein the first link layer discovery protocol packet format used by the first software defined network controller is different from the second software defined network The second link layer discovery protocol packet format used by the path controller; in response to transmitting the registration request, receiving a template of the newly defined link layer discovery protocol packet format, wherein the newly defined link layer discovery protocol packet format is different And discovering the protocol packet format at the first link layer, and different from the second link layer discovery protocol packet format; and managing the domain topology based on the newly defined link layer discovery protocol packet format. 如申請專利範圍第5項所述的方法,更包括:判斷該鏈路層發現協定封包格式是否符合鏈路層發現協定封包的基本規則,若為是,則基於該新定義之鏈路層發現協定封包格式來重組異質網域拓樸連線資訊;以及若為否,則丟棄該新定義之鏈路層發現協定封包格式的該範 本。 The method of claim 5, further comprising: determining whether the link layer discovery protocol packet format conforms to a basic rule of a link layer discovery protocol packet, and if yes, discovering the link layer based on the new definition The protocol packet format to reorganize the heterogeneous domain topology connection information; and if not, discard the new defined link layer discovery protocol packet format this. 如申請專利範圍第6項所述的方法,更包括:判斷該異質網域拓樸連線資訊是否已存在,若為是,則更新該異質網域拓樸連線資訊的時間戳記;以及若為否,則針對該異質網域拓樸連線資訊形成的時間給予該時間戳記,並且發出該異質網域拓樸連線資訊的更新訊息。 The method of claim 6, further comprising: determining whether the heterogeneous domain topology connection information already exists, and if yes, updating a timestamp of the heterogeneous domain topology connection information; and If not, the time stamp is given for the time formed by the heterogeneous domain topology connection information, and an update message of the heterogeneous domain topology connection information is sent. 如申請專利範圍第5項所述的方法,更包括:控制管控範圍內的交換器定期地傳送該新定義之鏈路層發現協定封包格式的封包至交換器連接埠。 The method of claim 5, further comprising: the switch within the control scope periodically transmitting the packet of the newly defined link layer discovery protocol packet format to the switch port. 一種管理異質軟體定義網路控制器的裝置,適用於管理第一軟體定義網路控制器和第二軟體定義網路控制器,其中該第一軟體定義網路控制器所使用的第一鏈路層發現協定封包格式不同於該第二軟體定義網路控制器所使用的第二鏈路層發現協定封包格式,該裝置包括:收發器,傳送或接收資料;儲存單元,記錄多個模組;以及處理單元,耦接該儲存單元,且存取並執行該儲存單元所儲存的該些模組,該些模組包括:集中式鏈路層發現協定重組定義模組,包括:鏈路層發現協定註冊模組,透過該收發器從異質網路接收該第一軟體定義網路控制器的註冊請求、基於該註冊請求定義一第三鏈路層發現協定封包格式以及傳 送該鏈路層發現協定封包格式的範本至該第一軟體定義網路控制器,其中該第三鏈路層發現協定封包格式不同於該第一鏈路層發現協定封包格式,且不同於該第二鏈路層發現協定封包格式;異質軟體定義網路控制器之網域拓樸偵測模組,包括:集中式異質網域拓樸管理模組,接收來自該第一軟體定義網路控制器的訊息來更新網域拓樸。 A device for managing a heterogeneous software defining a network controller, configured to manage a first software defined network controller and a second software defined network controller, wherein the first software defines a first link used by the network controller The layer discovery protocol packet format is different from the second link layer discovery protocol packet format used by the second software definition network controller, and the device includes: a transceiver, transmitting or receiving data; and a storage unit, recording multiple modules; And the processing unit is coupled to the storage unit and accesses and executes the modules stored by the storage unit, where the modules include: a centralized link layer discovery protocol reorganization definition module, including: link layer discovery The protocol registration module receives the registration request of the first software-defined network controller from the heterogeneous network through the transceiver, defines a third link layer discovery protocol packet format, and transmits the request according to the registration request. Sending a template of the link layer discovery protocol packet format to the first software-defined network controller, where the third link layer discovery protocol packet format is different from the first link layer discovery protocol packet format, and different from the The second link layer discovers the protocol packet format; the heterogeneous software defines the domain topology detection module of the network controller, including: a centralized heterogeneous domain topology management module, and receives the network control from the first software definition Message to update the domain topology. 一種軟體定義網路控制器,適用於使用第一鏈路層發現協定封包格式,包括:收發器,通過異質網路傳送註冊請求,其中該異質網路包括第二軟體定義網路控制器,並且該第一鏈路層發現協定封包格式不同於該第二軟體定義網路控制器所使用的第二鏈路層發現協定封包格式;以及處理器,經配置以執行:響應於傳送該註冊請求,透過該收發器接收新定義之鏈路層發現協定封包格式的範本,其中該新定義之鏈路層發現協定封包格式不同於該第一鏈路層發現協定封包格式,且不同於該第二鏈路層發現協定封包格式;以及基於該新定義之鏈路層發現協定封包格式來管理網域拓樸。 A software-defined network controller adapted to use a first link layer discovery protocol packet format, including: a transceiver to transmit a registration request over a heterogeneous network, wherein the heterogeneous network includes a second software-defined network controller, and The first link layer discovery protocol packet format is different from the second link layer discovery protocol packet format used by the second software-defined network controller; and the processor is configured to perform: in response to transmitting the registration request, Receiving, by the transceiver, a template of a newly defined link layer discovery protocol packet format, where the newly defined link layer discovery protocol packet format is different from the first link layer discovery protocol packet format, and different from the second chain The layer layer discovers the protocol packet format; and manages the domain topology based on the newly defined link layer discovery protocol packet format.
TW106145831A 2017-12-26 2017-12-26 Heterogeneous software defined network controller and management device and method thereof TWI646803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106145831A TWI646803B (en) 2017-12-26 2017-12-26 Heterogeneous software defined network controller and management device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106145831A TWI646803B (en) 2017-12-26 2017-12-26 Heterogeneous software defined network controller and management device and method thereof

Publications (2)

Publication Number Publication Date
TWI646803B true TWI646803B (en) 2019-01-01
TW201929493A TW201929493A (en) 2019-07-16

Family

ID=65804061

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106145831A TWI646803B (en) 2017-12-26 2017-12-26 Heterogeneous software defined network controller and management device and method thereof

Country Status (1)

Country Link
TW (1) TWI646803B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150117216A1 (en) * 2013-10-31 2015-04-30 Telefonaktiebolaget L M Ericsson (Publ) Method and system for load balancing at a data network
CN105207995A (en) * 2015-08-18 2015-12-30 上海斐讯数据通信技术有限公司 SDN-based VLAN dynamic registering method
US20170104670A1 (en) * 2014-06-11 2017-04-13 Hangzhou H3C Technologies Co., Ltd. Establishing Instance In Software Defined Network
TW201720098A (en) * 2015-11-26 2017-06-01 財團法人資訊工業策進會 Network packet management server, network packet management method and computer program product thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150117216A1 (en) * 2013-10-31 2015-04-30 Telefonaktiebolaget L M Ericsson (Publ) Method and system for load balancing at a data network
US20170104670A1 (en) * 2014-06-11 2017-04-13 Hangzhou H3C Technologies Co., Ltd. Establishing Instance In Software Defined Network
CN105207995A (en) * 2015-08-18 2015-12-30 上海斐讯数据通信技术有限公司 SDN-based VLAN dynamic registering method
TW201720098A (en) * 2015-11-26 2017-06-01 財團法人資訊工業策進會 Network packet management server, network packet management method and computer program product thereof

Also Published As

Publication number Publication date
TW201929493A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
US11864019B2 (en) Time-sensitive networking communication method and apparatus
US20220086073A1 (en) Data packet detection method, device, and system
WO2019223661A1 (en) Application identifier identification method, device and system
WO2019029525A1 (en) Network function information management method and related device
WO2017114327A1 (en) Network slice management apparatus and network slice management method
JP5093598B2 (en) Control relay program, control relay device, and control relay method
US20210226902A1 (en) Time-Sensitive Networking Communication Method and Apparatus
US20220407791A1 (en) Network performance detection method and apparatus, and network device
WO2014118622A1 (en) Method of managing zigbee network in the internet of things
EP1808996B1 (en) A method for corresponding maintenance point identification with media access control address
WO2016062165A1 (en) Method and apparatus for implementing operations, administration and maintenance function
JP2014147094A (en) Network location service
WO2017157318A1 (en) Link discovery method and apparatus
WO2019157802A1 (en) Method, device, and network system for measuring network performance
US9225792B2 (en) System and method for caching mobile services database objects
WO2007059667A1 (en) A method for obtaining the network element alarm data
JP2008306435A (en) Packet repeater
US9710513B2 (en) Access management method, device and system
TWI646803B (en) Heterogeneous software defined network controller and management device and method thereof
WO2022095769A1 (en) Multicast service design method, server and storage medium
US11888680B1 (en) Early detection of telemetry data streaming interruptions
WO2018177003A1 (en) Charging method, and related device and system
US11582156B2 (en) Traffic detection method, apparatus, and system
US20230262098A1 (en) Packet flow descriptor provisioning
US11909623B2 (en) Device presence method and system for mesh network management