WO2017183088A1 - パケット中継装置、パケット中継方法及びパケット中継プログラム - Google Patents

パケット中継装置、パケット中継方法及びパケット中継プログラム Download PDF

Info

Publication number
WO2017183088A1
WO2017183088A1 PCT/JP2016/062293 JP2016062293W WO2017183088A1 WO 2017183088 A1 WO2017183088 A1 WO 2017183088A1 JP 2016062293 W JP2016062293 W JP 2016062293W WO 2017183088 A1 WO2017183088 A1 WO 2017183088A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
retransmission
transmission
destination device
control unit
Prior art date
Application number
PCT/JP2016/062293
Other languages
English (en)
French (fr)
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/062293 priority Critical patent/WO2017183088A1/ja
Publication of WO2017183088A1 publication Critical patent/WO2017183088A1/ja

Links

Images

Definitions

  • the present invention relates to packet relay.
  • a packet relay device receives a packet transmitted from a packet transmission source device (hereinafter referred to as a transmission source device), and the packet relay device replicates the received packet.
  • a transmission source device a packet transmission source device
  • destination devices a packet destination devices
  • the destination device If the destination device has not reached the packet, the destination device requests the packet relay device to retransmit the packet that has not been reached.
  • a conventional packet relay device retransmits a packet to all of a plurality of destination devices when retransmission of the packet is requested.
  • the communication band of a destination device that has not requested retransmission (that is, a destination device that has already received a packet) is the bandwidth of a packet that has been transmitted based on a retransmission request from another destination device. There is a problem that it is under pressure due to retransmission.
  • the main object of the present invention is to solve such a problem, and the communication band of a destination device that has not requested retransmission is a packet of a packet that is transmitted based on a retransmission request from another destination device.
  • the main purpose is to avoid the situation of being overwhelmed by retransmission.
  • the packet relay device is: A receiver for receiving the packet; A transmission unit that replicates the packet received by the reception unit and transmits the plurality of packets obtained by the replication to a plurality of destination devices; When a retransmission of the packet is requested by any one of the plurality of transmission destination devices, a retransmission target transmission device that is a transmission destination device that has requested retransmission of the packet is identified, and the transmission A control unit that instructs only the retransmission target destination device to retransmit the packet, and causes the transmission unit to retransmit the packet only to the retransmission target destination device.
  • the retransmission target destination device is specified, and the packet is retransmitted only to the retransmission target destination device. For this reason, according to the present invention, it is possible to avoid a situation in which the communication band of a destination device that has not requested retransmission is under pressure due to packet retransmission performed based on a retransmission request from another destination device. can do.
  • FIG. 1 is a diagram illustrating a configuration example of a communication system according to Embodiment 1.
  • FIG. FIG. 6 is a diagram showing an example of replication transfer path information according to the first embodiment.
  • FIG. 6 is a diagram illustrating an example of retransmission request management information according to the first embodiment.
  • FIG. 3 is a diagram illustrating a hardware configuration example of a controller according to the first embodiment.
  • FIG. 3 is a diagram illustrating a hardware configuration example of a switch according to the first embodiment.
  • FIG. 3 is a flowchart showing an operation example at the time of initial packet transmission according to the first embodiment.
  • FIG. 6 is a flowchart showing an operation example at the time of packet retransmission according to the first embodiment.
  • FIG. 6 is a flowchart showing an operation example at the time of packet retransmission according to the first embodiment.
  • FIG. 6 is a flowchart showing an operation example at the time of packet retransmission according to the first embodiment.
  • FIG. 6 is a flowchart showing an operation example at the time of packet retransmission according to the first embodiment.
  • FIG. 4 is a diagram illustrating a configuration example of a communication system according to a second embodiment.
  • FIG. 10 is a diagram showing an example of replication transfer path information according to the second embodiment.
  • FIG. *** Explanation of configuration *** FIG. 1 shows a configuration example of a communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a packet relay device 1000, a transmission source device 2000, a first transmission destination device 3000, and a second transmission destination device 4000.
  • the transmission source device 2000 transmits a packet addressed to the first transmission destination device 3000 to the packet relay apparatus 1000.
  • the packet relay apparatus 1000 receives the packet transmitted from the transmission source device 2000, and duplicates the received packet. Then, the packet relay apparatus 1000 transmits a packet from the transmission source device 2000 to the first transmission destination device 3000, and transmits a duplicated packet (hereinafter referred to as a replication packet) to the second transmission destination device 4000.
  • the operation performed by the packet relay apparatus 1000 is an example of a packet relay method and a packet relay program.
  • the packet relay apparatus 1000 is a computer that includes a controller 1100 and a switch 1200.
  • the controller 1100 and the switch 1200 are connected.
  • the controller 1100 controls the operation of the switch 1200. More specifically, the controller 1100 controls packet duplication and retransmission by the switch 1200.
  • the switch 1200 is connected to the transmission source device 2000, the first transmission destination device 3000, and the second transmission destination device 4000.
  • the switch 1200 performs packet duplication and transfer in accordance with instructions from the controller 1100. More specifically, the switch 1200 receives the packet from the transmission source device 2000, duplicates the received packet, transmits the packet from the transmission source device 2000 to the first transmission destination device 3000, and performs the second transmission. The duplicate packet is transmitted to the destination device 4000.
  • the switch 1200 is an example of a reception unit and a transmission unit.
  • the operations performed by the switch 1200 are examples of reception processing and transmission processing.
  • the controller 1100 includes a control unit 110, a duplicate transfer path information storage unit 1121, and a retransmission request management information storage unit 1122.
  • the control unit 110 includes a duplication control unit 1111 and a retransmission control unit 1112. Details of the duplication control unit 1111 and the retransmission control unit 1112 will be described later.
  • the operation performed by the control unit 110 is an example of control processing.
  • the duplicate transfer path information storage unit 1121 stores the duplicate transfer path information 1021 shown in FIG.
  • the retransmission request management information storage unit 1122 stores the retransmission request management information 1022 shown in FIG. Details of the copy transfer path information 1021 and the retransmission request management information 1022 will be described later.
  • FIG. 4 shows a hardware configuration example of the controller 1100.
  • the processor 1110 executes a program. Specifically, the processor 1110 executes a program that realizes the functions of the replication control unit 1111 and the retransmission control unit 1112 illustrated in FIG. Programs that realize the functions of the duplication control unit 1111 and the retransmission control unit 1112 are stored in the storage device 1120.
  • FIG. 4 schematically illustrates a state in which the processor 1110 is executing a program that implements the functions of the replication control unit 1111 and the retransmission control unit 1112.
  • the storage device 1120 also stores copy transfer path information 1021 and retransmission request management information 1022.
  • the storage device 1120 implements the duplicate transfer path information storage unit 1121 and the retransmission request management information storage unit 1122 shown in FIG.
  • the output device 1130 is used by the user of the packet relay device 1000 to confirm the copy transfer path information 1021 and the retransmission request management information 1022.
  • the output device 1130 displays, for example, copy transfer path information 1021 and retransmission request management information 1022.
  • the input device 1140 is used for the user of the packet relay device 1000 to input the copy transfer path information 1021 to the packet relay device 1000.
  • the communication device 1150 communicates with the switch 1200.
  • FIG. 5 shows a hardware configuration example of the switch 1200.
  • the processor 1210 executes packet duplication processing and packet transfer processing.
  • the storage device 1220 stores setting information of the switch 1200 and a packet transfer path instructed from the controller 1100.
  • Communication device 1230 communicates with controller 1100.
  • the communication device 1230 communicates with the transmission source device 2000, the first transmission destination device 3000, and the second transmission destination device 4000.
  • the replication control unit 1111 calls the retransmission control unit 1112 when the switch 1200 receives a packet from the transmission source device 2000.
  • the duplication control unit 1111 acquires the determination result of the retransmission control unit 1112 from the retransmission control unit 1112.
  • the retransmission control unit 1112 determines that the packet received by the switch 1200 is a packet transmitted for the first time from the transmission source device 2000 (hereinafter also referred to as an initial transmission packet)
  • the duplication control unit 1111 performs the initial transmission.
  • the switch 1200 is instructed to generate a copy of the packet.
  • the duplication control unit 1111 instructs the switch 1200 as the transmission destination of the initial transmission packet to the first transmission destination device 3000 and the second transmission destination device 4000.
  • the retransmission control unit 1112 determines that the packet received by the switch 1200 is a packet retransmitted from the transmission source device 2000 (hereinafter also referred to as a retransmission packet), the replication control unit 1111
  • the switch 1200 is instructed to retransmit the retransmission packet only to the transmission destination device that requested the retransmission (transmission target device).
  • the retransmission packet is transmitted only to the retransmission target transmission destination device.
  • the duplication control unit 1111 also calls the retransmission control unit 1112 when the switch 1200 receives a retransmission request packet from the first transmission destination device 3000 or the second transmission destination device 4000. Further, the duplication control unit 1111 requests the transmission source device 2000 to retransmit the packet requested to be retransmitted by the retransmission request packet via the switch 1200.
  • the retransmission control unit 1112 determines whether the packet received by the switch 1200 is an initial transmission packet or a retransmission packet based on the retransmission request management information 1022. judge. If the packet received by the switch 1200 is a retransmission packet, the retransmission control unit 1112 identifies a transmission destination device (retransmission target transmission destination device) that has requested retransmission of the packet. The retransmission control unit 1112 generates retransmission request management information 1022 when the switch 1200 receives a retransmission request packet from the first transmission destination device 3000 or the second transmission destination device 4000.
  • the copy transfer path information storage unit 1121 stores copy transfer path information 1021.
  • the replication transfer path information 1021 includes a source IP (Internet Protocol) address, a transmission destination IP address, a replication destination IP address, and a replication condition.
  • the transmission source IP address is a communication address of the packet transmission source device described in the header of the packet.
  • the transmission destination IP address is a communication address of a packet transmission destination device described in the packet header.
  • the duplication destination IP address is a communication address of a destination device of the duplicate packet.
  • the duplication condition is a condition for a message attribute (hereinafter referred to as a message attribute) included in the packet.
  • the transmission source IP address is, for example, the IP address of the transmission source device 2000.
  • the transmission destination IP address is, for example, the IP address of the first transmission destination device 3000.
  • the replication destination IP address is, for example, the IP address of the second transmission destination device 4000.
  • the duplication control unit 1111 transmits the source IP address and destination IP address of the initial transmission packet as the source IP address and destination IP of the duplication transfer path information 1021. Determine if it matches the address. Further, the duplication control unit 1111 determines whether the message attribute of the initial transmission packet satisfies the duplication condition of the duplication transfer path information 1021. Then, the source IP address and destination IP address of the first transmission packet match the source IP address and destination IP address of the replication transfer path information 1021, and the message attribute of the initial transmission packet is the replication condition of the replication transfer path information 1021.
  • the duplication control unit 1111 determines the duplication of the initial transmission packet and the transmission of the duplication packet to a device having the duplication destination IP address.
  • the replication condition may not be defined in the replication transfer path information 1021.
  • the replication control unit 1111 determines that the transmission source IP address and transmission destination IP address of the replication transfer path information 1021 are the transmission source IP address and transmission destination IP address of the initial transmission packet. Determine if it matches the address.
  • the replication control unit 1111 copies the replication of the initial transmission packet. The generation and transmission of the duplicate packet to the device having the duplicate IP address are determined.
  • the retransmission request management information storage unit 1122 stores the retransmission request management information 1022 shown in FIG. As shown in FIG. 3, the retransmission request management information 1022 includes a transmission source IP address and a sequence number.
  • the transmission source IP address is the communication address of the transmission source device of the retransmission request packet.
  • the sequence number is a sequence number set in a packet for which retransmission is requested.
  • the retransmission control unit 1112 determines whether the sequence number of the packet received by the switch 1200 from the transmission source device 2000 matches the sequence number of the retransmission request management information 1022.
  • the retransmission control unit 1112 determines that the packet received by the switch 1200 from the transmission source device 2000 is a retransmission packet. Judge that there is.
  • the switch 1200 determines that the packet received from the transmission source device 2000 is a retransmission packet
  • the retransmission control unit 1112 notifies the replication control unit 1111 of the transmission source IP address of the retransmission request management information 1022.
  • the retransmission control unit 1112 receives the first packet received from the transmission source device 2000 by the switch 1200. It is determined that the packet is a transmission packet.
  • the transmission source device 2000 transmits a packet addressed to the first transmission destination device 3000 to the packet relay apparatus 1000 (step S101).
  • the switch 1200 receives a packet from the transmission source device 2000. Further, the switch 1200 transmits the transmission source IP address, transmission destination IP address, sequence number, and message attribute included in the received packet to the controller 1100 as packet information (step S102).
  • the duplication control unit 1111 acquires the packet information transmitted by the switch 1200 and calls the retransmission control unit 1112 (step S103).
  • the replication control unit 1111 transmits packet information to the retransmission control unit 1112 when calling the retransmission control unit 1112.
  • the retransmission control unit 1112 receives the packet information from the duplication control unit 1111 and reads the retransmission request management information 1022 from the retransmission request management information storage unit 1122. Then, retransmission control section 1112 collates the sequence number of the packet information with the sequence number of retransmission request management information 1022 (step S104). Here, since the sequence number of the packet information does not match the sequence number of retransmission request management information 1022, retransmission control section 1112 determines that the packet received by switch 1200 is the first transmission packet (step S104). Then, retransmission control section 1112 notifies duplication control section 1111 that the packet received by switch 1200 is the first transmission packet. Note that even when the retransmission request management information 1022 does not exist in the retransmission request management information storage unit 1122, the retransmission control unit 1112 determines that the packet received by the switch 1200 is an initial transmission packet.
  • the duplication control unit 1111 collates the packet information with the duplication transfer path information 1021, and determines whether or not to duplicate the packet and the transmission destination of the packet (step S105).
  • the replication control unit 1111 determines the generation of the packet replication and the transmission of the replication packet to the device having the replication destination IP address.
  • the duplication control unit 1111 determines the duplication of the packet and the transmission of the duplication packet to the second transmission destination device 4000.
  • the duplication control unit 1111 instructs the switch 1200 to generate packet duplication and transmit the duplication packet to the second transmission destination device 4000.
  • the switch 1200 generates a copy of the packet based on an instruction from the copy control unit 1111, transmits the packet received from the transmission source device 2000 to the first transmission destination device 3000, and transmits the replication packet to the second transmission destination device. It transmits to 4000 (step S106).
  • the duplicate packet is the same as the packet received from the transmission source device 2000 except that the transmission destination IP address is the IP address of the second transmission destination device 4000.
  • FIGS. 7 and 8 show an operation example when the first transmission destination device 3000 makes a retransmission request.
  • the first transmission destination device 3000 transmits a retransmission request packet addressed to the transmission source device 2000 to the packet relay apparatus 1000 (step S201).
  • the retransmission request packet the sequence number of a packet that has not reached the first destination device 3000 (hereinafter referred to as an unreachable sequence number) is described.
  • the switch 1200 receives the retransmission request packet from the first transmission destination device 3000. Further, the switch 1200 transmits the transmission source IP address, transmission destination IP address, and unreached sequence number included in the received retransmission request packet to the controller 1100 as packet information (step S202).
  • the duplication control unit 1111 acquires the packet information transmitted by the switch 1200 and calls the retransmission control unit 1112 (step S203).
  • the replication control unit 1111 transmits packet information to the retransmission control unit 1112 when calling the retransmission control unit 1112.
  • the retransmission control unit 1112 receives packet information from the replication control unit 1111. Also, the retransmission control unit 1112 determines that the packet received by the switch 1200 is a retransmission request packet based on the transmission source IP address included in the packet information, and that the transmission source of the retransmission request packet is the first transmission destination device 3000. Is identified. Then, retransmission control section 1112 generates retransmission request management information 1022 using the source IP address and unreached sequence number included in the packet information (step S204). The retransmission control unit 1112 stores the generated retransmission request management information 1022 in the retransmission request management information storage unit 1122. Furthermore, the retransmission control unit 1112 notifies the replication control unit 1111 that the packet received by the switch 1200 is a retransmission request packet and that the transmission source of the retransmission request packet is the first transmission destination device 3000.
  • the replication control unit 1111 instructs the switch 1200 to transmit the retransmission request packet from the first transmission destination device 3000 to the transmission source device 2000 (step S205).
  • the switch 1200 transmits a retransmission request packet from the first transmission destination device 3000 to the transmission source device 2000 based on an instruction from the replication control unit 1111 (step S206).
  • the transmission source device 2000 retransmits a packet (packet addressed to the first transmission destination device 3000) corresponding to the unreachable sequence number described in the retransmission request packet to the packet relay apparatus 1000 (step S207).
  • the switch 1200 receives a retransmission packet from the transmission source device 2000. Further, the switch 1200 transmits the transmission source IP address, transmission destination IP address, sequence number, and message attribute included in the received retransmission packet as packet information to the controller 1100 (step S208).
  • the replication control unit 1111 acquires the packet information transmitted by the switch 1200 and calls the retransmission control unit 1112 (step S209).
  • the replication control unit 1111 transmits packet information to the retransmission control unit 1112 when calling the retransmission control unit 1112.
  • the retransmission control unit 1112 receives the packet information from the duplication control unit 1111 and reads the retransmission request management information 1022 from the retransmission request management information storage unit 1122. Then, retransmission control section 1112 collates the sequence number of the packet information with the sequence number of retransmission request management information 1022 (step S210). Here, since the sequence number of the packet information matches the sequence number of retransmission request management information 1022, retransmission control section 1112 determines that the packet received by switch 1200 is a retransmission packet (step S210).
  • the retransmission control unit 1112 confirms from the transmission source IP address of the retransmission request management information 1022 that the transmission destination device that requested retransmission of the retransmission packet (transmission target transmission destination device) is the first transmission destination device 3000. Identify. Further, the retransmission control unit 1112 notifies the replication control unit 1111 that the packet received by the switch 1200 is a retransmission packet, and notifies the replication control unit 1111 of the transmission source IP address of the retransmission request management information 1022. Further, retransmission control section 1112 deletes retransmission request management information 1022 whose sequence number matches the sequence number of the packet information from retransmission request management information storage section 1122.
  • the duplication control unit 1111 collates the transmission source IP address notified from the retransmission control unit 1112 with the transmission destination IP address of the packet information. Since both match, the replication control unit 1111 instructs the switch 1200 to transmit the retransmission packet to the first transmission destination device 3000 (step S211).
  • the switch 1200 transmits a retransmission packet to the first transmission destination device 3000 based on an instruction from the duplication control unit 1111 (step S212).
  • FIGS. 9 and 10 show an operation example when the second transmission destination device 4000 makes a retransmission request.
  • the second transmission destination device 4000 transmits a retransmission request packet addressed to the transmission source device 2000 to the packet relay apparatus 1000 (step S301).
  • a sequence number of a packet that has not reached the second transmission destination device 4000 (hereinafter referred to as an unreachable sequence number) is described.
  • the switch 1200 receives the retransmission request packet from the second transmission destination device 4000. Further, the switch 1200 transmits the transmission source IP address, transmission destination IP address, and unreached sequence number included in the received retransmission request packet to the controller 1100 as packet information (step S302).
  • the duplication control unit 1111 acquires the packet information transmitted by the switch 1200 and calls the retransmission control unit 1112 (step S303).
  • the replication control unit 1111 transmits packet information to the retransmission control unit 1112 when calling the retransmission control unit 1112.
  • the retransmission control unit 1112 receives packet information from the replication control unit 1111. Also, the retransmission control unit 1112 determines that the packet received by the switch 1200 is a retransmission request packet based on the transmission source IP address included in the packet information, and that the transmission source of the retransmission request packet is the second transmission destination device 4000. Is identified. Then, retransmission control section 1112 generates retransmission request management information 1022 using the transmission source IP address and unreachable sequence number included in the packet information (step S304). The retransmission control unit 1112 stores the generated retransmission request management information 1022 in the retransmission request management information storage unit 1122. Further, the retransmission control unit 1112 notifies the replication control unit 1111 that the packet received by the switch 1200 is a retransmission request packet and that the transmission source of the retransmission request packet is the second transmission destination device 4000.
  • the duplication control unit 1111 changes the transmission source IP address of the retransmission request packet from the second transmission destination device 4000 to the IP address of the first transmission destination device 3000, and changes the transmission source IP address to the switch 1200. It is instructed to transmit the changed retransmission request packet to the transmission source device 2000 (step S305).
  • the switch 1200 changes the transmission source IP address of the retransmission request packet from the second transmission destination device 4000 to the IP address of the first transmission destination device 3000 based on the instruction from the duplication control unit 1111, and transmits the transmission source IP address.
  • the retransmission request packet after the change is transmitted to the transmission source device 2000 (step S306).
  • the transmission source device 2000 retransmits the packet corresponding to the unreachable sequence number described in the retransmission request packet (packet addressed to the first transmission destination device 3000) to the packet relay apparatus 1000 (step S307).
  • the switch 1200 receives a retransmission packet from the transmission source device 2000. Further, the switch 1200 transmits the transmission source IP address, transmission destination IP address, sequence number, and message attribute included in the received retransmission packet as packet information to the controller 1100 (step S308).
  • the replication control unit 1111 acquires the packet information transmitted by the switch 1200 and calls the retransmission control unit 1112 (step S309).
  • the replication control unit 1111 transmits packet information to the retransmission control unit 1112 when calling the retransmission control unit 1112.
  • the retransmission control unit 1112 receives the packet information from the duplication control unit 1111 and reads the retransmission request management information 1022 from the retransmission request management information storage unit 1122. Then, retransmission control section 1112 collates the sequence number of the packet information with the sequence number of retransmission request management information 1022 (step S310). Here, since the sequence number of the packet information matches the sequence number of retransmission request management information 1022, retransmission control section 1112 determines that the packet received by switch 1200 is a retransmission packet (step S310).
  • the retransmission control unit 1112 confirms from the transmission source IP address of the retransmission request management information 1022 that the transmission destination device that requested retransmission of the retransmission packet (transmission target transmission destination device) is the second transmission destination device 4000. Identify. Further, the retransmission control unit 1112 notifies the replication control unit 1111 that the packet received by the switch 1200 is a retransmission packet, and notifies the replication control unit 1111 of the transmission source IP address of the retransmission request management information 1022. Further, retransmission control section 1112 deletes retransmission request management information 1022 whose sequence number matches the sequence number of the packet information from retransmission request management information storage section 1122.
  • the duplication control unit 1111 collates the transmission source IP address notified from the retransmission control unit 1112 with the transmission destination IP address of the packet information. Here, since they do not match, the duplication control unit 1111 changes the transmission destination IP address of the retransmission packet to the IP address of the second transmission destination device 4000, and also changes the transmission destination IP address. It is instructed to transmit the retransmitted packet to the second transmission destination device 4000 (step S311).
  • the switch 1200 Based on the instruction from the replication control unit 1111, the switch 1200 changes the destination IP address of the retransmission packet to the IP address of the second destination device 4000, and changes the destination packet after changing the destination IP address to the second address. To the destination device 4000 (step S312).
  • the conventional packet relay apparatus Since the conventional packet relay apparatus does not perform retransmission control, it transmits all packets to all transmission destination devices. For this reason, according to the conventional packet relay apparatus, the communication band of the transmission destination device not requesting retransmission is compressed by the retransmission of the packet performed based on the retransmission request from another transmission destination device.
  • control section 110 identifies a retransmission target transmission destination device and retransmits the packet only to the retransmission target transmission destination device. That is, according to the packet relay apparatus according to the present embodiment, when retransmission of a packet is requested from first transmission destination device 3000, a retransmission packet is transmitted only to first transmission destination device 3000. Similarly, when retransmission of a packet is requested from the second transmission destination device 4000, the retransmission packet is transmitted only to the second transmission destination device 4000. Therefore, according to the present embodiment, it is possible to avoid a situation in which the communication band of a destination device that has not requested retransmission is under pressure due to packet retransmission performed based on a request from another destination device. can do.
  • control unit 110 changes the transmission source IP address of the retransmission request packet to the IP address of first transmission destination device 3000. Since the transmission source IP address of the retransmission request packet is the IP address of the first transmission destination device 3000, the transmission source device 2000 retransmits the packet. Thus, according to the present embodiment, retransmission to the second transmission destination device 4000 can be realized with certainty.
  • packet duplication processing is performed not by a server device on a communication path but by a packet relay device that is a network device. Therefore, according to the present embodiment, there is no need to set a new communication connection between the packet relay device and the first transmission destination device, between the packet relay device and the second transmission destination device, There is an effect that the communication load is reduced. In addition, there is also an effect that it is not necessary to consider packet loss countermeasures in communication system application development.
  • Embodiment 2 FIG. In Embodiment 1, an example in which there are two transmission destination devices has been described, but in this embodiment, an example in which there are three or more transmission destination devices will be described.
  • FIG. 11 shows a configuration example of a communication system according to the present embodiment.
  • packet relay apparatus 1000 is connected to first transmission destination device 3000, second transmission destination device A 4100, and second transmission destination device B 4200.
  • the communication system in FIG. 11 is the same as the communication system in FIG. 1 except that the second transmission destination device 4000 is changed to a second transmission destination device A 4100 and a second transmission destination device B 4200.
  • FIG. 11 only the second transmission destination device A 4100 and the second transmission destination device B 4200 are shown for the sake of simplicity of explanation, but there may be three or more second transmission destination devices.
  • FIG. 12 shows an example of the replication transfer path information 1021 according to the present embodiment.
  • the replication destination IP address A is, for example, the IP address of the second transmission destination device A 4100.
  • the replication destination IP address B is, for example, the IP address of the second transmission destination device B 4200.
  • the replication condition A is a condition for transmitting a replication packet to a transmission destination device having the replication destination IP address A.
  • the replication condition B is a condition for transmitting a replication packet to a transmission destination device having the replication destination IP address B.
  • the replication control unit 1111 when the packet received by the switch 1200 is the initial transmission packet, the replication control unit 1111 has the transmission source IP address and transmission destination IP address of the initial transmission packet as the transmission source of the replication transfer path information 1021. It is determined whether the IP address and the destination IP address match. Further, the duplication control unit 1111 determines whether the message attribute of the initial transmission packet satisfies the duplication condition A or the duplication condition B. Then, the source IP address and destination IP address of the first transmission packet match the source IP address and destination IP address of the replication transfer path information 1021, and the message attribute of the initial transmission packet is the replication condition of the replication transfer path information 1021.
  • the duplication control unit 1111 determines the duplication of the initial transmission packet and the transmission of the duplication packet to the device having the duplication destination IP address A. Similarly, the transmission source IP address and transmission destination IP address of the first transmission packet match the transmission source IP address and transmission destination IP address of the copy transfer path information 1021, and the message attribute of the first transmission packet is a copy of the copy transfer path information 1021. When the condition B is satisfied, the replication control unit 1111 determines to generate a copy of the initial transmission packet and to transmit the replication packet to a device having the replication destination IP address B.
  • the replication control unit 1111 When the message attribute of the first transmission packet satisfies the replication condition A and the replication condition B of the replication transfer path information 1021, the replication control unit 1111 has a device having the replication destination IP address A and a device having the replication destination IP address B. Decide to send duplicate packets to.
  • the replication control unit 1111 designates the destination device that transmits a packet to the second destination device A 4100 and the second destination device other than the first destination device 3000 that is the destination destination device.
  • the transmission destination device B4200 is selected.
  • the switch 1200 transmits the packet to the first transmission destination device 3000 that is the destination transmission destination device and the second transmission destination device selected by the duplication control unit 1111.
  • the duplicate transfer path information storage unit 1121 stores the duplicate transfer path information 1021 in FIG. 12, and the duplicate control unit 1111 uses the duplicate transfer path information 1021 in FIG. This is the same as the first embodiment except that is selected.
  • complicated communication control can be realized for a large-scale system having a plurality of second destination devices.
  • Each of the processor 1110 and the processor 1210 is an IC (Integrated Circuit) that performs processing.
  • the processor 1110 and the processor 1210 are a CPU (Central Processing Unit) and a DSP (Digital Signal Processor), respectively.
  • the storage device 1120 and the storage device 1220 are a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, a HDD (Hard Disk Drive), and the like.
  • Each of the communication device 1150 and the communication device 1230 is, for example, a communication chip or a NIC (Network Interface Card).
  • the storage device 1120 also stores an OS (Operating System). At least a part of the OS is executed by the processor 1110.
  • the processor 1110 executes a program for realizing the functions of the replication control unit 1111 and the retransmission control unit 1112 while executing at least a part of the OS.
  • OS Operating System
  • the processor 1110 executes the OS, task management, memory management, file management, communication control, and the like are performed.
  • information, data, signal values, and variable values indicating the processing results of the duplication control unit 1111 and the retransmission control unit 1112 are stored in the storage device 1120 or a register or cache memory in the processor 1110.
  • the program that realizes the functions of the replication control unit 1111 and the retransmission control unit 1112 may be stored in a portable storage medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, or a DVD.
  • the packet relay apparatus 1000 may be realized by an electronic circuit such as a logic IC (Integrated Circuit), a GA (Gate Array), an ASIC (Application Specific Integrated Circuit), or an FPGA (Field-Programmable Gate Array). Note that the processor 1110 and the electronic circuits described above are collectively referred to as processing circuitry.
  • 1000 packet relay device 1021 replication transfer path information, 1022 retransmission request management information, 1100 controller, 1111, replication control unit, 1112, retransmission control unit, 1121 replication transfer path information storage unit, 1122, retransmission request management information storage unit, 1200 switch, 2000 Source device, 3000, first destination device, 4000, second destination device, 4100, second destination device A, 4200, second destination device B.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

スイッチ(1200)は、送信元機器(2000)からのパケットを受信し、受信したパケットを複製し、複製により得られた複数の前記パケットを第1の送信先機器(3000)と第2の送信先機器(4000)に送信する。制御部(110)は、第1の送信先機器(3000)と第2の送信先機器(4000)のうちのいずれかの送信先機器からパケットの再送を要求された場合に、パケットの再送を要求した送信先機器である再送対象送信先機器を特定する。そして、制御部(110)は、スイッチ(1200)に再送対象送信先機器にのみパケットを再送するよう指示してスイッチ(1200)に再送対象送信先機器にのみパケットを再送させる。

Description

パケット中継装置、パケット中継方法及びパケット中継プログラム
 本発明は、パケットの中継に関する。
 例えば、特許文献1に開示の技術をはじめとして、パケットの送信元の機器(以下、送信元機器という)から送信されたパケットをパケット中継装置が受信し、パケット中継装置が受信したパケットを複製し、複数の送信先の機器(以下、送信先機器という)に同一のパケットを送信する技術が存在する。
特開2005-071238号公報
 送信先機器はパケットが未達の場合は、未達のパケットの再送をパケット中継装置に要求する。従来のパケット中継装置は、パケットの再送が要求された場合は、複数の送信先機器の全てにパケットを再送する。
 このため、従来技術では、再送を要求していない送信先機器(すなわち、パケットを受信済みの送信先機器)の通信帯域が、他の送信先機器からの再送要求に基づいて行われたパケットの再送により圧迫されてしまうという課題がある。
 本発明は、このような課題を解決することを主な目的としており、再送を要求していない送信先機器の通信帯域が、他の送信先機器からの再送要求に基づいて行われたパケットの再送により圧迫されてしまうという事態を回避することを主な目的とする。
 本発明に係るパケット中継装置は、
 パケットを受信する受信部と、
 前記受信部により受信された前記パケットを複製し、複製により得られた複数の前記パケットを複数の送信先機器に送信する送信部と、
 前記複数の送信先機器のうちのいずれかの送信先機器から前記パケットの再送を要求された場合に、前記パケットの再送を要求した送信先機器である再送対象送信先機器を特定し、前記送信部に前記再送対象送信先機器にのみ前記パケットを再送するよう指示して前記送信部に前記再送対象送信先機器にのみ前記パケットを再送させる制御部とを有する。
 本発明では、再送対象送信先機器を特定し、再送対象送信先機器にのみパケットを再送する。このため、本発明によれば、再送を要求していない送信先機器の通信帯域が、他の送信先機器からの再送要求に基づいて行われたパケットの再送により圧迫されてしまうという事態を回避することができる。
実施の形態1に係る通信システムの構成例を示す図。 実施の形態1に係る複製転送経路情報の例を示す図。 実施の形態1に係る再送要求管理情報の例を示す図。 実施の形態1に係るコントローラのハードウェア構成例を示す図。 実施の形態1に係るスイッチのハードウェア構成例を示す図。 実施の形態1に係るパケット初送信時の動作例を示すフローチャート図。 実施の形態1に係るパケット再送時の動作例を示すフローチャート図。 実施の形態1に係るパケット再送時の動作例を示すフローチャート図。 実施の形態1に係るパケット再送時の動作例を示すフローチャート図。 実施の形態1に係るパケット再送時の動作例を示すフローチャート図。 実施の形態2に係る通信システムの構成例を示す図。 実施の形態2に係る複製転送経路情報の例を示す図。
実施の形態1.
***構成の説明***
 図1は、本実施の形態に係る通信システムの構成例を示す。
 図1に示すように、本実施の形態に係る通信システムは、パケット中継装置1000、送信元機器2000、第1の送信先機器3000、第2の送信先機器4000で構成される。
 送信元機器2000は、第1の送信先機器3000宛のパケットをパケット中継装置1000に送信する。
 パケット中継装置1000は、送信元機器2000から送信されたパケットを受信し、受信したパケットを複製する。そして、パケット中継装置1000は、送信元機器2000からのパケットを第1の送信先機器3000に送信し、複製されたパケット(以下、複製パケットという)を第2の送信先機器4000に送信する。
 なお、パケット中継装置1000により行われる動作は、パケット中継方法及びパケット中継プログラムの例である。
 パケット中継装置1000は、コントローラ1100及びスイッチ1200で構成されるコンピュータである。コントローラ1100とスイッチ1200は接続されている。
 コントローラ1100は、スイッチ1200の動作を制御する。より具体的には、コントローラ1100は、スイッチ1200によるパケットの複製及び再送を制御する。
 スイッチ1200は、送信元機器2000、第1の送信先機器3000及び第2の送信先機器4000と接続されている。スイッチ1200は、コントローラ1100からの指示に従ってパケットの複製及び転送を行う。より具体的には、スイッチ1200は、送信元機器2000からパケットを受信し、受信したパケットを複製し、第1の送信先機器3000に送信元機器2000からのパケットを送信し、第2の送信先機器4000に複製パケットを送信する。スイッチ1200は、受信部及び送信部の例である。また、スイッチ1200により行われる動作は、受信処理及び送信処理の例である。
 コントローラ1100は、制御部110、複製転送経路情報記憶部1121及び再送要求管理情報記憶部1122で構成される。
 制御部110は、複製制御部1111及び再送制御部1112で構成される。複製制御部1111及び再送制御部1112の詳細は後述する。制御部110により行われる動作は、制御処理の例である。
 複製転送経路情報記憶部1121は、図2に示す複製転送経路情報1021を記憶する。
 再送要求管理情報記憶部1122は、図3に示す再送要求管理情報1022を記憶する。
 複製転送経路情報1021及び再送要求管理情報1022の詳細は後述する。
 図4は、コントローラ1100のハードウェア構成例を示す。
 プロセッサ1110は、プログラムを実行する。具体的には、プロセッサ1110は、図1に示す複製制御部1111及び再送制御部1112の機能を実現するプログラムを実行する。
 複製制御部1111及び再送制御部1112の機能を実現するプログラムは、記憶装置1120で記憶されている。
 図4は、プロセッサ1110が複製制御部1111及び再送制御部1112の機能を実現するプログラムを実行している状態を模式的に表している。
 記憶装置1120は、複製転送経路情報1021及び再送要求管理情報1022も記憶している。つまり、記憶装置1120は、図1に示す複製転送経路情報記憶部1121及び再送要求管理情報記憶部1122を実現する。
 出力装置1130は、パケット中継装置1000のユーザが複製転送経路情報1021及び再送要求管理情報1022を確認するために用いられる。出力装置1130は、例えば、複製転送経路情報1021及び再送要求管理情報1022を表示する。
 入力装置1140は、パケット中継装置1000のユーザが複製転送経路情報1021をパケット中継装置1000に入力するために用いられる。
 通信装置1150は、スイッチ1200と通信する。
 図5は、スイッチ1200のハードウェア構成例を示す。
 プロセッサ1210は、パケットの複製処理及びパケットの転送処理を実行する。
 記憶装置1220は、スイッチ1200の設定情報及びコントローラ1100から指示されたパケットの転送経路を記憶する。
 通信装置1230は、コントローラ1100と通信する。また、通信装置1230は、送信元機器2000、第1の送信先機器3000及び第2の送信先機器4000と通信する。
 次に、図1に示す複製転送経路情報記憶部1121及び再送要求管理情報記憶部1122を説明する。
 複製制御部1111は、スイッチ1200が送信元機器2000からのパケットを受信した際に、再送制御部1112を呼び出す。また、複製制御部1111は、再送制御部1112から、再送制御部1112の判定結果を取得する。再送制御部1112により、スイッチ1200が受信したパケットが送信元機器2000から初めて送信されたパケット(以下、初送信パケットともいう)であると判定された場合は、複製制御部1111は、当該初送信パケットの複製の生成をスイッチ1200に指示する。また、複製制御部1111は、当該初送信パケットの送信先として、第1の送信先機器3000と第2の送信先機器4000をスイッチ1200に指示する。
 一方、再送制御部1112により、スイッチ1200が受信したパケットが送信元機器2000から再送されたパケット(以下、再送パケットともいう)であると判定されている場合は、複製制御部1111は、パケットの再送を要求した送信先機器(再送対象送信先機器)にのみ再送パケットを再送するようスイッチ1200に指示する。この結果、再送対象送信先機器にのみ再送パケットが送信される。
 また、複製制御部1111は、スイッチ1200が第1の送信先機器3000又は第2の送信先機器4000から再送要求パケットを受信した場合にも、再送制御部1112を呼び出す。また、複製制御部1111は、再送要求パケットで再送が要求されているパケットの再送をスイッチ1200を介して送信元機器2000に要求する。
 再送制御部1112は、スイッチ1200が送信元機器2000からのパケットを受信した場合に、再送要求管理情報1022に基づいて、スイッチ1200が受信したパケットが初送信パケットであるか再送パケットであるかを判定する。また、スイッチ1200が受信したパケットが再送パケットであれば、再送制御部1112は、パケットの再送を要求した送信先機器(再送対象送信先機器)を特定する。
 また、再送制御部1112は、スイッチ1200が第1の送信先機器3000又は第2の送信先機器4000から再送要求パケットを受信した場合に、再送要求管理情報1022を生成する。
 複製転送経路情報記憶部1121は、複製転送経路情報1021を記憶する。
 複製転送経路情報1021は、図2に示すように、送信元IP(Internet Protocol)アドレス、送信先IPアドレス、複製先IPアドレス、複製条件で構成される。
 送信元IPアドレスは、パケットのヘッダに記述される、パケットの送信元の機器の通信アドレスである。送信先IPアドレスは、パケットのヘッダに記述される、パケットの送信先の機器の通信アドレスである。複製先IPアドレスは、複製パケットの送信先の機器の通信アドレスである。複製条件は、パケットに含まれるメッセージの属性(以下、メッセージ属性という)についての条件である。
 送信元IPアドレスは、例えば、送信元機器2000のIPアドレスである。送信先IPアドレスは、例えば、第1の送信先機器3000のIPアドレスである。複製先IPアドレスは、例えば、第2の送信先機器4000のIPアドレスである。
 複製制御部1111は、スイッチ1200が受信したパケットが初送信パケットである場合に、当該初送信パケットの送信元IPアドレス、送信先IPアドレスが複製転送経路情報1021の送信元IPアドレス、送信先IPアドレスに一致するかどうかを判定する。また、複製制御部1111は、当該初送信パケットのメッセージ属性が複製転送経路情報1021の複製条件を満たすかどうかを判定する。そして、初送信パケットの送信元IPアドレス、送信先IPアドレスが複製転送経路情報1021の送信元IPアドレス、送信先IPアドレスに一致し、初送信パケットのメッセージ属性が複製転送経路情報1021の複製条件を満たす場合に、複製制御部1111は、当該初送信パケットの複製の生成と、複製先IPアドレスをもつ機器への複製パケットの送信を決定する。
 なお、複製転送経路情報1021で複製条件を定義しなくてもよい。複製転送経路情報1021で複製条件が定義されていない場合は、複製制御部1111は、初送信パケットの送信元IPアドレス及び送信先IPアドレスが複製転送経路情報1021の送信元IPアドレス及び送信先IPアドレスに一致するかどうかを判定する。そして、初送信パケットの送信元IPアドレス及び送信先IPアドレスが複製転送経路情報1021の送信元IPアドレス及び送信先IPアドレスに一致する場合に、複製制御部1111は、当該初送信パケットの複製の生成と、複製先IPアドレスをもつ機器への複製パケットの送信を決定する。
 再送要求管理情報記憶部1122は、図3に示す再送要求管理情報1022を記憶する。
 再送要求管理情報1022は、図3に示すように、送信元IPアドレス及びシーケンス番号で構成される。
 送信元IPアドレスは、再送要求パケットの送信元の機器の通信アドレスである。シーケンス番号は、再送が要求されているパケットに設定されているシーケンス番号である。
 再送制御部1112は、スイッチ1200が送信元機器2000から受信したパケットのシーケンス番号が再送要求管理情報1022のシーケンス番号に一致するかどうかを判定する。
 スイッチ1200が送信元機器2000から受信したパケットのシーケンス番号が再送要求管理情報1022のシーケンス番号に一致する場合は、再送制御部1112は、スイッチ1200が送信元機器2000から受信したパケットは再送パケットであると判定する。再送制御部1112は、スイッチ1200が送信元機器2000から受信したパケットが再送パケットであると判定した場合は、再送要求管理情報1022の送信元IPアドレスを複製制御部1111に通知する。
 一方、スイッチ1200が送信元機器2000から受信したパケットのシーケンス番号が再送要求管理情報1022のシーケンス番号に一致しない場合は、再送制御部1112は、スイッチ1200が送信元機器2000から受信したパケットは初送信パケットであると判定する。
***動作の説明***
 次に、本実施の形態に係る動作を説明する。
 先ず、図6のフローチャートを参照して、パケット初送信時の動作を説明する。
 最初に、送信元機器2000が、第1の送信先機器3000宛のパケットをパケット中継装置1000に送信する(ステップS101)。
 次に、パケット中継装置1000において、スイッチ1200が、送信元機器2000からのパケットを受信する。更に、スイッチ1200は、受信したパケットに含まれる送信元IPアドレス、送信先IPアドレス、シーケンス番号、メッセージ属性をパケット情報としてコントローラ1100に送信する(ステップS102)。
 次に、複製制御部1111が、スイッチ1200が送信したパケット情報を取得して再送制御部1112を呼出す(ステップS103)。複製制御部1111は、再送制御部1112を呼出す際に、再送制御部1112にパケット情報を送信する。
 再送制御部1112は、複製制御部1111からパケット情報を受信し、また、再送要求管理情報記憶部1122から再送要求管理情報1022を読み出す。そして、再送制御部1112は、パケット情報のシーケンス番号と再送要求管理情報1022のシーケンス番号とを照合する(ステップS104)。ここでは、パケット情報のシーケンス番号と再送要求管理情報1022のシーケンス番号が一致しないため、再送制御部1112は、スイッチ1200が受信したパケットを初送信パケットと判定する(ステップS104)。
 そして、再送制御部1112は、スイッチ1200が受信したパケットが初送信パケットであることを複製制御部1111に通知する。
 なお、再送要求管理情報記憶部1122に再送要求管理情報1022が存在しない場合にも、再送制御部1112は、スイッチ1200が受信したパケットを初送信パケットと判定する。
 複製制御部1111は、パケット情報と複製転送経路情報1021とを照合して、パケットの複製の要否及びパケットの送信先を判定する(ステップS105)。
 パケット情報の送信元IPアドレス、送信先IPアドレスが複製転送経路情報1021の送信元IPアドレス、送信先IPアドレスに一致し、パケット情報のメッセージ属性が複製転送経路情報1021の複製条件を満たす場合に、複製制御部1111は、パケットの複製の生成と、複製先IPアドレスをもつ機器への複製パケットの送信を決定する。
 ここでは、複製制御部1111は、パケットの複製の生成と、複製パケットの第2の送信先機器4000への送信を決定するものとする。
 複製制御部1111は、スイッチ1200に、パケットの複製の生成と、複製パケットの第2の送信先機器4000への送信を指示する。
 スイッチ1200は、複製制御部1111からの指示に基づき、パケットの複製を生成し、送信元機器2000から受信したパケットを第1の送信先機器3000に送信し、複製パケットを第2の送信先機器4000に送信する(ステップS106)。
 複製パケットは、送信先IPアドレスが第2の送信先機器4000のIPアドレスになっている点以外は、送信元機器2000から受信したパケットと同じである。
 次に、図7及び図8のフローチャートを参照して、パケット再送時の動作例を説明する。
 図7及び図8では、第1の送信先機器3000が再送要求を行った場合の動作例が示される。
 第1の送信先機器3000は、送信元機器2000宛の再送要求パケットをパケット中継装置1000に送信する(ステップS201)。なお、再送要求パケットには、第1の送信先機器3000に未達のパケットのシーケンス番号(以下、未達シーケンス番号という)が記述されている。
 次に、パケット中継装置1000において、スイッチ1200が、第1の送信先機器3000からの再送要求パケットを受信する。更に、スイッチ1200は、受信した再送要求パケットに含まれる送信元IPアドレス、送信先IPアドレス、未達シーケンス番号をパケット情報としてコントローラ1100に送信する(ステップS202)。
 次に、複製制御部1111が、スイッチ1200が送信したパケット情報を取得して再送制御部1112を呼出す(ステップS203)。複製制御部1111は、再送制御部1112を呼出す際に、再送制御部1112にパケット情報を送信する。
 再送制御部1112は、複製制御部1111からパケット情報を受信する。また、再送制御部1112は、パケット情報に含まれる送信元IPアドレスに基づき、スイッチ1200が受信したパケットが再送要求パケットであること、更に、再送要求パケットの送信元が第1の送信先機器3000であることを特定する。そして、再送制御部1112は、パケット情報に含まれている送信元IPアドレスと未達シーケンス番号を用いて再送要求管理情報1022を生成する(ステップS204)。また、再送制御部1112は、生成した再送要求管理情報1022を再送要求管理情報記憶部1122に格納する。更に、再送制御部1112は、スイッチ1200が受信したパケットが再送要求パケットであること及び再送要求パケットの送信元が第1の送信先機器3000であることを複製制御部1111に通知する。
 複製制御部1111は、スイッチ1200に、第1の送信先機器3000からの再送要求パケットを送信元機器2000に送信するよう指示する(ステップS205)。
 スイッチ1200は、複製制御部1111からの指示に基づき、第1の送信先機器3000からの再送要求パケットを送信元機器2000に送信する(ステップS206)。
 送信元機器2000は、再送要求パケットに記述された未達シーケンス番号に対応するパケット(第1の送信先機器3000宛のパケット)をパケット中継装置1000に再送する(ステップS207)。
 パケット中継装置1000では、スイッチ1200が、送信元機器2000からの再送パケットを受信する。更に、スイッチ1200は、受信した再送パケットに含まれる送信元IPアドレス、送信先IPアドレス、シーケンス番号、メッセージ属性をパケット情報としてコントローラ1100に送信する(ステップS208)。
 複製制御部1111は、スイッチ1200が送信したパケット情報を取得して再送制御部1112を呼出す(ステップS209)。複製制御部1111は、再送制御部1112を呼出す際に、再送制御部1112にパケット情報を送信する。
 再送制御部1112は、複製制御部1111からパケット情報を受信し、また、再送要求管理情報記憶部1122から再送要求管理情報1022を読み出す。そして、再送制御部1112は、パケット情報のシーケンス番号と再送要求管理情報1022のシーケンス番号とを照合する(ステップS210)。ここでは、パケット情報のシーケンス番号と再送要求管理情報1022のシーケンス番号が一致するため、再送制御部1112は、スイッチ1200が受信したパケットを再送パケットと判定する(ステップS210)。また、再送制御部1112は、再送要求管理情報1022の送信元IPアドレスから、当該再送パケットの再送を要求した送信先機器(再送対象送信先機器)が第1の送信先機器3000であることを特定する。
 更に、再送制御部1112は、スイッチ1200が受信したパケットが再送パケットであることを複製制御部1111に通知し、また、再送要求管理情報1022の送信元IPアドレスを複製制御部1111に通知する。
 また、再送制御部1112は、パケット情報のシーケンス番号とシーケンス番号が一致した再送要求管理情報1022を再送要求管理情報記憶部1122から削除する。
 複製制御部1111は、再送制御部1112から通知された送信元IPアドレスと、パケット情報の送信先IPアドレスを照合する。
 両者が一致するため、複製制御部1111は、再送パケットを第1の送信先機器3000に送信するようスイッチ1200に指示する(ステップS211)。
 スイッチ1200は、複製制御部1111からの指示に基づき、再送パケットを第1の送信先機器3000に送信する(ステップS212)。
 次に、図9及び図10のフローチャートを参照して、パケット再送時の別の動作例を説明する。
 図9及び図10では、第2の送信先機器4000が再送要求を行った場合の動作例が示される。
 第2の送信先機器4000は、送信元機器2000宛の再送要求パケットをパケット中継装置1000に送信する(ステップS301)。なお、再送要求パケットには、第2の送信先機器4000に未達のパケットのシーケンス番号(以下、未達シーケンス番号という)が記述されている。
 次に、パケット中継装置1000において、スイッチ1200が、第2の送信先機器4000からの再送要求パケットを受信する。更に、スイッチ1200は、受信した再送要求パケットに含まれる送信元IPアドレス、送信先IPアドレス、未達シーケンス番号をパケット情報としてコントローラ1100に送信する(ステップS302)。
 次に、複製制御部1111が、スイッチ1200が送信したパケット情報を取得して再送制御部1112を呼出す(ステップS303)。複製制御部1111は、再送制御部1112を呼出す際に、再送制御部1112にパケット情報を送信する。
 再送制御部1112は、複製制御部1111からパケット情報を受信する。また、再送制御部1112は、パケット情報に含まれる送信元IPアドレスに基づき、スイッチ1200が受信したパケットが再送要求パケットであること、更に、再送要求パケットの送信元が第2の送信先機器4000であることを特定する。そして、再送制御部1112は、パケット情報に含まれている送信元IPアドレスと未達シーケンス番号を用いて再送要求管理情報1022を生成する(ステップS304)。再送制御部1112は、生成した再送要求管理情報1022を再送要求管理情報記憶部1122に格納する。更に、再送制御部1112は、スイッチ1200が受信したパケットが再送要求パケットであること及び再送要求パケットの送信元が第2の送信先機器4000であることを複製制御部1111に通知する。
 複製制御部1111は、スイッチ1200に、第2の送信先機器4000からの再送要求パケットの送信元IPアドレスを第1の送信先機器3000のIPアドレスに変更すること、また、送信元IPアドレスを変更した後の再送要求パケットを送信元機器2000に送信することを指示する(ステップS305)。
 スイッチ1200は、複製制御部1111からの指示に基づき、第2の送信先機器4000からの再送要求パケットの送信元IPアドレスを第1の送信先機器3000のIPアドレスに変更し、送信元IPアドレスを変更した後の再送要求パケットを送信元機器2000に送信する(ステップS306)。
 送信元機器2000は、再送要求パケットに記述された未達シーケンス番号に対応するパケット(第1の送信先機器3000宛のパケット)をパケット中継装置1000に再送する(ステップS307)。
 パケット中継装置1000では、スイッチ1200が、送信元機器2000からの再送パケットを受信する。更に、スイッチ1200は、受信した再送パケットに含まれる送信元IPアドレス、送信先IPアドレス、シーケンス番号、メッセージ属性をパケット情報としてコントローラ1100に送信する(ステップS308)。
 複製制御部1111は、スイッチ1200が送信したパケット情報を取得して再送制御部1112を呼出す(ステップS309)。複製制御部1111は、再送制御部1112を呼出す際に、再送制御部1112にパケット情報を送信する。
 再送制御部1112は、複製制御部1111からパケット情報を受信し、また、再送要求管理情報記憶部1122から再送要求管理情報1022を読み出す。そして、再送制御部1112は、パケット情報のシーケンス番号と再送要求管理情報1022のシーケンス番号とを照合する(ステップS310)。ここでは、パケット情報のシーケンス番号と再送要求管理情報1022のシーケンス番号が一致するため、再送制御部1112は、スイッチ1200が受信したパケットを再送パケットと判定する(ステップS310)。また、再送制御部1112は、再送要求管理情報1022の送信元IPアドレスから、当該再送パケットの再送を要求した送信先機器(再送対象送信先機器)が第2の送信先機器4000であることを特定する。
 更に、再送制御部1112は、スイッチ1200が受信したパケットが再送パケットであることを複製制御部1111に通知し、また、再送要求管理情報1022の送信元IPアドレスを複製制御部1111に通知する。
 また、再送制御部1112は、パケット情報のシーケンス番号とシーケンス番号が一致した再送要求管理情報1022を再送要求管理情報記憶部1122から削除する。
 複製制御部1111は、再送制御部1112から通知された送信元IPアドレスと、パケット情報の送信先IPアドレスを照合する。
 ここでは、両者が一致しないため、複製制御部1111は、スイッチ1200に、再送パケットの送信先IPアドレスを第2の送信先機器4000のIPアドレスに変更すること、また、送信先IPアドレスを変更した後の再送パケットを第2の送信先機器4000に送信することを指示する(ステップS311)。
 スイッチ1200は、複製制御部1111からの指示に基づき、再送パケットの送信先IPアドレスを第2の送信先機器4000のIPアドレスに変更し、送信先IPアドレスを変更した後の再送パケットを第2の送信先機器4000に送信する(ステップS312)。
***実施の形態の効果の説明***
 従来のパケット中継装置は、再送制御を行わないため、全てのパケットを全ての送信先機器に送信する。このため、従来のパケット中継装置によれば、再送を要求していない送信先機器の通信帯域が、他の送信先機器からの再送要求に基づいて行われたパケットの再送により圧迫されてしまう。
 本実施の形態に係るパケット中継装置では、制御部110が、再送対象送信先機器を特定し、再送対象送信先機器にのみパケットを再送する。つまり、本実施の形態に係るパケット中継装置によれば、第1の送信先機器3000からパケットの再送が要求された場合は、第1の送信先機器3000にのみ再送パケットが送信される。同様に、第2の送信先機器4000からパケットの再送が要求された場合は、第2の送信先機器4000にのみ再送パケットが送信される。
 従って、本実施の形態によれば、再送を要求していない送信先機器の通信帯域が、他の送信先機器からの要求に基づいて行われたパケットの再送により圧迫されてしまうという事態を回避することができる。
 送信元機器2000が第2の送信先機器4000を認識していない場合は、再送要求パケットの送信元IPアドレスが第2の送信先機器4000のIPアドレスになっていると、セキュリティ上の理由等により、送信元機器2000がパケットの再送を行わない可能性がある。本実施の形態では、制御部110は、第2の送信先機器4000から再送が要求された場合に、再送要求パケットの送信元IPアドレスを第1の送信先機器3000のIPアドレスに変更する。再送要求パケットの送信元IPアドレスが第1の送信先機器3000のIPアドレスであるため、送信元機器2000はパケットの再送を行う。
 このように、本実施の形態によれば、確実に第2の送信先機器4000への再送を実現することができる。
 また、本実施の形態では、パケットの複製処理を通信経路上のサーバ装置ではなく、ネットワーク機器であるパケット中継装置で行っている。このため、本実施の形態によれば、パケット中継装置と第1の送信先機器との間、パケット中継装置と第2の送信先機器との間で新規の通信コネクションを設定する必要がなく、通信負荷が軽減されるという効果がある。また、通信システムのアプリケーション開発においてパケットの欠落対策を考慮する必要が無いという効果もある。
実施の形態2.
 実施の形態1では、送信先機器が2つの例を説明したが、本実施の形態では、送信先機器が3つ以上の例を説明する。
 図11は、本実施の形態に係る通信システムの構成例を示す。
 本実施の形態では、パケット中継装置1000は、第1の送信先機器3000と、第2の送信先機器A4100と、第2の送信先機器B4200とに接続されている。
 図11の通信システムは、第2の送信先機器4000が、第2の送信先機器A4100と、第2の送信先機器B4200に変更されている点以外は、図1の通信システムと同じである。
 なお、図11では、説明の簡明のために、第2の送信先機器A4100及び第2の送信先機器B4200のみが記載されているが、第2の送信先機器は3つ以上でもよい。
 図12は、本実施の形態に係る複製転送経路情報1021の例を示す。
 図2の複製転送経路情報1021では、1つの複製先IPアドレスと1つの複製条件が記述されている。一方、図12の複製転送経路情報1021では、2つの複製先IPアドレスと2つの複製条件が記述されている。
 複製先IPアドレスAは、例えば、第2の送信先機器A4100のIPアドレスである。複製先IPアドレスBは、例えば、第2の送信先機器B4200のIPアドレスである。
 複製条件Aは、複製先IPアドレスAをもつ送信先機器に複製パケットを送信するための条件である。複製条件Bは、複製先IPアドレスBをもつ送信先機器に複製パケットを送信するための条件である。
 本実施の形態では、複製制御部1111は、スイッチ1200が受信したパケットが初送信パケットである場合に、当該初送信パケットの送信元IPアドレス、送信先IPアドレスが複製転送経路情報1021の送信元IPアドレス、送信先IPアドレスに一致するかどうかを判定する。更に、複製制御部1111は、当該初送信パケットのメッセージ属性が複製条件A及び複製条件Bのうちのいずれを満たすかを判定する。
 そして、初送信パケットの送信元IPアドレス、送信先IPアドレスが複製転送経路情報1021の送信元IPアドレス、送信先IPアドレスに一致し、初送信パケットのメッセージ属性が複製転送経路情報1021の複製条件Aを満たす場合は、複製制御部1111は、当該初送信パケットの複製の生成と、複製先IPアドレスAをもつ機器への複製パケットの送信を決定する。同様に、初送信パケットの送信元IPアドレス、送信先IPアドレスが複製転送経路情報1021の送信元IPアドレス、送信先IPアドレスに一致し、初送信パケットのメッセージ属性が複製転送経路情報1021の複製条件Bを満たす場合は、複製制御部1111は、当該初送信パケットの複製の生成と、複製先IPアドレスBをもつ機器への複製パケットの送信を決定する。
 なお、初送信パケットのメッセージ属性が複製転送経路情報1021の複製条件A及び複製条件Bを満たす場合は、複製制御部1111は、複製先IPアドレスAをもつ機器及び複製先IPアドレスBをもつ機器への複製パケットの送信を決定する。
 このように、本実施の形態に係る複製制御部1111は、宛先送信先機器である第1の送信先機器3000以外にパケットを送信する送信先機器を、第2の送信先機器A4100及び第2の送信先機器B4200の中から選択する。そして、スイッチ1200は、宛先送信先機器である第1の送信先機器3000と、複製制御部1111により選択された第2の送信先機器にパケットを送信する。
 本実施の形態では、複製転送経路情報記憶部1121に図12の複製転送経路情報1021が記憶されていること、複製制御部1111が図12の複製転送経路情報1021を用いて複製パケットの送信先を選択すること以外は、実施の形態1と同じである。
 本実施の形態によれば、第2の送信先機器が複数存在する大規模なシステムに対して、複雑な通信制御を実現することができる。
 以上、本発明の実施の形態について説明したが、これらの実施の形態のうち、2つ以上を組み合わせて実施しても構わない。
 あるいは、これらの実施の形態のうち、1つを部分的に実施しても構わない。
 あるいは、これらの実施の形態のうち、2つ以上を部分的に組み合わせて実施しても構わない。
 なお、本発明は、これらの実施の形態に限定されるものではなく、必要に応じて種々の変更が可能である。
***ハードウェア構成の説明***
 最後に、パケット中継装置1000のハードウェア構成の補足説明を行う。
 プロセッサ1110及びプロセッサ1210は、それぞれ、プロセッシングを行うIC(Integrated Circuit)である。
 プロセッサ1110及びプロセッサ1210は、それぞれ、CPU(Central Processing Unit)、DSP(Digital Signal Processor)等である。
 記憶装置1120及び記憶装置1220は、それぞれ、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、HDD(Hard Disk Drive)等である。
 通信装置1150及び通信装置1230は、それぞれ、例えば、通信チップ又はNIC(Network Interface Card)である。
 また、記憶装置1120には、OS(Operating System)も記憶されている。
 そして、OSの少なくとも一部がプロセッサ1110により実行される。
 プロセッサ1110はOSの少なくとも一部を実行しながら、複製制御部1111及び再送制御部1112の機能を実現するプログラムを実行する。
 プロセッサ1110がOSを実行することで、タスク管理、メモリ管理、ファイル管理、通信制御等が行われる。
 また、複製制御部1111及び再送制御部1112の処理の結果を示す情報やデータや信号値や変数値が、記憶装置1120、又は、プロセッサ1110内のレジスタ又はキャッシュメモリに記憶される。
 また、複製制御部1111及び再送制御部1112の機能を実現するプログラムは、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ブルーレイ(登録商標)ディスク、DVD等の可搬記憶媒体に記憶されてもよい。
 また、複製制御部1111及び再送制御部1112の「部」を、「回路」又は「工程」又は「手順」又は「処理」に読み替えてもよい。
 また、パケット中継装置1000は、ロジックIC(Integrated Circuit)、GA(Gate Array)、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)といった電子回路により実現されてもよい。
 なお、プロセッサ1110及び上記の電子回路を総称してプロセッシングサーキットリーともいう。
 1000 パケット中継装置、1021 複製転送経路情報、1022 再送要求管理情報、1100 コントローラ、1111 複製制御部、1112 再送制御部、1121 複製転送経路情報記憶部、1122 再送要求管理情報記憶部、1200 スイッチ、2000 送信元機器、3000 第1の送信先機器、4000 第2の送信先機器、4100 第2の送信先機器A、4200 第2の送信先機器B。

Claims (5)

  1.  パケットを受信する受信部と、
     前記受信部により受信された前記パケットを複製し、複製により得られた複数の前記パケットを複数の送信先機器に送信する送信部と、
     前記複数の送信先機器のうちのいずれかの送信先機器から前記パケットの再送を要求された場合に、前記パケットの再送を要求した送信先機器である再送対象送信先機器を特定し、前記送信部に前記再送対象送信先機器にのみ前記パケットを再送するよう指示して前記送信部に前記再送対象送信先機器にのみ前記パケットを再送させる制御部とを有するパケット中継装置。
  2.  前記制御部は、
     前記パケットの送信元である送信元機器に前記パケットの再送を要求し、
     前記受信部は、
     前記送信元機器から再送された前記パケットを受信し、
     前記制御部は、
     前記送信元機器から再送された前記パケットが前記受信部により受信された場合に、前記送信部に前記送信元機器から再送された前記パケットを前記再送対象送信先機器にのみ再送するよう指示して前記送信部に前記再送対象送信先機器にのみ前記パケットを再送させる請求項1に記載のパケット中継装置。
  3.  前記受信部は、
     いずれかの送信先機器を宛先とするパケットを受信し、
     前記制御部は、
     前記パケットの宛先となっている宛先送信先機器以外に前記パケットを送信する送信先機器を、2以上の送信先機器の中から選択し、
     前記送信部は、
     前記パケットを複製し、複製により得られた複数の前記パケットを、前記宛先送信先機器と、前記制御部により選択された送信先機器に送信する請求項1に記載のパケット中継装置。
  4.  コンピュータが、パケットを受信し、
     前記コンピュータが、受信された前記パケットを複製し、複製により得られた複数の前記パケットを複数の送信先機器に送信し、
     前記複数の送信先機器のうちのいずれかの送信先機器から前記パケットの再送を要求された場合に、前記コンピュータが、前記パケットの再送を要求した送信先機器である再送対象送信先機器を特定し、前記再送対象送信先機器にのみ前記パケットを再送するパケット中継方法。
  5.  パケットを受信する受信処理と、
     前記受信処理により受信された前記パケットを複製し、複製により得られた複数の前記パケットを複数の送信先機器に送信する送信処理と、
     前記複数の送信先機器のうちのいずれかの送信先機器から前記パケットの再送を要求された場合に、前記パケットの再送を要求した送信先機器である再送対象送信先機器を特定し、前記再送対象送信先機器にのみ前記パケットを再送する制御処理とをコンピュータに実行させるパケット中継プログラム。
PCT/JP2016/062293 2016-04-18 2016-04-18 パケット中継装置、パケット中継方法及びパケット中継プログラム WO2017183088A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/062293 WO2017183088A1 (ja) 2016-04-18 2016-04-18 パケット中継装置、パケット中継方法及びパケット中継プログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/062293 WO2017183088A1 (ja) 2016-04-18 2016-04-18 パケット中継装置、パケット中継方法及びパケット中継プログラム

Publications (1)

Publication Number Publication Date
WO2017183088A1 true WO2017183088A1 (ja) 2017-10-26

Family

ID=60115786

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/062293 WO2017183088A1 (ja) 2016-04-18 2016-04-18 パケット中継装置、パケット中継方法及びパケット中継プログラム

Country Status (1)

Country Link
WO (1) WO2017183088A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002016606A (ja) * 2000-06-27 2002-01-18 Matsushita Electric Ind Co Ltd 情報提示システムおよび情報再送方法
JP2009253949A (ja) * 2008-04-11 2009-10-29 Yamaha Corp 通信システム、送信装置およびプログラム

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002016606A (ja) * 2000-06-27 2002-01-18 Matsushita Electric Ind Co Ltd 情報提示システムおよび情報再送方法
JP2009253949A (ja) * 2008-04-11 2009-10-29 Yamaha Corp 通信システム、送信装置およびプログラム

Similar Documents

Publication Publication Date Title
Ford et al. TCP extensions for multipath operation with multiple addresses
JPWO2014156034A1 (ja) サーバ、ルータ、受信端末および処理方法
US11677675B2 (en) Method and system for determining a path maximum transmission unit (MTU) between endpoints of a generic routing encapsulation (GRE) tunnel
JP2015170955A (ja) 通信方法、通信制御プログラム、及び、通信装置
CN110430135B (zh) 一种报文处理方法和装置
JP7132028B2 (ja) Ipv6拡張ヘッダーおよび目的地オプションのためのアプリケーションを有する方法およびシステム
JP2017521016A (ja) データパケット送信装置およびデータパケット送信方法ならびにデータ処理装置およびデータ処理方法
JP2017208797A (ja) 不均一ネットワークにまたがる統合されたデータ・ネットワーキング
JP6800375B2 (ja) 通信装置、通信方法及び通信プログラム
JP6193155B2 (ja) 通信装置、通信システム、通信方法およびプログラム
JP6102214B2 (ja) 転送プログラム、設定プログラム、送信プログラム、転送装置、設定装置、送信装置、転送方法、設定方法および送信方法
WO2017071430A1 (zh) 处理报文的方法、网卡及系统、更新信息的方法及主机
WO2017183088A1 (ja) パケット中継装置、パケット中継方法及びパケット中継プログラム
CN109714337B (zh) 一种数据加密传输方法及设备
US20150271060A1 (en) Communication apparatus including a plurality of network interfaces, method of controlling communication apparatus, and storage medium
JP2007299019A (ja) データ通信システム、サーバ装置及びそれに用いるデータ通信方法並びにそのプログラム
JPWO2004066562A1 (ja) データ転送装置
CN114629891A (zh) 文件传输方法、装置、电子设备及计算机可读存储介质
WO2017126087A1 (ja) 無線通信装置、無線通信方法及び無線通信プログラム
JP6182779B1 (ja) 転送装置、転送方法およびプログラム
WO2023175705A1 (ja) 通信制御装置、通信装置、通信制御システム、通信制御方法およびプログラム
JP7260997B2 (ja) 通信装置および無線通信システム
JP7380091B2 (ja) パケット処理装置およびパケット処理方法
JP2017038132A (ja) データ送信装置及びデータ受信装置及びデータ送信方法及びデータ受信方法及びデータ送信プログラム及びデータ受信プログラム
JP6207710B1 (ja) 転送制御装置、転送制御方法およびプログラム

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16899362

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899362

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP