TWI713357B - Video streaming using hierarchical data center failover method - Google Patents

Video streaming using hierarchical data center failover method Download PDF

Info

Publication number
TWI713357B
TWI713357B TW108112762A TW108112762A TWI713357B TW I713357 B TWI713357 B TW I713357B TW 108112762 A TW108112762 A TW 108112762A TW 108112762 A TW108112762 A TW 108112762A TW I713357 B TWI713357 B TW I713357B
Authority
TW
Taiwan
Prior art keywords
data center
server
network
streaming
backup
Prior art date
Application number
TW108112762A
Other languages
Chinese (zh)
Other versions
TW202038629A (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 TW108112762A priority Critical patent/TWI713357B/en
Publication of TW202038629A publication Critical patent/TW202038629A/en
Application granted granted Critical
Publication of TWI713357B publication Critical patent/TWI713357B/en

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一種影音串流使用階層式資料中心的故障轉移方法,其特徵在於:影音串流提供端將串流內容上傳到資料中心網路,一主伺服器依階層式架構由上而下將內容備份到資料中心網路的各個對等端,一維護伺服器確認各地區用戶端的位置和數量並配置所需的備援邊緣伺服器。當用戶端遭遇網路故障等情況以致串流中斷不連續時,資料中心網路透過DNS機制依階層式架構將該用戶端往上導向最近的可用備援伺服器或者P2P下載點。由於轉移用戶端連接到備援伺服器相當迅速,用戶在不知不覺情況下即可完成連接到其他地區的備援伺服器或者P2P下載點繼續觀賞串流內容。 A failover method using hierarchical data center for audio and video streaming is characterized in that: the audio and video streaming provider uploads the streaming content to the data center network, and a main server backs up the content from top to bottom in a hierarchical structure At each peer of the data center network, a maintenance server confirms the location and number of clients in each region and configures the required redundant edge servers. When the client encounters network failures and other conditions that cause the streaming to be interrupted and discontinuous, the data center network uses the DNS mechanism to direct the client upwards to the nearest available backup server or P2P download point in a hierarchical structure. Since the transfer client connects to the backup server quite quickly, the user can connect to the backup server or P2P download point in other regions without knowing it and continue to watch the streaming content.

Description

影音串流使用階層式資料中心的故障轉移方法 Video streaming using hierarchical data center failover method

本發明關於一種影音串流使用階層式資料中心的故障轉移方法,其中,所述的階層式資料中心提供用戶端連接以確保良好的收視品質,同時將串流內容備份到各地區的備援伺服器或P2P下載點。當遭遇伺服器故障或者網路壅塞等情況以致串流中斷不連續時,資料中心網路透過DNS機制依階層式架構將用戶端優先轉移到鄰近網路品質較佳的備援伺服器或者P2P下載點,同時排除故障問題,確保用戶端有良好的收視品質;進一步應用前述的技術各資料中心也會在備援伺服器不足時透過DNS機制將用戶端導向較高階層的資料中心;並且本發明更提供一種維護伺服器配置備援的實施方法,如此能維護用戶收視品質及提高使用者滿意度。 The present invention relates to a failover method for a hierarchical data center for audio and video streaming, wherein the hierarchical data center provides client connections to ensure good viewing quality, and at the same time backs up streaming content to backup servers in various regions Or P2P download point. When encountering server failure or network congestion and other situations that cause the streaming to be interrupted and discontinuous, the data center network uses the DNS mechanism according to the hierarchical structure to transfer the client first to the nearby backup server with better quality or P2P download At the same time, troubleshooting problems to ensure that the client has a good viewing quality; further applying the aforementioned technology, each data center will also direct the client to a higher-level data center through the DNS mechanism when the backup server is insufficient; and the present invention It also provides an implementation method for maintaining server configuration backup, which can maintain user viewing quality and improve user satisfaction.

現今的線上影音產業大多選擇以內容傳遞網路(Content delivery network or CDN)來提供影音串流服務。CDN是透過網際網路互相連接的資料中心系統,利用最靠近每位使用者的伺服器,更快、更可靠地將音樂、圖片、影片、應用程式或甚至直播節目內容傳送給使用者。 Most of the online audio-visual industry nowadays choose to use Content Delivery Network (CDN) to provide audio-visual streaming services. CDN is a data center system connected to each other through the Internet. It uses the server closest to each user to deliver music, pictures, videos, applications or even live program content to users faster and more reliably.

前述的CDN基本架構需要業者租購機房及部署伺服器提供用戶連接使用,但是這種建構方式造成業者設備成本偏高。在最近的一些研究中,研究人員將P2P(點對點傳輸技術)結合CDN部署與管理技術,以降低業者營運成 本。參與CDN部署的用戶以自己的電腦硬體作為CDN的快取節點,也能從中獲取獎金、商品或網路服務作為回饋。 The aforementioned basic CDN architecture requires operators to rent and purchase computer rooms and deploy servers to provide users with connection and use, but this construction method results in high equipment costs for operators. In some recent studies, researchers have combined P2P (point-to-point transmission technology) with CDN deployment and management technology to reduce business costs. this. Users participating in CDN deployment use their own computer hardware as the CDN's cache node, and they can also get bonuses, goods, or network services as a reward.

把CDN-P2P運用在影音串流的挑戰在於:直播節目通常有即時性與連續性,例如新聞直播時用戶需要觀看前後連續的內容才能了解該篇報導內的資訊,但是網路壅塞、網路延遲或者提供端伺服器故障等情況可能造成直播內容中斷不連續,讓收視戶對業者印象大打折扣。有時收視戶不耐久等甚至會轉到其他影音串流業者的頻道,進而導致收視戶流失。 The challenge of applying CDN-P2P to audio and video streaming is that live broadcasts usually have real-time and continuity. For example, users need to watch continuous content before and after live news to understand the information in the report, but network congestion and network Delays or server failures on the provider side may cause discontinuities in live broadcast content, which will greatly reduce the impression of viewers on the industry. Sometimes the viewers are impatient and may even switch to the channels of other video and audio streaming companies, which leads to the loss of viewers.

目前的影音串流技術大多是在故障時轉移相關用戶到鄰近的邊緣伺服器(edge server),但是前述的技術都沒有提供具有相關伺服器配置和維護算法的具體故障轉移機制,以保障影音串流的服務品質。 Most of the current audio and video streaming technologies transfer related users to adjacent edge servers in the event of a failure, but none of the aforementioned technologies provide a specific failover mechanism with related server configuration and maintenance algorithms to ensure audio and video streaming Streaming service quality.

本發明的目的在於提供一種影音串流使用階層式資料中心的故障轉移方法,首先將串流內容以階層式的樹狀架構由上而下依序分配到各地的備援伺服器。當用戶端遭遇網路壅塞、網路延遲或者提供端伺服器故障等情況以致串流中斷不連續時,透過本發明的故障轉移機制,相關用戶端優先連接鄰近可用且網路品質較佳的備援伺服器或者P2P下載點,以保障用戶端的影音串流服務品質。 The purpose of the present invention is to provide a failover method for audio and video streaming using a hierarchical data center. First, the streaming content is distributed to backup servers in various regions in a hierarchical tree structure from top to bottom. When the client encounters network congestion, network delay, or server failure on the provider side, resulting in discontinuous streaming interruption, through the failover mechanism of the present invention, the relevant client preferentially connects to nearby devices with better network quality. Support server or P2P download point to ensure the quality of audio and video streaming services on the client side.

緣此,本發明採用的技術如下:本案任一資料中心係架構在一階層式資料中心上,基本上包含有一影音串流提供端、一資料中心網路、多個P2P網路及多個用戶端。 For this reason, the technology adopted in the present invention is as follows: any data center in this case is structured on a hierarchical data center, basically including an audio-visual streaming provider, a data center network, multiple P2P networks, and multiple users end.

前述的影音串流提供端提供並上傳影音串流內容到前述的資料中心網路。 The foregoing audiovisual streaming provider provides and uploads audiovisual streaming content to the foregoing data center network.

前述的資料中心網路包含有一主伺服器、一維護伺服器、至少一DNS伺服器及多台備援伺服器。前述的主伺服器儲存提供端傳來的影音串流內容,並將串流內容發送到各用戶端所在地的備援伺服器。備援伺服器儲存主伺服器傳來的影音串流內容的備份。在用戶端遭遇網路壅塞、網路延遲或者提供端伺服器故障等情況以致串流中斷不連續時,備援伺服器將直接提供串流內容備份給用戶端收看。 The aforementioned data center network includes a main server, a maintenance server, at least one DNS server, and multiple backup servers. The aforementioned main server stores the video and audio streaming content from the provider, and sends the streaming content to the backup server where each client is located. The backup server stores the backup of the video and audio streaming content from the main server. When the client encounters network congestion, network delay, or failure of the provider server, which causes the streaming to be interrupted and discontinuous, the backup server will directly provide a backup of the streaming content for the client to watch.

前述的P2P網路由多個用戶端組成作為傳遞網路使用,與前述的備援伺服器一同充當故障轉移的串流備份下載點。 The aforementioned P2P network is composed of multiple client terminals as a delivery network, and serves as a failover streaming backup download point together with the aforementioned backup server.

前述的每一台備援伺服器及每一個P2P網路都能被定義為一對等端,其具有影音串流傳輸、交換、儲存之功能,並且與前述的資料中心網路的維護伺服器連接。 Each of the aforementioned backup servers and each P2P network can be defined as a peer-to-peer terminal, which has the functions of video and audio streaming, exchange, and storage, and is compatible with the aforementioned maintenance server of the data center network connection.

前述的資料中心網路可以被設置成多階層架構:大多數的資料中心作為服務區域用戶端的邊緣資料中心,可提供當地用戶低通訊時延的影音串流備援。其餘資料中心在架構中則被配置在高於邊緣資料中心的層級,可吸收邊緣資料中心無法應付的偶發性工作爆量。所有的資料中心共同支援故障轉移,其DNS機制將尋求備援的用戶端往上導向最近的可用備援伺服器或者P2P下載點。 The aforementioned data center network can be set up as a multi-layer structure: most data centers serve as the edge data centers of the clients in the service area, which can provide local users with low communication delay video and audio streaming backup. The remaining data centers are configured at a higher level than the edge data centers in the architecture, which can absorb the occasional workload burst that the edge data centers cannot handle. All data centers support failover together, and its DNS mechanism directs the client seeking backup to the nearest available backup server or P2P download point.

是以,透過本發明特點如下列所述: Therefore, the characteristics of the present invention are as follows:

1.在影音串流開始時,前述的維護伺服器確認各地區用戶端的位置和數量並在各資料中心配置所需的備援伺服器,然後主伺服器將提供端的串流內容依階層式架構由上而下備份到各資料中心的備援伺服器或P2P對等端。 1. At the beginning of the video streaming, the aforementioned maintenance server confirms the location and number of clients in each region and configures the required backup servers in each data center, and then the main server will provide the streaming content of the client in a hierarchical structure Back up from top to bottom to the backup server or P2P peer of each data center.

2.當用戶端遭遇故障以致串流中斷不連續時,用戶端連接資料中心網路尋求故障轉移服務,接著資料中心網路的DNS機制依階層式架構將該用戶端往上導向最近的可用備援伺服器。由於轉移用戶端連接到備援伺服器或者P2P下載點可能不到2秒,用戶在不知不覺情況下即可完成連接到其他地區的備援伺服器或者P2P下載點繼續觀賞串流內容。 2. When the client encounters a failure and the streaming is not continuous, the client connects to the data center network for failover service, and then the DNS mechanism of the data center network directs the client upwards to the nearest available device according to a hierarchical structure. Support server. Since it may take less than 2 seconds for the transfer client to connect to the backup server or P2P download point, the user can complete the connection to the backup server or P2P download point in other regions without knowing it and continue to watch the streaming content.

在本發明的實施方式中,有可能當地的資料中心無法提供足夠備援伺服器或P2P下載點來進行故障轉移。為了保障用戶的權益,除了維護伺服器會依照用戶端數量在各資料中心配置所需的備援伺服器之外,各資料中心也會在備援伺服器不足時透過DNS機制將用戶端導向較高階層的資料中心,例如彰化的Google資料中心為較高階層,而台中或南投地區的資料中心為次階層,當次階層的資料中心無法提供當地用戶端故障轉移服務時,該用戶端會被當地資料中心的DNS伺服器導向彰化資料中心尋求故障轉移服務。前述的DNS導向機制的實施方式可以結合軟體定義網路技術(Software Defined Networking),以軟體程式用中央控制方式重新規劃故障轉移的導向。 In the implementation of the present invention, it is possible that the local data center cannot provide enough backup servers or P2P download points for failover. In order to protect the rights and interests of users, in addition to the maintenance server will allocate the required backup servers in each data center according to the number of clients, each data center will also use the DNS mechanism to direct the client to a relatively low level when the backup server is insufficient. High-level data centers, such as the Google data center in Changhua, are higher-level data centers, while data centers in Taichung or Nantou are sub-level data centers. When the sub-level data centers cannot provide local client failover services, the client will be The DNS server of the local data center directed the Changhua data center for failover services. The foregoing implementation of the DNS-oriented mechanism can be combined with Software Defined Networking to re-plan the failover orientation in a centrally controlled manner using software programs.

維護伺服器配置備援的實施方法如下:假設每個用戶端所需的串流頻寬為固定值x-bps(bits per second),故障轉移所需的時間為T秒而統計數據顯示客戶端在T秒發生故障的機率為f。若要保證故障轉移成功機率至少為(1-

Figure 108112762-A0305-02-0006-2
),那麼維護伺服器必須替每一個客戶端配置足以提供(x.log f
Figure 108112762-A0305-02-0006-3
)-bps影音串流的備援伺服器或P2P下載點。 The implementation method of maintaining server configuration redundancy is as follows: Assume that the streaming bandwidth required by each client is a fixed value of x-bps (bits per second), the time required for failover is T seconds, and the statistics show that the client The probability of failure in T seconds is f . To ensure that the failover success rate is at least (1-
Figure 108112762-A0305-02-0006-2
), then the maintenance server must be configured for each client to provide (x.log f
Figure 108112762-A0305-02-0006-3
)-bps backup server or P2P download point for video streaming.

在上述的實施方式中至少包含兩層或兩層以上的資料中心網路,讓邊緣資料中心能夠把無法應付的工作爆量導向高階層的資料中心,以減輕邊緣資料中心的負載量,強化故障轉移服務的擴充性。 In the above implementation, at least two or more layers of data center networks are included, so that the edge data center can direct the unmanageable workload to the high-level data center, so as to reduce the load of the edge data center and strengthen the failure. The scalability of transfer services.

在本發明的實施方式中,每一台備援伺服器及每一個P2P下載點都是對等端,因此,在影音串流進行時,前述維護伺服器需確保所需的每一台備援伺服器及每一個P2P下載點的狀況正常。若備援伺服器或P2P下載點不足以支援現有的客戶群,維護伺服器將在相關資料中心動態配置額外的備援伺服器。 In the embodiment of the present invention, each backup server and each P2P download point are peers. Therefore, when the video streaming is in progress, the aforementioned maintenance server needs to ensure that each backup server is required The server and each P2P download point are in normal condition. If the backup server or P2P download point is not enough to support the existing customer base, the maintenance server will dynamically configure additional backup servers in the relevant data center.

(1):影音串流提供端 (1): Video and audio streaming provider

(2):資料中心網路 (2): Data center network

(2’):高階層的資料中心網路 (2’): High-level data center network

(21):主伺服器 (21): Main server

(22):維護伺服器 (22): Maintain the server

(23):DNS伺服器 (23): DNS server

(24):備援伺服器 (24): Redundant server

(3):P2P網路 (3): P2P network

(4):用戶端 (4): Client

第1圖係本發明的系統圖;第2圖係本發明傳送媒體影音的流程示意圖;第3圖係本發明進行備份維護的狀態圖;第4圖係本發明進行直播時該DNS伺服器、維護伺服器分配對等端的示意圖;第5圖係本發明故障轉移的流程示意圖。 Figure 1 is a system diagram of the present invention; Figure 2 is a schematic diagram of the process of transmitting media audio and video of the present invention; Figure 3 is a state diagram of the present invention for backup maintenance; Figure 4 is the DNS server, A schematic diagram of the maintenance server assigning peers; Figure 5 is a schematic diagram of the failover process of the present invention.

請參閱第1圖,本發明的架構可以建立在目前所有的資料中心網路使用,而本發明的圖式以CDN-P2P網路為例,但是不侷限於此,亦可運用在CDN網路、學術網路等類似的網路服務上。 Please refer to Figure 1. The architecture of the present invention can be built on all current data center networks. The diagram of the present invention takes CDN-P2P network as an example, but it is not limited to this and can also be used in CDN networks. , Academic network and similar network services.

請參閱第1圖,本案所提供的CDN-P2P網路架構基本有下列設備所組構,其包含有:一影音串流提供端(1)、一資料中心網路(2)、多個P2P網路(3)及多個用戶端(4)。 Please refer to Figure 1. The CDN-P2P network architecture provided in this case is basically composed of the following equipment, including: an audio and video streaming provider (1), a data center network (2), multiple P2P Network (3) and multiple clients (4).

請參閱第1圖,前述的影音串流提供端(1)係提供並上傳影音串流內容到前述的資料中心網路(2),換言之影音串流提供端(1)即是如直播主或者直播媒體業者,其提供直播之媒體影音,如運動賽事、新聞等。 Please refer to Figure 1. The aforementioned video streaming provider (1) provides and uploads video streaming content to the aforementioned data center network (2). In other words, the video streaming provider (1) is like a live broadcast host or Live broadcast media companies provide live media video and audio, such as sports events, news, etc.

請參閱第1圖,前述的資料中心網路(2)包含有一主伺服器(21)、一維護伺服器(22)、至少一DNS伺服器(23)及多台備援伺服器(24)。前述的主伺服器(21)儲存影音串流提供端(1)傳來的影音串流內容,並將串流內容發送到各用戶端所在地的備援伺服器(24)。備援伺服器(24)儲存主伺服器(21)傳來的影音串流內容的備份。在用戶端(4)遭遇網路壅塞、網路延遲或者提供端伺服器故障等情況以致串流中斷不連續時,備援伺服器(24)將直接提供串流內容備份給用戶端(4)收看。 Please refer to Figure 1. The aforementioned data center network (2) includes a primary server (21), a maintenance server (22), at least one DNS server (23) and multiple backup servers (24) . The aforementioned main server (21) stores the video and audio streaming content from the video and audio streaming provider (1), and sends the streaming content to the backup server (24) where each client is located. The backup server (24) stores the backup of the video and audio streaming content from the main server (21). When the client (4) encounters network congestion, network delay, or the failure of the provider server, which causes the streaming to be interrupted and discontinuous, the backup server (24) will directly provide the streaming content backup to the client (4) Watch.

請參閱第1圖,前述的P2P網路(3)由多個用戶端(4)組成作為傳遞網路使用,與前述的備援伺服器(24)一同充當故障轉移的串流備份下載點。 Please refer to Figure 1. The aforementioned P2P network (3) is composed of multiple clients (4) as a delivery network, and serves as a failover streaming backup download point together with the aforementioned backup server (24).

請參閱第1圖,前述的每一台備援伺服器(24)及每一個P2P網路(3)都能被定義為一對等端,其具有影音串流傳輸、交換、儲存之功能,並且每一台備援伺服器(24)及每一個P2P網路(3)與前述的資料中心網路(2)的維護伺服器(22)連接。 Please refer to Figure 1. Each of the aforementioned backup servers (24) and each P2P network (3) can be defined as a peer-to-peer terminal, which has the functions of video and audio streaming, exchange, and storage. And each backup server (24) and each P2P network (3) are connected with the maintenance server (22) of the aforementioned data center network (2).

請參閱第2至5圖,透過上述的系統架構說明,本發明的使用方式以及可獲得的功效如下: 請參閱第2圖,在影音串流開始時,前述的維護伺服器(22)確認各地區用戶端(4)的位置和數量並在各資料中心配置所需的備援伺服器(24),然後主伺服器(21)將影音串流提供端(1)的串流內容依階層式架構由上而下備份到各資料中心的備援伺服器(24)或P2P網路(3)之對等端。換言之用戶端(4)連接到最近的備援伺服器(24)具有較佳的收視品質。 Please refer to Figures 2 to 5, through the above system architecture description, the use of the present invention and obtainable effects are as follows: Please refer to Figure 2. At the beginning of the video streaming, the aforementioned maintenance server (22) confirms the location and number of clients (4) in each region and configures the required backup servers (24) in each data center. Then the main server (21) backs up the streaming content of the video and audio streaming provider (1) from top to bottom in a hierarchical structure to the backup server (24) or P2P network (3) of each data center. Wait. In other words, the client (4) is connected to the nearest backup server (24) with better viewing quality.

如第3圖所示,用戶端(4)開始觀賞媒體影音時,用戶端(4)的後台回饋資料到對等端其中之一或者將回饋資料到高階層的資料中心網路(2’)、高階層的P2P網路(3’)之任一對等端,但是須遵守父流與子流的運作方式;這邊的用意即在於保留至少一儲存點,若未來產生資料中心網路(2)架構任一對等端發生故障時能夠接續目前的進度,避免產生媒體影音間斷的問題。 As shown in Figure 3, when the client (4) starts to watch media videos, the background of the client (4) will send back data to one of the peers or send the feedback data to the high-level data center network (2') , Any peer of the high-level P2P network (3'), but must comply with the operation of the parent stream and the child stream; the intention here is to reserve at least one storage point, if a data center network ( 2) When any peer of the architecture fails, the current progress can be continued, avoiding the problem of media video and audio interruption.

請參閱第4、5圖,本發明的故障轉移機制為:當用戶端(4)遭遇故障以致串流中斷不連續時,所述的用戶端(4)連接資料中心網路(2)尋求故障轉移服務,接著資料中心網路(2)的DNS伺服器(23)依階層式架構的機制將該用戶端(4)上導向最近的可用備援伺服器(24)。由於轉移用戶端(4)連接到備援伺服器或者P2P下載點可能不到2秒,用戶端(4)在不知不覺情況下即可完成連接到其他地區的備援伺服器(24)或者P2P網路(3)下載點繼續觀賞串流內容。 Please refer to Figures 4 and 5, the failover mechanism of the present invention is: when the client (4) encounters a failure and the stream is interrupted and discontinuous, the client (4) connects to the data center network (2) to seek failure Transfer services, and then the DNS server (23) of the data center network (2) directs the client (4) to the nearest available backup server (24) according to a hierarchical structure. Since it may take less than 2 seconds for the transfer client (4) to connect to the backup server or P2P download point, the client (4) can connect to the backup server (24) in other regions without knowing it. P2P network (3) Download point to continue watching the streaming content.

請繼續參閱第4至5圖,在本發明的實施方式中,有可能當地的資料中心網路(2)無法提供足夠數量的備援伺服器(24)或P2P網路(3)下載點來進行故障轉移。為了保障用戶的權益,除了維護伺服器(22)會依照用戶端(4)數量在各資料中心網路(2)配置所需的備援伺服器(24)之外,各資料中心網路(2)也會在備援伺服器(24)不足時透過DNS伺服器(23)將用戶端(24)導向較高階層的資料中心網路(2’),例如彰化的Google資料中心為較高階層的資料中心網路(2’),而台中或 南投地區的資料中心為次階層的資料中心網路(2),當次階層的資料中心網路(2)無法提供當地用戶端(4)故障轉移服務時,該用戶端(4)會被當地資料中心的DNS伺服器(23)導向彰化較高階層的資料中心網路(2’)尋求故障轉移服務。前述的DNS導向機制的實施方式可以結合軟體定義網路技術(Software Defined Networking),以軟體程式用中央控制方式重新規劃故障轉移的導向。 Please continue to refer to Figures 4 to 5. In the implementation of the present invention, it is possible that the local data center network (2) cannot provide a sufficient number of backup servers (24) or P2P network (3) download points. Perform a failover. In order to protect the rights and interests of users, each data center network (22) will configure the required backup server (24) in each data center network (2) according to the number of clients (4). 2) When the backup server (24) is insufficient, the client (24) will be directed to the higher-level data center network (2') through the DNS server (23). For example, the Google data center in Changhua is higher Hierarchical data center network (2'), and Taichung or The data center in the Nantou area is a sub-level data center network (2). When the sub-level data center network (2) cannot provide local client (4) failover services, the client (4) will be The DNS server (23) of the data center is directed to the higher-level data center network (2') of Changhua for failover services. The foregoing implementation of the DNS-oriented mechanism can be combined with Software Defined Networking to re-plan the failover orientation in a centrally controlled manner using software programs.

值得一提的是,前述的維護伺服器(22)配置備援的實施方法如下:假設每個用戶端(4)所需的串流頻寬為固定值x-bps(bits per second),故障轉移所需的時間為T秒而統計數據顯示用戶端(4)在T秒發生故障的機率為f。若要保證故障轉移成功機率至少為(1-

Figure 108112762-A0305-02-0010-4
),那麼維護伺服器(22)必須替每一個客戶端配置足以提供(x.log f
Figure 108112762-A0305-02-0010-5
)-bps影音串流的備援伺服器(24)或P2P網路(3)下載點。 It is worth mentioning that the implementation method of the aforementioned maintenance server (22) configuration backup is as follows: assume that the streaming bandwidth required by each client (4) is a fixed value of x-bps (bits per second), and the failure The time required for the transfer is T seconds, and the statistics show that the probability that the client (4) fails in T seconds is f . To ensure that the failover success rate is at least (1-
Figure 108112762-A0305-02-0010-4
), then the maintenance server (22) must be configured to provide (x.log f
Figure 108112762-A0305-02-0010-5
)-bps video streaming backup server (24) or P2P network (3) download point.

在本發明的實施方式中至少包含兩層(即是高階層與次階層)或兩層以上的資料中心網路(2),讓次階層的資料中心網路(2)能夠把無法應付的工作爆量導向高階層的資料中心(2’),以減輕次階層的資料中心(2)的負載量,強化故障轉移服務的擴充性。 In the embodiment of the present invention, at least two layers (ie, high-level and sub-level) or more than two levels of data center network (2) are included, so that the sub-level data center network (2) can handle tasks that cannot be handled The burst volume is directed to the high-level data center (2') to reduce the load of the sub-level data center (2) and strengthen the scalability of failover services.

在本發明的實施方式中,每一台備援伺服器及每一個P2P下載點都是對等端,因此,在影音串流進行時,前述維護伺服器需確保所需的每一台備援伺服器(24)及每一個P2P網路(3)的狀況正常。若備援伺服器(24)或P2P網路(3)不足以支援現有的客戶群,維護伺服器(22)將在相關資料中心網路(2)動態配置額外的備援伺服器(24)。 In the embodiment of the present invention, each backup server and each P2P download point are peers. Therefore, when the video streaming is in progress, the aforementioned maintenance server needs to ensure that each backup server is required The server (24) and each P2P network (3) are in normal condition. If the backup server (24) or P2P network (3) is not enough to support the existing customer base, the maintenance server (22) will dynamically configure additional backup servers (24) in the relevant data center network (2) .

因此,利用本發明所提供的技術優點大致如下:(1)利用目前現有的資料中心網路(2)即可建構,可以降低業者設立設備的成本;(2)減少因故障造成媒體影音中斷的問題情況;(3)業者可快速針對故障的對等端進行系統維護。 Therefore, the technical advantages provided by the present invention are roughly as follows: (1) It can be constructed using the current existing data center network (2), which can reduce the cost of setting up equipment for the industry; (2) It reduces the interruption of media video and audio due to failure Problem situation; (3) The industry can quickly perform system maintenance on the faulty peer.

綜上所述,本發明影音串流使用階層式資料中心的故障轉移方法均未曾見於諸書刊或公開使用,誠符合發明專利申請要件,懇請 鈞局明鑑,早日准予專利,至為感禱。 In summary, the failover method of the hierarchical data center used in the video and audio streaming of the present invention has never been seen in books or publicly used, and it is in compliance with the requirements of an invention patent application.

需陳明者,以上所述乃是本發明之具體實施立即所運用之技術原理,若依本發明之構想所作之改變,其所產生之功能仍未超出說明書及圖式所涵蓋之精神時,均應在本發明之範圍內,合予陳明。 If you need to clarify, the above are the technical principles immediately used in the implementation of the present invention. If the changes made according to the concept of the present invention, the functions produced by it still do not exceed the spirit covered by the specification and drawings, All should be within the scope of the present invention, and should be disclosed.

(1):影音串流提供端 (1): Video and audio streaming provider

(2):資料中心網路 (2): Data center network

(2’):高階層的資料中心網路 (2’): High-level data center network

(21):主伺服器 (21): Main server

(22):維護伺服器 (22): Maintain the server

(23):DNS伺服器 (23): DNS server

(24):備援伺服器 (24): Redundant server

(3):P2P網路 (3): P2P network

(4):用戶端 (4): Client

Claims (5)

一種影音串流使用階層式資料中心的故障轉移方法,任一資料中心建構在資料中心網路架構下,包含有:一影音串流提供端(1)、一資料中心網路(2)、多個P2P網路(3)及多個用戶端(4);前述的影音串流提供端(1)係提供並上傳影音串流內容到前述的資料中心網路(2);前述的資料中心網路(2)包含有一主伺服器(21)、一維護伺服器(22)、至少一DNS伺服器(23)及多台備援伺服器(24);前述的主伺服器(21)儲存影音串流提供端(1)傳來的影音串流內容,並將串流內容發送到各用戶端所在地的備援伺服器(24);所述的備援伺服器(24)儲存前述主伺服器(21)傳來的影音串流內容的備份,並直接提供串流內容備份給該用戶端(4)收看;前述的P2P網路(3)由多個用戶端(4)組成作為傳遞網路使用,與前述的備援伺服器(24)一同充當故障轉移的串流備份下載點;前述的每一台備援伺服器(24)及每一個P2P網路(3)都能被定義為一對等端,其具有影音串流傳輸、交換、儲存之功能,並且每一台備援伺服器(24)及每一個P2P網路(3)與前述的資料中心網路(2)的維護伺服器(22)連接;在平時前述的維護伺服器(22)確認各地區用戶端(4)的位置和數量並在各資料中心配置所需的備援伺服器(24),然後主伺服器(21)將影音串流提供端(1)的串流內容依階層式架構由上而下備份到各資料中心的備援伺服器(24)或P2P網路(3)之對等端; 當用戶端(4)遭遇故障以致串流中斷不連續時,所述的用戶端(4)連接的該資料中心網路(2)尋求故障轉移服務,接著該資料中心網路(2)的DNS伺服器(23)依階層式架構的機制將該用戶端(4)上導向最近的可用備援伺服器(24)。 A failover method for audio and video streaming using hierarchical data centers. Any data center is constructed under the data center network architecture, including: an audio and video streaming provider (1), a data center network (2), and more A P2P network (3) and multiple clients (4); the aforementioned video and audio streaming provider (1) provides and uploads video and audio streaming content to the aforementioned data center network (2); the aforementioned data center network The road (2) includes a main server (21), a maintenance server (22), at least one DNS server (23) and multiple backup servers (24); the aforementioned main server (21) stores audio and video Streaming the audio and video streaming content from the streaming provider (1), and sending the streaming content to the backup server (24) where each client is located; the backup server (24) stores the aforementioned main server (21) Backup of incoming video and audio streaming content, and directly provide streaming content backup to the client (4) for viewing; the aforementioned P2P network (3) is composed of multiple clients (4) as a delivery network Used together with the aforementioned backup server (24) as a streaming backup download point for failover; each aforementioned backup server (24) and each P2P network (3) can be defined as a Peer-to-peer, which has the functions of video and audio streaming transmission, exchange, and storage, and maintenance server for each backup server (24) and each P2P network (3) and the aforementioned data center network (2) Server (22) connection; in the usual maintenance server (22), confirm the location and quantity of the client (4) in each region and configure the required backup server (24) in each data center, and then the main server ( 21) Backing up the streaming content of the audiovisual streaming provider (1) from top to bottom in a hierarchical structure to the backup server (24) of each data center or the peer of the P2P network (3); When the client (4) encounters a failure and the streaming is interrupted and discontinuous, the data center network (2) to which the client (4) is connected seeks failover services, and then the DNS of the data center network (2) The server (23) directs the client (4) to the nearest available backup server (24) according to a hierarchical structure. 如請求項1所述之影音串流使用階層式資料中心的故障轉移方法,其特徵在於,當該階層式資料中心中較低階層的資料中心網路(2)無法提供足夠數量的備援伺服器(24)或P2P網路(3)下載點來進行故障轉移,透過DNS伺服器(23)將用戶端(4)導向較高階層的資料中心網路(2’)。 The failover method for audio and video streaming using hierarchical data center as described in claim 1, which is characterized in that when the lower-level data center network (2) of the hierarchical data center cannot provide a sufficient number of backup servers The server (24) or the P2P network (3) download point for failover, and the client (4) is directed to the higher-level data center network (2') through the DNS server (23). 如請求項1所述之影音串流使用階層式資料中心的故障轉移方法,其特徵在於:前述的維護伺服器(22)配置備援的實施方法如下:假設每個用戶端(4)所需的串流頻寬為固定值x-bps,故障轉移所需的時間為T秒而統計數據顯示前述用戶端(4)在T秒發生故障的機率為f;若要保證故障轉移成功機率至少為(1-
Figure 108112762-A0305-02-0013-6
),則該維護伺服器(22)必須替用戶端(4)配置足以提供(x.log f
Figure 108112762-A0305-02-0013-7
)-bps影音串流的備援伺服器(24)或P2P網路(3)。
The failover method for audio and video streaming using hierarchical data center as described in claim 1, characterized in that: the implementation method of the aforementioned maintenance server (22) configuration backup is as follows: assuming that each client (4) needs The streaming bandwidth of is a fixed value of x-bps, the time required for failover is T seconds, and statistics show that the probability of failure of the aforementioned client (4) in T seconds is f ; if you want to ensure that the probability of successful failover is at least (1-
Figure 108112762-A0305-02-0013-6
), the maintenance server (22) must be configured for the client (4) enough to provide (x.log f
Figure 108112762-A0305-02-0013-7
)-bps backup server (24) or P2P network (3) for audio and video streaming.
如請求項1所述之影音串流使用階層式資料中心的故障轉移方法,其特徵在於:該階層式資料中心至少包含兩層或兩層以上的資料中心網路(2’ 2’),讓次階層的資料中心網路(2)能夠把無法應付的工作爆量導向高階層的資料中心(2’),以減輕次階層的資料中心(2)的負載量,強化故障轉移服務的擴充性。 The failover method for audio and video streaming using hierarchical data center as described in claim 1, characterized in that the hierarchical data center includes at least two or more data center networks (2' 2'), so that The sub-level data center network (2) can direct the unmanageable workload to the high-level data center (2') to reduce the load of the sub-level data center (2) and strengthen the scalability of failover services . 如請求項1所述之影音串流使用階層式資料中心的故障轉移方法,其特徵在於:若前述的備援伺服器(24)或P2P網路(3)不足以支援現有的用戶端(4),該維護伺服器(22)將在該資料中心網路(2)動態配置額外的備援伺服器(24)。 The failover method for audio and video streaming using hierarchical data center as described in claim 1, characterized in that: if the aforementioned backup server (24) or P2P network (3) is not sufficient to support the existing client (4) ), the maintenance server (22) will dynamically configure an additional backup server (24) on the data center network (2).
TW108112762A 2019-04-11 2019-04-11 Video streaming using hierarchical data center failover method TWI713357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108112762A TWI713357B (en) 2019-04-11 2019-04-11 Video streaming using hierarchical data center failover method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108112762A TWI713357B (en) 2019-04-11 2019-04-11 Video streaming using hierarchical data center failover method

Publications (2)

Publication Number Publication Date
TW202038629A TW202038629A (en) 2020-10-16
TWI713357B true TWI713357B (en) 2020-12-11

Family

ID=74090923

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108112762A TWI713357B (en) 2019-04-11 2019-04-11 Video streaming using hierarchical data center failover method

Country Status (1)

Country Link
TW (1) TWI713357B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030050834A1 (en) * 2001-09-07 2003-03-13 Sergio Caplan System and method for dynamic customizable interactive portal active during select computer time
TWI231127B (en) * 2001-04-09 2005-04-11 Terited International Inc Network system, method and protocols for hierarchical service and content distribution via directory enabled network
CN104967685A (en) * 2015-06-25 2015-10-07 广东德诚网络科技有限公司 Streaming media multi-level cache network acceleration method based on Flash P2P
US20160337426A1 (en) * 2015-05-14 2016-11-17 Hola Networks Ltd. System and Method for Streaming Content from Multiple Servers
US20180034873A1 (en) * 2016-07-29 2018-02-01 International Business Machines Corporation Media streaming using hybrid p2p and client-server distribution of content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI231127B (en) * 2001-04-09 2005-04-11 Terited International Inc Network system, method and protocols for hierarchical service and content distribution via directory enabled network
US20030050834A1 (en) * 2001-09-07 2003-03-13 Sergio Caplan System and method for dynamic customizable interactive portal active during select computer time
US20160337426A1 (en) * 2015-05-14 2016-11-17 Hola Networks Ltd. System and Method for Streaming Content from Multiple Servers
CN104967685A (en) * 2015-06-25 2015-10-07 广东德诚网络科技有限公司 Streaming media multi-level cache network acceleration method based on Flash P2P
US20180034873A1 (en) * 2016-07-29 2018-02-01 International Business Machines Corporation Media streaming using hybrid p2p and client-server distribution of content

Also Published As

Publication number Publication date
TW202038629A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
US11539768B2 (en) System and method of minimizing network bandwidth retrieved from an external network
Deshpande et al. Streaming live media over a peer-to-peer network
Guo et al. P2Cast: peer-to-peer patching scheme for VoD service
JP5181031B2 (en) Resilient service quality within a managed multimedia distribution network
US7903652B2 (en) System and method for peer to peer video streaming
US20060098668A1 (en) Managing membership within a multicast group
US7403993B2 (en) System and method for highly-scalable real-time and time-based data delivery using server clusters
KR102110421B1 (en) System and method for delivering an audio-visual content to a client device
US20100027560A1 (en) System and method for service mitigation in a communication system
US20090113253A1 (en) System and apparatus for delivering media and method for playing streaming media
KR20080067351A (en) Method and system for initiating or recovering a media-on-demand session
US20130016722A1 (en) Broadcast interactive television system
CN109561137A (en) Establish method, apparatus, terminal device and the medium of P2P network
Pouwelse et al. Real-time video delivery using peer-to-peer bartering networks and multiple description coding
CN109510868B (en) Method, device, terminal equipment and storage medium for establishing P2P network
US20240179200A1 (en) System and method of minimizing network bandwidth retrieved from an external network
TWI713357B (en) Video streaming using hierarchical data center failover method
CN114143569A (en) Webpage recording and live broadcasting method and system
Peltotalo et al. RTSP-based mobile peer-to-peer streaming system
WO2006051379A1 (en) Managing membership within a multicast group
Gazdar et al. Toward a full peer to peer MPEG-DASH compliant streaming system
Doumanis et al. Improving video QoE with IP over ICN
Guo et al. P cast: P2p patching scheme for vod service
Labib et al. Clustered P2P Proxy-Assisted Architecture for On Demand Media Streaming
Habib et al. CommunityPVR: A Service to Deliver the Long Tail for On-Demand TV