TWI873672B - System and method for network connection via multi-path tunnel and computer-readable storage medium - Google Patents
System and method for network connection via multi-path tunnel and computer-readable storage medium Download PDFInfo
- Publication number
- TWI873672B TWI873672B TW112121070A TW112121070A TWI873672B TW I873672 B TWI873672 B TW I873672B TW 112121070 A TW112121070 A TW 112121070A TW 112121070 A TW112121070 A TW 112121070A TW I873672 B TWI873672 B TW I873672B
- Authority
- TW
- Taiwan
- Prior art keywords
- terminal device
- path
- remote device
- valid
- paths
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本發明係有關網路通道與網路連線之技術,且特別係有關一種多重路徑通道網路連線系統、方法及電腦可讀取儲存媒體。 The present invention relates to network channels and network connection technologies, and in particular to a multi-path channel network connection system, method and computer-readable storage medium.
傳統的網路通道只會利用通道兩端的網路裝置之間的單一路徑傳送封包,而不具備多重路徑,導致傳統的網路通道缺乏應用彈性與相應的服務品質。例如,當網路裝置發起的網路連線有不同種類的服務需求時,傳統的網路通道就無法根據所需的服務種類為該連線選擇合適的網路路徑,導致網路服務品質不佳。 Traditional network channels only use a single path between the network devices at both ends of the channel to transmit packets, and do not have multiple paths, resulting in a lack of application flexibility and corresponding service quality. For example, when the network connection initiated by the network device has different types of service requirements, the traditional network channel cannot select the appropriate network path for the connection based on the required service type, resulting in poor network service quality.
為解決上述問題,本發明提供一種多重路徑通道網路連線方法,係由至少一終端裝置與至少一遠端裝置執行,且包括下列步驟:令該終端裝置自該終端裝置本身與複數中繼伺服器收集自該終端裝置連通該遠端裝置所 需之複數路徑資訊;令該遠端裝置自該遠端裝置本身與該等中繼伺服器收集自該遠端裝置連通該終端裝置所需之複數路徑資訊;令該終端裝置與該遠端裝置通過一通道伺服器互相傳送該等路徑資訊,且各自將該等路徑資訊配對,以獲得複數候選路徑;令該終端裝置檢查各該候選路徑是否能連通該終端裝置與該遠端裝置,以在該等候選路徑中選取能連通該終端裝置與該遠端裝置之複數有效路徑,俾將各該有效路徑加入複數佇列中之每一佇列,其中,各該佇列均對應複數服務種類中之一者;令該終端裝置根據各該佇列所對應之該服務種類,決定各該佇列中之各該有效路徑的優先等級;以及,令該終端裝置選取該終端裝置所執行之至少一行程所發起的第一連線所指定之該服務種類所對應的該佇列中具有最高之該優先等級的第一有效路徑,以供該至少一行程與該遠端裝置通過該第一有效路徑互相傳送封包。 To solve the above problems, the present invention provides a multi-path channel network connection method, which is executed by at least one terminal device and at least one remote device, and includes the following steps: allowing the terminal device to collect multiple path information required for the terminal device to connect to the remote device from the terminal device itself and multiple relay servers; allowing the remote device to collect multiple path information required for the terminal device to connect to the remote device from the multiple relay servers; The remote device and the relay servers collect multiple path information required for the remote device to connect to the terminal device; the terminal device and the remote device transmit the path information to each other through a channel server, and each pair the path information to obtain multiple candidate paths; the terminal device checks whether each candidate path can connect to the The terminal device and the remote device select a plurality of valid paths that can connect the terminal device and the remote device from the waiting selection path, so as to add each of the valid paths to each queue in a plurality of queues, wherein each of the queues corresponds to one of a plurality of service types; the terminal device determines the priority of each of the valid paths in each queue according to the service type corresponding to each queue; and the terminal device selects a first valid path with the highest priority in the queue corresponding to the service type specified by the first connection initiated by at least one process executed by the terminal device, so that the at least one process and the remote device can transmit packets to each other through the first valid path.
本發明另提供一種電腦可讀取儲存媒體,係儲存複數指令,該等指令由終端裝置與遠端裝置讀取以執行上述之多重路徑通道網路連線方法。 The present invention also provides a computer-readable storage medium that stores multiple instructions, which are read by the terminal device and the remote device to execute the above-mentioned multi-path channel network connection method.
本發明又提供一種多重路徑通道網路連線系統,包括上述之至少一終端裝置與至少一遠端裝置,以對應執行上述之多重路徑通道網路連線方法。 The present invention also provides a multipath channel network connection system, including at least one terminal device and at least one remote device mentioned above, so as to execute the multipath channel network connection method mentioned above.
本發明的技術方案可以在終端裝置和遠端裝置之間建立多重路徑通道,以根據行程發起的連線所需的服務種類,在多重路徑中為該連線選取合適的路徑,進而提高終端裝置和遠端裝置之間的網路服務品質。 The technical solution of the present invention can establish a multi-path channel between the terminal device and the remote device, so as to select a suitable path for the connection among the multiple paths according to the type of service required by the connection initiated by the process, thereby improving the network service quality between the terminal device and the remote device.
10:多重路徑通道網路連線系統 10:Multi-path channel network connection system
11:終端裝置 11: Terminal device
12:遠端裝置 12: Remote device
13,14:防火牆 13,14: Firewall
15:網路 15: Internet
16:雲端界面伺服器 16: Cloud interface server
17:中繼伺服器 17: Relay server
18:通道伺服器 18: Channel Server
21~27,31~39,41~46,51~56:步驟 21~27,31~39,41~46,51~56: Steps
圖1為根據本發明一實施例的一種多重路徑通道網路連線系統的應用環境架構圖。 Figure 1 is an application environment architecture diagram of a multi-path channel network connection system according to an embodiment of the present invention.
圖2至圖5為根據本發明一實施例的一種多重路徑通道網路連線方法的流程圖。 Figures 2 to 5 are flow charts of a multi-path channel network connection method according to an embodiment of the present invention.
以下藉由特定的具體實施例說明本發明之實施方式,在本技術領域具有通常知識者可由本說明書所揭示之內容輕易地瞭解本發明之其他優點及功效。 The following is a specific embodiment to illustrate the implementation of the present invention. Those with ordinary knowledge in this technical field can easily understand other advantages and effects of the present invention from the content disclosed in this specification.
圖1為根據本發明一實施例的一種多重路徑通道網路連線系統10的應用環境架構圖。多重路徑通道網路連線系統10包括至少一終端裝置11與至少一遠端裝置12。終端裝置11可以是智慧型手機或電腦等電子裝置。遠端裝置12可以是電腦、伺服器或網路附接儲存器(network attached storage,NAS)等電子裝置。
FIG1 is an application environment architecture diagram of a multi-path channel
在一實施例中,終端裝置11與遠端裝置12分別通過防火牆13、14與網路15通訊連接。此外,多重路徑通道網路連線系統10的應用環境中還設置有雲端界面伺服器16、至少一個中繼伺服器(relay server)17、以及通道伺服器(tunnel server)18,其中,雲端界面伺服器16、中繼伺服器17、以及通道伺服器18皆與網路15通訊連接。
In one embodiment, the
在本實施例中,終端裝置11與遠端裝置12分別位於防火牆13、14的內側,而網路15、雲端界面伺服器16、中繼伺服器17、以及通道伺服器18位於防火牆13、14的外側。此外,防火牆13、14會阻擋從外側向內側
發起的連線(connection)或通訊,但允許從內側向外側發起的連線或通訊。因此,由於防火牆13、14的阻擋,終端裝置11與遠端裝置12不能直接與對方通訊,但能藉由中繼伺服器17或通道伺服器18而通過防火牆13、14與對方通訊。
In this embodiment, the
圖2為根據本發明一實施例的一種多重路徑通道網路連線方法的通道建置流程圖。 Figure 2 is a channel construction flow chart of a multi-path channel network connection method according to an embodiment of the present invention.
首先,在步驟21,遠端裝置12向雲端界面伺服器16註冊,再與通道伺服器18連線。
First, in
在步驟22,終端裝置11向雲端界面伺服器16查詢遠端裝置12所在地區有哪些中繼伺服器。在本實施例中,遠端裝置12所在的地區設置有至少一個中繼伺服器17。因此,雲端界面伺服器16會將每一個中繼伺服器17的相關資訊傳送給終端裝置11。
In
在步驟23,終端裝置11向雲端界面伺服器16查詢遠端裝置12所連線的通道伺服器,雲端界面伺服器16將遠端裝置12的通道伺服器資訊傳送給終端裝置11,藉此,終端裝置11可得知遠端裝置12與通道伺服器18連線。
In
在步驟24,終端裝置11和遠端裝置12各自收集互相連通所需的路徑資訊,且互相傳送路徑資訊。詳言之,終端裝置11的路徑資訊為自終端裝置11連通遠端裝置12所需的路徑資訊,該路徑資訊可包括終端裝置11的至少一個本機網址(例如終端裝置11的網路界面的網址)、終端裝置11在防火牆13外側的至少一個公共網址、及/或每一個中繼伺服器17的使用資訊。此外,終端裝置11可以自終端裝置11本身收集終端裝置11的本機網址,且
自中繼伺服器17收集終端裝置11的公共網址與中繼伺服器17的使用資訊。完成路徑資訊的收集後,終端裝置11會將其路徑資訊通過通道伺服器18傳送至遠端裝置12。
In
另一方面,遠端裝置12的路徑資訊為自遠端裝置12連通終端裝置11所需的路徑資訊,該路徑資訊可包括遠端裝置12的至少一個本機網址(例如遠端裝置12的網路界面的網址)、遠端裝置12在防火牆14外側的至少一個公共網址、及/或每一個中繼伺服器17的使用資訊。此外,遠端裝置12可以自遠端裝置12本身收集遠端裝置12的本機網址,且自中繼伺服器17收集遠端裝置12的公共網址與中繼伺服器17的使用資訊。完成路徑資訊的收集後,遠端裝置12會將其路徑資訊通過通道伺服器18傳送至終端裝置11。
On the other hand, the path information of the
在步驟25,終端裝置11與遠端裝置12各自將雙方的路徑資訊配對,以獲得複數候選路徑。由於終端裝置11與遠端裝置12會互相傳送封包,所以終端裝置11與遠端裝置12需要各自將雙方的路徑資訊配對,以各自產生候選路徑。
In
候選路徑有兩種,第一種候選路徑是由終端裝置11與遠端裝置12的本機網址與公共網址配對所產生,這種候選路徑的一端是終端裝置11的一個本機網址或公共網址,另一端是遠端裝置12的一個本機網址或公共網址。在一實施例中,如果終端裝置11的本機網址和公共網址的總數量為m,且遠端裝置12的本機網址和公共網址的總數量為n,則可以配對產生m*n個第一種候選路徑。此外,第二種候選路徑則是通過中繼伺服器17而連接終端裝置11與遠端裝置12的網路路徑。對於每一個中繼伺服器17,均會配對出
一個對應該中繼伺服器的第二種候選路徑,即通過該中繼伺服器而連接終端裝置11與遠端裝置12的網路路徑。
There are two types of candidate paths. The first type of candidate path is generated by pairing the local addresses and public addresses of the
在步驟26,終端裝置11檢查各候選路徑是否能連通終端裝置11與遠端裝置12,以在候選路徑中選取能連通終端裝置11與遠端裝置12的複數有效路徑。詳言之,對於每一個候選路徑,終端裝置11可通過該候選路徑向遠端裝置12傳送一個請求,且檢查是否在時限內收到遠端裝置12對於該請求之回應。
In
如果終端裝置11沒有在時限內收到遠端裝置12對於的回應,則判定該候選路徑不能連通終端裝置11與遠端裝置12,因此,該候選路徑不會被選取為有效路徑。反之,如果終端裝置11在時限內收到遠端裝置12的回應,則會在一段預設時間後再次通過該候選路徑向遠端裝置12傳送請求,且檢查是否在時限內收到遠端裝置12對於第二次請求之回應。
If the
如果終端裝置11沒有在時限內收到遠端裝置12對於第二次請求的回應,則判定該候選路徑不能連通終端裝置11與遠端裝置12,因此,該候選路徑不會被選取為有效路徑。反之,如果終端裝置11在時限內收到遠端裝置12對於第二次請求的回應,則判定該候選路徑能連通終端裝置11與遠端裝置12。
If the
對於前述的第一種候選路徑,終端裝置11會在能連通終端裝置11與遠端裝置12的所有第一種候選路徑中,選取具有最高優先權的一個候選路徑,作為有效路徑,其餘的第一種候選路徑則不會被選取為有效路徑。由於本機網址的優先順序在公共網址之前,因此,終端裝置11會在能連通終端裝置11與遠端裝置12的所有第一種候選路徑中,優先選取兩端均為本機
網址的一個候選路徑,即一端為終端裝置11的本機網址且另一端為遠端裝置12的本機網址的候選路徑,作為有效路徑。
For the aforementioned first candidate path, the
如果沒有兩端均為本機網址的候選路徑可供選取,則終端裝置11會在能連通終端裝置11與遠端裝置12的所有第一種候選路徑中,選取一端為本機網址且另一端為公共網址的一個候選路徑,作為有效路徑。
If there is no candidate path with both ends being local URLs available for selection, the
如果沒有一端為本機網址且另一端為公共網址的候選路徑可供選取,則終端裝置11會在能連通終端裝置11與遠端裝置12的所有第一種候選路徑中,選取兩端均為公共網址的一個候選路徑,作為有效路徑。
If there is no candidate path with one end being a local URL and the other end being a public URL available for selection, the
對於前述的每一個第二種候選路徑,終端裝置11會用上述的請求與回應方式檢查該候選路徑是否能通過該候選路徑所對應的中繼伺服器17而連通終端裝置11與遠端裝置12,如果該候選路徑能通過該中繼伺服器17連通終端裝置11與遠端裝置12,則終端裝置11選取該候選路徑作為有效路徑。
For each of the aforementioned second candidate paths, the
承上所述,如果終端裝置11與遠端裝置12均具有本機網址及/或公共網址,且圖1的應用環境中設置有N個中繼伺服器17(N為正整數),則終端裝置11最多能配對並選取1個第一種有效路徑及N個第二種有效路徑,總共為1+N個有效路徑。
As mentioned above, if both the
上述的候選路徑和有效路徑並非諸如傳輸控制協定(Transmission Control Protocol,TCP)連線的網路連線,而是可供諸如用戶資料報協定(User Datagram Protocol,UDP)封包的無連線封包通過的網路路徑。另外,由於圖1的實施例中設置有防火牆13、14,所以每一個有效路徑均為能通過防火牆13、14而連通終端裝置11與遠端裝置12的網路路徑。
The candidate paths and valid paths mentioned above are not network connections such as Transmission Control Protocol (TCP) connections, but network paths through which connectionless packets such as User Datagram Protocol (UDP) packets can pass. In addition, since
在步驟27,終端裝置11將每一個有效路徑加入複數佇列(queue)中的每一個佇列,其中,每一個佇列均對應一個不同的服務種類,例如高通量(high throughput)、低延遲(low latency)或其他服務種類。這些有效路徑可構成終端裝置11和遠端裝置12之間的多重路徑通道。此外,每一個佇列係一行程需求獨立事件,在一實施例中,相同應用程式係依據不同行程需求而需要選擇不同路徑。
In
完成圖2的通道建置流程後,接著可執行圖3所示的流程。圖3為根據本發明一實施例的一種多重路徑通道網路連線方法的路徑綁定流程圖。 After completing the channel establishment process of Figure 2, the process shown in Figure 3 can be executed. Figure 3 is a path binding flow chart of a multi-path channel network connection method according to an embodiment of the present invention.
首先,在步驟31,終端裝置11開始測量各有效路徑的延遲時間(細節後述)。
First, in
在步驟32,終端裝置11會開設一個埠(port),例如傳輸控制協定埠(TCP port),然後等待終端裝置11執行的行程(process)發起連線。終端裝置11的作業系統可執行至少一個行程。當有終端裝置11的行程需要發送請求給遠端裝置12時,不會直接發起連接遠端裝置12的連線,而是會發起連接該埠的連線,以利用根據圖2流程建置的多重路徑通道。
In
在步驟33,終端裝置11檢查該連線所指定的服務種類。若該連線指定高通量服務,則流程進入步驟34,若該連線指定低延遲服務,則流程進入步驟36。
In
在步驟34,終端裝置11選取該連線所指定的高通量服務所對應的高通量佇列中具有最高優先等級(細節後述)的有效路徑,即位於高通量佇列的頭端的有效路徑。
In
在步驟35,終端裝置11開始測量被選取的該有效路徑的網路通量(細節後述),接著,流程進入步驟37。
In
另一方面,在步驟36,終端裝置11選取該連線所指定的低延遲服務所對應的低延遲佇列中具有最高優先等級的有效路徑,即位於低延遲佇列的頭端的有效路徑,接著,流程進入步驟37。
On the other hand, in
在步驟37,終端裝置11將被選取的該有效路徑與上述行程發起的該連線綁定。
In
在步驟38,由於上述的綁定,終端裝置11的該行程會通過該有效路徑和遠端裝置12互相傳送該連線的封包,例如該行程的請求的封包和遠端裝置12的回應的封包。
In
該行程可以通過該連線和被選取的該有效路徑向遠端裝置12發出複數請求。
The process can send multiple requests to the
例如,遠端裝置12可以是網頁伺服器,且該行程的請求可以是超文本傳輸協定(HyperText Transfer Protocol,HTTP)請求,以供終端裝置11的使用者瀏覽網頁。又例如,遠端裝置12可以是資料庫伺服器,且該行程的請求可以是存取資料的請求。再例如,遠端裝置12可以是網路附接儲存器(NAS),且該行程的請求可以是寫入、讀取或刪除遠端裝置12所儲存的檔案的請求。若該行程已經不再發出請求,則在步驟39,終端裝置11關閉該連線,並解除該連線與該有效路徑的綁定。
For example, the
然後,流程返回步驟32,以等待終端裝置11的行程發起的下一個連線。如果終端裝置11所執行的行程發起複數連線,且這些連線分別指定不同的服務種類,則終端裝置11會在這些服務種類所對應的佇列之間切
換,以為每一個連線選取該連線所指定的服務種類所對應的佇列中具有最高優先等級的有效路徑,且將該有效路徑與該連線綁定。
Then, the process returns to step 32 to wait for the next connection initiated by the process of the
終端裝置11會根據每一個佇列所對應的服務種類決定每一個佇列中的每一個有效路徑的優先等級。詳言之,每一個佇列的服務種類均有相應的品質數值,例如,高通量服務所對應的品質數值為網路通量,而低延遲服務所對應的品質數值為延遲時間。
The
對於每一個佇列,終端裝置11會測量該佇列中的每一個有效路徑的品質數值,且根據該佇列中的有效路徑的品質數值決定該佇列中的有效路徑的優先等級,該佇列中的有效路徑的優先等級與品質數值成正比或成反比。例如,在高通量佇列中,各有效路徑的優先等級與其品質數值成正比,即網路通量愈大則優先等級愈高。在低延遲佇列中,各有效路徑的優先等級則與其品質數值成反比,即延遲時間愈短則優先等級愈高。
For each queue, the
以低延遲服務為例,圖4為根據本發明一實施例的一種多重路徑通道網路連線方法的測量有效路徑的延遲時間的流程圖,即圖3中步驟31的流程圖。對於每一個有效路徑,終端裝置11會定期為該有效路徑執行圖4流程。
Taking low-latency service as an example, FIG4 is a flow chart of measuring the delay time of an effective path in a multi-path channel network connection method according to an embodiment of the present invention, i.e., the flow chart of
首先,在步驟41,終端裝置11檢查該有效路徑是否仍然能連通終端裝置11和遠端裝置12,如果已經不連通,則流程進入步驟42,如果仍然連通,則流程進入步驟43。
First, in
在步驟42,終端裝置11自每一個佇列移除該有效路徑。
In
在步驟43,終端裝置11通過該有效路徑向遠端裝置12傳送一個封包,例如心跳封包(heartbeat packet)。
In
在步驟44,終端裝置11通過該有效路徑接收遠端裝置12對該封包的回應。
In
在步驟45,終端裝置11計算該封包的往返時間(round trip time),即自終端裝置11送出該封包開始至接收到該回應為止的時間長度,該時間長度即該有效路徑的延遲時間。
In
在步驟46,終端裝置11根據該延遲時間更新該有效路徑的優先等級。詳言之,終端裝置11會根據每一個有效路徑的延遲時間,在低延遲佇列中為全部的有效路徑重新排序,重新排序之後,具有最短延遲時間的有效路徑會位於低延遲佇列的頭端,即具有最高優先等級,而具有最長延遲時間的有效路徑則會位於低延遲佇列的尾端,即具有最低優先等級。
In
對於在圖2的步驟27中新加入低延遲佇列的有效路徑,終端裝置11會將該有效路徑的延遲時間設為終端裝置11的作業系統所允許的最大整數,且將該有效路徑置於低延遲佇列的尾端,以使新加入的有效路徑均具有最低優先等級。
For the valid path newly added to the low latency queue in
再以高通量服務為例,圖5為根據本發明一實施例的一種多重路徑通道網路連線方法的測量有效路徑的網路通量的流程圖,即圖3中步驟35的流程圖。對於在圖3的步驟34中被選取的有效路徑,終端裝置11會為該有效路徑執行圖5流程。有效路徑的網路通量有一段預設的測量時間,例如十秒鐘,在高通量佇列中的有效路徑每一次被選取後,僅在這一段測量時間中測量其網路通量。
Taking high-throughput service as an example, FIG5 is a flow chart of measuring the network flux of an effective path in a multi-path channel network connection method according to an embodiment of the present invention, i.e., the flow chart of
以下說明圖5流程,首先,在步驟51,終端裝置11累計終端裝置11通過該有效路徑傳送與接收的資料量,並累計終端裝置11通過該有
效路徑傳送封包及接收封包的持續時間,其中,前述的資料量與持續時間皆是將傳送與接收合併累計。
The following is an explanation of the process of Figure 5. First, in
在步驟52,終端裝置11檢查該有效路徑的該測量時間是否已經結束,若已經結束,則流程進入步驟53,否則,流程返回步驟51,繼續累計前述的資料量與持續時間。
In
在步驟53,終端裝置11檢查此次測量是否有效。如果該資料量大於預設的門檻值且該持續時間大於另一個預設的門檻值,則終端裝置11判定此次測量有效,且流程進入步驟54,否則,終端裝置11判定此次測量無效,且流程進入步驟56。
In
在步驟54,終端裝置11計算該有效路徑的網路通量。例如,該網路通量可以等於該資料量除以該持續時間。
In
在步驟55,終端裝置11根據該網路通量更新該有效路徑的優先等級。詳言之,終端裝置11會根據每一個有效路徑的網路通量,在高通量佇列中為全部的有效路徑重新排序,重新排序之後,具有最大網路通量的有效路徑會位於高通量佇列的頭端,即具有最高優先等級,而具有最小網路通量的有效路徑則會位於高通量佇列的尾端,即具有最低優先等級。
In
對於在圖2的步驟27中新加入高通量佇列的有效路徑,終端裝置11會將該有效路徑的網路通量設為終端裝置11的作業系統所允許的最大整數,且將該有效路徑置於高通量佇列的頭端,以使新加入的有效路徑均具有最高優先等級。
For the valid path newly added to the high-throughput queue in
在步驟56,終端裝置11將該有效路徑的網路通量減一,再以和步驟55相同的方式在高通量佇列中為全部的有效路徑重新排序,以降低該有效路徑的優先等級。
In
在一實施例中,本發明另提供一種電腦可讀取儲存媒體,例如至少一個集中或分散的記憶體、軟碟、硬碟或光碟。該電腦可讀取儲存媒體可儲存複數指令,這些指令可由終端裝置11與遠端裝置12讀取以執行上述之多重路徑通道網路連線方法。
In one embodiment, the present invention further provides a computer-readable storage medium, such as at least one centralized or distributed memory, floppy disk, hard disk or optical disk. The computer-readable storage medium can store a plurality of instructions, which can be read by the
圖1所示的應用環境中設置有兩個防火牆13、14,但本發明不限於此。在另一實施例中,可以省略防火牆13、14中的一個或兩個防火牆。或者,可以僅設置一個防火牆,且終端裝置11和遠端裝置12可以同處於該防火牆的內側。在又一個實施例中,多重路徑通道網路連線系統10可以包括複數終端裝置11和/或複數遠端裝置12。
In the application environment shown in FIG. 1 , two
綜上所述,本發明的技術方案可以在終端裝置和遠端裝置之間建立多重路徑通道,且能根據行程發起的連線所需的服務種類,在多重路徑中為該連線選取合適的路徑,以提高終端裝置和遠端裝置之間的網路服務品質。 In summary, the technical solution of the present invention can establish a multi-path channel between a terminal device and a remote device, and can select a suitable path for the connection among the multiple paths according to the type of service required by the connection initiated by the process, so as to improve the network service quality between the terminal device and the remote device.
上述實施形態僅例示性說明本發明之原理及其功效,而非用於限制本發明。任何在本技術領域具有通常知識者均可在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。因此,本發明之權利保護範圍,應如後述之申請專利範圍所列。 The above implementation forms are only illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone with common knowledge in this technical field may modify and change the above implementation forms without violating the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be as listed in the scope of the patent application described below.
10:多重路徑通道網路連線系統 10:Multi-path channel network connection system
11:終端裝置 11: Terminal device
12:遠端裝置 12: Remote device
13,14:防火牆 13,14: Firewall
15:網路 15: Internet
16:雲端界面伺服器 16: Cloud interface server
17:中繼伺服器 17: Relay server
18:通道伺服器 18: Channel Server
Claims (9)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112121070A TWI873672B (en) | 2023-06-06 | 2023-06-06 | System and method for network connection via multi-path tunnel and computer-readable storage medium |
| CN202310829997.0A CN119094431A (en) | 2023-06-06 | 2023-07-07 | Multi-path channel network connection system, method and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112121070A TWI873672B (en) | 2023-06-06 | 2023-06-06 | System and method for network connection via multi-path tunnel and computer-readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202450360A TW202450360A (en) | 2024-12-16 |
| TWI873672B true TWI873672B (en) | 2025-02-21 |
Family
ID=93691436
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW112121070A TWI873672B (en) | 2023-06-06 | 2023-06-06 | System and method for network connection via multi-path tunnel and computer-readable storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN119094431A (en) |
| TW (1) | TWI873672B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110080897A1 (en) * | 2006-07-14 | 2011-04-07 | Raytheon Company | Communications resource management |
| CN102271058A (en) * | 2011-08-09 | 2011-12-07 | 中兴通讯股份有限公司 | Multi-path service protecting method and device |
| US20180287640A1 (en) * | 2017-03-29 | 2018-10-04 | Qualcomm Incorporated | List management for parallel operations of polar codes |
| US20180323810A1 (en) * | 2017-05-05 | 2018-11-08 | Qualcomm Incorporated | Early-termination techniques for polar list decoders |
| TW201843939A (en) * | 2017-05-04 | 2018-12-16 | 美商高通公司 | Polarization code for uplink control information |
| TW202001611A (en) * | 2018-06-27 | 2020-01-01 | 國立清華大學 | Reliability evaluating method for multi-state flow network and system thereof |
-
2023
- 2023-06-06 TW TW112121070A patent/TWI873672B/en active
- 2023-07-07 CN CN202310829997.0A patent/CN119094431A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110080897A1 (en) * | 2006-07-14 | 2011-04-07 | Raytheon Company | Communications resource management |
| CN102271058A (en) * | 2011-08-09 | 2011-12-07 | 中兴通讯股份有限公司 | Multi-path service protecting method and device |
| US20180287640A1 (en) * | 2017-03-29 | 2018-10-04 | Qualcomm Incorporated | List management for parallel operations of polar codes |
| TW201843939A (en) * | 2017-05-04 | 2018-12-16 | 美商高通公司 | Polarization code for uplink control information |
| US20180323810A1 (en) * | 2017-05-05 | 2018-11-08 | Qualcomm Incorporated | Early-termination techniques for polar list decoders |
| TW202001611A (en) * | 2018-06-27 | 2020-01-01 | 國立清華大學 | Reliability evaluating method for multi-state flow network and system thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202450360A (en) | 2024-12-16 |
| CN119094431A (en) | 2024-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Shreedhar et al. | Evaluating QUIC performance over web, cloud storage, and video workloads | |
| US11522734B2 (en) | Method for controlling a remote service access path and relevant device | |
| EP3907955B1 (en) | Data transmission method and apparatus, computer readable medium, and electronic device | |
| KR101037020B1 (en) | System and method for selecting a data provider | |
| CN110875915B (en) | Data transmission method and device | |
| CN111817977B (en) | A network congestion control method and device | |
| US8326984B1 (en) | Selective compression for network connections | |
| JP5081308B2 (en) | Method for determining network proximity for global traffic load balancing using passive TCP performance measurement | |
| CN111372323B (en) | Connection establishment method, related device and medium | |
| US20140149580A1 (en) | Techniques for accounting for multiple transactions in a transport control protocol (tcp) payload | |
| US20040172470A1 (en) | IP router, communication system and band setting method used therein and its program | |
| JP2003522358A (en) | High-performance delivery method for web content | |
| JP2014045499A (en) | Data transmission method and data transmission device | |
| US9825815B2 (en) | System and method for aggregating and estimating the bandwidth of multiple network interfaces | |
| JP2002374290A (en) | Server selecting device, method, program, and recording medium recording the program | |
| CN107302504B (en) | Multipath transmission scheduling method and system based on virtual sending queue | |
| TWI873672B (en) | System and method for network connection via multi-path tunnel and computer-readable storage medium | |
| Al-Imareen et al. | On the impact of packet reordering in MPT-GRE multipath networks | |
| CN102868630B (en) | A kind of parallel adaptive data transmission method for uplink based on many IP address and device | |
| JP2003037649A (en) | Content distribution completion time estimation method, recording medium, and program | |
| CN106161051B (en) | Custom end intelligent route selection | |
| Palazzi | Residual Capacity Estimator for TCP on Wired/Wireless Links. | |
| Enghardt | Informed access network selection to improve application performance | |
| JP3811436B2 (en) | Nearest base estimation apparatus and method | |
| JP4692406B2 (en) | RELAY COMMUNICATION SYSTEM, RELAY APPARATUS, SESSION BAND CONTROL METHOD USED FOR THEM AND PROGRAM |