TWI691183B - Backup method applied in virtual network function and system using the same - Google Patents
Backup method applied in virtual network function and system using the same Download PDFInfo
- Publication number
- TWI691183B TWI691183B TW107144868A TW107144868A TWI691183B TW I691183 B TWI691183 B TW I691183B TW 107144868 A TW107144868 A TW 107144868A TW 107144868 A TW107144868 A TW 107144868A TW I691183 B TWI691183 B TW I691183B
- Authority
- TW
- Taiwan
- Prior art keywords
- system architecture
- backup
- virtual network
- cluster system
- data
- Prior art date
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本發明係有關於虛擬網路功能之備援機制,且特別是有關於一種應用於虛擬化網路功能之備援方法及系統。The present invention relates to a backup mechanism for virtual network functions, and particularly relates to a backup method and system applied to virtual network functions.
目前在資訊設備叢集中提供高可用性的方法是在已知環境下,例如使用中的機器設備或備援數量等,設定固定數量之備援,進而達到高可用性之系統架構。The current method for providing high availability in information equipment clusters is to set a fixed number of backups in a known environment, such as machines and equipment in use or the number of backups, to achieve a high availability system architecture.
先前的專利技術例如中華民國專利號I476581或I312942皆有提及類似的高可用性之系統資料服務概念,但兩者皆未考慮若備援之異常發生時之狀況。Previous patented technologies such as Republic of China Patent Nos. I476581 or I312942 both mentioned similar high-availability system data service concepts, but neither of them considered the situation when a backup exception occurred.
本案發明人鑑於上述習用方式所衍生的各項缺點,乃亟思加以改良創新,成功研發完成本件應用於虛擬網路功能之備援演算法設計與計算及備援資料路徑之設置。In view of the shortcomings derived from the above-mentioned conventional methods, the inventor of the present case is anxious to improve and innovate, and successfully developed the design and calculation of the backup algorithm used in the virtual network function and the setting of the backup data path.
本發明之目的即在於針對高可用性之叢集系統架構提出一種備援演算法之設計與計算以及其備援資料之路徑配置,並藉由心跳偵測器判斷是否需要重新計算備援資料之路徑。並且,本發明應用於虛擬網路功能之備援方法除了用心跳偵測器監測其叢集系統架構中虛擬網路功能狀態外,尚且考慮了異常狀況的處理,以及利用SDN技術,完成備援演算法之路徑分配。The purpose of the present invention is to propose a design and calculation of a backup algorithm for high-availability cluster system architecture and the path configuration of its backup data, and use the heartbeat detector to determine whether the path of the backup data needs to be recalculated. Moreover, the backup method applied to the virtual network function of the present invention not only uses the heartbeat detector to monitor the status of the virtual network function in its cluster system architecture, but also considers the handling of abnormal conditions, and uses SDN technology to complete the backup calculation The distribution of law.
本發明之次一目的係在於提供一友善化之HTTP介面儀表板輸入系統環境數據後,俾使該高可用性叢集系統架構自動化完成備援演算法之計算與資料之路徑分配,利用SDN技術來達成引導資料流動之路徑。The second object of the present invention is to provide a friendly HTTP interface dashboard to input system environment data, so that the high availability cluster system architecture can automatically complete the calculation of the backup algorithm and the data path allocation, using SDN technology to achieve Guide the path of data flow.
達成上述發明目的之應用於虛擬網路功能之備援方法之設置,需有一偵測整體叢集之系統架構模組來統計是否重新規劃備援之資料路徑,並利用各種通知系統機制,配合本案之備援之演算法計算,來完成備援之重新規劃與分配。To achieve the above-mentioned invention, the configuration of the backup method applied to the virtual network function requires a system architecture module that detects the overall cluster to count whether to re-plan the backup data path, and uses various notification system mechanisms to cooperate with this case. The calculation of the backup algorithm is used to complete the replanning and distribution of the backup.
本發明所提出之應用於虛擬網路功能之備援方法之系統包括:一儀表板、一環境數據資料庫、一伺服器代理程序(Broker)、一SDN控制器、一SDN交換器、複數個虛擬網路功能(Virtual Network Function;VNF),及一任務管控資料庫。其中伺服器代理程序包括一心跳主偵測器及一備援演算法。每個虛擬網路功能包括一心跳偵測器。The system of the backup method applied to the virtual network function proposed by the present invention includes: a dashboard, an environmental data database, a server agent (Broker), an SDN controller, an SDN switch, and a plurality of Virtual network function (Virtual Network Function; VNF), and a task control database. The server agent program includes a heartbeat master detector and a backup algorithm. Each virtual network function includes a heartbeat detector.
本發明係在用戶欲啟動虛擬網路功能之高可用性叢集架構時,使用一介面儀表板輸入其系統架構必要之環境數據,用戶完成初始啟動高可用性叢集系統架構之虛擬網路功能之後,通知伺服器代理程序其就緒狀態。伺服器代理程序根據環境數據執行備援演算法,依據備援演算法之計算結果,叢集系統架構之虛擬網路功能向任務管控資料庫索取負責之片段服務資料與其備援之片段服務資料,同時伺服器代理程序向環境數據資料庫索取叢集架構之資料路徑與其備援之資料流路徑予以SDN控制器,而後SDN控制器藉由OpenFlow協定完成路徑之架設。伺服器代理程序並利用心跳偵測器監測其叢集系統架構中虛擬網路功能狀態。The present invention is to use an interface dashboard to input the environmental data necessary for the system architecture when the user wants to activate the high availability cluster architecture of the virtual network function. After the user completes the initial activation of the virtual network function of the high availability cluster system architecture, the server is notified The agent agent is in its ready state. The server agent program executes the backup algorithm based on the environmental data. Based on the calculation result of the backup algorithm, the virtual network function of the cluster system architecture requests the responsible fragment service data and the redundant fragment service data from the task management and control database. The server agent requests the data path of the cluster structure and the redundant data flow path from the environmental data database to the SDN controller, and then the SDN controller completes the path establishment through the OpenFlow protocol. The server agent uses the heartbeat detector to monitor the virtual network function status in its cluster system architecture.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and understandable, the embodiments are specifically described below in conjunction with the accompanying drawings for detailed description as follows.
本發明針係對新世代5G行動通訊之核心分組網路演進之用戶歸屬伺服器資料庫作為開發與構思之元件,故而衍生出虛擬網路功能之通用備援演算法,其不同處在於本發明可在叢集系統架構之成員發生異常時,藉由心跳偵測器來判斷是否需要重新分配備援資料之路徑。The present invention is aimed at the user attribution server database of the core packet network evolution of the new generation of 5G mobile communications as a component of development and design, so a general backup algorithm for virtual network functions is derived, and the difference lies in the present invention When an abnormality occurs in a member of the cluster system architecture, the heartbeat detector can be used to determine whether it is necessary to reallocate the path of supporting data.
本發明一種應用於虛擬網路功能之備援方法,用戶欲啟動虛擬網路功能之高可用性叢集系統架構時,利用儀表板輸入叢集系統架構必要之環境數據於環境數據資料庫,伺服器代理程序再依此環境數據執行備援演算法,並將向環境數據資料庫的叢集系統架構之資料路徑與其備援之資料流路徑傳送SDN控制器。SDN控制器再藉由OpenFlow協定完成路徑之設置。當資料庫叢集系統架構成員發生異常,由伺服器代理程序更新環境數據資料庫,並判斷是否要重新更新備援之資料路徑。The invention is a backup method applied to a virtual network function. When a user wants to start a high-availability cluster system architecture of a virtual network function, a dashboard is used to input environmental data necessary for the cluster system architecture to an environmental data database and a server agent program Then, the backup algorithm is executed according to the environmental data, and the SDN controller is transmitted to the data path of the cluster system architecture of the environmental data database and the backup data flow path. The SDN controller then completes the path setting through the OpenFlow protocol. When an exception occurs to a member of the database cluster system architecture, the server agent program updates the environmental data database and determines whether to update the redundant data path.
圖1為本發明應用於虛擬網路功能之備援方法之系統架構圖,包括:儀表板100、環境數據資料庫200、伺服器代理程序300、SDN控制器400、SDN交換器500、複數個虛擬網路功能600,及任務管控資料庫700。伺服器代理程序300包括一心跳主偵測器310,及一備援演算法320。每個虛擬網路功能600包括一心跳偵測器610。FIG. 1 is a system architecture diagram of a backup method applied to a virtual network function of the present invention, including: a
首先,用戶利用儀表板100輸入叢集系統架構必要之環境數據於環境數據資料庫200,環境數據資料庫200將輸入之環境數據彙整成系統架構必要之環境數據,用以啟動高可用性叢集系統架構之虛擬網路功能600。環境數據資料庫200完成初始啟動之後,通知伺服器代理程序300其就緒狀態,伺服器代理程序300根據環境數據執行備援演算法320,依備援演算法320之計算結果,通知虛擬網路功能600向任務管控資料庫700索取虛擬網路功能600各自負責之片段服務資料及其備援之片段服務資料。First, the user uses the
然後,伺服器代理程序300把向環境數據資料庫200索取的叢集系統架構之資料路徑及其備援之資料流路徑予以SDN控制器400,而後SDN控制器400就利用OpenFlow協定於SDN交換器500上完成資料路徑之架設。Then, the
以下說明虛擬網路功能叢集系統架構運作異常之狀況。The following describes the abnormal operation of the virtual network function cluster system architecture.
請參閱圖1,虛擬網路功能600於設定之固定時間便會回傳一次心跳訊息至伺服器代理程序300之心跳主偵測器310,圖中以虛線表示心跳訊息之進行。Referring to FIG. 1, the
請參閱圖2,在步驟2001中,虛擬網路功能叢集架構運作中。在步驟2002中,心跳主偵測器是否收到心跳確認訊息。在一實施例中,假設虛擬網路功能M發生異常檢測,心跳主偵測器310在設定的可容忍期間、次數內未接獲到虛擬網路功能M之心跳偵測器m的心跳確認訊息,伺服器代理程序300就主動發送一確認訊息(例如「Hello」訊息),確認虛擬網路功能M的狀態(步驟S2003),及確認其是否存在一可運作之備援虛擬網路功能M’(步驟S2004)。Please refer to FIG. 2, in step 2001, the virtual network function cluster architecture is in operation. In
若存在一可運作之備援虛擬網路功能M’,伺服器代理程序300通知備援演算法320傳送一失敗訊息(例如「fail」訊息),通知SDN控制器400(步驟S2005),由SDN控制器400下達命令更改SDN交換器500關於異常虛擬網路功能M的資料路徑,使虛擬網路功能M資料流導向其備援虛擬網路功能M’ (步驟S2006)。If there is an operational backup virtual network function M', the
若虛擬網路功能M發生異常且不存在任何可運作之備援虛擬網路功能,伺服器代理程序300呼叫備援演算法320(步驟2007)重新計算目前使用中虛擬網路功能600之備援(步驟2008)。備援演算法320完成計算後(步驟2009),伺服器代理程序300通知虛擬網路功能600向任務管控資料庫700索取新的服務片段資訊(步驟2010),同時通知備援演算法320傳送一更新訊息(例如「update」訊息)給予SDN控制器400,通知SDN控制器400根據備援演算法320之計算結果重新分配資料流,由SDN控制器400下達命令更改SDN交換器500關於異常虛擬網路功能M的資料路徑(步驟2011),使虛擬網路功能M資料流導向其備援虛擬網路功能M’ (步驟2012)。If the virtual network function M is abnormal and there is no operational backup virtual network function, the
以下說明備援演算法,首先請參考以下公式(1):
(1) 假設
為單一虛擬網路功能600損毀之機率,
為用戶所要求之叢集架構可信度,叢集系統架構中具有
個虛擬網路功能600,
為每一個虛擬網路功能600所需要之備援數量,其中
、
及
為用戶利用儀表板100所輸入之環境系統參數。其表示,當目前使用中之虛擬網路功能600及其備援之架構成員皆無法支撐整個服務架構時的可信度要大於
,透過公式(1),將會計算出每個虛擬網路功能600所需要的備援數量
。
The following describes the backup algorithm, first please refer to the following formula (1): (1) Assumption The probability of a single
而後,求得每個虛擬網路功能600所需之備援數量
,以雜湊演算法公式(2)、公式(3)來指定分配當前使用中虛擬網路功能600之備援架構成員。
Then, find the number of backups required for each
在一實施例中,若X為偶數,則所述X個備援HSS VM為: (2) In an embodiment, if X is an even number, the X redundant HSS VMs are: (2)
在另一實施例中,若X為奇數,則所述X個備援HSS VM為: (3) In another embodiment, if X is an odd number, the X redundant HSS VMs are: (3)
假設
為指標,指向當前使用中之虛擬網路功能600,而
為分配
之備援架構成員。
Suppose Is a pointer to the currently used
公式(2)表示,若計算出叢集系統架構中每個虛擬網路功能600所需要的備援數量為偶數,即其備援成員為以指向
虛擬網路功能600之前後對稱相對數量。舉例而言,若叢集系統架構中的虛擬網路功能600數量
為五個,每一個虛擬網路功能600所需要之備援數量
為二個,其
目前指向第三個系統成員,因此其備援成員為第二個與第四個系統成員,依此類推。
Formula (2) indicates that if the number of backups required for each
公式(3)表示,若計算出叢集系統架構的虛擬網路功能600所需要的備援數量為奇數,即其備援成員為以指向
之前後對稱相對數量與指標向後之成員加一。舉例而言,若叢集系統架構中虛擬網路功能600數量
為五個,每一個虛擬網路功能600所需要之備援數量
為二個,其
目前指向第二個系統成員,因此其備援成員為第二個、第三個與第四個系統成員,依此類推。
Formula (3) indicates that if the number of backups required for the
[特點及功效][Features and effects]
習知技術主要是以人工的方式設置叢集系統架構的備援資料路徑。本發明一種應用於虛擬網路功能之備援方法及系統,與其他習用技術相互比較時,更具備下列優點:The conventional technique is mainly to manually set the backup data path of the cluster system architecture. The backup method and system applied to the virtual network function of the present invention have the following advantages when compared with other conventional technologies:
1. 本發明利用簡易的雜湊演算法來計算叢集系統架構成員之備援。1. The present invention uses a simple hash algorithm to calculate the backup of the cluster system architecture members.
2. 本發明利用SDN技術達到自動規劃叢集系統架構成員之備援資料流。2. The present invention uses SDN technology to achieve automatic backup data flow for members of the cluster system architecture.
3. 本發明藉由心跳偵測器可偵測虛擬網路功能叢集系統架構成員的異常狀態,進而決定是否重新規劃備援路徑。3. The present invention can detect the abnormal state of the members of the virtual network function cluster system architecture through the heartbeat detector, and then decide whether to re-plan the backup path.
4. 本發明針對用戶之便利性,設計HTTP介面儀表板,俾使用戶可簡易操作初始化設定與觀察目前叢集系統架構之資料流路徑,以及目前叢集系統架構之成員狀態。4. The present invention is designed for the convenience of users by designing an HTTP interface dashboard so that users can easily operate the initial settings and observe the data flow path of the current cluster system architecture and the status of members of the current cluster system architecture.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above with examples, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be subject to the scope defined in the appended patent application.
100:儀表板100: dashboard
200:環境數據資料庫200: Environmental data database
300:伺服器代理程序300: server agent
310:心跳主偵測器310: Heartbeat main detector
320:備援演算法320: backup algorithm
400:SDN控制器400: SDN controller
500:SDN交換器500: SDN switch
600:虛擬網路功能600: virtual network function
610:心跳偵測器610: Heartbeat detector
700:任務管控資料庫700: Mission control database
M:異常之虛擬網路功能M: Abnormal virtual network function
M’:備援之虛擬網路功能M’: redundant virtual network function
m:異常之虛擬網路功能之心跳偵測器m: Heartbeat detector for abnormal virtual network function
2001 ~ 2012:虛擬網路功能叢集架構運作異常流程2001 ~ 2012: Abnormal operation of virtual network function cluster architecture
圖1為本發明應用於虛擬網路功能之備援方法之系統架構圖。 圖2為虛擬網路功能叢集架構運作異常流程圖。FIG. 1 is a system architecture diagram of a backup method applied to a virtual network function of the present invention. FIG. 2 is a flowchart of abnormal operation of the virtual network function cluster architecture.
100:儀表板 100: dashboard
200:環境數據資料庫 200: Environmental data database
300:伺服器代理程序 300: server agent
310:心跳主偵測器 310: Heartbeat main detector
320:備援演算法 320: backup algorithm
400:SDN控制器 400: SDN controller
500:SDN交換器 500: SDN switch
600:虛擬網路功能 600: virtual network function
610:心跳偵測器 610: Heartbeat detector
700:任務管控資料庫 700: Mission control database
M:異常之虛擬網路功能 M: Abnormal virtual network function
M’:備援之虛擬網路功能 M’: redundant virtual network function
m:異常之虛擬網路功能之心跳偵測器 m: Heartbeat detector for abnormal virtual network function
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107144868A TWI691183B (en) | 2018-12-12 | 2018-12-12 | Backup method applied in virtual network function and system using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107144868A TWI691183B (en) | 2018-12-12 | 2018-12-12 | Backup method applied in virtual network function and system using the same |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI691183B true TWI691183B (en) | 2020-04-11 |
TW202023243A TW202023243A (en) | 2020-06-16 |
Family
ID=71134393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107144868A TWI691183B (en) | 2018-12-12 | 2018-12-12 | Backup method applied in virtual network function and system using the same |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI691183B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140211661A1 (en) * | 2013-01-25 | 2014-07-31 | Argela Yazilim Ve Bilisim Teknolojileri San. Ve. Tic. A.S. | Automatic Discovery of Multiple Controllers in Software Defined Networks (SDNs) |
CN104243205A (en) * | 2014-09-03 | 2014-12-24 | 杭州华三通信技术有限公司 | Message processing method and device used during virtual switch fault |
US20150350077A1 (en) * | 2014-05-30 | 2015-12-03 | Brocade Communications Systems, Inc. | Techniques For Transforming Legacy Networks Into SDN-Enabled Networks |
US20170070387A1 (en) * | 2015-09-09 | 2017-03-09 | Telefonaktiebolaget L M Ericsson (Publ) | Method for pro-active traffic redirection in multi-hop wireless networks using software defined networking |
TW201824827A (en) * | 2016-12-29 | 2018-07-01 | 大陸商中國銀聯股份有限公司 | Message mirroring method based on SDN and network flow monitoring management system |
-
2018
- 2018-12-12 TW TW107144868A patent/TWI691183B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140211661A1 (en) * | 2013-01-25 | 2014-07-31 | Argela Yazilim Ve Bilisim Teknolojileri San. Ve. Tic. A.S. | Automatic Discovery of Multiple Controllers in Software Defined Networks (SDNs) |
US20150350077A1 (en) * | 2014-05-30 | 2015-12-03 | Brocade Communications Systems, Inc. | Techniques For Transforming Legacy Networks Into SDN-Enabled Networks |
CN104243205A (en) * | 2014-09-03 | 2014-12-24 | 杭州华三通信技术有限公司 | Message processing method and device used during virtual switch fault |
US20170070387A1 (en) * | 2015-09-09 | 2017-03-09 | Telefonaktiebolaget L M Ericsson (Publ) | Method for pro-active traffic redirection in multi-hop wireless networks using software defined networking |
TW201824827A (en) * | 2016-12-29 | 2018-07-01 | 大陸商中國銀聯股份有限公司 | Message mirroring method based on SDN and network flow monitoring management system |
Also Published As
Publication number | Publication date |
---|---|
TW202023243A (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112887368B (en) | Load balancing access to replicated databases | |
JP5851503B2 (en) | Providing high availability for applications in highly available virtual machine environments | |
KR102027604B1 (en) | Increasing availability of stateful applications | |
Jahanian et al. | Processor group membership protocols: specification, design and implementation | |
US9641449B2 (en) | Variable configurations for workload distribution across multiple sites | |
US6986076B1 (en) | Proactive method for ensuring availability in a clustered system | |
WO2017067484A1 (en) | Virtualization data center scheduling system and method | |
CN107786568A (en) | A kind of automatic construction device of mimicry cloud main frame, method and system | |
WO2019061720A1 (en) | Data synchronization method and system | |
US10924538B2 (en) | Systems and methods of monitoring software application processes | |
WO2017000260A1 (en) | Method and apparatus for switching vnf | |
CN111314125A (en) | System and method for fault tolerant communication | |
US20160036654A1 (en) | Cluster system | |
WO2011138879A1 (en) | Operation management device and operation management method of information processing system | |
CN104158707A (en) | Method and device of detecting and processing brain split in cluster | |
JP2017502414A (en) | System and method for supporting asynchronous calls in a distributed data grid | |
JP7206981B2 (en) | Cluster system, its control method, server, and program | |
CN101442437B (en) | Method, system and equipment for implementing high availability | |
TWI691183B (en) | Backup method applied in virtual network function and system using the same | |
US9317355B2 (en) | Dynamically determining an external systems management application to report system errors | |
JP2012014674A (en) | Failure recovery method, server, and program in virtual environment | |
WO2017018435A1 (en) | Resource monitoring device, virtual network function managing system, resource monitoring method, and program | |
WO2022009438A1 (en) | Server maintenance control device, system, control method, and program | |
JP5631285B2 (en) | Fault monitoring system and fault monitoring method | |
KR101883251B1 (en) | Apparatus and method for determining failover in virtual system |