TW202133588A - Path quality report method crossed over multiple centralized control plane - Google Patents

Path quality report method crossed over multiple centralized control plane Download PDF

Info

Publication number
TW202133588A
TW202133588A TW109106505A TW109106505A TW202133588A TW 202133588 A TW202133588 A TW 202133588A TW 109106505 A TW109106505 A TW 109106505A TW 109106505 A TW109106505 A TW 109106505A TW 202133588 A TW202133588 A TW 202133588A
Authority
TW
Taiwan
Prior art keywords
centralized control
path
packet
network
detection
Prior art date
Application number
TW109106505A
Other languages
Chinese (zh)
Other versions
TWI710231B (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 TW109106505A priority Critical patent/TWI710231B/en
Application granted granted Critical
Publication of TWI710231B publication Critical patent/TWI710231B/en
Publication of TW202133588A publication Critical patent/TW202133588A/en

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention is a path quality return method crossed over multiple centralized control plane for tracking the quality of the path through which data flows across multiple network domains and assisting network managers and their network management applications to analyze Domains and devices where path obstacles or bottlenecks occur for more efficient troubleshooting. The advantages of the centralized control planes having a global view of their respective networks and the characteristics of the switches connected to each other is full used by the present invention, and sends the test results back to the controller that initiated the test to obtain path quality information across the network domain.

Description

可橫跨多個集中式控制平面的路徑品質回報方法 Path quality reporting method that can span multiple centralized control planes

本發明係關於網路品質檢測之技術,尤指一種可橫跨多個集中式控制平面的路徑品質回報方法。 The present invention relates to the technology of network quality detection, and in particular refers to a path quality reporting method that can span multiple centralized control planes.

在傳統網路當中,交換器與路由器除了需要轉發封包,亦需要決定將資料流的封包傳遞到目的地所需經過的路徑,負責決定路由規則與學習網路資訊的控制平面分散在各個交換器與路由器中。由於其分散式的控制平面,傳統網路需要一協作者(orchestrator)協助協同工作,才能提供有效的網路管理工具供網路管理者追蹤並除錯。 In traditional networks, in addition to forwarding packets, switches and routers also need to determine the path through which the packets of the data stream are delivered to the destination. The control plane responsible for determining routing rules and learning network information is scattered across the switches. And the router. Because of its decentralized control plane, traditional networks need an orchestrator to assist in collaborative work in order to provide effective network management tools for network managers to track and debug.

在網路出現問題時或因維運而需要獲取網路資訊時,若無協作者(orchestrator)存在,網路管理者只能主動取得各設備的日誌並分析。網路規模超過一定程度時,交換器的日誌數量便會難以分析,且網路管理者無法即時獲得所需要的網路資訊。此外,由於網路管理者無法確定封包的路徑,只能對所有交換器與路由器的日誌進行分析。 When there is a problem with the network or when network information needs to be obtained due to maintenance, if no collaborator (orchestrator) exists, the network administrator can only actively obtain and analyze the logs of each device. When the network scale exceeds a certain level, the log quantity of the switch will be difficult to analyze, and the network administrator cannot obtain the required network information in real time. In addition, since network administrators cannot determine the path of the packet, they can only analyze the logs of all switches and routers.

傳統網路中最常用的網路除錯工具包括traceroute和ping。Traceroute的運作原理是依序丟出擁有不同存活時間(Time to Live,TTL)值的網際 網路控制訊息協定(Internet Control Message Protocol,ICMP)要求封包,透過所收回的ICMP超時封包取得路徑上各路由器的資訊,惟Traceroute的缺點是無法取得路徑上的完整資訊,如交換器與鏈結的狀態。另外,Ping的運作原理是向目標主機丟出ICMP echo要求,並根據收到的回應封包數量計算封包的遺失率與往返時間,惟Ping的缺點是能取得的網路資訊較少,難以根據其結果進行除錯。 The most commonly used network debugging tools in traditional networks include traceroute and ping. The working principle of Traceroute is to sequentially throw out the Internet with different Time to Live (TTL) values. The Internet Control Message Protocol (ICMP) requires packets to obtain the information of each router on the path through the ICMP timeout packets received. However, the disadvantage of Traceroute is that it cannot obtain complete information on the path, such as switches and chains. The state of the knot. In addition, the operating principle of Ping is to send an ICMP echo request to the target host, and calculate the packet loss rate and round-trip time based on the number of response packets received. However, the disadvantage of Ping is that it can obtain less network information, and it is difficult to base it on it. The result is debugged.

一些網路架構,例如軟體定義網路(Software-Defined Networking,SDN),提供了集中式的控制平面,將交換器的控制平面與轉發平面分離,讓網路的管理者能夠控管網路中的交換器的路由規則,並能夠讀取交換器上的各種計數器值以進行網路狀態監控。然而此種控制器雖然擁有其所控管的網路的資訊,卻普遍缺乏對其他網域的認知,只要資料流一離開控管網路,便無法得知網路的瓶頸與障礙的發生點,無法有足夠資訊進行追蹤、通報與改善。這個問題也發生在擁有多個獨立分部、人事組織與網路控制器的大型公司內部。 Some network architectures, such as Software-Defined Networking (SDN), provide a centralized control plane, which separates the control plane of the switch from the forwarding plane, allowing the network administrator to control the network The routing rules of the switch and the ability to read various counter values on the switch for network status monitoring. However, although this type of controller has information about the network it controls, it generally lacks knowledge of other network domains. As long as the data flow leaves the control network, it will not be able to know where the network bottlenecks and obstacles occur. , There is not enough information to track, report and improve. This problem also occurs in large companies with multiple independent branches, personnel organizations, and network controllers.

於2014年時,IBM發表了基於SDN架構實作的SDN traceroute。SDN traceroute會向待測之起點交換器發送檢測封包,利用SDN交換器可程式化的特性,使檢測封包每流經一段鏈結後就複製一份回傳給SDN控制器回報狀態,藉以確認封包在網路中所流經的完整路徑資訊。然而SDN traceroute假設能夠保留封包標頭(header)中一定欄位作為回傳檢測封包之用,禁止網路中所有元件與網管應用程式使用該欄位,這種作法是不切實際的,另外,封包標頭(header)中所能使用的位元數有限,導致檢測封包與一般封包可能對應到同一個標籤,若網路中存在與檢測封包擁有相同header的封包,則SDN traceroute就無法正確量測路徑。 In 2014, IBM released an SDN traceroute based on the implementation of the SDN architecture. SDN traceroute will send detection packets to the origin switch to be tested, and use the programmable features of the SDN switch to make a copy of the detection packet every time it flows through a link and send it back to the SDN controller to report the status, thereby confirming the packet The complete path information that flows through the network. However, SDN traceroute assumes that certain fields in the packet header (header) can be reserved for return detection packets, and all components and network management applications in the network are prohibited from using this field. This approach is impractical. In addition, The number of bits that can be used in the packet header is limited. As a result, the detection packet and the general packet may correspond to the same label. If there is a packet with the same header as the detection packet in the network, the SDN traceroute will not be able to measure it correctly. Measure the path.

於2016年時,中國上海交通大學發表了基於SDN架構實作的Netography。Netography的機制是先修改SDN交換器上所有的流表規則(flow table entry),再對網路發送帶有特殊PCP欄位的虛擬區域網路(Virtual Local Area Network,VLAN)檢測封包,檢測封包流經所管網域的各個交換器時會被更改成兩層VLAN的Q-in-Q封包,將每一個節點的ID與比對到的流表規則(flow table entry)編號記錄在VLAN ID欄位,並傳回SDN控制器以進行分析。這種作法的問題在於禁止整個管控網路的設備使用VLAN欄位,與現有網路與終端設備的使用情境嚴重互斥,另外,修改所有流表規則的作法在實務上也因可維護性與權限問題而難以施行。 In 2016, Shanghai Jiaotong University in China published Netography based on the implementation of SDN architecture. The mechanism of Netography is to first modify all flow table entries on the SDN switch, and then send a Virtual Local Area Network (VLAN) detection packet with a special PCP field to the network, and detect the packet When flowing through each switch in the managed network domain, it will be changed into a two-layer VLAN Q-in-Q packet. The ID of each node and the flow table entry number compared to the comparison are recorded in the VLAN ID column Bits and pass back to the SDN controller for analysis. The problem with this approach is that the entire management and control network equipment is prohibited from using the VLAN field, which is severely mutually exclusive with the use of existing networks and terminal equipment. In addition, the practice of modifying all flow table rules is practically due to maintainability and It is difficult to implement due to authority issues.

於2014年2月1日公開之我國專利編號第201406114號「用以供應網路路徑之轉譯通訊期資訊」之專利案,係提及一種系統和方法,其會接收對應於與一個伺服器相聯結的通訊期之通訊期資訊(SESSION INFORMATION),以及會將通訊期資訊轉譯成包括一個拓撲佈局參數和一個資料參數的經轉譯之通訊期資訊,該經轉譯之通訊期資訊係為指引一個控制器依據該經轉譯之通訊期資訊來供應一個網路路徑,而該網路路徑係使依從該拓撲佈局參數和資料參數。惟該專利案對於排除故障並不具高效率。 The Chinese Patent No. 201406114 "Translated Communication Period Information Used to Supply Network Paths" published on February 1, 2014 refers to a system and method that will receive data corresponding to a server SESSION INFORMATION of the connected communication period, and will translate the communication period information into translated communication period information including a topology layout parameter and a data parameter. The translated communication period information is to guide a control The device supplies a network path based on the translated communication period information, and the network path is compliant with the topology layout parameters and data parameters. However, the patent case is not efficient for troubleshooting.

於2014年8月20日公開之CN103997432號「Measuring system and method for supporting analysis of OpenFlow application performance」之專利案,其提及一種支援量化分析OpenFlow應用性能的測量系統及方法,該案基於一個OpenFlow網路和一台測量伺服器,所述OpenFlow網路包括一個控制器和n台分別與控制器連接的交換機,n台交換機接受控制器的OpenFlow控制,控制器和n個交換機擴充本地日誌功能和時鐘同步功能後成為測量實體受測量伺服器集 中控制,其特點包括:無集中式性能瓶頸,測量本身對網路應用干擾小;能夠全面獲取資料平面和控制平面資訊;能夠得到控制平面與資料平面之間的交互關係。惟該專利案並無法透過集中式的控制平面以獲得跨網域的路徑品質資訊,實施效能不佳。 The patent case CN103997432 No. "Measuring system and method for supporting analysis of OpenFlow application performance" published on August 20, 2014 refers to a measurement system and method that supports quantitative analysis of OpenFlow application performance. The case is based on an OpenFlow network. And a measurement server. The OpenFlow network includes a controller and n switches respectively connected to the controller. The n switches accept the OpenFlow control of the controller, and the controller and n switches expand the local log function and clock. After the synchronization function, it becomes the measurement entity and the measurement server set The characteristics of the medium control include: no centralized performance bottleneck, and the measurement itself has little interference to network applications; it can fully obtain the data plane and control plane information; it can obtain the interactive relationship between the control plane and the data plane. However, the patent case cannot obtain cross-domain path quality information through a centralized control plane, and the implementation efficiency is not good.

於2017年7月11日公告之我國專利編號第I591983號「基於集中式控制平面的路徑狀態回報演算法」之專利案,其透過發送模擬待檢測資料流的檢測封包,再一一回收網路元件收到檢測封包時傳回的路徑狀態回報,可以追蹤資料流所流經的實際路徑,將辨識資訊填寫在封包payload的作法,能在不限制封包header的使用與修改的前提下,獲得正確的檢測結果,然而此基於集中式控制平面的路徑狀態回報演算法缺乏對其他網域的認知,只要資料流一離開控管網路,便無法得知網路的瓶頸與障礙的發生點,無法有足夠資訊進行追蹤、通報與改善,並非良善之方法。 The patent case of China's patent No. I591983 "Path status report algorithm based on centralized control plane" announced on July 11, 2017, which sends inspection packets that simulate the data stream to be inspected, and then recycles the network one by one. The path status report returned when the component receives the inspection packet can track the actual path through which the data stream flows, and fill in the identification information in the packet payload, which can be correct without restricting the use and modification of the packet header However, the path state report algorithm based on the centralized control plane lacks knowledge of other network domains. As long as the data flow leaves the control network, it is impossible to know the occurrence of network bottlenecks and obstacles. It is not a good way to have enough information to track, report and improve.

綜上可知,傳統網路的控制平面分散在各個網路元件中,封包轉送的規則由各個交換器或路由器彼此交換網路資訊後各自決定。基於集中式控制平面的路徑狀態回報則受限於所控管的網路範圍,缺乏對其他網域的認知,只要資料流一離開控管網路,便無法得知網路的瓶頸與障礙的發生點,無法有足夠資訊進行追蹤、通報與改善。因此在網路出現問題時,缺乏有效的跨網域路徑品質檢測工具供網路管理者追蹤封包所經過的跨域路徑品質以進行除錯。 In summary, the control plane of a traditional network is dispersed in various network components, and the packet forwarding rules are determined by each switch or router after exchanging network information with each other. The path status report based on the centralized control plane is limited by the scope of the controlled network and lacks knowledge of other network domains. As long as the data flow leaves the controlled network, it is impossible to know the bottleneck and obstacles of the network. At the point of occurrence, there is not enough information for tracking, reporting and improvement. Therefore, when there is a problem in the network, there is a lack of effective cross-domain path quality inspection tools for network managers to track the cross-domain path quality of the packet for debugging.

因此,若能找出一種網路品質檢測機制,特別是能追蹤資料流所流經的跨網域路徑品質資訊,此將成為本技術領域人員急欲追求解決方案之目標。 Therefore, if a network quality detection mechanism can be found, especially the quality information of the cross-domain path through which the data flow can be traced, this will become the goal of those skilled in the art who are eager to pursue solutions.

本發明提出一種路徑品質回報機制,用以追蹤橫跨多個網域的資料流所流經的路徑的品質,協助網路管理者及其網管應用程式分析路徑障礙或瓶頸發生的網域與設備,以更有效率地排除故障。本發明的設計著重於與其他網域的集中式控制平面的合作,能與支援同樣方法的網路控制器協同查測,組成跨網域的路徑品質檢測工具,且支援無協作者(orchestrator)的網路架構與任意數量的網域及交換器。 The present invention provides a path quality reporting mechanism to track the quality of the path that data flows across multiple network domains traverse, and assist network managers and their network management applications to analyze the network domains and equipment where path obstacles or bottlenecks occur , In order to troubleshoot more efficiently. The design of the present invention focuses on the cooperation with the centralized control plane of other network domains, and can cooperate with the network controller supporting the same method to check to form a cross-domain path quality inspection tool, and supports non-collaborators (orchestrator) Network architecture with any number of domains and switches.

為達到上述目的與其他目的,本發明係提出一種可橫跨多個集中式控制平面的路徑品質回報方法,係包括:令發起查測的集中式控制平面根據欲檢測之資料流,產生出模擬實際封包之檢測封包,以檢測該資料流於網路中所流經之實際路徑;發送該檢測封包至該發起查測的集中式控制平面所控管的網路中,以透過該發起查測的集中式控制平面所控管的網路中之網路設備的回報進行路徑查測;於該檢測封包進入同樣支援該路徑查測之其他集中式控制平面中之至少一者所控管的網路時,執行該發起查測的集中式控制平面與該其他集中式控制平面中之至少一者間之合作,以進行跨域路徑檢測;令該其他集中式控制平面中之至少一者於接收其所控管的網路中之網路設備的回報後,產生帶有路徑查測資訊的跨域回報封包,以轉送該跨域回報封包到該發起查測的集中式控制平面,使該發起查測的集中式控制平面取得跨域路徑品質資訊;以及回報該資料流之實際路徑與路徑品質狀態。 In order to achieve the above and other objectives, the present invention proposes a path quality report method that can span multiple centralized control planes. The method includes: the centralized control plane that initiates the inspection generates a simulation based on the data stream to be inspected. The detection packet of the actual packet to detect the actual path that the data flow traverses in the network; send the detection packet to the network controlled by the centralized control plane that initiates the inspection, so as to initiate the inspection through the inspection packet The report of the network equipment in the network controlled by the centralized control plane performs path inspection; the inspection packet enters the network controlled by at least one of the other centralized control planes that also support the path inspection During the road, perform the cooperation between the centralized control plane that initiated the investigation and at least one of the other centralized control planes to perform cross-domain path detection; make at least one of the other centralized control planes to receive After the report of the network equipment in the network under its control, a cross-domain report packet with path inspection information is generated to forward the cross-domain report packet to the centralized control plane that initiated the inspection, so that the initiation The centralized control plane of the survey obtains cross-domain path quality information; and reports the actual path and path quality status of the data stream.

於上述方法中,該令發起查測的集中式控制平面根據欲檢測之資料流,產生出模擬實際封包之檢測封包,以檢測該資料流於網路中所流經之實際路徑之步驟中,係包括下列子步驟:讀取網路管理者或網路管理應用程式所 提供的欲檢測資料流資訊,以取得該資料流之資訊;根據該資料流之資訊產生該檢測封包之標頭(header)欄位,以使所有的網路設備以同樣的路由規則進行轉送;以及於該檢測封包中產生出帶有特殊關鍵字以及檢測所需資訊之本體(payload)。 In the above method, the centralized control plane that initiates the inspection will generate a detection packet that simulates the actual packet based on the data flow to be detected, so as to detect the actual path through which the data flow flows in the network. The system includes the following sub-steps: read the network manager or network management application Provide the information of the data stream to be detected to obtain the information of the data stream; generate the header field of the detection packet based on the information of the data stream, so that all network devices can forward it with the same routing rules; And a payload with special keywords and information required for detection is generated in the detection packet.

於上述方法中,該發送該檢測封包至該發起查測的集中式控制平面所控管的網路中,以透過該發起查測的集中式控制平面所控管的網路中之網路設備的回報進行路徑查測之步驟中,係包括下列子步驟:將該檢測封包發送至該資料流的起點交換器;以及令該發起查測的集中式控制平面等待接收該起點交換器所回報之檢測封包並記錄回報時間,再按照路由規則將該檢測封包傳遞給下一個交換器,以進行後續檢測。另外,復包括判斷檢測時間是否已達上限,以於該檢測時間已達上限時,執行回報,或是於該檢測時間未達該上限時,持續等待接收該起點交換器或該下一個交換器之回報。 In the above method, the detection packet is sent to the network controlled by the centralized control plane that initiated the inspection, so as to use the network equipment in the network controlled by the centralized control plane that initiated the inspection The step of path inspection for the report includes the following sub-steps: sending the inspection packet to the origin switch of the data stream; and making the centralized control plane that initiated the inspection wait to receive the report from the origin switch Check the packet and record the report time, and then pass the check packet to the next switch according to the routing rules for subsequent detection. In addition, it includes judging whether the detection time has reached the upper limit, so that when the detection time has reached the upper limit, the report is executed, or when the detection time has not reached the upper limit, it continues to wait to receive the origin switch or the next switch The return.

於上述方法中,該於該檢測封包進入同樣支援該路徑查測之其他集中式控制平面中之至少一者所控管的網路時,執行該發起查測的集中式控制平面與該其他集中式控制平面中之至少一者間之合作,以進行跨域路徑檢測之步驟中,係包括下列子步驟:令該其他集中式控制平面中之至少一者將收到該檢測封包的第一個遠端交換器與連接埠標記為該路徑查測的邊界交換器與邊界連接埠;以及令該其他集中式控制平面中之至少一者等待並接收該第一個遠端交換器所回報之檢測封包並記錄回報時間,再按照路由規則將該檢測封包傳遞給下一個交換器,以進行後續檢測。 In the above method, when the detection packet enters a network controlled by at least one of the other centralized control planes that also supports the path detection, the centralized control plane that initiated the detection and the other centralized control plane are executed. The step of cooperating with at least one of the control planes to perform cross-domain path detection includes the following sub-steps: so that at least one of the other centralized control planes will receive the first detection packet The remote switch and the port are marked as the boundary switch and the boundary port of the path inspection; and at least one of the other centralized control planes waits for and receives the detection reported by the first remote switch Packet and record the report time, and then pass the detection packet to the next switch according to the routing rules for subsequent detection.

於上述方法中,該令該其他集中式控制平面中之至少一者於接收其所控管的網路中之網路設備的回報後,產生帶有路徑查測資訊的跨域回報封 包,以轉送該跨域回報封包到該發起查測的集中式控制平面,使該發起查測的集中式控制平面取得跨域路徑品質資訊之步驟中,係包括下列子步驟:於該其他集中式控制平面中之至少一者產生該跨域回報封包時,令該跨域回報封包的標頭(header)欄位的來源端與目的端之值與該檢測封包相反,以及令該跨域回報封包的本體(payload)帶有特殊關鍵字與該路徑查測資訊;以及令該跨域回報封包透過邊界交換器的邊界連接埠,沿著資料平面送回該發起查測的集中式控制平面所控管的網路,使該發起查測的集中式控制平面取得該跨域路徑品質資訊。 In the above method, after at least one of the other centralized control planes receives the report from the network equipment in the network under its control, it generates a cross-domain report seal with path survey information Packet to forward the cross-domain report packet to the centralized control plane that initiated the inspection, so that the centralized control plane that initiated the inspection obtains the cross-domain path quality information. The steps include the following sub-steps: in the other centralized When at least one of the control planes generates the cross-domain report packet, make the source and destination values of the header field of the cross-domain report packet opposite to the detection packet, and make the cross-domain report The payload of the packet carries a special keyword and the path search information; and the cross-domain report packet is sent back along the data plane to the centralized control plane that initiated the inspection through the boundary port of the boundary switch. The controlled network enables the centralized control plane that initiated the survey to obtain the cross-domain path quality information.

於前述方法中,若非發起查測之集中式控制平面收到該跨域回報封包時,則該非發起查測之集中式控制平面將帶有該路徑查測資訊之該跨域回報封包透過該非發起查測之集中式控制平面所在網路之邊界交換器的邊界連接埠,送回該發起查測的集中式控制平面所控管的網路。 In the foregoing method, if the non-initiating centralized control plane receives the cross-domain report packet, the non-initiating centralized control plane will pass the cross-domain report packet with the path inspection information through the non-initiating centralized control plane The boundary port of the boundary switch of the network where the centralized control plane under investigation is located is sent back to the network controlled by the centralized control plane that initiated the investigation.

於前述方法中,該路徑查測資訊係紀錄各遠端交換器將該檢測封包回報至該其他集中式控制平面時所取得的遠端路徑品質查測資訊。 In the aforementioned method, the path inspection information records the remote path quality inspection information obtained when each remote switch reports the inspection packet to the other centralized control plane.

於上述方法中,該回報該資料流之實際路徑與路徑品質狀態之步驟中,係包括向網路管理者回報檢測階段時根據網路元件之回報所分析出的該資料流之實際路徑與路徑品質狀態,或是該網路管理者於檢測過程中讀取階段性的回報資訊與路徑品質狀態。 In the above method, the step of reporting the actual path and path quality status of the data stream includes reporting to the network manager the actual path and path of the data stream analyzed according to the report of the network component during the detection phase Quality status, or the network manager reads periodic report information and path quality status during the inspection process.

於上述方法中,該資料流之實際路徑與路徑品質狀態包含實際路徑、各段鏈結延遲、總路徑延遲或封包遺失率。 In the above method, the actual path and path quality status of the data stream include the actual path, the link delay of each segment, the total path delay, or the packet loss rate.

於上述方法中,復包括透過路由(Routing)應用程式檢查該檢測封包流經的實際路徑與運算結果是否一致,以確認為該檢測封包所建置之路徑是否成功。 In the above method, the method further includes checking whether the actual path through which the detection packet flows is consistent with the calculation result through a routing application program to confirm whether the path constructed for the detection packet is successful.

綜上可知,本發明提出一種可橫跨多個集中式控制平面的路徑品質回報方法,用以追蹤資料流所流經的跨網域路徑品質資訊。相較於傳統ping與traceroute,本發明能夠將完整的網路資訊回報給網路管理者,而相較於SDN traceroute與Netography,本發明並不限制其他網路管理程式與終端設備對封包header的使用與修改。再者,本發明能與支援同樣方法的網路控制器協同查測,組成跨網域的路徑品質檢測工具,且支援無協作者(orchestrator)的網路架構與任意數量的網域及交換器,提供更完整的品質分析與障礙排除能力。 In summary, the present invention proposes a path quality reporting method that can span multiple centralized control planes to track the cross-domain path quality information through which the data stream flows. Compared with traditional ping and traceroute, the present invention can report complete network information to the network administrator. Compared with SDN traceroute and Netography, the present invention does not limit other network management programs and terminal devices to the packet header. Use and modification. Furthermore, the present invention can cooperate with network controllers that support the same method to form a cross-domain path quality detection tool, and supports network architecture without orchestrator and any number of domains and switches. , Provide a more complete quality analysis and obstacle removal capabilities.

11:創建階段 11: Creation phase

12:檢測階段 12: Detection stage

13:跨域檢測階段 13: Cross-domain detection phase

14:跨域回報階段 14: Cross-domain return phase

15:回報階段 15: Payback phase

111-113:流程 111-113: Process

121-124:流程 121-124: Process

131-132:流程 131-132: Process

141-143:流程 141-143: Process

151:流程 151: Process

21、22:網路 21, 22: Internet

31、32、33:網域 31, 32, 33: domain

210、310:起點交換器 210, 310: Starting point switch

220、320、330:邊界交換器 220, 320, 330: boundary switch

211-216:流程 211-216: Process

221-224:流程 221-224: Process

311:流程 311: process

321-324:流程 321-324: Process

331-334:流程 331-334: Process

S11~S15:步驟 S11~S15: steps

請參閱以下有關本發明之詳細說明及其附圖,將可進一步瞭解本發明之技術內容及其目的功效,相關附圖說明如下。 Please refer to the following detailed description of the present invention and its accompanying drawings to further understand the technical content of the present invention and its objectives and effects. The relevant drawings are described as follows.

第1圖為本發明之可橫跨多個集中式控制平面的路徑品質回報方法的步驟圖。 Figure 1 is a step diagram of the path quality reporting method that can span multiple centralized control planes of the present invention.

第2圖為實施本發明之可橫跨多個集中式控制平面的路徑品質回報方法的流程圖。 Figure 2 is a flow chart of implementing the method of path quality reporting that can span multiple centralized control planes of the present invention.

第3圖為本發明與一個遠端控制平面協同運作之檢測封包傳遞流程示意圖。 Figure 3 is a schematic diagram of the detection packet delivery process of the present invention working in cooperation with a remote control plane.

第4圖為本發明與多個遠端控制平面協同運作之檢測封包傳遞流程示意圖。 Figure 4 is a schematic diagram of the detection packet delivery process of the present invention working in cooperation with multiple remote control planes.

以下藉由特定的具體實施形態說明本發明之技術內容,熟悉 此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之優點與功效。然本發明亦可藉由其他不同的具體實施形態加以施行或應用。 In the following, the technical content of the present invention will be explained through specific specific embodiments. Those skilled in the art can easily understand the advantages and effects of the present invention from the content disclosed in this specification. However, the present invention can also be implemented or applied by other different specific embodiments.

傳統網路由於控制平面分散在各網路元件中,基於集中式控制平面的路徑狀態回報則受限於所控管的網路範圍,缺乏對其他網域的認知,難以發展有效的跨網域路徑品質檢測工具來追蹤封包所經過的跨域路徑品質。 Because the control plane of the traditional network is scattered among various network components, the path status report based on the centralized control plane is limited by the range of the network under control, lacking knowledge of other network domains, and it is difficult to develop effective cross-network domains. Path quality inspection tool to track the quality of the cross-domain path that the packet passes.

本發明提出一種可橫跨多個集中式控制平面的路徑品質回報方法,透過與支援同樣方法的網路控制器協同查測,以獲得跨網域的路徑品質資訊,協助網路管理者及其網管應用程式分析路徑障礙或瓶頸發生的網域與設備,以更有效率地排除故障。本發明之方法可支援無協作者(orchestrator)的架構與任意數量的網域及交換器,此外,考量到現有網路與終端設備的使用情境與實務上的可維護性及權限問題,本發明將查測結果寫在本體(payload)當中,利用集中式控制平面擁有各自網路的全域觀的優點與交換器彼此連接的特性,將跨域的查測資訊透過資料平面(data plane)送回發起查測的控制器,並以模擬實際封包的作法與現有網路相容,因此,可和其他網域的控制平面及設備良好結合。 The present invention proposes a path quality reporting method that can span multiple centralized control planes. Through collaborative inspection with a network controller supporting the same method, cross-domain path quality information can be obtained to assist network managers and their The network management application analyzes the network domains and devices where path barriers or bottlenecks occur, so as to troubleshoot more efficiently. The method of the present invention can support an orchestrator-free architecture and any number of network domains and switches. In addition, considering the existing network and terminal equipment usage scenarios and practical maintainability and authority issues, the present invention Write the inspection results in the payload, and use the centralized control plane to have the advantages of the global view of each network and the characteristics of the switch interconnection, and send the cross-domain inspection information back through the data plane. The controller that initiates the inspection is compatible with the existing network by simulating actual packets. Therefore, it can be well integrated with the control plane and equipment of other network domains.

第1圖為本發明之可橫跨多個集中式控制平面的路徑品質回報方法的步驟圖。 Figure 1 is a step diagram of the path quality reporting method that can span multiple centralized control planes of the present invention.

於步驟S11,令發起查測的集中式控制平面根據欲檢測之資料流,產生出模擬實際封包之檢測封包,以檢測該資料流於網路中所流經之實際路徑。此步驟為創建階段,發起查測的集中式控制平面會根據欲檢測的資料流,產生出模擬實際封包的檢測封包,用來檢測資料流在網路中所流經的實際路徑。 In step S11, the centralized control plane that initiates the inspection is caused to generate a detection packet that simulates the actual packet according to the data flow to be detected, so as to detect the actual path of the data flow through the network. This step is the creation phase. The centralized control plane that initiates the inspection will generate a detection packet that simulates the actual packet based on the data flow to be detected, which is used to detect the actual path that the data flow travels through the network.

於步驟S12,發送該檢測封包至該發起查測的集中式控制平面所控管的網路中,以透過該發起查測的集中式控制平面所控管的網路中之網路設 備的回報進行路徑查測。此步驟為檢測階段,進行將檢測封包發送至發起查測的集中式控制平面所控管的網路中,透過其中網路設備的回報進行路徑查測。 In step S12, the detection packet is sent to the network controlled by the centralized control plane that initiated the inspection, so as to use the network devices in the network controlled by the centralized control plane that initiated the inspection. The prepared report will be used for path inspection. This step is the detection phase. The detection packet is sent to the network controlled by the centralized control plane that initiated the detection, and the path is checked through the report of the network equipment.

於步驟S13,於該檢測封包進入同樣支援該路徑查測之其他集中式控制平面中之至少一者所控管的網路時,執行該發起查測的集中式控制平面與該其他集中式控制平面中之至少一者間之合作,以進行跨域路徑檢測。此步驟為跨域檢測階段,若檢測封包進入其他支援本方法之其他集中式控制平面的任何一者所控管的網路中,此時將進行與遠端之其他集中式控制平面合作,進行跨域路徑檢測。 In step S13, when the detection packet enters a network controlled by at least one of the other centralized control planes that also supports the path detection, the centralized control plane that initiated the detection and the other centralized control are executed Cooperation between at least one of the planes to perform cross-domain path detection. This step is the cross-domain detection phase. If the detected packet enters the network controlled by any other centralized control plane that supports this method, it will cooperate with other remote centralized control planes at this time. Cross-domain path detection.

於步驟S14,令該其他集中式控制平面中之至少一者於接收其所控管的網路中之網路設備的回報後,產生帶有路徑查測資訊的跨域回報封包,以轉送該跨域回報封包到該發起查測的集中式控制平面,使該發起查測的集中式控制平面取得跨域路徑品質資訊。此步驟為跨域回報階段,產生帶有路徑查測資訊的跨域回報封包,以轉送回發起查測的集中式控制平面,使其取得跨域路徑品質資訊。 In step S14, after at least one of the other centralized control planes receives the report from the network equipment in the network under its control, generates a cross-domain report packet with path detection information to forward the report The cross-domain report packet is sent to the centralized control plane that initiated the inspection, so that the centralized control plane that initiated the inspection obtains the cross-domain path quality information. This step is the cross-domain reporting stage, which generates a cross-domain report packet with path survey information and forwards it back to the centralized control plane that initiated the survey, so that it can obtain cross-domain path quality information.

於步驟S15,回報該資料流之實際路徑與路徑品質狀態。此步驟為回報階段,主要是向網路管理者回報資料流實際路徑與路徑品質狀態。 In step S15, the actual path and path quality status of the data stream are reported. This step is the reporting stage, which is mainly to report the actual path and path quality status of the data flow to the network manager.

由上可知,檢測階段時,檢測封包送至發起查測的集中式控制平面控管的網路中,透過該網路中網路設備的回報進行路徑查測,跨域檢測階段與遠端之集中式控制平面合作,跨域回報階段產生帶有路徑查測資訊的跨域回報封包以轉送回發起查測的集中式控制平面,最後,回報階段向網路管理者回報資料流實際路徑與路徑品質狀態,如此可獲得跨網域的路徑品質資訊,協助網路管理者分析路徑障礙或瓶頸發生的網域與設備,以更有效率地排除故障。 It can be seen from the above that in the detection phase, the detection packet is sent to the network controlled by the centralized control plane that initiated the detection, and the path detection is performed through the report of the network equipment in the network. The cross-domain detection phase and the remote Centralized control plane cooperation, the cross-domain report stage generates a cross-domain report packet with path inspection information to be forwarded back to the centralized control plane that initiated the inspection, and finally, the report stage reports the actual path and path of the data flow to the network manager Quality status, so that cross-domain path quality information can be obtained, which helps network managers analyze the domains and equipment where path barriers or bottlenecks occur, so as to troubleshoot more efficiently.

於一實施例中,步驟S11係包括讀取網路管理者或網路管理應用程式所提供的欲檢測資料流資訊,以取得該資料流之資訊;根據該資料流之資訊產生該檢測封包之標頭(header)欄位,以使所有的網路設備以同樣的路由規則進行轉送;以及於該檢測封包中產生出帶有特殊關鍵字以及檢測所需資訊之本體(payload)。 In one embodiment, step S11 includes reading the data stream information to be detected provided by the network administrator or network management application to obtain the information of the data stream; and generating the detection packet based on the information of the data stream The header field is used to enable all network devices to forward with the same routing rules; and a payload with special keywords and information required for detection is generated in the detection packet.

於一實施例中,步驟S12係包括將該檢測封包發送至該資料流的起點交換器;以及令該發起查測的集中式控制平面等待接收該起點交換器所回報之檢測封包並記錄回報時間,再按照路由規則將該檢測封包傳遞給下一個交換器,以進行後續檢測。 In one embodiment, step S12 includes sending the detection packet to the origin switch of the data stream; and making the centralized control plane that initiated the survey wait to receive the detection packet reported by the origin switch and record the report time , And then pass the detection packet to the next switch according to the routing rules for subsequent detection.

另外,步驟S12復包括判斷檢測時間是否已達上限,以於該檢測時間已達上限時,執行回報,或是於該檢測時間未達該上限時,持續等待接收該起點交換器或該下一個交換器之回報。 In addition, step S12 also includes determining whether the detection time has reached the upper limit, so that when the detection time has reached the upper limit, a report is executed, or when the detection time has not reached the upper limit, it continues to wait to receive the origin switch or the next switch. Exchanger's return.

於一實施例中,步驟S13係令該其他集中式控制平面中之至少一者將收到該檢測封包的第一個遠端交換器與連接埠標記為該路徑查測的邊界交換器與邊界連接埠;以及令該其他集中式控制平面中之至少一者等待並接收該第一個遠端交換器所回報之檢測封包並記錄回報時間,再按照路由規則將該檢測封包傳遞給下一個交換器,以進行後續檢測。 In one embodiment, step S13 is to enable at least one of the other centralized control planes to mark the first remote switch and port that received the detection packet as the boundary switch and boundary of the path inspection Port; and make at least one of the other centralized control planes wait for and receive the detection packet reported by the first remote switch and record the reporting time, and then pass the detection packet to the next switch according to the routing rules Device for subsequent testing.

於一實施例中,步驟S14係於該其他集中式控制平面中之至少一者產生該跨域回報封包時,令該跨域回報封包的標頭(header)欄位的來源端與目的端之值與該檢測封包相反,以及令該跨域回報封包的本體(payload)帶有特殊關鍵字與該路徑查測資訊;以及令該跨域回報封包透過邊界交換器的邊界連接埠,沿著資料平面送回該發起查測的集中式控制平面所控管的網路,使該發起 查測的集中式控制平面取得該跨域路徑品質資訊。前述之路徑查測資訊係紀錄各遠端交換器將該檢測封包回報至該其他至少一集中式控制平面時所取得的遠端路徑品質查測資訊。 In one embodiment, step S14 is when at least one of the other centralized control planes generates the cross-domain report packet, making the header field of the cross-domain report packet one of the source end and the destination end The value is opposite to the detection packet, and the payload of the cross-domain report packet has special keywords and the path search information; and the cross-domain report packet passes through the border port of the border switch along the data The plane sends back the network controlled by the centralized control plane that initiated the investigation, so that the initiation The inspected centralized control plane obtains the cross-domain path quality information. The aforementioned path inspection information records the remote path quality inspection information obtained when each remote switch reports the inspection packet to the at least one other centralized control plane.

於步驟S14中,若收到該跨域回報封包為非發起查測之集中式控制平面時,則該非發起查測之集中式控制平面將帶有該路徑查測資訊之該跨域回報封包透過該非發起查測之集中式控制平面所在網路之邊界交換器的邊界連接埠,送回該發起查測的集中式控制平面所控管的網路。 In step S14, if the cross-domain report packet received is a centralized control plane that does not initiate inspection, the non-initiated centralized control plane will pass the cross-domain report packet with the path inspection information through The boundary port of the boundary switch of the network where the centralized control plane that initiated the investigation is located is sent back to the network controlled by the centralized control plane that initiated the investigation.

於一實施例中,步驟S15係包括向網路管理者回報檢測階段時根據網路元件之回報所分析出的該資料流之實際路徑與路徑品質狀態,或是該網路管理者於檢測過程中讀取階段性的回報資訊與路徑品質狀態。前述之資料流之實際路徑與路徑品質狀態包含實際路徑、各段鏈結延遲、總路徑延遲或封包遺失率。 In one embodiment, step S15 includes reporting to the network manager the actual path and path quality status of the data stream analyzed according to the report of the network component during the detection phase, or the network manager in the detection process Read the periodic report information and path quality status. The aforementioned actual path and path quality status of the data stream include actual path, link delay of each segment, total path delay, or packet loss rate.

另外,本發明復能透過路由(Routing)應用程式檢查該檢測封包流經的實際路徑與運算結果是否一致,藉以確認為該檢測封包所建置之路徑是否成功。 In addition, the present invention can check whether the actual path through which the detection packet flows is consistent with the calculation result through a routing application program, so as to confirm whether the path constructed for the detection packet is successful.

由上可知,本發明之方法符合成本效益,著重於與其他網域的集中式控制平面的合作,能與支援同樣方法的網路控制器協同查測,組成跨網域的路徑品質檢測工具,且支援無協作者(orchestrator)的網路架構與任意數量的網域及交換器。作為網路自我優化的資料依據,採用可橫跨多個集中式控制平面的路徑品質回報演算機制,能夠追蹤查測封包所流經的網域與網路節點,對網路管理者及網管應用程式提供更有效率的品質分析與障礙排除能力,能夠大大地減少了資本支出(Capital expenditure,CAPEX)和營業費用(operating expense, OPEX)。 It can be seen from the above that the method of the present invention is cost-effective and focuses on the cooperation with the centralized control plane of other network domains, and can cooperate with the network controller supporting the same method to check and form a cross-domain path quality inspection tool. And it supports network architecture without orchestrator and any number of domains and switches. As the data basis for network self-optimization, it adopts a path quality return calculation mechanism that can span multiple centralized control planes, which can track and check the network domains and network nodes through which packets flow, and is applied to network administrators and network management The program provides more efficient quality analysis and obstacle removal capabilities, which can greatly reduce capital expenditure (CAPEX) and operating expense (operating expense, OPEX).

第2圖為實施本發明之可橫跨多個集中式控制平面的路徑品質回報方法的流程圖。本發明提出一種可橫跨多個集中式控制平面的路徑品質回報方法,會根據所欲檢測之資料流產生出檢測封包,再向起點交換器發送檢測封包,透過使網路設備與其他網域的集中式控制平面在收到檢測封包時主動回報結果,來確認指定的資料流在跨域網路中所流經的路徑品質,作為網路環境除錯的判斷依據。如圖所示,本發明的檢測流程主要分為五個階段,分別是創建階段11、檢測階段12、跨域檢測階段13、跨域回報階段14與回報階段15。 Figure 2 is a flow chart of implementing the method of path quality reporting that can span multiple centralized control planes of the present invention. The present invention proposes a path quality report method that can span multiple centralized control planes. It will generate a detection packet based on the data stream to be detected, and then send the detection packet to the origin switch, through the network equipment and other network domains. The centralized control plane actively reports the results when receiving inspection packets to confirm the path quality of the specified data flow in the cross-domain network, as a judgment basis for network environment debugging. As shown in the figure, the detection process of the present invention is mainly divided into five stages, namely the creation stage 11, the detection stage 12, the cross-domain detection stage 13, the cross-domain return stage 14 and the return stage 15.

於創建階段11中,發起查測的集中式控制平面會先根據欲檢測的資料流,產生出模擬實際封包的檢測封包,用來檢測資料流在網路中所流經的實際路徑。該創建階段11包括給出要查測的資料流資訊流程111、產生檢測封包的標頭(header)流程112以及產生檢測封包的本體(payload)流程113。首先,於給出要查測的資料流資訊流程111中,會讀取網路管理者或網路管理應用程式所提供的欲檢測的資料流資訊,包含但不限於來源MAC、目的地MAC、來源IP、目的地IP與VLAN等可用來識別封包的資訊。接著,於產生檢測封包的標頭流程112中,會根據前一流程取得之欲檢測的資料流資訊來產生檢測封包的標頭欄位,以確保檢測封包與欲檢測的資料流的實際封包具有同樣的特徵,使網路設備以同樣的路由規則進行轉送。最後,於產生檢測封包的本體流程113中,會產生出帶有特殊關鍵字與檢測所需資訊的本體(payload),其中,特殊關鍵字可例如“CheckPacket”,可用以分辨檢測封包與其他擁有相同header的封包,檢測所需資訊則能填入路徑品質回報方法所需的其他資訊,包含但不限於任務ID、送出的控制器名稱、送出的交換器ID、送出的時間等資訊,以增加查測的項目、內 容與擴充彈性。上述作法並不限制其他網路管理應用程式對封包header的使用,能更好的與其相容。 In the creation phase 11, the centralized control plane that initiates the inspection will first generate a detection packet that simulates the actual packet based on the data flow to be detected, which is used to detect the actual path of the data flow through the network. The creation stage 11 includes a process 111 for providing data stream information to be checked, a process 112 for generating a header of the detection packet, and a process 113 for generating a payload of the detection packet. First of all, in the process 111 of giving data flow information to be checked, the data flow information to be checked provided by the network administrator or network management application is read, including but not limited to source MAC, destination MAC, Source IP, destination IP, VLAN, and other information that can be used to identify packets. Then, in the header process 112 for generating the detection packet, the header field of the detection packet is generated according to the data flow information to be detected obtained in the previous process to ensure that the actual packet of the detection packet and the data flow to be detected has The same feature enables network equipment to forward with the same routing rules. Finally, in the ontology process 113 for generating the inspection packet, an ontology (payload) with a special keyword and information required for inspection is generated. The special keyword can be, for example, "CheckPacket", which can be used to distinguish the inspection packet from other possessions. For packets with the same header, the information required for detection can be filled in other information required by the path quality reporting method, including but not limited to task ID, sent controller name, sent switch ID, sending time and other information to increase Items to be inspected, internal Capacity and expansion flexibility. The above approach does not restrict the use of packet headers by other network management applications, and is more compatible with it.

完成檢測封包的創建之後,接著進入檢測階段12,將檢測封包發送至所控管的網路中,透過網路設備的回報進行路徑查測,該檢測階段12包括將檢測封包發送給起點交換器流程121、等待並接收交換器即時回報流程122、檢測封包進入遠端網域判斷流程123以及已到時間上限判斷流程124。於將檢測封包發送給起點交換器流程121中,發起查測的集中式控制平面會將創建階段11產生出之檢測封包發送至欲檢測資料流的起點交換器,之後,發起查測的集中式控制平面會進入等待並接收交換器即時回報;於等待並接收交換器即時回報流程122分為兩部份,發起查測的集中式控制平面會等待接收交換器所回報之檢測封包並記錄回報時間,交換器則是在收到檢測封包後,主動將檢測封包傳回本發明方法所在之實體伺服器,然後再按照路由規則將檢測封包傳遞給下一個交換器,以進行後續檢測;於檢測封包進入遠端網域判斷流程123中,主要判斷檢測封包是否進入遠端網域,若檢測封包離開發起查測的集中式控制平面所控管的網路,進入其他支援本發明方法之其他至少一集中式控制平面所控管的網路中,則會進入跨域檢測階段13;最後,於已到時間上限判斷流程124,主要判斷檢測時間上限是否已到,若是,則進入回報階段15,反之,則回到等待並接收交換器即時回報流程122,即等待後續交換器之回報。 After completing the creation of the detection packet, proceed to the detection stage 12, send the detection packet to the controlled network, and perform path inspection through the report of the network equipment. The detection stage 12 includes sending the detection packet to the origin switch Process 121, wait and receive the switch real-time report process 122, the detection packet enters the remote network domain judgment process 123, and the time limit judgment process 124. In the process 121 of sending inspection packets to the origin switch, the centralized control plane that initiated the inspection sends the inspection packets generated in the creation phase 11 to the origin switch of the data flow to be inspected, and then the centralized control plane that initiates inspection The control plane will wait and receive the switch's real-time report; the wait-and-receive switch real-time report process 122 is divided into two parts. The centralized control plane that initiates the inspection will wait to receive the detection packet reported by the switch and record the report time After receiving the detection packet, the switch actively transmits the detection packet back to the physical server where the method of the present invention is located, and then transmits the detection packet to the next switch according to the routing rules for subsequent detection; in the detection packet Entering the remote network domain judgment process 123 mainly determines whether the detection packet enters the remote network domain. If the detection packet leaves the network controlled by the centralized control plane that initiated the detection, it enters at least one other supporting method of the present invention. In the network controlled by the centralized control plane, it will enter the cross-domain detection stage 13; finally, in the time limit determination process 124, it is mainly determined whether the detection time limit has been reached, if it is, it will enter the report stage 15, and vice versa , Then return to the waiting and receiving switch immediate report process 122, that is, wait for the return of the subsequent switch.

於跨域檢測階段13中,發起查測的集中式控制平面會與遠端之集中式控制平面合作,進行跨域路徑檢測,該跨域檢測階段13包括標記邊界交換器流程131以及等待並接收遠端交換器即時回報流程132。於標記邊界交換器流程131中,發生於檢測封包進入其他支援本發明方法之其他至少一集中式控制 平面所控管的網路時,收到此檢測封包的第一個遠端交換器與連接埠將會被遠端之集中式控制平面標記為此次查測的邊界交換器與邊界連接埠,接著進入等待並接收遠端交換器即時回報流程132;等待並接收遠端交換器即時回報流程132分為兩部份,遠端之集中式控制平面會等待接收遠端交換器所回報之檢測封包並記錄回報時間,遠端交換器則是在收到檢測封包後,主動將檢測封包傳回遠端之集中式控制平面所在之實體伺服器,然後再按照路由規則將檢測封包傳遞給下一個交換器,進行後續檢測。 In the cross-domain detection stage 13, the centralized control plane that initiates the inspection will cooperate with the remote centralized control plane to perform cross-domain path detection. The cross-domain detection stage 13 includes marking the boundary switch process 131 and waiting and receiving The remote switch reports the process 132 in real time. In the label boundary switch process 131, it is detected that the packet enters other at least one centralized control that supports the method of the present invention When the network is controlled by the plane, the first remote switch and port that receives this detection packet will be marked by the remote centralized control plane as the boundary switch and boundary port of the current inspection. Then enter the wait and receive remote switch real-time report process 132; the wait and receive remote switch real-time report process 132 is divided into two parts, the remote centralized control plane will wait to receive the detection packet reported by the remote switch And record the report time. After receiving the detection packet, the remote switch actively transmits the detection packet back to the physical server where the remote centralized control plane is located, and then transmits the detection packet to the next switch according to the routing rules Detector for follow-up testing.

遠端之集中式控制平面接收到遠端交換器所回報之檢測封包後,將會進入跨域回報階段14,產生帶有路徑查測資訊的跨域回報封包,以轉送回發起查測的集中式控制平面,使其取得跨域路徑品質資訊,該跨域回報階段14包括產生跨域回報封包流程141、將跨域回報封包發送給邊界交換器流程142與發起查測的集中式控制平面收到跨域回報封包流程143。於產生跨域回報封包流程141中,遠端之集中式控制平面會產生出跨域回報封包,之後進入將跨域回報封包發送給邊界交換器流程142,其中,該跨域回報封包的header欄位會填入與檢測封包相反方向的來源端值與目的端值,故可透過資料平面沿原路返回發起查測的集中式控制平面所控管的網路,該跨域回報封包的payload則帶有特殊關鍵字與路徑查測資訊,特殊關鍵字可例如“ReportPacket”,可用以分辨跨域回報封包與其他擁有相同header的封包,路徑查測資訊則填入遠端交換器將檢測封包回報至遠端之集中式控制平面時所取得的遠端路徑品質查測資訊,包含但不限於任務ID、送出與接收的控制器名稱、送出與接收的交換器ID、送出與接收的時間、接收的交換器埠號等資訊;於將跨域回報封包發送給邊界交換器流程142中,會利用交換器彼此連接的特性,將跨域回報封包透過邊界交換器的邊 界連接埠、沿著資料平面送回發起查測的集中式控制平面所控管的網路,之後進入發起查測的集中式控制平面收到跨域回報封包流程143;於發起查測的集中式控制平面收到跨域回報封包流程143中,發起查測的集中式控制平面會透過跨域回報封包取得跨網域的路徑品質資訊,並回到檢測階段12,藉以等待更多遠端回報結果。 After the remote centralized control plane receives the detection packet reported by the remote switch, it will enter the cross-domain report stage 14, generating a cross-domain report packet with path detection information, and then forward it back to the centralized that initiated the detection The cross-domain report stage 14 includes the process of generating a cross-domain report packet 141, sending the cross-domain report packet to the border switch process 142, and the centralized control plane that initiates the inspection. Go to the cross-domain report packet process 143. In the process of generating a cross-domain report packet 141, the remote centralized control plane will generate a cross-domain report packet, and then enter the process of sending the cross-domain report packet to the border switch 142, where the header column of the cross-domain report packet The bits will be filled with the source and destination values in the opposite direction of the detected packet, so the data plane can be used to return to the network controlled by the centralized control plane that initiated the inspection along the original path. The payload of the cross-domain report packet is With special keywords and path inspection information, special keywords such as "ReportPacket" can be used to distinguish cross-domain report packets from other packets with the same header. The path inspection information is filled into the remote switch and the packet inspection report is returned. The remote path quality inspection information obtained when reaching the remote centralized control plane, including but not limited to task ID, sending and receiving controller name, sending and receiving switch ID, sending and receiving time, receiving The switch port number and other information; in the process 142 of sending the cross-domain report packet to the border switch, the characteristics of the interconnection of the switches will be used to pass the cross-domain report packet through the edge of the border switch. It sends back to the network controlled by the centralized control plane that initiated the inspection along the data plane, and then enters the centralized control plane that initiated the inspection to receive the cross-domain report packet flow 143; In the cross-domain report packet process 143, the centralized control plane that initiated the inspection will obtain the cross-domain path quality information through the cross-domain report packet, and return to the detection stage 12 to wait for more remote reports. result.

在到達檢測時間上限之後,即進入回報階段15,該回報階段15包括回報最終結果流程151。於回報最終結果流程151中,會向網路管理者回報檢測階段12時根據網路元件回報的回報所分析出的資料流之實際路徑與路徑品質狀態,另外,網路管理者亦可在檢測階段12即讀取階段性的回報資訊與路徑品質狀態。 After reaching the upper limit of the detection time, the reward phase 15 is entered, and the reward phase 15 includes the final result process 151 of reporting. In the process of reporting the final result 151, the actual path and path quality status of the data flow analyzed according to the report of the network component in the detection stage 12 will be reported to the network manager. In addition, the network manager can also check Stage 12 is to read the periodic report information and path quality status.

第3圖為本發明與一個遠端控制平面協同運作之檢測封包傳遞流程示意圖。如圖所示,係說明檢測封包傳遞流程以了解本發明與一個遠端控制平面協同運作之實際運作情形。首先,流程211為先向起點交換器210發送在準備階段產生出的檢測封包,流程212為交換器收到檢測封包後會主動將檢測封包傳回本發明方法所在之實體伺服器,然後,流程213為再按照路由規則將檢測封包傳遞給下一個交換器,進行後續檢測。流程211至流程212是為了檢測起點交換器的運作狀況,確定起點交換器是否能夠確實傳回檢測封包。後續的路徑檢測會按照流程214至流程215的模式重複進行,以檢測每一段鏈結與交換器的狀態,流程214為交換器將檢測封包傳回伺服器以回報狀態,接著,流程215為再將檢測封包傳遞給路徑上的下一個交換器。 Figure 3 is a schematic diagram of the detection packet delivery process of the present invention working in cooperation with a remote control plane. As shown in the figure, it illustrates the detection packet transfer process to understand the actual operation of the present invention and a remote control plane in cooperation. First, the process 211 is to first send the detection packet generated in the preparation phase to the origin switch 210, and the process 212 is that the switch will actively transmit the detection packet back to the physical server where the method of the present invention is located after receiving the detection packet. Then, the process 213 is to pass the detection packet to the next switch according to the routing rules for subsequent detection. The process 211 to the process 212 are to detect the operating status of the origin switch and determine whether the origin switch can indeed send back a detection packet. Subsequent path detection will be repeated according to the pattern of process 214 to process 215 to detect the status of each link and switch. Process 214 is for the switch to send the detection packet back to the server to report the status. Then, process 215 is for another Pass the detection packet to the next switch on the path.

接著流程215,當檢測封包離開發起查測的集中式控制平面所控管的網路21,進入其他支援本發明方法之集中式控制平面所控管的網路22中後, 發起查測的集中式控制平面會與遠端之集中式控制平面合作,進行跨域路徑檢測。後續的路徑檢測會按照流程221至流程222的模式重複進行,以檢測每一段鏈結與交換器的狀態,其中,流程211為遠端交換器會將檢測封包傳回遠端之集中式控制平面所在的伺服器以回報狀態,接著,流程222為再將檢測封包傳遞給路徑上的下一個交換器。 Following the process 215, when the detection packet leaves the network 21 controlled by the centralized control plane that initiated the inspection, and enters other networks 22 controlled by the centralized control plane supporting the method of the present invention, The centralized control plane that initiates the survey will cooperate with the remote centralized control plane to perform cross-domain path detection. Subsequent path detection will be repeated according to the pattern of process 221 to process 222 to detect the status of each link and switch. In process 211, the remote switch will send the detection packet back to the remote centralized control plane. The server where it is located reports the status, and then the process 222 is to pass the detection packet to the next switch on the path.

於流程223中,遠端之集中式控制平面收到交換器回報的檢測封包後,會將跨域回報封包送給此次查測的邊界交換器220,接著,流程224則是跨域回報封包會沿著資料平面送回發起查測的集中式控制平面所控管的網路,最後,回到流程216,發起查測的集中式控制平面則會透過跨域回報封包取得跨網域的路徑品質資訊。 In process 223, after receiving the inspection packet reported by the switch, the remote centralized control plane will send the cross-domain report packet to the border switch 220 for this investigation. Then, the process 224 is the cross-domain report packet The network will be sent back along the data plane to the network controlled by the centralized control plane that initiated the inspection. Finally, return to the process 216. The centralized control plane that initiated the inspection will obtain the cross-domain path through the cross-domain report packet. Quality information.

第4圖為本發明與多個遠端控制平面協同運作之檢測封包傳遞流程示意圖。如圖所示,係說明檢測封包傳遞流程以了解本發明與多個遠端控制平面協同運作之實際運作情形。於流程321中,當檢測封包離開介在發起查測的網域與回報的網域之間的網域32,進入不與發起查測的集中式控制平面所控管的網域31直接相連的協同合作的遠端之集中式控制平面所控管的網域33時,發起查測的集中式控制平面會與遠端網域32及遠端網域33的控制平面合作,進行跨域路徑檢測。後續的路徑檢測會按照流程331至流程332的模式重複進行,以檢測每一段鏈結與交換器的狀態,其中,於流程331中,遠端交換器會將檢測封包傳回遠端之集中式控制平面所在的伺服器以回報狀態,接著,於流程332中,再將檢測封包傳遞給路徑上的下一個交換器,接著,於流程333中,遠端之集中式控制平面收到交換器回報的檢測封包後,會將跨域回報封包送給此次查測的邊界交換器330,之後流程334,跨域回報封包會沿著資料平面送出,最後, 如流程322所示,中間網域的控制平面將會收到跨網域的路徑品質資訊。 Figure 4 is a schematic diagram of the detection packet delivery process of the present invention working in cooperation with multiple remote control planes. As shown in the figure, it is an explanation of the detection packet transfer process to understand the actual operation situation of the present invention in cooperation with multiple remote control planes. In the process 321, when the detection packet leaves the domain 32 between the domain that initiated the survey and the reported domain, it enters a collaboration that is not directly connected to the domain 31 controlled by the centralized control plane that initiated the survey When the network domain 33 controlled by the cooperative remote centralized control plane, the centralized control plane that initiated the investigation will cooperate with the remote network domain 32 and the control plane of the remote network domain 33 to perform cross-domain path detection. Subsequent path detection will be repeated according to the pattern of process 331 to process 332 to detect the status of each link and switch. In process 331, the remote switch will send the detection packet back to the remote centralized The server where the control plane is located reports the status. Then, in process 332, the detection packet is passed to the next switch on the path, and then, in process 333, the remote centralized control plane receives the switch report After the detection packet of, the cross-domain report packet will be sent to the border switch 330 for this inspection. After that, in the process 334, the cross-domain report packet will be sent along the data plane. Finally, As shown in the process 322, the control plane of the intermediate network domain will receive the cross-domain path quality information.

如果非發起查測的支援本發明方法之集中式控制平面收到跨域回報封包時,代表其網域介在發起查測的網域與回報的網域之間,且位於檢測封包會流經的路徑上,則此位於發起查測的網域與回報的網域之間的控制平面亦會將跨域回報封包發送給邊界交換器,即流程323,接著,流程324將帶有跨域查測資訊的跨域回報封包透過邊界交換器的邊界連接埠送回,最後,發起查測的集中式控制平面即能透過跨域回報封包取得跨網域的路徑品質資訊。 If the non-initiated centralized control plane supporting the method of the present invention receives a cross-domain report packet, it represents that its domain is between the domain that initiated the inspection and the reported domain, and is located where the inspection packet will flow. Path, the control plane located between the domain that initiated the investigation and the reporting domain will also send the cross-domain report packet to the border switch, which is the process 323, and then the process 324 will carry the cross-domain check The information cross-domain report packet is sent back through the border port of the border switch. Finally, the centralized control plane that initiated the inspection can obtain the cross-domain path quality information through the cross-domain report packet.

本發明可以適用於數種不同的路由案例,包含但不限於單路徑路由(single path routing)、多路徑路由(multipath routing)、群播路由(multicast routing)、多網域路由(multi-domain routing)等案例。此外,本發明的設計著重於與其他網域的集中式控制平面的合作,能與支援同樣方法的網路控制器協同查測,組成跨網域的路徑品質檢測工具,且支援無協作者(orchestrator)的網路架構與任意數量的網域及交換器,協助網路管理者及其網管應用程式分析路徑障礙或瓶頸發生的網域與設備,以更有效率地排除故障。 The present invention can be applied to several different routing cases, including but not limited to single path routing, multipath routing, multicast routing, and multi-domain routing. ) And other cases. In addition, the design of the present invention focuses on the cooperation with the centralized control plane of other network domains, which can cooperate with the network controller supporting the same method to form a cross-domain path quality inspection tool, and supports non-collaborators ( Orchestrator's network architecture and any number of domains and switches help network managers and their network management applications analyze the domains and devices where path barriers or bottlenecks occur, so as to troubleshoot more efficiently.

對於單路徑(single path)的資料流,本發明能夠檢測其所流經的實際路徑與路徑品質,包含但不限於實際路徑、各段鏈結延遲、總路徑延遲與封包遺失率等資訊。對於所經過的路徑不只一條的資料流,例如多路徑(multi-path)與群播(multicast)的資料流等,由於檢測封包也會像實際封包被複製成多份,本發明依然能根據各交換器回傳的檢測封包分析此資料流所流經的完整路徑以及封包的總量等資訊。而對於多網域(multi-domain routing)的資料流,本發明能透過與支援同樣方法的網路控制器協同查測,獲得跨網域資訊,分析此資料流在各網域中的路徑品質,協助網路管理者分析路徑障礙或瓶頸發生的網域與設備, 以更有效率地排除故障。 For a single path data stream, the present invention can detect the actual path and path quality it traverses, including but not limited to information such as the actual path, the link delay of each segment, the total path delay, and the packet loss rate. For data streams that have more than one path, such as multi-path and multicast data streams, since the detected packet will be copied into multiple copies like the actual packet, the present invention can still be based on each The inspection packet returned by the switch analyzes the complete path of the data flow and the total number of packets and other information. For multi-domain routing data streams, the present invention can obtain cross-domain information through cooperative inspection with network controllers supporting the same method, and analyze the path quality of this data stream in each network domain. , To assist network managers to analyze the network domains and equipment where path barriers or bottlenecks occur, To troubleshoot more efficiently.

由於本發明使用封包的payload內容作為檢測封包與跨域回報封包的辨別依據,與使用封包header欄位的作法相比,可在與原有網路高度相容的前提下,避免影響其他網路管理應用程式,並提供資料流的實際路徑與路徑品質資訊,作為網路管理者與其他模組的除錯與優化依據。控制平面接收到交換器回報時所記錄的回報時間,則可以用於計算各段鏈結的延遲等路徑品質資訊,路徑品質資訊可透過跨域回報封包通知發起查測的集中式控制平面,使發起端得知跨域品質資訊,作為網路管理員與網路管理應用程式除錯之用。利用交換器彼此連接的特性,將跨域回報封包透過資料平面送回發起查測的集中式控制平面的做法,則在可控制平面彼此不互通的前提下,使發起查測的集中式控制平面取得跨域路徑品質資訊,避免因控制平面間的安全堡壘隔離或網路連線問題而遺失查測資訊。 Since the present invention uses the payload content of the packet as the basis for distinguishing between the detection packet and the cross-domain report packet, compared with the method of using the packet header field, it can avoid affecting other networks under the premise of being highly compatible with the original network. Manage applications and provide the actual path and path quality information of the data stream as a basis for debugging and optimization by network managers and other modules. The report time recorded when the control plane receives the report from the switch can be used to calculate the path quality information such as the delay of each link. The initiator knows the cross-domain quality information, which is used for network administrators and network management applications to debug. Using the feature of the switch to connect to each other, the cross-domain report packet is sent through the data plane back to the centralized control plane that initiates the inspection, so that the centralized control plane that initiates the inspection is enabled on the premise that the control planes are not interoperable with each other. Obtain cross-domain path quality information to avoid loss of inspection information due to security fortress isolation between control planes or network connection problems.

下列舉幾個整合使用案例:透過與本發明結合,路由(Routing)應用程式可以檢查封包流經的實際路徑與運算結果是否一致,確認建置路徑是否成功。重路由(Rerouting)應用程式可以根據本發明的路徑查測結果得知當前路徑是否穩定暢通,並取得延遲時間與封包遺失率等路徑品質資訊,當資料流的封包遺失率過高或延遲過高時就自動更換路徑,避開問題設備。若網路障礙發生在其他網域,則可以調整路徑出口端或通報該網域的網路管理員以排除障礙。統計(Statistics)與壓力測試(Stress Test)應用程式可以透過本發明回傳的資料流實際路徑,精確地針對資料流所流經的實際路徑作操作,避免對網路造成額外的負擔。Path Health應用程式則能讀取本發明查測所得的路徑品質資訊,進行進一步的數據分析。 Here are a few integrated use cases: by combining with the present invention, the routing application can check whether the actual path the packet flows through is consistent with the calculation result, and confirm whether the path is successfully constructed. Rerouting applications can know whether the current path is stable and unobstructed according to the path inspection results of the present invention, and obtain path quality information such as delay time and packet loss rate. When the packet loss rate of the data stream is too high or the delay is too high It will automatically change the path at any time to avoid the problem equipment. If the network obstacles occur in other domains, you can adjust the exit end of the path or notify the network administrator of the domain to eliminate the obstacles. Statistics and Stress Test applications can use the actual path of the data flow returned by the present invention to accurately target the actual path through which the data flow passes, so as to avoid additional burdens on the network. The Path Health application program can read the path quality information obtained by the investigation of the present invention for further data analysis.

除了偵測路徑品質狀態,本發明也能用來檢測控管網路之交換器的健康狀態,透過對每一個交換器發送檢測封包,再等待並接收交換器回報,即可確認交換器是否處於可正常轉發封包的狀態,作為判斷控管網路狀態的依據。另外,本發明亦能用於探查未知位置且不會主動發出封包的被動終端設備,例如門禁刷卡機等IoT設備,可透過將欲探測的被動終端設備設定為資料流的終點,再將模擬同網段設備發出之ARP Request的header與payload填入檢測封包中,並發送至控管網路中,即可使檢測封包經由與實際封包相同的路徑傳送至被動終端設備,再獲取其回應封包,即可得知其在網路中的位置。 In addition to detecting the path quality status, the present invention can also be used to detect the health status of the switch in the control network. By sending a detection packet to each switch, and then waiting and receiving the switch report, you can confirm whether the switch is in The status of normal forwarding of packets is used as a basis for judging and controlling the network status. In addition, the present invention can also be used to detect passive terminal devices that do not actively send out packets at unknown locations, such as access control card readers and other IoT devices. The passive terminal device to be detected can be set as the end of the data stream, and then the simulation can be synchronized. The header and payload of the ARP Request sent by the network segment device are filled into the detection packet and sent to the control network, so that the detection packet can be transmitted to the passive terminal device through the same path as the actual packet, and then the response packet can be obtained. Then you can know its location in the network.

本發明方法的核心在於統一收集網路元件在收到檢測封包時的回報,並將跨域查測資訊填入回報封包的payload中回傳給發起查測的集中式控制平面,只要使用的網路架構能夠滿足以上兩個條件,就能實作本發明方法。實作本發明方法的一個選擇是SDN網路架構,可以將本發明方法實作為SDN的網管應用程式,利用SDN網路架構可程式化的特性自定義SDN交換器的轉發行為,使所有SDN交換器在收到檢測封包與回報封包時,依照方法設計額外回報資訊給本發明應用程式,以達成跨域控制的設計。 The core of the method of the present invention is to uniformly collect the reports of network elements when they receive the detection packet, and fill the cross-domain detection information into the payload of the report packet and send it back to the centralized control plane that initiated the detection. The circuit architecture can meet the above two conditions, and the method of the present invention can be implemented. One option for implementing the method of the present invention is the SDN network architecture. The method of the present invention can be implemented as an SDN network management application program. The programmable characteristics of the SDN network architecture are used to customize the forwarding behavior of the SDN switch, so that all SDN exchanges When receiving the detection packet and the report packet, the device designs additional report information to the application program of the present invention according to the method, so as to achieve the design of cross-domain control.

本發明揭露一種可跨多個集中式控制平面的路徑狀態回報方法,可以分析資料流所流經的跨域路徑品質,與其他現有相關技術相互比較時更具備下列優點:相較於ping與traceroute,本發明能夠將更多的網路資訊回報給網路管理者;相較於SDN traceroute,由於本發明使用封包的payload內容作為檢測封包的辨別依據,並不限制其他應用程式對封包header的使用與修改,可在與其他網路管理應用程式高度相容的前提下,獲得正確的檢測結果;相較於Netography,本發明不須修改網路中原有的路由規則設定,也沒有限制VLAN header的使用,可在不對現有網路與終端設備的使用情境進行大量改動的前提下,進行跨域路徑品質的查測。另外,本發明能與支援同樣方法的網路控制器協同查測,組成跨網域的路徑品質檢測工具,且支援無協作者(orchestrator)的網路架構與任意數量的網域及交換器,提供更完整的品質分析與障礙排除能力;再者,本發明著重於與支援同樣方法的網路控制器協同查測,以獲得跨網域的路徑品質資訊,協助網路管理者及其網管應用程式分析路徑障礙或瓶頸發生的網域與設備,以更有效率地排除故障,能夠大大地減少了CAPEX和OPEX;此外,本發明利用交換器彼此連接的特性,將跨域回報封包透過資料平面送回發起查測的集中式控制平面的做法,則在可控制平面彼此不互通的前提下,使發起查測的集中式控制平面取得跨域路徑品質資訊,避免因控制平面間的安全堡壘隔離或網路連線問題而遺失查測資訊。 The present invention discloses a path status report method that can span multiple centralized control planes, which can analyze the quality of the cross-domain path through which the data stream flows, and has the following advantages when compared with other existing related technologies: Compared with ping and traceroute , The present invention can report more network information to the network administrator; compared with SDN traceroute, because the present invention uses the payload content of the packet as the basis for detecting the packet, it does not restrict the use of the packet header by other applications With modification, the correct detection result can be obtained under the premise of being highly compatible with other network management applications. Compared with Netography, the present invention does not need to modify the original routing rule settings in the network, and does not limit VLAN The use of headers can be used to check the quality of cross-domain paths without making a lot of changes to the existing network and terminal equipment usage scenarios. In addition, the present invention can cooperate with network controllers that support the same method to form a cross-domain path quality detection tool, and supports a network architecture without an orchestrator and any number of domains and switches. Provides a more complete quality analysis and obstacle removal capabilities; moreover, the present invention focuses on cooperating with network controllers that support the same method to obtain cross-domain path quality information to assist network managers and their network management applications The program analyzes the network domains and devices where path barriers or bottlenecks occur to more efficiently troubleshoot, which can greatly reduce CAPEX and OPEX; in addition, the present invention uses the characteristics of switches to connect to each other to transmit cross-domain report packets through the data plane The method of sending back the centralized control plane that initiated the inspection will enable the centralized control plane that initiated the inspection to obtain cross-domain path quality information under the premise that the control planes are not interoperable, avoiding isolation due to security fortresses between the control planes Or network connection problems and missing test information.

上列詳細說明乃針對本發明之一可行實施例進行具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。 The above detailed description is a specific description of a feasible embodiment of the present invention, but this embodiment is not intended to limit the scope of the patent of the present invention. Any equivalent implementation or modification that does not deviate from the technical spirit of the present invention shall be included in In the scope of the patent in this case.

S11-S15:步驟 S11-S15: steps

Claims (11)

一種可橫跨多個集中式控制平面的路徑品質回報方法,係包括: A path quality reporting method that can span multiple centralized control planes includes: 令發起查測的集中式控制平面根據欲檢測之資料流,產生出模擬實際封包之檢測封包,以檢測該資料流於網路中所流經之實際路徑; Make the centralized control plane that initiates the inspection generate a detection packet that simulates the actual packet based on the data flow to be detected, so as to detect the actual path that the data flow travels through the network; 發送該檢測封包至該發起查測的集中式控制平面所控管的網路中,以透過該發起查測的集中式控制平面所控管的網路中之網路設備的回報進行路徑查測; Send the inspection packet to the network controlled by the centralized control plane that initiated the inspection to perform path inspection through the report of the network equipment in the network controlled by the centralized control plane that initiated the inspection ; 於該檢測封包進入同樣支援該路徑查測之其他集中式控制平面中之至少一者所控管的網路時,執行該發起查測的集中式控制平面與該其他集中式控制平面中之至少一者間之合作,以進行跨域路徑檢測; When the detection packet enters a network controlled by at least one of the other centralized control planes that also supports the path detection, at least one of the centralized control plane that initiated the detection and the other centralized control plane is executed Cooperation between the two to conduct cross-domain path detection; 令該其他集中式控制平面中之至少一者於接收其所控管的網路中之網路設備的回報後,產生帶有路徑查測資訊的跨域回報封包,以轉送該跨域回報封包到該發起查測的集中式控制平面,使該發起查測的集中式控制平面取得跨域路徑品質資訊;以及 Enable at least one of the other centralized control planes to generate a cross-domain report packet with path detection information after receiving the report from the network equipment in the network under its control, so as to forward the cross-domain report packet Go to the centralized control plane that initiated the survey so that the centralized control plane that initiated the survey obtains cross-domain path quality information; and 回報該資料流之實際路徑與路徑品質狀態。 Report the actual path and path quality status of the data stream. 如申請專利範圍第1項所述之可橫跨多個集中式控制平面的路徑品質回報方法,其中,該令發起查測的集中式控制平面根據欲檢測之資料流,產生出模擬實際封包之檢測封包,以檢測該資料流於網路中所流經之實際路徑之步驟中,係包括下列子步驟: As described in item 1 of the scope of patent application, the path quality report method that can span multiple centralized control planes, wherein the centralized control plane that initiates the inspection generates a simulated actual packet based on the data flow to be detected The step of detecting packets to detect the actual path the data flows through in the network includes the following sub-steps: 讀取網路管理者或網路管理應用程式所提供的欲檢測資料流資訊,以取得該資料流之資訊; Read the data stream information to be detected provided by the network administrator or network management application to obtain the information of the data stream; 根據該資料流之資訊產生該檢測封包之標頭(header)欄位,以使所有的網路設備以同樣的路由規則進行轉送;以及 Generate the header field of the detection packet based on the information of the data stream, so that all network devices can forward it with the same routing rules; and 於該檢測封包中產生出帶有特殊關鍵字以及檢測所需資訊之本體(payload)。 A payload with special keywords and information required for detection is generated in the detection packet. 如申請專利範圍第1項所述之可橫跨多個集中式控制平面的路徑品質回報方法,其中,該發送該檢測封包至該發起查測的集中式控制平面所控管的網路中,以透過該發起查測的集中式控制平面所控管的網路中之網路設備的回報進行路徑查測之步驟中,係包括下列子步驟: The path quality report method that can span multiple centralized control planes as described in item 1 of the scope of patent application, wherein the sending the detection packet to the network controlled by the centralized control plane that initiates the detection, In the process of path inspection based on the report of the network equipment in the network controlled by the centralized control plane that initiates the inspection, the steps include the following sub-steps: 將該檢測封包發送至該資料流的起點交換器;以及 Send the detection packet to the switch at the origin of the data stream; and 令該發起查測的集中式控制平面等待接收該起點交換器所回報之檢測封包並記錄回報時間,再按照路由規則將該檢測封包傳遞給下一個交換器,以進行後續檢測。 The centralized control plane that initiated the inspection waits to receive the inspection packet reported by the origin switch and records the report time, and then transmits the inspection packet to the next switch according to the routing rules for subsequent inspection. 如申請專利範圍第3項所述之可橫跨多個集中式控制平面的路徑品質回報方法,復包括判斷檢測時間是否已達上限,以於該檢測時間已達上限時,執行回報,或是於該檢測時間未達該上限時,持續等待接收該起點交換器或該下一個交換器之回報。 For example, the path quality report method that can span multiple centralized control planes as described in item 3 of the scope of patent application includes determining whether the detection time has reached the upper limit, and the report is executed when the detection time has reached the upper limit, or When the detection time does not reach the upper limit, continue to wait to receive the return of the starting switch or the next switch. 如申請專利範圍第1項所述之可橫跨多個集中式控制平面的路徑品質回報方法,其中,該於該檢測封包進入同樣支援該路徑查測之其他集中式控制平面中之至少一者所控管的網路時,執行該發起查測的集中式控制平面與該其他集中式控制平面中之至少一者間之合作,以進行跨域路徑檢測之步驟中,係包括下列子步驟: The path quality reporting method that can span multiple centralized control planes as described in claim 1 of the patent application, wherein the detection packet enters at least one of the other centralized control planes that also support the path detection In the case of a controlled network, the step of performing cooperation between the centralized control plane that initiated the investigation and at least one of the other centralized control planes to perform cross-domain path detection includes the following sub-steps: 令該其他集中式控制平面中之至少一者將收到該檢測封包的第一個遠端交換器與連接埠標記為該路徑查測的邊界交換器與邊界連接埠;以及 Enabling at least one of the other centralized control planes to mark the first remote switch and port that received the detection packet as the boundary switch and boundary port of the path inspection; and 令該其他集中式控制平面中之至少一者等待並接收該第一個遠端交換器所回報之檢測封包並記錄回報時間,再按照路由規則將該檢測封包傳遞給下一個交換器,以進行後續檢測。 Make at least one of the other centralized control planes wait for and receive the detection packet reported by the first remote switch and record the reporting time, and then pass the detection packet to the next switch according to the routing rules to proceed Follow-up testing. 如申請專利範圍第1項所述之可橫跨多個集中式控制平面的路徑品質回報方法,其中,該令該其他集中式控制平面中之至少一者於接收其所控管的網路中之網路設備的回報後,產生帶有路徑查測資訊的跨域回報封包,以轉送該跨域回報封包到該發起查測的集中式控制平面,使該發起查測的集中式控制平面取得跨域路徑品質資訊之步驟中,係包括下列子步驟: The path quality reporting method that can span multiple centralized control planes as described in claim 1 of the patent application, wherein at least one of the other centralized control planes is received in the network controlled by it After the report of the network equipment, a cross-domain report packet with path inspection information is generated to forward the cross-domain report packet to the centralized control plane that initiated the inspection, so that the centralized control plane that initiated the inspection can obtain The step of cross-domain path quality information includes the following sub-steps: 於該其他集中式控制平面中之至少一者產生該跨域回報封包時,令該跨域回報封包的標頭(header)欄位的來源端與目的端之值與該檢測封包相反,以及令該跨域回報封包的本體(payload)帶有特殊關鍵字與該路徑查測資訊;以及 When at least one of the other centralized control planes generates the cross-domain report packet, set the source and destination values of the header fields of the cross-domain report packet to be opposite to that of the detection packet, and set The payload of the cross-domain report packet contains special keywords and the path search information; and 令該跨域回報封包透過邊界交換器的邊界連接埠,沿著資料平面送回該發起查測的集中式控制平面所控管的網路,使該發起查測的集中式控制平面取得該跨域路徑品質資訊。 The cross-domain report packet is sent back to the network controlled by the centralized control plane that initiated the investigation through the border port of the border switch along the data plane, so that the centralized control plane that initiated the investigation obtains the cross-domain Domain path quality information. 如申請專利範圍第6項所述之可橫跨多個集中式控制平面的路徑品質回報方法,其中,若非發起查測之集中式控制平面收到該跨域回報封包時,則該非發起查測之集中式控制平面將帶有該路徑查測資訊之 該跨域回報封包透過該非發起查測之集中式控制平面所在網路之邊界交換器的邊界連接埠,送回該發起查測的集中式控制平面所控管的網路。 For example, the path quality report method that can span multiple centralized control planes as described in item 6 of the scope of patent application, wherein, if the non-initiated centralized control plane receives the cross-domain report packet, the non-initiated inspection The centralized control plane will carry the path survey information The cross-domain report packet is sent back to the network controlled by the centralized control plane that initiated the investigation through the boundary port of the boundary switch of the network where the centralized control plane that initiated the investigation is located. 如申請專利範圍第6項所述之可橫跨多個集中式控制平面的路徑品質回報方法,其中,該路徑查測資訊係紀錄各遠端交換器將該檢測封包回報至該其他至少一集中式控制平面時所取得的遠端路徑品質查測資訊。 As described in item 6 of the scope of patent application, the method for reporting path quality across multiple centralized control planes, wherein the path inspection information records each remote switch reporting the inspection packet to the at least one other centralized The remote path quality inspection information obtained during the control plane. 如申請專利範圍第1項所述之可橫跨多個集中式控制平面的路徑品質回報方法,其中,該回報該資料流之實際路徑與路徑品質狀態之步驟中,係包括向網路管理者回報檢測階段時根據網路元件之回報所分析出的該資料流之實際路徑與路徑品質狀態,或是該網路管理者於檢測過程中讀取階段性的回報資訊與路徑品質狀態。 The method for reporting path quality that can span multiple centralized control planes as described in item 1 of the scope of patent application, wherein the step of reporting the actual path and path quality status of the data stream includes reporting to the network manager The actual path and path quality status of the data stream analyzed according to the report of the network component during the detection phase, or the network manager reads the phased report information and path quality status during the detection process. 如申請專利範圍第1項所述之可橫跨多個集中式控制平面的路徑品質回報方法,其中,該資料流之實際路徑與路徑品質狀態包含實際路徑、各段鏈結延遲、總路徑延遲或封包遺失率。 The path quality report method that can span multiple centralized control planes as described in item 1 of the scope of patent application, wherein the actual path and path quality status of the data stream include the actual path, the link delay of each segment, and the total path delay Or the packet loss rate. 如申請專利範圍第1項所述之可橫跨多個集中式控制平面的路徑品質回報方法,復包括透過路由(Routing)應用程式檢查該檢測封包流經的實際路徑與運算結果是否一致,以確認為該檢測封包所建置之路徑是否成功。 For example, the path quality report method that can span multiple centralized control planes as described in item 1 of the scope of patent application includes checking whether the actual path through which the detection packet flows is consistent with the calculation result through a routing application program. Confirm whether the path built for the inspection packet is successful.
TW109106505A 2020-02-27 2020-02-27 Path quality report method crossed over multiple centralized control plane TWI710231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109106505A TWI710231B (en) 2020-02-27 2020-02-27 Path quality report method crossed over multiple centralized control plane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109106505A TWI710231B (en) 2020-02-27 2020-02-27 Path quality report method crossed over multiple centralized control plane

Publications (2)

Publication Number Publication Date
TWI710231B TWI710231B (en) 2020-11-11
TW202133588A true TW202133588A (en) 2021-09-01

Family

ID=74202421

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109106505A TWI710231B (en) 2020-02-27 2020-02-27 Path quality report method crossed over multiple centralized control plane

Country Status (1)

Country Link
TW (1) TWI710231B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI818328B (en) * 2021-10-12 2023-10-11 中華電信股份有限公司 System and method for multi-site network quality of experience measurement

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040008688A1 (en) * 2002-07-11 2004-01-15 Hitachi, Ltd. Business method and apparatus for path configuration in networks
CN201311190Y (en) * 2008-11-04 2009-09-16 江苏宏大特种钢机械厂 Operation chain shaft system motion element floating support device of chain grate
CN103888280B (en) * 2012-12-20 2019-04-19 中兴通讯股份有限公司 A kind of cross-domain path status machinery of consultation and node apparatus
TWI591983B (en) * 2015-11-05 2017-07-11 Chunghwa Telecom Co Ltd Path State Return Algorithm Based on Centralized Control Plane
CN108111409A (en) * 2016-11-25 2018-06-01 华为技术有限公司 The method and apparatus for establishing disjoint paths

Also Published As

Publication number Publication date
TWI710231B (en) 2020-11-11

Similar Documents

Publication Publication Date Title
Perešíni et al. Monocle: Dynamic, fine-grained data plane monitoring
US9210050B2 (en) System and method for a testing vector and associated performance map
US9191290B2 (en) Methods and devices for monitoring a data path
CN102449957B (en) Ip network fault locating method, apparatus, and system
US20130128751A1 (en) Multi-layer network diagnostic tracing
CA2411848A1 (en) Network packet tracking
CN107453884A (en) The service quality detection method and device of a kind of network equipment
CN104852887B (en) Network flow traceability system and method based on OpenFlow technology
TWI710231B (en) Path quality report method crossed over multiple centralized control plane
Geng et al. Design and implementation of network monitoring and scheduling architecture based on P4
CN108199913A (en) A kind of method and apparatus for realizing delay testing
Wang et al. A tool for tracing network data plane via SDN/OpenFlow
JP6591950B2 (en) Path state reporting calculation method based on centralized control plane
CN109088756A (en) A kind of network topology complementing method based on network equipment identification
TWI792072B (en) Intelligent measurement system for software-defined network quality of experience and method thereof
CN103117880A (en) Web technology based network topological generation method
CN107347014A (en) A kind of network fault detecting method and system
CN116319353A (en) Method, device, equipment and medium for detecting network topology structure
Han et al. Computer network failure and solution
Bezerra et al. Handling network events in a production SDN environment: the AmLight use case
Reddy Test Packet Generation Based on Firewall Policies
CN110048913A (en) The method that NAT passes through two-way detection processing is realized based on BFD
Bolanowski et al. Measure and compare the convergence time of network routing protocols
KR100628479B1 (en) LAN PROTOCOL ANALYZER SYSTEM and EDUCATING METHOD
Cai et al. FuzzyCAT: A Framework for Network Configuration Verification Based on Fuzzing