WO2017221357A1 - Relay device - Google Patents

Relay device Download PDF

Info

Publication number
WO2017221357A1
WO2017221357A1 PCT/JP2016/068568 JP2016068568W WO2017221357A1 WO 2017221357 A1 WO2017221357 A1 WO 2017221357A1 JP 2016068568 W JP2016068568 W JP 2016068568W WO 2017221357 A1 WO2017221357 A1 WO 2017221357A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
port
frame
message
message type
Prior art date
Application number
PCT/JP2016/068568
Other languages
French (fr)
Japanese (ja)
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 三菱電機株式会社
Priority to PCT/JP2016/068568 priority Critical patent/WO2017221357A1/en
Priority to JP2018520623A priority patent/JP6355880B2/en
Priority to GB1818272.5A priority patent/GB2568168B/en
Publication of WO2017221357A1 publication Critical patent/WO2017221357A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • 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/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Definitions

  • the present invention relates to a relay device such as a bridge.
  • the bridge determines whether it is necessary to relay the frame based on the destination address, and does not relay the frame to an unnecessary range. This makes it possible to reduce the bandwidth used.
  • a band reduction method is called a bridge method.
  • Patent Document 1 discloses an example of a bridge.
  • IGMP is defined in RFC1112 of IETF.
  • IETF is an abbreviation for Internet Engineering Task Force.
  • RFC is an abbreviation for Request For Comments.
  • IGMP is an abbreviation for Internet Group Management Protocol.
  • IGMP when a querier among a plurality of queriers transmits a query request and a listener transmits a report response, the other querier receives the report response and does not transmit the query request itself.
  • queries and reports are multicast.
  • bus type network data arrives at each terminal even if the data is unicast. Therefore, in the bus network, it is possible to receive a response without transmitting a request, as in IGMP. That is, each device can receive a request and a response exchanged between other devices and acquire necessary data. Therefore, it is possible to reduce the use band by not transmitting the request by each device.
  • Such a band reduction method is called a monitoring method.
  • the monitoring method aims to reduce communication between devices in a bus network by monitoring the communication that each device performs between other devices and acquiring the data that the device wants to collect. .
  • a bridge is introduced, communication between other devices does not reach each device that performs monitoring. Therefore, each device has to transmit a request itself in order to obtain necessary data. As a result, it becomes difficult to obtain a band consumption reduction effect.
  • An object of the present invention is to be able to suppress the use band by using both the bridge method and the monitoring method.
  • the relay device of the present invention Multiple communication ports, A storage unit that stores a relay table in which a source address, a relay message type, and a destination port are associated with each other; A frame analysis unit that obtains a message type included in the frame as an analysis message type when a frame including a source address and a message arrives at any of the plurality of communication ports; Select a destination port corresponding to a combination of a source address included in the frame and the same relay message type as the analysis message type from the relay table, and the same destination as the communication port from which the frame arrived from the selected destination port A relay determination unit that selects a remaining destination port excluding the port as a communication port that outputs the frame.
  • FIG. 1 is a configuration diagram of a relay device 100 according to Embodiment 1.
  • FIG. FIG. 3 is a configuration diagram of a storage unit 191 in the first embodiment.
  • FIG. 3 is a configuration diagram of a first relay table 210 in the first embodiment.
  • FIG. 3 is a configuration diagram of a second relay table 220 in the first embodiment.
  • FIG. 3 is a configuration diagram of a message correspondence table 230 in the first embodiment.
  • FIG. 3 is a configuration diagram of a frame 200 in the first embodiment.
  • 3 is a flowchart of a relay method according to the first embodiment.
  • 5 is a flowchart of relay learning processing (S200) in the first embodiment.
  • 5 is a flowchart of relay determination processing (S300) in the first embodiment.
  • FIG. 2 shows a bus network in Embodiment 1.
  • FIG. 4 shows a first relay table 210 in the first embodiment.
  • FIG. 6 shows a second relay table 220 in the first embodiment.
  • FIG. 4 shows a first relay table 210 in the first embodiment.
  • FIG. 2 shows a bus network in Embodiment 1.
  • FIG. 2 shows a bus network in Embodiment 1.
  • FIG. The flowchart of the relay determination process (S300) in Embodiment 2.
  • 10 is a flowchart of relay learning processing (S200) in the third embodiment.
  • 10 is a flowchart of relay determination processing (S300) in the third embodiment.
  • FIG. 6 shows a bus network in Embodiment 3.
  • Embodiment 1 FIG.
  • the relay device 100 will be described with reference to FIGS. Specifically, the relay device 100 is a network device called a bridge.
  • the relay apparatus 100 is a computer including hardware such as a processor 901, a memory 902, and a plurality of network interfaces (903-1, 903-2). These hardwares are connected to each other via signal lines.
  • the network interface 903-1 and the network interface 903-2 are collectively referred to as a network interface 903.
  • the processor 901 is an IC (Integrated Circuit) that performs processing, and controls other hardware.
  • the processor 901 is a CPU, DSP, or GPU.
  • CPU is an abbreviation for Central Processing Unit
  • DSP is an abbreviation for Digital Signal Processor
  • GPU is an abbreviation for Graphics Processing Unit.
  • the memory 902 is a volatile storage device.
  • the memory 902 is also called main memory or main memory.
  • the memory 902 is a RAM (Random Access Memory).
  • the network interface 903 is a device that performs communication. Specifically, the network interface 903 is a NIC (Network Interface Card). A port included in the network interface 903-1 is referred to as a communication port 904-1, and a port included in the network interface 903-2 is referred to as a communication port 904-2. Communication port 904-1 is connected to network 910-1. Communication port 904-2 is connected to a network 910-2 different from network 910-1. Communication port 904-1 and communication port 904-2 are collectively referred to as communication port 904. The network 910-1 and the network 910-2 are collectively referred to as a network 910.
  • the relay apparatus 100 includes “units” such as a frame analysis unit 110, a relay learning unit 120, and a relay determination unit 130 as functional configuration elements.
  • the function of “part” is realized by software. The function of “part” will be described later.
  • An OS Operating System
  • a program that realizes the function of “unit” are loaded into the memory 902 and executed by the processor 901.
  • the processor 901 executes a program that realizes the function of “unit” while executing the OS.
  • Data obtained by executing a program that realizes the function of “unit” is stored in a storage device such as the memory 902, a register in the processor 901, or a cache memory in the processor 901.
  • the memory 902 functions as a storage unit 191 that stores data used, generated, input, output, transmitted, or received by the relay device 100. However, other storage devices may function as the storage unit 191.
  • the network interface 903 functions as a receiving unit (192-1, 192-2) that receives data and a transmitting unit (193-1, 193-2) that transmits data.
  • the receiving unit 192-1 and the receiving unit 192-2 are collectively referred to as a receiving unit 192
  • the transmitting unit 193-1 and the transmitting unit 193-2 are collectively referred to as a transmitting unit 193.
  • the relay apparatus 100 may include a plurality of processors that replace the processor 901.
  • the plurality of processors share execution of a program that realizes the function of “unit”.
  • a program that realizes the function of “unit” can be stored in a computer-readable manner in a nonvolatile storage medium such as a magnetic disk, an optical disk, or a flash memory.
  • a non-volatile storage medium is a tangible medium that is not temporary. “Part” may be read as “processing” or “process”.
  • the function of “unit” may be realized by firmware.
  • the storage unit 191 stores a first relay table 210, a second relay table 220, a message correspondence table 230, and the like. These will be described later.
  • the first relay table 210 has an entry corresponding to a record.
  • the entries included in the first relay table 210 are referred to as first relay entries (211-1, 211-2, 211-3).
  • the first relay entries (211-1, 211-2, 211-3) are collectively referred to as the first relay entry 211.
  • the destination address and the destination port are associated with each other.
  • the destination address is the address of the terminal that is the destination of the frame.
  • the destination port is a communication port 904 connected to the network 910 to which the destination terminal is connected.
  • a destination port identifier is set in the destination port field.
  • the destination port identifier is an identifier for identifying the destination port.
  • the first relay entry 211 is registered at any time by the relay learning unit 120.
  • the first relay table 210 corresponds to an FDB (filtering database).
  • the configuration of the second relay table 220 will be described based on FIG.
  • the second relay table 220 has an entry corresponding to a record. Entries included in the second relay table 220 are referred to as second relay entries (221-1, 212-2).
  • the second relay entries (221-1, 212-2) are collectively referred to as second relay entries 221.
  • the transmission source address is an address of a terminal that is a transmission source of the frame.
  • the relay message type is a type of message included in the frame. Specifically, the relay message type is a response message.
  • the response message is a message in response to the request message.
  • the request message is a message requesting a response message.
  • the destination port is a communication port 904 that is connected to the network 910 to which the terminal that is the destination of the frame is connected. A destination port identifier is set in the destination port field.
  • the second relay entry 221 is registered at any time by the relay learning unit 120.
  • the second relay table 220 corresponds to an extended FDB.
  • the message correspondence table 230 has entries corresponding to records. Entries included in the message correspondence table 230 are referred to as message correspondence entries (231-1 to 231-3). The message correspondence entries (231-1 to 231-3) are collectively referred to as a message correspondence entry 231.
  • the first message type and the second message type are associated with each other.
  • the first message type is a type of message included in the frame. Specifically, the first message type is a request message.
  • the second message type is a type of message included in the frame. Specifically, the second message type is a response message.
  • the message correspondence table 230 is generated in advance.
  • the frame 200 includes a transmission source address 201, a destination address 202, a type 203, a message 204, and the like.
  • the transmission source address 201 is an address of a terminal that is a transmission source of the frame 200.
  • the destination address 202 is an address of a terminal that is the destination of the frame 200.
  • a type 203 is a type of the message 204.
  • Message 204 is a payload. Specifically, the message 204 is a request message or a response message.
  • the operation of the relay device 100 corresponds to a relay method.
  • the procedure of the relay method corresponds to the procedure of the relay program.
  • Step S110 is a reception process.
  • the receiving unit 192 corresponding to the communication port 904 from which the frame 200 has arrived receives the arrived frame 200.
  • the communication port 904 from which the frame 200 has arrived is called a reception port.
  • Step S120 is a frame analysis process.
  • the frame analysis unit 110 analyzes the received frame 200 to obtain a transmission source address 201, a destination address 202, and an analysis message type.
  • the analysis message type is a type of the message 204 included in the received frame 200.
  • the frame analysis unit 110 operates as follows.
  • the frame analysis unit 110 extracts the transmission source address 201 from the received frame 200.
  • the frame analysis unit 110 extracts the destination address 202 from the received frame 200.
  • the frame analysis unit 110 extracts the type 203 from the received frame 200.
  • the extracted type 203 is the analysis message type. If the type 203 is not included in the frame 200, the frame analysis unit 110 obtains an analysis message type by executing an analysis algorithm on the message 204.
  • the analysis algorithm to be executed is a predetermined algorithm for obtaining the analysis message type.
  • the frame analysis unit 110 obtains a reception port port identifier from the reception unit 192 corresponding to the reception port.
  • the reception port identifier is an identifier for identifying a reception port.
  • Step S200 is a relay learning process.
  • the relay learning unit 120 registers the first relay entry 211 in the first relay table 210 based on the information obtained in step S120. Further, the relay learning unit 120 registers the second relay entry 221 in the second relay table 220 based on the information obtained in step S120. Details of the relay learning process (S200) will be described later.
  • Step S300 is a relay determination process.
  • the relay determination unit 130 selects a transmission port based on the information obtained in step S120 and the first relay table 210 and the second relay table 220.
  • the transmission port is a communication port 904 that outputs the received frame 200. Details of the relay determination process (S300) will be described later.
  • Step S130 is a transmission process.
  • the transmission unit 193 corresponding to each transmission port transmits the received frame 200 from the transmission port.
  • the received frame 200 is relayed from the network 910 connected to the reception port to the network 910 connected to the transmission port.
  • step S130 is not executed.
  • step S210 the relay learning unit 120 generates the first relay entry 211 by associating the same destination address as the transmission source address 201 with the same destination port as the reception port. Then, the relay learning unit 120 registers the generated first relay entry 211 in the first relay table 210.
  • the relay learning unit 120 determines whether the message correspondence table 230 includes the first message type that is the same as the analysis message type. Specifically, the relay learning unit 120 operates as follows.
  • step S221 the relay learning unit 120 searches the message correspondence table 230 for a message correspondence entry 231 including the same first message type as the analysis message type.
  • the message corresponding entry 231 including the same first message type as the analysis message type is referred to as a corresponding entry.
  • step S222 the relay learning unit 120 determines whether there is a corresponding entry based on the search result. If there is a corresponding entry, the process proceeds to step S223. If there is no corresponding entry, the second relay entry 221 is not registered and the process ends.
  • step S223 the relay learning unit 120 acquires a second message type corresponding to the same first message type as the analysis message type from the message correspondence table 230. Specifically, the relay learning unit 120 acquires the second message type from the corresponding entry.
  • step S230 the relay learning unit 120 associates the same source address as the destination address 202, the same relay message type as the second message type acquired in step S223, and the same destination port as the reception port, A second relay entry 221 is generated. Then, the relay learning unit 120 registers the generated second relay entry 221 in the second relay table 220.
  • the procedure of the relay determination process (S300) will be described.
  • the relay determination unit 130 selects a destination port corresponding to the destination address 202 from the first relay table 210. Specifically, the relay determination unit 130 operates as follows.
  • step S ⁇ b> 311 the relay determination unit 130 searches the first relay table 210 for the first relay entry 211 including the destination address 202.
  • the first relay entry 211 including the destination address 202 is referred to as a first corresponding entry.
  • step S312 the relay determination unit 130 determines whether there is a first corresponding entry based on the search result. If there is a first corresponding entry, the process proceeds to step S313. If there is no first corresponding entry, the process proceeds to step S340.
  • step S313 the relay determination unit 130 acquires a destination port identifier from the first corresponding entry.
  • the relay determination unit 130 selects a destination port corresponding to a combination of the source address 201 and the same relay message type as the analysis message type from the second relay table 220. Specifically, the relay determination unit 130 operates as follows.
  • step S321 the relay determination unit 130 searches the second relay table 220 for the second relay entry 221 including the transmission source address 201 and the same relay message type as the analysis message type.
  • the second relay entry 221 including the source address 201 and the same relay message type as the analysis message type is referred to as a second corresponding entry.
  • the second corresponding entry is one or more second relay entries 221.
  • step S322 the relay determination unit 130 determines whether there is a second corresponding entry based on the search result. If there is a second corresponding entry, the process proceeds to step S323. If there is no second corresponding entry, the process proceeds to step S330.
  • step S323 the relay determination unit 130 acquires a destination port identifier from each second corresponding entry.
  • step S330 the relay determination unit 130 excludes the same destination port as the reception port from the destination port selected in steps S311 to S313 and the destination port selected in steps S321 to S323. As a result, the remaining destination port is selected as the transmission port.
  • the relay determination unit 130 deletes the reception port identifier from the destination port identifier acquired in step S313 and the destination port identifier acquired in step S323.
  • step S340 the relay determination unit 130 excludes the reception port from all the communication ports 904. As a result, the remaining communication ports 904 excluding the reception ports from all the communication ports 904 are selected as transmission ports.
  • the relay learning process (S200) and the relay determination process (S300) will be specifically described.
  • the relay device 100 is connected to the network 910-1 and the network 910-2.
  • Port 1 is a communication port 904-1
  • port 2 is a communication port 904-2.
  • Terminal B101 is a terminal connected to network 910-1.
  • the address of terminal B101 is address B.
  • Terminal C102 and terminal D103 are terminals connected to network 910-2.
  • the address of terminal C102 is address C
  • the address of terminal D103 is address D.
  • the X request frame is a frame 200 including an X request message.
  • the X request frame propagates through the network 910-2, arrives at the port 2, and is received by the receiving unit 192-2.
  • the frame analysis unit 110 obtains a transmission source address C, a destination address D, an “X request message”, and “port 2”.
  • “X request message” is the type of the X request message, and “port 2” is the identifier of the reception port 2.
  • the relay learning unit 120 uses the source address C and “port 2” to register the first relay entry 211-1 in the first relay table 210 as shown in FIG. 11 (S210 in FIG. 8).
  • the destination address is the source address C
  • the destination port identifier is “port 2”.
  • the relay learning unit 120 selects the message correspondence entry 231-1 including the same first message type as the “X request message” from the message correspondence table 230 in FIG. 5 (S221 and S222 in FIG. 8).
  • the relay learning unit 120 acquires the “X response message” that is the second message type from the selected message corresponding entry 231-1 (S223 in FIG. 8).
  • the relay learning unit 120 registers the second relay entry 221-1 in the second relay table 220 as shown in FIG. 12 using the destination address D, “X response message”, and “port 2” (FIG. 8). S230).
  • the source address is the destination address D
  • the relay message type is “X response message”
  • the destination port is “port 2”.
  • the X response frame is a frame 200 including an X response message.
  • the source address 201 is the address D and the destination address 202 is the address C.
  • the X response frame propagates through the network 910-2, arrives at the port 2, and is received by the receiving unit 192-2.
  • the frame analysis unit 110 obtains a transmission source address D, a destination address C, an “X response message”, and “port 2”. “X response message” is the type of the X response message.
  • the relay learning unit 120 registers the first relay entry 211-2 in the first relay table 210 as shown in FIG. 13 using the transmission source address D and “port 2” (S210 in FIG. 8).
  • the destination address is the transmission source address D
  • the destination port identifier is “Port 2”.
  • the relay learning unit 120 searches the message correspondence table 230 of FIG. 5 for a message correspondence entry 231 including the same first message type as the “X response message” (S221 of FIG. 8). However, since the corresponding message corresponding entry 231 does not exist, the relay learning unit 120 does not register the second relay entry 221 (S222 in FIG. 8).
  • the relay determination process (S300) will be described for the case where the terminal C102 newly transmits an X request frame to the terminal D103.
  • the first relay table 210 is in the state of FIG. 13, and the second relay table 220 is in the state of FIG.
  • the relay determination unit 130 selects the first relay entry 211-2 including the destination address D from the first relay table 210 in FIG. 13 (S311 and S312 in FIG. 9). The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-2 (S313 in FIG. 9).
  • the relay determination unit 130 searches the second relay table 220 in FIG. 12 for the second relay entry 221 corresponding to the combination of the source address C and the “X request message” (S321 in FIG. 9). However, the corresponding second relay entry 221 does not exist (S322 in FIG. 9).
  • the relay determination unit 130 deletes “port 2” that is the identifier of the reception port 2 from “port 2” that is the acquired destination port identifier (S330 in FIG. 9). As a result, since there is no acquired destination port identifier, no transmission port is selected, and the X request frame is not relayed.
  • the relay determination process (S300) will be described for the case where the terminal D103 newly transmits an X response frame to the terminal C102.
  • the first relay table 210 is in the state of FIG. 13, and the second relay table 220 is in the state of FIG.
  • the relay determination unit 130 selects the first relay entry 211-1 including the destination address C from the first relay table 210 in FIG. 13 (S311 and S312 in FIG. 9). The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-1 (S313 in FIG. 9).
  • the relay determination unit 130 selects the second relay entry 221-1 corresponding to the combination of the source address D and the “X response message” from the second relay table 220 in FIG. 12 (S321 and S322 in FIG. 12). .
  • the relay determination unit 130 acquires “port 2” that is a destination port identifier from the selected second relay entry 221-1 (S323 in FIG. 9).
  • the relay determination unit 130 deletes “port 2” that is the identifier of the reception port 2 from “port 2” that is the acquired destination port identifier. As a result, since there is no acquired destination port identifier, no transmission port is selected, and the X response frame is not relayed.
  • the frame 200 communicated between the terminal C102 and the terminal D103 in the network 910-2 is not relayed to the network 910-1. Therefore, it is possible to suppress the bandwidth consumption of the network 910-1.
  • the relay learning process (S200) will be specifically described based on FIG.
  • the configuration of the bus network is the same as in FIG.
  • the first relay table 210 is in the state of FIG. 13, and the second relay table 220 is in the state of FIG.
  • Terminal B101 transmits an X request frame to terminal D103.
  • the X request frame propagates through the network 910-1 and arrives at the port 1 and is received by the receiving unit 192-1.
  • the frame analysis unit 110 obtains a source address B, a destination address D, an “X request message”, and “port 1”.
  • “Port 1” is an identifier of the reception port 1.
  • the relay learning unit 120 registers the first relay entry 211-3 in the first relay table 210 as shown in FIG. 3 using the source address B and “port 1” (S210 in FIG. 8).
  • the destination address is the source address B
  • the destination port is “port 1”.
  • the relay learning unit 120 selects the message correspondence entry 231-1 including the same first message type as the “X request message” from the message correspondence table 230 in FIG. 5 (S221 and S222 in FIG. 8).
  • the relay learning unit 120 acquires the “X response message” that is the second message type from the selected message corresponding entry 231-1 (S223 in FIG. 8).
  • the relay learning unit 120 registers the second relay entry 221-2 in the second relay table 220 as shown in FIG. 4 using the destination address D, “X response message”, and “port 1” (FIG. 8). S230).
  • the source address is the destination address D
  • the relay message type is “X response message”
  • the destination port is “port 1”.
  • the relay device 100 relays the X request frame from the port 2 to the network 910-2 by a normal relay function.
  • the X request frame is received by the terminal D103.
  • the terminal D103 transmits an X response frame to the terminal B101, and the X response frame arrives at the port 2 from the network 910-2.
  • the relay device 100 relays the X response frame to the network 910-1 by a normal relay function.
  • the X response frame is received by the terminal B101.
  • the relay determination process (S300) will be specifically described based on FIG.
  • the configuration of the bus network is the same as in FIG.
  • the first relay table 210 is in the state of FIG. 3, and the second relay table 220 is in the state of FIG.
  • the relay determination unit 130 selects the first relay entry 211-2 including the destination address D from the first relay table 210 in FIG. 3 (S311 and S312 in FIG. 9). The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-2 (S313 in FIG. 9).
  • the relay determination unit 130 searches the second relay table 220 in FIG. 4 for the second relay entry 221 corresponding to the combination of the source address C and the “X request message” (S321 in FIG. 9). However, the corresponding second relay entry 221 does not exist (S322 in FIG. 9).
  • the relay determination unit 130 deletes “port 2” that is the identifier of the reception port 2 from “port 2” that is the acquired destination port identifier. As a result, since there is no acquired destination port identifier, no transmission port is selected, and the X request frame is not relayed.
  • the relay determination unit 130 selects the first relay entry 211-1 including the destination address C from the first relay table 210 in FIG. 3 (S311 and S312 in FIG. 9). The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-1 (S313 in FIG. 9).
  • the relay determination unit 130 selects the second relay entry 221-1 and the second relay entry 221-2 corresponding to the set of the transmission source address D and the “X response message” from the second relay table 220 of FIG. (S321, S322 in FIG. 9).
  • the relay determination unit 130 acquires “port 2” that is the destination port identifier from the selected second relay entry 221-1, and “port that is the destination port identifier from the selected second relay entry 221-2. 1 ”is acquired.
  • the relay determination unit 130 deletes “port 2” that is the identifier of the reception port 2 from “port 1” and “port 2” that are the acquired destination port identifiers. As a result, since “port 1” remains from the acquired destination port identifier, port 1 is selected as the transmission port. Then, the X response frame is relayed to the network 910-1 by the transmission unit 193-1 and received by the terminal B101. The terminal B101 can obtain the X response message from the relayed X response frame by the monitoring function.
  • the terminal B 101 can receive the X response frame and obtain the X response message without transmitting the X request frame itself. Therefore, it is possible to suppress the bandwidth consumption of the network 910-1.
  • the air conditioning system has the following effects.
  • terminal B101 is an air conditioning controller
  • terminal D103 is a temperature sensor
  • terminal C102 is an indoor unit.
  • the air conditioning controller is a computer that periodically acquires temperature information and controls air conditioning.
  • the indoor unit periodically transmits and receives a request frame and a response frame to the temperature sensor in order to acquire temperature information
  • the relay device 100 periodically relays the response frame to the air conditioning controller.
  • the air conditioning controller can acquire temperature information from a response frame that is periodically relayed without periodically transmitting the request frame itself.
  • the relay device 100 does not relay to the air conditioning controller. Therefore, bandwidth consumption of the network 910-1 can be suppressed.
  • the number of network interfaces 903 and communication ports 904 may be three or more.
  • the second relay table 220 corresponding to the extended FDB may have an aging function. That is, when the second relay table 220 is not updated for a certain time, the relay learning unit 120 may delete the second relay entry 221.
  • a part or all of the message correspondence table 230 may be dynamically set from an external server. Further, the relay learning unit 120 may learn the correspondence between messages by monitoring the relay frame, and register the message correspondence entry 231 in the message correspondence table 230.
  • the address registered in the first relay table 210 and the second relay table 220 may be an address used for frame transmission or a logical address of the terminal.
  • the address registered in the first relay table 210 corresponding to the FDB is the MAC address
  • the second relay table 220 corresponding to the extended FDB is stored in the second relay table 220.
  • the registered address may be an IP address.
  • IP is an abbreviation for Internet Protocol
  • MAC is an abbreviation for Media Access Control.
  • FIG. A mode of determining whether or not to relay the frame 200 using the relay message type list will be described mainly based on FIGS. 16 to 19 with respect to differences from the first embodiment.
  • the configuration of relay device 100 is the same as that of FIG. However, the relay message list 240 is stored in the storage unit 191. As shown in FIG. 16, the relay message list 240 is a list including relay message types. The relay message list 240 is generated in advance. A method of using the relay message list 240 will be described later.
  • Step S300 the procedure of relay determination processing (S300) will be described.
  • Steps S311 to S340 are the same as those in FIG. 9 of the first embodiment.
  • Steps S351 and S352 are added processes. Below, step S351 and step S352 are demonstrated.
  • step S351 the relay determination unit 130 searches the relay message list 240 for the same relay message type as the analysis message type.
  • step S352 the relay determination unit 130 determines whether the relay message list 240 includes the same relay message type as the analysis message type based on the search result. If the relay message list 240 includes the same relay message type as the analysis message type, the process proceeds to step S340. If the same relay message type as the analysis message type is not included in the relay message list 240, the process proceeds to step S321.
  • the remaining communication ports 904 excluding the reception ports from all the communication ports 904 are selected as transmission ports.
  • the reception port is excluded from the destination ports selected from the first relay table 210 and the second relay table 220 as in the first embodiment.
  • the remaining destination ports are selected as transmission ports.
  • the relay determination process (S300) will be specifically described based on FIG.
  • the first relay table 210 is in the state shown in FIG.
  • the relay determination unit 130 searches the first relay table 210 of FIG. 11 for the first relay entry 211-2 including the destination address D (S311 of FIG. 17). However, the corresponding first relay entry 211 does not exist (S312 in FIG. 17).
  • the relay determination unit 130 excludes the reception port 2 from all the communication ports 904 (S340 in FIG. 17). As a result, port 1 is selected as the transmission port. Then, the X request frame is relayed to the network 910-1 by the transmission unit 193-1.
  • the relay determination unit 130 selects the first relay entry 211-1 including the destination address C from the first relay table 210 in FIG. 11 (S311 and S312 in FIG. 17). The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-1 (S313 in FIG. 17).
  • the relay determination unit 130 searches for the “X response message” from the relay message list 240 in FIG. 16 (S351 in FIG. 17).
  • the relay message list 240 in FIG. 16 includes “X response message” (S352 in FIG. 17).
  • the relay determination unit 130 excludes the reception port 2 from all the communication ports 904 (S340 in FIG. 17). As a result, port 1 is selected as the transmission port. Then, the X response frame is relayed to the network 910-1 by the transmission unit 193-1 and received by the terminal B101. The terminal B101 can obtain the X response message from the relayed X response frame by the monitoring function.
  • the second relay table 220 may not be used. Specifically, steps S221 to S230 in FIG. 8 and steps S321 to S323 in FIG. 9 may be omitted. As a result, the processing load on the relay device 100 can be reduced.
  • the relay message table 250 may be used.
  • the relay message table 250 has entries corresponding to records.
  • the entry included in the relay message table 250 is referred to as a relay message entry (251-1, 251-2).
  • the relay message entries (251-1, 251-2) are collectively referred to as a relay message entry 251.
  • the relay message entry 251 the relay message identifier and the destination port are associated with each other.
  • a destination port identifier is set in the destination port field.
  • the relay message table 250 is generated in advance.
  • Steps S311 to S340 are the same as those in FIG. 9 of the first embodiment.
  • Steps S361 to S363 are added processes. Hereinafter, steps S361 to S363 will be described.
  • the relay determination unit 130 selects a destination port corresponding to the analysis message type from the relay message table 250. Specifically, the relay determination unit 130 operates as follows.
  • step S361 the relay determination unit 130 searches the relay message table 250 for a relay message entry 251 including the same relay message type as the analysis message type.
  • the relay message entry 251 including the same relay message type as the analysis message type is referred to as a third corresponding entry.
  • step S362 the relay determination unit 130 determines whether there is a third corresponding entry based on the search result. If there is a third corresponding entry, the process proceeds to step S363. If there is no third corresponding entry, the process proceeds to step S321.
  • step S363 the relay determination unit 130 acquires a destination port identifier from the third corresponding entry. After step S363, the process proceeds to step S330.
  • Embodiment 3 With respect to the mode for determining whether or not the frame 200 needs to be relayed based on the transmission band of the communication port 904, differences from the first embodiment will be mainly described with reference to FIGS.
  • the configuration of relay device 100 is the same as that of FIG. Note that the respective transmission bands and reference bands of all the communication ports 904 are stored in the storage unit 191 in advance.
  • the reference band is a reference transmission band.
  • the transmission band of the communication port 904 is the transmission band of the network 910 to which the communication port 904 is connected.
  • the transmission band corresponds to the transmission speed.
  • the procedure of the relay method is the same as that in FIG. 7 of the first embodiment. However, a part of the procedure of the relay learning process (S200) and a part of the procedure of the relay determination process (S300) are different from the first embodiment.
  • Step S210 is a process added to FIG. 8 of the first embodiment. Below, step S220 is demonstrated.
  • step S220 the relay determination unit 130 determines the necessity of registration based on the transmission band of the reception port. Specifically, relay determination unit 130 compares the transmission band of the reception port with the reference band. If the transmission band of the receiving port is equal to or greater than the reference band (registration is not necessary), the process ends. If the transmission bandwidth of the reception port is less than the reference bandwidth (registration is required), the process proceeds to step S221.
  • the second relay entry 221 is not registered.
  • Step S300 the procedure of relay determination processing (S300) will be described. Steps S311 to S330 are the same as those in FIG. 9 of the first embodiment. Step S310 is an added process. Below, step S310 is demonstrated.
  • step S310 the relay determination unit 130 determines the necessity of narrowing down based on the transmission band of the remaining communication ports 904 excluding the reception port. Specifically, the relay determination unit 130 compares the transmission band of the communication port 904 with the reference band for each communication port 904 except for the reception port. Then, the relay determination unit 130 determines whether there is a low bandwidth port except for the reception port.
  • the low-band port is a communication port 904 having a transmission band less than the reference band. If there is a low-band port (needs to be narrowed down), the process proceeds to step S311. If there is no low-band port (no narrowing is required), the process proceeds to step S340.
  • the remaining communication ports 904 excluding the reception port are selected as transmission ports.
  • the relay learning process (S200) and the relay determination process (S300) will be specifically described.
  • the bus type network there are two relay apparatuses (100-1 and 100-2).
  • the relay device 100-1 and the relay device 100-2 are collectively referred to as a relay device 100.
  • the relay device 100-1 is connected to the network 911 and the network 912.
  • port 1 is connected to network 911
  • port 2 is connected to network 912.
  • the transmission band of the network 911 and the port 1 is ⁇ bps (bits per second).
  • the transmission band of the network 912 and the port 2 is ⁇ bps.
  • the relay device 100-2 is connected to the network 912 and the network 913.
  • port 1 is connected to network 912
  • port 2 is connected to network 913.
  • the transmission band of the network 912 and the port 1 is ⁇ bps.
  • the transmission band of the network 913 and the port 2 is ⁇ bps.
  • a terminal A104 is a terminal connected to the network 911.
  • a terminal E105 is a terminal connected to the network 912.
  • a terminal C102 and a terminal D103 are terminals connected to the network 913.
  • the network 911, the network 912, and the network 913 are collectively referred to as a network 910.
  • is sufficiently large with respect to ⁇ . That is, the transmission band ⁇ of the network 912 is sufficiently larger than the transmission band ⁇ of the network 911 and the network 913.
  • the reference band is a value not less than ⁇ and less than ⁇ .
  • the transmission band of a network to which a terminal device is connected may be kept low in order to prioritize layability and cost.
  • a central network to which a controller for centrally controlling the system or a host system is connected has a sufficient transmission band.
  • the relay learning process (S200) in the relay apparatus 100-2 when the terminal E105 transmits an X request frame to the terminal D103 will be described.
  • the X request frame propagates through the network 912 and arrives at the port 1 and is received by the receiving unit 192-1.
  • the transmission bandwidth of port 1 is ⁇ bps.
  • the frame analysis unit 110 obtains the transmission source address E, the destination address D, the “X request message”, the “port 1”, and the transmission band ⁇ .
  • the relay learning unit 120 registers the first relay entry 211 including the source address E as the destination address and “port 1” as the destination port identifier in the first relay table 210 (S210 in FIG. 20).
  • the relay learning unit 120 compares the transmission band ⁇ with the reference band (S220 in FIG. 20). Since the transmission band ⁇ is equal to or greater than the reference band, the second relay entry 221 is not registered (S221 to S230 in FIG. 20).
  • the X request frame propagates through the network 913 and arrives at the port 2 and is received by the receiving unit 192-2.
  • the transmission bandwidth of port 2 is ⁇ bps.
  • the frame analysis unit 110 obtains the source address C, the destination address D, the “X request message”, the “port 2”, and the transmission band ⁇ .
  • the relay learning unit 120 registers the first relay entry 211 including the transmission source address C as the destination address and “port 2” as the destination port identifier in the first relay table 210 (S210 in FIG. 8).
  • the relay learning unit 120 compares the transmission band ⁇ with the reference band (S220 in FIG. 20). Since the transmission band ⁇ is less than the reference band, the second relay entry 221 is registered (S221 to S230 in FIG. 20).
  • the relay determination unit 130 compares the transmission band ⁇ of the port 1 with the reference band except for the reception port 2. Since the transmission band ⁇ is not less than the reference band, the port 1 is not a low-band port (S310 in FIG. 21). The relay determination unit 130 excludes the reception port 2 from all the communication ports 904 (S340 in FIG. 21). As a result, port 1 is selected as the transmission port. Then, the X request frame is relayed to the network 912 by the transmission unit 193-1.
  • the relay determination process (S300) in the relay apparatus 100-2 when the terminal D103 transmits an X response frame to the terminal C102 will be described.
  • the X response frame propagates through the network 913 and arrives at the port 2 and is received by the receiving unit 192-2.
  • the transmission bandwidth of port 2 is ⁇ bps.
  • the frame analysis unit 110 obtains a transmission source address D, a destination address C, an “X response message”, “port 2”, and a transmission band ⁇ .
  • the relay determination unit 130 compares the transmission band ⁇ of the port 1 with the reference band except for the reception port 2. Since the transmission band ⁇ is not less than the reference band, the port 1 is not a low-band port (S310 in FIG. 21). The relay determination unit 130 excludes the reception port 2 from all the communication ports 904 (S340 in FIG. 21). As a result, port 1 is selected as the transmission port. Then, the X response frame is relayed to the network 912 by the transmission unit 193-1 and received by the terminal E105. The terminal E105 can obtain the X response message from the relayed X response frame by the monitoring function.
  • a band difference or a band ratio between the reception port and the transmission port may be compared with the reference band.
  • the band difference is a transmission band difference
  • the band ratio is a transmission band ratio.
  • the function of the relay device 100 may be realized by hardware.
  • FIG. 23 shows a configuration when the function of the relay device 100 is realized by hardware.
  • the relay apparatus 100 includes a processing circuit 990.
  • the processing circuit 990 is also called a processing circuit.
  • the processing circuit 990 is a dedicated electronic circuit that realizes the functions of “units” such as the frame analysis unit 110, the relay learning unit 120, the relay determination unit 130, and the storage unit 191.
  • the processing circuit 990 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, an FPGA, or a combination thereof.
  • GA is an abbreviation for Gate Array
  • ASIC is an abbreviation for Application Specific Integrated Circuit
  • FPGA is an abbreviation for Field Programmable Gate Array.
  • the relay apparatus 100 may include a plurality of processing circuits that replace the processing circuit 990.
  • the plurality of processing circuits share the function of “unit”.
  • the functions of the relay device 100 may be realized by a combination of software and hardware. That is, a part of the function of “unit” may be realized by software, and the rest of the function of “unit” may be realized by hardware.
  • the embodiment is an example of a preferred embodiment and is not intended to limit the technical scope of the present invention.
  • the embodiment may be implemented partially or in combination with other embodiments.
  • the procedure described using the flowchart and the like may be changed as appropriate.
  • 100 relay device 101 terminal B, 102 terminal C, 103 terminal D, 104 terminal A, 105 terminal E, 110 frame analysis unit, 120 relay learning unit, 130 relay determination unit, 191 storage unit, 192 reception unit, 193 transmission unit , 200 frame, 201 source address, 202 destination address, 203 type, 204 message, 210 first relay table, 211 first relay entry, 220 second relay table, 221 second relay entry, 230 message correspondence table, 231 message Corresponding entry, 240 relay message list, 250 relay message table, 251 relay message entry, 901 processor, 902 memory, 903 network interface, 904 communication port, 9 0,911,912,913 network, 990 processing circuit.

Abstract

A storage unit (191) stores a relay table associating transmitter addresses, relay message types, and destination ports with one another. When a frame including a transmitter address and a message has arrived at one of a plurality of communication ports (904), a frame analysis unit (110) acquires, as an analysis message type, the type of the message included in the frame. A relay determination unit (130) selects, from the relay table, one or more destination ports associated with the combination of the transmitter address included in the frame and the relay message type identical to the acquired analysis message type. The relay determination unit then selects, as a transmission port, each of the selected one or more destination ports except for reception ports.

Description

中継装置Relay device
 本発明は、ブリッジのような中継装置に関するものである。 The present invention relates to a relay device such as a bridge.
 空調システムなどで用いられている制御ネットワークでは、システムの規模の拡大およびシステムの機能の増加に伴う通信量の増大に対応するため、ブリッジの導入またはモニタリングの実施によって、帯域の抑制が図られている。 In control networks used in air conditioning systems, etc., in order to respond to the increase in communication volume accompanying the expansion of the system scale and the increase in system functions, bandwidth is suppressed by introducing bridges or implementing monitoring. Yes.
 制御ネットワークが用いられるシステムにおいて、制御ネットワークに接続される機器間で状態を監視するために、要求メッセージおよび応答メッセージの交換が定期的に行われることが多い。そのため、機器が増加すると、状態監視のためのメッセージも増加し、帯域を消費しやすい。 In a system in which a control network is used, exchange of request messages and response messages is often performed periodically in order to monitor the state between devices connected to the control network. Therefore, when the number of devices increases, the number of messages for state monitoring also increases, and it is easy to consume bandwidth.
 ブリッジは、フレームの中継の要否を宛先アドレスによって判定し、不必要な範囲にフレームを中継しない。これにより、使用帯域の削減を図ることが可能となる。このような帯域削減方式をブリッジ方式と呼ぶ。
 特許文献1は、ブリッジの例を開示している。
The bridge determines whether it is necessary to relay the frame based on the destination address, and does not relay the frame to an unnecessary range. This makes it possible to reduce the bandwidth used. Such a band reduction method is called a bridge method.
Patent Document 1 discloses an example of a bridge.
 IETFのRFC1112には、IGMPが規定されている。
 IETFは、Internet Engineering Task Forceの略称である。
 RFCは、Request For Commentsの略称である。
 IGMPは、Internet Group Management Protocolの略称である。
IGMP is defined in RFC1112 of IETF.
IETF is an abbreviation for Internet Engineering Task Force.
RFC is an abbreviation for Request For Comments.
IGMP is an abbreviation for Internet Group Management Protocol.
 IGMPでは、複数のクエリアのうちのあるクエリアがクエリ要求を送信してリスナがレポート応答を送信すると、他のクエリアはレポート応答を受信して自らはクエリ要求を送信しない。
 IGMPでは、クエリおよびレポートがマルチキャストされる。
 また、バス型ネットワークでは、データがユニキャストされても、各端末にデータが到着する。
 そのため、バス型ネットワークにおいて、IGMPと同様に、要求を送信せずに応答を受信することが可能である。つまり、各機器は、他の機器間で交換される要求および応答を受信して必要なデータを取得することが可能である。したがって、各機器が自ら要求を送信しないことで、使用帯域の削減を図ることが可能となる。このような帯域削減方式をモニタリング方式と呼ぶ。
In IGMP, when a querier among a plurality of queriers transmits a query request and a listener transmits a report response, the other querier receives the report response and does not transmit the query request itself.
In IGMP, queries and reports are multicast.
In the bus type network, data arrives at each terminal even if the data is unicast.
Therefore, in the bus network, it is possible to receive a response without transmitting a request, as in IGMP. That is, each device can receive a request and a response exchanged between other devices and acquire necessary data. Therefore, it is possible to reduce the use band by not transmitting the request by each device. Such a band reduction method is called a monitoring method.
 モニタリング方式は、バス型ネットワークにおいて、各機器が他の機器間で行われている通信をモニタリングして自装置で収集したいデータを取得することで、機器間の通信を削減することを狙いとしている。
 しかし、ブリッジが導入されると、他の機器間で行われる通信がモニタリングを行う各機器まで届かない。そのため、各機器は、必要なデータを取得するために自ら要求を送信しなければならない。その結果、帯域消費削減効果を得ることが難しくなる。
The monitoring method aims to reduce communication between devices in a bus network by monitoring the communication that each device performs between other devices and acquiring the data that the device wants to collect. .
However, when a bridge is introduced, communication between other devices does not reach each device that performs monitoring. Therefore, each device has to transmit a request itself in order to obtain necessary data. As a result, it becomes difficult to obtain a band consumption reduction effect.
 そこで、ブリッジを導入しても帯域消費削減効果を得るために、フィルタリングを行わない「フラッディング」モードでブリッジを動作させることによって、ブリッジに全ての通信を中継させることも可能である。
 しかし、ブリッジを「フラッディング」モードで動作させた場合、フィルタリングによる帯域消費削減効果が得られなくなる。
Therefore, in order to obtain a band consumption reduction effect even if a bridge is introduced, it is also possible to relay all communications to the bridge by operating the bridge in a “flooding” mode in which filtering is not performed.
However, when the bridge is operated in the “flooding” mode, the band consumption reduction effect by filtering cannot be obtained.
特許3995469号公報Japanese Patent No. 399469
 本発明は、ブリッジ方式とモニタリング方式との両方を利用して使用帯域を抑制できるようにすることを目的とする。 An object of the present invention is to be able to suppress the use band by using both the bridge method and the monitoring method.
 本発明の中継装置は、
 複数の通信ポートと、
 送信元アドレスと中継メッセージ種別と宛先ポートとが互いに対応付けられた中継テーブルを記憶する記憶部と、
 送信元アドレスとメッセージとを含んだフレームが前記複数の通信ポートのいずれかに到着した場合に前記フレームに含まれるメッセージの種別を解析メッセージ種別として得るフレーム解析部と、
 前記中継テーブルから前記フレームに含まれる送信元アドレスと前記解析メッセージ種別と同じ中継メッセージ種別との組に対応する宛先ポートを選択し、選択された宛先ポートから前記フレームが到着した通信ポートと同じ宛先ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択する中継判定部とを備える。
The relay device of the present invention
Multiple communication ports,
A storage unit that stores a relay table in which a source address, a relay message type, and a destination port are associated with each other;
A frame analysis unit that obtains a message type included in the frame as an analysis message type when a frame including a source address and a message arrives at any of the plurality of communication ports;
Select a destination port corresponding to a combination of a source address included in the frame and the same relay message type as the analysis message type from the relay table, and the same destination as the communication port from which the frame arrived from the selected destination port A relay determination unit that selects a remaining destination port excluding the port as a communication port that outputs the frame.
 本発明によれば、ブリッジ方式とモニタリング方式との両方を利用して使用帯域を抑制することが可能となる。 According to the present invention, it is possible to suppress the use band by using both the bridge method and the monitoring method.
実施の形態1における中継装置100の構成図。1 is a configuration diagram of a relay device 100 according to Embodiment 1. FIG. 実施の形態1における記憶部191の構成図。FIG. 3 is a configuration diagram of a storage unit 191 in the first embodiment. 実施の形態1における第1中継テーブル210の構成図。FIG. 3 is a configuration diagram of a first relay table 210 in the first embodiment. 実施の形態1における第2中継テーブル220の構成図。FIG. 3 is a configuration diagram of a second relay table 220 in the first embodiment. 実施の形態1におけるメッセージ対応テーブル230の構成図。FIG. 3 is a configuration diagram of a message correspondence table 230 in the first embodiment. 実施の形態1におけるフレーム200の構成図。FIG. 3 is a configuration diagram of a frame 200 in the first embodiment. 実施の形態1における中継方法のフローチャート。3 is a flowchart of a relay method according to the first embodiment. 実施の形態1における中継学習処理(S200)のフローチャート。5 is a flowchart of relay learning processing (S200) in the first embodiment. 実施の形態1における中継判定処理(S300)のフローチャート。5 is a flowchart of relay determination processing (S300) in the first embodiment. 実施の形態1におけるバス型ネットワークを示す図。FIG. 2 shows a bus network in Embodiment 1. 実施の形態1における第1中継テーブル210を示す図。FIG. 4 shows a first relay table 210 in the first embodiment. 実施の形態1における第2中継テーブル220を示す図。FIG. 6 shows a second relay table 220 in the first embodiment. 実施の形態1における第1中継テーブル210を示す図。FIG. 4 shows a first relay table 210 in the first embodiment. 実施の形態1におけるバス型ネットワークを示す図。FIG. 2 shows a bus network in Embodiment 1. 実施の形態1におけるバス型ネットワークを示す図。FIG. 2 shows a bus network in Embodiment 1. 実施の形態2における中継メッセージリスト240を示す図。The figure which shows the relay message list 240 in Embodiment 2. FIG. 実施の形態2における中継判定処理(S300)のフローチャート。The flowchart of the relay determination process (S300) in Embodiment 2. 実施の形態2における中継メッセージテーブル250を示す図。The figure which shows the relay message table 250 in Embodiment 2. FIG. 実施の形態2における中継判定処理(S300)のフローチャート。The flowchart of the relay determination process (S300) in Embodiment 2. 実施の形態3における中継学習処理(S200)のフローチャート。10 is a flowchart of relay learning processing (S200) in the third embodiment. 実施の形態3における中継判定処理(S300)のフローチャート。10 is a flowchart of relay determination processing (S300) in the third embodiment. 実施の形態3におけるバス型ネットワークを示す図。FIG. 6 shows a bus network in Embodiment 3. 実施の形態における中継装置100のハードウェア構成図。The hardware block diagram of the relay apparatus 100 in embodiment.
 実施の形態および図面において、同じ要素または互いに相当する要素には同じ符号を付している。同じ符号が付された要素の説明は適宜に省略または簡略する。 In the embodiment and the drawings, the same reference numerals are given to the same elements or elements corresponding to each other. Description of elements having the same reference numerals will be omitted or simplified as appropriate.
 実施の形態1.
 中継装置100について、図1から図15に基づいて説明する。
 具体的には、中継装置100は、ブリッジと呼ばれるネットワーク機器である。
Embodiment 1 FIG.
The relay device 100 will be described with reference to FIGS.
Specifically, the relay device 100 is a network device called a bridge.
***構成の説明***
 図1に基づいて、中継装置100の構成を説明する。
 中継装置100は、プロセッサ901とメモリ902と複数のネットワークインタフェース(903-1、903-2)といったハードウェアを備えるコンピュータである。これらのハードウェアは、信号線を介して互いに接続されている。
 ネットワークインタフェース903-1とネットワークインタフェース903-2とを総称してネットワークインタフェース903という。
*** Explanation of configuration ***
Based on FIG. 1, the structure of the relay apparatus 100 is demonstrated.
The relay apparatus 100 is a computer including hardware such as a processor 901, a memory 902, and a plurality of network interfaces (903-1, 903-2). These hardwares are connected to each other via signal lines.
The network interface 903-1 and the network interface 903-2 are collectively referred to as a network interface 903.
 プロセッサ901は、プロセッシングを行うIC(Integrated Circuit)であり、他のハードウェアを制御する。具体的には、プロセッサ901は、CPU、DSPまたはGPUである。CPUはCentral Processing Unitの略称であり、DSPはDigital Signal Processorの略称であり、GPUはGraphics Processing Unitの略称である。
 メモリ902は揮発性の記憶装置である。メモリ902は、主記憶装置またはメインメモリとも呼ばれる。具体的には、メモリ902はRAM(Random Access Memory)である。
The processor 901 is an IC (Integrated Circuit) that performs processing, and controls other hardware. Specifically, the processor 901 is a CPU, DSP, or GPU. CPU is an abbreviation for Central Processing Unit, DSP is an abbreviation for Digital Signal Processor, and GPU is an abbreviation for Graphics Processing Unit.
The memory 902 is a volatile storage device. The memory 902 is also called main memory or main memory. Specifically, the memory 902 is a RAM (Random Access Memory).
 ネットワークインタフェース903は、通信を行う装置である。具体的には、ネットワークインタフェース903は、NIC(Network Interface Card)である。
 ネットワークインタフェース903-1が有するポートを通信ポート904-1といい、ネットワークインタフェース903-2が有するポートを通信ポート904-2という。
 通信ポート904-1はネットワーク910-1に接続される。通信ポート904-2はネットワーク910-1とは別のネットワーク910-2に接続される。
 通信ポート904-1と通信ポート904-2とを総称して通信ポート904という。ネットワーク910-1とネットワーク910-2とを総称してネットワーク910という。
The network interface 903 is a device that performs communication. Specifically, the network interface 903 is a NIC (Network Interface Card).
A port included in the network interface 903-1 is referred to as a communication port 904-1, and a port included in the network interface 903-2 is referred to as a communication port 904-2.
Communication port 904-1 is connected to network 910-1. Communication port 904-2 is connected to a network 910-2 different from network 910-1.
Communication port 904-1 and communication port 904-2 are collectively referred to as communication port 904. The network 910-1 and the network 910-2 are collectively referred to as a network 910.
 中継装置100は、フレーム解析部110と中継学習部120と中継判定部130といった「部」を機能構成の要素として備える。「部」の機能はソフトウェアで実現される。「部」の機能については後述する。 The relay apparatus 100 includes “units” such as a frame analysis unit 110, a relay learning unit 120, and a relay determination unit 130 as functional configuration elements. The function of “part” is realized by software. The function of “part” will be described later.
 OS(Operating System)および「部」の機能を実現するプログラムは、メモリ902にロードされて、プロセッサ901によって実行される。
 プロセッサ901は、OSを実行しながら、「部」の機能を実現するプログラムを実行する。
 「部」の機能を実現するプログラムを実行して得られるデータは、メモリ902、プロセッサ901内のレジスタまたはプロセッサ901内のキャッシュメモリといった記憶装置に記憶される。
An OS (Operating System) and a program that realizes the function of “unit” are loaded into the memory 902 and executed by the processor 901.
The processor 901 executes a program that realizes the function of “unit” while executing the OS.
Data obtained by executing a program that realizes the function of “unit” is stored in a storage device such as the memory 902, a register in the processor 901, or a cache memory in the processor 901.
 メモリ902は、中継装置100で使用、生成、入力、出力、送信または受信されるデータが記憶される記憶部191として機能する。但し、他の記憶装置が記憶部191として機能してもよい。
 ネットワークインタフェース903は、データを受信する受信部(192-1、192-2)、および、データを送信する送信部(193-1、193-2)として機能する。
 受信部192-1と受信部192-2とを総称して受信部192といい、送信部193-1と送信部193-2とを総称して送信部193という。
The memory 902 functions as a storage unit 191 that stores data used, generated, input, output, transmitted, or received by the relay device 100. However, other storage devices may function as the storage unit 191.
The network interface 903 functions as a receiving unit (192-1, 192-2) that receives data and a transmitting unit (193-1, 193-2) that transmits data.
The receiving unit 192-1 and the receiving unit 192-2 are collectively referred to as a receiving unit 192, and the transmitting unit 193-1 and the transmitting unit 193-2 are collectively referred to as a transmitting unit 193.
 中継装置100は、プロセッサ901を代替する複数のプロセッサを備えてもよい。複数のプロセッサは、「部」の機能を実現するプログラムの実行を分担する。
 「部」の機能を実現するプログラムは、磁気ディスク、光ディスクまたはフラッシュメモリ等の不揮発性の記憶媒体にコンピュータ読み取り可能に記憶することができる。不揮発性の記憶媒体は、一時的でない有形の媒体である。
 「部」は「処理」または「工程」に読み替えてもよい。「部」の機能はファームウェアで実現してもよい。
The relay apparatus 100 may include a plurality of processors that replace the processor 901. The plurality of processors share execution of a program that realizes the function of “unit”.
A program that realizes the function of “unit” can be stored in a computer-readable manner in a nonvolatile storage medium such as a magnetic disk, an optical disk, or a flash memory. A non-volatile storage medium is a tangible medium that is not temporary.
“Part” may be read as “processing” or “process”. The function of “unit” may be realized by firmware.
 図2に基づいて、記憶部191の構成を説明する。
 記憶部191には、第1中継テーブル210、第2中継テーブル220およびメッセージ対応テーブル230などが記憶される。これらについては以降で説明する。
Based on FIG. 2, the structure of the memory | storage part 191 is demonstrated.
The storage unit 191 stores a first relay table 210, a second relay table 220, a message correspondence table 230, and the like. These will be described later.
 図3に基づいて、第1中継テーブル210の構成を説明する。
 第1中継テーブル210は、レコードに相当するエントリを有する。
 第1中継テーブル210が有するエントリを第1中継エントリ(211-1、211-2、211-3)という。第1中継エントリ(211-1、211-2、211-3)を総称して第1中継エントリ211という。
Based on FIG. 3, the structure of the 1st relay table 210 is demonstrated.
The first relay table 210 has an entry corresponding to a record.
The entries included in the first relay table 210 are referred to as first relay entries (211-1, 211-2, 211-3). The first relay entries (211-1, 211-2, 211-3) are collectively referred to as the first relay entry 211.
 第1中継エントリ211では、宛先アドレスと宛先ポートとが互いに対応付けられる。
 宛先アドレスは、フレームの宛先となる端末のアドレスである。
 宛先ポートは、宛先となる端末が接続するネットワーク910に接続する通信ポート904である。宛先ポートの欄には、宛先ポート識別子が設定される。宛先ポート識別子は、宛先ポートを識別する識別子である。
 第1中継エントリ211は、中継学習部120によって随時に登録される。
In the first relay entry 211, the destination address and the destination port are associated with each other.
The destination address is the address of the terminal that is the destination of the frame.
The destination port is a communication port 904 connected to the network 910 to which the destination terminal is connected. A destination port identifier is set in the destination port field. The destination port identifier is an identifier for identifying the destination port.
The first relay entry 211 is registered at any time by the relay learning unit 120.
 第1中継テーブル210は、FDB(フィルタリングデータベース)に相当する。 The first relay table 210 corresponds to an FDB (filtering database).
 図4に基づいて、第2中継テーブル220の構成を説明する。
 第2中継テーブル220は、レコードに相当するエントリを有する。
 第2中継テーブル220が有するエントリを第2中継エントリ(221-1、221-2)という。第2中継エントリ(221-1、221-2)を総称して第2中継エントリ221という。
The configuration of the second relay table 220 will be described based on FIG.
The second relay table 220 has an entry corresponding to a record.
Entries included in the second relay table 220 are referred to as second relay entries (221-1, 212-2). The second relay entries (221-1, 212-2) are collectively referred to as second relay entries 221.
 第2中継エントリ221では、送信元アドレスと中継メッセージ種別と宛先ポートとが互いに対応付けられる。
 送信元アドレスは、フレームの送信元となる端末のアドレスである。
 中継メッセージ種別は、フレームに含まれるメッセージの種別である。具体的には、中継メッセージ種別は、応答メッセージである。応答メッセージは、要求メッセージに応答するメッセージである。要求メッセージは、応答メッセージを要求するメッセージである。
 宛先ポートは、フレームの宛先となる端末が接続するネットワーク910に接続する通信ポート904である。宛先ポートの欄には、宛先ポート識別子が設定される。
 第2中継エントリ221は、中継学習部120によって随時に登録される。
In the second relay entry 221, the transmission source address, the relay message type, and the destination port are associated with each other.
The transmission source address is an address of a terminal that is a transmission source of the frame.
The relay message type is a type of message included in the frame. Specifically, the relay message type is a response message. The response message is a message in response to the request message. The request message is a message requesting a response message.
The destination port is a communication port 904 that is connected to the network 910 to which the terminal that is the destination of the frame is connected. A destination port identifier is set in the destination port field.
The second relay entry 221 is registered at any time by the relay learning unit 120.
 第2中継テーブル220は、拡張FDBに相当する。 The second relay table 220 corresponds to an extended FDB.
 図5に基づいて、メッセージ対応テーブル230の構成を説明する。
 メッセージ対応テーブル230は、レコードに相当するエントリを有する。
 メッセージ対応テーブル230が有するエントリをメッセージ対応エントリ(231-1~231-3)という。メッセージ対応エントリ(231-1~231-3)を総称してメッセージ対応エントリ231という。
Based on FIG. 5, the structure of the message corresponding | compatible table 230 is demonstrated.
The message correspondence table 230 has entries corresponding to records.
Entries included in the message correspondence table 230 are referred to as message correspondence entries (231-1 to 231-3). The message correspondence entries (231-1 to 231-3) are collectively referred to as a message correspondence entry 231.
 メッセージ対応エントリ231では、第1メッセージ種別と第2メッセージ種別とが互いに対応付けられる。
 第1メッセージ種別は、フレームに含まれるメッセージの種別である。具体的には、第1メッセージ種別は、要求メッセージである。
 第2メッセージ種別は、フレームに含まれるメッセージの種別である。具体的には、第2メッセージ種別は、応答メッセージである。
In the message correspondence entry 231, the first message type and the second message type are associated with each other.
The first message type is a type of message included in the frame. Specifically, the first message type is a request message.
The second message type is a type of message included in the frame. Specifically, the second message type is a response message.
 メッセージ対応テーブル230は、あらかじめ生成される。 The message correspondence table 230 is generated in advance.
 図6に基づいて、フレーム200の構成を説明する。
 フレーム200は、送信元アドレス201、宛先アドレス202、種別203およびメッセージ204などを含む。
 送信元アドレス201は、フレーム200の送信元となる端末のアドレスである。
 宛先アドレス202は、フレーム200の宛先となる端末のアドレスである。
 種別203は、メッセージ204の種別である。
 メッセージ204は、ペイロードである。具体的には、メッセージ204は、要求メッセージまたは応答メッセージである。
The configuration of the frame 200 will be described with reference to FIG.
The frame 200 includes a transmission source address 201, a destination address 202, a type 203, a message 204, and the like.
The transmission source address 201 is an address of a terminal that is a transmission source of the frame 200.
The destination address 202 is an address of a terminal that is the destination of the frame 200.
A type 203 is a type of the message 204.
Message 204 is a payload. Specifically, the message 204 is a request message or a response message.
***動作の説明***
 中継装置100の動作は中継方法に相当する。また、中継方法の手順は中継プログラムの手順に相当する。
*** Explanation of operation ***
The operation of the relay device 100 corresponds to a relay method. The procedure of the relay method corresponds to the procedure of the relay program.
 図7に基づいて、中継方法を説明する。
 ステップS110は受信処理である。
 ステップS110において、複数の通信ポート904のいずれかにフレーム200が到着した場合、フレーム200が到着した通信ポート904に対応する受信部192は、到着したフレーム200を受信する。
 フレーム200が到着した通信ポート904を受信ポートという。
The relay method will be described based on FIG.
Step S110 is a reception process.
In step S110, when the frame 200 arrives at any of the plurality of communication ports 904, the receiving unit 192 corresponding to the communication port 904 from which the frame 200 has arrived receives the arrived frame 200.
The communication port 904 from which the frame 200 has arrived is called a reception port.
 ステップS120はフレーム解析処理である。
 ステップS120において、フレーム解析部110は、受信されたフレーム200を解析して、送信元アドレス201と宛先アドレス202と解析メッセージ種別とを得る。
 解析メッセージ種別は、受信されたフレーム200に含まれるメッセージ204の種別である。
Step S120 is a frame analysis process.
In step S120, the frame analysis unit 110 analyzes the received frame 200 to obtain a transmission source address 201, a destination address 202, and an analysis message type.
The analysis message type is a type of the message 204 included in the received frame 200.
 具体的には、フレーム解析部110は、以下のように動作する。
 フレーム解析部110は、受信されたフレーム200から送信元アドレス201を抽出する。
 フレーム解析部110は、受信されたフレーム200から宛先アドレス202を抽出する。
 フレーム解析部110は、受信されたフレーム200から種別203を抽出する。抽出される種別203が解析メッセージ種別となる。
 なお、種別203がフレーム200に含まれない場合、フレーム解析部110は、メッセージ204に対して解析アルゴリズムを実行することによって、解析メッセージ種別を得る。実行される解析アルゴリズムは、解析メッセージ種別を得るために予め決められたアルゴリズムである。
Specifically, the frame analysis unit 110 operates as follows.
The frame analysis unit 110 extracts the transmission source address 201 from the received frame 200.
The frame analysis unit 110 extracts the destination address 202 from the received frame 200.
The frame analysis unit 110 extracts the type 203 from the received frame 200. The extracted type 203 is the analysis message type.
If the type 203 is not included in the frame 200, the frame analysis unit 110 obtains an analysis message type by executing an analysis algorithm on the message 204. The analysis algorithm to be executed is a predetermined algorithm for obtaining the analysis message type.
 さらに、フレーム解析部110は、受信ポートに対応する受信部192から受信ポートポート識別子を得る。受信ポート識別子は、受信ポートを識別する識別子である。 Further, the frame analysis unit 110 obtains a reception port port identifier from the reception unit 192 corresponding to the reception port. The reception port identifier is an identifier for identifying a reception port.
 ステップS200は中継学習処理である。
 ステップS200において、中継学習部120は、ステップS120で得られた情報に基づいて、第1中継エントリ211を第1中継テーブル210に登録する。
 さらに、中継学習部120は、ステップS120で得られた情報に基づいて、第2中継エントリ221を第2中継テーブル220に登録する。
 中継学習処理(S200)の詳細については後述する。
Step S200 is a relay learning process.
In step S200, the relay learning unit 120 registers the first relay entry 211 in the first relay table 210 based on the information obtained in step S120.
Further, the relay learning unit 120 registers the second relay entry 221 in the second relay table 220 based on the information obtained in step S120.
Details of the relay learning process (S200) will be described later.
 ステップS300は中継判定処理である。
 ステップS300において、中継判定部130は、ステップS120で得られた情報と第1中継テーブル210と第2中継テーブル220とに基づいて、送信ポートを選択する。
 送信ポートは、受信されたフレーム200を出力する通信ポート904である。
 中継判定処理(S300)の詳細については後述する。
Step S300 is a relay determination process.
In step S300, the relay determination unit 130 selects a transmission port based on the information obtained in step S120 and the first relay table 210 and the second relay table 220.
The transmission port is a communication port 904 that outputs the received frame 200.
Details of the relay determination process (S300) will be described later.
 ステップS130は送信処理である。
 ステップS130において、それぞれの送信ポートに対応する送信部193は、受信されたフレーム200を、送信ポートから送信する。
 これにより、受信されたフレーム200は、受信ポートが接続するネットワーク910から、送信ポートが接続するネットワーク910に中継される。
 但し、ステップS300において送信ポートが1つも選択されなかった場合には、ステップS130は実行されない。
Step S130 is a transmission process.
In step S130, the transmission unit 193 corresponding to each transmission port transmits the received frame 200 from the transmission port.
As a result, the received frame 200 is relayed from the network 910 connected to the reception port to the network 910 connected to the transmission port.
However, if no transmission port is selected in step S300, step S130 is not executed.
 図8に基づいて、中継学習処理(S200)の手順を説明する。
 ステップS210において、中継学習部120は、送信元アドレス201と同じ宛先アドレスと受信ポートと同じ宛先ポートとを互いに対応付けて第1中継エントリ211を生成する。
 そして、中継学習部120は、生成された第1中継エントリ211を第1中継テーブル210に登録する。
Based on FIG. 8, the procedure of the relay learning process (S200) will be described.
In step S210, the relay learning unit 120 generates the first relay entry 211 by associating the same destination address as the transmission source address 201 with the same destination port as the reception port.
Then, the relay learning unit 120 registers the generated first relay entry 211 in the first relay table 210.
 ステップS221およびステップS222において、中継学習部120は、解析メッセージ種別と同じ第1メッセージ種別がメッセージ対応テーブル230に含まれるか判定する。具体的には、中継学習部120は以下のように動作する。 In steps S221 and S222, the relay learning unit 120 determines whether the message correspondence table 230 includes the first message type that is the same as the analysis message type. Specifically, the relay learning unit 120 operates as follows.
 ステップS221において、中継学習部120は、解析メッセージ種別と同じ第1メッセージ種別を含んだメッセージ対応エントリ231をメッセージ対応テーブル230から検索する。
 図8において、解析メッセージ種別と同じ第1メッセージ種別を含んだメッセージ対応エントリ231を該当エントリという。
In step S221, the relay learning unit 120 searches the message correspondence table 230 for a message correspondence entry 231 including the same first message type as the analysis message type.
In FIG. 8, the message corresponding entry 231 including the same first message type as the analysis message type is referred to as a corresponding entry.
 ステップS222において、中継学習部120は、検索結果に基づいて、該当エントリがあるか判定する。
 該当エントリがある場合、処理はステップS223に進む。
 該当エントリがない場合、第2中継エントリ221は登録されず、処理は終了する。
In step S222, the relay learning unit 120 determines whether there is a corresponding entry based on the search result.
If there is a corresponding entry, the process proceeds to step S223.
If there is no corresponding entry, the second relay entry 221 is not registered and the process ends.
 ステップS223において、中継学習部120は、解析メッセージ種別と同じ第1メッセージ種別に対応する第2メッセージ種別をメッセージ対応テーブル230から取得する。
 具体的には、中継学習部120は、該当エントリから第2メッセージ種別を取得する。
In step S223, the relay learning unit 120 acquires a second message type corresponding to the same first message type as the analysis message type from the message correspondence table 230.
Specifically, the relay learning unit 120 acquires the second message type from the corresponding entry.
 ステップS230において、中継学習部120は、宛先アドレス202と同じ送信元アドレスと、ステップS223で取得された第2メッセージ種別と同じ中継メッセージ種別と、受信ポートと同じ宛先ポートとを互いに対応付けて、第2中継エントリ221を生成する。
 そして、中継学習部120は、生成された第2中継エントリ221を第2中継テーブル220に登録する。
In step S230, the relay learning unit 120 associates the same source address as the destination address 202, the same relay message type as the second message type acquired in step S223, and the same destination port as the reception port, A second relay entry 221 is generated.
Then, the relay learning unit 120 registers the generated second relay entry 221 in the second relay table 220.
 図9に基づいて、中継判定処理(S300)の手順を説明する。
 ステップS311からステップS313において、中継判定部130は、第1中継テーブル210から宛先アドレス202に対応する宛先ポートを選択する。具体的には、中継判定部130は以下のように動作する。
Based on FIG. 9, the procedure of the relay determination process (S300) will be described.
In steps S <b> 311 to S <b> 313, the relay determination unit 130 selects a destination port corresponding to the destination address 202 from the first relay table 210. Specifically, the relay determination unit 130 operates as follows.
 ステップS311において、中継判定部130は、宛先アドレス202を含んだ第1中継エントリ211を第1中継テーブル210から検索する。
 図9において、宛先アドレス202を含んだ第1中継エントリ211を第1該当エントリという。
In step S <b> 311, the relay determination unit 130 searches the first relay table 210 for the first relay entry 211 including the destination address 202.
In FIG. 9, the first relay entry 211 including the destination address 202 is referred to as a first corresponding entry.
 ステップS312において、中継判定部130は、検索結果に基づいて、第1該当エントリがあるか判定する。
 第1該当エントリがある場合、処理はステップS313に進む。
 第1該当エントリがない場合、処理はステップS340に進む。
In step S312, the relay determination unit 130 determines whether there is a first corresponding entry based on the search result.
If there is a first corresponding entry, the process proceeds to step S313.
If there is no first corresponding entry, the process proceeds to step S340.
 ステップS313において、中継判定部130は、第1該当エントリから宛先ポート識別子を取得する。 In step S313, the relay determination unit 130 acquires a destination port identifier from the first corresponding entry.
 ステップS321からステップS323において、中継判定部130は、第2中継テーブル220から、送信元アドレス201と解析メッセージ種別と同じ中継メッセージ種別との組に対応する宛先ポートを選択する。具体的には、中継判定部130は、以下のように動作する。 From step S321 to step S323, the relay determination unit 130 selects a destination port corresponding to a combination of the source address 201 and the same relay message type as the analysis message type from the second relay table 220. Specifically, the relay determination unit 130 operates as follows.
 ステップS321において、中継判定部130は、送信元アドレス201と解析メッセージ種別と同じ中継メッセージ種別とを含んだ第2中継エントリ221を第2中継テーブル220から検索する。
 図9において、送信元アドレス201と解析メッセージ種別と同じ中継メッセージ種別とを含んだ第2中継エントリ221を第2該当エントリという。第2該当エントリは、1つ以上の第2中継エントリ221である。
In step S321, the relay determination unit 130 searches the second relay table 220 for the second relay entry 221 including the transmission source address 201 and the same relay message type as the analysis message type.
In FIG. 9, the second relay entry 221 including the source address 201 and the same relay message type as the analysis message type is referred to as a second corresponding entry. The second corresponding entry is one or more second relay entries 221.
 ステップS322において、中継判定部130は、検索結果に基づいて、第2該当エントリがあるか判定する。
 第2該当エントリがある場合、処理はステップS323に進む。
 第2該当エントリがない場合、処理はステップS330に進む。
In step S322, the relay determination unit 130 determines whether there is a second corresponding entry based on the search result.
If there is a second corresponding entry, the process proceeds to step S323.
If there is no second corresponding entry, the process proceeds to step S330.
 ステップS323において、中継判定部130は、それぞれの第2該当エントリから宛先ポート識別子を取得する。 In step S323, the relay determination unit 130 acquires a destination port identifier from each second corresponding entry.
 ステップS330において、中継判定部130は、ステップS311からステップS313で選択された宛先ポートと、ステップS321からステップS323で選択された宛先ポートとから、受信ポートと同じ宛先ポートを除外する。
 これにより、残りの宛先ポートが送信ポートとして選択される。
In step S330, the relay determination unit 130 excludes the same destination port as the reception port from the destination port selected in steps S311 to S313 and the destination port selected in steps S321 to S323.
As a result, the remaining destination port is selected as the transmission port.
 具体的には、中継判定部130は、ステップS313で取得された宛先ポート識別子とステップS323で取得された宛先ポート識別子とから、受信ポート識別子を削除する。 Specifically, the relay determination unit 130 deletes the reception port identifier from the destination port identifier acquired in step S313 and the destination port identifier acquired in step S323.
 ステップS340において、中継判定部130は、全ての通信ポート904の中から受信ポートを除外する。
 これにより、全ての通信ポート904から受信ポートを除いた残りの通信ポート904が送信ポートとして選択される。
In step S340, the relay determination unit 130 excludes the reception port from all the communication ports 904.
As a result, the remaining communication ports 904 excluding the reception ports from all the communication ports 904 are selected as transmission ports.
 図10に基づいて、中継学習処理(S200)および中継判定処理(S300)を具体的に説明する。
 バス型ネットワークにおいて、中継装置100は、ネットワーク910-1とネットワーク910-2とに接続されている。
 ポート1は通信ポート904-1であり、ポート2は通信ポート904-2である。
 端末B101は、ネットワーク910-1に接続する端末である。端末B101のアドレスは、アドレスBである。
 端末C102および端末D103は、ネットワーク910-2に接続する端末である。端末C102のアドレスはアドレスCであり、端末D103のアドレスはアドレスDである。
Based on FIG. 10, the relay learning process (S200) and the relay determination process (S300) will be specifically described.
In the bus network, the relay device 100 is connected to the network 910-1 and the network 910-2.
Port 1 is a communication port 904-1, and port 2 is a communication port 904-2.
Terminal B101 is a terminal connected to network 910-1. The address of terminal B101 is address B.
Terminal C102 and terminal D103 are terminals connected to network 910-2. The address of terminal C102 is address C, and the address of terminal D103 is address D.
 まず、端末C102が端末D103にX要求フレームを送信した場合について、中継学習処理(S200)を説明する。
 X要求フレームは、X要求メッセージを含んだフレーム200である。
 X要求フレームは、ネットワーク910-2を伝搬してポート2に到着し、受信部192-2によって受信される。
 X要求フレームが受信されると、フレーム解析部110によって、送信元アドレスCと宛先アドレスDと「X要求メッセージ」と「ポート2」とが得られる。「X要求メッセージ」はX要求メッセージの種別であり、「ポート2」は受信ポート2の識別子である。
First, the relay learning process (S200) will be described for the case where the terminal C102 transmits an X request frame to the terminal D103.
The X request frame is a frame 200 including an X request message.
The X request frame propagates through the network 910-2, arrives at the port 2, and is received by the receiving unit 192-2.
When the X request frame is received, the frame analysis unit 110 obtains a transmission source address C, a destination address D, an “X request message”, and “port 2”. “X request message” is the type of the X request message, and “port 2” is the identifier of the reception port 2.
 中継学習部120は、送信元アドレスCと「ポート2」とを用いて、図11に示すように第1中継エントリ211-1を第1中継テーブル210に登録する(図8のS210)。
 第1中継エントリ211-1において、宛先アドレスは送信元アドレスCであり、宛先ポート識別子は「ポート2」である。
The relay learning unit 120 uses the source address C and “port 2” to register the first relay entry 211-1 in the first relay table 210 as shown in FIG. 11 (S210 in FIG. 8).
In the first relay entry 211-1, the destination address is the source address C, and the destination port identifier is “port 2”.
 中継学習部120は、図5のメッセージ対応テーブル230から、「X要求メッセージ」と同じ第1メッセージ種別を含んだメッセージ対応エントリ231-1を選択する(図8のS221、S222)。
 中継学習部120は、選択されたメッセージ対応エントリ231-1から、第2メッセージ種別である「X応答メッセージ」を取得する(図8のS223)。
 中継学習部120は、宛先アドレスDと「X応答メッセージ」と「ポート2」とを用いて、図12に示すように第2中継エントリ221-1を第2中継テーブル220に登録する(図8のS230)。
 第2中継エントリ221-1において、送信元アドレスは宛先アドレスDであり、中継メッセージ種別は「X応答メッセージ」であり、宛先ポートは「ポート2」である。
The relay learning unit 120 selects the message correspondence entry 231-1 including the same first message type as the “X request message” from the message correspondence table 230 in FIG. 5 (S221 and S222 in FIG. 8).
The relay learning unit 120 acquires the “X response message” that is the second message type from the selected message corresponding entry 231-1 (S223 in FIG. 8).
The relay learning unit 120 registers the second relay entry 221-1 in the second relay table 220 as shown in FIG. 12 using the destination address D, “X response message”, and “port 2” (FIG. 8). S230).
In the second relay entry 221-1, the source address is the destination address D, the relay message type is “X response message”, and the destination port is “port 2”.
 次に、端末D103が端末C102にX応答フレームを送信した場合について、中継学習処理(S200)を説明する。
 X応答フレームは、X応答メッセージを含んだフレーム200である。
 X応答フレームにおいて、送信元アドレス201はアドレスDであり、宛先アドレス202はアドレスCである。
 X応答フレームは、ネットワーク910-2を伝搬してポート2に到着し、受信部192-2によって受信される。
 X応答フレームが受信されると、フレーム解析部110によって、送信元アドレスDと宛先アドレスCと「X応答メッセージ」と「ポート2」とが得られる。「X応答メッセージ」はX応答メッセージの種別である。
Next, the relay learning process (S200) will be described for the case where the terminal D103 transmits an X response frame to the terminal C102.
The X response frame is a frame 200 including an X response message.
In the X response frame, the source address 201 is the address D and the destination address 202 is the address C.
The X response frame propagates through the network 910-2, arrives at the port 2, and is received by the receiving unit 192-2.
When the X response frame is received, the frame analysis unit 110 obtains a transmission source address D, a destination address C, an “X response message”, and “port 2”. “X response message” is the type of the X response message.
 中継学習部120は、送信元アドレスDと「ポート2」とを用いて、図13に示すように第1中継エントリ211-2を第1中継テーブル210に登録する(図8のS210)。
 第1中継エントリ211-2において、宛先アドレスは送信元アドレスDであり、宛先ポート識別子は「ポート2」である。
The relay learning unit 120 registers the first relay entry 211-2 in the first relay table 210 as shown in FIG. 13 using the transmission source address D and “port 2” (S210 in FIG. 8).
In the first relay entry 211-2, the destination address is the transmission source address D, and the destination port identifier is “Port 2”.
 中継学習部120は、図5のメッセージ対応テーブル230から、「X応答メッセージ」と同じ第1メッセージ種別を含んだメッセージ対応エントリ231を検索する(図8のS221)。しかし、該当するメッセージ対応エントリ231は存在しないので、中継学習部120は、第2中継エントリ221の登録を行わない(図8のS222)。 The relay learning unit 120 searches the message correspondence table 230 of FIG. 5 for a message correspondence entry 231 including the same first message type as the “X response message” (S221 of FIG. 8). However, since the corresponding message corresponding entry 231 does not exist, the relay learning unit 120 does not register the second relay entry 221 (S222 in FIG. 8).
 次に、端末C102が端末D103に新たにX要求フレームを送信した場合について、中継判定処理(S300)を説明する。第1中継テーブル210は図13の状態であり、第2中継テーブル220は図12の状態である。 Next, the relay determination process (S300) will be described for the case where the terminal C102 newly transmits an X request frame to the terminal D103. The first relay table 210 is in the state of FIG. 13, and the second relay table 220 is in the state of FIG.
 中継判定部130は、図13の第1中継テーブル210から、宛先アドレスDを含んだ第1中継エントリ211-2を選択する(図9のS311、S312)。
 中継判定部130は、選択された第1中継エントリ211-2から、宛先ポート識別子である「ポート2」を取得する(図9のS313)。
The relay determination unit 130 selects the first relay entry 211-2 including the destination address D from the first relay table 210 in FIG. 13 (S311 and S312 in FIG. 9).
The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-2 (S313 in FIG. 9).
 中継判定部130は、図12の第2中継テーブル220から、送信元アドレスCと「X要求メッセージ」との組に対応する第2中継エントリ221を検索する(図9のS321)。しかし、該当する第2中継エントリ221は存在しない(図9のS322)。 The relay determination unit 130 searches the second relay table 220 in FIG. 12 for the second relay entry 221 corresponding to the combination of the source address C and the “X request message” (S321 in FIG. 9). However, the corresponding second relay entry 221 does not exist (S322 in FIG. 9).
 中継判定部130は、取得された宛先ポート識別子である「ポート2」から、受信ポート2の識別子である「ポート2」を削除する(図9のS330)。
 その結果、取得された宛先ポート識別子が無くなるため、送信ポートは選択されず、X要求フレームは中継されない。
The relay determination unit 130 deletes “port 2” that is the identifier of the reception port 2 from “port 2” that is the acquired destination port identifier (S330 in FIG. 9).
As a result, since there is no acquired destination port identifier, no transmission port is selected, and the X request frame is not relayed.
 次に、端末D103が端末C102に新たにX応答フレームを送信した場合について、中継判定処理(S300)を説明する。第1中継テーブル210は図13の状態であり、第2中継テーブル220は図12の状態である。 Next, the relay determination process (S300) will be described for the case where the terminal D103 newly transmits an X response frame to the terminal C102. The first relay table 210 is in the state of FIG. 13, and the second relay table 220 is in the state of FIG.
 中継判定部130は、図13の第1中継テーブル210から、宛先アドレスCを含んだ第1中継エントリ211-1を選択する(図9のS311、S312)。
 中継判定部130は、選択された第1中継エントリ211-1から、宛先ポート識別子である「ポート2」を取得する(図9のS313)。
The relay determination unit 130 selects the first relay entry 211-1 including the destination address C from the first relay table 210 in FIG. 13 (S311 and S312 in FIG. 9).
The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-1 (S313 in FIG. 9).
 中継判定部130は、図12の第2中継テーブル220から、送信元アドレスDと「X応答メッセージ」との組に対応する第2中継エントリ221-1を選択する(図12のS321、S322)。
 中継判定部130は、選択された第2中継エントリ221-1から、宛先ポート識別子である「ポート2」を取得する(図9のS323)。
The relay determination unit 130 selects the second relay entry 221-1 corresponding to the combination of the source address D and the “X response message” from the second relay table 220 in FIG. 12 (S321 and S322 in FIG. 12). .
The relay determination unit 130 acquires “port 2” that is a destination port identifier from the selected second relay entry 221-1 (S323 in FIG. 9).
 中継判定部130は、取得された宛先ポート識別子である「ポート2」から、受信ポート2の識別子である「ポート2」を削除する。
 その結果、取得された宛先ポート識別子が無くなるため、送信ポートは選択されず、X応答フレームは中継されない。
The relay determination unit 130 deletes “port 2” that is the identifier of the reception port 2 from “port 2” that is the acquired destination port identifier.
As a result, since there is no acquired destination port identifier, no transmission port is selected, and the X response frame is not relayed.
 上記のように、ネットワーク910-2において端末C102と端末D103との間で通信されるフレーム200は、ネットワーク910-1に中継されない。そのため、ネットワーク910-1の帯域消費を抑えることが可能となる。 As described above, the frame 200 communicated between the terminal C102 and the terminal D103 in the network 910-2 is not relayed to the network 910-1. Therefore, it is possible to suppress the bandwidth consumption of the network 910-1.
 図14に基づいて、中継学習処理(S200)を具体的に説明する。バス型ネットワークの構成は図10と同じである。第1中継テーブル210は図13の状態であり、第2中継テーブル220は図12の状態である。
 端末B101は、端末D103にX要求フレームを送信する。
 X要求フレームは、ネットワーク910-1を伝搬してポート1に到着し、受信部192-1によって受信される。
 X要求フレームが受信されると、フレーム解析部110によって、送信元アドレスBと宛先アドレスDと「X要求メッセージ」と「ポート1」とが得られる。「ポート1」は受信ポート1の識別子である。
The relay learning process (S200) will be specifically described based on FIG. The configuration of the bus network is the same as in FIG. The first relay table 210 is in the state of FIG. 13, and the second relay table 220 is in the state of FIG.
Terminal B101 transmits an X request frame to terminal D103.
The X request frame propagates through the network 910-1 and arrives at the port 1 and is received by the receiving unit 192-1.
When the X request frame is received, the frame analysis unit 110 obtains a source address B, a destination address D, an “X request message”, and “port 1”. “Port 1” is an identifier of the reception port 1.
 中継学習部120は、送信元アドレスBと「ポート1」とを用いて、図3に示すように第1中継エントリ211-3を第1中継テーブル210に登録する(図8のS210)。
 第1中継エントリ211-3において、宛先アドレスは送信元アドレスBであり、宛先ポートは「ポート1」である。
The relay learning unit 120 registers the first relay entry 211-3 in the first relay table 210 as shown in FIG. 3 using the source address B and “port 1” (S210 in FIG. 8).
In the first relay entry 211-3, the destination address is the source address B, and the destination port is “port 1”.
 中継学習部120は、図5のメッセージ対応テーブル230から、「X要求メッセージ」と同じ第1メッセージ種別を含んだメッセージ対応エントリ231-1を選択する(図8のS221、S222)。
 中継学習部120は、選択されたメッセージ対応エントリ231-1から、第2メッセージ種別である「X応答メッセージ」を取得する(図8のS223)。
 中継学習部120は、宛先アドレスDと「X応答メッセージ」と「ポート1」とを用いて、図4に示すように第2中継エントリ221-2を第2中継テーブル220に登録する(図8のS230)。
 第2中継エントリ221-2において、送信元アドレスは宛先アドレスDであり、中継メッセージ種別は「X応答メッセージ」であり、宛先ポートは「ポート1」である。
The relay learning unit 120 selects the message correspondence entry 231-1 including the same first message type as the “X request message” from the message correspondence table 230 in FIG. 5 (S221 and S222 in FIG. 8).
The relay learning unit 120 acquires the “X response message” that is the second message type from the selected message corresponding entry 231-1 (S223 in FIG. 8).
The relay learning unit 120 registers the second relay entry 221-2 in the second relay table 220 as shown in FIG. 4 using the destination address D, “X response message”, and “port 1” (FIG. 8). S230).
In the second relay entry 221-2, the source address is the destination address D, the relay message type is “X response message”, and the destination port is “port 1”.
 なお、中継装置100は、通常の中継機能によって、X要求フレームをポート2からネットワーク910-2に中継する。そして、X要求フレームは、端末D103によって受信される。
 その後、端末D103はX応答フレームを端末B101に送信し、X応答フレームはネットワーク910-2からポート2に到着する。すると、中継装置100は、通常の中継機能によって、X応答フレームをネットワーク910-1に中継する。そして、X応答フレームは、端末B101によって受信される。
Note that the relay device 100 relays the X request frame from the port 2 to the network 910-2 by a normal relay function. The X request frame is received by the terminal D103.
Thereafter, the terminal D103 transmits an X response frame to the terminal B101, and the X response frame arrives at the port 2 from the network 910-2. Then, the relay device 100 relays the X response frame to the network 910-1 by a normal relay function. Then, the X response frame is received by the terminal B101.
 図15に基づいて、中継判定処理(S300)を具体的に説明する。バス型ネットワークの構成は図10と同じである。第1中継テーブル210は図3の状態であり、第2中継テーブル220は図4の状態である。 The relay determination process (S300) will be specifically described based on FIG. The configuration of the bus network is the same as in FIG. The first relay table 210 is in the state of FIG. 3, and the second relay table 220 is in the state of FIG.
 まず、端末C102が端末D103にX要求フレームを送信した場合について説明する。
 中継判定部130は、図3の第1中継テーブル210から、宛先アドレスDを含んだ第1中継エントリ211-2を選択する(図9のS311、S312)。
 中継判定部130は、選択された第1中継エントリ211-2から、宛先ポート識別子である「ポート2」を取得する(図9のS313)。
First, a case where terminal C102 transmits an X request frame to terminal D103 will be described.
The relay determination unit 130 selects the first relay entry 211-2 including the destination address D from the first relay table 210 in FIG. 3 (S311 and S312 in FIG. 9).
The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-2 (S313 in FIG. 9).
 中継判定部130は、図4の第2中継テーブル220から、送信元アドレスCと「X要求メッセージ」との組に対応する第2中継エントリ221を検索する(図9のS321)。しかし、該当する第2中継エントリ221は存在しない(図9のS322)。 The relay determination unit 130 searches the second relay table 220 in FIG. 4 for the second relay entry 221 corresponding to the combination of the source address C and the “X request message” (S321 in FIG. 9). However, the corresponding second relay entry 221 does not exist (S322 in FIG. 9).
 中継判定部130は、取得された宛先ポート識別子である「ポート2」から、受信ポート2の識別子である「ポート2」を削除する。
 その結果、取得された宛先ポート識別子が無くなるため、送信ポートは選択されず、X要求フレームは中継されない。
The relay determination unit 130 deletes “port 2” that is the identifier of the reception port 2 from “port 2” that is the acquired destination port identifier.
As a result, since there is no acquired destination port identifier, no transmission port is selected, and the X request frame is not relayed.
 次に、端末D103が端末C102にX応答フレームを送信した場合について説明する。
 中継判定部130は、図3の第1中継テーブル210から、宛先アドレスCを含んだ第1中継エントリ211-1を選択する(図9のS311、S312)。
 中継判定部130は、選択された第1中継エントリ211-1から、宛先ポート識別子である「ポート2」を取得する(図9のS313)。
Next, a case where the terminal D103 transmits an X response frame to the terminal C102 will be described.
The relay determination unit 130 selects the first relay entry 211-1 including the destination address C from the first relay table 210 in FIG. 3 (S311 and S312 in FIG. 9).
The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-1 (S313 in FIG. 9).
 中継判定部130は、図4の第2中継テーブル220から、送信元アドレスDと「X応答メッセージ」との組に対応する第2中継エントリ221-1および第2中継エントリ221-2を選択する(図9のS321、S322)。
 中継判定部130は、選択された第2中継エントリ221-1から、宛先ポート識別子である「ポート2」を取得し、選択された第2中継エントリ221-2から、宛先ポート識別子である「ポート1」を取得する。
The relay determination unit 130 selects the second relay entry 221-1 and the second relay entry 221-2 corresponding to the set of the transmission source address D and the “X response message” from the second relay table 220 of FIG. (S321, S322 in FIG. 9).
The relay determination unit 130 acquires “port 2” that is the destination port identifier from the selected second relay entry 221-1, and “port that is the destination port identifier from the selected second relay entry 221-2. 1 ”is acquired.
 中継判定部130は、取得された宛先ポート識別子である「ポート1」と「ポート2」とから、受信ポート2の識別子である「ポート2」を削除する。
 その結果、取得された宛先ポート識別子から「ポート1」が残るため、送信ポートとしてポート1が選択される。すると、X応答フレームは、送信部193-1によってネットワーク910-1に中継され、端末B101によって受信される。
 端末B101は、モニタリング機能によって、中継されたX応答フレームからX応答メッセージを得ることができる。
The relay determination unit 130 deletes “port 2” that is the identifier of the reception port 2 from “port 1” and “port 2” that are the acquired destination port identifiers.
As a result, since “port 1” remains from the acquired destination port identifier, port 1 is selected as the transmission port. Then, the X response frame is relayed to the network 910-1 by the transmission unit 193-1 and received by the terminal B101.
The terminal B101 can obtain the X response message from the relayed X response frame by the monitoring function.
 上記のように、端末B101は、X要求フレームを自ら送信することなく、X応答フレームを受信してX応答メッセージを得ることができる。そのため、ネットワーク910-1の帯域消費を抑えることが可能となる。 As described above, the terminal B 101 can receive the X response frame and obtain the X response message without transmitting the X request frame itself. Therefore, it is possible to suppress the bandwidth consumption of the network 910-1.
***実施の形態1の効果***
 ブリッジ方式とモニタリング方式との両方を利用して使用帯域を抑制することが可能となる。
*** Effects of Embodiment 1 ***
It is possible to suppress the bandwidth to be used by using both the bridge method and the monitoring method.
 例えば、空調システムにおいて、以下のような効果を奏する。
 図10において、端末B101が空調コントローラであり、端末D103が温度センサであり、端末C102が室内機である。
 空調コントローラは、定期的に温度情報を取得して、空調の制御を行うコンピュータである。
 このような空調システムにおいて、室内機が温度情報を取得するために温度センサとの間で要求フレームおよび応答フレームを定期的に送受信すれば、中継装置100は応答フレームを定期的に空調コントローラに中継する。
 そのため、空調コントローラは、定期的に自ら要求フレームを送信しなくても、定期的に中継される応答フレームから温度情報を取得することができる。
For example, the air conditioning system has the following effects.
In FIG. 10, terminal B101 is an air conditioning controller, terminal D103 is a temperature sensor, and terminal C102 is an indoor unit.
The air conditioning controller is a computer that periodically acquires temperature information and controls air conditioning.
In such an air conditioning system, if the indoor unit periodically transmits and receives a request frame and a response frame to the temperature sensor in order to acquire temperature information, the relay device 100 periodically relays the response frame to the air conditioning controller. To do.
For this reason, the air conditioning controller can acquire temperature information from a response frame that is periodically relayed without periodically transmitting the request frame itself.
 また、空調コントローラで受信する必要がない要求フレームについては、中継装置100は空調コントローラに中継しない。そのため、ネットワーク910-1の帯域消費が抑えられる。 Also, for request frames that do not need to be received by the air conditioning controller, the relay device 100 does not relay to the air conditioning controller. Therefore, bandwidth consumption of the network 910-1 can be suppressed.
 このように、ブリッジ方式とモニタリング方式との両方を同時に利用することが可能となり、両方の帯域消費削減効果を得ることができる。 Thus, it becomes possible to use both the bridge method and the monitoring method at the same time, and both band consumption reduction effects can be obtained.
***他の構成***
 ネットワークインタフェース903および通信ポート904の数は、3つ以上であってもよい。
*** Other configurations ***
The number of network interfaces 903 and communication ports 904 may be three or more.
 一般的なFDBと同様に、拡張FDBに相当する第2中継テーブル220にエージング機能を持たせてもよい。つまり、第2中継テーブル220が一定時間更新されない場合、中継学習部120が第2中継エントリ221を削除してもよい。 Like the general FDB, the second relay table 220 corresponding to the extended FDB may have an aging function. That is, when the second relay table 220 is not updated for a certain time, the relay learning unit 120 may delete the second relay entry 221.
 メッセージ対応テーブル230の一部または全部が、外部サーバから動的に設定されてもよい。また、中継学習部120が、中継フレームを監視してメッセージ間の対応関係を学習し、メッセージ対応テーブル230にメッセージ対応エントリ231を登録してもよい。 A part or all of the message correspondence table 230 may be dynamically set from an external server. Further, the relay learning unit 120 may learn the correspondence between messages by monitoring the relay frame, and register the message correspondence entry 231 in the message correspondence table 230.
 第1中継テーブル210および第2中継テーブル220に登録されるアドレスは、フレーム伝送に用いるアドレスでもよいし、端末の論理アドレスでもよい。一般に多く使われるイーサネット(登録商標)でのIP通信を例にした場合、FDBに相当する第1中継テーブル210に登録されるアドレスがMACアドレスであり、拡張FDBに相当する第2中継テーブル220に登録されるアドレスがIPアドレスであってもよい。IPはInternet Protocolの略称であり、MACはMedia Access Controlの略称である。 The address registered in the first relay table 210 and the second relay table 220 may be an address used for frame transmission or a logical address of the terminal. In the case of IP communication using Ethernet (registered trademark) that is generally used as an example, the address registered in the first relay table 210 corresponding to the FDB is the MAC address, and the second relay table 220 corresponding to the extended FDB is stored in the second relay table 220. The registered address may be an IP address. IP is an abbreviation for Internet Protocol, and MAC is an abbreviation for Media Access Control.
 実施の形態2.
 中継メッセージ種別のリストを用いてフレーム200の中継の要否を判定する形態について、主に実施の形態1と異なる点を、図16から図19に基づいて説明する。
Embodiment 2. FIG.
A mode of determining whether or not to relay the frame 200 using the relay message type list will be described mainly based on FIGS. 16 to 19 with respect to differences from the first embodiment.
***構成の説明***
 中継装置100の構成は、実施の形態1の図1と同じである。
 但し、記憶部191には、中継メッセージリスト240が記憶される。
 図16に示すように、中継メッセージリスト240は、中継メッセージ種別を含んだリストである。中継メッセージリスト240は、あらかじめ生成される。
 中継メッセージリスト240の使用方法については後述する。
*** Explanation of configuration ***
The configuration of relay device 100 is the same as that of FIG.
However, the relay message list 240 is stored in the storage unit 191.
As shown in FIG. 16, the relay message list 240 is a list including relay message types. The relay message list 240 is generated in advance.
A method of using the relay message list 240 will be described later.
***動作の説明***
 中継方法の手順は、実施の形態1の図7と同じである。
 但し、中継判定処理(S300)の手順の一部が実施の形態1と異なる。
*** Explanation of operation ***
The procedure of the relay method is the same as that in FIG. 7 of the first embodiment.
However, part of the procedure of the relay determination process (S300) is different from the first embodiment.
 図17に基づいて、中継判定処理(S300)の手順を説明する。
 ステップS311からステップS340は、実施の形態1の図9と同じである。
 ステップS351およびステップS352は、追加された処理である。以下に、ステップS351およびステップS352を説明する。
Based on FIG. 17, the procedure of relay determination processing (S300) will be described.
Steps S311 to S340 are the same as those in FIG. 9 of the first embodiment.
Steps S351 and S352 are added processes. Below, step S351 and step S352 are demonstrated.
 ステップS351において、中継判定部130は、解析メッセージ種別と同じ中継メッセージ種別を中継メッセージリスト240から検索する。 In step S351, the relay determination unit 130 searches the relay message list 240 for the same relay message type as the analysis message type.
 ステップS352において、中継判定部130は、検索結果に基づいて、解析メッセージ種別と同じ中継メッセージ種別が中継メッセージリスト240に含まれるか判定する。
 解析メッセージ種別と同じ中継メッセージ種別が中継メッセージリスト240に含まれる場合、処理はステップS340に進む。
 解析メッセージ種別と同じ中継メッセージ種別が中継メッセージリスト240に含まれない場合、処理はステップS321に進む。
In step S352, the relay determination unit 130 determines whether the relay message list 240 includes the same relay message type as the analysis message type based on the search result.
If the relay message list 240 includes the same relay message type as the analysis message type, the process proceeds to step S340.
If the same relay message type as the analysis message type is not included in the relay message list 240, the process proceeds to step S321.
 したがって、解析メッセージ種別と同じ中継メッセージ種別が中継メッセージリスト240に含まれる場合、全ての通信ポート904から受信ポートを除いた残りの通信ポート904が送信ポートとして選択される。
 解析メッセージ種別と同じ中継メッセージ種別が中継メッセージリスト240に含まれない場合、実施の形態1と同じく、第1中継テーブル210と第2中継テーブル220とから選択された宛先ポートから受信ポートを除いた残りの宛先ポートが送信ポートとして選択される。
Therefore, when the relay message list 240 includes the same relay message type as the analysis message type, the remaining communication ports 904 excluding the reception ports from all the communication ports 904 are selected as transmission ports.
When the same relay message type as the analysis message type is not included in the relay message list 240, the reception port is excluded from the destination ports selected from the first relay table 210 and the second relay table 220 as in the first embodiment. The remaining destination ports are selected as transmission ports.
 図10に基づいて、中継判定処理(S300)を具体的に説明する。
 第1中継テーブル210は図11の状態である。
The relay determination process (S300) will be specifically described based on FIG.
The first relay table 210 is in the state shown in FIG.
 まず、端末C102が端末D103にX要求フレームを送信した場合について説明する。
 中継判定部130は、図11の第1中継テーブル210から、宛先アドレスDを含んだ第1中継エントリ211-2を検索する(図17のS311)。しかし、該当する第1中継エントリ211は存在しない(図17のS312)。
First, a case where terminal C102 transmits an X request frame to terminal D103 will be described.
The relay determination unit 130 searches the first relay table 210 of FIG. 11 for the first relay entry 211-2 including the destination address D (S311 of FIG. 17). However, the corresponding first relay entry 211 does not exist (S312 in FIG. 17).
 中継判定部130は、全ての通信ポート904から受信ポート2を除外する(図17のS340)。
 その結果、ポート1が送信ポートとして選択される。すると、X要求フレームは、送信部193-1によってネットワーク910-1に中継される。
The relay determination unit 130 excludes the reception port 2 from all the communication ports 904 (S340 in FIG. 17).
As a result, port 1 is selected as the transmission port. Then, the X request frame is relayed to the network 910-1 by the transmission unit 193-1.
 次に、端末D103が端末C102にX応答フレームを送信した場合について説明する。
 中継判定部130は、図11の第1中継テーブル210から、宛先アドレスCを含んだ第1中継エントリ211-1を選択する(図17のS311、S312)。
 中継判定部130は、選択された第1中継エントリ211-1から、宛先ポート識別子である「ポート2」を取得する(図17のS313)。
Next, a case where the terminal D103 transmits an X response frame to the terminal C102 will be described.
The relay determination unit 130 selects the first relay entry 211-1 including the destination address C from the first relay table 210 in FIG. 11 (S311 and S312 in FIG. 17).
The relay determination unit 130 acquires “port 2” as the destination port identifier from the selected first relay entry 211-1 (S313 in FIG. 17).
 中継判定部130は、図16の中継メッセージリスト240から、「X応答メッセージ」を検索する(図17のS351)。図16の中継メッセージリスト240には、「X応答メッセージ」が含まれる(図17のS352)。 The relay determination unit 130 searches for the “X response message” from the relay message list 240 in FIG. 16 (S351 in FIG. 17). The relay message list 240 in FIG. 16 includes “X response message” (S352 in FIG. 17).
 中継判定部130は、全ての通信ポート904から受信ポート2を除外する(図17のS340)。
 その結果、ポート1が送信ポートとして選択される。すると、X応答フレームは、送信部193-1によってネットワーク910-1に中継され、端末B101によって受信される。
 端末B101は、モニタリング機能によって、中継されたX応答フレームからX応答メッセージを得ることができる。
The relay determination unit 130 excludes the reception port 2 from all the communication ports 904 (S340 in FIG. 17).
As a result, port 1 is selected as the transmission port. Then, the X response frame is relayed to the network 910-1 by the transmission unit 193-1 and received by the terminal B101.
The terminal B101 can obtain the X response message from the relayed X response frame by the monitoring function.
***実施の形態2の効果***
 参照される可能性が高いメッセージを中継メッセージリスト240に登録しておくことで、定期的な要求メッセージの送信を抑制し、ネットワーク910の帯域消費を抑えることが可能となる。
*** Effects of Embodiment 2 ***
By registering messages that are highly likely to be referenced in the relay message list 240, it is possible to suppress the transmission of periodic request messages and to reduce the bandwidth consumption of the network 910.
 第2中継テーブル220が用いられない形態であってもよい。
 具体的には、図8のステップS221からステップS230および図9のステップS321からステップS323が省略されてもよい。
 これにより、中継装置100の処理負荷を低減することが可能となる。
The second relay table 220 may not be used.
Specifically, steps S221 to S230 in FIG. 8 and steps S321 to S323 in FIG. 9 may be omitted.
As a result, the processing load on the relay device 100 can be reduced.
***他の構成***
 中継メッセージリスト240の代わりに中継メッセージテーブル250が用いられてもよい。
*** Other configurations ***
Instead of the relay message list 240, the relay message table 250 may be used.
 図18に基づいて、中継メッセージテーブル250の構成を説明する。
 中継メッセージテーブル250は、レコードに相当するエントリを有する。
 中継メッセージテーブル250が有するエントリを中継メッセージエントリ(251-1、251-2)という。中継メッセージエントリ(251-1、251-2)を総称して中継メッセージエントリ251という。
 中継メッセージエントリ251では、中継メッセージ識別子と宛先ポートとが互いに対応付けられる。宛先ポートの欄には宛先ポート識別子が設定される。
 中継メッセージテーブル250は、あらかじめ生成される。
Based on FIG. 18, the structure of the relay message table 250 will be described.
The relay message table 250 has entries corresponding to records.
The entry included in the relay message table 250 is referred to as a relay message entry (251-1, 251-2). The relay message entries (251-1, 251-2) are collectively referred to as a relay message entry 251.
In the relay message entry 251, the relay message identifier and the destination port are associated with each other. A destination port identifier is set in the destination port field.
The relay message table 250 is generated in advance.
 図19に基づいて、中継メッセージテーブル250が用いられる場合の中継判定処理(S300)を説明する。
 ステップS311からステップS340は、実施の形態1の図9と同じである。
 ステップS361からステップS363は、追加された処理である。以下に、ステップS361からステップS363を説明する。
Based on FIG. 19, the relay determination process (S300) when the relay message table 250 is used will be described.
Steps S311 to S340 are the same as those in FIG. 9 of the first embodiment.
Steps S361 to S363 are added processes. Hereinafter, steps S361 to S363 will be described.
 ステップS361からステップS363において、中継判定部130は、中継メッセージテーブル250から解析メッセージ種別に対応する宛先ポートを選択する。具体的には、中継判定部130は以下のように動作する。 In steps S361 to S363, the relay determination unit 130 selects a destination port corresponding to the analysis message type from the relay message table 250. Specifically, the relay determination unit 130 operates as follows.
 ステップS361において、中継判定部130は、解析メッセージ種別と同じ中継メッセージ種別を含んだ中継メッセージエントリ251を中継メッセージテーブル250から検索する。
 図19において、解析メッセージ種別と同じ中継メッセージ種別を含んだ中継メッセージエントリ251を第3該当エントリという。
In step S361, the relay determination unit 130 searches the relay message table 250 for a relay message entry 251 including the same relay message type as the analysis message type.
In FIG. 19, the relay message entry 251 including the same relay message type as the analysis message type is referred to as a third corresponding entry.
 ステップS362において、中継判定部130は、検索結果に基づいて、第3該当エントリがあるか判定する。
 第3該当エントリがある場合、処理はステップS363に進む。
 第3該当エントリがない場合、処理はステップS321に進む。
In step S362, the relay determination unit 130 determines whether there is a third corresponding entry based on the search result.
If there is a third corresponding entry, the process proceeds to step S363.
If there is no third corresponding entry, the process proceeds to step S321.
 ステップS363において、中継判定部130は、第3該当エントリから宛先ポート識別子を取得する。
 ステップS363の後、処理はステップS330に進む。
In step S363, the relay determination unit 130 acquires a destination port identifier from the third corresponding entry.
After step S363, the process proceeds to step S330.
 ステップS363の後のステップS330において、中継判定部130は、ステップS361からステップS363で選択された宛先ポートから、受信ポートと同じ宛先ポートを除外する。
 これにより、残りの宛先ポートが送信ポートとして選択される。
In step S330 after step S363, the relay determination unit 130 excludes the same destination port as the reception port from the destination ports selected in steps S361 to S363.
As a result, the remaining destination port is selected as the transmission port.
 実施の形態3.
 通信ポート904の伝送帯域に基づいてフレーム200の中継の要否を判定する形態について、主に実施の形態1と異なる点を、図20から図22に基づいて説明する。
Embodiment 3 FIG.
With respect to the mode for determining whether or not the frame 200 needs to be relayed based on the transmission band of the communication port 904, differences from the first embodiment will be mainly described with reference to FIGS.
***構成の説明***
 中継装置100の構成は、実施の形態1の図1と同じである。
 なお、全ての通信ポート904のそれぞれの伝送帯域と、基準帯域とが、記憶部191に予め記憶されている。基準帯域は、基準となる伝送帯域である。通信ポート904の伝送帯域は、通信ポート904が接続するネットワーク910の伝送帯域である。伝送帯域は伝送速度に相当する。
*** Explanation of configuration ***
The configuration of relay device 100 is the same as that of FIG.
Note that the respective transmission bands and reference bands of all the communication ports 904 are stored in the storage unit 191 in advance. The reference band is a reference transmission band. The transmission band of the communication port 904 is the transmission band of the network 910 to which the communication port 904 is connected. The transmission band corresponds to the transmission speed.
***動作の説明***
 中継方法の手順は、実施の形態1の図7と同じである。
 但し、中継学習処理(S200)の手順の一部と中継判定処理(S300)の手順の一部とが実施の形態1と異なる。
*** Explanation of operation ***
The procedure of the relay method is the same as that in FIG. 7 of the first embodiment.
However, a part of the procedure of the relay learning process (S200) and a part of the procedure of the relay determination process (S300) are different from the first embodiment.
 図20に基づいて、中継学習処理(S200)の手順を説明する。
 ステップS210とステップS221からステップS230は、実施の形態1の図8と同じである。
 ステップS220は、実施の形態1の図8に追加された処理である。以下に、ステップS220を説明する。
The procedure of the relay learning process (S200) will be described based on FIG.
Step S210 and steps S221 to S230 are the same as those in FIG. 8 of the first embodiment.
Step S220 is a process added to FIG. 8 of the first embodiment. Below, step S220 is demonstrated.
 ステップS220において、中継判定部130は、受信ポートの伝送帯域に基づいて登録の要否を判定する。
 具体的には、中継判定部130は、受信ポートの伝送帯域を基準帯域と比較する。
 受信ポートの伝送帯域が基準帯域以上である場合(登録が不要)、処理は終了する。
 受信ポートの伝送帯域が基準帯域未満である場合(登録が必要)、処理はステップS221に進む。
In step S220, the relay determination unit 130 determines the necessity of registration based on the transmission band of the reception port.
Specifically, relay determination unit 130 compares the transmission band of the reception port with the reference band.
If the transmission band of the receiving port is equal to or greater than the reference band (registration is not necessary), the process ends.
If the transmission bandwidth of the reception port is less than the reference bandwidth (registration is required), the process proceeds to step S221.
 したがって、受信ポートの伝送帯域が基準帯域以上である場合、第2中継エントリ221の登録は行われない。 Therefore, when the transmission band of the reception port is equal to or greater than the reference band, the second relay entry 221 is not registered.
 図21に基づいて、中継判定処理(S300)の手順を説明する。
 ステップS311からステップS330は、実施の形態1の図9と同じである。
 ステップS310は、追加された処理である。以下に、ステップS310を説明する。
Based on FIG. 21, the procedure of relay determination processing (S300) will be described.
Steps S311 to S330 are the same as those in FIG. 9 of the first embodiment.
Step S310 is an added process. Below, step S310 is demonstrated.
 ステップS310において、中継判定部130は、受信ポートを除いた残りの通信ポート904の伝送帯域に基づいて、絞り込みの要否を判定する。
 具体的には、中継判定部130は、受信ポートを除いて通信ポート904毎に、通信ポート904の伝送帯域を基準帯域と比較する。
 そして、中継判定部130は、受信ポートを除いて、低帯域ポートがあるか判定する。低帯域ポートは、基準帯域未満の伝送帯域を有する通信ポート904である。
 低帯域ポートがある場合(絞り込みが必要)、処理はステップS311に進む。
 低帯域ポートがない場合(絞り込みが不要)、処理はステップS340に進む。
In step S310, the relay determination unit 130 determines the necessity of narrowing down based on the transmission band of the remaining communication ports 904 excluding the reception port.
Specifically, the relay determination unit 130 compares the transmission band of the communication port 904 with the reference band for each communication port 904 except for the reception port.
Then, the relay determination unit 130 determines whether there is a low bandwidth port except for the reception port. The low-band port is a communication port 904 having a transmission band less than the reference band.
If there is a low-band port (needs to be narrowed down), the process proceeds to step S311.
If there is no low-band port (no narrowing is required), the process proceeds to step S340.
 したがって、低帯域ポートがない場合、受信ポートを除いた残りの通信ポート904が送信ポートとして選択される。 Therefore, when there is no low-band port, the remaining communication ports 904 excluding the reception port are selected as transmission ports.
 図22に基づいて、中継学習処理(S200)および中継判定処理(S300)を具体的に説明する。
 バス型ネットワークにおいて、2つの中継装置(100-1、100-2)がある。中継装置100-1と中継装置100-2とを総称して中継装置100という。
Based on FIG. 22, the relay learning process (S200) and the relay determination process (S300) will be specifically described.
In the bus type network, there are two relay apparatuses (100-1 and 100-2). The relay device 100-1 and the relay device 100-2 are collectively referred to as a relay device 100.
 中継装置100-1は、ネットワーク911とネットワーク912とに接続されている。中継装置100-1において、ポート1はネットワーク911に接続され、ポート2はネットワーク912に接続されている。ネットワーク911およびポート1の伝送帯域はβbps(bits per second)である。ネットワーク912およびポート2の伝送帯域はαbpsである。 The relay device 100-1 is connected to the network 911 and the network 912. In relay apparatus 100-1, port 1 is connected to network 911, and port 2 is connected to network 912. The transmission band of the network 911 and the port 1 is β bps (bits per second). The transmission band of the network 912 and the port 2 is α bps.
 中継装置100-2は、ネットワーク912とネットワーク913とに接続されている。中継装置100-2において、ポート1はネットワーク912に接続され、ポート2はネットワーク913に接続されている。ネットワーク912およびポート1の伝送帯域はαbpsである。ネットワーク913およびポート2の伝送帯域はβbpsである。 The relay device 100-2 is connected to the network 912 and the network 913. In relay apparatus 100-2, port 1 is connected to network 912, and port 2 is connected to network 913. The transmission band of the network 912 and the port 1 is α bps. The transmission band of the network 913 and the port 2 is β bps.
 端末A104は、ネットワーク911に接続する端末である。端末E105はネットワーク912に接続する端末である。端末C102および端末D103はネットワーク913に接続する端末である。
 ネットワーク911とネットワーク912とネットワーク913とを総称してネットワーク910という。
A terminal A104 is a terminal connected to the network 911. A terminal E105 is a terminal connected to the network 912. A terminal C102 and a terminal D103 are terminals connected to the network 913.
The network 911, the network 912, and the network 913 are collectively referred to as a network 910.
 αはβに対して十分に大きな値である。
 つまり、ネットワーク912の伝送帯域αは、ネットワーク911およびネットワーク913の伝送帯域βに対して十分に大きい。
 基準帯域は、β以上α未満の値である。
α is sufficiently large with respect to β.
That is, the transmission band α of the network 912 is sufficiently larger than the transmission band β of the network 911 and the network 913.
The reference band is a value not less than β and less than α.
 例えば、空調システムおよびビルシステムにおいて、敷設性およびコストを優先させるため、末端の機器が接続するネットワークの伝送帯域は低く抑えている場合がある。一方で、システムを集中制御するコントローラまたは上位システムが接続される中心のネットワークには十分な伝送帯域を持たせる場合がある。 For example, in an air conditioning system and a building system, the transmission band of a network to which a terminal device is connected may be kept low in order to prioritize layability and cost. On the other hand, there are cases where a central network to which a controller for centrally controlling the system or a host system is connected has a sufficient transmission band.
 まず、端末E105が端末D103にX要求フレームを送信した場合について、中継装置100-2における中継学習処理(S200)を説明する。
 X要求フレームは、ネットワーク912を伝搬してポート1に到着し、受信部192-1によって受信される。ポート1の伝送帯域はαbpsである。
 X要求フレームが受信されると、フレーム解析部110によって、送信元アドレスEと宛先アドレスDと「X要求メッセージ」と「ポート1」と伝送帯域αが得られる。
First, the relay learning process (S200) in the relay apparatus 100-2 when the terminal E105 transmits an X request frame to the terminal D103 will be described.
The X request frame propagates through the network 912 and arrives at the port 1 and is received by the receiving unit 192-1. The transmission bandwidth of port 1 is αbps.
When the X request frame is received, the frame analysis unit 110 obtains the transmission source address E, the destination address D, the “X request message”, the “port 1”, and the transmission band α.
 中継学習部120は、送信元アドレスEを宛先アドレスとして含んで「ポート1」を宛先ポート識別子として含んだ第1中継エントリ211を第1中継テーブル210に登録する(図20のS210)。 The relay learning unit 120 registers the first relay entry 211 including the source address E as the destination address and “port 1” as the destination port identifier in the first relay table 210 (S210 in FIG. 20).
 中継学習部120は、伝送帯域αを基準帯域と比較する(図20のS220)。
 伝送帯域αは基準帯域以上であるため、第2中継エントリ221の登録は行われない(図20のS221~S230)。
The relay learning unit 120 compares the transmission band α with the reference band (S220 in FIG. 20).
Since the transmission band α is equal to or greater than the reference band, the second relay entry 221 is not registered (S221 to S230 in FIG. 20).
 次に、端末C102が端末D103にX要求フレームを送信した場合について、中継装置100-2における中継学習処理(S200)を説明する。
 X要求フレームは、ネットワーク913を伝搬してポート2に到着し、受信部192-2によって受信される。ポート2の伝送帯域はβbpsである。
 X要求フレームが受信されると、フレーム解析部110によって、送信元アドレスCと宛先アドレスDと「X要求メッセージ」と「ポート2」と伝送帯域βが得られる。
Next, the relay learning process (S200) in the relay apparatus 100-2 when the terminal C102 transmits an X request frame to the terminal D103 will be described.
The X request frame propagates through the network 913 and arrives at the port 2 and is received by the receiving unit 192-2. The transmission bandwidth of port 2 is β bps.
When the X request frame is received, the frame analysis unit 110 obtains the source address C, the destination address D, the “X request message”, the “port 2”, and the transmission band β.
 中継学習部120は、送信元アドレスCを宛先アドレスとして含んで「ポート2」を宛先ポート識別子として含んだ第1中継エントリ211を第1中継テーブル210に登録する(図8のS210)。 The relay learning unit 120 registers the first relay entry 211 including the transmission source address C as the destination address and “port 2” as the destination port identifier in the first relay table 210 (S210 in FIG. 8).
 中継学習部120は、伝送帯域βを基準帯域と比較する(図20のS220)。
 伝送帯域βは基準帯域未満であるため、第2中継エントリ221の登録が行われる(図20のS221~S230)。
The relay learning unit 120 compares the transmission band β with the reference band (S220 in FIG. 20).
Since the transmission band β is less than the reference band, the second relay entry 221 is registered (S221 to S230 in FIG. 20).
 次に、端末C102が端末D103にX要求フレームを送信した場合について、中継装置100-2における中継判定処理(S300)を説明する。
 中継判定部130は、受信ポート2を除いて、ポート1の伝送帯域αを基準帯域と比較する。伝送帯域αは基準帯域以上であるため、ポート1は低帯域ポートではない(図21のS310)。
 中継判定部130は、全ての通信ポート904から受信ポート2を除外する(図21のS340)。
 その結果、ポート1が送信ポートとして選択される。すると、X要求フレームは、送信部193-1によってネットワーク912に中継される。
Next, the relay determination process (S300) in the relay apparatus 100-2 when the terminal C102 transmits an X request frame to the terminal D103 will be described.
The relay determination unit 130 compares the transmission band α of the port 1 with the reference band except for the reception port 2. Since the transmission band α is not less than the reference band, the port 1 is not a low-band port (S310 in FIG. 21).
The relay determination unit 130 excludes the reception port 2 from all the communication ports 904 (S340 in FIG. 21).
As a result, port 1 is selected as the transmission port. Then, the X request frame is relayed to the network 912 by the transmission unit 193-1.
 次に、端末D103が端末C102にX応答フレームを送信した場合について、中継装置100-2における中継判定処理(S300)を説明する。
 X応答フレームは、ネットワーク913を伝搬してポート2に到着し、受信部192-2によって受信される。ポート2の伝送帯域はβbpsである。
 X応答フレームが受信されると、フレーム解析部110によって、送信元アドレスDと宛先アドレスCと「X応答メッセージ」と「ポート2」と伝送帯域βが得られる。
Next, the relay determination process (S300) in the relay apparatus 100-2 when the terminal D103 transmits an X response frame to the terminal C102 will be described.
The X response frame propagates through the network 913 and arrives at the port 2 and is received by the receiving unit 192-2. The transmission bandwidth of port 2 is β bps.
When the X response frame is received, the frame analysis unit 110 obtains a transmission source address D, a destination address C, an “X response message”, “port 2”, and a transmission band β.
 中継判定部130は、受信ポート2を除いて、ポート1の伝送帯域αを基準帯域と比較する。伝送帯域αは基準帯域以上であるため、ポート1は低帯域ポートではない(図21のS310)。
 中継判定部130は、全ての通信ポート904から受信ポート2を除外する(図21のS340)。
 その結果、ポート1が送信ポートとして選択される。すると、X応答フレームは、送信部193-1によってネットワーク912に中継され、端末E105によって受信される。
 端末E105は、モニタリング機能によって、中継されたX応答フレームからX応答メッセージを得ることができる。
The relay determination unit 130 compares the transmission band α of the port 1 with the reference band except for the reception port 2. Since the transmission band α is not less than the reference band, the port 1 is not a low-band port (S310 in FIG. 21).
The relay determination unit 130 excludes the reception port 2 from all the communication ports 904 (S340 in FIG. 21).
As a result, port 1 is selected as the transmission port. Then, the X response frame is relayed to the network 912 by the transmission unit 193-1 and received by the terminal E105.
The terminal E105 can obtain the X response message from the relayed X response frame by the monitoring function.
***実施の形態3の効果***
 伝送帯域の広いネットワークを対象にして第2中継テーブル220の学習と第2中継テーブル220を用いた中継判定とを省略することで、中継装置100の処理負荷を低減することが可能となる。
 フレーム200は伝送帯域の狭いネットワーク910に中継されないため、伝送帯域の狭いネットワーク910の帯域消費を抑えることが可能となる。
 伝送帯域の広いネットワーク910では、端末のモニタリング方式により、帯域消費削減効果を得ることが可能となる。
*** Effects of Embodiment 3 ***
By omitting learning of the second relay table 220 and relay determination using the second relay table 220 for a network with a wide transmission band, it is possible to reduce the processing load of the relay device 100.
Since the frame 200 is not relayed to the network 910 having a narrow transmission band, the band consumption of the network 910 having a narrow transmission band can be suppressed.
In the network 910 having a wide transmission band, it is possible to obtain a band consumption reduction effect by the terminal monitoring method.
***他の構成***
 受信ポートの伝送帯域の代わりに、受信ポートと送信ポートとの帯域差または帯域比を基準帯域と比較してもよい。帯域差は伝送帯域の差であり、帯域比は伝送帯域の比である。
*** Other configurations ***
Instead of the transmission band of the reception port, a band difference or a band ratio between the reception port and the transmission port may be compared with the reference band. The band difference is a transmission band difference, and the band ratio is a transmission band ratio.
***実施の形態の補足***
 実施の形態において、中継装置100の機能はハードウェアで実現してもよい。
 図23に、中継装置100の機能がハードウェアで実現される場合の構成を示す。
 中継装置100は処理回路990を備える。処理回路990はプロセッシングサーキットリともいう。
 処理回路990は、フレーム解析部110と中継学習部120と中継判定部130と記憶部191といった「部」の機能を実現する専用の電子回路である。
 具体的には、処理回路990は、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ロジックIC、GA、ASIC、FPGAまたはこれらの組み合わせである。GAはGate Arrayの略称であり、ASICはApplication Specific Integrated Circuitの略称であり、FPGAはField Programmable Gate Arrayの略称である。
*** Supplement to the embodiment ***
In the embodiment, the function of the relay device 100 may be realized by hardware.
FIG. 23 shows a configuration when the function of the relay device 100 is realized by hardware.
The relay apparatus 100 includes a processing circuit 990. The processing circuit 990 is also called a processing circuit.
The processing circuit 990 is a dedicated electronic circuit that realizes the functions of “units” such as the frame analysis unit 110, the relay learning unit 120, the relay determination unit 130, and the storage unit 191.
Specifically, the processing circuit 990 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, an FPGA, or a combination thereof. GA is an abbreviation for Gate Array, ASIC is an abbreviation for Application Specific Integrated Circuit, and FPGA is an abbreviation for Field Programmable Gate Array.
 中継装置100は、処理回路990を代替する複数の処理回路を備えてもよい。複数の処理回路は、「部」の機能を分担する。 The relay apparatus 100 may include a plurality of processing circuits that replace the processing circuit 990. The plurality of processing circuits share the function of “unit”.
 中継装置100の機能は、ソフトウェアとハードウェアとの組み合わせで実現してもよい。つまり、「部」の機能の一部をソフトウェアで実現し、「部」の機能の残りをハードウェアで実現してもよい。 The functions of the relay device 100 may be realized by a combination of software and hardware. That is, a part of the function of “unit” may be realized by software, and the rest of the function of “unit” may be realized by hardware.
 実施の形態は、好ましい形態の例示であり、本発明の技術的範囲を制限することを意図するものではない。実施の形態は、部分的に実施してもよいし、他の形態と組み合わせて実施してもよい。フローチャート等を用いて説明した手順は、適宜に変更してもよい。 The embodiment is an example of a preferred embodiment and is not intended to limit the technical scope of the present invention. The embodiment may be implemented partially or in combination with other embodiments. The procedure described using the flowchart and the like may be changed as appropriate.
 100 中継装置、101 端末B、102 端末C、103 端末D、104 端末A、105 端末E、110 フレーム解析部、120 中継学習部、130 中継判定部、191 記憶部、192 受信部、193 送信部、200 フレーム、201 送信元アドレス、202 宛先アドレス、203 種別、204 メッセージ、210 第1中継テーブル、211 第1中継エントリ、220 第2中継テーブル、221 第2中継エントリ、230 メッセージ対応テーブル、231 メッセージ対応エントリ、240 中継メッセージリスト、250 中継メッセージテーブル、251 中継メッセージエントリ、901 プロセッサ、902 メモリ、903 ネットワークインタフェース、904 通信ポート、910,911,912,913 ネットワーク、990 処理回路。 100 relay device, 101 terminal B, 102 terminal C, 103 terminal D, 104 terminal A, 105 terminal E, 110 frame analysis unit, 120 relay learning unit, 130 relay determination unit, 191 storage unit, 192 reception unit, 193 transmission unit , 200 frame, 201 source address, 202 destination address, 203 type, 204 message, 210 first relay table, 211 first relay entry, 220 second relay table, 221 second relay entry, 230 message correspondence table, 231 message Corresponding entry, 240 relay message list, 250 relay message table, 251 relay message entry, 901 processor, 902 memory, 903 network interface, 904 communication port, 9 0,911,912,913 network, 990 processing circuit.

Claims (9)

  1.  複数の通信ポートと、
     送信元アドレスと中継メッセージ種別と宛先ポートとが互いに対応付けられた中継テーブルを記憶する記憶部と、
     送信元アドレスとメッセージとを含んだフレームが前記複数の通信ポートのいずれかに到着した場合に前記フレームに含まれるメッセージの種別を解析メッセージ種別として得るフレーム解析部と、
     前記中継テーブルから前記フレームに含まれる送信元アドレスと前記解析メッセージ種別と同じ中継メッセージ種別との組に対応する宛先ポートを選択し、選択された宛先ポートから前記フレームが到着した通信ポートと同じ宛先ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択する中継判定部と
    を備える中継装置。
    Multiple communication ports,
    A storage unit that stores a relay table in which a source address, a relay message type, and a destination port are associated with each other;
    A frame analysis unit that obtains a message type included in the frame as an analysis message type when a frame including a source address and a message arrives at any of the plurality of communication ports;
    Select a destination port corresponding to a combination of a source address included in the frame and the same relay message type as the analysis message type from the relay table, and the same destination as the communication port from which the frame arrived from the selected destination port A relay apparatus comprising: a relay determination unit that selects a remaining destination port excluding a port as a communication port that outputs the frame.
  2.  前記フレームは宛先アドレスを含み、
     前記記憶部は、第1メッセージ種別と第2メッセージ種別とが互いに対応付けられたメッセージ対応テーブルを記憶し、
     前記解析メッセージ種別と同じ第1メッセージ種別が前記メッセージ対応テーブルに含まれるか判定し、前記解析メッセージ種別と同じ第1メッセージ種別が前記メッセージ対応テーブルに含まれる場合に前記解析メッセージ種別と同じ第1メッセージ種別に対応する第2メッセージ種別を前記メッセージ対応テーブルから取得して、前記フレームに含まれる宛先アドレスと同じ送信元アドレスと、前記メッセージ対応テーブルから取得された第2メッセージ種別と同じ中継メッセージ種別と、前記フレームが到着した通信ポートと同じ宛先ポートとを互いに対応付けて、前記中継テーブルに登録する中継学習部を備える請求項1に記載の中継装置。
    The frame includes a destination address;
    The storage unit stores a message correspondence table in which the first message type and the second message type are associated with each other;
    It is determined whether the first message type that is the same as the analysis message type is included in the message correspondence table. When the first message type that is the same as the analysis message type is included in the message correspondence table, the first same as the analysis message type The second message type corresponding to the message type is obtained from the message correspondence table, the same source address as the destination address included in the frame, and the same relay message type as the second message type obtained from the message correspondence table The relay apparatus according to claim 1, further comprising: a relay learning unit that associates a communication port with which the frame has arrived with the same destination port and registers the same in the relay table.
  3.  前記フレームは宛先アドレスを含み、
     前記記憶部は、前記中継テーブルを第2中継テーブルとして記憶し、宛先アドレスと宛先ポートとが互いに対応付けられた第1中継テーブルを記憶し、
     前記中継判定部は、前記第1中継テーブルから前記フレームに含まれる宛先アドレスに対応する宛先ポートを選択し、前記第1中継テーブルから選択された宛先ポートと前記第2中継テーブルから選択された宛先ポートとから前記フレームが到着した通信ポートと同じ宛先ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択する
    請求項1に記載の中継装置。
    The frame includes a destination address;
    The storage unit stores the relay table as a second relay table, stores a first relay table in which a destination address and a destination port are associated with each other,
    The relay determination unit selects a destination port corresponding to a destination address included in the frame from the first relay table, and selects a destination port selected from the first relay table and a destination selected from the second relay table. The relay device according to claim 1, wherein a remaining destination port excluding a destination port that is the same as a communication port from which the frame has arrived is selected as a communication port that outputs the frame.
  4.  前記フレームに含まれる送信元アドレスと同じ宛先アドレスと前記フレームが到着した通信ポートと同じ宛先ポートとを互いに対応付けて前記第1中継テーブルに登録する中継学習部を備える
    請求項3に記載の中継装置。
    The relay according to claim 3, further comprising: a relay learning unit that registers the same destination address as the source address included in the frame and the same destination port as the communication port at which the frame arrives in association with each other in the first relay table. apparatus.
  5.  前記記憶部は、中継メッセージ種別を含んだ中継メッセージリストを記憶し、
     前記中継判定部は、前記解析メッセージ種別と同じ中継メッセージ種別が前記中継メッセージリストに含まれるか判定し、前記解析メッセージ種別と同じ中継メッセージ種別が前記中継メッセージリストに含まれる場合に前記複数の通信ポートから前記フレームが到着した通信ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択し、前記解析メッセージ種別と同じ中継メッセージ種別が前記中継メッセージリストに含まれない場合に前記中継テーブルから選択された宛先ポートから前記フレームが到着した通信ポートと同じ宛先ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択する
    請求項1に記載の中継装置。
    The storage unit stores a relay message list including a relay message type,
    The relay determination unit determines whether the same relay message type as the analysis message type is included in the relay message list, and when the same relay message type as the analysis message type is included in the relay message list, the plurality of communication The remaining destination port excluding the communication port from which the frame arrived is selected as a communication port that outputs the frame, and the relay message type is not included in the relay message list if the same relay message type as the analysis message type is not included in the relay message list The relay apparatus according to claim 1, wherein a remaining destination port excluding a destination port that is the same as a communication port from which the frame has arrived is selected as a communication port that outputs the frame from destination ports selected from a table.
  6.  前記記憶部は、中継メッセージ種別と宛先ポートとが互いに対応付けられた中継メッセージテーブルを記憶し、
     前記中継判定部は、前記解析メッセージ種別と同じ中継メッセージ種別が前記中継メッセージテーブルに含まれるか判定し、前記解析メッセージ種別と同じ中継メッセージ種別が前記中継メッセージテーブルに含まれる場合に前記中継メッセージテーブルから前記解析メッセージ種別と同じ中継メッセージ種別に対応する宛先ポートを選択し、選択された宛先ポートから前記フレームが到着した通信ポートと同じ宛先ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択し、前記解析メッセージ種別と同じ中継メッセージ種別が前記中継メッセージテーブルに含まれない場合に前記中継テーブルから選択された宛先ポートから前記フレームが到着した通信ポートと同じ宛先ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択する
    請求項1に記載の中継装置。
    The storage unit stores a relay message table in which a relay message type and a destination port are associated with each other,
    The relay determination unit determines whether the same relay message type as the analysis message type is included in the relay message table, and when the same relay message type as the analysis message type is included in the relay message table, the relay message table A destination port corresponding to the same relay message type as the analysis message type, and outputting the frame to the remaining destination ports excluding the same destination port as the communication port where the frame arrived from the selected destination port Selected as a port, and when the same relay message type as the analysis message type is not included in the relay message table, remaining from the destination port selected from the relay table except the same destination port as the communication port from which the frame arrived The destination port of the Relay apparatus according to claim 1 which is selected as a communication port for outputting the frame.
  7.  前記中継学習部は、前記フレームが到着した通信ポートの伝送帯域に基づいて登録の要否を判定し、登録が必要であると判定した場合に、前記フレームに含まれる宛先アドレスと同じ送信元アドレスと、前記メッセージ対応テーブルから取得された第2メッセージ種別と同じ中継メッセージ種別と、前記フレームが到着した通信ポートと同じ宛先ポートとを互いに対応付けて、前記中継テーブルに登録する
    請求項2に記載の中継装置。
    The relay learning unit determines whether or not registration is necessary based on a transmission band of a communication port at which the frame has arrived, and when it is determined that registration is necessary, the same source address as the destination address included in the frame And the same relay message type as the second message type acquired from the message correspondence table and the same destination port as the communication port at which the frame arrived are associated with each other and registered in the relay table. Relay device.
  8.  前記中継判定部は、前記複数の通信ポートから前記フレームが到着した通信ポートを除いた残りの通信ポートの伝送帯域に基づいて絞り込みの要否を判定し、絞り込みが必要であると判定した場合に、前記中継テーブルから選択された宛先ポートから前記フレームが到着した通信ポートと同じ宛先ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択し、絞り込みが不要であると判定した場合に、前記複数の通信ポートから前記フレームが到着した通信ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択する
    請求項1に記載の中継装置。
    The relay determination unit determines whether or not narrowing is necessary based on the transmission bandwidth of the remaining communication ports excluding the communication port where the frame has arrived from the plurality of communication ports. When selecting the remaining destination port except the same destination port as the communication port from which the frame arrived from the destination port selected from the relay table as the communication port that outputs the frame, and determining that the narrowing is unnecessary The relay apparatus according to claim 1, wherein a remaining destination port excluding a communication port at which the frame has arrived from the plurality of communication ports is selected as a communication port that outputs the frame.
  9.  前記中継判定部は、前記複数の通信ポートから前記フレームが到着した通信ポートを除いた残りの通信ポートの伝送帯域に基づいて絞り込みの要否を判定し、絞り込みが必要であると判定した場合に、前記第1中継テーブルから選択された宛先ポートと前記第2中継テーブルから選択された宛先ポートとから前記フレームが到着した通信ポートと同じ宛先ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択し、絞り込みが不要であると判定した場合に、前記複数の通信ポートから前記フレームが到着した通信ポートを除いた残りの宛先ポートを前記フレームを出力する通信ポートとして選択する
    請求項3に記載の中継装置。
    The relay determination unit determines whether or not narrowing is necessary based on the transmission bandwidth of the remaining communication ports excluding the communication port where the frame has arrived from the plurality of communication ports. The frame is output from the destination port selected from the first relay table and the destination port selected from the second relay table except for the same destination port as the communication port where the frame arrived. When the communication port is selected and it is determined that narrowing is not necessary, the remaining destination port excluding the communication port from which the frame has arrived is selected as the communication port that outputs the frame. 3. The relay device according to 3.
PCT/JP2016/068568 2016-06-22 2016-06-22 Relay device WO2017221357A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2016/068568 WO2017221357A1 (en) 2016-06-22 2016-06-22 Relay device
JP2018520623A JP6355880B2 (en) 2016-06-22 2016-06-22 Relay device
GB1818272.5A GB2568168B (en) 2016-06-22 2016-06-22 Relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/068568 WO2017221357A1 (en) 2016-06-22 2016-06-22 Relay device

Publications (1)

Publication Number Publication Date
WO2017221357A1 true WO2017221357A1 (en) 2017-12-28

Family

ID=60783881

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/068568 WO2017221357A1 (en) 2016-06-22 2016-06-22 Relay device

Country Status (3)

Country Link
JP (1) JP6355880B2 (en)
GB (1) GB2568168B (en)
WO (1) WO2017221357A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012114646A (en) * 2010-11-24 2012-06-14 Hitachi Cable Ltd Network repeater
JP2013085166A (en) * 2011-10-12 2013-05-09 Fujitsu Ltd Relay program, relay device and control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05114905A (en) * 1991-04-08 1993-05-07 Digital Equip Corp <Dec> Message processing filtering using single address and protocol table bridge
JP2944531B2 (en) * 1996-09-12 1999-09-06 日本電気通信システム株式会社 LAN connection device
US6301256B1 (en) * 1997-09-17 2001-10-09 Sony Corporation Selection technique for preventing a source port from becoming a destination port in a multi-port bridge for a local area network
JP4141106B2 (en) * 2001-02-06 2008-08-27 富士通株式会社 Bandwidth control device
WO2012053061A1 (en) * 2010-10-19 2012-04-26 富士通株式会社 Switch device, information processing device, switch device control method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012114646A (en) * 2010-11-24 2012-06-14 Hitachi Cable Ltd Network repeater
JP2013085166A (en) * 2011-10-12 2013-05-09 Fujitsu Ltd Relay program, relay device and control method

Also Published As

Publication number Publication date
GB2568168A (en) 2019-05-08
GB201818272D0 (en) 2018-12-26
JP6355880B2 (en) 2018-07-11
JPWO2017221357A1 (en) 2018-08-30
GB2568168B (en) 2020-02-12

Similar Documents

Publication Publication Date Title
US10069933B2 (en) System and method for creating virtual interfaces based on network characteristics
US9397929B2 (en) Forwarding multicast packets over different layer-2 segments
KR101925184B1 (en) Virtual router cluster, data forwarding method and device
US9369375B2 (en) Link-layer level link aggregation autoconfiguration
US10958462B2 (en) Using a central controller cluster to configure a distributed multicast logical router
US20090160943A1 (en) Detecting legacy bridges in an audio video bridging network
US20160028589A1 (en) Data loop detection
US10666737B2 (en) Reducing a number of server-client sessions
US20170063630A1 (en) Accessible application cluster topology
JP6355880B2 (en) Relay device
TWI405436B (en) Communication management device, communication device and communication method
US10038622B2 (en) Inline processing of learn actions in a virtual switch
US10122626B2 (en) Self-managed overlay networks
EP2978177B1 (en) Gateway device
TWI799179B (en) Computing systems and methods for management of a network device
JP2017005662A (en) Monitoring device
US9485107B2 (en) System and method for distributed internet group management protocol processing
JPWO2021084927A5 (en) Relay device, in-vehicle communication system, in-vehicle communication program and in-vehicle communication method
CN101491020B (en) Method and system for providing universal plug and play resource surrogates
US11855832B1 (en) Multicast flow restoration following network failure detection
US11979293B2 (en) Centralized network multicast state publication
US20180081698A1 (en) Network management apparatus and method for remotely controlling state of it device
JP6490321B2 (en) Bridge device and equipment network
WO2024024196A1 (en) Relay device, relay method and relay program
WO2024004014A1 (en) Relay device, relay method, relay program, and time synchronization system

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018520623

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 201818272

Country of ref document: GB

Kind code of ref document: A

Free format text: PCT FILING DATE = 20160622

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16906274

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16906274

Country of ref document: EP

Kind code of ref document: A1