TWI712294B - System and method for integrating multi-cloud application service - Google Patents
System and method for integrating multi-cloud application service Download PDFInfo
- Publication number
- TWI712294B TWI712294B TW109100066A TW109100066A TWI712294B TW I712294 B TWI712294 B TW I712294B TW 109100066 A TW109100066 A TW 109100066A TW 109100066 A TW109100066 A TW 109100066A TW I712294 B TWI712294 B TW I712294B
- Authority
- TW
- Taiwan
- Prior art keywords
- module
- cloud
- active management
- management network
- service
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000013519 translation Methods 0.000 claims description 12
- 230000002457 bidirectional effect Effects 0.000 abstract description 8
- 238000004891 communication Methods 0.000 description 17
- 238000005516 engineering process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本發明係關於一種多雲應用服務整合技術,更詳而言之,係一種整合多雲應用服務之系統及方法。 The present invention relates to a multi-cloud application service integration technology, and more specifically, a system and method for integrating multi-cloud application services.
一般而言,在多雲的雲端架構中具有多個私有雲或公有雲,各雲皆具有服務模組以提供各種服務,但若想要同時使用多雲的各種服務,必須先建立多雲之間的通訊連接。 Generally speaking, there are multiple private clouds or public clouds in a multi-cloud cloud architecture, and each cloud has a service module to provide various services, but if you want to use various services of the multi-cloud at the same time, you must first establish communication between the multi-clouds connection.
然而,多雲(如私有雲及公有雲)之間由於網路NAT(Network Address Translation;網路位址轉換)之穿透等問題,難以直接建立多雲之間的通訊連接。再者,現有技術雖有利用專線的方式建立多雲(如私有雲及公有雲)之間的網路架構,但此技術較為複雜且不易管理。因此,如何提供一種能在多雲之間建立通訊連接或易於管理的整合多雲應用服務之技術,遂成為本領域技術人員之一大研究課題。 However, it is difficult to directly establish a communication connection between multiple clouds (such as private clouds and public clouds) due to the penetration of network NAT (Network Address Translation). Furthermore, although the existing technology uses dedicated lines to establish a network architecture between multiple clouds (such as private clouds and public clouds), this technology is more complicated and difficult to manage. Therefore, how to provide a technology that can establish communication connections between multiple clouds or integrate multi-cloud application services that is easy to manage has become a major research topic for those skilled in the art.
本發明提供一種能在多雲之間建立通訊連接或易於管理的整合多雲應用服務之系統及方法。 The present invention provides a system and method for integrating multi-cloud application services that can establish communication connections between multiple clouds or are easy to manage.
本發明之整合多雲應用服務之系統係應用於皆具有服務模組 之第一雲及至少一第二雲的架構中,此系統包括主動式管理網路代理模組、中央控制模組與訊息中心模組。主動式管理網路代理模組係對應服務模組而設置於第一雲及第二雲中,用以發送註冊訊息與攔截對應之服務模組所發送的網路請求訊息。中央控制模組係設置於第一雲中,用以接收來自主動式管理網路代理模組之註冊訊息並記錄服務模組的路由資訊,且中央控制模組偵測其是否可與主動式管理網路代理模組建立雙向通道,若可建立雙向通道,則中央控制模組與主動式管理網路代理模組建立雙向通道,並透過中央控制模組將包括所有服務模組的路由資訊的第一訊息發送至所有主動式管理網路代理模組。訊息中心模組係與中央控制模組通訊連接,且主動式管理網路代理模組與訊息中心模組建立單向通道以向訊息中心模組訂閱訊息,其中,當中央控制模組不可與主動式管理網路代理模組建立雙向通道時,主動式管理網路代理模組轉發網路請求訊息至訊息中心模組。 The integrated multi-cloud application service system of the present invention is applied to all have service modules In the architecture of the first cloud and at least one second cloud, the system includes an active management network agent module, a central control module, and a message center module. The active management network proxy module is set in the first cloud and the second cloud corresponding to the service module, and is used for sending registration messages and intercepting network request messages sent by the corresponding service modules. The central control module is set in the first cloud to receive registration messages from the active management network agent module and record the routing information of the service module, and the central control module detects whether it can be actively managed The network agent module establishes a two-way channel. If a two-way channel can be established, the central control module and the active management network agent module establish a two-way channel, and through the central control module will include the routing information of all service modules. A message is sent to all active management network agent modules. The message center module communicates with the central control module, and the active management network agent module establishes a one-way channel with the message center module to subscribe to the message center module. When the central control module cannot communicate with the active When a two-way channel is established by the management network proxy module, the active management network proxy module forwards network request messages to the message center module.
在此系統之一實施例中,主動式管理網路代理模組更偵測服務模組的路由資訊是否改變,若服務模組的路由資訊有改變,則主動式管理網路代理模組重新發送註冊訊息至中央控制模組。 In an embodiment of this system, the active management network agent module further detects whether the routing information of the service module has changed, and if the routing information of the service module changes, the active management network agent module resends Register the message to the central control module.
在此系統之一實施例中,中央控制模組更偵測是否有接收到主動式管理網路代理模組重新發送的註冊訊息,若有接收到註冊訊息,則中央控制模組將包括所有改變的路由資訊的第二訊息發送至所有主動式管理網路代理模組。 In an embodiment of this system, the central control module further detects whether it has received the registration message re-sent by the active management network agent module. If the registration message is received, the central control module will include all changes The second message of the routing information is sent to all active management network agent modules.
在此系統之一實施例中,服務模組包括發送端之服務模組與目的端之服務模組,且發送端之服務模組所發送的網路請求訊息包括目的端之服務模組的網域全域名稱,而主動式管理網路代理模組攔截發送端之服務模組所發送的網路請求訊息,以依據網域全域名稱轉發網路請求訊息 至目的端之服務模組。 In an embodiment of this system, the service module includes the service module of the sender and the service module of the destination, and the network request message sent by the service module of the sender includes the network of the service module of the destination. The global domain name of the domain, and the active management network proxy module intercepts the network request message sent by the service module of the sender to forward the network request message according to the global domain name The service module to the destination.
在此系統之一實施例中,第二雲透過NAT(網路位址轉換)網路環境與第一雲作網路連接。 In an embodiment of this system, the second cloud is connected to the first cloud through a NAT (Network Address Translation) network environment.
本發明亦提供一種整合多雲應用服務之方法,係應用於皆具有服務模組之第一雲及至少一第二雲的架構中,此方法包括:設置主動式管理網路代理模組於對應第一雲及第二雲兩者中的服務模組;透過主動式管理網路代理模組攔截對應之服務模組所發送的網路請求訊息;透過主動式管理網路代理模組與訊息中心模組建立單向通道以向訊息中心模組訂閱訊息;透過主動式管理網路代理模組向中央控制模組發送註冊訊息;透過中央控制模組接收註冊訊息並記錄服務模組的路由資訊;透過中央控制模組偵測其是否可與主動式管理網路代理模組建立雙向通道,若不可建立雙向通道,則主動式管理網路代理模組轉發網路請求訊息至訊息中心模組,若可建立雙向通道,則透過中央控制模組與主動式管理網路代理模組建立雙向通道;以及透過中央控制模組將包括所有服務模組的路由資訊的第一訊息發送至所有主動式管理網路代理模組。 The present invention also provides a method for integrating multi-cloud application services, which is applied to a first cloud and at least one second cloud architecture that both have service modules. The method includes: setting an active management network proxy module to the corresponding first cloud Service modules in both the first cloud and the second cloud; intercept the network request messages sent by the corresponding service module through the active management network proxy module; through the active management network proxy module and message center module The group establishes a one-way channel to subscribe to the message center module; sends registration messages to the central control module through the active management network proxy module; receives registration messages through the central control module and records the routing information of the service module; The central control module detects whether it can establish a two-way channel with the active management network agent module. If a two-way channel cannot be established, the active management network agent module forwards the network request message to the message center module. To establish a two-way channel, a two-way channel is established through the central control module and the active management network agent module; and the first message including the routing information of all service modules is sent to all active management networks through the central control module Proxy module.
在此方法之一實施例中,整合多雲應用服務之方法更包括透過主動式管理網路代理模組偵測服務模組的路由資訊是否改變,若服務模組的路由資訊未改變,則重複此步驟。 In an embodiment of this method, the method for integrating multi-cloud application services further includes detecting whether the routing information of the service module has changed through the active management of the network agent module, and repeating this if the routing information of the service module has not changed step.
在此方法之一實施例中,在透過主動式管理網路代理模組偵測服務模組的路由資訊是否改變的步驟中,若服務模組的路由資訊有改變,則回到透過主動式管理網路代理模組向中央控制模組發送註冊訊息的步驟。 In an embodiment of this method, in the step of detecting whether the routing information of the service module has changed through the active management network proxy module, if the routing information of the service module has changed, it returns to the active management The network agent module sends the registration message to the central control module.
在此方法之一實施例中,服務模組包括發送端之服務模組與目的端之服務模組,且發送端之服務模組所發送的網路請求訊息包括目的 端之服務模組的網域全域名稱,而主動式管理網路代理模組攔截發送端之服務模組所發送的網路請求訊息,以依據網域全域名稱轉發網路請求訊息至目的端之服務模組。 In an embodiment of this method, the service module includes the service module of the sender and the service module of the destination, and the network request message sent by the service module of the sender includes the destination The full domain name of the service module on the end, and the active management network proxy module intercepts the network request message sent by the service module on the sending end, and forwards the network request message to the destination based on the domain name Service module.
在此方法之一實施例中,第二雲透過NAT(網路位址轉換)網路環境與第一雲作網路連接。 In an embodiment of this method, the second cloud is connected to the first cloud through a NAT (Network Address Translation) network environment.
本發明之整合多雲應用服務之系統及方法中,係透過主動式管理網路代理模組發送註冊訊息、向訊息中心模組訂閱訊息與攔截對應之服務模組所發送的網路請求訊息。中央控制模組則接收註冊訊息並記錄服務模組的路由資訊,且偵測中央控制模組是否可與主動式管理網路代理模組建立雙向通道。若可建立雙向通道,則中央控制模組將包括所有服務模組的路由資訊的第一訊息發送至所有主動式管理網路代理模組。若不可建立雙向通道,則主動式管理網路代理模組轉發網路請求訊息至訊息中心模組。換句話說,即使多雲(第一雲及第二雲)之間具有NAT(網路位址轉換)網路環境等問題而無法建立雙向通道,主動式管理網路代理模組也能轉發網路請求訊息至訊息中心模組,以利在各種情況下建立多雲之間的通訊連接。 In the system and method for integrating multi-cloud application services of the present invention, the registration message is sent through the active management network proxy module, the message center module is subscribed to the message, and the network request message sent by the corresponding service module is intercepted. The central control module receives the registration message and records the routing information of the service module, and detects whether the central control module can establish a two-way channel with the active management network agent module. If a two-way channel can be established, the central control module sends the first message including the routing information of all service modules to all active management network agent modules. If a two-way channel cannot be established, the active management network agent module forwards the network request message to the message center module. In other words, even if there is a NAT (Network Address Translation) network environment between multiple clouds (the first cloud and the second cloud) and the two-way channel cannot be established, the active management network proxy module can also forward the network Request messages to the message center module to facilitate the establishment of a communication connection between multiple clouds in various situations.
除此之外,若服務模組的路由資訊有改變,也可透過主動式管理網路代理模組重新發送註冊訊息至中央控制模組,用以更新路由資訊,在此架構下之服務模組若需要與其他服務模組通訊時,只需使用固定之服務模組的網域全域名稱作為通訊位址即可,若有服務模組的網路位址改變,也不用更改服務模組本身之路由設定,讓服務模組可以專注於服務本身之功能而不必顧慮處理路由問題。 In addition, if the routing information of the service module is changed, the registration message can also be re-sent to the central control module through the active management network proxy module to update the routing information. The service module under this architecture If you need to communicate with other service modules, you only need to use the fixed global domain name of the service module as the communication address. If the network address of the service module is changed, there is no need to change the service module itself. Routing settings allow the service module to focus on the functions of the service itself without worrying about handling routing issues.
1‧‧‧第一雲 1‧‧‧First Cloud
10、20a、20b、30‧‧‧服務模組 10, 20a, 20b, 30‧‧‧Service Module
11、21a、21b、31‧‧‧主動式管理網路代理模組 11, 21a, 21b, 31‧‧‧Active management network proxy module
12‧‧‧中央控制模組 12‧‧‧Central Control Module
13‧‧‧訊息中心模組 13‧‧‧Message Center Module
2、3‧‧‧第二雲 2, 3‧‧‧Second Cloud
34‧‧‧NAT(網路位址轉換)網路環境 34‧‧‧NAT (Network Address Translation) network environment
C1‧‧‧單向通道 C1‧‧‧One-way channel
C2‧‧‧雙向通道 C2‧‧‧Two-way channel
S10至S19、S20至S26‧‧‧步驟 Steps S10 to S19, S20 to S26‧‧‧
第1圖係為本發明之整合多雲應用服務之系統的一架構示意圖; Figure 1 is a schematic diagram of the architecture of the system for integrating multi-cloud application services of the present invention;
第2圖係為本發明之整合多雲應用服務之方法的一流程示意圖;以及 Figure 2 is a schematic flow chart of the method for integrating multi-cloud application services of the present invention; and
第3圖係為本發明之整合多雲應用服務之方法的另一流程示意圖。 FIG. 3 is another flowchart of the method for integrating multi-cloud application services of the present invention.
以下藉由特定的具體實施例說明本發明之實施方式,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點與功效。本發明亦可藉由其他不同的具體實施例加以施行或應用,本說明書中的各項細節亦可基於不同觀點與應用,在不悖離本發明之精神下進行各種修飾與變更。 The following specific examples illustrate the implementation of the present invention. Those familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied by other different specific embodiments, and various details in this specification can also be based on different viewpoints and applications, and various modifications and changes can be made without departing from the spirit of the present invention.
第1圖係為本發明之整合多雲應用服務之系統的一架構示意圖。如圖所示,本發明之整合多雲應用服務之系統係應用於具有服務模組10之第一雲1、具有服務模組20a、20b之第二雲2、以及具有服務模組30之第二雲3的架構中。第1圖的實施例中是以兩個第二雲2、3為例,但在其他的實施例中可以具有一個第二雲或更多個(如三個以上)第二雲。同樣地,第一雲1或各第二雲2、3也可具有一個服務模組或更多個服務模組,本發明於此不作限制。在較佳的實施例中,第一雲1可選自所有雲皆可連通之雲,第一雲1、第二雲2、3可包括私有雲或公有雲,且第一雲1、第二雲2、3可為同質性雲(即全部為私有雲或公有雲)或異質性雲(即部分為私有雲且部分為公有雲)。
Figure 1 is a schematic diagram of the architecture of the system for integrating multi-cloud application services of the present invention. As shown in the figure, the system for integrating multi-cloud application services of the present invention is applied to a
整合多雲應用服務之系統包括主動式管理網路代理模組11、21a、21b、31、中央控制模組12與訊息中心模組13等模組。前述各模組可透過軟體或硬體的方式實現,例如由雲端(第一雲1或第二雲2、3)中的
實體主機或虛擬主機提供應用程式介面(Application Programming Interface;API)的方式來實現,但不以此為限。
The system for integrating multi-cloud application services includes active management
主動式管理網路代理模組11、21a、21b、31係對應服務模組10、20a、20b、30而設置於第一雲1及第二雲2、3中,用以攔截對應之服務模組10、20a、20b、30所發送的網路請求訊息,且主動式管理網路代理模組11、21a、21b、31還用以發送包括服務模組10、20a、20b、30的相關資訊及路由資訊的註冊訊息。
The active management
中央控制模組12設置於第一雲1中,用以接收來自主動式管理網路代理模組11、21a、21b、31之註冊訊息,並記錄服務模組10、20a、20b、30的相關資訊及路由資訊。中央控制模組12還用以偵測其是否可與主動式管理網路代理模組11、21a、21b、31建立雙向通道C2,若可建立雙向通道C2,例如第1圖中的服務模組10、20a、20b之狀況,則中央控制模組12與主動式管理網路代理模組11、21a、21b、31建立雙向通道C2,並將包括所有服務模組10、20a、20b的路由資訊的第一訊息透過雙向通道C2發送至所有主動式管理網路代理模組11、21a、21b。
The
訊息中心模組13與中央控制模組12通訊連接,在第1圖的實施例中,訊息中心模組13設置在與中央控制模組12相同的第一雲1中。但在其他的實施例中,訊息中心模組13也可設置在所有雲皆可連通之雲中,本發明於此不作限制。主動式管理網路代理模組11、21a、21b、31可與訊息中心模組13建立單向通道C1以向訊息中心模組13訂閱訊息。
The
當中央控制模組12不可與主動式管理網路代理模組31建立雙向通道C2時,例如第1圖中的服務模組30之狀況,主動式管理網路代理模組31轉發網路請求訊息至訊息中心模組13。
When the
舉例來說,例如以服務模組20a作為發送端之服務模組並以
服務模組10作為目的端之服務模組,由發送端之服務模組20a所發送的網路請求訊息包括目的端之服務模組10的網域全域名稱,主動式管理網路代理模組21a會攔截發送端之服務模組20a所發送的網路請求訊息,並透過目的端之服務模組10的網域全域名稱在最新的路由資訊中查詢路由方法,主動式管理網路代理模組21a會再使用此路由方法來轉發所攔截的網路請求訊息至主動式管理網路代理11,主動式管理網路代理模組11收到後會再依據網域全域名稱轉發網路請求訊息至目的端之服務模組10,從而完成通訊連接。
For example, take the
當多雲(第一雲1及第二雲2、3)之間的通訊具有NAT(網路位址轉換)網路環境等問題時,例如以服務模組20a作為發送端之服務模組並以服務模組30作為目的端之服務模組,由發送端之服務模組20a所發送的網路請求訊息包括目的端之服務模組30的網域全域名稱,主動式管理網路代理模組21a會攔截發送端之服務模組20a所發送的網路請求訊息,並透過目的端之服務模組10的網域全域名稱在最新的路由資訊中查詢路由方法,得知目的端之服務模組10的路由方式需透過訊息中心模組13,主動式管理網路代理模組21a轉發此網路請求訊息至訊息中心模組13以提供主動式管理網路代理模組31所訂閱的頻道,主動式管理網路代理模組31可以從訊息中心模組13獲得此網路請求訊息,收到後再依據網域全域名稱轉發網路請求訊息至目的端之服務模組30,從而完成通訊連接。
When the communication between the multi-cloud (
在一實施例中,主動式管理網路代理模組11、21a、21b、31還用以偵測服務模組10、20a、20b、30的路由資訊是否改變,若服務模組10、20a、20b、30的路由資訊有改變,則主動式管理網路代理模組11、21a、21b、31重新發送註冊訊息至中央控制模組12。
In one embodiment, the active management
在一實施例中,中央控制模組12還用以偵測是否有接收到主
動式管理網路代理模組11、21a、21b、31重新發送的註冊訊息,若有接收到註冊訊息,則中央控制模組12將包括所有改變的路由資訊的第二訊息發送至所有主動式管理網路代理模組11、21a、21b、31。
In one embodiment, the
換句話說,透過本發明之整合多雲應用服務之系統,服務模組10、20a、20b、30若須要與遠端之服務模組通訊,只需使用固定之網域全域名稱作為通訊位址即可。若遠端之服務模組的網路位址改變,也不用更改服務模組10、20a、20b、30本身之路由設定,讓服務模組10、20a、20b、30可以專注於服務本身之功能而不必顧慮處理路由問題。
In other words, through the integrated multi-cloud application service system of the present invention, if the
在一實施例中,第二雲3透過NAT(網路位址轉換)網路環境34與第一雲1或其他第二雲2作網路連接。舉例來說,第二雲3可例如是私有雲,第二雲2可例如是公有雲,反之亦可。在此情況下,主動式管理網路代理模組31轉發網路請求訊息至訊息中心模組13。
In one embodiment, the
第2圖係為本發明之整合多雲應用服務之方法的一流程示意圖,特別是針對主動式管理網路代理模組之運作方式加以說明。如圖所示,此整合多雲應用服務之方法可應用於皆具有服務模組之第一雲及至少一第二雲的架構中,並包括下列步驟S10至步驟S19。 Figure 2 is a schematic flow chart of the method for integrating multi-cloud application services of the present invention, especially for the operation mode of the active management network agent module. As shown in the figure, this method of integrating multi-cloud application services can be applied to a first cloud and at least one second cloud architecture both having service modules, and includes the following steps S10 to S19.
在步驟S10中,設置主動式管理網路代理模組於對應第一雲及第二雲兩者中的服務模組。 In step S10, the active management network proxy module is set to correspond to the service modules in both the first cloud and the second cloud.
在步驟S11中,透過主動式管理網路代理模組攔截對應之服務模組所發送的網路請求訊息。 In step S11, the network request message sent by the corresponding service module is intercepted through the active management network proxy module.
在步驟S12中,透過主動式管理網路代理模組與訊息中心模組建立單向通道以向訊息中心模組訂閱訊息。 In step S12, a one-way channel is established through the active management network agent module and the message center module to subscribe to the message center module.
在步驟S13中,透過主動式管理網路代理模組向中央控制模組發送註冊訊息。 In step S13, a registration message is sent to the central control module through the active management network agent module.
在步驟S14中,透過中央控制模組接收註冊訊息並記錄服務模組的相關資訊及路由資訊。 In step S14, the registration message is received through the central control module and the related information and routing information of the service module are recorded.
在步驟S15中,透過中央控制模組偵測其是否可與主動式管理網路代理模組建立雙向通道?若不可建立雙向通道,則進行步驟S16;反之,若可建立雙向通道,則進行步驟S17。 In step S15, it is detected through the central control module whether it can establish a two-way channel with the active management network agent module? If the bidirectional channel cannot be established, proceed to step S16; otherwise, if the bidirectional channel can be established, proceed to step S17.
在步驟S16中,主動式管理網路代理模組轉發網路請求訊息至訊息中心模組。 In step S16, the active management network agent module forwards the network request message to the message center module.
在步驟S17中,透過中央控制模組與主動式管理網路代理模組建立雙向通道。 In step S17, a two-way channel is established through the central control module and the active management network agent module.
在步驟S18中,透過中央控制模組將包括所有服務模組的路由資訊的第一訊息發送至所有主動式管理網路代理模組。 In step S18, a first message including routing information of all service modules is sent to all active management network agent modules through the central control module.
在上述步驟S15中,依據第一雲及第二雲等多雲之間的通訊狀況來決定建立通訊連接的方式,若可建立雙向通道,則透過步驟S16至步驟17建立多雲(第一雲及第二雲)之間的通訊連接;以及若有NAT(網路位址轉換)網路環境等問題時,則透過步驟S16,利用主動式管理網路代理模組與訊息中心模組建立多雲(第一雲及第二雲)之間的通訊連接。 In the above step S15, the method of establishing a communication connection is determined according to the communication status between the first cloud and the second cloud, etc. If a two-way channel can be established, the multi-cloud (first cloud and the second cloud) can be established through steps S16 to 17 The communication connection between the two clouds); and if there is a problem with the NAT (Network Address Translation) network environment, then through step S16, use the active management network proxy module and the message center module to establish a cloudy (second The communication connection between the first cloud and the second cloud.
在步驟S19中,透過主動式管理網路代理模組偵測服務模組的路由資訊是否改變,若服務模組的路由資訊未改變,則重複此步驟。 In step S19, detect whether the routing information of the service module has changed through the active management network proxy module, and if the routing information of the service module has not changed, repeat this step.
第3圖係為本發明之整合多雲應用服務之方法的另一流程示意圖,特別是針對中央控制模組之運作方式加以說明。如圖所示,此整合多雲應用服務之方法可進一步包括下列步驟S20至步驟S26。 FIG. 3 is another flow diagram of the method of integrating multi-cloud application services of the present invention, especially the operation mode of the central control module is described. As shown in the figure, the method for integrating multi-cloud application services may further include the following steps S20 to S26.
在步驟S20中,中央控制模組接收主動式管理網路代理模組的註冊訊息並記錄服務模組的路由資訊。 In step S20, the central control module receives the registration information of the active management network agent module and records the routing information of the service module.
在步驟S21中,中央控制模組主動發出請求以檢查其是否可 與主動式管理網路代理模組建立雙向通道?若可建立雙向通道,則進行步驟S22;反之,若不可建立雙向通道,則進行步驟S26。 In step S21, the central control module actively sends a request to check whether it can Establish a two-way channel with the active management network proxy module? If a bidirectional channel can be established, proceed to step S22; otherwise, if a bidirectional channel cannot be established, proceed to step S26.
在步驟S22中,中央控制模組回應主動式管理網路代理模組可以建立雙向通道,以便中央控制模組與主動式管理網路代理模組之後傳遞訊息。同時,主動式管理網路代理模組接收到此訊息之後,便開始與中央控制模組建立雙向通道。 In step S22, the central control module responds that the active management network agent module can establish a two-way channel so that the central control module and the active management network agent module can later transmit messages. At the same time, after the active management network agent module receives this message, it starts to establish a two-way channel with the central control module.
在步驟S23中,在建立完成雙向通道之後,主動式管理網路代理模組可透過此通道接收或主動查詢中央控制模組所發出的所有服務模組的路由資訊。同時,中央控制模組也可向其他所有已註冊之服務模組更新路由資訊,因此其他服務模組也會知道新註冊(已註冊)之服務模組的路由方法。 In step S23, after the establishment of the two-way channel is completed, the active management network agent module can receive or actively query the routing information of all service modules sent by the central control module through this channel. At the same time, the central control module can also update routing information to all other registered service modules, so other service modules will also know the routing method of newly registered (registered) service modules.
在步驟S24中,主動式管理網路代理模組定期檢測本身所負責之服務模組的路由資訊是否有改變?若服務模組的路由資訊有改變,則進行步驟S25;反之,若服務模組的路由資訊未改變,則重覆步驟S24以定期偵測服務模組的路由資訊。 In step S24, the active management network agent module periodically checks whether the routing information of the service module it is responsible for has changed? If the routing information of the service module has changed, step S25 is performed; otherwise, if the routing information of the service module has not changed, step S24 is repeated to periodically detect the routing information of the service module.
在步驟S25中,若服務模組的路由資訊有改變,則向中央控制模組更新或重新註冊已改變的路由資訊。 In step S25, if the routing information of the service module is changed, update or re-register the changed routing information to the central control module.
在步驟S26中,中央控制模組向訊息中心模組週期性發佈各服務模組的路由資訊。亦即,中央控制模組可定期偵測所有已註冊之服務模組的路由資訊,並更新最新的路由資訊至所有服務模組。 In step S26, the central control module periodically publishes the routing information of each service module to the message center module. That is, the central control module can periodically detect the routing information of all registered service modules and update the latest routing information to all service modules.
綜上所述,本發明之整合多雲應用服務之系統及方法中,係透過主動式管理網路代理模組發送註冊訊息、向訊息中心模組訂閱訊息與攔截對應之服務模組所發送的網路請求訊息。中央控制模組則接收註冊訊息並記錄服務模組的路由資訊,且偵測中央控制模組是否可與主動式管理 網路代理模組建立雙向通道。若可建立雙向通道,則中央控制模組將包括所有服務模組的路由資訊的第一訊息發送至所有主動式管理網路代理模組。若不可建立雙向通道,則主動式管理網路代理模組轉發網路請求訊息至訊息中心模組。換句話說,即使多雲(第一雲及第二雲)之間具有NAT(網路位址轉換)網路環境等問題而無法建立雙向通道,主動式管理網路代理模組也能轉發網路請求訊息至訊息中心模組,以利在各種情況下建立多雲之間的通訊連接。 In summary, in the system and method for integrating multi-cloud application services of the present invention, the registration message is sent through the active management network proxy module, the message center module subscribes to the message, and the network sent by the corresponding service module is intercepted. Road request message. The central control module receives registration messages and records the routing information of the service module, and detects whether the central control module can be actively managed The network proxy module establishes a two-way channel. If a two-way channel can be established, the central control module sends the first message including the routing information of all service modules to all active management network agent modules. If a two-way channel cannot be established, the active management network agent module forwards the network request message to the message center module. In other words, even if there is a NAT (Network Address Translation) network environment between multiple clouds (the first cloud and the second cloud) and the two-way channel cannot be established, the active management network proxy module can also forward the network Request messages to the message center module to facilitate the establishment of a communication connection between multiple clouds in various situations.
除此之外,若服務模組的路由資訊有改變,也可透過主動式管理網路代理模組重新發送註冊訊息至中央控制模組,用以更新路由資訊,在此架構下之服務模組若需要與其他服務模組通訊時,只需使用固定之服務模組的網域全域名稱作為通訊位址即可,若有服務模組的網路位址改變,也不用更改服務模組本身之路由設定,讓服務模組可以專注於服務本身之功能而不必顧慮處理路由問題。 In addition, if the routing information of the service module is changed, the registration message can also be re-sent to the central control module through the active management network proxy module to update the routing information. The service module under this architecture If you need to communicate with other service modules, you only need to use the fixed global domain name of the service module as the communication address. If the network address of the service module is changed, there is no need to change the service module itself. Routing settings allow the service module to focus on the functions of the service itself without worrying about handling routing issues.
1‧‧‧第一雲 1‧‧‧First Cloud
10、20a、20b、30‧‧‧服務模組 10, 20a, 20b, 30‧‧‧Service Module
11、21a、21b、31‧‧‧主動式管理網路代理模組 11, 21a, 21b, 31‧‧‧Active management network proxy module
12‧‧‧中央控制模組 12‧‧‧Central Control Module
13‧‧‧訊息中心模組 13‧‧‧Message Center Module
2、3‧‧‧第二雲 2, 3‧‧‧Second Cloud
34‧‧‧NAT(網路位址轉換)網路環境 34‧‧‧NAT (Network Address Translation) network environment
C1‧‧‧單向通道 C1‧‧‧One-way channel
C2‧‧‧雙向通道 C2‧‧‧Two-way channel
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109100066A TWI712294B (en) | 2020-01-02 | 2020-01-02 | System and method for integrating multi-cloud application service |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109100066A TWI712294B (en) | 2020-01-02 | 2020-01-02 | System and method for integrating multi-cloud application service |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI712294B true TWI712294B (en) | 2020-12-01 |
| TW202127851A TW202127851A (en) | 2021-07-16 |
Family
ID=74669873
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW109100066A TWI712294B (en) | 2020-01-02 | 2020-01-02 | System and method for integrating multi-cloud application service |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI712294B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI896109B (en) * | 2024-04-30 | 2025-09-01 | 中華電信股份有限公司 | System for provisioning and managing multi cloud exchange platform, method and computer readable medium thereof |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140280848A1 (en) * | 2013-03-15 | 2014-09-18 | Gravitant, Inc. | Cloud service bus and cloud services brokerage platform comprising same |
-
2020
- 2020-01-02 TW TW109100066A patent/TWI712294B/en active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140280848A1 (en) * | 2013-03-15 | 2014-09-18 | Gravitant, Inc. | Cloud service bus and cloud services brokerage platform comprising same |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202127851A (en) | 2021-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9763084B2 (en) | Secure location session manager | |
| US8149849B2 (en) | Zigbee/IP gateway | |
| CN103312605B (en) | A kind of gateway device identity setting method and management gateway equipment | |
| US10637794B2 (en) | Resource subscription method, resource subscription apparatus, and resource subscription system | |
| US11917523B2 (en) | Polymorphic network control system and method supporting mobile access of terminal | |
| US20120176970A1 (en) | Methods and systems for implementing inter-network roam, querying and attaching network | |
| EP1102509A1 (en) | Mobile communication network and data distribution in mobile communication network | |
| US20140019549A1 (en) | Control System for Conferencing Applications in Named-Data Networks | |
| CN113826424A (en) | An entity used to provide external services to the network | |
| CN101867586B (en) | Method and system for realizing cross network segment signaling interworking of videoconference system | |
| WO2014161460A1 (en) | Session method, network node, server, system and computer storage medium | |
| CN102244687B (en) | Method, device and system for acquiring multi-address message | |
| TWI712294B (en) | System and method for integrating multi-cloud application service | |
| US10069715B2 (en) | Method for deploying resource in cloud computing environment | |
| CN101207569A (en) | Apparatus and method for determining a communication path on a computer network | |
| WO2021031738A1 (en) | Location acquisition method and apparatus, hss, udm device and storage medium | |
| WO2008000387A1 (en) | A personal network comprising a plurality of clusters | |
| GB2446877A (en) | Address translation using an intermediate node and a database of fixed and temporary addresses | |
| US12432259B2 (en) | Obtaining information pertaining to a network function in lawful interception | |
| CN102655475B (en) | Mobile communication switching method, device and system | |
| CN100440872C (en) | Method and device for realizing message exchange in distributed environment | |
| CN107231449B (en) | ARP request forwarding method and device and W L AN communication system | |
| CN110474781B (en) | Method and device for forwarding multicast data | |
| US10735316B2 (en) | Receiver directed anonymization of identifier flows in identity enabled networks | |
| JP7651722B2 (en) | COMMUNICATION METHOD AND COMMUNICATION DEVICE |