TW201218685A - Communication apparatus, communication system and route switching method - Google Patents

Communication apparatus, communication system and route switching method Download PDF

Info

Publication number
TW201218685A
TW201218685A TW100105030A TW100105030A TW201218685A TW 201218685 A TW201218685 A TW 201218685A TW 100105030 A TW100105030 A TW 100105030A TW 100105030 A TW100105030 A TW 100105030A TW 201218685 A TW201218685 A TW 201218685A
Authority
TW
Taiwan
Prior art keywords
path
communication device
communication
switching
transmission
Prior art date
Application number
TW100105030A
Other languages
Chinese (zh)
Inventor
Koji Sato
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of TW201218685A publication Critical patent/TW201218685A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0882Utilisation of link capacity

Abstract

A communication apparatus (1), between which and an opposed communication apparatus a current communication route and a backup communication route are provided, having a switching control section (13), which determines whether a selected route is crowed based on a traffic amount when one of the communication routes is selected as the selected route and a data transmission is performed via the selected route, selects a part of the transmitted data as a data-to-be-switched if the selected route is determined as being crowed, and switches the transmission route of the data to be switched to a communication route other than the selected route, is provided.

Description

201218685 六、發明說明: 【發明所屬之技術領域] 本發明係關於一種在與通訊對方的裝置之間預先設定 點對點(point-to-p〇int)之現用系統及預備系統之2路徑 的通訊裝置及該通訊裝置中的路徑切換方法。 【先前技術】 作為防止在進行2裝置間之通訊時,於通訊路徑發生 障礙的情況之通訊中斷的技術,係有一種:將2裝置間之 End-to-End連接予以冗餘化,且在有障礙時會自動地切換 至預備系統路徑的保護(protecti〇n)切換技術。例如,在 以 ITU-I(Internati〇nal Telecommunication Union Telecommunication Standardization Sector:國際電信 聯盟電信標準化部門)建議G. 8〇31定義的線性保護切換技 術中,係預先設定對應於Ethernet(乙太網路,註冊商標) 的2裝置間之現用系統及預備系統的2路徑,且在現用系 統路徑有障礙時自動地切換至預備系統路徑。藉由使用此 種的線性保護切換技術,即使在對於2裝置間之通訊發生 障礙的情況也能夠切換路徑而繼續通訊。 作為實施線性保護切換的習知技術,例如在下列專利 文獻1中,有揭示一種能夠提高切換效率的路徑保護(path Protection)方法。在該方法中,係以某處之故障檢測為契 機’且存在有複數個應切換之訊務(traffic)的情況,能夠 針對每一訊務指定/控制切換至預備系統的順序。 專利文獻1:日本特開2007-181010號公報 322773 3 201218685 【發明内容】 (發明所欲解決之課題) 然而’在以上述ITU-T建議G. 8031所規定的線性保護 切換技術中’係以障礙檢測或切換操作指示為契機,並將 設定作為切換對象的 VLAN(Virtual Local Area Network : 虛擬區域網路)切換至預備系統路徑。因此,即使在現用系 統路徑混雜而實際發生訊框遺失(frame loss)的情況’也 會有如下的問題:就優先順位(pri〇rity :亦稱為優先度, 本文中稱為優先順位)高的訊務而言在檢測出障礙為止也 =法進行朝預備系統路徑之切換,且即使在因混雜而發生 障礙的情況也會因障礙而發生暫時性的通訊中斷 。又有無 法防止因混雜而發生訊框遺失的問題。 在上述專利文獻 人 VTA —^w 奶1 π圮載的方法中,係將複數條 二予以群組化’且藉由對各群組事先散定切換順序,而 ^檢測出障礙時,可以所設定的切換順序來實施切換作 障丄 載的方法,,切換的契機也是 因而,與以上述咖Τ建議G•麵所規定的線 中_二、技術同樣’會有:因障礙而發生暫時性的通訊 ΪΓ,和無法防止因混雜而發生訊框遺失的問題。 =⑽有鑒於上述情事而開發完成者,其目的在於 役件一種不會發生優先順位古 使用“ ^訊務之通訊中斷而能減低 (解決課題的軌裝置、通訊系統及路徑切換方法。 322773 4 201218685 為了解決上述的課題,201218685 VI. Description of the Invention: [Technical Field] The present invention relates to a communication device for pre-setting a point-to-p〇int active system and a preparatory system between two devices with a communication partner And a path switching method in the communication device. [Prior Art] As a technique for preventing communication interruption in a case where an interference occurs in a communication path when performing communication between two devices, there is a technique of: redundancy of an End-to-End connection between two devices, and When there is an obstacle, it will automatically switch to the protection system (protecti〇n) switching technology of the preparatory system path. For example, in the linear protection switching technology defined by the ITU-I (Internati〇nal Telecommunication Union Telecommunication Standardization Sector) G. 8〇31, it is preset to correspond to Ethernet (Ethernet, Registered trademark) 2 channels between the existing system and the standby system, and automatically switch to the standby system path when the active system path is faulty. By using such a linear protection switching technique, it is possible to switch paths and continue communication even in the case where communication between the two devices is hindered. As a conventional technique for implementing linear protection switching, for example, in the following Patent Document 1, there is disclosed a path protection method capable of improving switching efficiency. In this method, it is possible to specify/control the order of switching to the standby system for each traffic, in the case where the failure detection of somewhere is taken as the 'driver' and there are a plurality of traffic to be switched. Patent Document 1: Japanese Laid-Open Patent Publication No. 2007-181010 No. 322773 3 201218685 SUMMARY OF INVENTION [Problems to be Solved by the Invention] However, 'in the linear protection switching technique specified in the above-mentioned ITU-T Recommendation G. 8031' The obstacle detection or switching operation instruction is an opportunity, and the VLAN (Virtual Local Area Network) set as the switching target is switched to the standby system path. Therefore, even in the case where the active system path is mixed and the frame loss actually occurs, there is a problem that the priority order (priority: also referred to as priority, referred to herein as priority order) is high. The traffic is switched to the standby system path when the obstacle is detected, and even if the obstacle occurs due to the mismatch, a temporary communication interruption occurs due to the obstacle. There is also the possibility of preventing the loss of frames due to confounding. In the above method of the patent document VTA — ^w milk 1 π圮, the plurality of two are grouped' and by detecting the switching order in advance for each group, and detecting the obstacle, In the set switching sequence, the method of switching the barrier load is implemented, and the triggering action is also the same as the line defined by the above-mentioned curry recommendation G•face. The technology will be the same: there will be temporary due to obstacles. Communication, and the inability to prevent the loss of frames due to confounding. = (10) In view of the above-mentioned circumstances, the purpose of the development is that the service piece will not be prioritized, and the communication can be reduced (the track device, communication system and path switching method for solving the problem. 322773 4 201218685 In order to solve the above problems,

中之1條路徑當作選擇路徑,且在使用 資料發送的情況,判定前述選擇路彳 且在使用前述選擇路徑進行One of the paths is used as the selection path, and in the case of using the data transmission, the foregoing selection path is determined and the selection path is used.

(發明效果) 本發明的通訊裝置、通訊系統及路徑切換方法,係可 獲得:不會發生優先順位高的訊務之通訊中斷而能減低使 用中之路徑混雜的效果。 【實施方式】 以下’根據圖式詳細說明本發明的通訊裝置、通訊系 統及路徑切換方法之實施形態。另外,該發明並非依該實 施形態而受限定。 實施形態1. 第1圖係顯示本發明的通訊系統之實施形態1之構成 例的示意圖。如第丨圖所示,本實施形態的通訊系統,係 具備··具有以ITU-TG.8031規定之線性保護切換功能的通 訊裝置1及通訊裝置2;以及通訊路徑3、4。通訊路徑3、 4’係供通訊裝置1與通訊裝置2間之通訊用而設定的通訊 路徑’且將通訊路徑3當作現用系統路徑,將通訊路後 322773 5 201218685 當作預備系統路徑。 從通訊裝置1至通訊裝置2之通訊流量係利用通訊路 徑3、通訊路徑4之其中一條路徑而傳輸。在通訊裝置i 與通訊裝置2直接鄰接的情況,雖然通訊路徑3及通訊路 役4,係分別成為單一鍵結,但是在本實施形態中,並不 管通訊路徑3、4是否為單一鏈結。又,在通訊裝置1與通 訊裝置2之間,係設定有複數條VUN。 另外’在本實施形態中,係以不管傳輸路徑之往復是 否為同一路徑的情況為前提,且以傳輸起源侧決定傳輸路 徑的通訊系統為前提。因此,只要作為傳輸起源裝置的通 訊裝置1決定傳輸目的地之路徑即可,傳輸目的地之通訊 裝置2,即使事前沒有獲得將由通訊路徑3、4之其中的何 條路徑進行傳輸的資訊,仍會對由通訊路徑3、4之其中一 條路徑輸入的訊務進行預定的接收處理。在進行從通訊裝 置2朝通訊裝置1之方向之通訊的情況,係將傳輸目的地 之通訊裝置2形成與本實施形態之通訊裝置1相同的構 成,且通訊裝置2只要進行以下所述的通訊裝置1之動作 即可。 第2圖係顯示本實施形態的通訊裝置1之功能構成例 的示意圖。如第2圖所示,通訊裝置1係由通訊介面11、 傳輸處理部12、切換控制部13、障礙監視部14、訊務流 量測定部15及通訊介面16所構成。 本實施形態之通訊裝置1,係實施如下雙方的切換作 業:藉由實現以ITU-TG. 8031所規定的線性保護切換功能 6 322773 201218685 2在有障礙時t刀換路徑的障礙時切換、以及在雖沒有發生 p章礙仁判斷傳輸目的地之路徑混雜的情況切換路徑的混雜 時路徑切換。 通°孔介面11 ’係具備埠口(port)21-l至.21-5,且對 從埠口 2H至21-5輸入的訊務進行預定的接收處理,並 將處理後的说務輸出至傳輸處理部12。通訊介面11,係對 應例如Ethernet(註冊商標)所用的i〇Mbps/1〇〇Mbps/ lGbps的鏈結(link)速度,又可進行各埠口所接收的訊務 之流量計測及障礙檢測。 通訊介面16,係具備埠口 my至22_5,且對從傳輸 處理部12輸出的訊務進行預定的發送處理,並將處理後的 訊務從埠口 22-1至22-5輸出。通訊介面16,係對應例如 Ethernet(註冊商標)所用的 1〇Mbps/1〇〇Mbps/1Gbps 的鏈 結速度’又可進行各埠口所發送的訊務之流量計測及障礙 檢測。另外’第2圖中’通訊介面丨丨及通訊介面16,雖 然分別具有5個埠口,但是埠口之數量並未限於此,通訊 介面11及通訊介面16所具備的琿口之數量各有幾個均可。 另外,在此’雖然是將通訊介面U當作輸入側的通訊 介面,將通訊介面16當作輸出侧的通訊介面來說明,但是 通訊介面11及通訊介面16,兩者均可具有作為輸入側及 輸出侧雙方的通訊介面之功能。 傳輸處理部12 ’係針對所接收到的訊務之VLAN識別 符(或是每一 識別符與優先順位)而保持與該訊務之 傳輸目的地埠口(埠口 22-1至埠口 22-5之其中一個埠口) 7 322773 201218685 之間的對應作為傳輸規則,且根據傳輸規則進行傳輸處理。 切換控制部13,係保持使用路徑資訊,且根據障礙資 訊或訊務流量資訊,更新使用路徑資訊,並根據使用路徑 資訊,對傳輸處理部12指示傳輪規則之改寫,其中該使用 路徑資訊係包含:當作混雜時切換之對象的VLan之vlan 識別符;以及識別是否使用現用系統路徑與預備系統路徑 之其中一條路彳空來傳輸對應於該vlan識別符之訊務的資 訊。 訊務流量測定部15,係收集通訊介面16之各蟑口 22-1 至22-5之訊務流量的計測結果,且監視訊務流量是否已超 過臨限值,在檢測出訊務流量已超過臨限值之埠口的情 況,將該埠口的編號及訊務流量通知切換控制部13,妓將 預定之臨限值通知切換控制部13。另外,訊務流量測定部 15’係事先從切換控制部13取得而保持對應於各埠口 22-1 至22-5的臨限值。 障礙監視部14,係檢測通訊介面16之各埠口 22-1至 22-5的障礙發生與回復,且將所檢測出的事例(障礙檢測 或回復)傳遞至切換控制部13。另外,障礙發生及回復之 檢測’亦可針對每一埠口進行’亦可針對每一 vlan進行。 障礙發生及回復之檢測方法,可使用以ITU-T建議Y. 1731 所規定的 ETH-CC (ETHernet (註冊商標)continuity Check:乙太網路持續確認)功能等,亦可使用其他的方法。 其次,針對本實施形態之混雜時切換的動作加以說 明。第3圖係顯示切換控制部13所保持的使用路徑資訊之 8 322773 201218685 一例的不意圖。如第3圖所示’在使用路徑資訊中,係針 對每一 VLAN識別符,包含有現用系統之埠口編號(圖中略 5己為現用系統)、臨限值、最高優先順位、預備系統之璋口 編號(圖中略記為預備系统)、選擇系統(現在被選擇的系 統.現用系統路被選作為傳輸路徑或預備系統路徑被選 作為傳輸路徑的資訊)。另外,帛3圖係為一例,只要保持 相同的資訊’亦可保持作為第3圖所示之以外形式的資訊。 現用系統之埠口編號,係顯示該几—之訊務傳輸目的 地之埠口(埠口 21-1至21〜5之其中一個)的識別編號。例 如,埠口 21-1、22-2、··.、21-5分別對應於埠口編號#1、 、…、#5。傳輸目的地之埠口,係對應於傳輸路徑;而 現用系統之槔口編號,係顯示傳輸至現用系統路徑之情況 的埠口編號。同樣地,預備系統之埠口編號,係顯示傳輸 至預備系統路徑之情況的埠口編號。 本實施形態中,切換控制部13 ’係根據Ethernet(註 冊商標)訊框之VLAN識別符及優先順位資訊,針對每一 VLAN識別符與優先順位在現用系統與預備系統之間切換訊 務之路徑,作為混雜時切換。亦即,在本實施形態中,即 使疋同一 VLAN識別符之訊務’在優先順位不同的情況,亦 會針對每一優先順位識別訊務,且針對每一優先順位進行 路故之切換。例如,識別同一 VLAN識別符之優先順位a的 戒務與優先順位B(A关B)的訊務,且優先順位A的訊務與 優先順位B的訊務,分別被傳輸至不同的傳輸路徑。 第3圖所示的臨限值,係供訊務流量測定部15判定是 322773 9 201218685 否混雜用的臨限值’且事先針對每一 VLAN設定。該臨限 值,雖然怎樣地設定均可,但是例如,在進行對延遲之要 求較嚴格的應用軟體之通訊的VLAN ’則可考慮將臨限值設 定為較小的方法。切換控制部13 ’係根據使用路徑資訊’ 求出每一痒口之最小的臨限值,且事先將該臨限值通知訊 務流量測定部15作為每一槔口的臨限值。 第3圖所示的最高優先順位,係在訊務流量已超過該 VLAN之臨限值的情況’所切換的最高之優先順位。切換控 制部13,係根據從訊務流量測定部15所通知的埠口編號 與訊務流量,判別訊務流量已超過臨限值的VLAN ’且針對 該VLAN之訊務,將最高優先順位以下之優先順位之訊務的 傳輸路徑切換至選擇系統以外的通訊路徑。又’就訊務流 量已超過臨限的VLAN之訊務而言,超過最高優先順位的優 先順位之訊務的傳輸路徑係保持選擇系統而不變。一般’ 優先順位高的訊務對於通訊中斷的要求較嚴格。在本實施 形態中,係將一定的優先順位(最高優先順位)以下之訊務 的傳輪路徑切換至選擇系統以外之通訊路徑’藉此可一邊 防止高優先順位之訊務的通訊中斷,一邊消除選擇系統之 現雜。另外,在此,優先順位之值越大’優先順位就越高。 另外,在此’雖然訊務流量測定部15 ’係在訊務流量 已超過每一埠口之臨限值的情況,將埠口編號與訊務流量 通知切換控制部13 ’但是訊務流量之通知方法並未限於 此。例如,在訊務流量測定部15亦可不具有臨限值,而是 定期地將槔口編號與訊務流量通知切換控制部13。 10 322773 201218685 在本實施形恶中,係為了判斷訊務之優先順位,例如, 使用儲存於Ethernet(註冊商標)訊框内的VLAN標籤内之 優先順位資訊(PCP : pri〇rity c〇de p〇int :優先權代碼 點)。第4圖至第7圖係顯示為了判斷訊務之優先順位而使 用優先順位資訊之一例的示意圖。 第4圖係顯示Ethernet(註冊商標)訊框之構成例的示 思圖Ethernet(§主冊商標)訊框,係包含j)A(Destination Address .目的地位址)/SA(Source Address :來源位址)、 顯示訊框之種別的Type、以及TCI(Tag Control(Effect of the Invention) The communication device, the communication system, and the path switching method of the present invention can obtain an effect of reducing communication interruption in use without causing communication interruption of a traffic with a high priority. [Embodiment] Hereinafter, embodiments of a communication device, a communication system, and a path switching method according to the present invention will be described in detail based on the drawings. Further, the invention is not limited by the embodiment. Embodiment 1. Fig. 1 is a schematic view showing a configuration example of the first embodiment of the communication system of the present invention. As shown in the figure, the communication system of the present embodiment includes a communication device 1 and a communication device 2 having a linear protection switching function defined by ITU-T G.8031, and communication paths 3 and 4. The communication paths 3, 4' are communication paths set for communication between the communication device 1 and the communication device 2, and the communication path 3 is regarded as the active system path, and the communication path 322773 5 201218685 is regarded as the standby system path. The communication flow from the communication device 1 to the communication device 2 is transmitted using one of the communication path 3 and the communication path 4. When the communication device i and the communication device 2 are directly adjacent to each other, the communication path 3 and the communication path 4 are respectively a single bond. However, in the present embodiment, whether or not the communication paths 3 and 4 are single links is not used. Further, a plurality of VUNs are set between the communication device 1 and the communication device 2. Further, in the present embodiment, it is assumed that the reciprocation of the transmission path is the same path, and the communication system that determines the transmission path on the transmission origin side is assumed. Therefore, as long as the communication device 1 as the transmission originating device determines the path of the transmission destination, the communication device 2 of the transmission destination can obtain the information to be transmitted by any of the communication paths 3 and 4 even if the communication device 2 of the transmission destination is not obtained beforehand. A predetermined reception process is performed on the traffic input by one of the communication paths 3, 4. When the communication from the communication device 2 to the communication device 1 is performed, the communication device 2 of the transmission destination is configured in the same manner as the communication device 1 of the present embodiment, and the communication device 2 performs the communication described below. The action of the device 1 is sufficient. Fig. 2 is a view showing an example of the functional configuration of the communication device 1 of the present embodiment. As shown in Fig. 2, the communication device 1 is composed of a communication interface 11, a transmission processing unit 12, a switching control unit 13, an obstacle monitoring unit 14, a traffic flow measuring unit 15, and a communication interface 16. The communication device 1 of the present embodiment performs the following switching operations: by implementing the linear protection switching function 6 322773 201218685 2 defined by ITU-T G. 8031, when the obstacle is changed, the obstacle is switched, and In the case where the path of the transmission destination is not mixed, the path switching of the switching path is not performed. The through hole interface 11' is provided with ports 21-1 to .21-5, and performs predetermined reception processing on the signals input from the ports 2H to 21-5, and outputs the processed services. To the transmission processing unit 12. The communication interface 11 corresponds to, for example, the link speed of i〇Mbps/1〇〇Mbps/lGbps used by Ethernet (registered trademark), and the flow rate measurement and obstacle detection of the traffic received by each port. The communication interface 16 is provided with ports my to 22_5, performs predetermined transmission processing on the traffic output from the transmission processing unit 12, and outputs the processed messages from the ports 22-1 to 22-5. The communication interface 16 corresponds to, for example, a link speed of 1 Mbps/1 Mbps/1 Gbps used by Ethernet (registered trademark), and can perform flow measurement and obstacle detection of traffic transmitted by each port. In addition, in the second picture, the communication interface and the communication interface 16 have five ports, but the number of the ports is not limited thereto, and the number of ports of the communication interface 11 and the communication interface 16 are different. A few can be. In addition, although the communication interface U is used as the communication interface on the input side, and the communication interface 16 is used as the communication interface on the output side, the communication interface 11 and the communication interface 16 may both have an input side. And the function of the communication interface on both sides of the output side. The transmission processing unit 12' maintains the transmission destination of the communication with respect to the VLAN identifier of the received service (or each identifier and priority order) (port 22-1 to port 22) The correspondence between -5 of one of the ports) 7 322773 201218685 is used as the transmission rule, and the transmission process is performed according to the transmission rule. The switching control unit 13 maintains the usage path information, updates the usage path information according to the obstacle information or the traffic flow information, and instructs the transmission processing unit 12 to rewrite the routing rule according to the usage path information, wherein the usage path information is The method includes: a vlan identifier of the VLan which is the object of the switching when the hybrid is used; and information for identifying whether to use the path of the active system path and the preparatory system path to transmit the traffic corresponding to the vlan identifier. The traffic flow measuring unit 15 collects the measurement results of the traffic flows of the ports 22-1 to 22-5 of the communication interface 16, and monitors whether the traffic flow has exceeded the threshold value, and detects that the traffic flow has been detected. When the threshold exceeds the threshold, the number and traffic flow of the port are notified to the switching control unit 13, and the predetermined threshold value is notified to the switching control unit 13. Further, the traffic flow measuring unit 15' is previously acquired from the switching control unit 13 and holds the threshold corresponding to each of the ports 22-1 to 22-5. The obstacle monitoring unit 14 detects occurrence and recovery of an obstacle of each of the ports 22-1 to 22-5 of the communication interface 16, and transmits the detected case (obstacle detection or recovery) to the switching control unit 13. In addition, the detection of obstacle occurrences and recovery 'can also be performed for each mouth' can also be performed for each vlan. For the detection method of the occurrence and recovery of obstacles, the ETH-CC (ETHernet (registered trademark) continuity check) function specified in ITU-T Recommendation Y. 1731 can be used, and other methods can be used. Next, the operation of the hybrid time switching in the present embodiment will be described. Fig. 3 is a view showing an example of the use path information held by the switching control unit 13 322773 201218685. As shown in Figure 3, in the usage path information, for each VLAN identifier, the port number of the active system is included (the figure is 5 is the active system), the threshold, the highest priority, and the preparation system. The port number (abbreviated as the standby system in the figure), the selection system (the system that is currently selected. The active system path is selected as the transmission path or the information of the preparatory system path is selected as the transmission path). In addition, the 帛3 diagram is an example, and information other than the one shown in Fig. 3 can be held as long as the same information is maintained. The port number of the current system is the identification number of the mouth (the one of the ports 21-1 to 21 to 5) of the traffic transmission destination. For example, the ports 21-1, 22-2, ..., 21-5 correspond to the port numbers #1, ..., #5, respectively. The port of the transmission destination corresponds to the transmission path; the port number of the active system shows the port number of the transmission to the active system path. Similarly, the port number of the standby system is the number of the port that is displayed when it is transferred to the path of the standby system. In the present embodiment, the switching control unit 13' switches the path of the traffic between the active system and the standby system for each VLAN identifier and priority order according to the VLAN identifier and the priority order information of the Ethernet (registered trademark) frame. , switch as a hybrid. That is, in the present embodiment, even if the traffic of the same VLAN identifier is different in the priority order, the traffic is identified for each priority, and the switching is performed for each priority. For example, the traffic of the priority order a of the same VLAN identifier and the priority order B (A off B) are identified, and the traffic of the priority order A and the priority order B are respectively transmitted to different transmission paths. . The threshold value shown in Fig. 3 is set by the traffic flow measurement unit 15 to determine whether or not the threshold value is 322773 9 201218685. Although the threshold value can be set, for example, it is conceivable to set the threshold value to a smaller value in the VLAN ' of the communication of the application software which is more strict in delay. The switching control unit 13' obtains the minimum threshold value for each itching according to the use route information', and previously notifies the threshold value traffic flow measuring unit 15 as the threshold value of each port. The highest priority order shown in Figure 3 is the highest priority that is switched when the traffic flow has exceeded the threshold of the VLAN. The switching control unit 13 determines the VLAN ' of the traffic flow exceeding the threshold based on the port number and the traffic flow notified from the traffic flow measurement unit 15, and the highest priority is below the traffic for the VLAN. The transmission path of the priority traffic is switched to a communication path other than the selection system. In addition, in the case of a traffic of a VLAN whose traffic has exceeded the threshold, the transmission path of the priority traffic exceeding the highest priority is kept unchanged. Generally, the priority of the high-priority traffic is stricter on the communication interruption. In the present embodiment, the routing path of the traffic below a certain priority order (the highest priority order) is switched to the communication path other than the selection system, thereby preventing the communication interruption of the high priority order communication side. Eliminate the complexity of the selection system. In addition, here, the value of the priority order is larger, and the priority is higher. In addition, here, the traffic flow measurement unit 15 is notified of the switching control unit 13' when the traffic flow has exceeded the threshold of each port, but the traffic flow is The notification method is not limited to this. For example, the traffic flow measuring unit 15 may notify the switching control unit 13 of the port number and the traffic flow periodically without the threshold. 10 322773 201218685 In this embodiment, in order to determine the priority of the traffic, for example, use the priority information stored in the VLAN tag in the Ethernet (registered trademark) frame (PCP: pri〇rity c〇de p 〇int : priority code point). Fig. 4 to Fig. 7 are diagrams showing an example of the use of priority order information for judging the priority order of the traffic. Figure 4 is a diagram showing the composition of the Ethernet (registered trademark) frame. The Ethernet (§ main register) frame contains j) A (Destination Address) / SA (Source Address: Source Bit) Address), the type of display frame, and TCI (Tag Control)

Information:標籤控制資訊)之資訊。在Type為“81-00” 的情況’係使用 C-TAG TCI (Customer VLAN Tag Control Information :客戶VLAN標籤控制資訊)作為TCI ;在Type 為 88-a8 的情況,係使用 S-TAG TCI (Service VLAN Tag Control Information :服務 VLAN 標籤控制資訊)或 B-TAG TCI (Backbone VLAN Tag Control Information :骨幹 VLAN 標籤控制資訊)作為TCI;在Type為“88-e7”的情況,係 使用 I-TAG TCI (Backbone Service Instance VLAN Tag Control Information:骨幹服務實體VLAN標籤控制資訊) 作為TCI。 第5圖係顯示C-TAG TCI之構成例的示意圖。如第5 圖所示,C-TAG TCI,係包含 PCP、CFI(Canonical Format Indicator :制式格式指示)、及 VID(VLAN Identifier : VLAN識別符)。在訊框包含C-TAG TCI的情況,係使用該 PCP作為優先順位資訊並決定各訊務之優先順位。 322773 201218685 第6圖係顯示S-TAG TCI及B-TAG TCI之構成例的示 意圖。如第6圖所示,S-TAG TCI及B-TAG TCI,係包含 PCP、DEI (Drop El igible Indicator :連接合格指示)、及 VID。在訊框包含S-TAG TCI或B-TAG TCI的情況,係使用 該PCP作為優先順位資訊並決定各訊務之優先順位。 第7圖係顯示I-TAG TCI之構成例的示意圖。如第7 圖所示 ’ I-TAG TCI,係包含 I-PCP、I-DEI、UCA(Use Customer Address .使用客戶位址)、l_SID(Backbone Service Instance Identifier:骨幹服務實體指示)、C-DA (Encapsulated Customer Destination Address :封閉式 客戶目的地位址)、及 C-SA(Encapsulated Customer Source Address :封閉式客戶來源位址)。在訊框包含i-TAG TCI 的情況,係使用該IPCP作為優先順位資訊並決定各訊務之 優先順位。另外,以上說明的優先順位資訊係為一例,且 並不限於此,亦可使用其他的資訊作為優先順位資訊。 第8圖係顯示基於第3圖所例示的使用路徑資訊之各 訊務的現用系統路徑及預備系統路徑之一例的示意圖。第 8圖之訊務31 ’係顯示VLAN識別符為#5之訊務;訊務32, 係顯示VLAN識別符為#7之訊務;訊務33,係顯示VLAN識 別符為#10之訊務。又’第8圖之實線係顯示現用系統, 而虛線係顯示預備系統。 如第8圖所示’例如,通訊裝置1,係將VLAN識別符 為#5之訊務的訊務31,在選擇了現用系統路徑的情況傳輸 至埠口 #2 ’而在選擇了預備系統路徑的情況傳輸至埠口 12 322773 201218685 在第3圖之例中,由於VLAN識別符為朽之選擇系統, 係為現用系統’所以訊務31會傳輸至皡口 #2。 另外就沒有在選擇系統中發生混雜(訊務流量並未超 過臨限值)的VLAN而言’係將全部的優先齡之訊務傳輸 至對應於選擇系統的埠口。 因而’在傳輸處理12中,就沒有在選擇系统中發生混 雜的VLM ’雖然只要保持_之識別符與傳輸目的地之 蟑口的對應作為傳輸規斷可,但是就有在選擇系統中發 雜1VLAN而言’係進而針對優先順位資訊保持傳輸目 =之埠口的資訊。傳輸處理部12,係根據來自切換控制 砟1 «3之私示而改寫傳輸規則β 第9圖係顯示本實施形態的路徑切換處理順序之 的流程圖。首先’切換控制部13 ’係判斷是否已從障礙監 視。Ρ 14接收到障礙檢測之通知(步驟⑴。在已從障礙龄 視部14接收到障礙檢測之通知的情況(步驟si之「是f 係根據使料”㈣別❹被檢測出障礙料口(❹ 該埠口作為預備系統或現用系統)之VUN(㈣幻)。例 如’在保持第3圖所例示之使用路徑資訊的情況,冬在蜂 口 #2檢測出障礙時,就會判別使用該心的vu田 與 VLAN#7 。 其次,切換控制部13,係判斷判別出的VUN之中是 否有未處理之(並未實施以下之步驟S4至步驟S7)vlan(步 驟S3),在沒有未處理之VLAN的情況(步驟S3之「否), 係回到步驟S1。在有未處理之VLAN的情況(步騍^之 322773 13 201218685 「是」),係針對未處理之VLAN(未處理之VLAN有複數個 的情況為其中之任一個VLAN),判斷在步驟S1受通知的障 礙是否為與對應於該VLAN的預備系統之傳輸路徑對應的 障礙(步驟S4)。 在步驟S4中,判斷出為與預備系統之傳輸路徑對應的 障礙之情況(步驟S4之「是」),切換控制部13,係以將 該VLAN之選擇系統當作現用系統更新使用路徑資訊(步驟 S5),且將該VLAN之傳輸目的地當作對應於現用系統路徑 的埠口而改寫傳輸路徑之方式指示傳輸處理部12,而傳輸 處理部12係根據指示改寫傳輸規則(步驟S7),且回到步 驟S3。 在步驟S4中,判斷出並非為與預備系統之傳輸路徑對 應的障礙之情況(步驟S4之「否」),切換控制部13,係 以將該VLAN之選擇系統當作預備系統更新使用路徑資 訊,且將該VLAN之傳輸目的地當作對應於預備系統路徑的 埠口而改寫傳輸路徑之方式指示傳輸處理部12,而傳輸處 理部12係根據指示改寫傳輸規則(步驟S7),且回到步驟 S3。 以上的障礙發生時之處理(步驟S1至步驟S7之處 理),係與習知同樣,例如,與ITU-T建議G. 8031同樣。 又,障礙回復的情況之處理也是進行與ITU-T建議G. 8031 同樣的動作。 另一方面,在步驟S1中,判斷出並未從障礙監視部 14接收到障礙檢測之通知的情況(步驟S1之「否」),切 14 322773 201218685 換控制部13,制斷是k從訊務流量敎部15通知超 過臨限值的訊務流量與“編號(是否檢測出臨限值超 過)(步驟S9),而在並未通知㈣臨限值後的訊務流量與 璋口編號之情況(步驟S9之「否」),就回到步驟S卜 在y驟S9中’判所出已通知超過臨限值的訊務流量與 璋口編號之情況(步驟S9 < U 1㈣_ 13,係 根據被通知後的訊務流量及缚口編號與使用路徑資訊,判 斷已超過臨限值的VLAN(步驟sl〇)。 :換控制部13,係判斷在步驟sl〇中經判別後的⑽ 之中是否有未處理之(並未實施以下之步驟si2至步驟s⑷ VLAN(步驟S11),在沒有未處理之VUN的情況(步驟su 之否」)’係回到步驟si。在有未處理之VLM的情況(步 驟sii之「是」)’切換控制部13,係針對未處理之几廣未 處理之VLAN有複數個的情況為其中之任一個VLM),根據 使用路徑資訊判斷對應於該VUN的選擇系統之埠口是否 超過臨限值(步驟S12)。可保持例如第3圖所示的使用路 徑資訊,且可在埠口 #2測定到實體頻寬之8〇%的訊務流 量。在該情況,針對使用現用系統之埠口 # 2作為選擇系統, 且臨限值設定為60%的VLAN#5;以及使用現用系統之埠口 #2作為選擇系統,且臨限值設定為8〇%的VUN#7,判斷與 VLAN之選擇系統對應的埠口超過了臨限值。 在步驟S12中,判斷出與該VLAN之選擇系統對應的埠 口並未超過臨限值的情況(步驟S12之「否」),係回到步 驟SU。在步驟S12 +,判斷出與該_之選擇系統對應 322773 15 201218685 的埠口超過了臨限值的情況(步驟S12之「是」),係根據 使用路徑資訊取得該VLAN之最高優先順位,且產生將最高 優先順位以下之訊務傳輸至非選擇系統的傳輸規則(步驟 S13)。然後,指示傳輸處理部12更新至產生該傳輸規則後 的傳輸規則’而傳輸處理部12係根據指示更新傳輸規則 (步驟S14)。 在可保持例如第3圖所示的使用路徑資訊之情況’當 在埠口 #2測定到實體頻寬之80%的訊務流量時,在步驟S13 判定在VLAN#5超過臨限值,而在步驟S14中以將對應於 VLAN#5的最高優先順位6以下之優先順位的訊務傳輸至預 備系統之埠口 #4的方式產生傳輸規則。 如以上所述’在本實施形態中,係針對在選擇系統之 訊務流量已超過臨限值的VLAN,將某優先順位以下之訊務 切換至非選擇系統之路徑。因此,並不會對較高的優先順 位之訊務帶來伴隨切換所產生的通訊中斷等之不良影響, 且能夠將選擇系統之訊務流量抑制為較低。 另外’在進行以上之混雜時切換的情況,當持續進行 訊務流量之監視作業’且在超過臨限值後的埠口 21_丨至 21-5之混雜消除,而訊務流量變成預定之值以下的情況 時,亦可復位至混雜時切換前之狀態(在混雜時切換前已作 為選擇系統的路徑發送全部優切位之訊務)。 另外,在本實施形態中,切換控制部13,雖然亦具備 判疋選擇系統徑是否混雜的混雜判定手段之功能,但 是亦可將混雜判定手段與切換控制部13個別備置。該情 322773 16 201218685 S1至步 況,混雜判定手段係根據使用路徑資訊,實施少驟l 驟S12之處理;而切換控制部13,係根據使用路徑資訊進 行步驟S13、S14之處理。 又,在此,雖然是假定優先順位較高杳對通訊中斷的 要求較嚴格,且針對在選擇系統之訊務流量已超過臨限值 的VLAN將某優先順位以下之訊務切換至非選擇系統之路 徑’但是例如在優錢位較低的軌中也有存在對通訊 斷的要求較祕之絲。為了要制此種的料,料針 對每-優先順位設定臨限值,並判斷是否實施切換。 第10圖係顯示針對每一優先順位設定臨限值的情況 之使用路徑資訊之一例的示音_ /- Λ. 4fe. /- A 下思圖。在針對母—優先順位設 疋臨限值的情況,例如,如第10圖所示,針對每一 vlan 與優先順位事祕持現Μ統之埠σ編號、臨限值、預備 系統之埠口編號、及選擇系統之資訊,且在步驟S10中, 與】別超過臨限值的VLM及優先順位之組合。然後,針對每 VLAN及優先順位之組合實施以後的步驟su至步驟幻4。 另外使用第3圖所例示的最高優先順位而判斷切換 的方法,也可考慮針對每1先順位麟切換之實施的方 法之-例。例如’當事先儲存VLAN與最高優先順位以下之 優先順位的項目(entry),作為第1()圖所示的形式之使用 路技資訊,且歧;依優*順位的相狀 時’可進行與㈣最高優先順位之情況同樣的動 又’在本實施形態中’雖然是在選擇系_雜的情況, 使用優先順位將訊務分配至選㈣統與麵H统之路 322773 17 201218685 徑’但是並不限於此,亦可使用優先順位以外的其他基準 分配訊務。 又,在本實施形態中,雖然是在選擇系統混雜的情況 根據訊務之優先順位進行路徑切換,但是亦可在障礙發生 時,進行使用優先順位的路徑切換。例如,在保持第3圖 所示的使用路徑資訊之情況,在現用系統之路徑發生了障 礙時,並不傳輸最高優先順位以下之訊務的資料而會將該 資料放棄,且將超過最高優先順位的訊務切換傳輸至預備 系統之路徑。具體而言,在第9圖之步驟S6中’將選擇系 統選為預備系統時,會將超過最高優先順位的訊務切換至 預備系統之路徑,且以放棄最高優先順位以下的訊務之資 料的方式產生傳輸規則。藉由如此方式’則可於預備系統 之通訊路徑中使用通訊容量低的路徑。另外’在進行使用 上述的混雜時切換、及障礙發生時之優先順位的路徑切換 之雙方的情況,亦可個別設定各自對應的最高優先順位。 另外,在本實施形態中,雖然是根據每一埠口的訊務 流量,判斷選擇系統是否混雜’但是在能夠藉由延遲時間 之檢測等的其他手段檢測混雜之發生的情況時,也可藉由 其他的手段來判斷是否混雜。 又,在本實施形態中,雖然是舉例說明設定有複數條 VLAN的情況,但是只要是設定有現用系統與預備系統之二 條通訊路徑之情況,則亦可將本實施形態之混雜時切換方 法適用於並未設定VLAN的通訊系統中。在該情況,由於優 先順位資訊,並無法使用VLAN標籤之值,所以會使用其他 18 322773 201218685 的優先順位資訊來選擇將路徑切換至非選擇系統的訊務。 又’在預先設定二條以上之路徑的情況,亦可適用本 實施形態的混雜時切換方法。在該情況,雖然選擇系統以 外之路徑有複數條,但是亦可從此等路徑中將1條路徑作 為最高優先順位以下之訊務的傳輸路徑使用,亦可將2條 以上之路徑作為最高優先順位以下之訊務的傳輸路徑使 用0 如此,在本實施形態中,切換控制部13,係針對每一 VLAN保持與選擇系統之訊務流量對應的臨限值、及在超過 該臨限值的情況儲存有切換至非選擇系統之優先順位的使 用路徑資訊,且根據使用路徑資訊與每一埠口的訊務流量 而指示路徑切換,而傳輸處理部12會按照路徑切換之指示 而在切換後的路徑中進行傳輸。因此,不會伴隨優先順位 尚的訊務之通訊中斷而能夠減低選擇系統路徑(使用中的 路徑)之混雜。 實施形態2. 其次’針對本實施形態之實施形態2的路徑切換方法 加以說明。本實施形態的通訊系統之構成係與實施形態1 相同。又,本實施形態的通訊裝置1之構成係與實施形態 1相同。具有與實施形態1相同之功能的構成要素,係附 §己與實施形態1相同的元件符號並省略說明。 在實施形態1中,已說明了從通訊裝置1至通訊裝置 2之單向通訊的路徑切換方法。在本實施形態中,係針對 在進行從通訊裝置1至通訊襞置2之方向、及從通訊裝置 322773 19 201218685 2至通訊裝置1之雙向通訊的情況時,在雙向使用同—路 徑(指示方向為相反)的情況加以說明。在本實施形態中, 通訊裝置2係形成與通訊裝置1相同的構成。另外,在雙 向通訊中,針對每一方向設定路徑的情況,只要使通訊穿 置1、通訊裝置2分別實施實施形態1之動作即可。 在雙向使用同一路徑的情況,當通訊裝置1切換路經 時,有需要將切換路徑後的VLAN與優先順位通知通訊裝置 2。然後’通§礼裝置2係根據该通知而設定將資料傳輸至通 訊裝置1的路徑。雖然該通知方法使用任何方法均可,但 是在此,例如是以使用以ITU-T G.8031所規定的APS (Automatic Protection Switching:自動保護切換)協定 之情況為例進行以下的說明。 第11圖係顯示APS協定的訊息(APS訊息)格式之構成 例的示意圖。第12圖係顯示APS協定的資料格式中所含之 資訊的示意圖。如第11圖所示,APS協定所使用的資料, 係包含Request/State(要求/狀態)、顯示保護之形式的 Protection Type(保護形式)、Requested Signal(要求信 號)、及Bridged Signal(橋接信號)。 第12圖係顯示第11圖所示的APS訊息格式之各項目 之值與意義的示意圖。第13圖係顯示使用APS訊息的情況 之路徑切換順序之一例的序列圖。在第13圖中係顯示障礙 發生時之切換順序,而該順序係與習知的線性保護切換技 術相同。Information: Information on the label control information). In the case of Type "81-00", the C-TAG TCI (Customer VLAN Tag Control Information) is used as the TCI; in the case of the Type 88-a8, the S-TAG TCI (Service) is used. VLAN Tag Control Information: Service VLAN tag control information) or B-TAG TCI (Backbone VLAN Tag Control Information) as TCI; in the case of Type "88-e7", use I-TAG TCI ( Backbone Service Instance VLAN Tag Control Information: The backbone service entity VLAN tag control information) as the TCI. Fig. 5 is a schematic view showing a configuration example of the C-TAG TCI. As shown in Figure 5, the C-TAG TCI includes PCP, CFI (Canonical Format Indicator), and VID (VLAN Identifier). In the case where the frame contains the C-TAG TCI, the PCP is used as the priority information and the priority order of each service is determined. 322773 201218685 Fig. 6 is a diagram showing a configuration example of S-TAG TCI and B-TAG TCI. As shown in Fig. 6, S-TAG TCI and B-TAG TCI include PCP, DEI (Drop El igible Indicator), and VID. When the frame contains S-TAG TCI or B-TAG TCI, the PCP is used as the priority information and the priority of each service is determined. Fig. 7 is a schematic view showing a configuration example of the I-TAG TCI. As shown in Figure 7, 'I-TAG TCI, including I-PCP, I-DEI, UCA (Use Customer Address), l_SID (Backbone Service Instance Identifier), C-DA (Encapsulated Customer Destination Address) and C-SA (Encapsulated Customer Source Address). In the case where the frame contains the i-TAG TCI, the IPCP is used as the priority information and the priority order of each service is determined. Further, the priority order information described above is an example, and is not limited thereto, and other information may be used as the priority order information. Fig. 8 is a view showing an example of an active system path and a preliminary system path of each of the traffic using the route information illustrated in Fig. 3. The traffic 31 of Figure 8 shows the traffic with the VLAN identifier #5; the traffic 32 shows the traffic with the VLAN identifier #7; the traffic 33 shows the message with the VLAN identifier #10. Business. Further, the solid line in Fig. 8 shows the active system, and the dotted line shows the preparatory system. As shown in Fig. 8, for example, the communication device 1 is a traffic 31 that has a VLAN ID of #5, and transmits to the port #2' when the active system path is selected, and the standby system is selected. The condition of the path is transmitted to the port 12 322773 201218685 In the example of Fig. 3, since the VLAN identifier is the system of selection, it is the active system' so the traffic 31 is transmitted to the port #2. In addition, there is no VLAN in the selection system (the traffic does not exceed the threshold), and all the priority messages are transmitted to the gateway corresponding to the selection system. Therefore, in the transmission processing 12, there is no miscellaneous VLM in the selection system. Although it is only necessary to maintain the correspondence between the identifier of the _ and the destination of the transmission destination as a transmission rule, there is a miscellaneous in the selection system. In the case of 1 VLAN, the information of the transmission destination is maintained for the priority information. The transmission processing unit 12 rewrites the transmission rule β based on the private control from the switching control 砟1 «3. Fig. 9 is a flowchart showing the procedure of the path switching processing in the present embodiment. First, the 'switching control unit 13' determines whether or not the monitoring has been performed from the obstacle. Ρ 14 receives the notification of the obstacle detection (step (1). When the notification of the obstacle detection has been received from the obstacle-aged view unit 14 (the step "si is based on the material" (4), the obstacle port is detected ( V The mouth is used as the VUN of the preparatory system or the active system. For example, 'when the use of the route information exemplified in Fig. 3 is maintained, when the winter is detected by the bee port #2, it is discriminated The vu field of the heart and the VLAN #7. Next, the switching control unit 13 determines whether there is an unprocessed VUN among the determined VUNs (the following steps S4 to S7 are not performed) vlan (step S3), and there is no In the case of the processed VLAN (No in step S3), the process returns to step S1. In the case of an unprocessed VLAN (step 322773 13 201218685 "Yes"), it is for unprocessed VLAN (unprocessed) If there is a plurality of VLANs, it is one of the VLANs, and it is determined whether the obstacle notified in step S1 is an obstacle corresponding to the transmission path of the standby system corresponding to the VLAN (step S4). In step S4, it is determined. For the transmission path pair with the preparatory system In the case of the obstacle (YES in step S4), the switching control unit 13 updates the use path information by using the selection system of the VLAN as the active system (step S5), and the transmission destination of the VLAN is regarded as corresponding. The transmission processing unit 12 instructs the transmission processing unit 12 to rewrite the transmission path in the mouth of the active system path, and the transmission processing unit 12 rewrites the transmission rule according to the instruction (step S7), and returns to step S3. In step S4, it is determined that the transmission processing unit is not In the case of an obstacle corresponding to the transmission path of the preparatory system (NO in step S4), the switching control unit 13 updates the usage path information by using the selection system of the VLAN as a standby system, and transmits the transmission destination of the VLAN. The transmission processing unit 12 instructs the transmission processing unit 12 to rewrite the transmission path in response to the opening of the standby system path, and the transmission processing unit 12 rewrites the transmission rule according to the instruction (step S7), and returns to step S3. The processing (the processing of step S1 to step S7) is the same as the conventional one, for example, the same as ITU-T recommendation G. 8031. Further, the processing of the obstacle recovery is also performed. The same operation is performed in the ITU-T recommendation G. 8031. On the other hand, in step S1, it is determined that the notification of the obstacle detection has not been received from the obstacle monitoring unit 14 (NO in step S1), and cut 14 322773 201218685 The switching control unit 13 determines that k is notified from the traffic flow buffer unit 15 that the traffic flow exceeding the threshold value is "number (whether or not the threshold value is exceeded) (step S9), and is not notified (four) After the value of the traffic flow and the port number ("No" in step S9), the process returns to step Sb. In step S9, the traffic flow and the port number that have been notified that the threshold has been exceeded are determined. In the case (step S9 < U 1 (4) _ 13, the VLAN having exceeded the threshold value is judged based on the notified traffic flow rate and the port number and the use path information (step s1). The change control unit 13 judges whether or not there is unprocessed among the (10) determined in the step s1 (the following steps si2 to s(4) are not performed (step S11), and there is no unprocessed VUN. (No in step su) "Return to step si. If there is an unprocessed VLM ("YES" in step sii), the switching control unit 13 has a plurality of unprocessed VLANs that are unprocessed. The case is any one of the VLMs, and it is judged based on the use path information whether or not the mouth of the selection system corresponding to the VUN exceeds the threshold (step S12). For example, the usage path information shown in Fig. 3 can be maintained, and the traffic volume of 8〇% of the physical bandwidth can be measured at the port #2. In this case, for the use of the current system, port #2 is selected as the selection system, and the threshold is set to 60% of VLAN #5; and the current system is used as the selection system, and the threshold is set to 8 〇% of VUN#7, judge that the port corresponding to the VLAN selection system exceeds the threshold. In step S12, it is determined that the port corresponding to the selection system of the VLAN does not exceed the threshold (NO in step S12), and the process returns to step SU. In step S12+, it is determined that the port corresponding to the selection system 322773 15 201218685 exceeds the threshold ("YES" in step S12), and the highest priority of the VLAN is obtained according to the use path information, and A transmission rule for transmitting the traffic of the highest priority order or less to the non-selection system is generated (step S13). Then, the transmission processing unit 12 is instructed to update to the transmission rule 'after the transmission of the transmission rule', and the transmission processing unit 12 updates the transmission rule in accordance with the instruction (step S14). In the case where the usage path information shown in FIG. 3 can be maintained, for example, when the traffic flow of 80% of the physical bandwidth is measured at the port #2, it is determined in step S13 that the VLAN #5 exceeds the threshold value, and In step S14, a transmission rule is generated in such a manner that the traffic corresponding to the highest priority of the highest priority of the VLAN #5 is transmitted to the port #4 of the standby system. As described above, in the present embodiment, the traffic below a certain priority is switched to the path of the non-selected system for the VLAN in which the traffic of the selected system has exceeded the threshold. Therefore, the traffic of the higher priority order is not adversely affected by the communication interruption caused by the handover, and the traffic of the selected system can be suppressed to be low. In addition, in the case of switching between the above-mentioned hybrids, when the monitoring operation of the traffic flow continues, and the congestion of the port 21_丨 to 21-5 after the threshold is exceeded, the traffic flow becomes predetermined. In the case of a value below the value, it is also possible to reset to the state before the switching at the time of the miscellaneous (the traffic that has been transmitted as the selection system in the path of the hybrid system before the handover). Further, in the present embodiment, the switching control unit 13 has a function of judging whether or not the selection of the system diameter is mixed, but the hybrid determination means and the switching control unit 13 can be separately provided. In the case of 322773 16 201218685 S1 to the step, the hybrid determination means performs the processing of the small step S12 based on the use of the route information, and the switching control unit 13 performs the processing of steps S13 and S14 based on the use of the route information. In addition, although it is assumed that the priority is higher, the requirement for communication interruption is stricter, and the traffic below a certain priority is switched to the non-selection system for the VLAN in which the traffic of the selected system has exceeded the threshold. The path 'but, for example, in the track with lower premiums, there is also a wire that is more secretive for communication breaks. In order to make such a material, the needle sets a threshold for each-priority order and determines whether or not to perform the switching. Fig. 10 is a diagram showing an example of the use path information for the case where the threshold value is set for each priority order. 4fe. /- A Next figure. In the case of setting the threshold for the parent-priority order, for example, as shown in Fig. 10, for each vlan and the priority order, the 埠σ number, the threshold value, and the reserve system are used. The number, and the information of the selection system, and in step S10, are combined with the VLM and the priority order that exceed the threshold. Then, the subsequent steps su to step 4 are performed for each VLAN and a combination of priority orders. Further, the method of judging the switching using the highest priority order illustrated in Fig. 3 may be considered as an example of the method of performing the switching for each of the preceding positions. For example, 'the entry that prioritizes the priority of the VLAN and the highest priority order, as the use of the road technology information in the form shown in the first () diagram, and the difference; The same movement as (4) the highest priority is also in the case of the selection of the system. In the case of the selection system, the priority is used to assign the traffic to the selection (four) and the road of the H system 322773 17 201218685 Trail' However, it is not limited to this, and it is also possible to allocate traffic using a reference other than the priority order. Further, in the present embodiment, the path switching is performed in accordance with the priority order of the traffic when the selection system is mixed. However, the path switching using the priority order may be performed when the obstacle occurs. For example, in the case of maintaining the usage path information shown in FIG. 3, when an obstacle occurs in the path of the active system, the data of the traffic below the highest priority is not transmitted, and the data is discarded, and the highest priority is exceeded. The coordinated traffic is transmitted to the path of the standby system. Specifically, when the selection system is selected as the standby system in step S6 of FIG. 9, the traffic exceeding the highest priority order is switched to the path of the standby system, and the data of the traffic below the highest priority order is discarded. The way to generate transmission rules. In this way, a path with a low communication capacity can be used in the communication path of the standby system. Further, in the case of performing both of the above-described mismatching and the switching of the priority order when the obstacle occurs, the highest priority order corresponding to each can be individually set. Further, in the present embodiment, it is judged whether or not the selection system is mixed based on the traffic flow rate of each port. However, when it is possible to detect the occurrence of the miscellaneous by other means such as detection of the delay time, it is also possible to borrow It is judged by other means whether it is mixed. Further, in the present embodiment, the case where a plurality of VLANs are set is exemplified. However, if the two communication paths of the active system and the standby system are set, the hybrid time switching method of the present embodiment can be applied. In a communication system where no VLAN is set. In this case, because of the priority information, the value of the VLAN tag cannot be used, so the priority information of the other 18 322773 201218685 is used to select the switch to switch the path to the non-selected system. Further, in the case where two or more paths are set in advance, the hybrid time switching method of the present embodiment can also be applied. In this case, although there are a plurality of paths other than the selected system, one path may be used as the transmission path of the traffic with the highest priority or less, or two or more paths may be the highest priority. In the following embodiment, the switching control unit 13 maintains the threshold corresponding to the traffic flow of the selected system for each VLAN and the case where the threshold is exceeded. The usage path information of the priority order switched to the non-selected system is stored, and the path switching is indicated according to the usage path information and the traffic flow of each port, and the transmission processing unit 12 follows the path switching indication after the switching. Transfer in the path. Therefore, it is possible to reduce the confusion of the selected system path (the path in use) without interrupting the communication of the priority traffic. Embodiment 2. Next, the path switching method according to the second embodiment of the present embodiment will be described. The configuration of the communication system of this embodiment is the same as that of the first embodiment. Further, the configuration of the communication device 1 of the present embodiment is the same as that of the first embodiment. The constituent elements having the same functions as those of the first embodiment are denoted by the same reference numerals as those of the first embodiment, and the description thereof will be omitted. In the first embodiment, a path switching method for one-way communication from the communication device 1 to the communication device 2 has been described. In the present embodiment, when the two-way communication from the communication device 1 to the communication device 2 and from the communication device 322773 19 201218685 2 to the communication device 1 is performed, the same path is used in both directions (indicating direction) Explain the case for the opposite). In the present embodiment, the communication device 2 has the same configuration as that of the communication device 1. Further, in the case of bidirectional communication, in the case where the path is set for each direction, the operation of the first embodiment may be performed by the communication device 1 and the communication device 2, respectively. In the case where the same path is used in both directions, when the communication device 1 switches the path, it is necessary to notify the communication device 2 of the VLAN after the switching path and the priority order. Then, the "passing device" 2 sets a path for transmitting data to the communication device 1 in accordance with the notification. Although the notification method may be any method, the following description will be made by taking, for example, the case of using the APS (Automatic Protection Switching) protocol defined by ITU-T G.8031. Fig. 11 is a diagram showing an example of a configuration of an APS protocol message (APS message) format. Figure 12 is a diagram showing the information contained in the data format of the APS Agreement. As shown in Figure 11, the data used by the APS protocol includes Request/State, Protection Type, Requested Signal, and Bridged Signal. ). Fig. 12 is a view showing the values and meanings of the items of the APS message format shown in Fig. 11. Fig. 13 is a sequence diagram showing an example of a path switching sequence in the case of using an APS message. In Fig. 13, the switching sequence at the time of occurrence of the obstacle is shown, which is the same as the conventional linear protection switching technique.

第13圖的NR,係顯示在Request/State中設定有NR 20 322773 201218685 (No Request :沒有要求)的APS訊息;而SF,係顯示在 Request/State 中設定有 SF(Signal Fail :信號失效)的 APS 訊息。又,r/b,係為 Request/Bridged Signal 之簡 稱。 在第13圖中係顯示WEST與EAST之二個通訊裝置進行 雙向通訊之例。WEST及EAST係形成與實施形態1所示的 通訊裝置1相同的構成。但是,在實施形態1中,係控制 發送時的路徑之切換;相較於此,在本實施形態中,由於 是以在雙向中使用同一路徑為前提,所以當發送路徑變更 時接收路徑也會變更。在本實施形態中,通訊介面16係具 有收發功能,而切換控制部13,也會針對接收路徑之切換 (從通訊介面16之哪個埠口接收)進行控制,且以在所選擇 後的路徑進行接收的方式產生傳輸規則。 第13圖之SEL,係顯示將接收用的路徑於現用系統與 預備系統間切換之選擇器(select〇r)的狀態;其中白色部 刀係顯示從現用系統接收之狀態;塗滿部分,係顯示從預 備系統接收之狀態。BRG,係顯示將發送用的路徑於現用系 统與預備系統間切換之橋接器(丨dge)的狀態;其中白色 邠分係顯示發送至現用系統之狀態;塗滿部分,係顯示發 送至預備系統之狀態。又,顯示於左侧的SEL及BRG,係 顯示WEST之狀態;顯示於右側的sel及BRG,係顯示EAST 之狀態。另外,在此,切換控制部13係實施Aps協定處理。 亦即,切換控制部13係按照APS訊息之產生及接收到APS 讯息時之APS協定而實施處理(切換處理等)。又,所產生 322773 201218685 的APS訊息’係經由傳輸處理部12及通訊介面而發送,且 經由傳輸處理部12及通訊介面而為切換控制部13所接收。The NR in Fig. 13 shows that the APS message of NR 20 322773 201218685 (No Request: not required) is set in the Request/State; and the SF shows that the SF (Signal Fail) is set in the Request/State. APS message. Also, r/b is a short name for Request/Bridged Signal. In Fig. 13, an example of two-way communication between the two communication devices of WEST and EAST is shown. The WEST and EAST systems have the same configuration as the communication device 1 shown in the first embodiment. However, in the first embodiment, the switching of the path at the time of transmission is controlled. In contrast, in the present embodiment, since the same path is used in both directions, the reception path is also changed when the transmission path is changed. change. In the present embodiment, the communication interface 16 has a transmission/reception function, and the switching control unit 13 also controls the switching of the reception path (which terminal is received from the communication interface 16), and performs the path after the selection. The method of receiving generates a transmission rule. The SEL of Fig. 13 shows the state of the selector (select〇r) for switching the path for reception between the active system and the standby system; wherein the white part shows the state received from the active system; Displays the status received from the standby system. BRG is the state of the bridge (丨dge) that switches the path for transmission between the active system and the standby system; the white 邠 line shows the status sent to the active system; the full part is displayed and sent to the standby system. State. Further, the SEL and BRG displayed on the left side show the state of WEST; the sel and BRG displayed on the right side show the state of EAST. Here, the switching control unit 13 performs the Aps protocol processing. That is, the handover control unit 13 performs processing (handover processing, etc.) in accordance with the generation of the APS message and the APS protocol when the APS message is received. Further, the generated APS message of 322773 201218685 is transmitted via the transmission processing unit 12 and the communication interface, and is received by the switching control unit 13 via the transmission processing unit 12 and the communication interface.

在第13圖之起初狀態中,從WEST至EAST方向、從 EAST至WEST方向之雙向均使用現用系統之通訊路徑。WEST 及EAST係分別朝向對方裝置進行定期的APS訊息之發送 (APS定期發送)(步驟S21、S22)。在未發生障礙而使用現 用系統之通訊路徑的情況時,WEST及EAST係發送顯示並 未在預備系統做任何收發的NR(r/b=null)訊息。NR(r/b= null)訊息,係對 Request/State 設定 NR,且將 Request 與Bridged Signal分別設定為Null Signal(空信號)的APS 訊息。 其次’假設在現用系統之通訊路徑發生單向(從WEST 至EAST之方向)的通訊中斷。EAST係當檢測到該通訊中斷 時,會將本局的路徑(收發之路徑)切換至預備系統,且發 送APS訊息(步驟S23)。該APS訊息係作為顯示檢測到 Signal Fail(通訊中斷),且以預備系統進行收發的外 (r/b=normal)訊息而發送(步驟 S24)。SF(r/b=normal)訊 息係對 Request/State 設定 SF,且將 Request 與 BridgedIn the initial state of Fig. 13, the communication path of the active system is used in both directions from the WEST to the EAST direction and from the EAST to the WEST direction. The WEST and EAST are respectively transmitting regular APS messages to the counterpart device (APS periodically) (steps S21 and S22). In the case where the communication path of the active system is used without an obstacle, WEST and EAST send an NR (r/b=null) message indicating that no transmission or reception is made in the standby system. The NR (r/b= null) message is set to NR for Request/State, and the Request and Bridged Signal are respectively set to the APS message of Null Signal. Secondly, it is assumed that the communication path of the active system is interrupted by one-way communication (from the direction of WEST to EAST). When detecting the communication interruption, the EAST switches the path of the local office (the path of transmission and reception) to the standby system, and transmits an APS message (step S23). The APS message is transmitted as an external (r/b=normal) message indicating that a Signal Fail is detected and transmitted and received by the preparatory system (step S24). The SF(r/b=normal) message sets the SF for Request/State and will request and Bridged

Signal 分別設定為 Normal Traffic Signal 的 APS 訊息。 WEST係即使在檢測出EAST為單向之通訊中斷之後, 在被通知該意旨為止’仍會發送NR(r/b=null)訊息作為定 期發送(步驟S25)。然後,WEST係當接收到SF(r/b=n〇rmai) 訊息時,將本局之收發路徑切換至預備系統(步驟S26)。 然後,WEST係發送顯示雖然為N〇 Request(在本局並未檢 322773 22 201218685 測出通訊中斷)但仍按照來自對向裝置(EAST)之要求而在 預備系統進行收發的NR(r/b=normal)訊息(步驟S27)。 WEST係在之後的APS定期發送中,發送NR(r/b=norma 1) 訊息(步驟S29)。又,EAST係發送SF(r/b=normal)訊息作 為APS之定期發送(步驟S28、S30)。 另外,針對在上述的處理中使用的APS訊息内之 Protection Type,設定按照在該通訊系統中設定的切換方 法之值。在本實施形態中’由於是以雙向通訊(需要與對向 裝置之路徑的共同同意之通訊)為前提,所以Protection Type係設定對應於雙向通訊的值。又,由於路徑切換係針 對每一 VLAN實施,所以會針對每一 VLAN實施以上的步驟 S21至步驟S30。 其次,針對本實施形態之混雜時的路徑切換加以說 明。在本實施形態中,由於是雙向通訊,所以發送侧之通 訊裝置1是如在實施形態1所述般’在混雜時根據優先順 位資訊針對每一訊務選擇路徑的情況,對向裳置也會針對 訊務以成為同一路控:(方向為相反)的方式切換發送路彳Λ。 因而,在本實施形態中,通訊裝置1之切換控制13係將使 用作為切換至對向裝置的基準之優先順位資訊通知對向路 徑。在此,舉例說明如第1圖所示通訊裝置1進行與通訊 褒置2之通訊的情況。 在本實施形態中’係將優先順位資訊儲存於Aps訊包 中並予以發送。第Η圖係顯示儲存有優先順位資訊的Afs 訊息之構成例的示意圖。在第14圖所示的aps訊_中,係 322773 23 201218685 將第11圖所示的APS訊息之Reserved之區域的—部分使 用作為優先順位資訊之區域。第14圖中,係如實施形熊i 所例示將VLAN標籤中所含的PCP(或是I-PCP)使用作為優 先順位資訊,且重新定義儲存PCP的區域。然後,將與實 施形態1中所說明之最高優先順位對應的PCP之值儲存於 該區域。另外,儲存於APS訊息的優先順位資訊並未限於 PCP,只要是在與對向裝置之間預先共同同意的優先順位資 訊則使用怎樣的資訊均可。另外,儲存有優先順位資訊的 APS訊息之Request/State係亦可定義顯示實施混雜時切 換中的值並使用該值,且亦可使用SF等之既存的值。r/s 係亦可使用定義在實施混雜時切換中所對應的值,例如亦 可使用 Normal Traffic Signal。 另外’由於APS訊息係針對每一 VLAN發送,所以APS 訊息之發送側的通訊裝置1係將儲存有對應於該VLAN之最 高優先順位的APS訊息發送。發送側之通訊裝置1係在實 加混雜時切換(使用預備系統與現用系統之雙方)的情況, 會在APS訊息中儲存pCP並予以發送;而在與習知同樣只 在預備系統或現用系統之其中一條路徑進行發送的情況, 不會在APS訊息中儲存PCP。藉此,通訊裝置2係可獲得 相對向的通訊裝置1是否依混雜時切換而進行發送的資 訊、及最高優先順位。另外,通訊裝置丨亦可另外通知是 否實施混雜時切換(使用預備系統與現用系統之雙方),且 亦可在APS訊息中常態儲存pep。 在通訊裝置2中’當認知到相對向的通訊裝置1是依 24 322773 201218685 混雜時切換而進行發 選擇系統的路徑(使用:夺,就判斷在該時間點的發送用之 施與在實施形態發送的路徑)中有發生混雜,且實 理。此睹,麻会M 的步驟S13及步驟S14同樣的處 、、的最高優先順位係以APS訊息所通知的 PCP。在步驟S14更新 哎大的 訊裝置!之發送H ,通訊裝置2係在與來自通 ^ 、 崎彳二相反的發送路徑發送各優先順位之旬 矛、通訊裝置2係在檢測出混雜的情況時,會實施與上述 之通Λ裝置1同樣的動作’而通訊裝置1會實施與上述之 通訊裝置2同樣的動作。 、第15圖係顯不儲存有優先順位資訊的Aps訊息之另— 構成例的不意圖。在第丨4圖中,雖然在APS訊息中餘存有 對應於最高優先順位的pep,但是在第15圖之射,則是 將與切換對象之(在非選擇系統發送的)訊務對應 的優先順 位(切換對象優先順位)儲存於Aps訊息中。如在實施形態 1之第10圖所例示’在針對每—優先順位設定臨限值的情 況時,在進行混雜時切換的情況,例如,可將以第15圖之 形式在非選擇系統發送的優先順位通知通訊裝置2。 另外,在此,雖已說明將優先順位資訊儲存於APS訊 息中並予以通知之例,但是優先順位資訊並不限於以此方 法通知,亦可以任何方法來通知。 第16圖係顯示實施混雜時切換的情況之序列例的示 意圖。在第16圖中,係將WEST與EAST分別當作與通訊裝 置1同樣的通訊裝置。在此,於混雜時切換之實施中,Aps 訊息之Request/State係使用顯示為實施混雜時切換中之 322773 25 201218685Signal is set to the APS message of Normal Traffic Signal. The WEST system transmits an NR (r/b=null) message as a regular transmission even after detecting that the EAST is a one-way communication interruption (step S25). Then, when receiving the SF (r/b=n〇rmai) message, WEST switches the transmission and reception path of the local office to the standby system (step S26). Then, the WEST system sends the display NR (r/b=, which is the N〇Request (the communication interruption is not detected in this office), but it is still transmitted and received in the standby system according to the requirements from the opposite device (EAST). Normal) message (step S27). The WEST transmits an NR (r/b=norma 1) message in the subsequent APS periodic transmission (step S29). Further, EAST transmits a SF (r/b = normal) message as a regular transmission of the APS (steps S28, S30). Further, for the Protection Type in the APS message used in the above processing, the value according to the switching method set in the communication system is set. In the present embodiment, since the two-way communication (communication requiring mutual agreement with the path of the opposite device) is assumed, the Protection Type sets the value corresponding to the two-way communication. Further, since the path switching is performed for each VLAN, the above steps S21 to S30 are performed for each VLAN. Next, the route switching at the time of mixing in the present embodiment will be described. In the present embodiment, since the communication device 1 on the transmitting side selects a route for each traffic based on the priority order information as in the first embodiment, as in the first embodiment, the communication device 1 is also placed in the opposite direction. The transmission route is switched in such a way that the traffic becomes the same road control: (the direction is opposite). Therefore, in the present embodiment, the switching control 13 of the communication device 1 notifies the opposite path using the priority order information as the reference for switching to the opposite device. Here, a case where the communication device 1 performs communication with the communication device 2 as shown in Fig. 1 will be exemplified. In the present embodiment, the priority order information is stored in the APS packet and transmitted. The figure is a schematic diagram showing a configuration example of an Afs message storing priority information. In the aps message shown in Fig. 14, the section 322773 23 201218685 uses the area of the reserved area of the APS message shown in Fig. 11 as the area of the priority order information. In Fig. 14, the PCP (or I-PCP) included in the VLAN tag is used as the priority information as exemplified by the implementation of the bear i, and the area in which the PCP is stored is redefined. Then, the value of the PCP corresponding to the highest priority order described in the first embodiment is stored in the area. In addition, the priority information stored in the APS message is not limited to the PCP, and any information may be used as long as it is a prioritized information that is mutually agreed with the opposite device. In addition, the Request/State of the APS message storing the priority order information may also define and display the value in the switching when the intermixing is performed, and may also use the existing value such as SF. The r/s system can also be used to define the value corresponding to the handover when the hybrid is implemented. For example, Normal Traffic Signal can also be used. In addition, since the APS message is transmitted for each VLAN, the communication device 1 on the transmitting side of the APS message transmits an APS message storing the highest priority order corresponding to the VLAN. The communication device 1 on the transmitting side switches (and uses both the standby system and the active system) when the hybrid is mixed, and stores the pCP in the APS message and transmits it; as in the conventional system, it is only in the standby system or the active system. In the case where one of the paths is sent, the PCP is not stored in the APS message. Thereby, the communication device 2 can obtain the information on whether or not the communication device 1 is to be switched when it is switched, and the highest priority. In addition, the communication device may additionally notify whether or not to perform the hybrid handover (using both the standby system and the active system), and may also store the pep in the APS message. In the communication device 2, when it is recognized that the communication device 1 in the opposite direction is switched according to 24 322773 201218685, the path of the transmission selection system is determined (use: the game is used for the transmission at the time point) There is a miscellaneous in the path sent) and it is reasonable. In this case, the highest priority order of steps S13 and S14 of Ma Club M is the PCP notified by the APS message. Update the large device in step S14! In the case of the transmission H, the communication device 2 transmits the priority spit with the transmission path opposite to the communication device and the rugged device 2, and the communication device 2 detects the mismatch, and performs the communication device 1 described above. In the same operation, the communication device 1 performs the same operation as the above-described communication device 2. Figure 15 shows the other example of the configuration of the Aps message that does not store the priority information. In Fig. 4, although the pep corresponding to the highest priority order remains in the APS message, the shot in Fig. 15 corresponds to the message of the switching object (sent in the non-selection system). The priority order (the switching object priority order) is stored in the Aps message. As exemplified in FIG. 10 of the first embodiment, when the threshold value is set for each priority order, the case of switching when performing the hybrid, for example, can be transmitted in the form of FIG. 15 in the non-selection system. The communication device 2 is notified of the priority order. Further, although the example in which the priority order information is stored in the APS message and notified is described here, the priority order information is not limited to the notification by this method, and may be notified by any method. Fig. 16 is a view showing a sequence example of a case where switching at the time of mixing is performed. In Fig. 16, the WEST and EAST are regarded as the same communication devices as the communication device 1, respectively. Here, in the implementation of the hybrid handover, the Request/State of the Aps message is displayed as the implementation of the hybrid handover 322773 25 201218685

16圖中’ SEL及BRG之塗滿部分, 。又,在第 係將該值當作CON)。又,在第 與現用系統之兩者的通訊夕B日Figure 16 shows the full part of the SEL and BRG. Also, the value is treated as CON in the system. Also, in the communication between the first and the active system, the day B

APS定期發 系統之路徑(步驟S31)。 係為進行使用預備系統 此’當EAST藉由某璋口之訊 ,會藉由實施形態1所 作為選擇系統的VLAN(當作切 以下之訊務切換至非選擇 ^後,腿係針對每—切換對象VLAN,發送顯示儲存 有最高優先職之絲時切換實施巾的Aps訊息(c〇n(優 先順位㈣卿。步驟S25係、與第13圖之例相同。當 接收訊息時’會根據最高優先順位而以在非選擇系統發送 最间優先順位以下之訊務的方式進行切換(步驟S33)。在 该情況,WEST之切換控制部13係根據來自EAST之指示, 進行路徑切換。因而’WEST係亦具有作為:根據包含在EAST 檢測出混雜時從EAST通知的最高優先順位之指示切換路 徑的指示切換控制手段之功能。 步驟S27、29係與第13圖之例相同。另外,在此,在 依對向裝置之混雜時切換實施中的通知而實施切換之情 況’雖然也會發送服(r/b=n〇rmal),但是亦可另外選定顯 示係依對向裝置之混雜時切換實施中的通知而實施切換之 值’並發送儲存有該值的APS訊息。又,EAST係將C0N(優 先順位)當作APS定期發送來發送(步驟S34、S35)。 322773 26 201218685 並切換至只使用通常之預 況,使用APS訊息通知該 另外’ EAST係在混雜消除, 備系統或現用系統進行發送的情 意旨0 如此,在本實施形態中,進行雙向通訊的情況,當實 施了與實施形態1同樣的混雜時切換時,切換控制部13就 會在APS訊息中儲存最高優先順位並予以發送。然後 向所接收到的儲存於APStfL息中的最高優先順 位=路徑之切換。因此,即使在將往復之傳輸路徑 設為相㈣情況’亦不會伴隨優先職高的訊務之通訊中 斷而能夠減低現用系統路徑之混雜。 (產業上之可利用性) 、所述,本發明的通訊裝置m統及路徑切 換D係可麵通訊對方的裝置之間預先設定點對點之 現備系統之2路徑的通訊裝置中有效利用,尤 其疋適於傳輪多樣的錢順位之訊 【圖式簡單說明】 第1圖係顯示實施形態1的通訊系統之構成例的示意 圖。 」2 ^卿態丨的執裝置之魏構成例的 示意圖。 第3圖係顯示使用路徑資訊之—例的示意圖。 第4圖係顯示Ethernet(註冊商標)訊框之構成例的示 意圖。 第5圖係顯示C_TAGTCI之構成例的示意圖。 322773 27 201218685 第6圖係顯示S-TAG TCI及B-TAG TCI之構成例的示 意圖。 第7圖係顯示I-TAG TCI之構成例的示意圖。 第8圖係顯示各訊務的現用系統路徑及預備系統路徑 之一例的示意圖。 第9圖係顯示實施形態1的路徑切換處理順序之一例 的流程圖。 第10圖係顯示針對每一優先順位設定臨限值的情況 之使用路徑資訊之一例的示意圖。 第11圖係顯示APS協定的訊息(APS訊息)格式之構成 例的示意圖。 第12圖係顯示APS協定的資料格式中所含之資訊的示 意圖。 第13圖係顯示使用APS訊息的情況之路徑切換順序之 一例的序列圖。 第14圖係顯示儲存有優先順位資訊的APS訊息之構成 例的示意圖。 第15圖係顯示儲存有優先順位資訊的APS訊息之另一 構成例的示意圖。 第16圖係顯示實施混雜時切換的情況之序列例的示 意圖。 【主要元件符號說明】 1、2 通訊裝置 3、4 通訊路徑 28 322773 201218685 11 ' 16 通訊介面 12 傳輸處理部 13 切換控制部 14 障礙監視部 15 訊務流量測定部 21-1 至 21-5 埠口 22-1 至 22-5 埠口 3卜 32、33 —訊務 29 322773The APS periodically issues the path of the system (step S31). In order to use the preparatory system, when EAST uses a certain port, it will use the VLAN of the implementation system as the selection system (as the following message is switched to non-selection ^, the leg is for each - Switch the target VLAN and send the display to display the Aps message (c优先n (priority order (4)) when the highest priority thread is stored. Step S25 is the same as the example in Figure 13. When receiving the message, it will be based on the highest. The priority is switched in such a manner that the non-selection system transmits the most prioritized traffic (step S33). In this case, the WEST switching control unit 13 performs path switching in accordance with an instruction from EAST. Thus, 'WEST The function also includes the function of switching the control means based on the instruction to switch the route from the highest priority order of the EAST notification when the EAST detects the miscellaneous. Steps S27 and 29 are the same as the example of Fig. 13. In the case where the switching in the implementation is switched according to the matching of the opposite device, the switching is performed, although the service is also sent (r/b=n〇rmal), but the display-dependent device may be additionally selected. In the case of the miscellaneous, the notification of the handover is performed and the value of the handover is implemented and the APS message storing the value is transmitted. Further, the EAST transmits the C0N (priority order) as the APS periodically (steps S34, S35). 322773 26 201218685 And switching to the normal use only, using the APS message to notify the other 'Estate is in the hybrid elimination, the standby system or the current system to send the message of 0. In this embodiment, the case of two-way communication, when implemented When the hybrid time switching is performed in the same manner as in the first embodiment, the switching control unit 13 stores the highest priority order in the APS message and transmits it, and then switches to the received highest priority order = path stored in the APStfL information. Therefore, even if the reciprocating transmission path is set to phase (4), the communication of the priority system is not interrupted, and the mix of the active system paths can be reduced. (Industrial availability) The communication device of the invention and the path switching D system can be set in a two-way communication device in which a point-to-point active system is pre-set between devices of the communication partner Effective use, especially for a variety of money order information [simplified description of the drawings] Fig. 1 is a schematic diagram showing a configuration example of the communication system of the first embodiment. Fig. 3 is a schematic diagram showing an example of the use of path information. Fig. 4 is a view showing a configuration example of an Ethernet (registered trademark) frame. Fig. 5 is a view showing a configuration example of C_TAGTCI. 201218685 Fig. 6 is a schematic diagram showing a configuration example of S-TAG TCI and B-TAG TCI. Fig. 7 is a view showing a configuration example of I-TAG TCI. Fig. 8 is a diagram showing an example of an active system path and a preliminary system path of each traffic. Fig. 9 is a flow chart showing an example of the procedure of the path switching processing in the first embodiment. Fig. 10 is a diagram showing an example of usage path information for the case where the threshold value is set for each priority order. Fig. 11 is a diagram showing an example of a configuration of an APS protocol message (APS message) format. Figure 12 is a diagram showing the information contained in the data format of the APS Agreement. Fig. 13 is a sequence diagram showing an example of a path switching sequence in the case of using an APS message. Fig. 14 is a view showing an example of a configuration of an APS message storing priority order information. Fig. 15 is a view showing another configuration example of the APS message storing the priority order information. Fig. 16 is a view showing a sequence example of a case where switching at the time of mixing is performed. [Description of main component symbols] 1, 2 communication device 3, 4 communication path 28 322773 201218685 11 ' 16 communication interface 12 transmission processing unit 13 switching control unit 14 obstacle monitoring unit 15 traffic flow measuring unit 21-1 to 21-5 埠Mouth 22-1 to 22-5 Mouth 3 Bu 32, 33 - Communication 29 322773

Claims (1)

201218685 七、申請專利範圍: 1. 一種通訊裝置,係在與相對向的通訊裝置之間設定複數 條通訊路徑者,其特徵在於,具備: 混雜判定手段,將前述通訊路徑中之1條路徑當作 選擇路徑,且在使用前述選擇路徑進行資料發送的情 況,判定前述選擇路徑是否混雜;以及 切換控制手段,在前述混雜判定手段判定前述選擇 路徑混雜的情況,選擇發送資料中之一部分作為切換對 象資料,且將前述切換對象資料之發送路徑切換至前述 選擇路徑以外之通訊路徑。 2. 如申請專利範圍第1項所述之通訊裝置,其中,復具 備:檢測前述通訊路徑之障礙的障礙檢測手段; 前述切換控制手段係在前述障礙檢測手段於前述 選擇路徑檢測出障礙的情況,將發送資料之發送路徑切 換至前述選擇路徑以外之前述通訊路徑。 3. 如申請專利範圍第1項或第2項所述之通訊裝置,其 中,前述切換控制手段係根據發送資料中所含的優先順 位而選擇前述切換對象資料。 4. 如申請專利範圍第3項所述之通訊裝置,其中’前述切 換控制手段係保持有預先選定的最高優先順位,且選擇 與前述最高優先順位以下之優先順位對應的發送資料 作為刚述切換斜象資料。 5. 如申請專利範園第4項所述之通訊裝置,其中,前述混 雜判定手段係在前述選擇路徑之訊務流量超過預定之 1 322773 201218685 臨限值的情況,判定前述選擇路徑混雜。 6. 如申請專利範圍第3項所述之通訊裝置,其中,前述混 雜判定手段係保持有預先選定的每一優先順位之訊務 流$的臨限值’且在前述選擇路徑之訊務流量超過與發 送> 料之優先順位對應的前述臨限值的情況,選擇該發 送資料作為前述切換對象資料。 7. 如申請專利範圍第丨項或第2項所述之通訊裝置,其 中,針對每一 VLAN,設定複數條通訊路徑; 則述混雜判定手段係針對每一 VLAN判定前述選擇 路徑是否混雜; 刖述切換控制手段係針對每一 VUN切換前述發送 路徑。 8. 如申明專利範圍第3項所述之通訊裝置,其中,針對每 一 VLAN,設定複數條通訊路徑; 則述混雜判定手段係針對每一 VLAN判定前述選擇 路徑是否混雜; 前述切換㈣手段係針對每-VLM切換前述發送 路徑。 9. 如申請專利範圍帛8項所述之通訊裝置’其中,前述切 =控制手段係針對每—職保持有預先選定的最高優 ^位’且選擇與前述最高優先順位以下之優先順位對 〜的發送資料作為前述切換對象資料。 1〇.如申請專利範圍第9項所述之通訊裝置,其中,前述混 雜判定手段係保持有預先選定的每—漏之訊務流量 2 322773 201218685 的臨限值’且針對每—VLAN,在前述選擇路 =量超過預定之臨限值的情況,判定前述‘路:: 11.如申請專利範圍第10項所述之通訊裝置, & 混雜判定手段係保持有預先選定的每- VUN及優 位之組合的訊務流量之臨限值,且在前述選擇路 務流量超過與發送資料之VLM及優先順位之^ = 限值的情況’選擇該發送資料作為前述ς “ a如申請專利範圍第8項至第u項中任―項所述之通訊 裝置’其中,將前述優先順位當作VLAN標籤之PCP。 13·如申請專利範圍第4項、第5項、第9項第iq項中 2-項所述之軌|置,其巾,前述切換控制手段係將 前述最高優細位發送至前述相對向的通訊裝置。 •如7專利範圍第6項或第η項所述之通訊裝置,其 中’前述切換㈣手段係將選擇作為前述賴對象資料 2送資料之優先喷位發送至前述相對向的通訊裝置。 5.如申請專鄕㈣13顿述之軌健,其中,前述 、換控f丨手&係在從前述相對向的通訊裝置接收到前 ^相對向的通裝置用以切換發送路徑的最高優先順 ^的情況時’選擇與所接收到的最高優先順位以下之優 先順位對應的發送資料作為前述城對象資料。 •如申請專利範圍第14項所述之通訊裝置,其中,前述 切換控制手段係在從前述相對向的通訊裝置接收到供 322773 3 201218685 前述相對向的通訊裳置切換發送路 情況時,選擇與所接收到之優先順位對康=先川員仇的 為前述切換對象資料。 。、發送資料作 π.-種通訊“,係具備第丨通喊置 通訊裝置相對向的第2通訊裝置,且在前=前迷第i 置與前述第2通訊裝置之間設定複數條通;^通訊製 行雙向通訊者,其特徵在於: 從,並進 前述第1通訊裝置係具備: 混雜判定手段,將前述通訊路徑中之 選擇路徑,且在使用前述選擇路徑進行資料::徑當作 收的情況,判定前述選擇路徑是否現雜;以及达及接 切換控制手段,在前述混雜判定手段判、、 路徑混雜的情況,選擇發送#料中之—部分=攻選擇 象資料’且將前述切換對象資料之發送路徑切換,2對 選擇路徑以外之通訊路徑,並將供前述切換對象^述 選擇用的預紐件發送至前述第2通訊裳置; 之 鈿述第2通訊裝置係具備: 指^換㈣手段,當從前述帛liim 前述就條件時,根據前述預定條件,選擇發送 -部分作為指示切換資料,且將前述指 送路徑切換至前述選擇路徑以外之通訊路徑4之發 18.種路位切換方法,係在與相對向的通訊 有複數條通訊路徑的通訊裝置中之路徑 = 徵在於,包含: 状乃法其特 322773 4 201218685 混雜判定步驟,將前述通訊路徑中之1條路徑當作 選擇路徑,且在使用前述選擇路徑進行資料發送的情 況,判定前述選擇路徑是否混雜;以及 切換控制步驟,在前述混雜判定步驟判定前述選擇 路徑混雜的情況,選擇發送資料中之一部分作為切換對 象資料,且將前述切換對象資料之發送路徑切換至前述 選擇路徑以外之通訊路徑。 19. 一種路徑切換方法,係具備第1通訊裝置、及與前述第 1通訊裝置相對向的第2通訊裝置且在前述第1通訊裝 置與前述第2通訊裝置之間設定複數條通訊路徑並進 行雙向通訊的通訊系統中之路徑切換方法,其特徵在 於,包含: 混雜判定步驟,在前述第1通訊裝置將前述通訊路 徑中之1條路徑當作選擇路徑,且使用前述選擇路徑進 行資料之發送及接收的情況,判定前述選擇路徑是否混 雜; 切換控制步驟,當前述第1通訊裝置在前述混雜判 定步驟判定前述選擇路徑為混雜時,則選擇發送資料中 之一部分作為切換對象資料,且將前述切換對象資料之 發送路徑切換至前述選擇路徑以外之通訊路徑,並將供 選擇前述切換對象資料用的預定條件發送至前述第2 通訊裝置;以及 指示切換控制步驟,當前述第2通訊裝置從前述第 1通訊裝置接收到前述預定條件時,則根據前述預定條 5 322773 201218685 件,選擇發送資料之一部分作為指示切換資料,且將前 述指示切換資料之發送路徑切換至前述選擇路徑以外 之通訊路徑。 6 322773201218685 VII. Patent application scope: 1. A communication device is a device that sets a plurality of communication paths between a communication device and a corresponding communication device, and is characterized in that: a hybrid determination means is provided, and one of the communication paths is used as a communication path A selection path is used to determine whether the selected path is confounded when the data is transmitted using the selection path; and the switching control means selects one of the transmission data as the switching target when the hybrid determination means determines that the selected path is mixed. Data, and the transmission path of the switching object data is switched to a communication path other than the selected path. 2. The communication device according to claim 1, wherein the communication device includes: an obstacle detection means for detecting an obstacle of the communication path; and the switching control means is configured to detect an obstacle in the selection path by the obstacle detection means And switching the transmission path of the transmission data to the foregoing communication path other than the foregoing selection path. 3. The communication device according to claim 1 or 2, wherein the switching control means selects the switching target data based on a priority order included in the transmission data. 4. The communication device according to claim 3, wherein the “the aforementioned switching control means maintains a pre-selected highest priority order, and selects a transmission data corresponding to the priority order below the highest priority order as the just-described switching. Oblique data. 5. The communication device according to claim 4, wherein the hybrid determination means determines that the selection path is confounded when a traffic flow rate of the selected path exceeds a predetermined threshold value of 1 322773 201218685. 6. The communication device according to claim 3, wherein the hybrid determination means maintains a pre-selected threshold value of each priority traffic stream $ and a traffic flow in the selected path When the threshold value corresponding to the priority of the transmission > is exceeded, the transmission data is selected as the switching target data. 7. The communication device according to claim 2 or 2, wherein a plurality of communication paths are set for each VLAN; and the hybrid determination means determines whether the selected path is mixed for each VLAN; The handover control means switches the aforementioned transmission path for each VUN. 8. The communication device according to claim 3, wherein a plurality of communication paths are set for each VLAN; and the hybrid determination means determines whether the selected path is mixed for each VLAN; the foregoing switching (four) means The aforementioned transmission path is switched for each-VLM. 9. The communication device as claimed in claim 8 wherein the foregoing cutting control means maintains a pre-selected highest priority for each job and selects a priority order from the highest priority order below. The transmission data is used as the aforementioned switching object data. 1. The communication device according to claim 9, wherein the hybrid determination means maintains a pre-selected threshold value of each of the leaked traffic flows 2 322773 201218685 and for each VLAN In the case where the above-mentioned selection path=the amount exceeds the predetermined threshold value, it is determined that the above-mentioned road:: 11. The communication device according to claim 10 of the patent application scope, & the judging determination means maintains a pre-selected per-VUN and The threshold of the traffic flow of the combination of the superiors, and in the case where the selected traffic flow exceeds the VLM of the transmitted data and the priority of the transmission of the data = 'select the transmission data as the foregoing ς "a as the scope of the patent application The communication device described in any one of item 8 to item 'where the priority order is regarded as the PCP of the VLAN tag. 13· As in the fourth, fifth, and ninth items of the patent scope, The above-mentioned switching control means transmits the highest priority position to the aforementioned communication device. The communication device according to item 6 or item 7 of the Patent No. 7 , where 'the aforementioned switch (four) The means sends the priority spray position which is selected as the data to be sent to the aforementioned relative communication device. 5. If the application is special (4) 13 tracks, the above-mentioned, change control f丨手& When receiving the forward-opposing device from the opposite communication device to switch the highest priority of the transmission path, 'select the transmission data corresponding to the priority order below the highest priority order received as the foregoing The communication device according to claim 14, wherein the switching control means receives the transmission direction of the communication device 322773 3 201218685 from the opposite communication device. When selecting the priority order that has been received, the following is the information of the above-mentioned switching object. The data is transmitted as π.-type communication, and the second is the second aspect of the communication device. a communication device, and a plurality of links are set between the front=front fan and the second communication device; the communication communication two-way communicator is characterized by: The first communication device includes: a hybrid determination means for determining whether the selected path is present or not when the data is selected as the selected path in the communication path; and In the case where the hybrid determination means determines that the path is mixed, the transmission control means selects the "part=flag selection image data" and switches the transmission path of the switching target data, and performs communication other than the selected pair of paths. a path, and a pre-key to be used for selecting the switching object is sent to the second communication device; the second communication device includes: means (4) means, when the condition is as described above from the 帛liim According to the foregoing predetermined condition, the transmission-part is selected as the indication switching data, and the above-mentioned finger routing path is switched to the communication path 4 other than the selected path. 18. The road location switching method has a plurality of communication with the opposite direction. The path in the communication device of the communication path = the sign is: contains: No. 322773 4 201218685 Hybrid judgment Taking one of the aforementioned communication paths as a selection path, and determining whether the selected path is mixed if data is transmitted using the selected path; and switching control step of determining the selected path mixed in the hybrid determination step In the case, one of the transmission materials is selected as the switching target data, and the transmission path of the switching target data is switched to the communication path other than the selected path. 19. A path switching method comprising: providing a first communication device and a second communication device facing the first communication device; and setting a plurality of communication paths between the first communication device and the second communication device A path switching method in a communication system for two-way communication, comprising: a hybrid determination step of: the first communication device uses one of the communication paths as a selection path, and transmits the data using the selected path And determining whether the selection path is confounded or not; and in the switching control step, when the first communication device determines that the selection path is mixed in the hybrid determination step, selecting one of the transmission data as the switching target data, and the foregoing a transmission path of the switching target data is switched to a communication path other than the selected path, and a predetermined condition for selecting the switching target data is transmitted to the second communication device; and a switching control step is performed, wherein the second communication device is from the foregoing When the first communication device receives the aforementioned predetermined condition, Then, according to the foregoing predetermined clause 5 322773 201218685, one part of the transmission data is selected as the instruction switching data, and the transmission path of the instruction switching data is switched to the communication path other than the foregoing selection path. 6 322773
TW100105030A 2010-03-29 2011-02-16 Communication apparatus, communication system and route switching method TW201218685A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2010/055586 WO2011121705A1 (en) 2010-03-29 2010-03-29 Communication apparatus, communication system and path switching method

Publications (1)

Publication Number Publication Date
TW201218685A true TW201218685A (en) 2012-05-01

Family

ID=44711500

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100105030A TW201218685A (en) 2010-03-29 2011-02-16 Communication apparatus, communication system and route switching method

Country Status (2)

Country Link
TW (1) TW201218685A (en)
WO (1) WO2011121705A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023199850A1 (en) * 2022-04-15 2023-10-19 株式会社日立製作所 Railway communication system and railway communication method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3623997B2 (en) * 1994-12-28 2005-02-23 富士通株式会社 Digital exchange relay system and digital exchange
JP2007159005A (en) * 2005-12-08 2007-06-21 Fujitsu Ltd Wireless network system, communication traffic switching method in same, traffic processing apparatus used for same, line multiplexing device, and host device

Also Published As

Publication number Publication date
WO2011121705A1 (en) 2011-10-06

Similar Documents

Publication Publication Date Title
US7039005B2 (en) Protection switching in a communications network employing label switching
US8139479B1 (en) Health probing detection and enhancement for traffic engineering label switched paths
EP2190150B1 (en) A method, device and system of multi-protocol label exchange traffic engineering flow capacity switch
US8908537B2 (en) Redundant network connections
CN102271048B (en) Service protecting method in aggregated links and device
US8477600B2 (en) Composite transport functions
WO2006034645A1 (en) A method for processing the failure between the egress lsr and the data equipment connected therewith
CN102594713B (en) A kind of method and apparatus realizing Explicit Congestion and notice
KR101688682B1 (en) Fast lsp alert mechanism
US20090185495A1 (en) Method, system of fault detection for pseudo wires and service provider edge router thereof
US20100150160A1 (en) Interworking oam between ethernet and atm/frame relay networks
CN106936656B (en) Method, device and system for realizing packet loss detection
US9118580B2 (en) Communication device and method for controlling transmission priority related to shared backup communication channel
US9716639B2 (en) Protection switching method and system
US8971172B2 (en) Network and fault recovery method
TW201218685A (en) Communication apparatus, communication system and route switching method
US8457138B1 (en) Systems and methods for propagating frame relay congestion notifications through a packet network
CN103973498B (en) A kind of many home network active-standby path systems of selection and equipment
CN106169969B (en) Method, related equipment and system for establishing label switching path of virtual private network
WO2016202095A1 (en) Path selection method and device, routing bridge, and network
JP2003338831A (en) Switching method for mpls network
JP2005039362A (en) Method and system for path control over packet communication system
EP4246897A1 (en) Method, apparatus, and system for managing tunnel
US20230379246A1 (en) Method and Apparatus for Performing Protection Switching in Segment Routing SR Network
KR20150132767A (en) Method and apparatus for transmitting data based on point-to-multipoint using sub-gourp on multi-protocol label switching-transport profile network