TW201731261A - Communication system, communication equipment and method for switching communication destination - Google Patents

Communication system, communication equipment and method for switching communication destination Download PDF

Info

Publication number
TW201731261A
TW201731261A TW106100829A TW106100829A TW201731261A TW 201731261 A TW201731261 A TW 201731261A TW 106100829 A TW106100829 A TW 106100829A TW 106100829 A TW106100829 A TW 106100829A TW 201731261 A TW201731261 A TW 201731261A
Authority
TW
Taiwan
Prior art keywords
path
communication
identification number
communication device
destination
Prior art date
Application number
TW106100829A
Other languages
Chinese (zh)
Other versions
TWI640176B (en
Inventor
村瀬透
Original Assignee
三菱電機股份有限公司
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 三菱電機股份有限公司 filed Critical 三菱電機股份有限公司
Publication of TW201731261A publication Critical patent/TW201731261A/en
Application granted granted Critical
Publication of TWI640176B publication Critical patent/TWI640176B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

In a communication system of this invention, a routing controller has a routing table, and when a communication equipment (12) receives a switching request for requesting the communication destination of a device being switched from a communication equipment (11) to itself, in a state that the communication equipment (11) has an identification number A and the communication equipment (12) has an identification number B, the communication equipment (12) changes the identification number of itself to A, and the communication equipment (11) performs a path-changing processing for changing a path identifier a in the routing table corresponding to the identification number A, to a path identifier b recorded in the routing table as a path identifier corresponding to the identification number B.

Description

通信系統、通信機器及通信目的地的切換方法 Communication system, communication device, and communication destination switching method

本發明係有關多重化的通信系統(system)、該通信系統的通信機器及通信目的地的切換方法。 The present invention relates to a multiplexed communication system, a communication device of the communication system, and a method of switching a communication destination.

習知技術中,係有相對於作為通信源的通信機器,具備有複數個能作為通信目的地的通信機器之技術,亦即將通信目的地裝置多重化之技術。在如上述將通信目的地裝置多重化的技術中,係進行在複數個通信目的地裝置間切換實際作為通信目的地的裝置,亦即進行通信目的地的切換。 In the conventional technology, there is a technique in which a communication device as a communication source is provided with a plurality of communication devices that can serve as communication destinations, and a communication destination device is multiplexed. In the technique of multiplexing the communication destination devices as described above, the device that actually serves as the communication destination is switched between the plurality of communication destination devices, that is, the communication destination is switched.

只要在作為通信源的通信機器進行變更資料目的地的位址(address)等設定的變更,便能夠切換通信目的地裝置,然而亦有無法切換通信目的地裝置的裝置。此外,即使作為通信源的通信機器能夠進行設定的變更,仍有設定的變更需要時間、通信會中斷等問題。就不需要在作為通信源的通信機器進行設定的變更即能進行通信目的地的切換之技術而言,下述之專利文獻1係提出藉由交 易路由控制器(transaction routing controller)切換通信目的地的技術。 When the communication device that is the communication source changes the setting of the address of the data destination, etc., the communication destination device can be switched. However, there is a device that cannot switch the communication destination device. Further, even if the communication device as the communication source can change the setting, there is a problem that the setting change takes time and the communication is interrupted. In the technique of switching the communication destination without changing the setting of the communication device as the communication source, the following Patent Document 1 proposes A technique of switching a communication destination by a transaction routing controller.

在前述專利文獻1記載的技術中,交易路由控制器係將I/O(Input/Output;輸入/輸出)裝置雙重化,分別對應主裝置(master device)及從裝置(slave device)。在前述專利文獻1記載的技術中,主裝置及從裝置的裝置ID(IDentifier:識別符)是固定的,交易路由控制器係在從處理器(processor)側接收到交易(transaction)時,從路由表(routing table)中搜尋與該交易的傳送目的地的裝置ID相吻合的裝置ID,將交易傳送給相吻合的裝置。藉由更新路由表,便能夠實施主裝置及從裝置間的切換。 In the technique described in the above Patent Document 1, the transaction routing controller doubles an I/O (Input/Output (Input/Output) input device, and corresponds to a master device and a slave device, respectively. In the technique described in Patent Document 1, the device ID (IDentifier) of the master device and the slave device is fixed, and the transaction routing controller receives the transaction from the processor side. A routing ID searches for a device ID that matches the device ID of the destination of the transaction, and transmits the transaction to the matching device. By updating the routing table, it is possible to implement switching between the master device and the slave device.

此外,在下述之專利文獻2中係提出在存在複數組CPU(Central Processing Unit;中央處理單元)模組(module)之對(pair)的雙重化控制器暨系統中,藉由置換成對的CPU模組的平行匯流排(parallel bus)控制部的識別號碼而切換通信目的地之技術。藉此,通信源的CPU模組不用具備支援切換的功能即能夠切換通信目的地。 Further, in the following Patent Document 2, it is proposed that in a dual controller and system in which a pair of CPUs (Central Processing Units) modules are present, by pairing The technique of switching the communication destination by the identification number of the parallel bus control unit of the CPU module. Thereby, the CPU module of the communication source can switch the communication destination without having a function of supporting switching.

此外,在下述之專利文獻3中,係在含有雙重化之節點(node)的通信系統中,將對象節點號碼添加至傳輸訊框(frame),以廣播(broadcast)方式發送,雙重化之節點中設定為主裝置的節點實施發送處理、設定為從裝置的節點則不實施發送處理。在前述專利文獻3記載的技術中,當雙重化之節點中發生主裝置的切換,係藉由變更節點號碼而切換通信目的地。藉此,在前述專利文獻3記載 的技術中,通信源的節點不用具備支援切換的功能即能夠切換通信目的地。 Further, in the following Patent Document 3, in a communication system including a dual node, a target node number is added to a transmission frame and transmitted in a broadcast manner, and a dualized node is used. The node that is set as the master device performs the transmission process, and the node that is set as the slave device does not perform the transmission process. In the technique described in the above Patent Document 3, when the switching of the master device occurs in the dual node, the communication destination is switched by changing the node number. Thereby, it is described in the aforementioned patent document 3. In the technology, the node of the communication source can switch the communication destination without having the function of supporting the handover.

(先前技術文獻) (previous technical literature) (專利文獻) (Patent Literature)

專利文獻1:日本國特開2009-193469號公報 Patent Document 1: Japanese Patent Laid-Open Publication No. 2009-193469

專利文獻2:日本國特開2009-187314號公報 Patent Document 2: Japanese Patent Laid-Open Publication No. 2009-187314

專利文獻3:日本國特開2005-45474號公報 Patent Document 3: Japanese Patent Laid-Open Publication No. 2005-45474

然而,在前述專利文獻1記載的技術中,路徑控制器即交易路由控制器必須具備許多功能,而有交易路由控制器的處理變得複雜之課題。交易路由控制器係至少必須備五個功能:「接收交易」、「路由資訊的搜尋」、「傳送交易給路由路徑的判斷」、「接收針對交易的回覆(reply)」、「用以特定出交易傳送目的地的搜尋」。 However, in the technique described in the above Patent Document 1, the route controller, that is, the transaction routing controller, must have many functions, and the processing of the transaction routing controller becomes complicated. The transaction routing controller must have at least five functions: "receive transaction", "route information search", "transfer transaction to routing path judgment", "receive reply to transaction", "to specify Search for the destination of the transaction."

此外,在前述專利文獻2記載的技術中,由於是置換CPU模組即通信機器的識別號碼以切換通信目的地,故網路(network)上的複數個通信機器會短暫擁有同一個識別號碼。此時,存在複數個擁有同一個識別號碼的通信機器,因此針對以該識別號碼為目的地的一個交易會有複數個回應返回,以致於產生通信源於無意下與複數個通信機器進行通信的問題。 Further, in the technique described in the above Patent Document 2, since the identification number of the communication device, that is, the communication module, is replaced to switch the communication destination, the plurality of communication devices on the network temporarily possess the same identification number. At this point, there are a plurality of communication machines having the same identification number, so that there will be multiple responses returned for a transaction destined for the identification number, so that the communication originates from inadvertently communicating with a plurality of communication machines. problem.

此外,在前述專利文獻3記載的技術中,係 持續藉由廣播方式進行對全部節點的發送,故有網路的通信負荷比一對一的單播(unicast)通信方式高的課題。 Further, in the technique described in the above Patent Document 3, Since the transmission to all nodes is continued by the broadcast method, there is a problem that the communication load of the network is higher than that of the one-to-one unicast communication method.

本發明係鑒於上述情事而研創,目的在於獲得不需在通信源新增切換功能,並且能夠在抑制路徑控制器的處理負荷且抑制通信負荷下進行通信目的地的切換之通信系統。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a communication system capable of switching a communication destination without suppressing a processing load of a path controller and suppressing a communication load without adding a switching function to a communication source.

為了解決上述課題並達成目的,本發明的通信系統係具備第一機器、第二機器、第三機器及路徑控制器;第一機器、第二機器、第三機器係分別具有能夠唯一識別的識別號碼,使用識別號碼進行通信;路徑控制器係與第一機器、第二機器及第三機器分別以不同的路徑連接。路徑控制器係具備:記憶部,係記憶路徑資訊,該路徑資訊係表示目的地的識別號碼與表示路徑的識別符亦即路徑識別符之對應關係的資訊;及處理部,係根據路徑資訊,對與所接收的通信資料的目的地的識別符相應的路徑識別符所對應的路徑,傳送通信資料。第二機器係在第一機器具有第一號碼作為識別號碼且第二機器具有第二號碼作為識別號碼的狀態下,當接收到要求將第三機器的通信目的地從第一機器切換成自身的切換要求時,便將自身的識別號碼變更成第一號碼;第一機器、第二機器或路徑控制器係實施路徑變更處理,該路徑變更處理係將路徑資訊中對應第一號碼的路徑識別符變更成作為對應第二號碼的路徑識別符而儲存在路徑資訊的路徑識別符。 In order to solve the above problems and achieve the object, the communication system of the present invention includes a first device, a second device, a third device, and a path controller; the first device, the second device, and the third device each have a uniquely identifiable identification. The number is communicated using the identification number; the path controller is connected to the first machine, the second machine, and the third machine in different paths. The path controller includes: a memory unit that is information of the memory path, and the path information indicates information indicating a correspondence between the identification number of the destination and the path identifier, that is, the path identifier; and the processing unit is based on the path information. The communication material is transmitted to a path corresponding to the path identifier corresponding to the identifier of the destination of the received communication data. The second machine is in a state where the first machine has the first number as the identification number and the second machine has the second number as the identification number, when receiving the request to switch the communication destination of the third machine from the first machine to the own When the handover request is made, the own identification number is changed to the first number; the first device, the second device, or the path controller performs path change processing, and the path change processing is to identify the path identifier corresponding to the first number in the path information. The path identifier is stored in the path information as a path identifier corresponding to the second number.

本發明的通信系統係達到不需在通信源新增切換功能,並且能夠在抑制路徑轉換器的處理負荷且抑制通信負荷下進行通信目的地的切換之效果。 The communication system of the present invention achieves the effect of not having to newly add a switching function to the communication source, and capable of switching the communication destination while suppressing the processing load of the path converter and suppressing the communication load.

1、1a、1b‧‧‧通信系統 1, 1a, 1b‧‧‧ communication system

11、12、51、52‧‧‧通信機器 11, 12, 51, 52‧‧‧ communication machines

21、41‧‧‧路由控制器 21, 41‧‧‧ routing controller

31‧‧‧裝置 31‧‧‧ device

101、161、201至203‧‧‧發送/接收部 101, 161, 201 to 203‧‧‧Send/Receive Department

111‧‧‧識別號碼處理部 111‧‧‧ Identification Number Processing Department

121‧‧‧資料記憶體 121‧‧‧Data Memory

131‧‧‧微處理器 131‧‧‧Microprocessor

141‧‧‧週邊工具I/F 141‧‧‧ Peripheral Tool I/F

151‧‧‧週邊工具 151‧‧‧ Peripheral tools

211‧‧‧路由處理部 211‧‧‧Route Processing Department

221‧‧‧路由表 221‧‧‧ routing table

231‧‧‧支援多播路由處理部 231‧‧‧Support Multicast Routing Processing Department

241‧‧‧多播用路由表 241‧‧‧Multicast routing table

301‧‧‧處理器 301‧‧‧ processor

302‧‧‧記憶體 302‧‧‧ memory

303‧‧‧通信部 303‧‧‧Communication Department

a至c、n‧‧‧路徑 a to c, n‧‧‧ path

S1至S3‧‧‧步驟 S1 to S3‧‧‧ steps

S11至S15‧‧‧步驟 S11 to S15‧‧‧ steps

S21至S24‧‧‧步驟 S21 to S24‧‧‧ steps

S31至S38‧‧‧步驟 S31 to S38‧‧‧ steps

S41至S44‧‧‧步驟 S41 to S44‧‧‧ steps

S51至S55‧‧‧步驟 S51 to S55‧‧‧ steps

S61至S67‧‧‧步驟 Steps S61 to S67‧‧

S71至S76‧‧‧步驟 S71 to S76‧‧‧ steps

S111至S119‧‧‧步驟 S111 to S119‧‧‧ steps

S141至S143‧‧‧步驟 S141 to S143‧‧‧ steps

第1圖係顯示實施形態1的通信系統的構成例之圖。 Fig. 1 is a view showing a configuration example of a communication system according to the first embodiment.

第2圖係顯示第1圖的通信機器的構成例之圖。 Fig. 2 is a view showing a configuration example of the communication device of Fig. 1.

第3圖係顯示第1圖中所示路由控制器的構成例之圖。 Fig. 3 is a view showing a configuration example of the routing controller shown in Fig. 1.

第4圖係顯示實施形態1的路由表的構成例之圖。 Fig. 4 is a view showing an example of the configuration of a routing table in the first embodiment.

第5圖係顯示實施形態1的路由控制器的路由處理程序的一例之流程圖(flow chart)。 Fig. 5 is a flow chart showing an example of a route processing program of the routing controller of the first embodiment.

第6圖係顯示實施形態1的在通信機器間實施通信目的地的切換處理時的處理程序的一例之流程圖。 Fig. 6 is a flowchart showing an example of a processing procedure when switching processing of communication destinations is performed between communication devices in the first embodiment.

第7圖係顯示實施形態1中,通信機器的識別號碼及路由表於通信目的地的切換處理中的狀態之圖。 Fig. 7 is a view showing a state in which the identification number of the communication device and the routing table are switched in the communication destination in the first embodiment.

第8圖係顯示實施形態1中,在通信目的地的切換處理中,當裝置等以各識別號碼為目的地傳送交易時,實際接收交易的通信機器之圖。 Fig. 8 is a view showing a communication device that actually receives a transaction when a device or the like transmits a transaction for each identification number as a destination in the switching process of the communication destination in the first embodiment.

第9圖係顯示實施形態1的路由控制器的硬體(hardware)構成的一例之圖。 Fig. 9 is a view showing an example of a hardware configuration of the routing controller of the first embodiment.

第10圖係顯示實施形態2的通信系統的構成例之圖。 Fig. 10 is a view showing a configuration example of a communication system according to the second embodiment.

第11圖係顯示實施形態2的路由控制器的構成例之圖。 Fig. 11 is a view showing an example of the configuration of the routing controller of the second embodiment.

第12圖係顯示實施形態2的多播(multicast)用路由表的構成例之圖。 Fig. 12 is a view showing an example of the configuration of a multicast routing table in the second embodiment.

第13圖係顯示實施形態2的路由控制器的多播通信的交易的路由處理程序的一例之流程圖。 Fig. 13 is a flowchart showing an example of a route processing program for a transaction of multicast communication by the routing controller of the second embodiment.

第14圖係顯示實施形態2的實施通信機器間的通信目的地的切換處理時的處理程序的一例之流程圖。 Fig. 14 is a flowchart showing an example of a processing procedure at the time of performing the switching process of the communication destination between the communication devices in the second embodiment.

第15圖係顯示實施形態3的通信系統的構成例之圖。 Fig. 15 is a view showing a configuration example of a communication system of the third embodiment.

第16圖係顯示實施形態3的通信機器的構成例之圖。 Fig. 16 is a view showing a configuration example of a communication device of the third embodiment.

第17圖係顯示實施形態3的通信機器間的通信目的地的切換處理程序的一例之流程圖。 Fig. 17 is a flowchart showing an example of a switching processing program of a communication destination between communication devices in the third embodiment.

第18圖係顯示實施形態4的路由控制器的切換處理程序的一例之流程圖。 Fig. 18 is a flowchart showing an example of a switching processing program of the routing controller of the fourth embodiment.

第19圖係顯示實施形態5的路由控制器的切換處理程序的一例之流程圖。 Fig. 19 is a flow chart showing an example of a switching processing program of the routing controller of the fifth embodiment.

以下,根據圖式詳細說明本發明實施形態的通信系統、通信機器及通信目的地的切換方法。另外,本發明並不受下述的實施形態所限定。 Hereinafter, a communication system, a communication device, and a communication destination switching method according to an embodiment of the present invention will be described in detail based on the drawings. Further, the present invention is not limited to the embodiments described below.

實施形態1. Embodiment 1.

第1圖係顯示本發明實施形態1的通信系統的構成例之圖。如第1圖所示,本實施形態的通信系統1係具備:通信機器11、12,係作為後述之本實施形態1的通信目的地的切換對象;路由控制器21,係進行路由的路徑控制器;裝置31,係能夠與通信機器11、12進行通信的機器。 在第1圖中雖係圖示裝置為一台、通信機器為兩台即一組,但裝置亦可為兩台以上,通信機器亦可為兩組以上。 Fig. 1 is a view showing a configuration example of a communication system according to the first embodiment of the present invention. As shown in Fig. 1, the communication system 1 of the present embodiment includes communication devices 11 and 12, which are switching destinations of the communication destination according to the first embodiment to be described later, and a routing controller 21 for routing path control. The device 31 is a device capable of communicating with the communication devices 11, 12. In the first drawing, although one device is shown, and two communication devices are one set, two or more devices may be used, and two or more communication devices may be used.

在本實施形態中,係針對以裝置31作為通信源時,將作為裝置31的通信目的地之通信機器在通信機器11與通信機器12之間切換的方法進行說明。一般而言,只要在作為通信源的機器變更作為目的地的裝置的識別號碼便能夠切換通信目的地,但本實施形態的裝置31並不具有以該方式切換通信目的地的功能。在本實施形態中係針對即使如上述,裝置31不具有切換通信的切換功能時,還是能夠切換通信目的地的通信系統進行說明。或者,針對即使裝置31構成為具有切換通信目的地的功能但裝置31仍可不進行通信目的地之切換的通信系統進行說明。 In the present embodiment, a method in which the communication device that is the communication destination of the device 31 is switched between the communication device 11 and the communication device 12 when the device 31 is used as the communication source will be described. In general, the communication destination can be switched as long as the device as the communication source changes the identification number of the device as the destination, but the device 31 of the present embodiment does not have the function of switching the communication destination in this manner. In the present embodiment, a description will be given of a communication system capable of switching a communication destination even when the device 31 does not have a switching function for switching communication as described above. Alternatively, a description will be given of a communication system in which the device 31 is not configured to switch the communication destination even if the device 31 is configured to have a function of switching the communication destination.

如第1圖所示,第一機器即通信機器11與路由控制器21係藉由路徑a連接,第二機器即通信機器12與路由控制器21係藉由路徑b連接,第三機器即裝置31與路由控制器21係藉由路徑c連接。具體而言,路徑a、b、c分別係藉由有線線路或無線線路而建構的路徑,路徑上亦可存在中繼器等通信機器。此外,路徑a、b、c係亦可為有線線路與無線線路的組合。例如,當路徑a、b、c為有線線路時,代表路徑的a、b、c的識別符係與路由控制器21的輸入輸出埠號碼對應。或者,當路徑a、b、c為無線線路時,代表路徑的a、b、c的識別符係與在前往各路徑之終點的路徑中作為無線通信的中繼器的機器的識別號碼等對應。 As shown in Fig. 1, the first device, that is, the communication device 11 and the routing controller 21 are connected by the path a, and the second device, that is, the communication device 12 and the routing controller 21 are connected by the path b, and the third device is the device. 31 is connected to the routing controller 21 by path c. Specifically, the paths a, b, and c are respectively constructed by a wired line or a wireless line, and a communication device such as a repeater may be present on the path. In addition, the paths a, b, and c may also be a combination of a wired line and a wireless line. For example, when the paths a, b, and c are wired lines, the identifiers of a, b, and c representing the paths correspond to the input/output numbers of the routing controller 21. Alternatively, when the paths a, b, and c are wireless lines, the identifiers of a, b, and c representing the paths correspond to the identification numbers of the devices that serve as repeaters of the wireless communication in the paths to the end points of the respective paths. .

在通信機器11、通信機器12、路由控制器21、裝置31係分別設定有固有的識別號碼。如第1圖所示,通信機器11的識別號碼設為A,通信機器12的識別號碼設為B,裝置31的識別號碼設為C。亦即,第一機器即通信機器11、第二機器即通信機器12、第三機器即裝置31係分別具有能夠唯一識別的識別號碼,使用識別號碼進行通信。 The communication device 11, the communication device 12, the routing controller 21, and the device 31 are each provided with a unique identification number. As shown in Fig. 1, the identification number of the communication device 11 is A, the identification number of the communication device 12 is B, and the identification number of the device 31 is C. That is, the first device, that is, the communication device 11, the second device, the communication device 12, and the third device, the device 31, each have an identification number that can be uniquely identified, and communicates using the identification number.

利用第1圖,說明實施形態1的通信系統1內的機器進行通信的程序。通信機器11、通信機器12、裝置31在與通信系統1內的別的機器進行通信時,係將儲存有發送者的識別號碼亦即自身的識別號碼及目的地的識別號碼亦即通信目的地的機器的識別號碼之交易傳送給自身所連接的路徑。另外,所謂的交易,係指傳輸訊框、封包(packet)等通信資料、及用於同個通信處理的通信資料的集合。 A program for communication between devices in the communication system 1 according to the first embodiment will be described with reference to Fig. 1 . When the communication device 11, the communication device 12, and the device 31 communicate with another device in the communication system 1, the identification number of the sender, that is, the identification number of the user and the identification number of the destination, that is, the communication destination, are stored. The transaction of the machine's identification number is transmitted to the path to which it is connected. In addition, a so-called transaction refers to a communication frame, a packet, and the like, and a collection of communication materials used for the same communication process.

路由控制器21係當從連接至自身的各路徑接收到交易,便將交易傳送給與交易內儲存的目的地的識別號碼相應的路徑。 The routing controller 21, when receiving a transaction from each path connected to itself, transmits the transaction to a path corresponding to the identification number of the destination stored in the transaction.

通信機器11、通信機器12、裝置31係當從自身所連接的路徑接收到交易,便判定交易內儲存的目的地的識別號碼是否與自身的識別號碼相吻合。當相吻合時,通信機器11、通信機器12、裝置31係對交易實施接收處理,當不吻合時係將交易捨棄。 The communication device 11, the communication device 12, and the device 31 determine whether the identification number of the destination stored in the transaction matches its own identification number when receiving the transaction from the path to which it is connected. When coincident, the communication device 11, the communication device 12, and the device 31 perform reception processing on the transaction, and when not coincident, the transaction is discarded.

通信機器11、通信機器12、裝置31在針對 已進行接收處理的交易回覆回應時,係傳送係以該交易的發送者的識別號碼作為目的地的識別號碼且以自身的識別號碼作為發送者的識別號碼之交易。路由控制器21係當接收到回應的交易,便將交易傳送給與交易內儲存的目的地的識別號碼相應的路徑。通信機器11、通信機器12、裝置31係當接收到回應的交易,便判定交易內儲存的目的地的識別號碼是否與自身的識別號碼相吻合。當相吻合時,通信機器11、通信機器12、裝置31係對交易實施接收處理,當不吻合時,通信機器11、通信機器12、裝置31係將交易捨棄。 The communication device 11, the communication device 12, and the device 31 are directed to When a transaction reply response has been received, the transmission is a transaction in which the identification number of the sender of the transaction is used as the identification number of the destination and the identification number of the transaction is used as the identification number of the sender. The routing controller 21, when receiving the response, transmits the transaction to the path corresponding to the identification number of the destination stored in the transaction. The communication device 11, the communication device 12, and the device 31 determine whether the identification number of the destination stored in the transaction matches its own identification number when receiving the response transaction. When they match, the communication device 11, the communication device 12, and the device 31 perform reception processing on the transaction. When not coincident, the communication device 11, the communication device 12, and the device 31 discard the transaction.

第2圖係顯示第1圖的通信機器11及通信機器12的構成例之圖。由於通信機器11、12具有相同的構成,故以通信機器11的構成及動作為代表來說明。通信機器12的構成及動作係與通信機器11的構成及動作相同。通信機器11係具備發送/接收部101、識別號碼處理部111、資料記憶體(data memory)121、微處理器(micro processor)131及週邊工具I/F(Interface;介面)141。如第2圖所示,通信機器11係與週邊工具151連接。週邊工具151係能夠接收來自使用者(user)的輸入並根據所接收的輸入的內容對通信機器11進行各種設定之裝置,例如為個人電腦(personal computer)等。 Fig. 2 is a view showing a configuration example of the communication device 11 and the communication device 12 in Fig. 1 . Since the communication devices 11 and 12 have the same configuration, the configuration and operation of the communication device 11 will be described as representative. The configuration and operation of the communication device 12 are the same as those of the communication device 11. The communication device 11 includes a transmission/reception unit 101, an identification number processing unit 111, a data memory 121, a micro processor 131, and a peripheral tool I/F (Interface) 141. As shown in FIG. 2, the communication device 11 is connected to the peripheral tool 151. The peripheral tool 151 is a device that can receive input from a user and perform various settings on the communication device 11 based on the content of the received input, such as a personal computer or the like.

發送/接收部101係從通信機器11的外部的路徑n接收交易、傳送交易給外部的路徑n之發送機及接收機。另外,路徑n係表示通信機器11及通信機器12分 別連接的路徑。具體而言,在通信機器11,路徑n為第1圖的路徑a;在通信機器12,路徑n為第1圖的路徑b。此外,發送/接收部101係根據所接收的交易,參照儲存在資料記憶體121的資料、及更新儲存在資料記憶體121的資料。識別號碼處理部111係保有設定在自身機器的識別號碼,亦即保有通信機器11的發送/接收部101發送/接收交易時使用的識別號碼。資料記憶體121係保有能夠被發送/接收部101進行參照及更新的資料。 The transmitting/receiving unit 101 receives a transaction from the route n outside the communication device 11, and transmits a transmitter and a receiver that transmit the transaction to the external path n. In addition, the path n indicates the communication device 11 and the communication device 12 points. Do not connect to the path. Specifically, in the communication device 11, the path n is the path a of the first figure; and in the communication device 12, the path n is the path b of the first figure. Further, the transmitting/receiving unit 101 refers to the data stored in the data memory 121 and the data stored in the data memory 121 based on the received transaction. The identification number processing unit 111 holds the identification number set in its own device, that is, the identification number used when the transmission/reception unit 101 of the communication device 11 transmits/receives the transaction. The data memory 121 holds data that can be referred to and updated by the transmission/reception unit 101.

微處理器131係控制通信機器11的動作,並且執行通信目的地的切換處理。週邊工具I/F 141係從外部的週邊工具151接收給微處理器131的任意要求、將來自微處理器131的回應發送給週邊工具151。 The microprocessor 131 controls the operation of the communication device 11 and performs switching processing of the communication destination. The peripheral tool I/F 141 transmits an arbitrary request from the external peripheral tool 151 to the microprocessor 131, and transmits a response from the microprocessor 131 to the peripheral tool 151.

接著,利用第2圖,說明從通信機器11發送交易的動作。微處理器131係指定發送目的地即目的地的識別號碼,對發送/接收部101要求交易的發送。該交易的內容係例如為表示針對裝置31的要求或回應等控制資訊。在作為交易而發送的要求中係亦有要求回應者。微處理器131係在要求交易的發送時,亦對發送/接收部101指示交易的種類。所謂的交易的種類,例如為要求資料之取得的交易等,按交易的每個種類已預設是否要求回應。 Next, an operation of transmitting a transaction from the communication device 11 will be described using FIG. The microprocessor 131 specifies the identification number of the destination, that is, the destination, and requests the transmission/reception unit 101 to transmit the transaction. The content of the transaction is, for example, control information indicating a request or response to the device 31. Respondents are also required to be sent as a transaction. The microprocessor 131 also instructs the transmission/reception unit 101 of the type of transaction when requesting the transmission of the transaction. The type of the so-called transaction, for example, a transaction that requires the acquisition of data, etc., is preset to require a response according to each type of transaction.

發送/接收部101係根據來自微處理器131的要求來建立交易。此時,發送/接收部101係將所指定的識別號碼設定至交易內的目的地的識別號碼的儲存區域,將從識別號碼處理部111取得的自身機器的識別號碼設定 至交易內的發送者的識別號碼的儲存區域。在交易建立後,發送/接收部101係將交易傳送至路徑n。當該交易為要求回應的交易時,發送/接收部101係將所發送的交易記憶起來。 The transmitting/receiving section 101 establishes a transaction in accordance with a request from the microprocessor 131. In this case, the transmission/reception unit 101 sets the designated identification number to the storage area of the identification number of the destination in the transaction, and sets the identification number of the own device acquired from the identification number processing unit 111. The storage area to the sender's identification number within the transaction. After the transaction is established, the transmitting/receiving section 101 transmits the transaction to the path n. When the transaction is a transaction requiring a response, the transmitting/receiving section 101 memorizes the transmitted transaction.

接著,利用第2圖,說明通信機器11接收交易的動作。發送/接收部101係當從路徑n接收到交易,便將儲存在該交易的目的地的識別號碼與從識別號碼處理部111取得的自身機器的識別號碼進行比較。當儲存在該交易的目的地的識別號碼與自身的識別號碼相吻合時,發送/接收部101係對該交易實施接收處理,亦即實施以該交易的內容為基礎的處理,當不吻合時係將該交易捨棄。其中,就交易的目的地的識別號碼而言,當儲存的是代表多播的號碼或代表廣播的號碼時,係不論上述的比較結果為何皆實施接收處理。 Next, an operation of the communication device 11 to receive a transaction will be described using FIG. The transmission/reception unit 101 compares the identification number of the destination stored in the transaction with the identification number of the own device acquired from the identification number processing unit 111 when receiving the transaction from the route n. When the identification number stored in the destination of the transaction matches the identification number of the transaction, the transmitting/receiving unit 101 performs reception processing on the transaction, that is, performs processing based on the content of the transaction, when not matching The transaction is discarded. Among them, in the case of the identification number of the destination of the transaction, when the number representing the multicast or the number representing the broadcast is stored, the reception processing is performed regardless of the above comparison result.

當所接收的交易為對資料記憶體121進行存取(access)的存取要求時,發送/接收部101係對資料記憶體121實施相應於要求的讀出或寫入。當所接收的交易為儲存有回應的交易時,發送/接收部101係從所記憶的過去發送的交易中搜尋與該回應對應的交易。當搜尋到對應該回應的交易時,發送/接收部101係將該回應移交至微處理器131。接著,發送/接收部101係將對應的交易刪除。 When the received transaction is an access request for access to the data memory 121, the transmitting/receiving unit 101 performs read or write corresponding to the request to the data memory 121. When the received transaction is a transaction in which a response is stored, the transmitting/receiving section 101 searches for a transaction corresponding to the response from the stored past transmitted transaction. When the transaction corresponding to the response is found, the transmitting/receiving section 101 hands over the response to the microprocessor 131. Next, the transmitting/receiving unit 101 deletes the corresponding transaction.

當所接收的交易為要求回應的交易時,發送/接收部101係建立將儲存在該交易的發送者的識別號碼儲存至目的地的識別號碼的區域且將該交易的目的地的識 別號碼儲存至發送者的識別號碼的區域之回應用的交易,亦即建立儲存有回應的交易。接著,發送/接收部101係將回應的交易傳送至路徑n。 When the received transaction is a transaction requiring a response, the transmitting/receiving section 101 establishes an area in which the identification number of the sender stored in the transaction is stored to the identification number of the destination and the destination of the transaction is recognized. The unique number is stored in the application back to the sender's identification number, that is, the transaction in which the response is stored is established. Next, the transmitting/receiving section 101 transmits the response transaction to the path n.

接著,利用第3圖至第5圖,說明路由控制器21所進行的交易的路由程序。第3圖係顯示第1圖中所示路由控制器21的構成例之圖。如第3圖所示,路由控制器21係具備:發送/接收部201、202、203,即發送機及接收機,係將交易傳送給連接的各路徑,接收來自連接的各路徑的交易;及路由處理部211。此外,路由控制器21係記憶路由表221。 Next, the routing procedure of the transaction performed by the routing controller 21 will be described using Figs. 3 to 5 . Fig. 3 is a view showing a configuration example of the routing controller 21 shown in Fig. 1. As shown in FIG. 3, the routing controller 21 includes: a transmitting/receiving unit 201, 202, and 203, that is, a transmitter and a receiver, which transmit a transaction to each connected path and receive a transaction from each connected path; And a route processing unit 211. Further, the routing controller 21 is a memory routing table 221.

發送/接收部201係連接至路徑a,發送/接收部202係連接至路徑b,發送/接收部203係連接至路徑c。路由處理部211係判斷由發送/接收部201、202、203接收到的交易的傳送目的地,將該交易移交給與傳送目的地的路徑對應的發送/接收部201、202、203,或者由自身進行接收處理。路由表221係用於路由處理部211中的傳送目的地的判斷之路徑資訊。路由表221係例如記憶在路由控制器21內的記憶部即記憶體。 The transmitting/receiving unit 201 is connected to the path a, the transmitting/receiving unit 202 is connected to the path b, and the transmitting/receiving unit 203 is connected to the path c. The route processing unit 211 determines the transfer destination of the transaction received by the transmission/reception units 201, 202, and 203, and transfers the transaction to the transmission/reception unit 201, 202, 203 corresponding to the route of the transfer destination, or by Receive processing by itself. The routing table 221 is path information for determining the destination of the route processing unit 211. The routing table 221 is, for example, a memory that is stored in the memory controller in the routing controller 21.

第4圖係顯示路由表221的構成例之圖。如第4圖所示,路由表221係以識別號碼、及與該識別號碼對應的路徑即傳送目的地路徑所構成。亦即,路由表221的各列,亦即各筆記錄(record),係表示每一識別號碼的傳送目的地路徑即路由資訊。路由表221不具有識別號碼重複的路由資訊。 Fig. 4 is a view showing a configuration example of the routing table 221. As shown in FIG. 4, the routing table 221 is composed of an identification number and a transmission destination path which is a path corresponding to the identification number. That is, each column of the routing table 221, that is, each record, indicates the routing destination path of each identification number, that is, routing information. The routing table 221 does not have routing information that identifies duplicate numbers.

如上所述,路徑控制器即路由控制器21係與通信機器11、通信機器12及裝置31分別以不同的路徑連接,且具備:記憶部,係記憶路徑資訊,該路徑資訊係表示目的地的識別號碼與表示路徑的識別符即路徑識別符之對應關係的資訊;及路由處理部211,即處理部,係根據路徑資訊,對與所接收的通信資料的目的地的識別符相應的路徑識別符所對應的路徑,傳送通信資料。 As described above, the route controller, that is, the route controller 21, is connected to the communication device 11, the communication device 12, and the device 31 by different paths, and has a memory unit that is memory path information, and the path information indicates the destination. Information identifying the correspondence between the identification number and the path identifier indicating the identifier of the route; and the routing processing unit 211, that is, the processing unit, identifying the path corresponding to the identifier of the destination of the received communication data based on the path information The path corresponding to the symbol transmits the communication data.

接著,利用第1圖及第3圖,說明更新路由表221的程序。通信機器11、12當中的任意的通信機器在任意的時序(timing),藉由以路由控制器21為目的地的交易,發送更新路由表221的更新要求。路由控制器21係經由與通信機器之間的路徑即路徑n,而藉由對應的發送/接收部201、202、203接收交易。 Next, the procedure for updating the routing table 221 will be described using FIG. 1 and FIG. Any of the communication devices 11 and 12 transmits an update request to update the routing table 221 by a transaction destined for the routing controller 21 at an arbitrary timing. The routing controller 21 receives the transaction by the corresponding transmitting/receiving sections 201, 202, 203 via the path n with the communication device.

發送/接收部201係從接收自對應之路徑的交易,提取目的地的識別號碼,若目的地的識別號碼為代表路由控制器21的識別號碼,則將該交易傳送至路由處理部211。路由處理部211係相應於所接收的交易的內容,新增、變更或刪除路由表221的資訊。路由表221一旦更新,所更新的內容便立即套用到路由處理部211中的傳送目的地的判斷。 The transmission/reception unit 201 extracts the identification number of the destination from the transaction received from the corresponding route, and if the identification number of the destination is the identification number representing the routing controller 21, the transaction is transmitted to the route processing unit 211. The routing processing unit 211 adds, changes, or deletes the information of the routing table 221 in accordance with the content of the received transaction. Once the routing table 221 is updated, the updated content is immediately applied to the determination of the transfer destination in the routing processing unit 211.

另外,並不限制通信機器所發送的要求更新路由表221的更新要求的形式及路由處理部211更新路由表221的更新方法。例如,可採行路由控制器21具備儲存路由表221的記憶體,由各通信機器將儲存於該記憶體 的路由表221的內容予以覆寫之方法、或將路由表221以資料庫(database)構成,由通信機器發佈SQL語言(Structured Query Language;結構化查詢語言)等資料庫操作用指令,指示路由處理部211更新路由表221之方法等。 Further, the form of the update request for updating the routing table 221 transmitted by the communication device and the method of updating the routing table 221 by the routing processing unit 211 are not limited. For example, the routable routing controller 21 is provided with a memory storing the routing table 221, and each communication device stores the memory in the memory. The method of overwriting the content of the routing table 221 or the routing table 221 is constituted by a database, and the communication machine issues a database operation instruction such as a SQL language (Structured Query Language) to indicate routing. The processing unit 211 updates the method of the routing table 221 and the like.

路由表221的初始值係能夠設定任意值。此外,就路由表221的初始值而言,可採行僅保有以路由控制器21為目的地的路由資訊之方法、或者保有表示針對與通信系統內的全部機器對應的識別號碼按每個識別號碼預設的路徑的路由資訊之方法等。另外,在以路由控制器21為目的地的路由資訊中,識別號碼為路由控制器21的識別號碼,傳送目的地路徑為代表路由控制器21內的路由處理部211之資訊。 The initial value of the routing table 221 can be set to an arbitrary value. Further, as for the initial value of the routing table 221, a method of retaining only the routing information destined for the routing controller 21, or a method of holding the identification number corresponding to all the machines in the communication system may be adopted for each identification. The method of routing information of the preset path of the number. Further, in the routing information destined for the routing controller 21, the identification number is the identification number of the routing controller 21, and the transmission destination path is information representing the routing processing unit 211 in the routing controller 21.

在路由表221的初始值的設定後,於第1圖所示通信系統內的啟動時等,路由表221的內容係依循第1圖的通信系統的構成與設定在各機器的識別號碼更新。具體而言,例如,於通信系統的啟動時,由使用者透過週邊工具151,將表示與通信系統的構成相應的路由表221的內容之資訊,設定給通信機器11、12當中任一者即作為代表的通信機器。作為代表的通信機器係按照從週邊工具151設定的路由表221的內容,更新路由控制器21的路由表221。或者,亦可採用已預先設定好路由表221的初始值,於通信系統的啟動時,由使用者透過週邊工具151,配合路由表221的初始值設定各通信機器及裝置的識別號碼之方法。或者,亦可採用由作為代表的通信機器設 定路由表221,然後作為代表的通信機器再將識別號碼設定給其他通信機器及裝置31之方法。 After the initial value of the routing table 221 is set, the content of the routing table 221 is updated in accordance with the configuration of the communication system of Fig. 1 and the identification number set for each device at the time of startup or the like in the communication system shown in Fig. 1. Specifically, for example, when the communication system is activated, the user sets the information indicating the content of the routing table 221 corresponding to the configuration of the communication system to any of the communication devices 11 and 12 via the peripheral tool 151. As a representative communication machine. The communication device as a representative updates the routing table 221 of the routing controller 21 in accordance with the contents of the routing table 221 set from the peripheral tool 151. Alternatively, the method of setting the initial value of the routing table 221 in advance may be used to set the identification number of each communication device and device by the user through the peripheral tool 151 and the initial value of the routing table 221 when the communication system is started. Alternatively, it can also be used as a representative communication device. The routing table 221 is then used as a means for the representative communication device to set the identification number to other communication devices and devices 31.

接著,針對路由控制器21的路由處理進行說明。第5圖係顯示路由控制器21的路由處理程序的一例之流程圖。如第5圖所示,路由控制器21係從路徑a至c中的任一者,藉由對應的發送/接收部201至203接收交易(步驟(step)S1)。或者,在路由控制器21自身發送交易的情形中,係路由處理部211產生交易,傳送給與目的地對應的發送/接收部201至203,此時,路由處理部211自身係藉由參照該交易而接收交易。 Next, the routing processing of the routing controller 21 will be described. Fig. 5 is a flow chart showing an example of a routing processing program of the routing controller 21. As shown in Fig. 5, the routing controller 21 receives the transaction from the corresponding transmission/reception sections 201 to 203 from any of the paths a to c (step S1). Alternatively, in a case where the routing controller 21 itself transmits a transaction, the routing processing unit 211 generates a transaction and transmits it to the transmitting/receiving sections 201 to 203 corresponding to the destination. At this time, the routing processing section 211 itself refers to the transaction. Receive transactions while trading.

接著,路由處理部211係從路由表221中搜尋與發送目的地對應的路徑(步驟S2)。具體而言,路由處理部211從所接收的交易中取得與該交易的目的地亦即發送目的地對應的識別號碼。接著,路由處理部211從路由表221中搜尋識別號碼與發送目的地的識別號碼相吻合的路由資訊(步驟S2)。 Next, the route processing unit 211 searches for a path corresponding to the transmission destination from the routing table 221 (step S2). Specifically, the route processing unit 211 acquires an identification number corresponding to the destination of the transaction, that is, the destination of the transaction, from the received transaction. Next, the route processing unit 211 searches the routing table 221 for the routing information whose identification number matches the identification number of the transmission destination (step S2).

接著,路由控制器21係將交易傳送給藉由搜尋所找到的路徑,亦即傳送給識別號碼與發送目的地的識別號碼相吻合的路由資訊的發送目的地路徑(步驟S3)。具體而言,路由處理部211將交易移交至與藉由步驟S2的搜尋所取得的傳送目的地路徑對應的發送/接收部201至203。接著,發送/接收部201至203將交易發送給傳送目的地路徑。而在傳送目的地路徑為以路由控制器21為目的地的情形中,係路由處理部211接收交易。另外,路由控 制器21接收到回應交易的回應用的交易時的路由處理亦以相同的程序實施。 Next, the routing controller 21 transmits the transaction to the path found by the search, that is, the transmission destination path of the routing information that matches the identification number of the identification number with the transmission destination (step S3). Specifically, the route processing unit 211 transfers the transaction to the transmission/reception units 201 to 203 corresponding to the transmission destination path acquired by the search in step S2. Next, the transmission/reception sections 201 to 203 transmit the transaction to the transmission destination path. On the other hand, in the case where the transfer destination path is destined for the routing controller 21, the system routing processing unit 211 receives the transaction. In addition, routing control The routing process when the controller 21 receives the transaction back to the application in response to the transaction is also implemented in the same procedure.

如上所述,在本實施形態中,路由控制器21所實施的路由處理係簡易且處理量少。 As described above, in the present embodiment, the routing processing performed by the routing controller 21 is simple and the amount of processing is small.

接著,利用第6圖至第8圖,說明實施形態1的通信系統中切換通信目的地的程序。所謂的通信目的地,係指以裝置31或以通信機器11及通信機器12以外的未圖示於第1圖的機器為發送者時的通信目的地。以下,作為一例,針對以裝置31為發送者的例子進行說明。通信目的地的切換處理係在作為切換對象的通信機器11與通信機器12之間實施。 Next, a procedure for switching the communication destination in the communication system according to the first embodiment will be described with reference to Figs. 6 to 8 . The communication destination refers to a communication destination when the device 31 or the device other than the communication device 11 and the communication device 12 is not shown in the first diagram. Hereinafter, an example in which the device 31 is a sender will be described as an example. The switching process of the communication destination is performed between the communication device 11 to be switched and the communication device 12.

第6圖係顯示在通信機器11與通信機器12之間實施通信目的地的切換處理時的處理程序的一例之流程圖。第7圖係顯示通信機器11及通信機器12的識別號碼、以及路由表221於通信目的地的切換處理中的狀態之圖。第8圖係顯示在通信目的地的切換處理中,當裝置31等以各識別號碼為目的地傳送交易時,實際接收交易的通信機器之圖。 Fig. 6 is a flowchart showing an example of a processing procedure when the communication destination switching processing is performed between the communication device 11 and the communication device 12. Fig. 7 is a view showing the identification numbers of the communication device 11 and the communication device 12 and the state of the routing table 221 in the switching process of the communication destination. Fig. 8 is a view showing a communication device that actually receives a transaction when the device 31 or the like transmits a transaction for each identification number in the switching process of the communication destination.

另外,關於開始進行通信目的地的切換處理的時序,可考慮使用者使用週邊工具151對通信機器11或通信機器12要求切換時、通信機器11或通信機器12依特定的條件而自動決定開始進行切換時、通信機器11或通信機器12從通信系統內的其他通信機器接收到要求時等。 Further, when the user initiates switching of the communication device 11 or the communication device 12 by using the peripheral tool 151, the communication device 11 or the communication device 12 automatically determines to start the process according to specific conditions. At the time of switching, when the communication device 11 or the communication device 12 receives a request from another communication device in the communication system or the like.

如第6圖所示,通信機器11係取得切換對 象的通信機器12的識別號碼B(步驟S11)。具體而言,首先,決定切換通信機器11的通信目的地的切換對象的通信機器,亦即決定切換通信目的地的對象機器。切換通信目的地的對象機器的決定方法係可使用任何方法,可採行由使用者使用週邊工具151將切換對象的機器的識別號碼指定給通信機器11之方法。或者,可採行預先保有代表通信機器11切換通信目的地的候選對象機器之候選識別號碼,藉由使用者使用週邊工具151以參數(parameter)等從候選識別號碼中選擇切換通信目的地的對象機器,而將切換通信目的地的對象機器指定給通信機器11之方法等。此外,通信機器11的微處理器131係透過週邊工具I/F 141取得來自週邊工具151的所指示的識別號碼或所指示的參數所對應的識別號碼,作為切換通信目的地的對象機器的識別號碼。 As shown in Fig. 6, the communication device 11 obtains a switching pair The identification number B of the communication device 12 of the image (step S11). Specifically, first, it is determined that the communication device that switches the communication destination of the communication device 11 is switched, that is, the target device that switches the communication destination is determined. The method of determining the target device of the communication destination can be any method, and the method of assigning the identification number of the device to be switched to the communication device 11 by the user using the peripheral tool 151 can be adopted. Alternatively, the candidate identification number of the candidate device that switches the communication destination on behalf of the communication device 11 may be preliminarily held, and the user selects the object to switch the communication destination from among the candidate identification numbers by means of the peripheral tool 151 using parameters or the like. A method of assigning a target device that switches a communication destination to the communication device 11 or the like. Further, the microprocessor 131 of the communication device 11 acquires the instructed identification number from the peripheral tool 151 or the identification number corresponding to the instructed parameter via the peripheral tool I/F 141, and recognizes the target device as the communication destination. number.

此外,此處雖係將通信機器11的切換對象的通信機器設為通信機器12,但切換對象的通信機器並不限於通信機器12,切換對象的通信機器係只要支援本實施形態的切換處理即可。例如,亦可構成為除了第1圖所示通信機器11、12以外,復將其他通信機器連接至路由控制器21,從上述其他通信機器與通信機器12之中選擇通信機器11的切換對象的通信機器。 In addition, although the communication device to be switched by the communication device 11 is the communication device 12, the communication device to be switched is not limited to the communication device 12, and the communication device to be switched is supported by the switching process of the present embodiment. can. For example, in addition to the communication devices 11 and 12 shown in FIG. 1, another communication device may be connected to the routing controller 21, and the switching target of the communication device 11 may be selected from among the other communication devices and the communication device 12. Communication machine.

在開始進行步驟S11的處理的時點,通信機器11、通信機器12的識別號碼及路由表221的狀態為第7圖的P101的狀態。此外,在開始進行步驟S11的處理的時 點,當以識別號碼為目的地傳送交易時,實際接收交易的通信機器係如第8圖的P201所示。亦即,目的地的識別號碼設定為識別號碼A的交易係由通信機器11所接收,目的地的識別號碼設定為識別號碼B的交易係由通信機器12所接收。 When the process of step S11 is started, the identification number of the communication device 11, the communication device 12, and the state of the routing table 221 are the states of P101 in Fig. 7. Further, at the time of starting the process of step S11 Point, when the transaction is transmitted with the identification number as the destination, the communication device that actually receives the transaction is as shown by P201 in Fig. 8. That is, the transaction number of the destination is set such that the transaction number of the identification number A is received by the communication device 11, and the transaction number of the destination identification number set to the identification number B is received by the communication device 12.

回到第6圖的說明,通信機器11係將識別號碼的變更要求發送至通信機器12(步驟S12)。具體而言,通信機器11的微處理器131係對發送/接收部101,下指示發送以通信機器12為目的地且儲存有識別號碼的變更要求之交易,發送/接收部101根據指示,將識別號碼的變更要求的交易發送至通信機器12。要求變更識別號碼的要求方法係例如有將中斷等專用的交易發送給屬於要求對象的通信機器12之方法。要求變更識別號碼的要求方法並不以此為限,亦可採用將要求寫入屬於要求對象的通信機器12的資料記憶體121的特定位址之方法等。另外,在本實施形態中,藉由識別號碼的變更要求,通信機器12便能夠認知到將進行將裝置31的通信目的地從通信機器11換成自己的切換,因此,本實施形態的識別號碼的變更要求係相當於要求通信目的地從通信機器11切換成通信機器12的切換要求。 Returning to the description of Fig. 6, the communication device 11 transmits the change request of the identification number to the communication device 12 (step S12). Specifically, the microprocessor 131 of the communication device 11 instructs the transmission/reception unit 101 to transmit a transaction in which the communication device 12 is destined for the change request of the identification number, and the transmission/reception unit 101 will, according to the instruction, The transaction requiring the change of the identification number is sent to the communication device 12. The method of requesting the change of the identification number is, for example, a method of transmitting a dedicated transaction such as an interruption to the communication device 12 belonging to the request. The method of requesting the change of the identification number is not limited thereto, and a method of writing a request to a specific address of the data memory 121 of the communication device 12 belonging to the request object or the like may be employed. Further, in the present embodiment, the communication device 12 can recognize that the communication destination of the device 31 is switched from the communication device 11 to itself by the change request of the identification number. Therefore, the identification number of the present embodiment The change request is equivalent to a request for switching of the communication destination from the communication device 11 to the communication device 12.

接著,通信機器12係當透過路由控制器21從通信機器11接收到識別號碼的變更要求(步驟S21),便取得變更對象自身的識別號碼即識別號碼A(步驟S22)。就變更對象的識別號碼的取得方法而言,可採行在藉由步驟 S12發送的變更要求儲存變更對象的識別號碼,由通信機器11從變更要求提取變更對象的識別號碼之方法。或者,藉由步驟S12將變更對象的識別號碼寫入資料記憶體121的特定的位址,由通信機器11參照所寫入的值之方法、或者預先構成為冗餘構成而以成對之方式記憶在通信機器11內部的記憶體,由通信機器11讀出通信機器12的識別號碼之方法等。 Next, when the communication device 12 receives the change request of the identification number from the communication device 11 via the routing controller 21 (step S21), the communication device 12 acquires the identification number A which is the identification number of the change target itself (step S22). The method for obtaining the identification number of the change object can be adopted by the step The change request transmitted by S12 is a method of storing the identification number of the change target, and the communication device 11 extracts the identification number of the change target from the change request. Alternatively, the identification number of the change target is written in the specific address of the data memory 121 in step S12, and the communication device 11 refers to the written value or is configured in a redundant manner in a paired manner. The memory stored in the communication device 11 is read by the communication device 11 and the identification number of the communication device 12 is read.

接著,通信機器12係將自身的識別號碼從B變更成A(步驟S23)。亦即,通信機器12係當在通信機器11具有第一號碼即A且通信機器12具有第二號碼即B的狀態下接收到要求將裝置31的通信目的地從通信機器11切換成自己的切換要求,便將自身亦即通信機器12的識別號碼變更成通信機器11的識別號碼即A。具體而言,通信機器12的微處理器131係透過發送/接收部101修改識別號碼處理部111所保有的自身的識別號碼。藉由此步驟S23,通信機器11、通信機器12的識別號碼及路由表221的狀態係變化成第7圖的P102的狀態。此外,當以識別號碼為目的地傳送交易時,實際接收交易的通信機器係變化為第8圖的P202。此時,如第7圖的狀態P102所示,通信機器11及通信機器12的識別號碼變成同為A。然而,以通信機器11及通信機器12為目的地的交易係藉由路由控制器21進行路由來到達通信機器11及通信機器12,故如第8圖的狀態P202所示,傳送給識別號碼A的交易係僅被通信機器11接收。 Next, the communication device 12 changes its own identification number from B to A (step S23). That is, the communication device 12 receives a switch requesting that the communication destination of the device 31 be switched from the communication device 11 to itself when the communication device 11 has the first number A and the communication device 12 has the second number B. Upon request, the identification number of the communication device 12 itself is changed to A, which is the identification number of the communication device 11. Specifically, the microprocessor 131 of the communication device 12 modifies the own identification number held by the identification number processing unit 111 via the transmission/reception unit 101. By this step S23, the identification number of the communication device 11, the communication device 12, and the state of the routing table 221 are changed to the state of P102 of Fig. 7. Further, when the transaction is transmitted with the identification number as the destination, the communication device that actually receives the transaction changes to P202 of Fig. 8. At this time, as shown in state P102 of Fig. 7, the identification numbers of the communication device 11 and the communication device 12 become the same as A. However, the transaction destined for the communication device 11 and the communication device 12 is routed to the communication device 11 and the communication device 12 by the routing controller 21, and is transmitted to the identification number A as shown in state P202 of Fig. 8. The transaction is only received by the communication machine 11.

回到第6圖的說明,接著,通信機器12係發送識別號碼的變更完成訊息(步驟S24)。亦即,通信機器12係在將自身的識別號碼變更為A後,將切換完成訊息、亦即識別號碼的變更完成訊息給通信機器11。具體而言,通信機器12的微處理器131係對發送/接收部101下指示將識別號碼的變更完成訊息發送給識別號碼的變更要求的發送者即通信機器11,發送/接收部101係將識別號碼的變更完成訊息發送給通信機器11。另外,變更完成訊息的通知方法係亦可採用將中斷等專用的交易發送給屬於變更要求來源的通信機器之方法,亦可採用將完成通知寫入屬於變更要求來源的通信機器12的資料記憶體121的特定位址之方法等。 Returning to the description of Fig. 6, the communication device 12 transmits a change completion message of the identification number (step S24). That is, the communication device 12 sets the change completion message, that is, the change completion information of the identification number, to the communication device 11 after changing its own identification number to A. Specifically, the microprocessor 131 of the communication device 12 transmits the communication/reception unit 101, which is a sender that instructs the transmission/reception unit 101 to transmit a change completion information of the identification number to the identification number. The change completion message of the identification number is transmitted to the communication device 11. Further, the notification method of the change completion message may be a method of transmitting a dedicated transaction such as an interruption to a communication device belonging to the source of the change request, or a data memory of the communication device 12 belonging to the source of the change request may be written. 121 method of specific address, etc.

接著,通信機器11係當從通信機器12透過路由控制器21接收到識別號碼的變更完成訊息(步驟S13),便將路由控制器21的路由表221中的識別號碼A與B的路徑進行置換(步驟S14)。亦即,通信機器11係當獲得切換完成訊息的通知,便將路徑資訊即路由表221中對應識別號碼A的路徑識別符變更成作為對應識別號碼B的路徑識別符而儲存在路由表221的路徑識別符即b。此外,在通信機器12將識別號碼變更為通信機器11的識別號碼即A後,將對應識別號碼B的路徑識別符變更成在通信機器11的識別號碼變更前作為對應識別號碼A的路徑識別符而儲存在路由表221的路徑識別符即a。具體而言,通信機器11的微處理器131係當透過發送/接收部101接收 到識別號碼的變更完成訊息,便實施將路由控制器21的路由表221中的識別號碼A與B的路徑進行置換的處理。具體而言,係將路由表221內的識別號碼A的路由資訊之與發送目的地路徑對應的路徑識別符從a更新成b,將路由表221內的識別號碼B的路由資訊之與發送目的地路徑對應的路徑識別符從b更新成a。 Next, when the communication device 11 receives the change completion information of the identification number from the communication device 12 via the routing controller 21 (step S13), the communication device 11 replaces the paths of the identification numbers A and B in the routing table 221 of the routing controller 21. (Step S14). That is, the communication device 11 changes the path identifier corresponding to the identification number A in the routing information 221 to the path identifier corresponding to the identification number B and stores it in the routing table 221 when the notification of the handover completion message is obtained. The path identifier is b. Further, after the communication device 12 changes the identification number to A which is the identification number of the communication device 11, the path identifier corresponding to the identification number B is changed to the path identifier corresponding to the identification number A before the identification number of the communication device 11 is changed. The path identifier stored in the routing table 221 is a. Specifically, the microprocessor 131 of the communication device 11 is received by the transmitting/receiving section 101. The process of replacing the identification numbers A and B in the routing table 221 of the routing controller 21 is performed to the change completion information of the identification number. Specifically, the path identifier corresponding to the destination path of the routing information of the identification number A in the routing table 221 is updated from a to b, and the routing information of the identification number B in the routing table 221 is transmitted. The path identifier corresponding to the ground path is updated from b to a.

針對將路由控制器21的路由表221中的識別號碼A與B的路徑進行置換的處理亦即路由表221的更新方法,可如上述,藉由以路由控制器21為目的地的交易進行更新,亦可藉由修改路由控制器21的記憶體內的資訊來更新路由表221的內容。 The process of replacing the paths of the identification numbers A and B in the routing table 221 of the routing controller 21, that is, the updating method of the routing table 221, can be updated by the transaction destined for the routing controller 21 as described above. The content of the routing table 221 can also be updated by modifying the information in the memory of the routing controller 21.

藉由此步驟S14,通信機器11、通信機器12的識別號碼及路由表221的狀態係變化成第7圖的P103的狀態。此外,當以識別號碼為目的地傳送交易時,實際接收交易的通信機器係變化為第8圖的P203。此時,如第7圖的狀態P103所示,通信機器11與通信機器12的識別號碼變成同為A。然而,以通信機器11及通信機器12為目的地的交易係藉由路由控制器21進行路由,故如第8圖的狀態P203所示,傳送給識別號碼A的交易係僅被通信機器12接收。 By this step S14, the identification number of the communication device 11, the communication device 12, and the state of the routing table 221 are changed to the state of P103 of Fig. 7. Further, when the transaction is transmitted with the identification number as the destination, the communication device that actually receives the transaction changes to P203 of Fig. 8. At this time, as indicated by state P103 in Fig. 7, the identification number of the communication device 11 and the communication device 12 becomes the same as A. However, since the transaction destined for the communication device 11 and the communication device 12 is routed by the routing controller 21, the transaction transmitted to the identification number A is received only by the communication device 12 as shown in state P203 of Fig. 8. .

回到第6圖的說明,接著,通信機器11係將自身的識別號碼從A變更成B(步驟S15)。具體而言,通信機器11的微處理器131係透過發送/接收部101將識別號碼處理部111所保有的通信機器11的識別號碼從A變 更成B。 Returning to the description of Fig. 6, the communication device 11 changes its own identification number from A to B (step S15). Specifically, the microprocessor 131 of the communication device 11 changes the identification number of the communication device 11 held by the identification number processing unit 111 from A through the transmission/reception unit 101. More into B.

藉由此步驟S15,通信機器11、通信機器12的識別號碼及路由表221的狀態係變化成第7圖的P104的狀態。此外,將交易傳送到識別號碼為目的地時,實際接收交易的通信機器係變化為第8圖的P204。藉由上述的處理,以識別號碼A為目的地的交易便藉由路由控制器21而轉送給路徑b而被通信機器12接收。 By this step S15, the identification number of the communication device 11, the communication device 12, and the state of the routing table 221 are changed to the state of P104 of Fig. 7. Further, when the transaction is transmitted to the identification number as the destination, the communication device that actually receives the transaction changes to P204 in Fig. 8. By the above processing, the transaction destined for the identification number A is transferred to the route b by the routing controller 21 and received by the communication device 12.

如上所述,在本實施形態中,通信機器11係在具有A作為自身的通信用的識別號碼且能夠與外部的機器即裝置31進行通信的其他通信機器即通信機器12具有識別號碼B作為通信用的識別號碼之狀態下,發送要求將裝置31的通信目的地從自身切換成通信機器12的切換要求。接著,通信機器11係當從通信機器12接收到切換完成訊息時,便將路由控制器21所保有的路由表221中對應識別號碼A的路徑識別符變更成作為對應識別號碼B的路徑識別符且儲存在路由表221的路徑識別符,而將自身的識別號碼變更成B。 As described above, in the present embodiment, the communication device 11 has the identification number B as the communication device 12, which is another communication device that has A as its own communication identification number and can communicate with the external device 31. In the state of the identification number used, the transmission request is made to switch the communication destination of the device 31 from itself to the switching request of the communication device 12. Next, when receiving the handover completion message from the communication device 12, the communication device 11 changes the path identifier corresponding to the identification number A in the routing table 221 held by the routing controller 21 to the path identifier as the corresponding identification number B. And the path identifier stored in the routing table 221 is changed, and its own identification number is changed to B.

在第6圖所示的例子中係說明從通信機器11開始通信目的地的切換處理時的流程,而在從通信機器12開始切換處理的情形中,係只要置換通信機器11與通信機器12的處理即可。此外,亦可構成為省略第6圖中所示的步驟S11、S12、S21,而從步驟S22開始通信目的地的切換處理。此外,在從通信機器11開始通信目的地的切換處理的情形中,亦可構成為在第6圖所示的例子中置換 通信機器11與通信機器12、省略步驟S11、S12、S21,而從通信機器11開始切換處理。 In the example shown in FIG. 6, the flow of the switching process of the communication destination from the communication device 11 will be described, and in the case where the switching process is started from the communication device 12, the communication device 11 and the communication device 12 are replaced. Just handle it. Further, the steps S11, S12, and S21 shown in FIG. 6 may be omitted, and the switching process of the communication destination may be started from step S22. Further, in the case of switching processing of the communication destination from the communication device 11, the configuration may be replaced in the example shown in FIG. The communication device 11 and the communication device 12, and the steps S11, S12, and S21 are omitted, and the switching process is started from the communication device 11.

接著,針對本實施形態的通信機器11、12及路由控制器21的硬體構成進行說明。通信機器11、12的發送/接收部101係發送機及接收機。資料記憶體121係記憶體,微處理器131係處理器。週邊工具I/F 141係發送機及接收機。識別號碼處理部111係記憶體。前述的微處理器131的功能係藉由微處理器131讀取並執行儲存在通信機器11、12內的記憶體的程式(program)來實現。 Next, the hardware configuration of the communication devices 11 and 12 and the routing controller 21 of the present embodiment will be described. The transmitting/receiving unit 101 of the communication devices 11, 12 is a transmitter and a receiver. The data memory 121 is a memory, and the microprocessor 131 is a processor. The peripheral tool I/F 141 is a transmitter and receiver. The identification number processing unit 111 is a memory. The aforementioned functions of the microprocessor 131 are realized by the microprocessor 131 reading and executing a program stored in the memory devices 11, 12.

第9圖係顯示路由控制器21的硬體構成的一例之圖。如第9圖所示,路由控制器21係能夠藉由處理器301、記憶體302及通信部303構成。發送/接收部201至203係藉由通信部303實現。路由處理部211係藉由處理器301讀取並執行儲存在記憶體302的程式而實現。路由表221係儲存在記憶體302。 Fig. 9 is a view showing an example of the hardware configuration of the routing controller 21. As shown in FIG. 9, the routing controller 21 can be configured by the processor 301, the memory 302, and the communication unit 303. The transmitting/receiving sections 201 to 203 are realized by the communication section 303. The routing processing unit 211 is realized by the processor 301 reading and executing the program stored in the memory 302. The routing table 221 is stored in the memory 302.

另外,在第9圖中雖係顯示藉由處理器301實現路由處理部211的例子,但路由處理部211係亦可藉由屬於專用之硬體的處理電路實現。此時,處理電路係例如為單一電路、複合電路、程式化的處理器、平行程式化的處理器、ASIC(Application Specific Integrated Circuit;特定應用積體電路)、FPGA(Field Programmable Gate Array;可規劃邏輯閘陣列),或組合上述處理電路。 Further, in the ninth figure, an example in which the routing processing unit 211 is implemented by the processor 301 is shown, but the routing processing unit 211 may be realized by a processing circuit belonging to a dedicated hardware. In this case, the processing circuit is, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmable processor, an ASIC (Application Specific Integrated Circuit), or an FPGA (Field Programmable Gate Array; Logic gate array), or a combination of the above processing circuits.

如上所述,在本實施形態1中,係構成為通信機器11、通信機器12能夠變更路由控制器21的路由表 221,且於通信目的地的切換時,通信機器11與通信機器12之間,係在其中一者完成識別號碼的變更後,通知另一者切換完成訊息,接收到切換完成訊息的通信機器係變更識別號碼,並且更新路由控制器21的路由表221。因此,屬於通信源之機器的裝置31不用具備支援通信目的地切換的功能即能夠切換網路上的通信目的地。此外,雖然在置換通信目的地時存在複數個通信機器擁有同一個識別號碼的期間,但由於交易係藉由路由控制器21而路由到與識別號碼對應的路徑,故不會發生對一個交易有複數個回應返回等的問題。此外,藉由實施路由,不再給各通信機器發送非必要的交易,故相較於不實施路由、使用廣播等的構成,能夠抑制通信負荷。 As described above, in the first embodiment, the communication device 11 and the communication device 12 can change the routing table of the routing controller 21. 221, when the communication destination is switched, between the communication device 11 and the communication device 12, after one of the completion of the change of the identification number, the other party is notified of the handover completion message, and the communication device system that has received the handover completion message is received. The identification number is changed, and the routing table 221 of the routing controller 21 is updated. Therefore, the device 31 belonging to the device of the communication source can switch the communication destination on the network without having a function of supporting the switching of the communication destination. Further, although there are a plurality of communication machines having the same identification number at the time of replacing the communication destination, since the transaction is routed to the path corresponding to the identification number by the routing controller 21, there is no occurrence of a transaction. Multiple responses to return questions. Further, by performing routing, unnecessary transactions are not transmitted to each communication device, and thus the communication load can be suppressed as compared with a configuration in which no route is used or broadcast is used.

實施形態2. Embodiment 2.

第10圖係顯示本發明實施形態2的通信系統的構成例之圖。本實施形態的通信系統1a係具備:通信機器11、12;路由控制器41,即本實施形態2的路徑控制器;及與實施形態1相同的裝置31。具有與實施形態1相同功能的構成要素係標註與實施形態1相同的元件符號並省略重複說明。以下,說明與實施形態1間的相異點。通信機器11、通信機器12係與實施形態1的通信機器11、通信機器12為相同構成。通信機器11、通信機器12的動作在後述的通信目的地的切換處理中,部分動作異於實施形態1的通信機器11、通信機器12,除此之外係與實施形態1的通信機器11、通信機器12的動作相同。 Fig. 10 is a view showing a configuration example of a communication system according to a second embodiment of the present invention. The communication system 1a of the present embodiment includes communication devices 11 and 12, a routing controller 41, that is, a path controller according to the second embodiment, and a device 31 similar to that of the first embodiment. The components having the same functions as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and the overlapping description will be omitted. Hereinafter, the difference from the first embodiment will be described. The communication device 11 and the communication device 12 have the same configuration as the communication device 11 and the communication device 12 of the first embodiment. The operation of the communication device 11 and the communication device 12 is different from the communication device 11 and the communication device 12 of the first embodiment in the switching process of the communication destination to be described later, and the communication device 11 of the first embodiment is also used. The operation of the communication device 12 is the same.

如上述,在實施形態1中,係在通信機器11、12短暫共用識別號碼A變更路由表221後再將通信機器11的識別號碼A變更成B,故做到在不會沒有對應識別號碼A的機器的情形下切換通信目的地。因此,在將實施形態1的通信目的地的切換方法適用於以通信機器11與通信機器12組成冗餘構成的形態的情形中,只要將主系統的識別號碼設為A,便能夠在不會短暫沒有主系統的情形下進行切換。 As described above, in the first embodiment, after the communication devices 11 and 12 temporarily share the identification number A change routing table 221, the identification number A of the communication device 11 is changed to B, so that there is no corresponding identification number A. In the case of a machine, the communication destination is switched. Therefore, in the case where the switching method of the communication destination according to the first embodiment is applied to a configuration in which the communication device 11 and the communication device 12 are redundant, the identification number of the main system can be set to A. Switching without a main system for a short time.

然而,由於必須由切換前屬於主系統的通信機器11變更路由控制器21的路由表221,故當因主系統發生故障而切換通信目的地時,係有必須以發生故障的通信機器11變更路由控制器21的路由表221之問題。 However, since the routing table 221 of the routing controller 21 must be changed by the communication device 11 belonging to the primary system before the switching, when the communication destination is switched due to the failure of the primary system, it is necessary to change the route with the communication device 11 that has failed. The problem of the routing table 221 of the controller 21.

在本實施形態2中,係由在通信目的地的切換後被設定識別號碼A的通信機器12變更路由表221。因此,在本實施形態中,當冗餘構成中的主系統故障時,能夠藉由主系統以外的未故障的通信機器12變更路由表221。 In the second embodiment, the communication table 12 in which the identification number A is set after the switching of the communication destination is changed to the routing table 221. Therefore, in the present embodiment, when the main system in the redundant configuration fails, the routing table 221 can be changed by the non-faulty communication device 12 other than the main system.

本實施形態的路由控制器41係進行單播通信及多播通信的交易的路由。第11圖係顯示本實施形態的路由控制器41的構成例之圖。如第11圖所示,本實施形態的路由控制器41係具備支援多播路由處理部231取代實施形態1的路由處理部211,且保有多播用路由表241,除上述外係與實施形態1的路由控制器21相同。 The routing controller 41 of the present embodiment is a route for performing transactions of unicast communication and multicast communication. Fig. 11 is a view showing an example of the configuration of the routing controller 41 of the present embodiment. As shown in Fig. 11, the routing controller 41 of the present embodiment includes a multicast routing processing unit 231 in place of the routing processing unit 211 of the first embodiment, and a multicast routing table 241, in addition to the above-described external system and embodiment. The routing controller 21 of 1 is the same.

接著,針對本實施形態的動作進行說明。 在實施形態2中,通信機器11及通信機器12發送/接收交易的程序係與實施形態1相同。另外,當以多播方式發送交易時,通信機器11、通信機器12及裝置31係將多播群組(group)的識別號碼即群組號碼儲存至目的地的識別號碼,此點在實施形態1中亦同。 Next, the operation of this embodiment will be described. In the second embodiment, the program for transmitting/receiving transactions by the communication device 11 and the communication device 12 is the same as that of the first embodiment. Further, when the transaction is transmitted by multicast, the communication device 11, the communication device 12, and the device 31 store the identification number of the multicast group as the identification number of the destination, which is the embodiment. 1 is also the same.

此外,在實施形態2中,路由控制器41所進行的單播通信的交易的路由程序係與實施形態1的路由控制器21所進行的交易的路由程序相同。亦即,對於單播通信的交易,路由控制器41的支援多播路由處理部231係實施與實施形態1的路由處理部211相同的路由。 Further, in the second embodiment, the routing procedure of the transaction of the unicast communication performed by the routing controller 41 is the same as the routing procedure of the transaction performed by the routing controller 21 of the first embodiment. That is, in the case of the unicast communication transaction, the support multicast routing processing unit 231 of the routing controller 41 performs the same route as the routing processing unit 211 of the first embodiment.

接著,針對路由控制器41所進行的多播通信的交易的路由處理進行說明。第12圖係顯示多播用路由表241的構成例之圖。如第12圖所示,多播用路由表241係按群組號碼儲存路由資訊,該路由資訊係以多播群組的識別號碼即群組號碼、及與該群組號碼對應的傳送目的地路徑所構成。關於多播用路由表241中的傳送目的地路徑,係設有與路由控制器41所連接的全部路徑的各者對應的欄,在與各路徑對應的欄係儲存True即傳送或False即不傳送其中任一值作為傳送資訊。在多播用路由表241中,傳送資訊為True的路徑係表示將相對應的交易傳送出去。另外,多播用路由表241沒有群組號碼重複的路由資訊。 Next, the routing processing of the transaction of the multicast communication performed by the routing controller 41 will be described. Fig. 12 is a view showing a configuration example of the multicast routing table 241. As shown in FIG. 12, the multicast routing table 241 stores routing information by group number, which is the identification number of the multicast group, that is, the group number, and the transmission destination corresponding to the group number. The path is composed. Regarding the transfer destination path in the multicast routing table 241, a column corresponding to each of all the paths connected to the routing controller 41 is provided, and in the column corresponding to each path, True is transmitted or False is not Transfer any of these values as a transfer message. In the multicast routing table 241, the path in which the transmission information is True indicates that the corresponding transaction is transmitted. In addition, the multicast routing table 241 does not have routing information in which the group number is repeated.

多播用路由表241的更新方法係與實施形態1中所說明的路由表221的更新方法相同,能夠由任意 的通信機器在任意的時序更新多播用路由表241。多播用路由表241的路由資訊的更新內容係立即套用到支援多播路由處理部231中的傳送目的地的判斷。 The update method of the multicast routing table 241 is the same as the update method of the routing table 221 described in the first embodiment, and can be arbitrarily The communication machine updates the multicast routing table 241 at any timing. The update content of the routing information of the multicast routing table 241 is immediately applied to the determination of the transfer destination in the multicast routing processing unit 231.

就多播用路由表241的初始值而言,能夠設定任意的值。例如,就多播用路由表241的初始值而言,可採行不具有任何路由資訊之方法、或具有任意數量的預設路由資訊之方法。 As the initial value of the multicast routing table 241, an arbitrary value can be set. For example, in the case of the initial value of the routing table 241 for multicast, a method without any routing information or a method having any number of preset routing information may be employed.

可採行在多播用路由表241的初始值的設定後,於通信系統1a的啟動時設定或新增供通信目的地的切換處理之用的與多播群組對應的路由資訊之方法、或者於通信目的地的切換時設定或新增供通信目的地的切換處理之用的與多播群組對應的路由資訊之方法。 After the setting of the initial value of the multicast routing table 241, a method of setting or adding routing information corresponding to the multicast group for the switching process of the communication destination at the time of activation of the communication system 1a may be adopted. Or a method of setting or adding routing information corresponding to a multicast group for switching processing of a communication destination at the time of switching of the communication destination.

在以下的說明中,係說明於通信系統啟動時新增多播用路由表241的路由資訊的例子。在第12圖所示的多播用路由表241中,作為供實施形態2的通信目的地的切換處理使用之用的路由資訊,係新增有群組號碼G11的路由資訊。群組號碼G11係供實施形態2的通信目的地的切換處理使用而定義的多播群組。在第12圖所示的例子中,就與群組號碼G11對應的發送目的地路徑而言,路徑a設定為True,其他路徑設定為False。因此,在多播用路由表241為第12圖所示狀態的情形中,路由控制器41係將以群組號碼G11為目的地的交易傳送給路徑a,對其他路徑則不傳送以群組號碼G11為目的地的交易。 In the following description, an example of adding routing information of the multicast routing table 241 at the time of startup of the communication system will be described. In the multicast routing table 241 shown in FIG. 12, routing information for use in the switching process of the communication destination according to the second embodiment is added with the routing information of the group number G11. The group number G11 is a multicast group defined by the use of the switching process of the communication destination in the second embodiment. In the example shown in Fig. 12, the path a is set to True for the destination path corresponding to the group number G11, and the other path is set to False. Therefore, in the case where the multicast routing table 241 is in the state shown in Fig. 12, the routing controller 41 transmits the transaction destined for the group number G11 to the path a, and the other routes are not transmitted to the group. The number G11 is the destination transaction.

接著,針對路由控制器41的多播通信的交 易的路由處理進行說明。第13圖係顯示路由控制器41的多播通信的交易的路由處理程序的一例之流程圖。 Next, the handover of the multicast communication for the routing controller 41 Easy routing processing is explained. Fig. 13 is a flow chart showing an example of a route processing program for the transaction of the multicast communication of the routing controller 41.

路由控制器41係從路徑a至c中任意一路徑,藉由相對應的發送/接收部201至203接收多播通信的交易(步驟S31)。發送/接收部201至203係將所接收的交易傳送給支援多播路由處理部231。 The routing controller 41 receives a transaction of the multicast communication from the corresponding one of the paths a to c by the corresponding transmitting/receiving sections 201 to 203 (step S31). The transmitting/receiving sections 201 to 203 transmit the received transaction to the support multicast routing processing section 231.

支援多播路由處理部231係從多播用路由表241中搜尋與發送目的地對應的路徑(步驟S32)。具體而言,支援多播路由處理部231係提取儲存在所接收的交易中的發送目的地,亦即提取儲存在目的地的識別號碼中的群組號碼,再從多播用路由表241中搜尋與所提取的群組號碼對應的路由資訊。 The multicast routing processing unit 231 searches for a path corresponding to the transmission destination from the multicast routing table 241 (step S32). Specifically, the support multicast routing processing unit 231 extracts the transmission destination stored in the received transaction, that is, extracts the group number stored in the identification number of the destination, and then proceeds from the multicast routing table 241. Search for routing information corresponding to the extracted group number.

接著,支援多播路由處理部231係將藉由搜尋所找到的記錄亦即路由資訊的全部路徑的其中一者設為處理對象(步驟S33)。支援多播路由處理部231係判斷路由資訊的處理對象的路徑的設定是否為True(步驟S34)。亦即,支援多播路由處理部231係參照路由資訊中與處理對象的路徑對應的發送資訊,判斷該發送資訊是否為True。 Next, the support multicast routing processing unit 231 sets one of all the paths of the route information, which is the record found by the search, as the processing target (step S33). The support multicast routing processing unit 231 determines whether or not the setting of the path to be processed by the routing information is True (step S34). In other words, the support multicast routing processing unit 231 refers to the transmission information corresponding to the path to be processed in the routing information, and determines whether or not the transmission information is True.

當路徑的設定為True時(步驟S34,「是」),支援多播路由處理部231係將交易傳送給該路徑(步驟S35),然後判斷是否對記錄中的全部路徑已進行完處理,亦即是否已進行完步驟S34的處理(步驟S37)。當對記錄的全部路徑已進行完處理時(步驟S37,「是」),支援多播路由處理部231係結束路由處理。 When the path setting is True (YES in step S34), the multicast routing support processing unit 231 transmits the transaction to the path (step S35), and then determines whether or not all the paths in the recording have been processed. That is, whether or not the processing of step S34 has been performed (step S37). When the entire path of the record has been processed (YES in step S37), the support multicast routing processing unit 231 ends the routing process.

當尚未對記錄的全部路徑進行完處理時(步驟S37,「否」),支援多播路由處理部231係變更處理對象的路徑(步驟S38),回到步驟S34。在步驟S34,當路徑的設定非為True時(步驟S34,「否」),不將交易傳送給該路徑(步驟S36),前進至步驟S37。 When the entire path of the recording has not been processed (NO in step S37), the multicast routing processing unit 231 is configured to change the path to be processed (step S38), and the flow returns to step S34. In step S34, when the setting of the route is not True (NO in step S34), the transaction is not transmitted to the route (step S36), and the process proceeds to step S37.

接著,針對實施形態的通信目的地的切換處理進行說明。第14圖係顯示本實施形態的通信機器11與通信機器12之間實施通信目的地的切換處理時的處理程序的一例之流程圖。步驟S41係與步驟S11相同。在步驟S42中,通信機器11係對通信機器12發送要求與通信機器11間切換通信目的地的通信目的地切換要求(步驟S42)。通信目的地切換的要求方法係能夠藉由與實施形態1中所說明的識別號碼的變更的要求方法相同的方法實施。 Next, the switching process of the communication destination in the embodiment will be described. Fig. 14 is a flowchart showing an example of a processing procedure when the communication destination switching processing is performed between the communication device 11 and the communication device 12 of the present embodiment. Step S41 is the same as step S11. In step S42, the communication device 11 transmits a communication destination switching request for switching the communication destination with the communication device 11 to the communication device 12 (step S42). The request method for switching the communication destination can be implemented by the same method as the method of requesting the change of the identification number described in the first embodiment.

通信機器12係經由路由控制器41,從通信機器11接收通信目的地切換要求(步驟S51)。通信機器12係取得要與自己之間切換通信目的地的通信機器11的識別號碼A(步驟S52)。該識別號碼的取得方法係能夠使用與實施形態1的步驟S22的識別號碼的取得方法相同的方法。 The communication device 12 receives the communication destination switching request from the communication device 11 via the routing controller 41 (step S51). The communication device 12 acquires the identification number A of the communication device 11 that is to be switched to the communication destination with itself (step S52). The method of acquiring the identification number can use the same method as the method of acquiring the identification number in step S22 of the first embodiment.

接著,同實施形態1的步驟S23,通信機器12係將自身的識別號碼從B變更成A(步驟S53)。藉由此步驟S53,通信機器11、通信機器12的識別號碼及路由表221的狀態係變化成第7圖的P102的狀態。此外,當對以識別號碼為目的地傳送交易時,實際接收交易的通信機器 係變化為第8圖的P202。此時,同在步驟S23後,通信機器11及通信機器12的識別號碼變成同為A。然而,同實施形態1,以通信機器11及通信機器12為目的地的交易係藉由路由控制器41進行路由來到達通信機器11及通信機器12,故如第8圖的狀態P202所示,傳送給識別號碼A的交易係僅被通信機器11接收。 Next, in the same manner as step S23 of the first embodiment, the communication device 12 changes its own identification number from B to A (step S53). By this step S53, the identification number of the communication device 11, the communication device 12, and the state of the routing table 221 are changed to the state of P102 of Fig. 7. In addition, when the transaction is transmitted with the identification number as the destination, the communication machine that actually receives the transaction The system changes to P202 in Fig. 8. At this time, after the step S23, the identification numbers of the communication device 11 and the communication device 12 become the same as A. However, in the first embodiment, the transaction destined for the communication device 11 and the communication device 12 is routed by the routing controller 41 to reach the communication device 11 and the communication device 12. Therefore, as shown in state P202 of Fig. 8, The transaction transmitted to the identification number A is received only by the communication device 11.

接著,通信機器12係將路由控制器41的路由表221中的識別號碼A與B的路徑進行置換(步驟S54)。亦即,通信機器12係實施將路由控制器41的路由表221中的識別號碼A與B的路徑進行置換的路徑變更處理。通信機器12所進行的路由控制器41的路由表221的變更方法係與步驟S14中通信機器11所進行的路由控制器21的路由表221的變更方法相同。 Next, the communication device 12 replaces the paths of the identification numbers A and B in the routing table 221 of the routing controller 41 (step S54). That is, the communication device 12 performs path change processing for replacing the paths of the identification numbers A and B in the routing table 221 of the routing controller 41. The method of changing the routing table 221 of the routing controller 41 by the communication device 12 is the same as the method of changing the routing table 221 of the routing controller 21 performed by the communication device 11 in step S14.

藉由此步驟S54,同實施形態1的步驟S14的情形,通信機器11、通信機器12的識別號碼及路由表221的狀態係變化成第7圖的P103的狀態。此外,當以識別號碼為目的地傳送交易時,實際接收交易的通信機器係變化為第8圖的P203。此時,如第7圖的狀態P103所示,通信機器11與通信機器12的識別號碼變成同為A。然而,同實施形態1,以通信機器11及通信機器12為目的地的交易係藉由路由控制器41進行路由,故如第8圖的狀態P203所示,傳送給識別號碼A的交易係僅被通信機器12接收。 By the step S54, in the case of the step S14 of the first embodiment, the identification number of the communication device 11, the communication device 12, and the state of the routing table 221 are changed to the state of P103 of Fig. 7. Further, when the transaction is transmitted with the identification number as the destination, the communication device that actually receives the transaction changes to P203 of Fig. 8. At this time, as indicated by state P103 in Fig. 7, the identification number of the communication device 11 and the communication device 12 becomes the same as A. However, in the first embodiment, the transaction destined for the communication device 11 and the communication device 12 is routed by the routing controller 41. Therefore, as shown in the state P203 of Fig. 8, the transaction transmitted to the identification number A is only Received by the communication device 12.

接著,通信機器12係以多播通信G11,發 送通信目的地的切換完成訊息(步驟S55)。亦即,通信機器12係在步驟S54的路徑變更處理的實施後,藉由以預設的群組號碼為目的地的多播,發送切換完成訊息。另外,所謂的多播通信G11,係指將目的地設為群組號碼G11的多播通信。如第7圖的狀態P103所示,在此時點,對應通信機器11的識別號碼並不存在,故通信機器12係藉由多播通信發送給通信機器11。另外,如第12圖所示,在多播用路由表241,作為對應群組號碼G11的路由資訊,係以僅路由至路徑a的方式設定路由資訊。此設定係如上述例如在通信系統1a的啟動時實施。藉由以上的設定,實施形態2的路徑控制器即路由控制器41係將以群組號碼G11為目的地的切換完成訊息轉送給通信機器11。 Then, the communication device 12 transmits the multicast communication G11. The switching completion message of the communication destination is sent (step S55). That is, the communication device 12 transmits the handover completion message by multicasting with the preset group number as the destination after the execution of the path change processing in step S54. Further, the so-called multicast communication G11 refers to multicast communication in which the destination is the group number G11. As shown in the state P103 of Fig. 7, at this point, the identification number of the corresponding communication device 11 does not exist, so the communication device 12 is transmitted to the communication device 11 by multicast communication. Further, as shown in Fig. 12, in the multicast routing table 241, as the routing information corresponding to the group number G11, routing information is set so as to be routed only to the path a. This setting is implemented as described above, for example, at the start of the communication system 1a. With the above setting, the route controller 41, which is the path controller of the second embodiment, transfers the switching completion message destined for the group number G11 to the communication device 11.

通信機器11係當經由路由控制器41接收到通信目的地的切換完成訊息時(步驟S43),便同實施形態1的步驟S15,將自身的識別號碼從A變更成B(步驟S44)。亦即,通信機器11係當獲得切換完成訊息的通知,便將自身的識別號碼變更成B。 When the communication device 11 receives the switching completion message of the communication destination via the routing controller 41 (step S43), the communication device 11 changes its own identification number from A to B in the same manner as step S15 of the first embodiment (step S44). That is, the communication device 11 changes its own identification number to B when it receives the notification of the handover completion message.

藉由此步驟S44,通信機器11、通信機器12的識別號碼及路由表221的狀態係變化成第7圖的P104的狀態。此外,當對以識別號碼為目的地傳送交易時,實際接收交易的通信機器係變化為第8圖的P204。藉由上述的處理,以識別號碼A為目的地的交易便藉由路由控制器41而轉送給路徑b而被通信機器12接收。 By this step S44, the identification number of the communication device 11, the communication device 12, and the state of the routing table 221 are changed to the state of P104 of Fig. 7. Further, when the transaction is transmitted with the identification number as the destination, the communication device that actually receives the transaction changes to P204 of Fig. 8. By the above processing, the transaction destined for the identification number A is transferred to the route b by the routing controller 41 and received by the communication device 12.

另外,在第14圖所示的例子中係說明從通 信機器11開始通信目的地的切換處理時的流程,而在從通信機器12開始切換處理的情形中,係只要置換通信機器11與通信機器12的處理即可。此外,亦可構成為省略第14圖中所示的步驟S41、S42、S51,而從步驟S52開始通信目的地的切換處理。此外,在從通信機器11開始通信目的地的切換處理的情形中,亦可構成為在第14圖所示的例子中置換通信機器11與通信機器12、省略步驟S41、S42、S51,而從通信機器11開始切換處理。 In addition, in the example shown in Fig. 14, the description is from the pass. The letter machine 11 starts the flow of the switching process of the communication destination, and in the case where the switching process is started from the communication device 12, the processing of the communication device 11 and the communication device 12 may be replaced. Further, the steps S41, S42, and S51 shown in FIG. 14 may be omitted, and the switching process of the communication destination may be started from step S52. Further, in the case where the communication device 11 starts the switching process of the communication destination, the communication device 11 and the communication device 12 may be replaced in the example shown in Fig. 14, and steps S41, S42, and S51 may be omitted. The communication device 11 starts the switching process.

如上所述,本實施形態的通信機器12係當在具有B作為自身的通信用的識別號碼且能夠與裝置31進行通信的其他通信機器即通信機器11具有A作為通信用的識別號碼之狀態下,接收到要求將裝置31的通信目的地從通信機器11切換成自身的切換要求,便將自身的識別號碼變更成A。然後,通信機器12係將路由控制器41所保有的路由表221中對應識別號碼A的路徑識別符變更成作為對應識別號碼B的路徑識別符而儲存在路由表221的路徑識別符,將自身的識別號碼變更成B。 As described above, the communication device 12 of the present embodiment is in a state in which the communication device 11 having the identification number for communication of B and communicating with the device 31, that is, the communication device 11 having A as the identification number for communication. When it receives a request to switch the communication destination of the device 31 from the communication device 11 to its own switching request, it changes its own identification number to A. Then, the communication device 12 changes the path identifier corresponding to the identification number A in the routing table 221 held by the routing controller 41 to the path identifier stored in the routing table 221 as the path identifier of the corresponding identification number B, and sets itself. Change the identification number to B.

此外,本實施形態的通信機器11係當從能夠與裝置31進行通信的其他通信機器即通信機器12接收到:表示裝置31的通信目的地從自身切換成通信機器12之切換已完成的切換完成訊息時,便將自身的通信用的識別號碼變更成通信機器12於切換前所使用的識別號碼即B。 Further, the communication device 11 of the present embodiment receives a handover completion from the communication device 12 which is another communication device capable of communicating with the device 31, indicating that the communication destination of the device 31 is switched from itself to the communication device 12 In the case of a message, the identification number for communication itself is changed to B, which is the identification number used by the communication device 12 before switching.

本實施形態的路由控制器41的硬體構成係 同實施形態1的路由控制器21,能夠使用第9圖所示的構成。發送/接收部201至203係藉由通信部303實現。支援多播路由處理部231係藉由處理器301讀取並執行儲存在記憶體302的程式而實現。路由表221及多播用路由表241係儲存在記憶體302。 The hardware configuration of the routing controller 41 of the present embodiment is The routing controller 21 of the first embodiment can use the configuration shown in Fig. 9. The transmitting/receiving sections 201 to 203 are realized by the communication section 303. The support multicast routing processing unit 231 is realized by the processor 301 reading and executing the program stored in the memory 302. The routing table 221 and the multicast routing table 241 are stored in the memory 302.

另外,在第9圖中雖係顯示藉由處理器301實現支援多播路由處理部231的例子,但支援多播路由處理部231係亦可藉由屬於專用之硬體的處理電路實現。 Further, although the example in which the processor 301 supports the multicast routing processing unit 231 is shown in FIG. 9, the multicast routing processing unit 231 can be realized by a processing circuit belonging to a dedicated hardware.

如上所述,在實施形態2中,路由控制器41係在多播用路由表241中保有切換通信目的地用的與群組號碼對應的路由資訊。此外,構成為:作為通信目的地切換對象的通信機器係在變更自身的識別號碼後,變更路由表221,然後,藉由多播方式發送通信目的地的切換完成訊息,接收到切換完成訊息的通信機器變更自身的識別號碼。因此,能夠獲得與實施形態1相同的效果,並且,在將實施形態2的構成及動作適用於以通信機器11與通信機器12組成冗餘構成的形態的情形中,當主系統故障時,能夠在不會造成沒有與主系統的識別號碼對應的通信機器的狀態下藉由未故障的通信機器切換通信目的地。 As described above, in the second embodiment, the routing controller 41 holds the routing information corresponding to the group number for switching the communication destination in the multicast routing table 241. Further, the communication device that is the communication destination switching target changes the routing table 221 after changing its own identification number, and then transmits the switching completion information of the communication destination by the multicast method, and receives the switching completion message. The communication device changes its own identification number. Therefore, the same effects as those of the first embodiment can be obtained, and in the case where the configuration and operation of the second embodiment are applied to a configuration in which the communication device 11 and the communication device 12 are redundantly configured, when the main system fails, The communication destination is switched by the non-faulty communication machine in a state where the communication device not corresponding to the identification number of the primary system is not caused.

實施形態3. Embodiment 3.

第15圖係顯示本發明實施形態3的通信系統的構成例之圖。本實施形態的通信系統1b係具備:通信機器51、52,係能夠任意地接收以自身的識別號碼以外為目的地的交易之通信機器;與實施形態1相同的路由控制器21;及 與實施形態1相同的裝置31。具有與實施形態1相同功能的構成要素係標註與實施形態1相同的元件編號並省略重複說明。以下,說明與實施形態1或實施形態2間的相異點。 Fig. 15 is a view showing a configuration example of a communication system according to a third embodiment of the present invention. The communication system 1b of the present embodiment includes communication devices 51 and 52, and is a communication device capable of arbitrarily receiving transactions other than its own identification number; the same routing controller 21 as that of the first embodiment; The same device 31 as in the first embodiment. The constituent elements having the same functions as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and the overlapping description will be omitted. Hereinafter, differences from the first embodiment or the second embodiment will be described.

在實施形態2中,從通信機器12發送切換完成訊息給通信機器11時,係使用多播通信。因此,便必須使用能夠進行多播通信的路由的路由控制器。在本實施形態3中,係說明由在通信目的地的切換後保有識別號碼A的通信機器52在不使用多播通信下變更路由表221之構成及動作。若適用實施形態3的構成及動作,便能夠在不使用支援多播通信的路由的路由控制器下,當冗餘構成中的主系統故障時,藉由主系統以外的未故障的通信機器52變更路由表221。 In the second embodiment, when the communication completion device transmits a handover completion message to the communication device 11, the multicast communication is used. Therefore, it is necessary to use a routing controller capable of routing of multicast communication. In the third embodiment, the configuration and operation of changing the routing table 221 by the communication device 52 holding the identification number A after the switching of the communication destination without using the multicast communication will be described. According to the configuration and operation of the third embodiment, it is possible to use a non-faulty communication device other than the main system when the main system in the redundant configuration fails in the routing controller that does not use the route supporting the multicast communication. Change routing table 221.

第16圖係顯示本實施形態的通信機器51、52的構成例之圖。如第16圖所示,通信機器51、52係具備發送/接收部161取代實施形態1的發送/接收部101,發送/接收部161係接收來自外部的路徑的交易、發送要給外部的路徑的交易,且能夠任意無效化(停用)接收交易時的目的地判定,除了上述以外係與實施形態1相同。 Fig. 16 is a view showing a configuration example of the communication devices 51 and 52 of the present embodiment. As shown in Fig. 16, the communication devices 51 and 52 include a transmission/reception unit 161 instead of the transmission/reception unit 101 of the first embodiment, and the transmission/reception unit 161 receives a transaction from an external route and transmits a path to the outside. The transaction is arbitrarily invalidated (deactivated), and the destination determination at the time of receiving the transaction is the same as that of the first embodiment except for the above.

在本實施形態中,當目的地判定設為有效化時,通信機器51、52的動作係與實施形態2的通信機器11、12相同,當接收到交易,儲存在交易中的目的地的識別號碼與自身的識別號碼相吻合時便實施接收處理,當不吻合時便將該交易捨棄。 In the present embodiment, when the destination determination is made active, the operations of the communication devices 51 and 52 are the same as those of the communication devices 11 and 12 of the second embodiment, and when the transaction is received, the destination stored in the transaction is identified. The receiving process is implemented when the number matches its own identification number, and the transaction is discarded when it does not match.

當目的地判定設為無效化時,發送/接收部161在從路徑n接收到交易時,不論交易的目的地為何、亦即不實施目的地判別,皆對交易實施接收處理。交易的接收處理實施後的動作係與實施形態1的通信機器11及通信機器12相同。 When the destination determination is invalidated, the transmission/reception unit 161 performs reception processing on the transaction regardless of the destination of the transaction, that is, the destination determination is not received when the transaction is received from the route n. The operation after the reception processing of the transaction is performed is the same as that of the communication device 11 and the communication device 12 of the first embodiment.

另外,發送/接收部161的接收交易時的目的地判定之無效化及有效化係由微處理器131實施。就目的地判定的無效化及有效化的方法而言,可採行當微處理器131將特定的識別號碼儲存至識別號碼處理部111時,發送/接收部161無效化或有效化目的地的判定之方法、或者藉由對發送/接收部161的設定而無效化或有效化目的地的判定之方法。此外,亦可採行藉由讓發送/接收部161接收來自外部的特定的交易而使發送/接收部161無效化或有效化目的地判定之法。當藉由特定的交易來無效化或有效化目的地判定時,能夠由外部的通信機器直接無效化或有效化發送/接收部161的目的地判定,不用透過通信機器51、52的微處理器131。 Further, the invalidation and activation of the destination determination at the time of receiving the transaction by the transmission/reception unit 161 is performed by the microprocessor 131. In the method of invalidating and validating the destination determination, it is possible to determine whether the transmission/reception unit 161 invalidates or validates the destination when the microprocessor 131 stores the specific identification number in the identification number processing unit 111. The method or the method of invalidating or validating the destination by setting the transmission/reception unit 161. Further, it is also possible to invalidate the transmission/reception unit 161 or validate the destination determination by causing the transmission/reception unit 161 to receive a specific transaction from the outside. When the destination determination is invalidated or validated by a specific transaction, the destination determination of the transmission/reception unit 161 can be directly invalidated or activated by the external communication device without passing through the microprocessor of the communication devices 51, 52. 131.

第17圖係顯示本實施形態的通信機器51與通信機器52間的通信目的地的切換處理程序的一例之流程圖。此處,係說明從通信機器51開始切換處理時的流程。 Fig. 17 is a flowchart showing an example of a switching processing program of a communication destination between the communication device 51 and the communication device 52 of the present embodiment. Here, the flow at the time of starting the switching process from the communication device 51 will be described.

步驟S61、S62、S71、S72係同實施形態2。在步驟S73中,通信機器52對通信機器51要求接收交易時的目的地判定無效化(步驟S73)。亦即,第二機器即通信 機器52係對第一機器即通信機器51指示通信機器51的目的地判定之無效化。目的地判定的無效化的要求方法係可採行將要求寫入屬於要求對象的通信機器的資料記憶體121的特定位址之方法、或者將目的地判定無效化之用的特定的交易發送給屬於要求對象的通信機器而直接無效化發送/接收部161的目的地判定之方法等。此處係構成為藉由後者的方法要求目的地判定之無效化。 Steps S61, S62, S71, and S72 are the same as those in the second embodiment. In step S73, the communication device 52 invalidates the destination determination at the time of requesting the communication device 51 to receive the transaction (step S73). That is, the second machine is communication The device 52 instructs the first device, that is, the communication device 51, to invalidate the destination determination of the communication device 51. The method of requesting the invalidation of the destination determination may be a method of writing a request to write a specific address of the data memory 121 belonging to the communication device of the request target or a specific transaction for invalidating the destination determination. The method of determining the destination of the transmission/reception unit 161 is directly invalidated by the communication device of the request. Here, it is configured to invalidate the destination determination by the latter method.

通信機器51係當經由路由控制器21接收到目的地判定之無效化的要求(步驟S63),便變更自身的發送/接收部161的設定,將目的地判定無效化(步驟S64)。亦即,通信機器51係當獲得目的地判定之無效化的指示,便對全部的目的地的通信資料實施接收處理。另外,在以特定的交易直接無效化通信目的地的發送/接收部161的目的地判定的情形中,步驟S63係在步驟S73後由發送/接收部161自動實施。 When receiving the request for invalidation of the destination determination via the routing controller 21 (step S63), the communication device 51 changes the setting of its own transmission/reception unit 161, and invalidates the destination determination (step S64). That is, the communication device 51 performs reception processing on the communication data of all the destinations when an instruction to invalidate the destination determination is obtained. In the case where the destination of the transmission/reception unit 161 of the communication destination is directly invalidated by the specific transaction, step S63 is automatically executed by the transmission/reception unit 161 after step S73.

步驟S74、S75係與實施形態2的步驟S53、S54相同。在步驟S75後,通信機器52係以識別號碼B為目的地,發送通信目的地的切換完成訊息(步驟S76)。亦即,通信機器52係在目的地判定之無效化的指示後,實施步驟S75的處理即路徑變更處理,在路徑變更處理的實施後,以識別號碼B為目的地而發送切換完成訊息。通信機器51雖為識別號碼A,但由於路由表221的設定已變更,故目的地為識別號碼A的交易並不會路由給通信機器51。另一方面,目的地為識別號碼B的交易係路由給通信機器 51,且由於步驟S64使通信機器51不以目的地識別號碼進行判定而接收交易,故在步驟S76,藉由通信機器51以目的地為識別號碼B發送交易,而能夠通知通信機器51。 Steps S74 and S75 are the same as steps S53 and S54 of the second embodiment. After the step S75, the communication device 52 transmits the switching completion message of the communication destination with the identification number B as the destination (step S76). In other words, the communication device 52 performs the path change processing which is the processing of step S75 after the instruction of the destination determination is invalidated, and transmits the switching completion message with the identification number B as the destination after the execution of the path change processing. Although the communication device 51 is the identification number A, since the setting of the routing table 221 has been changed, the transaction destined for the identification number A is not routed to the communication device 51. On the other hand, the transaction with the destination number B is routed to the communication machine. In step S64, the communication device 51 does not determine the destination identification number and receives the transaction. Therefore, in step S76, the communication device 51 transmits the transaction with the destination identification number B, and can notify the communication device 51.

通信機器51係當經由路由控制器21接收到通信目的地的切換完成訊息(步驟S65),便變更自身的發送/接收部161的設定,有效化目的地判定(步驟S66)。步驟S67係與實施形態2的步驟S44相同。亦即,通信機器51係當接收到切換完成訊息,便將自身的識別號碼變更成B。 When receiving the switching completion message of the communication destination via the routing controller 21 (step S65), the communication device 51 changes the setting of its own transmission/reception unit 161, and validates the destination determination (step S66). Step S67 is the same as step S44 of the second embodiment. That is, the communication device 51 changes its own identification number to B when receiving the handover completion message.

另外,當為發送特定的交易而直接無效化發送/接收部161的目的地判定時,藉由使用要求回應的交易,通信機器52便能夠藉由接收回應來確認通信機器51的步驟S63及步驟S64之完成。此時,通信機器52係在確認回應後才前進至步驟S74,藉此,便能夠保證步驟S64與步驟S74以第17圖所示的順序實施。 Further, when the destination determination of the transmission/reception unit 161 is directly invalidated for transmitting a specific transaction, the communication device 52 can confirm the step S63 and the step of the communication device 51 by receiving the response by using the transaction requiring the response. The completion of S64. At this time, the communication device 52 proceeds to step S74 after confirming the response, whereby it is possible to ensure that steps S64 and S74 are performed in the order shown in FIG.

在第17圖的例子中係針對從通信機器51開始通信目的地的切換處理的例子進行說明,而在從通信機器52開始通信目的地的切換處理的情形中,係在第17圖所示的處理中置換通信機器51與通信機器52的處理。此外,亦能夠省略步驟S61、S62、S71,而從通信機器52開始進行處理。此外,亦可省略步驟S61、S62、S71、在第17圖所示的處理中置換通信機器51與通信機器52的處理,而從通信機器51開始切換處理。 In the example of FIG. 17, an example of switching processing of the communication destination from the communication device 51 will be described, and in the case of switching processing of the communication destination from the communication device 52, it is shown in FIG. The processing of the communication device 51 and the communication device 52 is replaced during processing. Further, steps S61, S62, and S71 can be omitted, and processing can be started from the communication device 52. Further, steps S61, S62, and S71 may be omitted, and the processing of the communication device 51 and the communication device 52 may be replaced in the processing shown in FIG. 17, and the switching processing may be started from the communication device 51.

如上所述,在實施形態3中,係構成為能夠無效化通信機器的目的地判定,且在通信機器發送通信目 的地的切換完成訊息時,由切換完成訊息的發送者的通信機器發送以切換前所使用的識別號碼為目的地的交易。因此,能夠獲得與實施形態2相同的效果,並且,相較於實施形態2所使用的路由控制器41,能夠將路由控制器21的功能簡化。 As described above, in the third embodiment, it is configured such that the destination determination of the communication device can be invalidated, and the communication device transmits the communication destination. When the local handover completion message is received, the communication device of the sender of the handover completion message transmits the transaction with the identification number used before the handover as the destination. Therefore, the same effects as those of the second embodiment can be obtained, and the function of the routing controller 21 can be simplified as compared with the routing controller 41 used in the second embodiment.

如上所述,本發明的通信系統、通信機器、路由控制器、通信目的地的切換方法係在不具備支援通信目的地切換的功能的機器所連接的網路中切換通信目的地時相當有用。此外,依據本發明,防止通信目的地的重複,以具備簡易功能的機器構成通信系統,藉此,能夠實現通信機器的冗餘構成。 As described above, the communication system, the communication device, the routing controller, and the communication destination switching method of the present invention are useful when switching the communication destination in a network to which a device that does not have a function of supporting communication destination switching is switched. Further, according to the present invention, it is possible to prevent the repetition of the communication destination, and to configure the communication system with a device having a simple function, whereby the redundant configuration of the communication device can be realized.

實施形態4. Embodiment 4.

在上述的實施形態1至實施形態3中,係說明由通信機器11或通信機器12變更路由控制器的路由表的例子,而本在實施形態4中,係說明由路由控制器自己變更路由表的例子。在實施形態4中係說明在由路由控制器21變更路由表221的情形中,同實施形態2藉由多播方式發送識別號碼的變更要求的例子。本實施形態的通信系統1a的構成係與實施形態2的通信系統1a相同。實施形態4的路徑控制器即路由控制器41的構成係與實施形態2的路由控制器41的構成相同。但如下述記載,支援多播路由處理部231所進行的通信目的地的切換動作係異於實施形態2。實施形態4的通信機器11、通信機器12係與實施形態2的通信機器11、通信機器12為相同構成。通信機器11、通 信機器12的動作並不實施發送識別號碼的變更要求之處理及修改路由控制器41的路由表221之處理,除此之外係與實施形態2的通信機器11、通信機器12的動作相同。以下,說明與實施形態2間的相異點。 In the first to third embodiments described above, an example in which the routing table of the routing controller is changed by the communication device 11 or the communication device 12 will be described. However, in the fourth embodiment, the routing controller itself changes the routing table. example of. In the fourth embodiment, an example in which the change request of the identification number is transmitted by the multicast method in the second embodiment is described in the case where the routing table 221 is changed by the routing controller 21. The configuration of the communication system 1a of the present embodiment is the same as that of the communication system 1a of the second embodiment. The configuration of the route controller 41 which is the path controller of the fourth embodiment is the same as that of the routing controller 41 of the second embodiment. However, as described below, the switching operation of the communication destination performed by the multicast routing processing unit 231 is different from that of the second embodiment. The communication device 11 and the communication device 12 of the fourth embodiment have the same configuration as the communication device 11 and the communication device 12 of the second embodiment. Communication machine 11, communication The operation of the communication device 12 is the same as the operation of the communication device 11 and the communication device 12 of the second embodiment, except that the process of changing the transmission identification number and the process of modifying the routing table 221 of the routing controller 41 are not performed. Hereinafter, the difference from the second embodiment will be described.

本實施形態的多播通信的交易的路由處理係與實施形態2相同。以將裝置31的通信目的地從通信機器11切換成通信機器12時的情形為例來說明本實施形態的通信目的地的切換處理。多播用路由表241係構成為同實施形態2,設定如第12圖所示。第18圖係顯示本實施形態的路由控制器41的切換處理程序的一例之流程圖。當將裝置31的通信目的地從通信機器11切換成通信機器12的條件滿足了,路由控制器41便開始切換處理,首先,將識別號碼的變更要求發送至通信機器12(步驟S111)。具體而言,由支援多播路由處理部231透過發送/接收部202將識別號碼的變更要求發送至通信機器12。 The routing processing of the transaction of the multicast communication according to the present embodiment is the same as that of the second embodiment. The switching process of the communication destination according to the present embodiment will be described by taking a case where the communication destination of the device 31 is switched from the communication device 11 to the communication device 12. The multicast routing table 241 is configured in the same manner as in the second embodiment, and is set as shown in Fig. 12. Fig. 18 is a flowchart showing an example of a switching processing program of the routing controller 41 of the present embodiment. When the condition for switching the communication destination of the device 31 from the communication device 11 to the communication device 12 is satisfied, the routing controller 41 starts the switching process, and first, transmits the change request of the identification number to the communication device 12 (step S111). Specifically, the support multicast routing processing unit 231 transmits the change request of the identification number to the communication device 12 via the transmission/reception unit 202.

通信機器12係當從路由控制器41取得識別號碼的變更要求(步驟S112),便取得變更對象自身的識別號碼即識別號碼A(步驟S113)。步驟S113及步驟S114係與實施形態1的步驟S22及步驟S23相同。 When the communication device 12 acquires the identification number change request from the routing controller 41 (step S112), the communication device 12 acquires the identification number A which is the identification number of the change target itself (step S113). Steps S113 and S114 are the same as steps S22 and S23 of the first embodiment.

路由控制器41係在步驟S111後,將路由表221中的識別號碼A與B的路徑進行置換(步驟S115)。藉由此步驟S115,同實施形態2的步驟S54實施後,通信機器11、通信機器12的識別號碼及路由表221的狀態係變化成第7圖的P103的狀態。此外,當以識別號碼為目的地 傳送交易時,實際接收交易的通信機器係變化為第8圖的P203。以通信機器11及通信機器12為目的地的交易係藉由路由控制器41進行路由,故如第8圖的狀態P203所示,傳送給識別號碼A的交易係僅被通信機器12接收。 The routing controller 41 replaces the paths of the identification numbers A and B in the routing table 221 after step S111 (step S115). By the step S115, in the same manner as the step S54 of the second embodiment, the identification number of the communication device 11 and the communication device 12 and the state of the routing table 221 are changed to the state of P103 in Fig. 7 . Also, when targeting the identification number When the transaction is transmitted, the communication device that actually receives the transaction changes to P203 in Fig. 8. The transaction destined for the communication device 11 and the communication device 12 is routed by the routing controller 41. Therefore, as indicated by the state P203 in Fig. 8, the transaction transmitted to the identification number A is received only by the communication device 12.

接著,路由控制器41係以多播通信G11,發送識別號碼的變更要求(步驟S116)。通信機器11係當從路由控制器41藉由多播通信G11接收到識別號碼的變更要求(步驟S117),便同實施形態1的步驟S22、步驟S23將識別號碼從A變更成B(步驟S118、S119)。 Next, the routing controller 41 transmits the change request of the identification number in the multicast communication G11 (step S116). When the communication device 11 receives the change request of the identification number from the routing controller 41 by the multicast communication G11 (step S117), the identification number is changed from A to B in the same manner as step S22 and step S23 in the first embodiment (step S118). , S119).

如上所述,在本實施形態中,係構成為於通信目的地的切換時,由路由控制器41進行路由表221的變更、及對通信機器11與通信機器12的識別號碼的變更要求的發送,路由表221的變更後的識別號碼變更要求係藉由多播方式發送。藉此,本實施形態的通信系統係能夠不由通信機器11及通信機器12進行路由表221的變更而達到與實施形態1相同的效果。 As described above, in the present embodiment, when the communication destination is switched, the routing controller 41 changes the routing table 221 and transmits the request for changing the identification number of the communication device 11 and the communication device 12. The changed identification number change request of the routing table 221 is transmitted by multicast. As a result, the communication system of the present embodiment can achieve the same effects as those of the first embodiment without changing the routing table 221 by the communication device 11 and the communication device 12.

實施形態5. Embodiment 5.

在實施形態5中,係說明同實施形態3使用能夠任意地接收以自身的識別號碼以外為目的地的交易之通信機器51、52,且由路由控制器21變更路由表221的例子。本實施形態的通信系統1b的構成係與實施形態3的通信系統1b相同。實施形態5的路徑控制器即路由控制器21的構成係與實施形態3的路由控制器21的構成相同。但如下述記載,路由處理部211所進行的通信目的地的切換動作係 異於實施形態3。實施形態5的通信機器51、通信機器52係與實施形態3的通信機器51、通信機器52為相同構成。通信機器51、通信機器52的動作並不實施發送識別號碼的變更要求之處理及修改路由控制器21的路由表221之處理,除此之外係與實施形態3的通信機器51、通信機器52的動作相同。以下,說明與實施形態3間的相異點。 In the fifth embodiment, an example in which the communication devices 51 and 52 capable of arbitrarily receiving transactions other than the own identification number are used as in the third embodiment, and the routing table 221 is changed by the routing controller 21 will be described. The configuration of the communication system 1b of the present embodiment is the same as that of the communication system 1b of the third embodiment. The configuration of the route controller 21 which is the path controller of the fifth embodiment is the same as that of the routing controller 21 of the third embodiment. However, as described below, the switching operation of the communication destination performed by the routing processing unit 211 is as follows. Different from Embodiment 3. The communication device 51 and the communication device 52 of the fifth embodiment have the same configuration as the communication device 51 and the communication device 52 of the third embodiment. The communication device 51 and the communication device 52 do not perform the process of changing the transmission identification number and the process of modifying the routing table 221 of the routing controller 21, and the communication device 51 and the communication device 52 of the third embodiment are used. The action is the same. Hereinafter, the difference from the third embodiment will be described.

以將裝置31的通信目的地從通信機器51切換成通信機器52時的情形為例來說明本實施形態的通信目的地的切換處理。第19圖係顯示本實施形態的路由控制器21的切換處理程序的一例之流程圖。當將裝置31的通信目的地從通信機器51切換成通信機器52的條件滿足了,路由控制器21便開始切換處理,首先,將目的地判定無效化要求發送至通信機器51、52(步驟S141)。具體而言,路由處理部211透過發送/接收部201及發送/接收部202將目的地判定無效化要求發送至通信機器51、52。通信機器51、52係當接收到目的地判定無效化要求時,同實施形態3,將目的地判定無效化。 The switching process of the communication destination according to the present embodiment will be described by taking a case where the communication destination of the device 31 is switched from the communication device 51 to the communication device 52 as an example. Fig. 19 is a flowchart showing an example of a switching processing program of the routing controller 21 of the present embodiment. When the condition for switching the communication destination of the device 31 from the communication device 51 to the communication device 52 is satisfied, the routing controller 21 starts the switching process, and first, transmits the destination determination invalidation request to the communication devices 51, 52 (step S141). ). Specifically, the route processing unit 211 transmits the destination determination invalidation request to the communication devices 51 and 52 via the transmission/reception unit 201 and the transmission/reception unit 202. When the communication devices 51 and 52 receive the destination determination invalidation request, the destination determination is invalidated in the third embodiment.

接著,路由控制器21係將路由表221中的識別號碼A與B的路徑進行置換(步驟S142)。接著,路由控制器21係以識別號碼A、B為目的地分別發送識別號碼的變更要求(步驟S143)。由於路由表221已變更,故以識別號碼A為目的地的識別號碼的變更要求係經由路徑b而被通信機器52接收,以識別號碼B為目的地的識別號碼的變更要求係經由路徑a而被通信機器51接收。通信機器 51及通信機器52由於皆無效化了目的地判定,故接收識別號碼的變更要求,分別變更識別號碼。具體而言,通信機器51係將識別號碼從A變更成B,通信機器52係將識別號碼從B變更成A。 Next, the routing controller 21 replaces the paths of the identification numbers A and B in the routing table 221 (step S142). Next, the routing controller 21 transmits the identification request change request to the identification numbers A and B (step S143). Since the routing table 221 has been changed, the change request of the identification number destined for the identification number A is received by the communication device 52 via the route b, and the change request for identifying the identification number of the destination number B is via the route a. Received by the communication device 51. Communication machine Since both the communication device 52 and the communication device 52 invalidate the destination determination, the change identification number is received and the identification number is changed. Specifically, the communication device 51 changes the identification number from A to B, and the communication device 52 changes the identification number from B to A.

如上所述,在本實施形態中,係構成為於通信目的地的切換時,由路由控制器21對能夠無效化目的地判定的通信機器51及通信機器52指示無效化目的地判定,在變更路由表221後,進行識別號碼的變更要求的發送。因此,本實施形態的通信系統係能夠不由通信機器51及通信機器52進行路由表221的變更而達到與實施形態3相同的效果。 As described above, in the present embodiment, when the communication destination is switched, the routing controller 21 instructs the communication device 51 and the communication device 52 that can invalidate the destination to determine the invalidation destination determination. After the routing table 221, the transmission of the identification number change request is performed. Therefore, the communication system of the present embodiment can achieve the same effect as that of the third embodiment without changing the routing table 221 by the communication device 51 and the communication device 52.

以上的實施形態所示之構成係本發明內容之例,亦能夠與其他公知技術組合,在不脫離本發明主旨的範圍內,當亦能夠將部分構成予以省略、變更。 The configuration shown in the above embodiments can be combined with other known techniques, and the partial configuration can be omitted or changed without departing from the spirit of the invention.

S11至S15‧‧‧步驟 S11 to S15‧‧‧ steps

S21至S24‧‧‧步驟 S21 to S24‧‧‧ steps

Claims (12)

一種通信系統,係具備第一機器、第二機器、第三機器及路徑控制器;前述第一機器、前述第二機器、前述第三機器係分別具有能夠唯一識別的識別號碼,使用前述識別號碼進行通信;前述路徑控制器係與前述第一機器、前述第二機器及前述第三機器分別以不同的路徑連接;前述路徑控制器係具備:記憶部,係記憶路徑資訊,該路徑資訊係表示目的地的識別號碼與表示路徑的識別符亦即路徑識別符之對應關係的資訊;及處理部,係根據前述路徑資訊,對與所接收的通信資料的目的地的識別號碼相應的前述路徑識別符所對應的路徑,傳送前述通信資料;前述第二機器係在前述第一機器具有第一號碼作為前述識別號碼且前述第二機器具有第二號碼作為前述識別號碼的狀態下,當接收到要求將前述第三機器的通信目的地從前述第一機器切換成自身的切換要求時,便將自身的識別號碼變更成前述第一號碼;前述第一機器、前述第二機器或前述路徑控制器係實施路徑變更處理,該路徑變更處理係將前述路徑資訊中對應前述第一號碼的路徑識別符變更成作為對應前述第二號碼的路徑識別符而儲存在前述路徑資訊 的路徑識別符。 A communication system includes a first device, a second device, a third device, and a path controller; each of the first device, the second device, and the third device has an identification number that can be uniquely identified, and the identification number is used. Communicating; the path controller is connected to the first device, the second device, and the third device by a different path; the path controller includes: a memory unit, which is a memory path information, and the path information is represented by Information indicating the correspondence between the identification number of the destination and the identifier of the path, that is, the path identifier; and the processing unit identifying the path corresponding to the identification number of the destination of the received communication data based on the path information Transmitting the communication data according to the path corresponding to the symbol; the second machine is in the state that the first machine has the first number as the identification number and the second machine has the second number as the identification number, when the request is received Switching the communication destination of the aforementioned third machine from the aforementioned first machine to its own switching When the time is up, the identification number of the user is changed to the first number; the first device, the second device or the path controller performs a path change process, and the path change process corresponds to the first information in the path information. The path identifier of the number is changed to be the path identifier corresponding to the second number and stored in the path information. Path identifier. 如申請專利範圍第1項所述之通信系統,其中,在前述第二機器將識別號碼變更成前述第一號碼後,前述第一機器或前述第二機器係將對應前述第二號碼的路徑識別符變更成:在前述第一機器的識別號碼的變更之前作為對應前述第一號碼的路徑識別符而儲存在前述路徑資訊的路徑識別符;在前述路徑資訊中對應前述第二號碼的路徑識別符被變更後,前述第一機器係將自身的識別號碼變更成前述第二號碼。 The communication system according to claim 1, wherein after the second machine changes the identification number to the first number, the first machine or the second machine system identifies the path corresponding to the second number. Changed to: a path identifier stored in the path information as a path identifier corresponding to the first number before the change of the identification number of the first device; and a path identifier corresponding to the second number in the path information After being changed, the first machine changes its own identification number to the second number. 如申請專利範圍第1項或第2項所述之通信系統,其中,前述第二機器係在將自身的識別號碼變更成前述第一號碼後,將切換完成訊息給前述第一機器;前述第一機器係當獲得前述切換完成訊息的通知時,便實施前述路徑變更處理。 The communication system according to claim 1 or 2, wherein the second device changes the identification number of the user to the first number, and then switches the completion message to the first machine; When the machine receives the notification of the switching completion message, the path change processing is performed. 如申請專利範圍第1項或第2項所述之通信系統,其中,前述第二機器係實施前述路徑變更處理,在前述路徑變更處理的實施後,藉由以預設的群組號碼為目的地的多播(multicast)而發送切換完成訊息;前述路徑控制器係將以前述群組號碼為目的地的前述切換完成訊息予以轉送給前述第一機器;前述第一機器係當獲得前述切換完成訊息的通知時,便將自身的識別號碼變更成前述第二號碼。 The communication system according to claim 1 or 2, wherein the second device performs the path change processing, and after the execution of the path change processing, by using a preset group number Sending a handover completion message by multicasting; the path controller forwards the foregoing handover completion message destined for the group number to the first machine; and the first machine system obtains the foregoing handover completion When the message is notified, the identification number of the message is changed to the aforementioned second number. 如申請專利範圍第4項所述之通信系統,其中,前述 第二機器係對前述第一機器指示前述第一機器的目的地判定之無效化,在前述目的地判定之無效化的指示後,實施前述路徑變更處理,在前述路徑變更處理的實施後,以前述第二號碼為目的地而發送切換完成訊息;前述第一機器係當獲得前述目的地判定之無效化的指示時,便對全部的目的地的通信資料實施接收處理,當接收到前述切換完成訊息時,便將自身的識別號碼變更成前述第二號碼。 The communication system of claim 4, wherein the foregoing The second device instructs the first device to invalidate the destination determination of the first device, and after the instruction to invalidate the destination determination, performs the path change processing, and after the execution of the path change processing, The second number is a destination and the handover completion message is sent; when the first machine obtains the indication of invalidation of the destination determination, the communication processing of all the destinations is performed, and when the handover is completed, When the message is received, the identification number of the user is changed to the aforementioned second number. 如申請專利範圍第1項所述之通信系統,其中,在前述路徑控制器將識別號碼的變更要求發送至前述第二機器,而接收到該變更要求的第二機器將識別號碼變更為前述第一號碼後,前述路徑控制器係將對應前述第二號碼的路徑識別符變更成:在變更對應前述第一號碼的路徑識別符之前作為對應前述第一號碼的路徑識別符而儲存在前述路徑資訊的路徑識別符;在前述路徑資訊中對應前述第二號碼的路徑識別符被變更後,前述路徑控制器係將識別號碼的變更要求發送至前述第一機器,接收到該變更要求的第一機器將識別號碼變更成前述第二號碼。 The communication system according to claim 1, wherein the path controller transmits a change request of the identification number to the second device, and the second device that receives the change request changes the identification number to the foregoing After the number, the path controller changes the path identifier corresponding to the second number to be stored in the path information as a path identifier corresponding to the first number before changing the path identifier corresponding to the first number. a path identifier; after the path identifier corresponding to the second number is changed in the path information, the path controller transmits a change request of the identification number to the first device, and receives the first machine of the change request Change the identification number to the aforementioned second number. 如申請專利範圍第6項所述之通信系統,其中,前述第二機器係在將自身的識別號碼變更為前述第一號碼後,將切換完成訊息通知給前述路徑控制器;前述路徑控制器係當獲得前述切換完成訊息的通 知時,便實施前述路徑變更處理。 The communication system according to claim 6, wherein the second device notifies the path controller to the path controller after changing the identification number of the second to the first number; the path controller is When the aforementioned handover completion message is obtained When the time is known, the above path change processing is performed. 如申請專利範圍第6項所述之通信系統,其中,前述路徑控制器係實施前述路徑變更處理,在前述路徑變更處理的實施後,藉由以預設的群組號碼為目的地的多播,發送切換完成訊息;前述第一機器係當獲得前述切換完成訊息的通知時,便將自身的識別號碼變更成前述第二號碼。 The communication system according to claim 6, wherein the path controller performs the path change processing, and after the implementation of the path change processing, multicasting by using a preset group number as a destination Sending a handover completion message; when the first machine obtains the notification of the handover completion message, the first identification number is changed to the second number. 如申請專利範圍第6項所述之通信系統,其中,前述路徑控制器係對前述第一機器及前述第二機器指示目的地判定之無效化,在前述目的地判定之無效化的指示後,實施前述路徑變更處理,在前述路徑變更處理的實施後,以前述第一號碼及前述第二號碼為目的地分別發送前述切換要求;前述第一機器係當獲得前述目的地判定之無效化的指示時,便對全部的目的地的通信資料實施接收處理,當接收到前述切換要求時,便將自身的識別號碼變更成前述第二號碼;前述第二機器係當獲得前述目的地判定之無效化的指示時,便對全部的目的地的通信資料實施接收處理,當接收到前述切換要求時,便將自身的識別號碼變更成前述第一號碼。 The communication system according to claim 6, wherein the path controller invalidates the first device and the second device instructing the destination determination, and after the instruction to invalidate the destination determination, Performing the path change processing, after the execution of the path change processing, transmitting the switching request to each of the first number and the second number; and the first device obtaining an instruction to invalidate the destination determination When the communication data of all the destinations is received, when the handover request is received, the identification number of the destination is changed to the second number; and the second machine is invalidated when the destination determination is obtained. When the instruction is received, the communication data of all the destinations is subjected to reception processing, and when the handover request is received, the identification number of the destination is changed to the first number. 一種通信機器,係在具有第一號碼作為自身的通信用的識別號碼且能夠與外部的機器進行通信的其他通信機器具有第二號碼作為通信用的識別號碼之狀態下, 發送要求將前述機器的通信目的地從自身切換成前述其他通信機器的切換要求,當從前述其他通信機器接收到切換完成訊息時,便將前述其他通信機器、前述機器及前述其他通信機器所連接的路徑控制器所保有的路徑資訊中對應前述第一號碼的路徑識別符變更成作為對應前述第二號碼的路徑識別符而儲存在前述路徑資訊的路徑識別符,將自身的識別號碼變更成前述第二號碼。 A communication device is in a state in which a communication device having a first number as its own communication identification number and capable of communicating with an external device has a second number as an identification number for communication. The transmission request is to switch the communication destination of the device from itself to the switching request of the other communication device, and when receiving the handover completion message from the other communication device, connect the other communication device, the aforementioned device, and the other communication device. The path identifier corresponding to the first number in the path information held by the path controller is changed to a path identifier stored in the path information as a path identifier corresponding to the second number, and the identification number of the first number is changed to the aforementioned The second number. 一種通信機器,係在具有第二號碼作為自身的通信用的識別號碼且能夠與外部的機器進行通信的其他通信機器具有第一號碼作為通信用的識別號碼之狀態下,當接收到要求將前述機器的通信目的地從前述其他通信機器切換成自身的切換要求時,便將自身的識別號碼變更成前述第一號碼,將前述其他通信機器、前述機器及前述其他通信機器所連接的路徑控制器所保有的路徑資訊中對應前述第一號碼的路徑識別符變更成:作為對應前述第二號碼的路徑識別符而儲存在前述路徑資訊的路徑識別符。 A communication device is a state in which a communication device having a second number as its own communication identification number and capable of communicating with an external device has a first number as an identification number for communication, and when receiving a request, the foregoing When the communication destination of the device is switched from the other communication device to its own switching request, the identification number of the device is changed to the first number, and the other communication device, the device, and the path controller to which the other communication device is connected are connected. The path identifier corresponding to the first number in the reserved path information is changed to a path identifier stored in the path information as a path identifier corresponding to the second number. 一種通信目的地的切換方法,係通信系統的通信目的地的切換方法,前述通信系統係具備第一機器、第二機器、第三機器及路徑控制器,前述第一機器、前述第二機器、前述第三機器係分別具有能夠唯一識別的識別號碼且使用前述識別號碼進行通信,前述路徑控制器係與前述第一機器、前述第二機器及前述第三機 器分別以不同的路徑連接;前述通信目的地的切換方法係含有下述步驟:第一步驟,係前述路徑控制器記憶路徑資訊,該路徑資訊係表示目的地的識別號碼與表示路徑的識別符亦即路徑識別符之對應關係的資訊;第二步驟,係前述路徑控制器根據前述路徑資訊,對與所接收的通信資料的目的地的識別符相應的前述路徑識別符所對應的路徑,傳送前述通信資料;第三步驟,係前述第二機器係在前述第一機器具有第一號碼作為前述識別號碼且前述第二機器具有第二號碼作為前述識別號碼的狀態下,當接收到要求將前述第三機器的通信目的地從前述第一機器切換成自身的切換要求時,便將自身的識別號碼變更成前述第一號碼;及第四步驟,係前述第一機器、前述第二機器或前述路徑控制器係實施路徑變更處理,該路徑變更處理係將前述路徑資訊中對應前述第一號碼的路徑識別符變更成:作為對應前述第二號碼的路徑識別符而儲存在前述路徑資訊的路徑識別符。 A method of switching a communication destination is a method of switching a communication destination of a communication system, wherein the communication system includes a first device, a second device, a third device, and a path controller, and the first device and the second device are The third machine system has an identification number that can be uniquely identified and communicates using the identification number, and the path controller is connected to the first machine, the second machine, and the third machine. The communication destinations are respectively connected by different paths; the foregoing communication destination switching method includes the following steps: in the first step, the path controller stores path information, and the path information indicates an identification number of the destination and an identifier indicating the path. That is, the information corresponding to the path identifier; in the second step, the path controller transmits the path corresponding to the path identifier corresponding to the identifier of the destination of the received communication data according to the path information. The communication data; the third step, wherein the first machine has the first machine having the first number as the identification number and the second machine has the second number as the identification number, when receiving the request, the foregoing When the communication destination of the third device switches from the first device to its own switching request, the identification number of the third device is changed to the first number; and the fourth step is the first machine, the second machine, or the aforementioned The path controller performs path change processing, and the path change processing is performed in front of the path information. The first number is changed to the path identifier: a number corresponding to the second path identifier and stored in the path identifier of the path information.
TW106100829A 2016-01-13 2017-01-11 Communication system, communication equipment and method for switching communication destination TWI640176B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
??PCT/JP2016/050862 2016-01-13
PCT/JP2016/050862 WO2017122298A1 (en) 2016-01-13 2016-01-13 Communication system, communication device, and communication destination switching method
??PCT/JP2016/062844 2016-04-22
PCT/JP2016/062844 WO2017122369A1 (en) 2016-01-13 2016-04-22 Communication system, communication device, and communication destination switching method

Publications (2)

Publication Number Publication Date
TW201731261A true TW201731261A (en) 2017-09-01
TWI640176B TWI640176B (en) 2018-11-01

Family

ID=59311074

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106100829A TWI640176B (en) 2016-01-13 2017-01-11 Communication system, communication equipment and method for switching communication destination

Country Status (5)

Country Link
JP (1) JP6207770B1 (en)
KR (1) KR101892906B1 (en)
CN (1) CN108476171B (en)
TW (1) TWI640176B (en)
WO (2) WO2017122298A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020199212A1 (en) * 2019-04-04 2020-10-08 华为技术有限公司 Communication method and apparatus

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3599096B2 (en) * 2000-08-04 2004-12-08 日本電気株式会社 Duplicate network device and MAC address matching method for duplicate device
JP2002111713A (en) * 2000-09-28 2002-04-12 Toshiba Corp Network system, name server, server and ip communication method of network system
JP4321156B2 (en) 2003-07-28 2009-08-26 株式会社明電舎 Network communication method and apparatus between computers
JP2006129094A (en) * 2004-10-28 2006-05-18 Fuji Xerox Co Ltd Redundant server system and server apparatus
JP4625473B2 (en) * 2007-01-15 2011-02-02 株式会社日立製作所 Redundant switching method
JP2009187314A (en) 2008-02-06 2009-08-20 Fuji Electric Systems Co Ltd Duplex controller system, cpu module, and program thereof
JP4984077B2 (en) 2008-02-15 2012-07-25 日本電気株式会社 Dynamic switching device, dynamic switching method, and dynamic switching program
JP5113684B2 (en) * 2008-09-05 2013-01-09 株式会社日立製作所 Access gateway device control method and communication system
US9680726B2 (en) * 2013-02-25 2017-06-13 Qualcomm Incorporated Adaptive and extensible universal schema for heterogeneous internet of things (IOT) devices
JP6304602B2 (en) * 2015-06-16 2018-04-04 佐藤 和宏 Urinal and toilet equipped with the same

Also Published As

Publication number Publication date
KR20180078323A (en) 2018-07-09
JPWO2017122369A1 (en) 2018-01-18
WO2017122369A1 (en) 2017-07-20
WO2017122298A1 (en) 2017-07-20
CN108476171A (en) 2018-08-31
JP6207770B1 (en) 2017-10-04
CN108476171B (en) 2019-06-28
KR101892906B1 (en) 2018-08-28
TWI640176B (en) 2018-11-01

Similar Documents

Publication Publication Date Title
US20180324280A1 (en) System and method for creating virtual interfaces based on network characteristics
JP4867545B2 (en) Communication device and search table management method used therefor
US8798054B2 (en) IP network system
JP5115819B2 (en) IP network system
JP7430224B2 (en) Packet processing methods and gateway devices
CN104852840A (en) Method and device for controlling mutual access between virtual machines
JP2015104042A (en) Transfer device, server and route change method
JP6378121B2 (en) Gateway apparatus and communication method
TW201731261A (en) Communication system, communication equipment and method for switching communication destination
EP4044510A1 (en) Method and apparatus for detecting link states
JP2006246441A (en) Method and system for building multi-point link interaction environment
KR100970385B1 (en) Method and apparatus routing for wireless network
WO2014147784A1 (en) Gateway device
JP6470640B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, COMPUTER PROGRAM
CN103347102B (en) The recognition methods of conflict address detected message and device
US20210064411A1 (en) Management apparatus, management system, management method and management program
JP6504895B2 (en) Network system and control device
CN111385195A (en) Information processing method, device and storage medium
JP7166359B2 (en) How network entity mobile event messages are propagated
JP6692224B2 (en) Information sharing system, communication device, and information sharing method
TWI584607B (en) End-to-end connecting method based on bluetooth network
JP4558571B2 (en) Attribute communication path control device and attribute communication system
US20170279663A1 (en) Switching method, transmission device, and recording medium
CN118101561A (en) Method for sending message and node equipment
CN115701055A (en) User information diffusion method and network equipment