TWI400912B - Data packet orientation method - Google Patents

Data packet orientation method Download PDF

Info

Publication number
TWI400912B
TWI400912B TW99123607A TW99123607A TWI400912B TW I400912 B TWI400912 B TW I400912B TW 99123607 A TW99123607 A TW 99123607A TW 99123607 A TW99123607 A TW 99123607A TW I400912 B TWI400912 B TW I400912B
Authority
TW
Taiwan
Prior art keywords
packet
router
traffic steering
steering device
network
Prior art date
Application number
TW99123607A
Other languages
Chinese (zh)
Other versions
TW201206119A (en
Inventor
Chien Yu Lo
chun hao Chen
Original Assignee
Chunghwa Telecom 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 Chunghwa Telecom Co Ltd filed Critical Chunghwa Telecom Co Ltd
Priority to TW99123607A priority Critical patent/TWI400912B/en
Publication of TW201206119A publication Critical patent/TW201206119A/en
Application granted granted Critical
Publication of TWI400912B publication Critical patent/TWI400912B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

封包導向方法Packet guiding method

本發明係關於一種封包導向方法,更詳而言之,係關於一種於多個出口節點下使封包得以由相同的服務設備予以處理且經由相同的路由器予以傳送之封包導向方法。The present invention relates to a packet directing method, and more particularly to a packet directing method for enabling packets to be processed by the same service device and transmitted via the same router under a plurality of egress nodes.

在瀏覽相關網站時,用戶端會藉由網路系統發送封包至網路端,而網路端於接收到由用戶端所發送之封包後,亦會發送對應之封包至該用戶端,令用戶端得以透過網路系統即時地瀏覽相關的網站。When browsing the related website, the client sends a packet to the network through the network system, and after receiving the packet sent by the client, the network also sends a corresponding packet to the user, so that the user The terminal can instantly browse related websites through the network system.

一般而言,封包會經由路由器或交換器等網路設備往返於用戶端與網路端之間,而若用戶端向網路服務業者申請了某些特定的服務時,網路服務業者會於網路端、用戶端、及路由器間架設相應的服務設備,以藉由同一台服務設備處理往返於網路端及用戶端間的雙向封包,進而發揮特定的效益。像是入侵防護系統(Intrusion prevention system,IPS)、防火牆設備(Firewall)、快速緩衝儲存區設備(Cache)、及深層封包偵測設備(Deep Packet Inspection)等,皆為時下常見的服務設備。Generally, the packet will travel between the client and the network through a network device such as a router or a switch. If the client applies for a specific service to the network service provider, the network service provider will The corresponding service device is set up between the network end, the user end, and the router to handle the two-way packet between the network end and the user end by the same service device, thereby exerting specific benefits. Intrusion prevention systems (IPS), firewall devices, cache devices, and deep packet inspection devices are all common service devices.

進一步言,當用戶端1及網路端2間僅具有單一的出口節點20,如第4A圖所示,路徑L1上之服務設備係可看到來回傳遞的封包,因此,可對該封包進行特定的處理並發揮應有的效益。而當用戶端1及網路端2間具有兩個出口節點21,如第4B圖所示,由路徑L1從用戶端1發送至網路端2的封包,於從網路端2要發送回用戶端1時,若係藉由路徑L2發送該封包時,可於路徑L2上之路由器以策略性路由(Policy-based routing)技術設定路由資訊,進而將封包導向路徑L1上之服務設備,藉此,使路徑L1上之服務設備看到雙向來回的封包,進而發揮正常的效益。Further, when there is only a single egress node 20 between the client 1 and the network 2, as shown in FIG. 4A, the service device on the path L1 can see the packet transmitted back and forth, and therefore, the packet can be performed. Specific treatment and the benefits you deserve. When there are two egress nodes 21 between the client 1 and the network 2, as shown in FIG. 4B, the packet sent from the UE 1 to the network 2 by the path L1 is sent back from the network 2. When the client 1 transmits the packet through the path L2, the router on the path L2 sets the routing information by using a policy-based routing technology, and then the packet is directed to the service device on the path L1. In this way, the service device on the path L1 sees the two-way back and forth packets, thereby exerting normal benefits.

然而,對較大型的網際網路供應商而言,為了因應日益龐大的封包流量和維持穩定的連線品質,如第4A及4B圖所示之系統建置方式已不足以應付,因此,較大型的網際網路供應商大都同時建立多個出口節點及多個服務設備之系統架構,如第4C圖所示,藉此,可確保系統不會因例如單點故障(Single point of failure)之意外而發生連線故障或造成連線品質降低。惟,於第4C圖所示之多出口節點22的系統架構下,由於具有複數條路徑(L1、…、Ln),要藉由策略性路由技術令單一使用者的雙向封包得以通過相同的服務設備,會產生相當多的缺點,例如,應用於複數條路徑的策略性路由之設計相當複雜,往往耗時費工,而於設置有多台服務設備時,不但常常發生接口數不足的困擾,更需要藉由手動的方式始可令多台服務設備達到負載平衡,無法滿足自動化的需求。However, for larger Internet providers, in order to cope with the increasing packet traffic and maintain stable connection quality, the system construction methods shown in Figures 4A and 4B are insufficient to cope with. Most large-scale Internet providers establish a system architecture of multiple egress nodes and multiple service devices at the same time, as shown in Figure 4C, thereby ensuring that the system does not suffer from, for example, a single point of failure. An unexpected connection failure or a decrease in the quality of the connection. However, in the system architecture of the multi-egress node 22 shown in FIG. 4C, since there are multiple paths (L1, . . . , Ln), the two-way packet of a single user can pass the same service through the strategic routing technology. Equipment, there are quite a few disadvantages. For example, the design of strategic routing for multiple paths is quite complicated, and it is time-consuming and labor-intensive. When multiple service devices are set up, not only the number of interfaces is often insufficient. It is more necessary to manually load multiple service devices to achieve load balancing, which cannot meet the needs of automation.

有鑑於此,如何提供一種封包導向方法,於具有多個出口節點及服務設備的封包處理程序中,不但能使封包經由相同的出口節點來進出訊務導向設備,避免了不同的出口節點接收到封包後,在其缺乏路由資訊的情況下而不斷詢問其他路由器從而產生連線不穩定的現象;且同時,可使需要看到雙向封包之服務設備得以正常地發揮應有的效益,更進一步地,還能使服務設備達到負載平衡的效果,亟為各界所急待解決之課題。In view of this, how to provide a packet-oriented method, in a packet processing program having multiple egress nodes and service devices, not only can the packets enter and exit the traffic steering device via the same egress node, thereby avoiding different egress nodes receiving After the packet is encapsulated, in the absence of routing information, the other routers are continuously inquired to cause instability of the connection; at the same time, the service device that needs to see the two-way packet can normally perform its due benefit, and further It can also make the service equipment achieve the effect of load balancing, and it is an urgent problem to be solved by all walks of life.

為解決前述習知技術之缺失,本發明之目的在於提供一種封包導向方法,使位於多出口節點及多服務設備之系統架構中之單一使用者的雙向封包,得以通過相同的服務設備,進而提高服務設備的效能,更使服務設備達到負載平衡的連線方式。In order to solve the above-mentioned shortcomings of the prior art, the object of the present invention is to provide a packet-oriented method, which enables a two-way packet of a single user located in a system architecture of a multi-egress node and a multi-service device to pass through the same service device, thereby improving The performance of the service device makes the service device reach the load-balanced connection mode.

為達前述目的及其他目的,本發明提出一種封包導向方法,係應用於至少具有第一出口節點、訊務導向設備及複數個服務設備之系統架構中,而該第一出口節點係具有至少一第一路由器(Router),且該訊務導向設備係與該第一路由器、及複數個該服務設備相連接,該封包導向方法包括以下步驟:(1)於該訊務導向設備中設定至少一組用戶發送端及網路發送端,並於該訊務導向設備中設定複數個與該訊務導向設備相連接之服務設備之連線方式;(2)於該第一出口節點接收到從用戶端發出之封包時,令該第一出口節點中之第一路由器將該封包發送至該訊務導向設備內之用戶發送端;(3)於該用戶發送端接收到從該第一路由器發送之封包時,令該訊務導向設備依據所設定之連線方式將該封包導向與該訊務導向設備相連接之服務設備,以藉由該服務設備對該封包進行處理,並令該服務設備於處理完後將該封包發送至該網路發送端;以及(4)於該網路發送端接收到自該服務設備發送之封包時,令該網路發送端將該封包導向該第一路由器,進而使第一路由器將封包發送至網路端。To achieve the foregoing and other objects, the present invention provides a packet directing method, which is applied to a system architecture having at least a first egress node, a traffic steering device, and a plurality of service devices, and the first egress node has at least one a first router (Router), wherein the traffic steering device is connected to the first router and the plurality of service devices, and the packet guiding method comprises the following steps: (1) setting at least one in the traffic steering device a group user sending end and a network sending end, and setting a connection manner of a plurality of service devices connected to the traffic guiding device in the traffic guiding device; (2) receiving the slave user at the first egress node When the packet is sent, the first router in the first egress node sends the packet to the user sending end in the traffic steering device; (3) the sending end of the user receives the packet sent from the first router. When the packet is encapsulated, the traffic guiding device directs the packet to the service device connected to the traffic guiding device according to the set connection manner, so that the packet is Processing, and causing the service device to send the packet to the network sender after processing; and (4) when the network sender receives the packet sent from the service device, causing the network sender to The packet is directed to the first router, and the first router sends the packet to the network.

於前述封包導向方法的另一實施例中,該系統架構還包括第二出口節點,該第二出口節點係具有至少一第二路由器,且該第二路由器與該訊務導向設備係相連接,該封包導向方法還包括以下步驟:(5)於該第二出口節點接收到自該網路端發出之封包時,令該第二出口節點內之第二路由器將該封包發送至該訊務導向設備內之網路發送端;(6)於該網路發送端接收到從該第二路由器發送之封包時,令該訊務導向設備依據所設定之連線方式將該封包導向與該訊務導向設備相連接之服務設備,以藉由該服務設備對該封包進行處理,並令該服務設備於處理完後將該封包發送至該用戶發送端;以及(7)於該用戶發送端接收到自該服務設備發送之封包時,令該用戶發送端將該封包導向該第二路由器,進而使第二路由器將封包發送至用戶端。In another embodiment of the foregoing packet guiding method, the system architecture further includes a second egress node, the second egress node having at least one second router, and the second router is connected to the traffic steering device. The packet guiding method further includes the following steps: (5) when the second egress node receives the packet sent from the network, causing the second router in the second egress node to send the packet to the traffic steering a network sending end in the device; (6) when the sending end of the network receives the packet sent from the second router, causing the traffic guiding device to direct the packet to the service according to the set connection manner And a service device connected to the device, wherein the packet is processed by the service device, and the device is sent to the user sending end after processing; and (7) receiving at the user sending end When the packet is sent by the service device, the user sends the packet to the second router, so that the second router sends the packet to the UE.

於本發明之較佳實施態樣中,該步驟(1)中所述之於該訊務導向設備中設定複數個與該訊務導向設備相連接之服務設備,係指藉由具有負載平衡及得以令雙向封包經由同一台服務設備的處理機制予以設定,例如以連線綑綁(Link aggregation group)機制或依據封包之網際協議位址尾數之分配流量的機制,對應地產生虛擬通道予以連線。In a preferred embodiment of the present invention, the plurality of service devices connected to the traffic steering device are set in the traffic steering device in the step (1), that is, by having load balancing and The two-way packet can be set through the processing mechanism of the same service device, for example, a link aggregation group mechanism or a mechanism for allocating traffic according to the IP address of the packet's internet protocol address, correspondingly generating a virtual channel to be connected.

於本發明之一實施態樣中,於該步驟(2)復包括令該第一出口節點中之第一路由器於該封包標記上識別碼之步驟,而該識別碼係用以識別出接收用戶端所發出之封包的接收端為第一路由器;而於該步驟(4)中,該網路發送端即依據該第一路由器於該封包上所標記之識別碼,將該封包導向該第一路由器。另外,亦可於該步驟(3)中令該訊務導向設備於該封包標記用以識別出接收用戶端所發出之封包的接收端為該第一路由器的識別碼之步驟;此時,該步驟(4)中之該網路發送端即依據該訊務導向設備於該封包上所標記之識別碼,將該封包導向該第一路由器。In an embodiment of the present invention, the step (2) includes the step of causing the first router in the first egress node to identify the code on the packet tag, and the identification code is used to identify the receiving user. The receiving end of the packet sent by the terminal is the first router; and in the step (4), the network sending end directs the packet to the first according to the identifier marked by the first router on the packet. router. In addition, in the step (3), the service guiding device may be configured to identify, by the packet marking device, a receiving end of the packet sent by the receiving end to be the identifier of the first router; The network sending end in the step (4) directs the packet to the first router according to the identification code marked on the packet by the traffic steering device.

其次,於本發明之一實施態樣中,於該步驟(5)復包括令該第二出口節點中之第二路由器於該封包標記用以識別出接收網路端所發出之封包的接收端為該第二路由器的識別碼之步驟;而於該步驟(7)中,該用戶發送端即依據該第二路由器於該封包上所標記之識別碼,將該封包導向該第二路由器。另外,亦可於該步驟(6)中令該訊務導向設備於該封包標記用以識別出接收網路端所發出之封包的接收端為該第二路由器的識別碼;此時,該步驟(7)中之該用戶發送端即依據該訊務導向設備於該封包上所標記之識別碼,將該封包導向該第二路由器。In an embodiment of the present invention, in the step (5), the second router in the second egress node is configured to identify the receiving end of the packet sent by the receiving network end. The step of identifying the identification code of the second router; and in the step (7), the user sending end directs the packet to the second router according to the identification code marked by the second router on the packet. In addition, in the step (6), the traffic steering device may be configured to identify, by the packet marking device, that the receiving end of the packet sent by the receiving network is the identifier of the second router; The sending end of the user in (7) directs the packet to the second router according to the identification code marked on the packet by the traffic steering device.

再者,本發明還提出另一種封包導向方法,其係應用於至少具有第一出口節點、訊務導向設備及複數個服務設備之系統架構中,而該第一出口節點係具有至少一第一路由器,且該訊務導向設備係與該第一路由器、及複數個該服務設備相連接,該封包導向方法包括以下步驟:(1)於該訊務導向設備中設定至少一組用戶發送端及網路發送端,並於該訊務導向設備中設定複數個與該訊務導向設備相連接之服務設備之連線方式;(2)於該第一出口節點接收到自網路端發出之封包時,令該第一出口節點內之第一路由器將該封包發送至該訊務導向設備內之網路發送端;(3)於該網路發送端接收到從該第一路由器發送之封包時,令該訊務導向設備依據所設定之連線方式將該封包導向與該訊務導向設備相連接之服務設備,以藉由該服務設備對該封包進行處理,並令該服務設備於處理完後將該封包發送至該用戶發送端;以及(4)於該用戶發送端接收到自該服務設備發送之封包時,令該用戶發送端將該封包導向該第一路由器,進而使該第一路由器將封包發送至用戶端。Furthermore, the present invention further provides another packet guiding method, which is applied to a system architecture having at least a first egress node, a traffic steering device, and a plurality of service devices, and the first egress node has at least one first a router, and the traffic steering device is connected to the first router and the plurality of service devices, and the packet guiding method includes the following steps: (1) setting at least one group of user sending ends in the traffic steering device and a network sending end, and setting a connection manner of a plurality of service devices connected to the traffic guiding device in the traffic guiding device; (2) receiving, at the first egress node, a packet sent from the network end And causing the first router in the first egress node to send the packet to the network sending end in the traffic steering device; (3) when the network sending end receives the packet sent from the first router And causing the traffic steering device to direct the packet to the service device connected to the traffic guiding device according to the set connection manner, to process the packet by the service device, and make the service After the processing is completed, the packet is sent to the sending end of the user; and (4) when the sending end of the user receives the packet sent by the serving device, the sending end of the user directs the packet to the first router, and further The first router sends the packet to the client.

此外,於前述封包導向方法的另一實施例中,該系統架構還包括第二出口節點,該第二出口節點係具有至少一第二路由器,且該第二路由器與該訊務導向設備係相連接,於執行該步驟(2)前還包括以下步驟:(2-1)於該第二出口節點接收到從該用戶端發出之封包時,令該第二出口節點中之第二路由器將該封包發送至該訊務導向設備內之用戶發送端;(2-2)於該用戶發送端接收到從該第二路由器發送之封包時,令該訊務導向設備依據所設定之連線方式將該封包導向與該訊務導向設備相連接之服務設備,以藉由該服務設備對該封包進行處理,並令該服務設備於處理完後將該封包發送至該網路發送端;以及(2-3)於該網路發送端接收到自該服務設備發送之封包時,令該網路發送端將該封包導向該第二路由器,進而使該第二路由器將封包發送至網路端。In addition, in another embodiment of the foregoing packet guiding method, the system architecture further includes a second egress node, the second egress node having at least one second router, and the second router is associated with the traffic steering device The connection, before performing the step (2), further includes the following steps: (2-1) when the second egress node receives the packet sent from the UE, causing the second router in the second egress node to The packet is sent to the user sending end in the traffic steering device; (2-2) when the sending end of the user receives the packet sent from the second router, the traffic guiding device is configured according to the set connection mode. The packet is directed to a service device connected to the traffic steering device to process the packet by the service device, and the device is sent to the network sending end after processing; and (2) -3) When the network sender receives the packet sent by the service device, the network sender directs the packet to the second router, so that the second router sends the packet to the network.

綜上所述,本發明之封包導向方法係令第一路由器、第二路由器、或訊務導向設備對封包施予標記,使封包得以藉由該標記經由相同的路由器來進出訊務導向設備,避免封包由不同的路由器進出訊務導向設備而使封包無法正常的進行傳遞。再者,本發明藉由於訊務導向設備中設定用戶發送端、網路發送端,和設定與訊務導向設備相連接之服務設備,令需要看到同一使用者之雙向封包始可進行處理之服務設備得以正常地發揮效益,更可於提昇服務設備的效益之同時一併達到負載平衡的效果。In summary, the packet guiding method of the present invention causes the first router, the second router, or the traffic steering device to mark the packet, so that the packet can enter and exit the traffic steering device via the same router through the tag. Avoid packets from different routers entering and leaving the traffic steering device so that the packets cannot be delivered normally. Furthermore, the present invention provides a user equipment connection, a network transmission end, and a service device connected to the traffic steering device in the traffic steering device, so that the two-way packet of the same user needs to be processed. The service equipment can be effectively utilized, and the load balancing effect can be achieved while improving the efficiency of the service equipment.

以下係藉由預定的具體實例說明本發明之技術內容,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點與功效。The technical contents of the present invention are described below by way of specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the disclosure of the present specification.

請先參閱第1A圖,係繪示實施本發明之封包導向方法所需的系統架構示意圖。如圖所示,實施本發明之封包導向方法所需之系統架構係具有用戶端1、網路端2、第一出口節點3、第二出口節點4、訊務導向設備5、及服務設備6、7、8、9、10。其中,第一出口節點3及第二出口節點4係連結至用戶端1及網路端2;第一出口節點3內之第一路由器30及第二出口節點4內之第二路由器40,係透過實體電路(例如由單一或複數條光纖線所組成的實體電路)連接至訊務導向設備5;而服務設備6、7、8、9、10係同時與訊務導向設備5相連接。於本實施例中,用戶端1可為個人電腦或網際網路供應商之骨幹網路(ISP backbone),而網路端2亦可用以代表網際網路供應商之骨幹網路或網際網路(Internet),但不以此為限,換言之,該用戶端1係指接近提出網路服務需求的一端,相較下,該網路端2係指接近可提供網路服務的一端。Please refer to FIG. 1A for a schematic diagram of the system architecture required for implementing the packet guiding method of the present invention. As shown in the figure, the system architecture required for implementing the packet guiding method of the present invention has a client terminal 1, a network terminal 2, a first exit node 3, a second exit node 4, a traffic steering device 5, and a service device 6. 7, 8, 9, 10. The first egress node 3 and the second egress node 4 are connected to the UE 1 and the network 2; the first router 30 in the first egress node 3 and the second router 40 in the second egress node 4 are The physical communication circuit (for example, a physical circuit composed of a single or a plurality of optical fiber lines) is connected to the traffic steering device 5; and the service devices 6, 7, 8, 9, 10 are simultaneously connected to the traffic steering device 5. In this embodiment, the client 1 can be a backbone network (ISP backbone) of a personal computer or an Internet provider, and the network 2 can also be used to represent an Internet provider's backbone network or the Internet. (Internet), but not limited to this. In other words, the client 1 refers to the end that is close to the demand for the network service. In contrast, the network 2 refers to the end that is close to the network service.

因此,由用戶端1或網路端2所發出之封包,即可依據路由協定結果由第一出口節點3或第二出口節點4進出系統,並透過第一路由器30或第二路由器40轉送至訊務導向設備5中,且利用於服務設備6、7、8、9、10其中之一者對封包進行必要的處理程序,例如對封包進行病毒偵測等,亦即因應該服務設備6、7、8、9、10所提供的服務而定,舉例而言,前述之服務設備6、7、8、9、10係可為防火牆設備(Firewall)、快速緩衝儲存區設備(Cache)、深層封包偵測設備(Deep Packet Inspection)、入侵防護系統(Intrusion prevention system,IPS)、入侵偵測系統(Intrusion detection system,IDS)等需要處理單一使用者之雙向封包的網路設備;而當處理程序完成後,封包隨即會發送至對應的網路端2或用戶端1。而在此需先提出說明的是,實際實施本發明之封包導向方法之系統架構所包括之出口節點的數量,係可遠大於本實施例所示之數量,且出口節點中亦可具有複數個路由器,並不以本實施例中所示之數量為限。Therefore, the packet sent by the UE 1 or the network 2 can be accessed by the first egress node 3 or the second egress node 4 according to the routing protocol result, and transmitted to the system through the first router 30 or the second router 40. In the traffic steering device 5, and one of the service devices 6, 7, 8, 9, 10 performs necessary processing procedures on the packet, for example, performing virus detection on the packet, that is, in response to the service device 6, 7, 8, 9, 10 depending on the services provided, for example, the aforementioned service devices 6, 7, 8, 9, 10 can be firewall devices (Firewall), fast buffer storage device (Cache), deep a packet detection device (Deep Packet Inspection), an intrusion prevention system (IPS), an intrusion detection system (IDS), and the like, which are required to process a single user's two-way packet network device; Upon completion, the packet will be sent to the corresponding network 2 or client 1. It should be noted that the number of egress nodes included in the system architecture for implementing the packet-oriented method of the present invention may be much larger than the number shown in this embodiment, and the egress node may also have a plurality of The router is not limited to the number shown in this embodiment.

首先,使用者係於訊務導向設備5中設定至少一組例如為虛擬區域網路(Virtual local area network)介面之用戶發送端50及網路發送端51,接著,並於訊務導向設備5中設定複數個與訊務導向設備5相連接之服務設備6、7、8、9、10之連線方式,例如,以具有負載平衡及得以令雙向封包經由同一台服務設備的處理機制,如連線綑綁(Link aggregation group)機制或依據封包之網際協議位址尾數之分配流量的機制,於訊務導向設備5中設定服務設備6、7、8、9、10,並對應地產生虛擬通道11予以連線,亦使服務設備6、7、8、9、10於後續之處理程序中所處理之封包數量趨於平均,進而達到負載平衡之連線方式。值得一提的是,依此設定方式,使用者可彈性地自行擴充更多服務設備於虛擬通道11中,當然,也可藉由增加多組的虛擬通道11來增加更多的服務設備6、7、8、9、10,如第1B圖所示,用戶發送端50及網路發送端51可同時連結有虛擬通道11、11’、及11”,而虛擬通道11’及11”中,分別具有服務設備6’、7’、8’、9’、10’及6”、7”、8”、9”、10”。當然,虛擬通道11’及11”中所包含的服務設備之數量,係可根據設備廠商的規劃設定例如為8至16台,並不以本圖式中所示之5個服務設備為限。另外,亦可根據預定提供的服務的性質,增設多組用戶發送端50及網路發送端51於訊務導向設備5中。First, the user sets at least one set of user sending end 50 and network sending end 51, for example, a virtual local area network interface, in the traffic steering device 5, and then to the traffic steering device 5 Setting a plurality of connection manners of the service devices 6, 7, 8, 9, and 10 connected to the traffic steering device 5, for example, a processing mechanism having load balancing and enabling the two-way packet to pass through the same service device, such as The link aggregation group mechanism or the mechanism for allocating traffic according to the net number of the internet protocol address of the packet, the service device 6, 7, 8, 9, 10 is set in the traffic steering device 5, and the virtual channel is correspondingly generated. 11 is connected, and the number of packets processed by the service equipment 6, 7, 8, 9, 10 in the subsequent processing procedures tends to be averaged, thereby achieving a load balancing connection. It is worth mentioning that, according to the setting manner, the user can flexibly expand more service devices in the virtual channel 11 by themselves, and of course, by adding a plurality of sets of virtual channels 11 to add more service devices. 7, 8, 9, 10, as shown in FIG. 1B, the user transmitting end 50 and the network transmitting end 51 can be simultaneously connected with virtual channels 11, 11', and 11", and in the virtual channels 11' and 11", There are service devices 6', 7', 8', 9', 10' and 6", 7", 8", 9", 10" respectively. Of course, the service devices included in the virtual channels 11' and 11" The quantity can be set, for example, from 8 to 16 according to the equipment manufacturer's plan, and is not limited to the five service devices shown in this figure. In addition, a plurality of sets of user senders 50 and network senders 51 may be added to the traffic steering device 5 according to the nature of the services provided.

於本實施例中,該訊務導向設備5係可為具有處理網路七層架構(Open System Interconnection Reference Model;OSI)之layer 3之功能的交換器,亦可為可於其內規劃出多個虛擬路由器(virtual router)之路由器。另外,在於訊務導向設備5中建置用戶發送端50及網路發送端51,並設定服務設備6、7、8、9、10的同時,係一併設定用戶發送端50及網路發送端51之網際協議(Internet Protocol)位址。而於另一實施例中,亦可同時建立複數組用戶發送端及網路發送端,進而以不同組之用戶發送端及網路發送端搭配不同的處理需求。In this embodiment, the traffic steering device 5 can be a switch having the function of processing layer 3 of the Open System Interconnection Reference Model (OSI), or can be planned in the network. A router for a virtual router. In addition, in the traffic steering device 5, the user transmitting terminal 50 and the network transmitting terminal 51 are built, and the service devices 6, 7, 8, 9, and 10 are set, and the user transmitting terminal 50 and the network sending are set together. End 51 Internet Protocol address. In another embodiment, the complex array user sender and the network sender may be simultaneously established, and the different groups of user senders and network senders are matched with different processing requirements.

接著,請參閱第2圖,係以一處理流程清楚說明本發明之封包導向方法中用戶端1發送封包至網路端2的處理流程圖。於本處理流程中,封包由用戶端1發出後,係依據路由協定結果發送至第一出口節點3。Next, please refer to FIG. 2, which is a flow chart for clearly processing the packet sent by the UE 1 to the network 2 in the packet guiding method of the present invention. In the process flow, after the packet is sent by the client 1, the packet is sent to the first egress node 3 according to the routing protocol result.

首先,如圖中之導向箭頭A所示,係繪示封包依據路由協定結果由用戶端1發送至第一出口節點3上之流程導向。而當第一出口節點3接收到從用戶端1發出之封包時,第一出口節點3中之第一路由器30,係可篩選出需要進行特定服務之封包,並將其導向用戶發送端50,如導向箭頭B所示。First, as shown by the guiding arrow A in the figure, the flow direction of the packet sent by the client 1 to the first egress node 3 according to the routing agreement result is shown. When the first egress node 3 receives the packet sent from the user terminal 1, the first router 30 in the first egress node 3 can filter out the packet that needs to be used for the specific service, and directs it to the user sending end 50. As indicated by the guide arrow B.

需說明的是,若訊務導向設備5內同時規劃有多組類型不同的用戶發送端50及網路發送端51,則可於連結第一路由器30及訊務導向設備5之實體電路內設定出多個分別與多組的用戶發送端50及網路發送端51相應的邏輯電路,因此,第一路由器30可依據用戶發送端50及網路發送端51之類型,使用對應的邏輯電路,以供接收該封包的接收端識別出該封包是屬於實體電路中的哪一個邏輯電路,以進入所屬的服務類型。It should be noted that if there are multiple sets of different types of user sending end 50 and network sending end 51 in the traffic steering device 5, the physical circuit connecting the first router 30 and the traffic steering device 5 can be set. A plurality of logic circuits respectively corresponding to the plurality of sets of the user sending end 50 and the network sending end 51 are used. Therefore, the first router 30 can use the corresponding logic circuit according to the types of the user sending end 50 and the network sending end 51. The receiving end for receiving the packet identifies which logic circuit in the physical circuit the packet belongs to to enter the associated service type.

而於第2圖中之導向箭頭B中,第一出口節點3中之第一路由器30,會將封包發送至訊務導向設備5內之用戶發送端50上。於第一路由器30導出封包的瞬間,第一路由器30係可於封包標記用以識別出接收用戶端1所發出之封包的接收端為第一路由器30之識別碼,而該識別碼是用以識別封包後續的接收處,於本實施例是指第一路由器30。In the navigation arrow B in FIG. 2, the first router 30 in the first egress node 3 sends the packet to the user transmitter 50 in the traffic steering device 5. At the instant when the first router 30 derives the packet, the first router 30 can identify the identifier of the packet sent by the receiving client 1 as the identifier of the first router 30, and the identifier is used to identify the identifier of the first router 30. The receiving location subsequent to the packet is referred to as the first router 30 in this embodiment.

於本實施例中,導向箭頭B所示之將封包發送至訊務導向設備5內之用戶發送端50之流程導向,係指令第一路由器30藉由策略性路由(Policy-based routing)技術並透過連結第一路由器30及訊務導向設備5之實體電路將該封包發送至該訊務導向設備5的用戶發送端50上。舉例而言,可藉由策略性路由技術於連結第一路由器30及訊務導向設備5之實體電路中規劃出與用戶發送端50及網路發送端51相應的一邏輯電路(虛擬區域網路幹線,Vlan trunk),或者藉由多協議標籤交換(Multiprotocol Label Switching,MPLS)技術,以將封包藉由該實體電路發送至訊務導向設備5的用戶發送端50。In this embodiment, the process of directing the packet to the user sending end 50 in the traffic steering device 5 as indicated by the arrow B indicates that the first router 30 is configured by policy-based routing technology. The packet is sent to the user transmitting end 50 of the traffic steering device 5 through a physical circuit that connects the first router 30 and the traffic steering device 5. For example, a logic circuit (virtual area network) corresponding to the user sending end 50 and the network sending end 51 can be planned in the physical circuit connecting the first router 30 and the traffic steering device 5 by using a strategic routing technology. The trunk (Vlan trunk), or by Multiprotocol Label Switching (MPLS) technology, sends the packet to the user transmitting end 50 of the traffic steering device 5 by the physical circuit.

值得一提的是,當封包沿著導向箭頭B到達訊務導向設備5時,訊務導向設備5亦可於封包上標記用以識別出接收用戶端所發出之封包的接收端為該第一路由器的識別碼,惟,實際實施時為了簡化訊務傳遞處理流程,於封包上標記用以供封包傳送端識別出發出該封包的發出端的標記執行者,可選擇性地利用第一路由器30或訊務導向設備5之一者予以標記。It is worth mentioning that when the packet arrives at the traffic steering device 5 along the guiding arrow B, the traffic steering device 5 can also mark the receiving end of the packet for identifying the packet sent by the receiving client as the first The identification code of the router, but in actual implementation, in order to simplify the traffic delivery processing flow, the tag executor marked on the packet for the packet transmitting end to identify the originating end of the packet may selectively utilize the first router 30 or One of the traffic steering devices 5 is marked.

再者,如第2圖中之導向箭頭D所繪示,於用戶發送端50接收到從第一路由器30沿著導向箭頭B之流程導向發送而來之封包時,訊務導向設備5之用戶發送端50會將該封包依據先前設定之連線方式透過虛擬通道11將封包導向與訊務導向設備5相連結之服務設備,以藉由該服務設備對該封包進行相關的處理。Moreover, as shown by the guiding arrow D in FIG. 2, when the user transmitting end 50 receives the packet sent from the first router 30 along the direction of the guiding arrow B, the user of the traffic steering device 5 The sending end 50 directs the packet to the service device connected to the traffic guiding device 5 through the virtual channel 11 according to the previously set connection mode, so as to perform related processing on the packet by the service device.

舉例而言,若服務設備8已於先前之設定方式中,藉由連線綑綁(Link aggregation group)機制設定為用來處理封包之網際協議位址之雜湊(Hash)值為3的服務設備,且沿著前述導向箭頭B之流程導向發送而來之封包,恰巧為網際協議位址之雜湊值為3的封包時,訊務導向設備5之用戶發送端50即會將封包導入服務設備8,令服務設備8得以對封包進行相應之處理。For example, if the service device 8 is in the previous setting mode, the link aggregation group mechanism is set as the service device with a hash value of 3 for processing the internet protocol address of the packet. And along the foregoing process of guiding the arrow B, the packet sent by the packet, which happens to be a packet with the hash value of 3 of the Internet Protocol Address, is sent to the service device 8 by the user sending end 50 of the traffic steering device 5. The service device 8 is enabled to process the packet accordingly.

另外,訊務導向設備5中的用戶發送端50及網路發送端51,可選擇性地利用雜湊函數法及/或以封包之網際協議(IP)位址之尾數進行分配的方式,彈性地擴充服務設備,如第1B圖所示。In addition, the user sending end 50 and the network sending end 51 in the traffic steering device 5 can be selectively flexibly utilized by the hash function method and/or by the tail number of the Internet Protocol (IP) address of the packet. Expand the service device as shown in Figure 1B.

因此,當服務設備8對封包完成必要的處理程序後,即會再將封包發送至網路發送端51。如第2圖中之導向箭頭E所繪示。Therefore, when the service device 8 completes the necessary processing procedures for the packet, the packet is sent to the network transmitting terminal 51 again. As indicated by the guide arrow E in Fig. 2.

爾後,於網路發送端51接收到自服務設備8沿著導向箭頭E所發送來之封包時,網路發送端51判斷出所接收到的封包標記有識別碼X時,即可得知該封包的接收端應為第一路由器30,故將該封包導向第一路由器30,如第2圖中之導向箭頭F所示。Then, when the network sending end 51 receives the packet sent from the service device 8 along the guiding arrow E, the network transmitting end 51 determines that the received packet is marked with the identification code X, and then the packet is known. The receiving end should be the first router 30, so the packet is directed to the first router 30, as indicated by the leading arrow F in FIG.

最後,當第一路由器30接收到由網路發送端51所發送來之封包時,隨即會再透過第一路由器30將封包發送至網路端2上,如第2圖中之導向箭頭G所示。Finally, when the first router 30 receives the packet sent by the network sending end 51, the packet is then sent to the network terminal 2 through the first router 30, as shown by the guiding arrow G in FIG. Show.

據此,當網路發送端51收到封包時,即可依據所標記之識別碼將封包導向第一路由器30。換言之,封包即可藉由相同的路由器來進出訊務導向設備5,即便系統中設置有數量龐大的出口節點,封包亦可經由相同的出口節點來進出訊務導向設備5。Accordingly, when the network sending end 51 receives the packet, the packet can be directed to the first router 30 according to the marked identification code. In other words, the packet can enter and exit the traffic steering device 5 by the same router. Even if a large number of egress nodes are installed in the system, the packet can enter and exit the traffic steering device 5 via the same egress node.

在此需特別說明的是,封包於用戶端1發出後,依據路由協定結果亦可發送至第二出口節點4,接著再以與上述實施例相同之導向方法,依序經過第二路由器40、用戶發送端50、服務設備6、7、8、9、10之一者、網路發送端51,進而回到第二出口節點4,最後再發送至網路端2。It should be noted that the packet is sent to the second egress node 4 according to the routing protocol result after being sent by the user terminal 1, and then sequentially passed through the second router 40 in the same guiding method as the above embodiment. The user sending end 50, one of the service devices 6, 7, 8, 9, 10, the network sending end 51, and then back to the second egress node 4, and finally to the network end 2.

另外,由於第一路由器30與訊務導向設備5間係藉由單一條或複數條的實體電路予以連結,因此,即便該實體電路不甚發生斷裂或損毀,第一路由器30亦可將封包直接導向用戶端1或網路端2,於此情形下,服務設備6、7、8、9、10雖無法正常發揮效益,但第一路由器30卻仍能提供使用者基本的連線功能,亦即可連上網際網路,避免發生使用者無法連線的嚴重情形。In addition, since the first router 30 and the traffic steering device 5 are connected by a single circuit or a plurality of physical circuits, the first router 30 can directly block the packet even if the physical circuit is not broken or damaged. Oriented to the client 1 or the network 2, in this case, the service device 6, 7, 8, 9, 10 can not effectively play the benefits, but the first router 30 can still provide the user's basic connection function, You can connect to the Internet to avoid serious situations where users cannot connect.

接著,請再參閱第3圖,其用以說明本發明之封包導向方法中網路端2發送封包至用戶端1的處理流程示意圖。由圖中所示之各導向箭頭可知,封包由網路端2發出後,係依據路由協定結果先通過第二出口節點4與第二路由器40,接著進入訊務導向設備5,及服務設備6、7、8、9、10之一者後,進而到達用戶端1。Next, please refer to FIG. 3, which is a schematic diagram of a process flow in which the network terminal 2 sends a packet to the client 1 in the packet guiding method of the present invention. It can be seen from the navigation arrows shown in the figure that after the packet is sent by the network terminal 2, the second exit node 4 and the second router 40 are first passed according to the routing agreement result, and then enter the traffic steering device 5, and the service device 6 After one of 7, 8, 9, and 10, the user terminal 1 is reached.

如第3圖中之導向箭頭a所繪示,係說明封包依據路由協定結果由網路端2發送至第二出口節點4上。而當第二出口節點4接收到從網路端2發出之封包時,第二出口節點4中之第二路由器40,係可於封包標記用以識別出接收網路端所發出之封包的接收端為第二路由器40的識別碼,於本實施例是指第二路由器40。As indicated by the guiding arrow a in FIG. 3, it is indicated that the packet is sent by the network terminal 2 to the second egress node 4 according to the routing protocol result. When the second egress node 4 receives the packet sent from the network terminal 2, the second router 40 of the second egress node 4 can use the packet tag to identify the receipt of the packet sent by the receiving network. The identifier of the second router 40 is referred to as the second router 40 in this embodiment.

爾後,如第3圖中之導向箭頭b所示,第二出口節點4中之第二路由器40,會將第二出口節點4所接收到之封包發送至訊務導向設備5內之網路發送端51。於本實施例中,導向箭頭b所示之將封包發送至訊務導向設備5內之網路發送端51上之流程導向,係指令第二路由器40藉由策略性路由技術並透過連結第二路由器40及訊務導向設備5之實體電路將該封包發送至訊務導向設備5內之網路發送端51。Then, as indicated by the guiding arrow b in FIG. 3, the second router 40 in the second egress node 4 sends the packet received by the second egress node 4 to the network in the traffic steering device 5. End 51. In this embodiment, the flow direction indicated by the arrow b to send the packet to the network sending end 51 in the traffic steering device 5 is to instruct the second router 40 to use the strategic routing technology and connect the second The physical circuit of the router 40 and the traffic steering device 5 sends the packet to the network transmitting end 51 in the traffic steering device 5.

再者,如第3圖中之導向箭頭d所示,於網路發送端51接收到從第二路由器40沿著前述導向箭頭b之方向發送而來之封包時,網路發送端51會將該封包依據先前設定之連線方式透過虛擬通道11導向與訊務導向設備5相連結之服務設備,藉此對該封包進行相關的處理。須注意的是,因本步驟中所設定之連線方式係與前述第2圖中設定之連線方式相同,所以本步驟中所選擇之網路系統亦係與第2圖中所述之服務設備相同。因此,若封包由用戶端1發送至網路端2的程序中係藉由服務設備8予以處理,則此步驟中所選擇之服務設備亦為服務設備8。據此,於相同之用戶端1及網路端2間往返之封包,係可由相同的服務設備予以處理,避免單一使用者之雙向封包無法通過相同的服務設備,故使服務設備6、7、8、9、10得以發揮正常的處理效益,且更可令服務設備6、7、8、9、10達到負載平衡。Furthermore, as indicated by the leading arrow d in FIG. 3, when the network transmitting end 51 receives the packet transmitted from the second router 40 in the direction of the leading arrow b, the network transmitting end 51 will The packet is directed to the service device connected to the traffic steering device 5 through the virtual channel 11 according to the previously set connection mode, thereby performing related processing on the packet. It should be noted that since the connection method set in this step is the same as the connection method set in the above FIG. 2, the network system selected in this step is also the service described in FIG. The equipment is the same. Therefore, if the packet is sent to the network 2 by the client 1 and processed by the service device 8, the service device selected in this step is also the service device 8. Accordingly, the packets that are shuttled between the same client 1 and the network 2 can be processed by the same service device, so that the two-way packet of the single user cannot pass the same service device, so that the service device 6, 7, 8, 9, 10 can achieve normal processing benefits, and can even achieve load balancing of service equipment 6, 7, 8, 9, 10.

值得一提的是,於前述導向箭頭b中,當訊務導向設備5接收到沿著導向箭頭b所發送來之封包時,亦可於封包標記識別碼,而該識別碼乃用以識別出接收網路端所發出之封包的接收端,就上述實施例而言,即為第二路由器40。當然,標記之處理亦可選擇性地由第二路由器40或訊務導向設備5之一者為之,以簡化處理流程。It is worth mentioning that, in the foregoing guiding arrow b, when the traffic guiding device 5 receives the packet sent along the guiding arrow b, the identification code may also be marked in the packet, and the identification code is used to identify The receiving end of the packet sent by the receiving network is the second router 40 in the above embodiment. Of course, the processing of the tag can also be selectively performed by one of the second router 40 or the traffic steering device 5 to simplify the processing flow.

再者,如第3圖中之導向箭頭e所示,於服務設備完成處理程序後,服務設備接著會將封包發送至用戶發送端50。以服務設備8為例,處理完之封包隨即會被服務設備8發送至用戶發送端50。因此,當用戶發送端50接收到自服務設備8所發送之封包時,用戶發送端50會依據第二路由器40或訊務導向設備5於封包上所作標記之識別碼,將該封包導向對應之路由器,亦即導向第二路由器40,如第3圖中之導向箭頭f所示。最後,當第二路由器40接收到由用戶發送端50所發送來之封包時,隨即會將封包發送至用戶端1上,如第3圖中之導向箭頭g所示。Furthermore, as indicated by the leading arrow e in FIG. 3, after the service device completes the processing procedure, the service device then sends the packet to the user transmitting end 50. Taking the service device 8 as an example, the processed packet is then sent by the service device 8 to the user sender 50. Therefore, when the user sending end 50 receives the packet sent by the service device 8, the user sending end 50 directs the packet to the corresponding identifier according to the identifier of the tag marked by the second router 40 or the traffic guiding device 5 on the packet. The router, that is, the second router 40, is shown as a guide arrow f in FIG. Finally, when the second router 40 receives the packet sent by the user sender 50, the packet is then sent to the client 1, as indicated by the leading arrow g in FIG.

與前述實施例相同,封包於網路端2發出後,依據路由協定結果亦可發送至第一出口節點3,接著再以如同上述實施例之導向方法,依序經過第一路由器30、網路發送端51、服務設備6、7、8、9、10之一者、用戶發送端50,進而回到第一出口節點3,最後再發送至用戶端1。The packet is sent to the first egress node 3 according to the routing protocol result, and then passes through the first router 30 and the network in the same manner as the above-mentioned embodiment. The sender 51, one of the service devices 6, 7, 8, 9, 10, the user sender 50, and then back to the first exit node 3, and finally to the client 1.

綜上所述,應用本發明之封包導向方法,單一使用者之雙向封包可於用戶端及網路端間往返時藉由相同的路由器來進出訊務導向設備,避免由用戶端發出之封包由不同的路由器來進出訊務導向設備,進而避免發生封包無法正常傳遞之情形。另外,單一使用者之封包由用戶端發送至網路端所通過之服務設備,係與由網路端發送至用戶端時所通過之服務設備相同,因此,即可藉由相同的服務設備來處理單一使用者之雙向封包,更可維持服務設備的整體效益,亦更令服務設備達到負載平衡,更進一步地,還可供設計者依據需求擴充服務設備的數量。In summary, by applying the packet-oriented method of the present invention, a two-way packet of a single user can enter and exit the traffic steering device through the same router when the user and the network go back and forth, so as to avoid the packet sent by the user terminal. Different routers come in and out of the traffic steering device to avoid the situation that the packet cannot be delivered normally. In addition, the service device that the single user packet is sent by the user end to the network end is the same as the service device that is sent by the network end to the user end, so that the same service device can be used. Handling the two-way packet of a single user can also maintain the overall efficiency of the service device, and also make the service device load-balanced. Further, the designer can expand the number of service devices according to the demand.

惟,上述實施例僅例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修飾與改變。因此,本發明之權利保護範圍,應如後述之申請專利範圍所列。However, the above-described embodiments are merely illustrative of the principles of the invention and its effects, and are not intended to limit the invention. Modifications and variations of the above-described embodiments can be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as set forth in the scope of the claims described below.

1...用戶端1. . . user terminal

11、11’、11”...虛擬通道11, 11', 11"... virtual channel

2...網路端2. . . Network side

20、21、22...出口節點20, 21, 22. . . Exit node

3...第一出口節點3. . . First exit node

30...第一路由器30. . . First router

4...第二出口節點4. . . Second exit node

40...第二路由器40. . . Second router

5...訊務導向設備5. . . Traffic steering device

50...用戶發送端50. . . User sender

51...網路發送端51. . . Network sender

6、7、8、9、10...服務設備6, 7, 8, 9, 10. . . Service equipment

6’、7’、8’、9’、10’...服務設備6', 7', 8', 9', 10'. . . Service equipment

6”、7”、8”、9”、10”...服務設備6”, 7”, 8”, 9”, 10”... service equipment

A、B、D、E、F、G...導向箭頭A, B, D, E, F, G. . . Guide arrow

a、b、d、e、f、g...導向箭頭a, b, d, e, f, g. . . Guide arrow

L1、L2、Ln...路徑L1, L2, Ln. . . path

第1A圖係為實施本發明之封包導向方法所需的基本系統架構圖;Figure 1A is a diagram of the basic system architecture required to implement the packet guiding method of the present invention;

第1B圖係為實施本發明之封包導向方法的另一基本系統架構圖;1B is another basic system architecture diagram for implementing the packet guiding method of the present invention;

第2圖係為本發明之封包導向方法中用戶端發送封包至網路端的處理流程圖;2 is a flow chart of processing of sending a packet to a network end by a UE in the packet guiding method of the present invention;

第3圖係為本發明之封包導向方法中網路端發送封包至用戶端的處理流程圖;FIG. 3 is a flowchart of a process of sending a packet to a client end by a network end in the packet guiding method of the present invention;

第4A圖係為傳統雙向封包傳遞系統之一基本架構圖;Figure 4A is a basic architecture diagram of a conventional two-way packet delivery system;

第4B圖係為傳統雙向封包傳遞系統之另一基本架構圖;以及Figure 4B is another basic architectural diagram of a conventional two-way packet delivery system;

第4C圖係為傳統雙向封包傳遞系統之又一基本架構圖。Figure 4C is another basic architectural diagram of a conventional two-way packet delivery system.

1...用戶端1. . . user terminal

11...虛擬通道11. . . Virtual channel

2...網路端2. . . Network side

3...第一出口節點3. . . First exit node

30...第一路由器30. . . First router

4...第二出口節點4. . . Second exit node

40...第二路由器40. . . Second router

5...訊務導向設備5. . . Traffic steering device

50...用戶發送端50. . . User sender

51...網路發送端51. . . Network sender

6、7、8、9、10...服務設備6, 7, 8, 9, 10. . . Service equipment

Claims (20)

一種封包導向方法,係應用於至少具有第一出口節點、訊務導向設備及複數個服務設備之系統架構中,該第一出口節點係具有至少一第一路由器,且該訊務導向設備係與該第一路由器、及複數個該服務設備相連接,該封包導向方法包括以下步驟:(1)於該訊務導向設備中設定至少一組用戶發送端及網路發送端,並於該訊務導向設備中設定複數個與該訊務導向設備相連接之服務設備之連線方式;(2)於該第一出口節點接收到從用戶端發出之封包時,令該第一出口節點中之第一路由器將該封包發送至該訊務導向設備內之用戶發送端;(3)於該用戶發送端接收到從該第一路由器發送之封包時,令該訊務導向設備依據所設定之連線方式將該封包導向與該訊務導向設備相連接之服務設備,以藉由該服務設備對該封包進行處理,並令該服務設備於處理完後將該封包發送至該網路發送端;以及(4)於該網路發送端接收到自該服務設備發送之封包時,令該網路發送端將該封包導向該第一路由器,進而使該第一路由器將該封包發送至網路端。A packet-oriented method is applied to a system architecture having at least a first egress node, a traffic steering device, and a plurality of service devices, where the first egress node has at least one first router, and the traffic steering device is The first router and the plurality of service devices are connected, and the packet guiding method includes the following steps: (1) setting at least one set of user sending end and network sending end in the traffic guiding device, and in the service The guiding device sets a plurality of connection manners of the service devices connected to the traffic guiding device; (2) when the first egress node receives the packet sent from the user end, the first one of the first egress nodes is a router sends the packet to the user sending end in the traffic steering device; (3) when the user sending end receives the packet sent from the first router, the traffic guiding device is configured according to the set connection Transmitting the packet to the service device connected to the traffic steering device, by using the service device to process the packet, and causing the service device to send the packet after processing And (4) when the network sender receives the packet sent by the service device, causing the network sender to direct the packet to the first router, so that the first router will The packet is sent to the network. 如申請專利範圍第1項之封包導向方法,其中,該系統架構還包括第二出口節點,該第二出口節點係具有至少一第二路由器,且該第二路由器與該訊務導向設備係相連接,該封包導向方法還包括以下步驟:(5)於該第二出口節點接收到自該網路端發出之封包時,令該第二出口節點內之第二路由器將該封包發送至該訊務導向設備內之網路發送端;(6)於該網路發送端接收到從該第二路由器發送之封包時,令該訊務導向設備依據所設定之連線方式將該封包導向與該訊務導向設備相連接之服務設備,以藉由該服務設備對該封包進行處理,並令該服務設備於處理完後將該封包發送至該用戶發送端;以及(7)於該用戶發送端接收到自該服務設備發送之封包時,令該用戶發送端將該封包導向該第二路由器,進而使該第二路由器將該封包發送至該用戶端。The packet-oriented method of claim 1, wherein the system architecture further includes a second egress node, the second egress node having at least one second router, and the second router is associated with the traffic steering device The packet guiding method further includes the following steps: (5) when the second egress node receives the packet sent from the network, causing the second router in the second egress node to send the packet to the message (6) when the network sending end receives the packet sent from the second router, the traffic guiding device directs the packet to the network according to the set connection mode. a service device connected to the traffic steering device to process the packet by the service device, and to enable the service device to send the packet to the user sending end after processing; and (7) to the user sending end Upon receiving the packet sent by the service device, the user sends the packet to the second router, so that the second router sends the packet to the UE. 如申請專利範圍第1項之封包導向方法,其中,該步驟(1)中所述之於該訊務導向設備中設定複數個與該訊務導向設備相連接之服務設備之連線方式,係指藉由具有負載平衡及得以令雙向封包經由同一台服務設備的處理機制,對應地產生虛擬通道予以連線。For example, in the packet-oriented method of claim 1, wherein the method for setting a plurality of service devices connected to the traffic steering device in the traffic steering device is described in the step (1). Referring to the processing mechanism with load balancing and enabling the two-way packet to pass through the same service device, a virtual channel is correspondingly connected to be connected. 如申請專利範圍第1項之封包導向方法,其中,於該步驟(2)之前,復包括令該第一路由器藉由實體電路連接至該訊務導向設備之步驟;而該步驟(2)中之第一路由器,係藉由策略性路由(Policy-based routing)技術並透過連結該第一路由器及該訊務導向設備之實體電路將該封包發送至該訊務導向設備,進而將該封包發送至該用戶發送端。The packet-oriented method of claim 1, wherein before the step (2), the step of connecting the first router to the traffic steering device by a physical circuit is included; and in the step (2) The first router sends the packet to the traffic steering device through a policy-based routing technology and through a physical circuit connecting the first router and the traffic steering device, and then sends the packet To the user's sender. 如申請專利範圍第2項之封包導向方法,其中,於該步驟(4)之後,復包括令該第二出口節點藉由實體電路連接至該訊務導向設備之步驟;而該步驟(5)中之第二路由器,係藉由策略性路由技術並透過連結該第二路由器及該訊務導向設備之實體電路將該封包發送至該訊務導向設備,進而將該封包發送至該網路發送端。The packet-oriented method of claim 2, wherein after the step (4), the step of connecting the second egress node to the traffic steering device by a physical circuit is included; and the step (5) The second router transmits the packet to the traffic steering device through a strategic routing technology and through a physical circuit connecting the second router and the traffic steering device, and then sends the packet to the network to send end. 如申請專利範圍第1或2項之封包導向方法,其中,於該步驟(2)中復包括令該第一出口節點中之第一路由器於該封包標記用以識別出接收用戶端所發出之封包的接收端為該第一路由器的識別碼之步驟;而於該步驟(4)中,該網路發送端即依據該第一路由器於該封包上所標記之識別碼,將該封包導向該第一路由器。The packet-oriented method of claim 1 or 2, wherein the step (2) includes: causing the first router in the first egress node to identify the receiving end by the receiving end The receiving end of the packet is a step of identifying the identifier of the first router; and in the step (4), the network sending end directs the packet to the identifier according to the identifier marked by the first router on the packet The first router. 如申請專利範圍第1或2項之封包導向方法,其中,於該步驟(3)中復包括令該訊務導向設備於該封包標記用以識別出接收用戶端所發出之封包的接收端為該第一路由器的識別碼之步驟;而於該步驟(4)中,該網路發送端即依據該訊務導向設備於該封包上所標記之識別碼,將該封包導向該第一路由器。The packet-oriented method of claim 1 or 2, wherein the step (3) includes: causing the traffic steering device to identify the receiving end of the packet sent by the receiving client by the packet guiding device The step of identifying the identifier of the first router; and in the step (4), the network sending end directs the packet to the first router according to the identifier marked by the traffic steering device on the packet. 如申請專利範圍第2項之封包導向方法,其中,於該步驟(5)中復包括令該第二出口節點中之第二路由器於該封包標記用以識別出接收網路端所發出之封包的接收端為該第二路由器的識別碼之步驟;而於該步驟(7)中,該用戶發送端即依據該第二路由器於該封包上所標記之識別碼,將該封包導向該第二路由器。The packet-oriented method of claim 2, wherein the step (5) includes: causing the second router in the second egress node to identify the packet sent by the receiving network The receiving end is a step of the identification code of the second router; and in the step (7), the user sending end directs the packet to the second according to the identifier marked by the second router on the packet router. 如申請專利範圍第2項之封包導向方法,其中,於該步驟(6)中復包括令該訊務導向裝置於該封包標記用以識別出接收網路端所發出之封包的接收端為該第二路由器的識別碼;而於該步驟(7)中,該用戶發送端即依據該網路發送端於該封包上所標記之識別碼,將該封包導向該第二路由器。The packet-oriented method of claim 2, wherein the step (6) includes: receiving, by the traffic steering device, the packet marking identifier for identifying a receiving end of the packet sent by the receiving network The identification code of the second router; and in the step (7), the user sending end directs the packet to the second router according to the identification code marked on the packet by the network sending end. 如申請專利範圍第2項之封包導向方法,其中,於該步驟(6)中所述之對該封包進行處理的服務設備係與該步驟(3)中所述之服務設備為同一個。The packet-oriented method of claim 2, wherein the service device for processing the packet in the step (6) is the same as the service device described in the step (3). 一種封包導向方法,係應用於至少具有第一出口節點、訊務導向設備及複數個服務設備之系統架構中,該第一出口節點係具有至少一第一路由器,且該訊務導向設備係與該第一路由器、及複數個該服務設備相連接,該封包導向方法包括以下步驟:(1)於該訊務導向設備中設定至少一組用戶發送端及網路發送端,並於該訊務導向設備中設定複數個與該訊務導向設備相連接之服務設備之連線方式;(2)於該第一出口節點接收到自網路端發出之封包時,令該第一出口節點內之第一路由器將該封包發送至該訊務導向設備內之網路發送端;(3)於該網路發送端接收到從該第一路由器發送之封包時,令該訊務導向設備依據所設定之連線方式將該封包導向與該訊務導向設備相連接之服務設備,以藉由該服務設備對該封包進行處理,並令該服務設備於處理完後將該封包發送至該用戶發送端;以及(4)於該用戶發送端接收到自該服務設備發送之封包時,令該用戶發送端將該封包導向該第一路由器,進而使該第一路由器將該封包發送至用戶端。A packet-oriented method is applied to a system architecture having at least a first egress node, a traffic steering device, and a plurality of service devices, where the first egress node has at least one first router, and the traffic steering device is The first router and the plurality of service devices are connected, and the packet guiding method includes the following steps: (1) setting at least one set of user sending end and network sending end in the traffic guiding device, and in the service The guiding device sets a plurality of connection manners of the service devices connected to the traffic guiding device; (2) when the first egress node receives the packet sent from the network end, the first egress node is configured to be in the first egress node The first router sends the packet to the network sending end in the traffic steering device; (3) when the network sending end receives the packet sent from the first router, the traffic guiding device is configured according to the setting Connecting the packet to the service device connected to the traffic steering device to process the packet by the service device, and causing the service device to send the packet after processing And (4) when the user sending end receives the packet sent by the service device, causing the user sending end to direct the packet to the first router, so that the first router sends the packet To the client. 如申請專利範圍第11項之封包導向方法,其中,該系統架構還包括第二出口節點,該第二出口節點係具有至少一第二路由器,且該第二路由器與該訊務導向設備係相連接,於執行該步驟(2)前還包括以下步驟:(2-1)於該第二出口節點接收到從該用戶端發出之封包時,令該第二出口節點中之第二路由器將該封包發送至該訊務導向設備內之用戶發送端;(2-2)於該用戶發送端接收到從該第二路由器發送之封包時,令該訊務導向設備依據所設定之連線方式將該封包導向與該訊務導向設備相連接之服務設備,以藉由該服務設備對該封包進行處理,並令該服務設備於處理完後將該封包發送至該網路發送端;以及(2-3)於該網路發送端接收到自該服務設備發送之封包時,令該網路發送端將該封包導向該第二路由器,進而使該第二路由器將該封包發送至該網路端。The packet-oriented method of claim 11, wherein the system architecture further includes a second egress node, the second egress node having at least one second router, and the second router is associated with the traffic steering device The connection, before performing the step (2), further includes the following steps: (2-1) when the second egress node receives the packet sent from the UE, causing the second router in the second egress node to The packet is sent to the user sending end in the traffic steering device; (2-2) when the sending end of the user receives the packet sent from the second router, the traffic guiding device is configured according to the set connection mode. The packet is directed to a service device connected to the traffic steering device to process the packet by the service device, and the device is sent to the network sending end after processing; and (2) -3) when the sending end of the network receives the packet sent by the service device, causing the network sending end to direct the packet to the second router, so that the second router sends the packet to the network end . 如申請專利範圍第11項之封包導向方法,其中,該步驟(1)中所述之於該訊務導向設備中設定複數個與該訊務導向設備相連接之服務設備之連線方式,係指藉由具有負載平衡及得以令雙向封包經由同一台服務設備的處理機制,對應地產生虛擬通道予以連線。The packet-oriented method of claim 11, wherein the method for setting a plurality of service devices connected to the traffic steering device in the traffic steering device is as described in the step (1). Referring to the processing mechanism with load balancing and enabling the two-way packet to pass through the same service device, a virtual channel is correspondingly connected to be connected. 如申請專利範圍第11項之封包導向方法,其中,於該步驟(2)之前,復包括令該第一路由器藉由實體電路連接至該訊務導向設備之步驟;而該步驟(2)中之第一路由器,係藉由策略性路由技術並透過連結該第一路由器及該訊務導向設備之實體電路將該封包發送至該訊務導向設備,進而將該封包發送至該網路發送端。The packet-oriented method of claim 11, wherein before the step (2), the step of connecting the first router to the traffic steering device by a physical circuit is included; and in the step (2) The first router sends the packet to the traffic steering device through a strategic routing technology and through a physical circuit connecting the first router and the traffic steering device, and then sends the packet to the network sending end. . 如申請專利範圍第12項之封包導向方法,其中,於該步驟(2-1)之前,復包括令該第二路由器藉由實體電路連接至該訊務導向設備之步驟;而該步驟(2-1)中之第二路由器,係藉由策略性路由技術並透過連結該第二路由器及該訊務導向設備之實體電路將該封包發送至該訊務導向設備,進而將該封包發送至該用戶發送端。The packet-oriented method of claim 12, wherein before the step (2-1), the step of connecting the second router to the traffic steering device by a physical circuit is included; and the step (2) The second router in the -1) sends the packet to the traffic steering device through a strategic routing technology and through a physical circuit connecting the second router and the traffic steering device, and then sends the packet to the User sender. 如申請專利範圍第11項之封包導向方法,其中,於該步驟(2)中復包括令該第一出口節點中之第一路由器於該封包標記用以識別出封包發送端為該第一路由器的識別碼之步驟;而於該步驟(4)中,該用戶發送端即依據該第一路由器於該封包上所標記之識別碼,將該封包導向該第一路由器。The packet-oriented method of claim 11, wherein the step (2) includes: causing the first router in the first egress node to identify the packet sending end as the first router The step of identifying the code; and in the step (4), the user sending end directs the packet to the first router according to the identification code marked by the first router on the packet. 如申請專利範圍第11項之封包導向方法,其中,於該步驟(3)中復包括令該訊務導向設備於該封包標記用以識別出接收用戶端所發出之封包的接收端為該第一路由器的識別碼之步驟;而於該步驟(4)中,該用戶發送端即依據該訊務導向設備於該封包上所標記之識別碼,將該封包導向該第一路由器。The packet-oriented method of claim 11, wherein the step (3) includes the receiving end of the packet guiding device for identifying the packet sent by the receiving client as the first a step of identifying the identifier of the router; and in the step (4), the user sending end directs the packet to the first router according to the identifier marked by the traffic steering device on the packet. 如申請專利範圍第12項之封包導向方法,其中,於該步驟(2-1)中復包括令該第二出口節點中之第二路由器於該封包標記用以識別出接收網路端所發出之封包的接收端為該第二路由器的識別碼之步驟;而於該步驟(2-3)中,該網路發送端即依據該第二路由器於該封包上所標記之識別碼,將該封包導向該第二路由器。The packet-oriented method of claim 12, wherein in the step (2-1), the second router in the second egress node is configured to identify the receiving network to send out The receiving end of the packet is a step of the identification code of the second router; and in the step (2-3), the network sending end is based on the identifier marked by the second router on the packet, The packet is directed to the second router. 如申請專利範圍第12項之封包導向方法,其中,於該步驟(2-2)中復包括令該訊務導向設備於該封包上標記用以識別出接收用戶端所發出之封包的接收端為該第二路由器的識別碼之步驟;而於該步驟(2-3)中,該網路發送端即依據該訊務導向設備於該封包上所標記之識別碼,將該封包導向該第二路由器。The packet-oriented method of claim 12, wherein the step (2-2) includes: causing the traffic steering device to mark the packet to identify the receiving end of the packet sent by the receiving client a step of identifying the identifier of the second router; and in the step (2-3), the network sending end directs the packet to the first identifier according to the identifier marked by the traffic steering device on the packet Two routers. 如申請專利範圍第12項之封包導向方法,其中,於該步驟(2-2)中所述之對該封包進行處理的服務設備係與該步驟(3)中所述之服務設備為同一個。The packet-oriented method of claim 12, wherein the service device for processing the packet in the step (2-2) is the same as the service device described in the step (3) .
TW99123607A 2010-07-19 2010-07-19 Data packet orientation method TWI400912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99123607A TWI400912B (en) 2010-07-19 2010-07-19 Data packet orientation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99123607A TWI400912B (en) 2010-07-19 2010-07-19 Data packet orientation method

Publications (2)

Publication Number Publication Date
TW201206119A TW201206119A (en) 2012-02-01
TWI400912B true TWI400912B (en) 2013-07-01

Family

ID=46761847

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99123607A TWI400912B (en) 2010-07-19 2010-07-19 Data packet orientation method

Country Status (1)

Country Link
TW (1) TWI400912B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW558887B (en) * 2001-04-13 2003-10-21 Motorola Inc Manipulating data streams in data stream processors
US7111072B1 (en) * 2000-09-13 2006-09-19 Cosine Communications, Inc. Packet routing system and method
US20080112410A1 (en) * 2006-11-10 2008-05-15 Federal Network Systems Llc Policy based quality of service and encryption over mpls networks
TW200838226A (en) * 2006-11-17 2008-09-16 Qualcomm Inc Method and apparatus for efficient routing in communication networks
TW200950418A (en) * 2005-02-25 2009-12-01 Interdigital Tech Corp Wireless communication method and system for routing packets via intra-mesh and extra-mesh routes
US7684406B2 (en) * 2003-09-18 2010-03-23 Sap Ag Data packet filtering in a client-router server architecture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7111072B1 (en) * 2000-09-13 2006-09-19 Cosine Communications, Inc. Packet routing system and method
TW558887B (en) * 2001-04-13 2003-10-21 Motorola Inc Manipulating data streams in data stream processors
US7684406B2 (en) * 2003-09-18 2010-03-23 Sap Ag Data packet filtering in a client-router server architecture
TW200950418A (en) * 2005-02-25 2009-12-01 Interdigital Tech Corp Wireless communication method and system for routing packets via intra-mesh and extra-mesh routes
US20080112410A1 (en) * 2006-11-10 2008-05-15 Federal Network Systems Llc Policy based quality of service and encryption over mpls networks
TW200838226A (en) * 2006-11-17 2008-09-16 Qualcomm Inc Method and apparatus for efficient routing in communication networks

Also Published As

Publication number Publication date
TW201206119A (en) 2012-02-01

Similar Documents

Publication Publication Date Title
US11979322B2 (en) Method and apparatus for providing service for traffic flow
US7486622B2 (en) OAM echo messaging to verify a service-based network distribution path
US9225622B2 (en) OAM echo messaging to verify a service-based network distribution path
WO2012106869A1 (en) Message processing method and related device thereof
WO2015196849A1 (en) Data packet processing method, service node and deliver node
EP1478129A2 (en) Using network transport tunnels to provide service-based data transport
WO2013113218A1 (en) Intersecting ring protection method, device and system
JP4584846B2 (en) Network relay device and packet transfer method
WO2020119644A1 (en) Forwarding entry generation method, apparatus, and device
US20210176169A1 (en) Source Routing Tunnel Ingress Protection
CN113395212B (en) Network device, method of operating the same, and non-transitory computer readable medium
TWI492575B (en) Fast lsp alert mechanism
WO2022021818A1 (en) Method and device for processing data message, storage medium, and electronic device
WO2021093463A1 (en) Packet forwarding method, first network device, and first device group
WO2018090210A1 (en) Service packet transmission method, and node apparatus
WO2024140374A1 (en) Information processing method, device, and storage medium
WO2019196914A1 (en) Method for discovering forwarding path, and related device thereof
WO2019174552A1 (en) Multicast route processing method, network device, and route reflector
WO2019128612A1 (en) Method and device for processing routing protocol packet
WO2023213216A1 (en) Packet processing method and related device
US8532101B2 (en) System and method for providing co-signaled return label switch paths
CN109728926A (en) Communication means and the network equipment
JP5840211B2 (en) Pseudowire providing an in-band control channel with offset
TWI400912B (en) Data packet orientation method
WO2008141516A1 (en) Message transmitting method, transmitting device and transmitting system

Legal Events

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