WO2017122369A1 - 通信システム、通信機器および通信先の切換え方法 - Google Patents
通信システム、通信機器および通信先の切換え方法 Download PDFInfo
- Publication number
- WO2017122369A1 WO2017122369A1 PCT/JP2016/062844 JP2016062844W WO2017122369A1 WO 2017122369 A1 WO2017122369 A1 WO 2017122369A1 JP 2016062844 W JP2016062844 W JP 2016062844W WO 2017122369 A1 WO2017122369 A1 WO 2017122369A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication
- identification number
- route
- communication device
- destination
- Prior art date
Links
- 230000006854 communication Effects 0.000 title claims abstract description 679
- 238000004891 communication Methods 0.000 title claims abstract description 678
- 238000000034 method Methods 0.000 title claims description 145
- 238000012508 change request Methods 0.000 claims description 25
- 230000005540 biological transmission Effects 0.000 description 92
- 230000004044 response Effects 0.000 description 22
- 230000006870 function Effects 0.000 description 16
- 230000002093 peripheral effect Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 230000000694 effects Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 239000002131 composite material Substances 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
Definitions
- the present invention relates to a multiplexed communication system, a communication device in the communication system, and a communication destination switching method.
- Patent Document 1 proposes a technique for switching communication destinations using a transaction routing controller.
- the transaction routing controller duplicates an I / O (Input / Output) device and corresponds to each of the master device and the slave device.
- the device ID (IDentifier) of the master device and the slave device is fixed, and when the transaction routing controller receives a transaction from the processor side, it matches the device ID of the destination of the transaction.
- the device ID to be searched is retrieved from the routing table, and the transaction is sent to the matching device. By updating the routing table, it is possible to switch between the master device and the slave device.
- Patent Document 2 in a redundant controller system in which a plurality of CPU (Central Processing Unit) module pairs exist, the communication destination is switched by switching the identification number of the parallel bus control unit of the paired CPU module. Has been proposed. Thus, the communication destination CPU module can be switched without having a function corresponding to the switching.
- CPU Central Processing Unit
- Patent Document 3 in a communication system including duplicated nodes, transmission is performed by adding a partner node number to a transmission frame and broadcasted, and a node set as a master device performs transmission processing in the duplicated node. However, the node set as the slave device does not perform the transmission process.
- the communication destination when the master device is switched in the duplicated node, the communication destination is switched by changing the node number. Thereby, in the technique described in Patent Document 3, the communication destination node can be switched without the communication source node having a function corresponding to the switching.
- the transaction routing controller that is a path controller needs to have many functions, and there is a problem that processing in the transaction routing controller becomes complicated.
- the transaction routing controller requires at least five functions: “receive a transaction”, “search for routing information”, “determination of sending a transaction to a routing route”, “receive a reply to a transaction”, and “search for specifying a transaction destination”.
- the CPU module that is, the communication device identification number is replaced to switch the communication destination, so that a plurality of communication devices on the network temporarily have the same identification number.
- a plurality of responses are returned for one transaction addressed to the identification number, and the communication source unintentionally has a plurality of communication devices. The problem of communicating with.
- Patent Document 3 has a problem that the communication load of the network becomes higher compared to one-to-one unicast communication because transmission to all nodes is performed by always broadcasting.
- the present invention has been made in view of the above, and it is possible to suppress the processing load in the path controller and suppress the communication load and switch the communication destination without adding a switching function to the communication source. It aims at obtaining the communication system which can be performed.
- a communication system includes a first device, a second device, a third device, and a path controller.
- the device, the second device, and the third device each have an identification number that can be uniquely identified, communicate using the identification number
- the path controller includes the first device, the second device, and the second device.
- the three devices are connected by different routes.
- the path controller includes a storage unit that stores path information that is information indicating correspondence between a destination identification number and a path identifier that indicates a path, and a destination identifier of received communication data based on the path information.
- a processing unit that transmits communication data to a route corresponding to the corresponding route identifier.
- the second device In the state where the first device has the first number as the identification number and the second device has the second number as the identification number, the second device has the communication destination of the third device as the first number.
- the device Upon receiving a switching request that requests switching from the device to itself, the device changes its own identification number to the first number, and the first device, the second device, or the route controller changes the first of the route information.
- a route change process is executed to change the route identifier corresponding to the number to the route identifier stored in the route information as the route identifier corresponding to the second number.
- the communication system according to the present invention has the effect of suppressing the processing load in the path converter and suppressing the communication load and switching the communication destination without adding a switching function to the communication source.
- FIG. A flowchart showing an example of a routing processing procedure of the routing controller according to the first embodiment.
- the flowchart which shows an example of the process sequence in the case of implementing the communication destination switching process between the communication apparatuses of Embodiment 1.
- FIG 3 is a diagram illustrating a communication device that actually receives a transaction when a device or the like sends a transaction to each identification number during the communication destination switching process in the first embodiment.
- FIG. The figure which shows the structural example of the routing table for multicast of Embodiment 2. 8 is a flowchart illustrating an example of a routing processing procedure for a multicast communication transaction in the routing controller according to the second embodiment.
- FIG. 9 illustrates a configuration example of a communication device according to a third embodiment.
- the flowchart which shows an example of the communication destination switching processing procedure between the communication apparatuses of Embodiment 3.
- FIG. 1 is a diagram of a configuration example of a communication system according to the first embodiment of the present invention.
- the communication system 1 according to the present embodiment includes communication devices 11 and 12 that are communication target switching targets according to the first embodiment, which will be described later, and a routing controller 21 that is a route controller that performs routing.
- a device 31 that is a device capable of communicating with the communication devices 11 and 12.
- one device, two units, that is, one set of communication devices are illustrated, but two or more devices may be included and two or more communication devices may be included.
- a method for switching a communication device that is a communication destination of the device 31 between the communication device 11 and the communication device 12 when the device 31 is a communication source will be described.
- the communication destination can be switched by changing the identification number of the destination device, but the device 31 of the present embodiment does not have such a communication destination switching function.
- a communication system capable of switching the communication destination even when the device 31 does not have a communication destination switching function will be described.
- a communication system that does not require the device 31 to switch the communication destination will be described.
- the communication device 11 that is the first device and the routing controller 21 are connected by a route a
- the communication device 12 that is a second device and the routing controller 21 are connected by a route b
- the third device, device 31, and the routing controller 21 are connected by a path c.
- the routes a, b, and c are routes each constructed by a wired line or a wireless line, and a communication device such as a repeater may exist on the route.
- the paths a, b, and c may be a combination of a wired line and a wireless line.
- the identifiers of a, b, and c indicating the routes correspond to input / output port numbers in the routing controller 21.
- the identifiers of a, b, and c indicating the routes correspond to identification numbers of devices that serve as wireless communication repeaters in the route toward the end point of each route. .
- the communication device 11, the communication device 12, the routing controller 21, and the device 31 are set with unique identification numbers. 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 communication device 11 that is the first device, the communication device 12 that is the second device, and the device 31 that is the third device each have a uniquely identifiable identification number, and communicate using the identification number. I do.
- 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 transmission source, that is, the identification number of the transmission source and the identification number of the destination are transferred to the path to which the communication device 11, the communication device 12, and the device 31 are connected. That is, a transaction storing the identification number of the communication destination device is transmitted.
- a transaction refers to a collection of communication data such as transmission frames and packets, and communication data corresponding to the same communication process.
- the routing controller 21 When the routing controller 21 receives a transaction from each path connected to itself, the routing controller 21 sends the transaction to a path corresponding to the destination identification number stored in the transaction.
- the communication device 11, the communication device 12, and the device 31 receive a transaction from the route to which the communication device 11, the communication device 12, and the device 31 are connected, the communication device 11, the communication device 12, and the device 31 determine whether or not the destination identification number stored in the transaction matches the identification number of the communication device 11 If they match, the communication device 11, the communication device 12, and the device 31 perform reception processing on the transaction, and if they do not match, discard the transaction.
- the identification number of the transmission source of the transaction is set as the identification number of the destination, and the identification number of the communication device 11, the communication device 12, and the device 31 Send the transaction numbered.
- the routing controller 21 sends 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 destination identification number stored in the transaction matches its own identification number. If they match, the communication device 11, the communication device 12, and the device 31 perform reception processing on the transaction, and if they do not match, the communication device 11, the communication device 12, and the device 31 discard the transaction.
- FIG. 2 is a diagram illustrating a configuration example of the communication device 11 and the communication device 12 of FIG. Since the communication devices 11 and 12 have the same configuration, the configuration and operation of the communication device 11 will be described as a representative.
- the configuration and operation of the communication device 12 are the same as the configuration and operation 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 microprocessor 131, and a peripheral tool I / F (Interface) 141.
- the communication device 11 is connected to a peripheral tool 151.
- the peripheral tool 151 is a device that accepts input from the user and can perform various settings for the communication device 11 based on the content of the accepted input, and is a personal computer, for example.
- the transmission / reception unit 101 is a transmitter and a receiver that receive a transaction from an external path n of the communication device 11 and send the transaction to the external path n.
- the route n indicates a route to which the communication device 11 and the communication device 12 are connected. Specifically, in the communication device 11, the route n is the route a in FIG. 1, and in the communication device 12, the route n is the route b in FIG. Further, the transmission / reception unit 101 refers to the data stored in the data memory 121 and updates the data stored in the data memory 121 based on the received transaction.
- the identification number processing unit 111 holds an identification number set for the own device, that is, an identification number used when a transmission / reception unit 101 of the communication device 11 transmits / receives a transaction.
- the data memory 121 holds data that can be referred to and updated by the transmission / reception unit 101.
- the microprocessor 131 controls the operation of the communication device 11 and executes a communication destination switching process.
- the peripheral tool I / F 141 receives 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.
- the microprocessor 131 designates a transmission destination, that is, a destination identification number, and requests the transmission / reception unit 101 to transmit a transaction.
- the contents of this transaction are control information indicating a request or response to the device 31, for example. Some requests sent as transactions require a response.
- the microprocessor 131 also instructs the transmission / reception unit 101 regarding the type of transaction.
- the transaction type is, for example, a transaction that requests data acquisition, and it is determined in advance whether a response is requested for each transaction type. *
- the transmission / reception unit 101 creates a transaction based on a request from the microprocessor 131. At this time, the transmission / reception unit 101 sets the specified identification number in the storage area of the destination identification number in the transaction, and sets the identification number of the own device acquired from the identification number processing unit 111 as the identification number of the transmission source in the transaction. Set to the storage area. After the transaction is created, the transmission / reception unit 101 sends the transaction to the path n. If this transaction is a transaction requesting a response, the transmission / reception unit 101 stores the transmitted transaction.
- 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.
- the transmission / reception unit 101 performs reception processing on the transaction, that is, processing based on the contents of the transaction, and does not match Discards the transaction.
- the reception processing is performed regardless of the comparison result.
- the transmission / reception unit 101 When the received transaction is an access request to the data memory 121, the transmission / reception unit 101 reads or writes the data memory 121 according to the request. When the received transaction is a transaction in which a response is stored, the transmission / reception unit 101 searches for a transaction corresponding to the response from the stored transmitted transactions. When there is a transaction corresponding to the response, the transmission / reception unit 101 passes the response to the microprocessor 131. Then, the transmitting / receiving unit 101 deletes the corresponding transaction.
- the transmission / reception unit 101 stores the identification number of the transmission source stored in the transaction in the area of the identification number of the destination, and transmits the identification number of the destination of the transaction A response transaction stored in the original identification number area, that is, a transaction storing a response is created. Then, the transmitting / receiving unit 101 sends a response transaction to the path n.
- FIG. 3 is a diagram illustrating a configuration example of the routing controller 21 illustrated in FIG. 1. As shown in FIG. 3, the routing controller 21 transmits and receives transactions to each path to be connected, and transmits / receives transactions from each path to be connected. Part 211 is provided. The routing controller 21 also stores a routing table 221.
- the transmission / reception unit 201 is connected to the path a, the transmission / reception unit 202 is connected to the path b, and the transmission / reception unit 203 is connected to the path c.
- the routing processing unit 211 determines the transmission destination of the transaction received by the transmission / reception units 201, 202, and 203, and passes the transaction to the transmission / reception unit 201, 202, 203 corresponding to the transmission destination path, or is received by itself. Process.
- the routing table 221 is route information used for determining a transmission destination in the routing processing unit 211.
- the routing table 221 is stored in, for example, a memory that is a storage unit in the routing controller 21.
- FIG. 4 is a diagram illustrating a configuration example of the routing table 221.
- the routing table 221 includes an identification number and a transmission destination route that is a route corresponding to the identification number. That is, each row of the routing table 221, that is, each record, indicates a destination route for each identification number, that is, routing information.
- the routing table 221 does not have routing information with duplicate identification numbers.
- the routing controller 21 that is a path controller is connected to the communication device 11, the communication device 12, and the device 31 through different paths, and associates the destination identification number with the path identifier that is an identifier indicating the path.
- a routing processing unit 211 that is a processing unit that sends communication data to a route corresponding to the route identifier corresponding to the destination identifier of the received communication data based on the route information. And comprising.
- An arbitrary communication device among the communication devices 11 and 12 transmits an update request for the routing table 221 by a transaction addressed to the routing controller 21 at an arbitrary timing.
- the routing controller 21 receives a transaction by the corresponding transmission / reception units 201, 202, and 203 via a path n that is a path to the communication device.
- the transmission / reception unit 201 extracts the destination identification number from the transaction received from the corresponding route, and sends the transaction to the routing processing unit 211 if the destination identification number is the identification number indicating the routing controller 21.
- the routing processing unit 211 adds, changes, or deletes information in the routing table 221 according to the contents of the received transaction. When the routing table 221 is updated, the updated contents are immediately reflected in the determination of the transmission destination in the routing processing unit 211.
- the format of the update request for the routing table 221 transmitted by the communication device and the method for updating the routing table 221 by the routing processing unit 211 are not limited.
- the routing controller 21 includes a memory in which the routing table 221 is stored, a method of overwriting the contents of the routing table 221 stored in this memory from each communication device, the routing table 221 is configured by a database, and the communication device A method of issuing a database operation command such as SQL (Structured Query Language) language, etc., and the routing processing unit 211 updating the routing table 221 can be considered.
- SQL Structured Query Language
- the initial value of the routing table 221 can be set to an arbitrary value.
- a method of holding only routing information addressed to the routing controller 21 routing information indicating a route predetermined for each identification number with respect to identification numbers corresponding to all devices in the communication system is provided. A method of holding can be considered.
- the identification number is the identification number of the routing controller 21
- the destination path is information indicating the routing processing unit 221 in the routing controller 21.
- the routing table 221 After the initial values of the routing table 221 are set, the routing table 221 includes contents according to the configuration of the communication system of FIG. 1 and the identification numbers set for each device when the communication system shown in FIG. Updated to Specifically, for example, when the communication system is started up, the routing table 221 corresponding to the configuration of the communication system is transferred to the representative communication device that is one of the communication devices 11 and 12 via the peripheral tool 151 by the user. Information indicating the contents is set. The representative communication device 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.
- the initial value of the routing table 221 is determined in advance, and the identification number of each communication device and device is set according to the initial value of the routing table 221 by the user via the peripheral tool 151 when the communication system is started up. May be used.
- a method in which a representative communication device sets the routing table 221 and then the representative communication device sets an identification number to another communication device and the device 31 may be used.
- FIG. 5 is a flowchart showing an example of the routing processing procedure of the routing controller 21.
- the routing controller 21 receives a transaction from any one of the paths a to c by the corresponding transmission / reception units 201 to 203 (step S1).
- the routing processing unit 211 generates the transaction and sends it to the transmission / reception units 201 to 203 corresponding to the destination.
- the routing processing unit 211 itself A transaction is received by referring to the transaction.
- the routing processing unit 211 searches the routing table 221 for a route corresponding to the transmission destination (step S2). Specifically, the routing processing unit 211 acquires an identification number corresponding to the destination of the transaction, that is, the transmission destination, from the received transaction. Then, the routing processing unit 211 searches the routing table 221 for routing information whose identification number matches the transmission destination identification number (step S2).
- the routing controller 21 sends the transaction to the route found by the search, that is, the destination route of the routing information whose identification number matches the destination identification number (step S3). Specifically, the routing processing unit 211 passes the transaction to the transmission / reception units 201 to 203 corresponding to the transmission destination route acquired by the search in step S2. Then, the transmission / reception units 201 to 203 transmit the transaction to the destination path. However, when the destination route is addressed to the routing controller 21, the routing processing unit 211 receives the transaction. Note that the routing processing when the routing controller 21 receives a transaction response transaction is performed in the same procedure.
- the routing process performed by the routing controller 21 is simple and the processing amount is small.
- the communication destination means a communication destination when the device 31 or a device (not shown in FIG. 1) excluding the communication device 11 and the communication device 12 is used as a transmission source.
- a device not shown in FIG. 1
- the communication destination switching process is performed between the communication device 11 and the communication device 12 to be switched.
- FIG. 6 is a flowchart illustrating an example of a processing procedure when a communication destination switching process is performed between the communication device 11 and the communication device 12.
- FIG. 7 is a diagram illustrating the identification numbers of the communication device 11 and the communication device 12 and the state of the routing table 221 during the communication destination switching process.
- FIG. 8 is a diagram illustrating a communication device that actually receives a transaction when the device 31 or the like transmits a transaction to each identification number during the communication destination switching process.
- the timing for starting the communication destination switching process is automatically switched by the communication device 11 or the communication device 12 according to a specific condition when the user requests the communication device 11 or the communication device 12 to switch using the peripheral tool 151.
- the communication device 11 or the communication device 12 may be requested from another communication device in the communication system.
- the communication device 11 acquires the identification number B of the switching-destination communication device 12 (step S11). Specifically, first, a switching destination communication device for switching the communication destination of the communication device 11, that is, a target device for switching the communication destination is determined. Any method may be used as a method of determining the target device to switch the communication destination, but a method in which the user designates the identification number of the device to be switched to the communication device 11 using the peripheral tool 151 is conceivable. Alternatively, the communication device 11 holds an identification number candidate indicating a candidate of a target device whose communication destination is to be switched in advance, and the user selects a target device whose communication destination is to be switched by a parameter or the like from the candidates using the peripheral tool 151.
- a method of designating a target device to switch the communication destination to the communication device 11 can be considered. Then, the microprocessor 131 of the communication device 11 uses the peripheral tool I / F 141 to identify the target device whose communication destination is switched using the identification number designated from the peripheral tool 151 or the identification number corresponding to the designated parameter. Get as a number.
- the communication device 12 as the switching destination communication device 11 is the communication device 12, but the switching destination communication device only needs to support the switching process of the present embodiment, and the switching destination communication device is The communication device 12 is not limited.
- other communication devices are further connected to the routing controller 21, and the switching destination of the communication device 11 is selected from the other communication devices and the communication device 12.
- a communication device may be selected.
- the identification numbers of the communication device 11 and the communication device 12 and the state of the routing table 221 at the time when the processing of step S11 is started are the state of P101 in FIG. Further, at the time when the processing of step S11 is started, the communication device that receives the actual transaction when the transaction is sent to the identification number is as indicated by P201 in FIG. That is, a transaction in which the identification number A is set as the destination identification number is received by the communication device 11, and a transaction in which the identification number B is set as the destination identification number is received by the communication device 12.
- the communication device 11 transmits an identification number change request 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 storing an identification number change request with the communication device 12 as a destination. Based on the above, the identification number change request transaction is transmitted to the communication device 12.
- an identification number change request method for example, there is a method of transmitting a dedicated transaction such as an interrupt to the requesting communication device 12.
- the request method for changing the identification number is not limited to this, and a method of writing a request to a specific address in the data memory 121 of the requesting communication device 12 may be used.
- the identification number of the present embodiment corresponds to a switching request for requesting the communication device 11 to switch the communication destination.
- the communication device 12 acquires an identification number A that is the identification number of the change destination (step S22). ).
- a method for obtaining the identification number of the change destination a method is conceivable in which the identification number of the change destination is stored in the change request transmitted in step S12, and the communication device 11 extracts the identification number of the change destination from the change request.
- the identification number of the change destination is written to a specific address in the data memory 121 in step S12, and the communication device 11 refers to the written value, or the communication device 11 is previously paired as a redundant configuration.
- a method in which the communication device 11 reads the identification number of the communication device 12 stored in the internal memory is conceivable.
- the communication device 12 changes its own identification number from B to A (step S23). That is, the communication device 12 changes the communication destination of the device 31 from the communication device 11 to itself in a state where the communication device 11 has the first number A and the communication device 12 has the second number B.
- the identification number of itself that is, the communication device 12 is changed to A that is the identification number of the communication device 11.
- the microprocessor 131 of the communication device 12 rewrites its own identification number held by the identification number processing unit 111 via the transmission / reception unit 101.
- the identification numbers of the communication device 11 and the communication device 12 and the state of the routing table 221 change to the state of P102 in FIG.
- the communication device that receives the actual transaction changes to P202 in FIG.
- the identification numbers of the communication device 11 and the communication device 12 are the same A as indicated by the state P102 in FIG.
- the transaction addressed to the communication device 11 and the communication device 12 is routed by the routing controller 21 and arrives at the communication device 11 and the communication device 12, as shown in the state P202 of FIG. It is received only by the device 11.
- the communication device 12 transmits the completion of the change of the identification number (step S24). That is, after changing its own identification number to A, the communication device 12 notifies the communication device 11 of the completion of the change of the identification number, which is the completion of switching. Specifically, the microprocessor 131 of the communication device 12 instructs the transmission / reception unit 101 to transmit the completion of the change of the identification number to the communication device 11 that is the transmission source of the request for changing the identification number. 11 completes the change of the identification number.
- the change completion notification method may be a method of sending a dedicated transaction such as an interrupt to the change request source communication device, or a completion notification to a specific address in the data memory 121 of the change request source communication device 12. For example, a method of writing
- the communication device 11 switches the routes of the identification numbers A and B in the routing table 221 of the routing controller 21 (Ste S14). That is, when the communication device 11 is notified of the completion of switching, the route identifier corresponding to the identification number A in the routing table 221 that is route information is stored in the routing table 221 as the route identifier corresponding to the identification number B. The route identifier is changed to b.
- the route identifier corresponding to the identification number B is changed to the route corresponding to the identification number A before the identification number of the communication device 11 is changed.
- the identifier is changed to a which is a route identifier stored in the routing table 221 as an identifier.
- the microprocessor 131 of the communication device 11 receives the completion of the change of the identification number via the transmission / reception unit 101, the microprocessor 131 performs a process of switching the paths of the identification numbers A and B in the routing table 221 of the routing controller 21. .
- the route identifier corresponding to the transmission destination route of the routing information with the identification number A in the routing table 221 is updated from a to b, and the transmission destination route of the routing information with the identification number B in the routing table 221 is supported.
- the route identifier to be updated is updated from b to a.
- the process of switching 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 may be updated by a transaction addressed to the routing controller 21.
- the contents of the routing table 221 may be updated by rewriting information in the memory.
- the identification numbers of the communication device 11 and the communication device 12 and the state of the routing table 221 change to the state of P103 in FIG.
- the communication device that receives the actual transaction changes to P203 in FIG.
- the transaction addressed to the communication device 11 and the communication device 12 is routed by the routing controller 21, the transaction for the identification number A is received only by the communication device 12, as indicated by the state P203 in FIG.
- 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 to B via the transmission / reception unit 101.
- step S15 the identification numbers of the communication devices 11 and 12 and the state of the routing table 221 change to the state of P104 in FIG.
- the communication device that receives the actual transaction changes to P204 in FIG.
- the transaction addressed to the identification number A is transferred to the path b by the routing controller 21 and received by the communication device 12.
- the communication device 11 has A as its communication identification number
- the communication device 12 is another communication device that can communicate with the device 31 that is an external device. Transmits a switching request for switching the communication destination of the device 31 from itself to the communication device 12 with the identification number B as an identification number for communication.
- the routing table 221 uses the route identifier corresponding to the identification number A in the routing table 221 held by the routing controller 21 as the route identifier corresponding to the identification number B. And the own identification number is changed to B.
- steps S11, S12, and S21 shown in FIG. 6 may be omitted, and the communication destination switching process may be started from step S22.
- steps S11, S12, and S21 are omitted, and the communication device 11 is omitted.
- the switching process may be started from the beginning.
- the transmission / reception unit 101 of the communication devices 11 and 12 is a transmitter and a receiver.
- the data memory 121 is a memory
- the microprocessor 131 is a processor.
- the peripheral tool I / F 141 is a transmitter and a receiver.
- the identification number processing unit 111 is a memory.
- the functions of the microprocessor 131 described above are realized by the microprocessor 131 reading and executing a program stored in the memory in the communication device 11 or 12.
- FIG. 9 is a diagram illustrating an example of a hardware configuration of the routing controller 21.
- the routing controller 21 can be configured by a processor 301, a memory 302, and a communication unit 303.
- the transmission / reception units 201 to 203 are realized by the communication unit 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.
- FIG. 9 shows an example in which the routing processing unit 211 is realized by the processor 301
- the routing processing unit 211 may be realized by a processing circuit that is dedicated hardware.
- the processing circuit is, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination of these. is there.
- the communication device 11 and the communication device 12 can change the routing table 221 of the routing controller 21, and the communication device 11 and the communication device 12 can be changed when the communication destination is switched. After one side completes the change of the identification number, the other side is notified of the completion of switching, and the communication device that has received the completion of switching changes the identification number and updates the routing table 221 of the routing controller 21. For this reason, the communication destination on the network can be switched without the device 31 as the communication source device having a function corresponding to the switching of the communication destination.
- FIG. FIG. 10 is a diagram of a configuration example of a communication system according to the second embodiment of the present invention.
- the communication system 1a according to the present embodiment includes communication devices 11 and 12, a routing controller 41 that is a route controller according to the second embodiment, and a device 31 similar to that of the first embodiment. 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 redundant description is omitted.
- 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 operations of the communication device 11 and the communication device 12 are the same as those of the communication device 11 according to the first embodiment, except that some operations are different from those of the communication device 11 and the communication device 12 according to the first embodiment.
- the operation of the communication device 12 is the same.
- the identification number A is temporarily shared by the communication devices 11 and 12 and the routing table 221 is changed, and then the identification number A of the communication device 11 is changed to B. It was possible to switch the communication destination without the absence of equipment corresponding to. Therefore, when the communication destination switching method of the first embodiment is applied to a configuration in which the communication device 11 and the communication device 12 form a redundant configuration, if the main system identification number is set to A, the main system temporarily Can be switched without being absent.
- the communication device 11 that is the main system before switching needs to change the routing table 221 of the routing controller 21, when the communication destination is switched due to a failure of the main system, the communication device 11 in which the failure has occurred. Therefore, there is a problem that the routing table 221 of the routing controller 21 must be changed.
- the communication device 12 to which the identification number A is set after switching the communication destination changes the routing table 221.
- the routing table 221 can be changed by an unfailed communication device 12 other than the main system when the main system fails in the redundant configuration.
- the routing controller 41 of the present embodiment routes unicast communication and multicast communication transactions.
- FIG. 11 is a diagram illustrating a configuration example of the routing controller 41 according to the present embodiment. As shown in FIG. 11, the routing controller 41 of the present embodiment includes a multicast-compatible routing processing unit 231 instead of the routing processing unit 211 of the first exemplary embodiment, except that the multicast routing table 241 is held. This is the same as the routing controller 21 of the first embodiment.
- the procedure in which the communication device 11 and the communication device 12 transmit and receive transactions is the same as that in the first embodiment.
- the communication device 11, the communication device 12, and the device 31 are the same as in the first embodiment.
- a group number that is an identification number of the multicast group is added to the identification number of the destination. Store.
- the transaction routing procedure of the unicast communication by the routing controller 41 is the same as the transaction routing procedure by the routing controller 21 of the first embodiment. That is, the multicast-compatible routing processing unit 231 of the routing controller 41 performs the same routing as the routing processing unit 211 of the first embodiment for a unicast communication transaction.
- FIG. 12 is a diagram illustrating a configuration example of the multicast routing table 241.
- the routing table 241 for multicast stores routing information composed of a group number that is an identification number of a multicast group and a destination route corresponding to the group number for each group number.
- the destination route in the multicast routing table 241 is provided with a column corresponding to each of all the routes to which the routing controller 41 is connected. In the column corresponding to each route, True, that is, transmission, or False, as transmission information. One of the values that are not sent is stored.
- the corresponding transaction is transmitted to the route whose transmission information is True.
- the multicast routing table 241 does not have routing information with duplicate group numbers.
- the method for updating the multicast routing table 241 is the same as the method for updating the routing table 221 described in the first embodiment, and any communication device can update the multicast routing table 241 at any timing.
- the updated contents of the routing information in the multicast routing table 241 are immediately reflected in the determination of the destination of the multicast corresponding routing processing unit 231.
- the initial value of the multicast routing table 241 an arbitrary value can be set.
- the initial value of the multicast routing table 241 may be a method having no routing information or a method having an arbitrary number of predetermined routing information.
- a method of setting or adding routing information corresponding to a multicast group for use in the previous switching process is conceivable.
- the routing information of the group number G11 is added as the routing information for use in the communication destination switching process in the second embodiment.
- the group number G11 is a multicast group defined for use in the communication destination switching process in the second embodiment.
- the route a is set to True and the other route is set to False as the destination route corresponding to the group number G11. Therefore, when the multicast routing table 241 is in the state shown in FIG. 12, the routing controller 41 sends a transaction addressed to the group number G11 to the route a, and does not send a transaction addressed to the group number G11 to other routes.
- FIG. 13 is a flowchart illustrating an example of a routing processing procedure of a multicast communication transaction in the routing controller 41.
- the routing controller 41 receives a multicast communication transaction from any one of the paths a to c by the corresponding transmission / reception units 201 to 203 (step S31).
- the transmission / reception units 201 to 203 send the received transaction to the multicast compatible routing processing unit 231.
- the multicast-compatible routing processing unit 231 searches the multicast routing table 241 for a route corresponding to the transmission destination (step S32). Specifically, the multicast compatible routing processing unit 231 extracts the group number stored in the destination identification number stored in the received transaction, that is, the destination identification number, and multicasts the routing information corresponding to the extracted group number. The routing table 241 is searched.
- the multicast-compatible routing processing unit 231 sets one of the records found by the search, that is, all the routes of the routing information as a processing target (step S33).
- the multicast-compatible routing processing unit 231 determines whether or not the setting of the processing target route of the routing information is True (step S34). That is, the multicast compatible routing processing unit 231 refers to the transmission information corresponding to the processing target route in the routing information, and determines whether or not the transmission information is True.
- step S34 If the route setting is True (step S34, Yes), the multicast-compatible routing processing unit 231 sends a transaction to the route (step S35), and the processing for all the routes of the record, that is, the processing of step S34 is completed. It is determined whether or not it has been done (step S37). When the process is completed for all the routes of the record (Yes in step S37), the multicast corresponding routing processing unit 231 ends the routing process.
- step S37 If the processing has not been completed for all the routes in the record (No in step S37), the multicast corresponding routing processing unit 231 changes the processing target route (step S38), and returns to step S34. If the route setting is not True in step S34 (No in step S34), the transaction is not sent to the route (step S36), and the process proceeds to step S37.
- FIG. 14 is a flowchart illustrating an example of a processing procedure when a communication destination switching process is performed between the communication device 11 and the communication device 12 according to the present embodiment.
- Step S41 is the same as step S11.
- the communication device 11 transmits a communication destination switching request for requesting switching of the communication destination with the communication device 11 to the communication device 12 (step S42).
- the communication destination switching request method can be implemented by the same method as the identification number change request method described in the first embodiment.
- the communication device 12 receives a 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 switches the communication destination with itself (step S52).
- the same method as the identification number acquisition method in step S22 of the first embodiment can be used.
- the communication device 12 changes its own identification number from B to A as in step S23 of the first embodiment (step S53).
- step S53 the identification numbers of the communication device 11 and the communication device 12 and the state of the routing table 221 change to the state of P102 in FIG.
- the communication device that receives the actual transaction changes to P202 in FIG.
- the identification numbers of the communication device 11 and the communication device 12 are the same A as after step S23.
- the transaction addressed to the communication device 11 and the communication device 12 is routed by the routing controller 41 and arrives at the communication device 11 and the communication device 12 as in the first embodiment, as shown in the state P202 of FIG.
- the transaction for number A is received only by the communication device 11.
- the communication device 12 exchanges the routes 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 a route change process for switching the routes of the identification numbers A and B in the routing table 221 of the routing controller 41.
- the method for changing the routing table 221 of the routing controller 41 by the communication device 12 is the same as the method for changing the routing table 221 of the routing controller 21 by the communication device 11 in step S14.
- the identification numbers of the communication devices 11 and 12 and the state of the routing table 221 change to the state of P103 in FIG. 7 as in the case of step S14 in the first embodiment.
- the communication device that receives the actual transaction changes to P203 in FIG. At this time, as indicated by a state P103 in FIG.
- the transaction to the identification number A is performed as shown in the state P203 of FIG. Just received.
- the communication device 12 transmits a communication destination switching completion by the multicast communication G11 (step S55). That is, the communication device 12 transmits the completion of switching by multicast with a predetermined group number as the destination after performing the route change process in step S54.
- the multicast communication G11 indicates multicast communication whose destination is the group number G11.
- the communication device 12 transmits to the communication device 11 by multicast communication.
- routing information is set as routing information corresponding to the group number G11 so that only the route a is routed. As described above, this setting is performed, for example, when the communication system 1a is started up.
- the routing controller 41 which is the path controller of the second embodiment, transfers the switching completion addressed to the group number G11 to the communication device 11.
- the communication device 11 When the communication device 11 receives the completion of switching of the communication destination via the routing controller 41 (step S43), the communication device 11 changes its own identification number from A to B as in step S15 of the first embodiment (step S15). S44). That is, the communication device 11 changes its own identification number to B when notified of the completion of switching.
- step S44 the identification numbers of the communication device 11 and the communication device 12 and the state of the routing table 221 change to the state of P104 in FIG.
- the communication device that receives the actual transaction changes to P204 in FIG.
- the transaction addressed to the identification number A is transferred to the path b by the routing controller 41 and received by the communication device 12.
- steps S41, S42, and S51 shown in FIG. 14 may be omitted, and the communication destination switching process may be started from step S52.
- steps S41, S42, and S51 are omitted, and the communication device 11 is omitted.
- the switching process may be started from the beginning.
- the communication device 11 which is another communication device capable of communicating with the device 31 has A as an identification number for communication, and as an identification number for its own communication.
- A an identification number for communication
- B its own identification number
- the communication device 12 changes the route identifier corresponding to the identification number A in the routing table 221 held by the routing controller 41 to the route identifier stored in the routing table 221 as the route identifier corresponding to the identification number B. Change its own identification number to B.
- the communication device 11 switches from the communication device 12 which is another communication device capable of communicating with the device 31 to indicate that switching from the communication destination itself of the device 31 to the communication device 12 has been completed.
- the completion is received, its own communication identification number is changed to B, which is the identification number used by the communication device 12 before switching.
- the configuration shown in FIG. 9 can be used similarly to the routing controller 21 according to the first embodiment.
- the transmission / reception units 201 to 203 are realized by the communication unit 303.
- the multicast compatible 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.
- FIG. 9 shows an example in which the multicast compatible routing processing unit 231 is realized by the processor 301
- the multicast compatible routing processing unit 231 may be realized by a processing circuit that is dedicated hardware.
- the routing controller 41 holds the routing information corresponding to the group number for switching communication destinations in the multicast routing table 241. Then, after the communication device to which the communication destination is switched changes its own identification number, the routing table 221 is changed, and then the communication device switching completion is transmitted by multicast and the switching completion is received. Changed their identification number. For this reason, the same effects as those of the first embodiment can be obtained, and when the configuration and operation of the second embodiment are applied to a configuration in which the communication device 11 and the communication device 12 form a redundant configuration, The communication destination can be switched by an unfailed communication device without causing the communication device corresponding to the system identification number to be absent.
- FIG. FIG. 15 is a diagram of a configuration example of a communication system according to the third embodiment of the present invention.
- the communication system 1b according to the present embodiment includes communication devices 51 and 52, which are communication devices that can arbitrarily receive a transaction other than its own identification number, the routing controller 21 similar to the first embodiment, and the embodiment. 1 is provided.
- 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 redundant description is omitted.
- differences from the first embodiment or the second embodiment will be described.
- multicast communication is used when transmitting the completion of switching from the communication device 12 to the communication device 11.
- a routing controller capable of routing multicast communication is required.
- the communication device 52 that holds the identification number A after switching the communication destination changes the routing table 221 without using multicast communication will be described. If the configuration and operation of the third embodiment are applied, routing is performed by an unfailed communication device 52 other than the main system when a failure of the main system in a redundant configuration occurs without using a routing controller that supports routing of multicast communication.
- the table 221 can be changed.
- FIG. 16 is a diagram illustrating a configuration example of the communication devices 51 and 52 according to the present embodiment.
- the communication devices 51 and 52 receive a transaction from an external route and send a transaction to the external route, instead of the transmission / reception unit 101 of the first embodiment, and receive a destination when the transaction is received.
- This embodiment is the same as the first embodiment except that a transmission / reception unit 161 that can arbitrarily invalidate the determination is provided.
- the operations of the communication devices 51 and 52 when the destination determination is valid are the same as those of the communication devices 11 and 12 of the second embodiment.
- the destination of the destination stored in the transaction is determined. If the identification number matches its own identification number, the reception process is performed. If the identification number does not match, the transaction is discarded.
- the transmission / reception unit 161 executes the reception process for the transaction regardless of the destination of the transaction, that is, without performing the destination determination when the transaction is received from the path n.
- the operation after the transaction reception process is performed is the same as that of the communication device 11 and the communication device 12 of the first embodiment.
- the microprocessor 131 performs invalidation and validation of destination determination at the time of transaction reception by the transmission / reception unit 161.
- a method for invalidating and validating the destination determination when the microprocessor 131 stores a specific identification number in the identification number processing unit 111, a method in which the transmission / reception unit 161 invalidates or enables determination of the destination, a transmission / reception unit 161 A method of invalidating or validating the destination determination by setting to is conceivable.
- a method in which the transmission / reception unit 161 invalidates or enables destination determination by receiving a specific transaction from the outside by the transmission / reception unit 161 is also conceivable.
- an external communication device may directly disable or enable destination determination of the transmission / reception unit 161 without using the microprocessor 131 of the communication devices 51 and 52. it can.
- FIG. 17 is a flowchart illustrating an example of a communication destination switching process procedure between the communication device 51 and the communication device 52 according to the present embodiment. Here, a flow when the switching process is started from the communication device 51 will be described.
- Steps S61, S62, S71, and S72 are the same as those in the second embodiment.
- the communication device 52 requests the communication device 51 to invalidate the destination determination at the time of transaction reception (step S73). That is, the communication device 52 that is the second device instructs the communication device 51 that is the first device to invalidate the destination determination in the communication device 51.
- the request method for invalidating the destination determination is a method of writing a request to a specific address in the data memory 121 of the request destination communication device, a specific transaction for invalidating the destination determination is transmitted to the request destination communication device, and the transmission / reception unit 161.
- a method of directly invalidating the destination determination of the destination can be considered.
- it is assumed that invalidation of the destination determination is requested by the latter.
- step S63 When the communication device 51 receives a request for invalidating the destination determination via the routing controller 21 (step S63), the communication device 51 changes the setting of its own transmission / reception unit 161 to invalidate the destination determination (step S64). That is, when the communication device 51 is instructed to invalidate the destination determination, the communication device 51 performs reception processing on communication data of all destinations. In the case where the destination determination of the communication destination transmission / reception unit 161 is directly invalidated in a specific transaction, step S63 is automatically executed by the transmission / reception unit 161 after step S73.
- Steps S74 and S75 are the same as steps S53 and S54 of the second embodiment.
- the communication device 52 transmits a communication destination switching completion with the identification number B as the destination (step S76). That is, after instructing invalidation of the destination determination, the communication device 52 performs the route change process that is the process of step S75, and transmits the completion of switching with the identification number B as the destination after the route change process.
- the communication device 51 has the identification number A, since the setting of the routing table 221 has been changed, the transaction whose destination is the identification number A is not routed to the communication device 51.
- the transaction whose destination is the identification number B is routed to the communication device 51, and in step S64, the communication device 51 receives the transaction without determining the destination identification number. Therefore, in step S76, the communication device 51 identifies the destination as the identification number. By transmitting the transaction as B, the communication device 51 can be notified.
- Step S65 When the communication device 51 receives the completion of switching 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, when the communication device 51 receives the completion of switching, the communication device 51 changes its own identification number to B.
- step S64 can be confirmed.
- the communication device 52 confirms the response and then proceeds to step S74, thereby ensuring that step S64 and step S74 are performed in the order shown in FIG.
- the example in which the communication destination switching process is started from the communication device 51 has been described.
- the communication destination switching processing from the communication device 52 is performed by the processing illustrated in FIG. Replace the process. It is also possible to omit the steps S61, S62, and S71 and start the processing from the communication device 52. Alternatively, steps S61, S62, and S71 may be omitted, and the switching processing from the communication device 51 may be started by replacing the processing of the communication device 51 and the communication device 52 in the processing illustrated in FIG.
- the third embodiment it is possible to invalidate the destination determination of the communication device, and when the communication device transmits the completion of the switching of the communication destination, the communication device that is the transmission source of the switching completion before the switching It was decided to send it by a transaction with the identification number used for. For this reason, the same effect as in 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.
- the communication system, the communication device, the routing controller, and the communication destination switching method according to the present invention are useful for switching the communication destination in a network to which devices that do not have a function corresponding to the communication destination switching are connected. It is. Further, according to the present invention, it is possible to prevent duplication of communication destinations and realize a redundant configuration of communication devices using a communication system with devices having simple functions.
- Embodiment 4 In the above first to third embodiments, the example in which the communication device 11 or the communication device 12 changes the routing table in the routing controller has been described. However, in the fourth embodiment, the routing controller itself sets the routing table. An example of changing will be described. In the fourth embodiment, an example will be described in which, when the routing controller 21 changes the routing table 221, an identification number change request is transmitted by multicast as in the second embodiment.
- 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 routing controller 41 that is the route controller of the fourth embodiment is the same as the configuration of the routing controller 41 of the second embodiment.
- the destination switching operation performed by the multicast-compatible routing processing unit 231 is different from that of the second embodiment.
- the communication device 11 and the communication device 12 according to the fourth embodiment have the same configuration as the communication device 11 and the communication device 12 according to the second embodiment.
- the operations of the communication device 11 and the communication device 12 are the same as those of the communication device 11 and the communication device 12 according to the second embodiment except that the processing for transmitting the identification number change request and the processing for rewriting the routing table 221 of the routing controller 41 are not performed. The operation is the same.
- differences from the second embodiment will be described.
- the multicast communication transaction routing process of this embodiment is the same as that of the second embodiment.
- the communication destination switching processing of the present embodiment will be described by taking as an example the 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 set as shown in FIG. 12 as in the second embodiment.
- FIG. 18 is a flowchart illustrating an example of a switching process procedure in the routing controller 41 of the present embodiment.
- the routing controller 41 starts a switching process, and first transmits an identification number change request to the communication device 12 (step S111).
- the multicast-compatible routing processing unit 231 transmits an identification number change request to the communication device 12 via the transmission / reception unit 202.
- Step S112 When the communication device 12 receives the identification number change request from the routing controller 41 (step S112), the communication device 12 acquires the identification number A that is the identification number of the change destination (step S113).
- Step S113 and step S114 are the same as step S22 and step S23 of the first embodiment.
- the routing controller 41 replaces the routes of the identification numbers A and B in the routing table 221 after step S111 (step S115).
- step S115 as after step S54 of the second embodiment is performed, the identification numbers of the communication devices 11 and 12 and the state of the routing table 221 change to the state of P103 in FIG.
- the communication device that receives the actual transaction changes to P203 in FIG. Since the transaction addressed to the communication device 11 and the communication device 12 is routed by the routing controller 41, the transaction for the identification number A is received only by the communication device 12, as indicated by the state P203 in FIG.
- the routing controller 41 transmits an identification number change request through the multicast communication G11 (step S116).
- the communication device 11 receives a request for changing the identification number from the routing controller 41 through the multicast communication G11 (step S117)
- the communication device 11 changes the identification number from A to B as in steps S22 and S23 of the first embodiment ( Steps S118 and S119).
- the routing controller 41 when switching the communication destination, changes the routing table 221 and transmits a request for changing the identification number to the communication device 11 and the communication device 12 to perform routing.
- the identification number change request after changing the table 221 is transmitted by multicast. Therefore, the communication system according to the present embodiment can achieve the same effects as those of the first embodiment without the communication device 11 and the communication device 12 changing the routing table 221.
- Embodiment 5 FIG.
- the configuration of the communication system 1b according to the present embodiment is the same as that of the communication system 1b according to the third embodiment.
- the configuration of the routing controller 21 which is the route controller of the fifth embodiment is the same as the configuration of the routing controller 21 of the third embodiment.
- the communication destination switching operation performed by the routing processing unit 211 is different from that of the third embodiment.
- 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 operations of the communication device 51 and the communication device 52 are the same as those of the communication device 51 and the communication device 52 according to the third embodiment except that the processing for transmitting the identification number change request and the processing for rewriting the routing table 221 of the routing controller 21 are not performed. The operation is the same. Hereinafter, differences from the third embodiment will be described.
- FIG. 19 is a flowchart illustrating an example of a switching process procedure in the routing controller 21 according to the present embodiment.
- the routing controller 21 starts the switching process, and first transmits a destination determination invalidation request to the communication devices 51 and 52 (step). S141).
- the routing processing unit 211 transmits a destination determination invalidation request to the communication devices 51 and 52 via the transmission / reception unit 201 and the transmission / reception unit 202.
- the communication devices 51 and 52 invalidate the destination determination as in the third embodiment.
- the routing controller 21 exchanges the routes of the identification numbers A and B in the routing table 221 (step S142). Then, the routing controller 21 transmits an identification number change request to the identification numbers A and B (step S143). Since the routing table 221 has been changed, an identification number change request addressed to the identification number A is received by the communication device 52 via the path b, and an identification number change request addressed to the identification number B passes the path a. Is received by the communication device 51. Since both the communication device 51 and the communication device 52 invalidate the destination determination, the communication device 51 and the communication device 52 each receive an identification number change request and change the identification number. 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.
- the routing controller 21 instructs the communication device 51 and the communication device 52 that can invalidate the destination determination to invalidate the destination determination. Then, after changing the routing table 221, a request for changing the identification number is transmitted. Therefore, the communication system according to the present embodiment can achieve the same effects as those of the third embodiment without the communication device 51 and the communication device 52 changing the routing table 221.
- the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
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
Description
図1は、本発明の実施の形態1にかかる通信システムの構成例を示す図である。図1に示すように、本実施の形態の通信システム1は、後述する本実施の形態1の通信先の切換え対象となる通信機器11,12と、ルーティングを行う経路制御器であるルーティングコントローラ21と、通信機器11,12と通信を行うことが可能な機器であるデバイス31とを備える。図1では、1台のデバイス、2台すなわち1組の通信機器を図示しているが、デバイスは2台以上であってもよく、通信機器も2組以上であってもよい。
図10は、本発明の実施の形態2にかかる通信システムの構成例を示す図である。本実施の形態の通信システム1aは、通信機器11,12と、実施の形態2の経路制御器であるルーティングコントローラ41と、実施の形態1と同様のデバイス31とを備える。実施の形態1と同様の機能を有する構成要素は、実施の形態1と同一の符号を付して重複する説明を省略する。以下、実施の形態1と異なる点を説明する。通信機器11,通信機器12は、実施の形態1の通信機器11,通信機器12と同様の構成である。通信機器11,通信機器12の動作は、後述する通信先の切換え処理において、一部の動作が実施の形態1の通信機器11,通信機器12と異なる以外は、実施の形態1の通信機器11,通信機器12の動作と同様である。
図15は、本発明の実施の形態3にかかる通信システムの構成例を示す図である。本実施の形態の通信システム1bは、自身の識別番号宛以外のトランザクションを任意に受信可能な通信機器である通信機器51,52と、実施の形態1と同様のルーティングコントローラ21と、実施の形態1と同様のデバイス31とを備える。実施の形態1と同様の機能を有する構成要素は、実施の形態1と同一の符号を付して重複する説明を省略する。以下、実施の形態1または実施の形態2と異なる点を説明する。
以上の実施の形態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と異なる点を説明する。
実施の形態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と異なる点を説明する。
Claims (14)
- 第一の機器と、第二の機器と、第三の機器と、経路制御器とを備え、
前記第一の機器、前記第二の機器、前記第三の機器は、それぞれ一意に識別可能な識別番号を有し、前記識別番号を用いて通信を行い、
前記経路制御器は、前記第一の機器、前記第二の機器および前記第三の機器とそれぞれ異なる経路で接続され、
前記経路制御器は、
宛先の識別番号と経路を示す識別子である経路識別子との対応を示す情報である経路情報を記憶する記憶部と、
前記経路情報に基づいて、受信した通信データの宛先の識別番号に応じた前記経路識別子に対応する経路へ前記通信データを送出する処理部と、
を備え、
前記第二の機器は、前記第一の機器が前記識別番号として第一の番号を有しかつ前記第二の機器が前記識別番号として第二の番号を有する状態において、前記第三の機器の通信先を前記第一の機器から自身へ切換えることを要求する切換え要求を受信すると、自身の識別番号を前記第一の番号に変更し、
前記第一の機器、前記第二の機器または前記経路制御器は、前記経路情報のうち前記第一の番号に対応する経路識別子を、前記第二の番号に対応する経路識別子として前記経路情報に格納されていた経路識別子に変更する経路変更処理を実施することを特徴とする通信システム。 - 前記第二の機器が識別番号を前記第一の番号に変更した後、前記第一の機器または前記第二の機器は、前記第二の番号に対応する経路識別子を、前記第一の機器の識別番号の変更前に前記第一の番号に対応する経路識別子として前記経路情報に格納されていた経路識別子に変更し、
前記経路情報のうち前記第二の番号に対応する経路識別子が変更された後、前記第一の機器は、自身の識別番号を前記第二の番号に変更することを特徴とする請求項1に記載の通信システム。 - 前記第二の機器は、自身の識別番号を前記第一の番号に変更した後、切換え完了を前記第一の機器へ通知し、
前記第一の機器は、前記切換え完了を通知されると、前記経路変更処理を実施することを特徴とする請求項1または2に記載の通信システム。 - 前記第二の機器は、前記経路変更処理を実施し、前記経路変更処理の実施後に、あらかじめ定めたグループ番号を宛先としたマルチキャストにより切換え完了を送信し、
前記経路制御器は、前記グループ番号を宛先とする前記切換え完了を前記第一の機器へ転送し、
前記第一の機器は、前記切換え完了を通知されると、自身の識別番号を前記第二の番号に変更することを特徴とする請求項1または2に記載の通信システム。 - 前記第二の機器は、前記第一の機器へ前記第一の機器における宛先判定の無効化を指示し、前記宛先判定の無効化の指示の後、前記経路変更処理を実施し、前記経路変更処理の実施後に、前記第二の番号を宛先として切換え完了を送信し、
前記第一の機器は、前記宛先判定の無効化を指示されると、全ての宛先の通信データに対して受信処理を実施し、前記切換え完了を受信すると、自身の識別番号を前記第二の番号に変更することを特徴とする請求項4に記載の通信システム。 - 前記経路制御器が、前記第二の機器に識別番号の変更要求を送信し、該変更要求を受信した第二の機器が識別番号を前記第一の番号に変更した後、前記経路制御器は、前記第二の番号に対応する経路識別子を、前記第一の番号に対応する経路識別子を変更する前に前記第一の番号に対応する経路識別子として前記経路情報に格納されていた経路識別子に変更し、
前記経路情報のうち前記第二の番号に対応する経路識別子が変更された後、前記経路制御器は、前記第一の機器に識別番号の変更要求を送信し、該変更要求を受信した第一の機器が識別番号を前記第二の番号に変更することを特徴とする請求項1に記載の通信システム。 - 前記第二の機器は、自身の識別番号を前記第一の番号に変更した後、切換え完了を前記経路制御器へ通知し、
前記経路制御器は、前記切換え完了を通知されると、前記経路変更処理を実施することを特徴とする請求項6に記載の通信システム。 - 前記経路制御器は、前記経路変更処理を実施し、前記経路変更処理の実施後に、あらかじめ定めたグループ番号を宛先としたマルチキャストにより前記切換え要求を送信し、
前記第一の機器は、前記切換え完了を通知されると、自身の識別番号を前記第二の番号に変更することを特徴とする請求項6に記載の通信システム。 - 前記経路制御器は、前記第一の機器および前記第二の機器へ宛先判定の無効化を指示し、前記宛先判定の無効化の指示の後、前記経路変更処理を実施し、前記経路変更処理の実施後に、前記第一の番号および前記第二の番号を宛先として前記切換え要求をそれぞれ送信し、
前記第一の機器は、前記宛先判定の無効化を指示されると、全ての宛先の通信データに対して受信処理を実施し、前記切換え要求を受信すると、自身の識別番号を前記第二の番号に変更し、
前記第二の機器は、前記宛先判定の無効化を指示されると、全ての宛先の通信データに対して受信処理を実施し、前記切換え要求を受信すると、自身の識別番号を前記第一の番号に変更することを特徴とする請求項6に記載の通信システム。 - 自身の通信用の識別番号として第一の番号を有し、かつ外部の機器と通信可能な他の通信機器が通信用の識別番号として第二の番号を有する状態で、前記機器の通信先を自身から前記他の通信機器へ切換えることを要求する切換え要求を送信し、前記他の通信機器から切換えの完了を受信すると、前記他の通信機器、前記機器および前記他の通信機器に接続される経路制御器が保持する経路情報のうち前記第一の番号に対応する経路識別子を前記第二の番号に対応する経路識別子として前記経路情報に格納されていた経路識別子に変更し、自身の識別番号を前記第二の番号に変更することを特徴とする通信機器。
- 外部の機器と通信可能な他の通信機器が通信用の識別番号として第一の番号を有しかつ自身の通信用の識別番号として第二の番号を有する状態で、前記機器の通信先を前記他の通信機器から自身へ切換えることを要求する切換え要求を受信すると、自身の識別番号を前記第一の番号に変更し、前記他の通信機器、前記機器および前記他の通信機器に接続される経路制御器が保持する経路情報のうち前記第一の番号に対応する経路識別子を前記第二の番号に対応する経路識別子として前記経路情報に格納されていた経路識別子に変更することを特徴とする通信機器。
- 外部の機器と通信可能な他の通信機器から、前記機器の通信先の自身から前記他の通信装置への切換えが完了したことを示す切換え完了を受信すると、自身の通信用の識別番号を、前記切換えの前に前記他の通信機器が用いていた識別番号に変更することを特徴とする通信機器。
- 前記切換え完了を、自身が有する通信用の識別番号以外を宛先とするユニキャストにより受信することを特徴とする請求項12に記載の通信機器。
- 第一の機器と、第二の機器と、第三の機器と、経路制御器とを備え、前記第一の機器、前記第二の機器、前記第三の機器は、それぞれ一意に識別可能な識別番号を有し、前記識別番号を用いて通信を行い、前記経路制御器は、前記第一の機器、前記第二の機器および前記第三の機器とそれぞれ異なる経路で接続される通信システムにおける通信先の切換え方法であって、
前記経路制御器が、宛先の識別番号と経路を示す識別子である経路識別子との対応を示す情報である経路情報を記憶する第一のステップと、
前記経路制御器が、前記経路情報に基づいて、受信した通信データの宛先の識別子に応じた前記経路識別子に対応する経路へ前記通信データを送出する第二のステップと、
前記第二の機器が、前記第一の機器が前記識別番号として第一の番号を有しかつ前記第二の機器が前記識別番号として第二の番号を有する状態において、前記第三の機器の通信先を前記第一の機器から自身へ切換えることを要求する切換え要求を受信すると、自身の識別番号を前記第一の番号に変更する第三のステップと、
前記第一の機器、前記第二の機器または前記経路制御器が、前記経路情報のうち前記第一の番号に対応する経路識別子を前記第二の番号に対応する経路識別子として前記経路情報に格納されていた経路識別子に変更する経路変更処理を実施する第四のステップと、
を含むことを特徴とする通信先の切換え方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201680078289.6A CN108476171B (zh) | 2016-01-13 | 2016-04-22 | 通信系统、通信仪器以及通信目标的切换方法 |
JP2016567880A JP6207770B1 (ja) | 2016-01-13 | 2016-04-22 | 通信システム、通信機器および通信先の切換え方法 |
KR1020187016536A KR101892906B1 (ko) | 2016-01-13 | 2016-04-22 | 통신 시스템, 통신 기기 및 통신처의 전환 방법 |
TW106100829A TWI640176B (zh) | 2016-01-13 | 2017-01-11 | 通信系統、通信機器及通信目的地的切換方法 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JPPCT/JP2016/050862 | 2016-01-13 | ||
PCT/JP2016/050862 WO2017122298A1 (ja) | 2016-01-13 | 2016-01-13 | 通信システム、通信機器および通信先の切換え方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017122369A1 true WO2017122369A1 (ja) | 2017-07-20 |
Family
ID=59311074
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2016/050862 WO2017122298A1 (ja) | 2016-01-13 | 2016-01-13 | 通信システム、通信機器および通信先の切換え方法 |
PCT/JP2016/062844 WO2017122369A1 (ja) | 2016-01-13 | 2016-04-22 | 通信システム、通信機器および通信先の切換え方法 |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2016/050862 WO2017122298A1 (ja) | 2016-01-13 | 2016-01-13 | 通信システム、通信機器および通信先の切換え方法 |
Country Status (5)
Country | Link |
---|---|
JP (1) | JP6207770B1 (ja) |
KR (1) | KR101892906B1 (ja) |
CN (1) | CN108476171B (ja) |
TW (1) | TWI640176B (ja) |
WO (2) | WO2017122298A1 (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020199212A1 (zh) * | 2019-04-04 | 2020-10-08 | 华为技术有限公司 | 一种通信方法及装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002111713A (ja) * | 2000-09-28 | 2002-04-12 | Toshiba Corp | ネットワークシステム、ネームサーバ、サーバ、およびネットワークシステムのip通信方法 |
JP2006129094A (ja) * | 2004-10-28 | 2006-05-18 | Fuji Xerox Co Ltd | 冗長サーバシステム及びサーバ装置 |
JP2008172678A (ja) * | 2007-01-15 | 2008-07-24 | Hitachi Communication Technologies Ltd | 冗長切り替え方法 |
JP2010063022A (ja) * | 2008-09-05 | 2010-03-18 | Hitachi Communication Technologies Ltd | アクセスゲートウェイ装置の制御方法及び通信システム |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3599096B2 (ja) * | 2000-08-04 | 2004-12-08 | 日本電気株式会社 | 二重化ネットワーク装置と二重化装置のmacアドレス整合方法 |
JP4321156B2 (ja) | 2003-07-28 | 2009-08-26 | 株式会社明電舎 | コンピュータ間のネットワーク通信方法とその装置 |
JP2009187314A (ja) | 2008-02-06 | 2009-08-20 | Fuji Electric Systems Co Ltd | 二重化コントローラ・システム、cpuモジュール、そのプログラム |
JP4984077B2 (ja) | 2008-02-15 | 2012-07-25 | 日本電気株式会社 | 動的切り替え装置、動的切り替え方法、及び動的切り替えプログラム |
US9680726B2 (en) * | 2013-02-25 | 2017-06-13 | Qualcomm Incorporated | Adaptive and extensible universal schema for heterogeneous internet of things (IOT) devices |
JP6304602B2 (ja) * | 2015-06-16 | 2018-04-04 | 佐藤 和宏 | 小便器及びこれを備えたトイレ |
-
2016
- 2016-01-13 WO PCT/JP2016/050862 patent/WO2017122298A1/ja active Application Filing
- 2016-04-22 KR KR1020187016536A patent/KR101892906B1/ko active IP Right Grant
- 2016-04-22 WO PCT/JP2016/062844 patent/WO2017122369A1/ja active Application Filing
- 2016-04-22 JP JP2016567880A patent/JP6207770B1/ja active Active
- 2016-04-22 CN CN201680078289.6A patent/CN108476171B/zh active Active
-
2017
- 2017-01-11 TW TW106100829A patent/TWI640176B/zh active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002111713A (ja) * | 2000-09-28 | 2002-04-12 | Toshiba Corp | ネットワークシステム、ネームサーバ、サーバ、およびネットワークシステムのip通信方法 |
JP2006129094A (ja) * | 2004-10-28 | 2006-05-18 | Fuji Xerox Co Ltd | 冗長サーバシステム及びサーバ装置 |
JP2008172678A (ja) * | 2007-01-15 | 2008-07-24 | Hitachi Communication Technologies Ltd | 冗長切り替え方法 |
JP2010063022A (ja) * | 2008-09-05 | 2010-03-18 | Hitachi Communication Technologies Ltd | アクセスゲートウェイ装置の制御方法及び通信システム |
Also Published As
Publication number | Publication date |
---|---|
JPWO2017122369A1 (ja) | 2018-01-18 |
JP6207770B1 (ja) | 2017-10-04 |
TWI640176B (zh) | 2018-11-01 |
KR20180078323A (ko) | 2018-07-09 |
WO2017122298A1 (ja) | 2017-07-20 |
CN108476171B (zh) | 2019-06-28 |
KR101892906B1 (ko) | 2018-08-28 |
TW201731261A (zh) | 2017-09-01 |
CN108476171A (zh) | 2018-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170111450A1 (en) | Data Storage Method, SDN Controller, and Distributed Network Storage System | |
US20170286158A1 (en) | Migration Of Virtual Machines | |
US10742697B2 (en) | Packet forwarding apparatus for handling multicast packet | |
RU2006140686A (ru) | Устройство и способ синхронизации кэш-таблиц соседей | |
EP1126682A2 (en) | Position identifier management apparatus and method, and position identifier processing method | |
US10103988B2 (en) | Switching device, controller, method for configuring switching device, and method and system for processing packet | |
CN112087390B (zh) | 一种网络路由方法及装置 | |
CN111200622A (zh) | 一种资源传输方法及装置、存储介质 | |
US20150229557A1 (en) | Data processing system for changing massive paths time-deterministically and operating method of the data processing system | |
JP6207770B1 (ja) | 通信システム、通信機器および通信先の切換え方法 | |
US8291113B2 (en) | Communication transmitting apparatus and communication transmitting method | |
KR101773716B1 (ko) | 콘텐츠 중심 네트워크에서 콘텐츠를 공유하는 방법 및 콘텐츠를 공유하는 콘텐츠 중심 네트워크의 라우터 | |
US10454805B2 (en) | Communication system, communication apparatus, control apparatus, communication apparatus control method and program | |
WO2013103040A1 (ja) | データ指向型通信システム、ノード、および、データ転送方法 | |
JP5893211B2 (ja) | ゲートウェイ装置 | |
KR102437289B1 (ko) | 정보 중심 네트워크에서 프로듀서 이동성 지원을 위한 패킷 경로 설정 방법 및 장치 | |
KR100970385B1 (ko) | 무선 네트워크의 경로 설정 방법 및 장치 | |
US20210064411A1 (en) | Management apparatus, management system, management method and management program | |
JP6620761B2 (ja) | 情報処理装置、情報処理方法、及び、プログラム | |
US20180176129A1 (en) | Communication method, control device, and system | |
JP6504895B2 (ja) | ネットワークシステム及び制御装置 | |
JP7166359B2 (ja) | ネットワークエンティティのモバイルイベントメッセージの伝播方法 | |
JP4558571B2 (ja) | 属性通信経路制御装置及び属性通信システム | |
CN117201516A (zh) | 数据处理方法、装置、电子设备及存储介质 | |
CN115701055A (zh) | 一种用户信息扩散方法和网络设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2016567880 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16884972 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20187016536 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16884972 Country of ref document: EP Kind code of ref document: A1 |