[go: up one dir, main page]

TWI412246B - Router and load balance method thereof - Google Patents

Router and load balance method thereof Download PDF

Info

Publication number
TWI412246B
TWI412246B TW98144035A TW98144035A TWI412246B TW I412246 B TWI412246 B TW I412246B TW 98144035 A TW98144035 A TW 98144035A TW 98144035 A TW98144035 A TW 98144035A TW I412246 B TWI412246 B TW I412246B
Authority
TW
Taiwan
Prior art keywords
wide area
area network
storage medium
traffic value
router
Prior art date
Application number
TW98144035A
Other languages
Chinese (zh)
Other versions
TW201123774A (en
Inventor
Jong Chang Chen
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW98144035A priority Critical patent/TWI412246B/en
Publication of TW201123774A publication Critical patent/TW201123774A/en
Application granted granted Critical
Publication of TWI412246B publication Critical patent/TWI412246B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A router includes a storage system, a connection module, a detecting module, a comparison module, a switching module, and a processor. The storage system stores a predetermined threshold corresponding to a first wide area network (WAN) port. The connection module connects to the Internet by the first WAN port. The detecting module detects a plurality of packet flow values of the first WAN port and stores the packet flow values in the storage system. The comparison module determines if a latest one of the packet flow values is equal to a former one, and determines if the latest one is more than the predetermined threshold if the latest one of the packet flow values is not equal to the former one. The switching module switches the connection from the first WAN port to a second WAN port if the latest one is more than the predetermined threshold. The processor executes the above modules. A load balance method of the router is also provided.

Description

路由器及其平衡負載的方法Router and its method of balancing load

本發明涉及路由器,尤其涉及一種路由器平衡負載的方法。The present invention relates to a router, and more particularly to a method for a router to balance a load.

在通訊網路出現擁塞的情況下,路由器往往需要與頭端系統進行聯繫,由頭端系統來偵測負載較輕的路徑,或者選擇等待發送的機制,當路由器偵測到網路擁塞消失時再發送封包。然而,第一種解決方案必須借助頭端系統,第二種解決方案將導致更長的延時,以上兩種解決方案都嚴重影響了路由器的處理效率。In the case of congestion in the communication network, the router often needs to contact the head end system, the head end system detects the lighter path, or chooses to wait for the sending mechanism, when the router detects that the network congestion disappears. Send a packet. However, the first solution must rely on the headend system, and the second solution will result in longer delays, both of which have severely affected the processing efficiency of the router.

因此,如何提高路由器處理網路封包的效率是業界的一大挑戰。Therefore, how to improve the efficiency of routers processing network packets is a major challenge in the industry.

有鑒於此,需提供一種路由器,能不必借助頭端系統來平衡負載,有效提高路由器的運行效率。In view of this, it is necessary to provide a router that can balance the load without using the head end system, thereby effectively improving the operating efficiency of the router.

另外,還需提供一種路由器平衡負載的方法,能不必借助頭端系統來平衡負載,有效提高路由器的運行效率。In addition, it is also necessary to provide a method for the router to balance the load, which can balance the load without using the head end system, thereby effectively improving the operating efficiency of the router.

一種路由器,包括存儲媒介、處理器、第一廣域網埠、第二廣域網埠、連接模組、偵測模組、比較模組及切換模組,其中該存儲媒介內存儲有該第一廣域網埠的預設門限值。連接模組藉由該第一廣域網埠進行網路連接。偵測模組持續偵測該第一廣域網埠發送封包的複數流量值並存儲到該存儲媒介。比較模組判斷該存儲媒介中最新存儲的流量值與上一次存儲的流量值是否相等,並在不相等時判斷該存儲媒介中最新存儲的流量值是否超過該第一廣域網埠的預設門限值。切換模組在該存儲媒介中最新存儲的流量值超過該存儲媒介中存儲的該第一廣域網埠的預設門限值時,將該第一廣域網埠切換至該第二廣域網埠進行網路連接。處理器用於執行上述模組以實現上述模組的功能。A router includes a storage medium, a processor, a first wide area network, a second wide area network, a connection module, a detection module, a comparison module, and a switching module, wherein the storage medium stores the first wide area network Preset threshold. The connection module performs network connection by using the first wide area network. The detection module continuously detects the complex flow value of the first wide area network and sends the packet to the storage medium. The comparison module determines whether the latest stored traffic value in the storage medium is equal to the last stored traffic value, and determines whether the latest stored traffic value in the storage medium exceeds a preset threshold of the first wide area network when the unequal . The switching module switches the first wide area network to the second wide area network to perform network connection when the latest stored traffic value in the storage medium exceeds the preset threshold of the first wide area network stored in the storage medium. The processor is configured to execute the above modules to implement the functions of the above modules.

一種路由器平衡負載的方法,其中該路由器包括存儲媒介、處理器、第一廣域網埠和第二廣域網埠,該存儲媒介內存儲有該第一廣域網埠的預設門限值,該方法包括以下步驟:藉由該第一廣域網埠進行網路連接;持續偵測該第一廣域網埠發送封包的複數流量值並存儲到該存儲媒介;判斷在該存儲媒介中最新存儲的流量值與上一次存儲的流量值是否相等;若在該存儲媒介中最新存儲的流量值與上一次存儲的流量值不相等,則判斷該存儲媒介中最新存儲的流量值是否超過該第一廣域網埠的預設門限值;及若該存儲媒介中最新存儲的流量值超過該第一廣域網埠的預設門限值,則將該第一廣域網埠切換至該第二廣域網埠進行網路連接。A method for balancing a load by a router, wherein the router includes a storage medium, a processor, a first wide area network, and a second wide area network, wherein the storage medium stores a preset threshold of the first wide area network, and the method includes the following steps: Performing a network connection by using the first wide area network; continuously detecting the complex traffic value of the first wide area network and transmitting the packet to the storage medium; determining the latest stored flow value in the storage medium and the last stored traffic Whether the value of the latest stored traffic value in the storage medium is not equal to the last stored traffic value, determining whether the latest stored traffic value in the storage medium exceeds a preset threshold of the first wide area network; If the latest stored traffic value in the storage medium exceeds a preset threshold of the first wide area network, the first wide area network is switched to the second wide area network to perform network connection.

藉由以下對具體實施方式詳細的描述結合附圖,將可輕易的瞭解上述內容及此項發明之諸多優點。The above and many advantages of the invention will be readily apparent from the following detailed description of the preferred embodiments.

請參閱圖1,所示為本發明一實施方式中路由器的應用環境結構示意圖。路由器20提供網路路由功能,以使用戶終端設備10可藉由用戶接入網30連接到局端設備40的第一接入點402和第二接入點404,並藉由局端設備40提供的接入服務以訪問網際網路50。在本實施方式中,用戶終端設備10包括個人電腦(Personal Computer,PC)、個人數位助理(Personal Digital Assistant,PDA)等終端設備。路由器20包括至少兩個廣域網(Wide Area Network,WAN)埠,並藉由用戶接入網30以分別連接到局端設備40的第一接入點402和第二接入點404。在本實施方式中,局端設備40用於為用戶終端設備10提供各種連接到網際網路50的接入服務,第一接入點402與第二接入點404可以分別為3.5G數據機接入點及非對稱數字用戶環路(ADSL)接入點。Please refer to FIG. 1 , which is a schematic structural diagram of an application environment of a router according to an embodiment of the present invention. The router 20 provides a network routing function, so that the user terminal device 10 can be connected to the first access point 402 and the second access point 404 of the central office device 40 by the user access network 30, and by the central office device 40. An access service is provided to access the Internet 50. In the present embodiment, the user terminal device 10 includes terminal devices such as a personal computer (PC) and a personal digital assistant (PDA). The router 20 includes at least two Wide Area Network (WAN) ports and is connected to the first access point 402 and the second access point 404 of the central office device 40 by the user access network 30, respectively. In this embodiment, the central office device 40 is configured to provide the user terminal device 10 with various access services connected to the Internet 50. The first access point 402 and the second access point 404 may be 3.5G data machines respectively. Access points and asymmetric digital subscriber loop (ADSL) access points.

請參閱圖2,所示為本發明一實施方式中路由器的內部結構示意圖。在本實施方式中,路由器20包括處理器202、存儲媒介204、連接模組206、偵測模組208、比較模組210以及切換模組212。在本實施方式中,路由器還包括第一廣域網埠214和第二廣域網埠216以分別連接到ISP端的第一接入點和第二接入點,並藉由該第一接入點和第二接入點連接到網際網路。其中,第一接入點402與第二接入點404可以分別為3.5G數據機接入點及ADSL接入點。Referring to FIG. 2, it is a schematic diagram showing the internal structure of a router according to an embodiment of the present invention. In this embodiment, the router 20 includes a processor 202, a storage medium 204, a connection module 206, a detection module 208, a comparison module 210, and a switching module 212. In this embodiment, the router further includes a first wide area network 214 and a second wide area network 216 to respectively connect to the first access point and the second access point of the ISP end, and by the first access point and the second The access point is connected to the internet. The first access point 402 and the second access point 404 can be 3.5G data machine access points and ADSL access points, respectively.

處理器202用於驅動該等連接模組206、偵測模組208、比較模組210及切換模組212以實現這些模組的功能。The processor 202 is configured to drive the connection module 206, the detection module 208, the comparison module 210, and the switching module 212 to implement the functions of the modules.

存儲媒介204存儲利用第一廣域網埠214連接到網際網路50時的預設門限值。在本實施方式中,第一廣域網埠214的預設門限值用於表示第一廣域網埠214所能承受的發送封包流量的最大值。The storage medium 204 stores a preset threshold value when the first wide area network 214 is connected to the Internet 50. In this embodiment, the preset threshold of the first wide area network 214 is used to indicate the maximum value of the transmission packet traffic that the first wide area network 214 can bear.

連接模組206藉由第一廣域網埠214連接到網際網路50。The connection module 206 is connected to the Internet 50 by the first wide area network 214.

偵測模組208持續偵測第一廣域網埠214發送封包的複數流量值並存儲到存儲媒介204。The detection module 208 continuously detects the complex flow value of the packet sent by the first wide area network 214 and stores it in the storage medium 204.

比較模組210判斷存儲媒介204中最新存儲的流量值與上一次存儲的流量值是否相等,並在不相等時判斷存儲媒介204中最新存儲的流量值是否超過第一廣域網埠214的預設門限值。在本實施方式中,若存儲媒介204中最新存儲的流量值與上一次存儲的流量值相等,則表明藉由第一廣域網埠214連接到網際網路50的路徑出現了擁塞現象。The comparison module 210 determines whether the latest stored traffic value in the storage medium 204 is equal to the last stored traffic value, and determines whether the latest stored traffic value in the storage medium 204 exceeds the preset threshold of the first wide area network 214 when not equal. value. In the present embodiment, if the newly stored traffic value in the storage medium 204 is equal to the last stored traffic value, it indicates that the path connected to the Internet 50 by the first wide area network 214 is congested.

切換模組212在存儲媒介204中最新存儲的流量值超過存儲媒介204中存儲的第一廣域網埠214的預設門限值時,停止第一廣域網埠214進行的連接,並將連接模組206由第一廣域網埠214切換至第二廣域網埠216進行網路連接。The switching module 212 stops the connection of the first wide area network 214 when the latest stored flow value in the storage medium 204 exceeds the preset threshold of the first wide area network 214 stored in the storage medium 204, and connects the connection module 206 The first wide area network 214 switches to the second wide area network 216 for network connection.

在本實施方式中,如果切換模組212在存儲媒介204中最新存儲的流量值與上一次存儲的流量值不相等且沒有超過第一廣域網埠214的預設門限值,則表明藉由第一廣域網埠214進行連接的路徑沒有發生擁塞現象,此時,偵測模組208繼續偵測第一廣域網埠214發送封包的流量值並存儲到存儲媒介204中。In this embodiment, if the newly stored traffic value of the switching module 212 in the storage medium 204 is not equal to the last stored traffic value and does not exceed the preset threshold of the first wide area network 214, it is indicated by the first The congestion of the WAN 214 is not congested. At this time, the detection module 208 continues to detect the traffic value of the packet sent by the first WAN 214 and stores it in the storage medium 204.

在本實施方式中,切換模組212在存儲媒介204中最新存儲的流量值與上一次存儲的流量值不相等且已經超過第一廣域網埠214的預設門限值時,則表明所發送封包的流量已經超過了該第一廣域網埠214所能處理的極限。此時,如果繼續以該第一廣域網埠214進行連接則將發生嚴重的丟包現象,為了防止丟包現象,在本實施方式中,切換模組212將停止該第一廣域網埠214進行的連接,並將連接模組206由第一廣域網埠214切換至第二廣域網埠216進行網路連接。In this embodiment, when the newly stored traffic value in the storage medium 204 is not equal to the last stored traffic value and has exceeded the preset threshold of the first wide area network 214, the switching module 212 indicates that the sent packet is sent. The traffic has exceeded the limit that the first wide area network 214 can handle. At this time, if the connection is continued with the first wide area network 214, a serious packet loss phenomenon will occur. In order to prevent the packet loss phenomenon, in the present embodiment, the switching module 212 stops the connection of the first wide area network 214. And connecting the connection module 206 from the first wide area network 214 to the second wide area network 216 for network connection.

請參閱圖3,所示為本發明一實施方式中路由器平衡負載的方法流程圖。在本實施方式中,該方法藉由圖2所示的各個模組來實現。Referring to FIG. 3, a flow chart of a method for balancing a load of a router according to an embodiment of the present invention is shown. In the present embodiment, the method is implemented by each module shown in FIG. 2.

在步驟S300中,連接模組206藉由第一廣域網埠214連接到網際網路50。In step S300, the connection module 206 is connected to the Internet 50 by the first wide area network 214.

在步驟S302中,偵測模組208持續偵測第一廣域網埠214發送封包的複數流量值並存儲到存儲媒介204。In step S302, the detection module 208 continuously detects the complex flow value of the first wide area network 214 to send the packet and stores it in the storage medium 204.

在步驟S304中,比較模組210判斷在該存儲媒介204中最新存儲的流量值與上一次存儲的流量值是否相等。In step S304, the comparison module 210 determines whether the latest stored flow value in the storage medium 204 is equal to the last stored flow value.

若在存儲媒介204中最新存儲的流量值與上一次存儲的流量值不相等,則在步驟S306中,比較模組210判斷存儲媒介204中最新存儲的流量值是否超過第一廣域網埠214的預設門限值。If the newly stored traffic value in the storage medium 204 is not equal to the last stored traffic value, then in step S306, the comparison module 210 determines whether the latest stored traffic value in the storage medium 204 exceeds the pre-process of the first wide area network 214. Set the threshold.

若在存儲媒介204中最新存儲的流量值與上一次存儲的流量值不相等且沒有超過第一廣域網埠214的預設門限值時,則表明藉由第一廣域網埠214進行連接的路徑沒有發生擁塞現象,此時,偵測模組208繼續偵測第一廣域網埠214發送封包的流量值並存儲到存儲媒介204中。If the newly stored traffic value in the storage medium 204 is not equal to the last stored traffic value and does not exceed the preset threshold of the first wide area network 214, it indicates that the path connected by the first wide area network 214 does not occur. During the congestion, the detection module 208 continues to detect the traffic value of the packet sent by the first wide area network 214 and stores it in the storage medium 204.

若在存儲媒介204中最新存儲的流量值與上一次存儲的流量值相等,則表明藉由該第一廣域網埠214連接到網際網路50的路徑出現了擁塞現象,如在步驟S308中,切換模組208將停止該第一廣域網埠214進行的連接,並將連接模組206由第一廣域網埠214切換至第二廣域網埠216進行網路連接。If the newly stored traffic value in the storage medium 204 is equal to the last stored traffic value, it indicates that the path connected to the Internet 50 by the first wide area network 214 is congested, as in step S308, the handover is performed. The module 208 will stop the connection of the first wide area network 214 and switch the connection module 206 from the first wide area network 214 to the second wide area network 216 for network connection.

若在存儲媒介204中最新存儲的流量值與上一次存儲的流量值不相等且已經超過第一廣域網埠214的預設門限值時,則表明所發送封包的流量已經超過了該第一廣域網埠214所能處理的極限,此時,如果繼續以該第一廣域網埠214進行連接則將發生嚴重的丟包現象,為了防止丟包現象,在本實施方式中,切換模組212將停止該第一廣域網埠214進行的連接,並將連接模組206由第一廣域網埠214切換至第二廣域網埠216進行網路連接。If the newly stored traffic value in the storage medium 204 is not equal to the last stored traffic value and has exceeded the preset threshold of the first wide area network 214, it indicates that the traffic of the sent packet has exceeded the first wide area network. 214 can handle the limit. At this time, if the connection is continued with the first wide area network 214, a serious packet loss phenomenon will occur. In order to prevent the packet loss phenomenon, in the present embodiment, the switching module 212 will stop the first A connection is made by the wide area network 214, and the connection module 206 is switched from the first wide area network 214 to the second wide area network 216 for network connection.

在本實施方式中,存儲媒介204同樣將即時存儲藉由第二廣域網埠216發送封包的流量值以及第二廣域網埠216的預設門限值,且利用該第二廣域網埠216進行連接到網際網路50的步驟與藉由該第一廣域網埠214進行連接到網際網路50的步驟基本相同。藉由這種選擇切換的方式,可以使路由器的負載達到平衡,從而提高路由器的運行效率。In this embodiment, the storage medium 204 also stores the traffic value of the packet and the preset threshold of the second wide area network 216 by the second wide area network 216, and connects to the Internet by using the second wide area network 216. The steps of the way 50 are substantially the same as the steps of connecting to the Internet 50 by the first wide area network 214. With this selective switching method, the load of the router can be balanced, thereby improving the operating efficiency of the router.

本發明實施方式所提供的路由器20及其平衡負載的方法,藉由在路由器20內部廣域網埠上前後兩次發送封包的流量對比來判斷負載情況,並在其中一個廣域網埠出現了擁塞的情況下,能切換到另一個廣域網埠進行連接,可以不必借助頭端系統來平衡負載,從而提高了路由器的運行效率。The router 20 and the method for balancing the load provided by the embodiments of the present invention determine the load condition by comparing the traffic of the packet sent twice before and after the packet on the wide area network inside the router 20, and in the case where congestion occurs in one of the wide area networks. It can switch to another WAN to connect, which can improve the efficiency of the router without balancing the load with the headend system.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本案發明精神所作之等效修飾或變化,皆應包含於以下之申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims.

10‧‧‧用戶終端設備10‧‧‧User terminal equipment

              

20‧‧‧路由器20‧‧‧ router

202‧‧‧處理器202‧‧‧ processor

204‧‧‧存儲媒介204‧‧‧Storage medium

206‧‧‧連接模組206‧‧‧Connecting module

208‧‧‧偵測模組208‧‧‧Detection module

210‧‧‧比較模組210‧‧‧Comparative Module

212‧‧‧切換模組212‧‧‧Switch Module

214‧‧‧第一廣域網埠214‧‧‧First Wide Area Network埠

216‧‧‧第二廣域網埠216‧‧‧Second wide area network埠

30‧‧‧用戶接入網30‧‧‧User Access Network

40‧‧‧局端設備40‧‧‧Central office equipment

402‧‧‧第一接入點402‧‧‧First access point

404‧‧‧第二接入點404‧‧‧second access point

50‧‧‧網際網路50‧‧‧Internet

圖1為本發明一實施方式中路由器的應用環境結構示意圖。FIG. 1 is a schematic structural diagram of an application environment of a router according to an embodiment of the present invention.

圖2為本發明一實施方式中路由器的內部結構示意圖。FIG. 2 is a schematic diagram of an internal structure of a router according to an embodiment of the present invention.

圖3為本發明一實施方式中路由器平衡負載的方法流程圖。FIG. 3 is a flowchart of a method for balancing a load of a router according to an embodiment of the present invention.

20‧‧‧路由器 20‧‧‧ router

202‧‧‧處理器 202‧‧‧ processor

204‧‧‧存儲媒介 204‧‧‧Storage medium

206‧‧‧連接模組 206‧‧‧Connecting module

208‧‧‧偵測模組 208‧‧‧Detection module

210‧‧‧比較模組 210‧‧‧Comparative Module

212‧‧‧切換模組 212‧‧‧Switch Module

214‧‧‧第一廣域網埠 214‧‧‧First Wide Area Network埠

216‧‧‧第二廣域網埠 216‧‧‧Second wide area network埠

Claims (8)

一種路由器,包括存儲媒介、處理器、第一廣域網埠和第二廣域網埠,且該存儲媒介存儲有該第一廣域網埠的預設門限值,該路由器還包括:
連接模組,用於藉由該第一廣域網埠進行網路連接;
偵測模組,用於持續偵測該第一廣域網埠發送封包的複數流量值並存儲到該存儲媒介;
比較模組,用於判斷該存儲媒介中最新存儲的流量值與上一次存儲的流量值是否相等,並在不相等時判斷該存儲媒介中最新存儲的流量值是否超過該第一廣域網埠的預設門限值;及
切換模組,用於在該存儲媒介中最新存儲的流量值超過該存儲媒介中存儲的該第一廣域網埠的預設門限值時,將該連接模組由該第一廣域網埠切換至該第二廣域網埠進行網路連接;
其中處理器用於驅動該等連接模組、偵測模組、比較模組、切換模組。
A router includes a storage medium, a processor, a first wide area network, and a second wide area network, and the storage medium stores a preset threshold of the first wide area network. The router further includes:
a connection module, configured to perform network connection by using the first wide area network;
a detecting module, configured to continuously detect a complex flow value of the first wide area network and send the packet to the storage medium;
The comparison module is configured to determine whether the latest stored traffic value in the storage medium is equal to the last stored traffic value, and if the unequal is equal, determine whether the latest stored traffic value in the storage medium exceeds the first wide area network And a switching module, configured to: when the latest stored traffic value in the storage medium exceeds a preset threshold of the first wide area network stored in the storage medium, the connection module is configured by the first wide area network Switching to the second wide area network for network connection;
The processor is used to drive the connection module, the detection module, the comparison module, and the switching module.
如申請專利範圍第1項所述之路由器,其中該切換模組還用於在該存儲媒介中最新存儲的流量值與上一次存儲的流量值相等時,將該連接模組由該第一廣域網埠切換至該第二廣域網埠進行網路連接。The router of claim 1, wherein the switching module is further configured to: when the newly stored traffic value in the storage medium is equal to the last stored traffic value, the connection module is configured by the first wide area network.埠 Switch to the second WAN for network connection. 如申請專利範圍第2項所述之路由器,其中該存儲媒介還用於存儲該第二廣域網埠的預設門限值。The router of claim 2, wherein the storage medium is further configured to store a preset threshold of the second wide area network. 如申請專利範圍第1項所述之路由器,其中該偵測模組還用於在該存儲媒介中最新存儲的流量值沒有超過該存儲媒介中存儲的該第一廣域網埠的預設門限值時,繼續偵測該第一廣域網埠發送封包的流量值並存儲到該存儲媒介。The router of claim 1, wherein the detecting module is further configured to: when the latest stored traffic value in the storage medium does not exceed a preset threshold of the first wide area network stored in the storage medium; And continuing to detect the traffic value of the first WAN packet sent and stored in the storage medium. 一種路由器平衡負載的方法,其中該路由器包括存儲媒介、處理器、第一廣域網埠和第二廣域網埠,該存儲媒介存儲有該第一廣域網埠的預設門限值,該方法包括:
藉由該第一廣域網埠進行網路連接;
持續偵測該第一廣域網埠發送封包的複數流量值並存儲到該存儲媒介;
判斷在該存儲媒介中最新存儲的流量值與上一次存儲的流量值是否相等;
若在該存儲媒介中最新存儲的流量值與上一次存儲的流量值不相等,則判斷該存儲媒介中最新存儲的流量值是否超過該第一廣域網埠的預設門限值;及
若該存儲媒介中最新存儲的流量值超過該第一廣域網埠的預設門限值,則將該第一廣域網埠切換至該第二廣域網埠進行網路連接。
A method for balancing a load by a router, wherein the router includes a storage medium, a processor, a first wide area network, and a second wide area network, wherein the storage medium stores a preset threshold of the first wide area network, the method includes:
Network connection through the first wide area network;
Continuously detecting the complex traffic value of the first WAN transmission packet and storing it in the storage medium;
Determining whether the latest stored traffic value in the storage medium is equal to the last stored traffic value;
If the newly stored traffic value in the storage medium is not equal to the last stored traffic value, determining whether the latest stored traffic value in the storage medium exceeds a preset threshold of the first wide area network; and if the storage medium If the latest stored traffic value exceeds the preset threshold of the first wide area network, the first wide area network is switched to the second wide area network for network connection.
如申請專利範圍第5項所述之路由器平衡負載的方法,還包括:若該存儲媒介中最新存儲的流量值與上一次存儲的流量值相等,則將該第一廣域網埠切換至該第二廣域網埠進行網路連接。The method for balancing a load of a router according to claim 5, further comprising: if the newly stored traffic value in the storage medium is equal to the last stored traffic value, switching the first wide area network to the second The WAN is connected to the Internet. 如申請專利範圍第6項所述之路由器平衡負載的方法,其中該存儲媒介還存儲有該第二廣域網埠的預設門限值。The method for balancing a load of a router according to claim 6, wherein the storage medium further stores a preset threshold of the second wide area network. 如申請專利範圍第5項所述之路由器平衡負載的方法,還包括:若該存儲媒介中最新存儲的流量值沒有超過該第一廣域網埠的預設門限值,則繼續偵測該第一廣域網埠發送封包的流量值並存儲到該存儲媒介。The method for balancing a load of a router according to claim 5, further comprising: if the latest stored traffic value in the storage medium does not exceed a preset threshold of the first wide area network, continuing to detect the first wide area network流量 Send the packet's traffic value to the storage medium.
TW98144035A 2009-12-22 2009-12-22 Router and load balance method thereof TWI412246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98144035A TWI412246B (en) 2009-12-22 2009-12-22 Router and load balance method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98144035A TWI412246B (en) 2009-12-22 2009-12-22 Router and load balance method thereof

Publications (2)

Publication Number Publication Date
TW201123774A TW201123774A (en) 2011-07-01
TWI412246B true TWI412246B (en) 2013-10-11

Family

ID=45046814

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98144035A TWI412246B (en) 2009-12-22 2009-12-22 Router and load balance method thereof

Country Status (1)

Country Link
TW (1) TWI412246B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200850016A (en) * 2007-03-05 2008-12-16 Grid Net Inc Energy switch router
WO2009070179A1 (en) * 2007-12-01 2009-06-04 Lucent Technologies, Inc. Ims diameter router with load balancing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200850016A (en) * 2007-03-05 2008-12-16 Grid Net Inc Energy switch router
WO2009070179A1 (en) * 2007-12-01 2009-06-04 Lucent Technologies, Inc. Ims diameter router with load balancing

Also Published As

Publication number Publication date
TW201123774A (en) 2011-07-01

Similar Documents

Publication Publication Date Title
EP3541027B1 (en) Method and device for determining transmission path
CN102904975B (en) Method and associated device for message processing
CN101867511B (en) Pause frame sending method, associated equipment and system
WO2017054547A1 (en) Bidirectional forwarding detection method and apparatus
KR20110119534A (en) Load balancing via module distribution and TC flow redirection according to server overload
CN104394083B (en) Method, the method and its device and system of message forwarding of forwarding-table item processing
CN102025644B (en) A load sharing method and device
WO2016000184A1 (en) Method, device and system for switching switch modes
CN107465613B (en) Link aggregation interface communication state switching method and device
Li et al. MPTCP incast in data center networks
CN111431811A (en) A message transmission control method, device and network device
WO2016039758A1 (en) Non-minimum cost forwarding for packet-switched networks
CN107241208A (en) A kind of message forwarding method, the first interchanger and related system
CN102893560B (en) A kind of data flow transmission method and the network equipment
CN102104536A (en) Router and method thereof for balancing load
CN115766605A (en) Network congestion control method, device and system
CN106656807A (en) Message forwarding method and SDN switch
US20150281050A1 (en) Method for Adjacency Status Synchronization in Label Distribution Protocol
RU2510142C2 (en) Method and system for transmitting message between extended processor and switch circuit
CN103607354A (en) Flow control method, DPI equipment and system
US9537764B2 (en) Communication apparatus, control apparatus, communication system, communication method, method for controlling communication apparatus, and program
CN102594665A (en) Business data transmission method and device
TWI412246B (en) Router and load balance method thereof
US8144583B2 (en) Network switch that is optimized for a telephony-capable endpoint
CN105519049B (en) A message transmission method, device and system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees