基於應用程式狀態與應用程式介面序列模型化的語意型網路管理技術研究
Semantic Network Management with Application State and API Sequence Modeling
摘要
隨著科技的日新月異,不同廠牌的網路設備以及不同的網路服務不斷地推陳出
新。這些新的設備與系統服務皆令網路環境的配置愈加複雜,導致每次的設備和系統
升級耗費不少人力資源,更遑論等待錯誤回復的期間可能造成更大的損失。然而,複
雜的網路環境配置導致除錯的不易,並且需要耗費大量時間來找出錯誤所在。由於不
同的網路服務在環境上可能會交互影響,為了減少系統檢查與重新設定的時間,網路
管理員需要能夠自動化地管理網路狀態。
為了增進管理的效率,我們提出了一套方法來幫助自動化地管理網路。透過網路
封包的擷取,我們能夠取得更多關於網路的細部資訊。利用這些細部資訊,我們設計
了一套拓撲模型,來呈現各個服務運行狀況的方式。根據這個拓撲模型,我們提出一
個方法,利用應用程式在網路上所造成的拓撲變化資訊,來分析與應用程式狀態的關
係。我們將不同應用程式的應用程式介面與拓撲的變化作為資訊來訓練深度學習模
型,然後使用訓練完畢的深度學習模型,來分析拓撲的變化、找出應用程式介面與拓
撲之間的關聯性。此方法令網路管理不僅只是拘泥於單純的狀態回復,還能提供一個
宏觀的視野來分析與優化網路的運行狀態。我們將雛型系統實作在軟體定義網路的環
境下,並且透過實驗結果表現出應用在錯誤恢復與網路狀態優化上的可能性。
新。這些新的設備與系統服務皆令網路環境的配置愈加複雜,導致每次的設備和系統
升級耗費不少人力資源,更遑論等待錯誤回復的期間可能造成更大的損失。然而,複
雜的網路環境配置導致除錯的不易,並且需要耗費大量時間來找出錯誤所在。由於不
同的網路服務在環境上可能會交互影響,為了減少系統檢查與重新設定的時間,網路
管理員需要能夠自動化地管理網路狀態。
為了增進管理的效率,我們提出了一套方法來幫助自動化地管理網路。透過網路
封包的擷取,我們能夠取得更多關於網路的細部資訊。利用這些細部資訊,我們設計
了一套拓撲模型,來呈現各個服務運行狀況的方式。根據這個拓撲模型,我們提出一
個方法,利用應用程式在網路上所造成的拓撲變化資訊,來分析與應用程式狀態的關
係。我們將不同應用程式的應用程式介面與拓撲的變化作為資訊來訓練深度學習模
型,然後使用訓練完畢的深度學習模型,來分析拓撲的變化、找出應用程式介面與拓
撲之間的關聯性。此方法令網路管理不僅只是拘泥於單純的狀態回復,還能提供一個
宏觀的視野來分析與優化網路的運行狀態。我們將雛型系統實作在軟體定義網路的環
境下,並且透過實驗結果表現出應用在錯誤恢復與網路狀態優化上的可能性。
With the advance of computer science and technology, many network devices of
different types are invented. These differences let the settings of the whole network
environment more complicated. They consume manpower on the maintenance and
updating the environment, not to mention the large cost on the network failover. However,
the complicated network environment makes it hard to debug, and it also needs much
more time to track problems. Since different services may affect the network topology
mutually, network administrators should manage and configure the network state
automatically to decrease the time on restoring and configuring the whole network.
To improve the effectiveness of network management, we come up with a solution to
automatically manage the network. We model the application states as a topology graph
constructed by network packets. Additionally, we design a method to extract the features
from the topology graphs. We take the application APIs and the features of topologies as
inputs of the deep learning models. With these deep learning models, we can find out the
relations between APIs and application states. The method we introduce can not only
apply on the network failover but also provide another vision to analyze the service states
and optimize the network environment. The prototype system was tested under the
environment of Software-defined networking and the evaluation results have demonstrated
the potentials of network management.
different types are invented. These differences let the settings of the whole network
environment more complicated. They consume manpower on the maintenance and
updating the environment, not to mention the large cost on the network failover. However,
the complicated network environment makes it hard to debug, and it also needs much
more time to track problems. Since different services may affect the network topology
mutually, network administrators should manage and configure the network state
automatically to decrease the time on restoring and configuring the whole network.
To improve the effectiveness of network management, we come up with a solution to
automatically manage the network. We model the application states as a topology graph
constructed by network packets. Additionally, we design a method to extract the features
from the topology graphs. We take the application APIs and the features of topologies as
inputs of the deep learning models. With these deep learning models, we can find out the
relations between APIs and application states. The method we introduce can not only
apply on the network failover but also provide another vision to analyze the service states
and optimize the network environment. The prototype system was tested under the
environment of Software-defined networking and the evaluation results have demonstrated
the potentials of network management.