Communication apparatus and communication method

The communication device achieves reliable packet redundancy through middleware-managed multiple paths, addressing the challenge of maintaining high reliability in networks with fewer devices, especially in difficult-to-access areas.

WO2024180792A1PCT designated stage expired Publication Date: 2024-09-06HITACHI LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/030728
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2023-08-25
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Conventional communication systems require multiple devices to achieve redundancy, making it difficult to ensure high reliability in networks where installing a relay device is challenging, such as in narrow or inaccessible places.

Method used

A communication device connected via multiple paths with a redundancy control unit that converts packets into multiple transmission packets using middleware, allowing for packet redundancy without increasing the number of devices, by utilizing a processor with a recording unit and middleware to manage communication routes and ensure reliable data transmission.

Benefits of technology

This approach enables packet redundancy while minimizing the number of devices needed, ensuring high communication reliability in remote or hard-to-reach locations and reducing potential failure points and costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023030728_06092024_PF_FP
    Figure JP2023030728_06092024_PF_FP
Patent Text Reader

Abstract

Provided is a communication apparatus that makes it possible to perform packet redundancy while suppressing an increase in the number of devices. A processor executes an application, thereby implementing a communication application unit A101 that sends out a packet A111 addressed to a terminal B. The processor executes middleware, thereby implementing a redundancy control unit that makes the packet A111 sent out from the application unit redundant into a plurality of packets A112 corresponding to a plurality of communication paths 1 to n, and transmits the respective packets A112 to the terminal B via the plurality of communication paths 1 to n.
Need to check novelty before this filing date? Find Prior Art

Description

Communication device and communication method

[0001] The present disclosure relates to a communication device and a communication method.

[0002] Conventionally, in the field of communications, in order to improve the reliability of networks, server redundancy, packet redundancy, etc. For example, Patent Document 1 discloses a communications system in which data is made redundant between a transmitting device and a receiving device and transmitted to a plurality of networks, and the redundant data is unified on the receiving side.

[0003] Japanese Patent Application Laid-Open No. 2015-097349

[0004] In the technology described in Patent Document 1, a transmitting device makes data from a processing device that executes an application that transmits data redundant. Therefore, a transmitting device that functions as a data relay device is required in addition to the processing device, which results in a problem of an increased number of devices. This makes it difficult to ensure high reliability of communications used for remote operation of devices in places where it is difficult to install a relay device, such as narrow places where people cannot enter.

[0005] An object of the present disclosure is to provide a communication device and a communication method that are capable of making packets redundant while suppressing an increase in the number of devices.

[0006] A communication device according to one aspect of the present disclosure is a communication device that is communicatively connected to an external device via multiple communication paths, and has a recording unit and a processor, wherein the recording unit records an application and middleware, and the processor executes the application to realize an application unit that sends packets addressed to the external device, and the processor executes the middleware to realize a redundancy control unit that redundancies packets sent from the application unit into multiple transmission packets corresponding to each of the multiple communication paths and transmits each transmission packet to the external device via the multiple communication paths.

[0007] According to the present invention, it is possible to make packets redundant while suppressing an increase in the number of devices.

[0008] It is a diagram showing a communication system according to an embodiment of the present disclosure. It is a diagram showing the configuration of a packet. It is a flowchart for explaining an example of a route management process. It is a flowchart for explaining an example of a live / death confirmation process. It is a diagram showing an example of a hardware configuration of a terminal.

[0009] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.

[0010] 1 is a diagram illustrating a communication system according to an embodiment of the present disclosure. The communication system illustrated in FIG. 1 includes terminals A and B, which are connected to each other via multiple communication paths 1 to n so that they can communicate with each other.

[0011] Terminal A has a communication application unit A101, a virtual network interface A121, a routing / IP address setting unit A131, a route management unit A132, an encapsulating unit A133, a decapsulating unit A134, and multiple NICs (Network Interface Cards) A151 to A15n. Terminal B has a configuration equivalent to that of terminal A. In the following, elements of terminal B that correspond to elements related to terminal A are assigned reference numerals in which the letter "A" in the reference numeral assigned to the element of terminal A is replaced with "B." Therefore, for example, the communication application unit of terminal B that corresponds to the communication application unit A101 of terminal A is assigned the reference numeral "B101." In the following, the functions of terminal A will be described, and the functions of terminal B will be omitted as appropriate because they are equivalent to those of terminal A.

[0012] NICs A151 to A15n are communication devices corresponding to a plurality of communication paths 1 to n, respectively, and each has a different IP address. In this embodiment, NICs A1 to A15n have IP addresses A1 to An, respectively. n may be an integer equal to or greater than 2. In other words, the number of NICs and communication paths is not limited as long as there are multiple NICs and communication paths. NICs A151 to A15n transmit packet A112, which will be described later, to terminal B and receive packet A112 from terminal B.

[0013] The communication application unit A101 is realized by an application (application program) that performs data communication. The communication application unit A101 sends a packet A111 addressed to terminal B, which is an external device.

[0014] The virtual network interface A121 is a virtual NIC implemented by software, and has an IP address α1 as the source IP address of the packet A111.

[0015] The routing / IP address setting unit A131 is realized by, for example, middleware, and is a routing setting unit that manages routing within the device of terminal A. For example, the routing / IP address setting unit A131 assigns an IP address α1 to the virtual network interface A121 of its own terminal A in advance, and further sets the IP address α1 of the virtual network interface A121 in the routing table A122 as a gateway for the network address of the IP address β1 of the virtual network interface B121 of terminal B, which is the communication partner. As a result, the routing / IP address setting unit A131 can route the packet A111 sent from the communication application unit A101 and addressed to terminal B (more specifically, addressed to the IP address β1 of the virtual network interface B121 of terminal B) to the virtual network interface A121 of its own terminal A using the routing table A122.

[0016] The route management unit A132, the encapsulating unit A133, and the decapsulating unit A134 are realized by middleware and constitute a redundancy control unit that makes the packet A111 sent from the communication application unit A101 redundant and transmits it to terminal B, which is the destination of the packet A111.

[0017] The route management unit A132 checks whether each of the communication paths 1 to n is available and adds the check results to the route management table A141. Specifically, the route management unit A132 periodically transmits a live / dead check packet A113 to terminal B using each of the communication paths 1 to n to check whether the communication paths 1 to n are available. The route management unit A132 also checks whether the communication paths 1 to n are available based on the live / dead check packet B113 from terminal B for each of the communication paths 1 to n. For example, if the route management unit A132 receives a live / dead check packet B113 for each communication path within a certain period of time, it determines that the communication path is available for communication; if the route management unit A132 does not receive a live / dead check packet within the certain period of time, it determines that the communication path is not available for communication. The route management unit A132 then sets the availability of each of the communication paths 1 to n as a route status in the route management table A141.

[0018] The route management table A141 stores information indicating the route status of each communication route. In this embodiment, the route status in the route management table A141 indicates "Up" if the route is available, and indicates "Down" if the route is not available.

[0019] The encapsulating unit A133 harvests the packet A111, which has been sent from the communication application unit A101 and routed to the virtual network interface A121, from the virtual network interface A121. The encapsulating unit A133 identifies the destination terminal (terminal B in this case) of the harvested packet A111 using the destination-source correspondence table A142. The destination-source correspondence table A142 is preset information that indicates the correspondence between the destination and source of the packet A111.

[0020] Furthermore, the encapsulating unit A133 converts the harvested packet A111 into a plurality of packets A112, which are transmission packets corresponding to each of the available paths, which are communication paths that are available among the plurality of communication paths 1 to n, based on the path management table A141. Then, the encapsulating unit A133 transmits the packets A112 corresponding to each of the available paths to terminal B (specifically, to the NICs corresponding to the available paths among NICs B151 to B15n of terminal B) via the NICs corresponding to the available paths among NICs A151 to A15n.

[0021] The packet A111 is made redundant by adding a header to the packet A111 according to each of the communication paths 1 to n (specifically, available paths).

[0022] FIG. 2 is a diagram for explaining the redundancy of the packet A111, and shows the configurations of the packets A111 and A112.

[0023] 2, packet A111 includes application data 10 and an IP header 11. The application data 10 is data of the communication application unit A101. The IP header 11 includes the IP address α1 of the virtual network interface A121 of terminal A as the source IP address, and the IP address of the virtual network interface B121 of terminal B as the destination IP address.

[0024] On the other hand, packet A112 includes, in addition to application data 10 and IP header 11, a sequence header 12 and an additional IP header 13. The sequence header 12 includes a sequence number that defines the order of the packets. The sequence number is managed for each combination of source and destination, and the same sequence number is assigned to multiple packets A112 that have been made redundant from the same packet A111. The additional IP header 13 includes the IP address of the NIC in terminal A that corresponds to packet A112 and the IP address of the NIC in terminal B that corresponds to that NIC. Note that NICs B151 to Bn in terminal B have IP addresses B1 to Bn, respectively.

[0025] The sequence header 12 and the additional IP header 13 are added to the packet A111 by the encapsulating unit A133. Hereinafter, the process of adding the sequence header 12 and the additional IP header 13 to the packet A111 in the encapsulating unit A133 to make it redundant may also be referred to as encapsulation.

[0026] Returning to the explanation of Figure 1, the decapsulating unit A134 receives, from NICs A151 to A15n, packet B112, which is an external device packet transmitted from terminal B via an available route. If there are multiple packets B112 containing the same sequence number, the decapsulating unit A134 keeps only the earliest received packet among the multiple packets B112 and discards the rest.

[0027] The decapsulating unit B131 sends packet B114, which is a received packet obtained by decapsulating received packet B112 to remove the sequence header and IP header, to the communication application unit A101. Specifically, packet B114 sent from the decapsulating unit B131 is routed to the virtual network interface A121 of its own terminal A by the routing table A122. Then, packet B114 routed to the virtual network interface A121 is intercepted by the communication application unit A101.

[0028] Furthermore, the decapsulating unit B131 may detect missing packets, a reversal of the packet arrival order, etc., based on the sequence numbers in the packets B112. When a reversal of the packet arrival order is detected, the decapsulating unit B131 may temporarily save the packets in memory 52 (see FIG. 5 ) or the like, rearrange the packets in the correct order, and send them to the communication application unit A101, thereby correcting the packet arrival order.

[0029] In the above explanation, the configuration of terminal A has been described, but as mentioned above, terminal B has a similar configuration, and therefore, terminals A and B can communicate with each other. However, terminal A may be the transmitting side and terminal B may be the receiving side. Also, while the number of terminals is shown as one transmitting side and one receiving side in the figure, this number can be increased or decreased to any number. Furthermore, the encapsulating unit A133 and the like may be provided with a packet encryption function, a communication function with response confirmation, a retransmission control function using a protocol such as TCP (Transmission Control Protocol), a teaming function, and the like.

[0030] FIG. 3 is a flowchart for explaining an example of the route management process performed by the route management unit A132.

[0031] In the route management process, the route management unit A132 waits for a time period equivalent to one predetermined route monitoring cycle (step S301). After one cycle has elapsed, the route management unit A132 executes a live / dead confirmation process to confirm whether communication routes 1 to n are available for use (step S302), and then returns to the process of step S301.

[0032] Fig. 4 is a flowchart for explaining an example of the alive / dead confirmation process in step S302 in Fig. 3. The alive / dead confirmation process is performed for each of the communication paths 1 to n.

[0033] In the alive / dead confirmation process, the route management unit A132 confirms whether or not a alive / dead confirmation packet corresponding to the target communication route has been received from the terminal B (step S401).

[0034] If a live / dead confirmation packet is received (step S401: Yes), the route management unit A132 determines that the target communication route is available, sets the route status of the target communication route in the route management table A141 to "Up" (step S402), and terminates the processing.

[0035] On the other hand, if the alive / dead confirmation packet has not been received (step S401: No), the route management unit A132 determines whether a certain time has elapsed since the start of the alive / dead confirmation process (step S403).

[0036] If the certain time has elapsed (step S403: Yes), the route management unit A132 determines that the target communication route is unavailable, sets the route status of the target communication route in the route management table A141 to "Down" (step S404), and ends the process. On the other hand, if the certain time has not elapsed (step S403: No), the route management unit A132 returns to the process of step S401.

[0037] Fig. 5 is a diagram showing an example of the hardware configuration of terminal A. As shown in Fig. 5, terminal A has a processor 51, memory 52, recording device 53, input device 54, and display device 55, which are connected via a bus 56. Terminal B can be realized by a device having the same hardware configuration as terminal A.

[0038] The recording device 53 is a device for recording data in a writable and readable manner, and records various information. For example, the recording device 53 records a program that defines the operation of the processor 51, a routing table A122, a path management table A141, and a destination-source correspondence table A142. The processor 51 reads the program recorded in the recording device 53 into the memory 52 and uses the memory 52 to execute processing according to the program. The processor 51 realizes the various units of the terminal A shown in FIG. 1 (the communication application unit A101, the virtual network interface A121, the routing / IP address setting unit A131, the path management unit A132, the encapsulating unit A133, and the decapsulating unit A134). The input device 54 is a device into which various information is input from the user of the terminal A and external devices (not shown), and the information is used in the processing of the processor 51. The display device 55 is a device for displaying various information.

[0039] As described above, according to this embodiment, the processor 51 executes an application to implement a communication application unit A101 that transmits a packet A111 addressed to terminal B. Furthermore, the processor executes middleware to implement a redundancy control unit that converts the packet A111 transmitted from the application unit into multiple packets A112 corresponding to each of multiple communication paths 1 to n and transmits each packet A112 to terminal B via the multiple communication paths 1 to n. Therefore, it is possible to implement redundancy of packet A111 within terminal A, thereby enabling the redundancy of packet A111 while suppressing an increase in the number of devices. Furthermore, because the redundancy of packet A111 is implemented by middleware, it is possible to implement redundancy of packet A111 within terminal A without changing the application. This makes it possible to ensure high reliability of communications used for remote operation of devices located in places where it is difficult to install a relay device, such as narrow spaces where people cannot enter. It is also possible to reduce the number of areas where failures may occur and reduce costs.

[0040] In this embodiment, the redundancy control unit also cuts off and makes redundant the packet A111 sent from the communication application unit A101 and routed to the virtual network interface A121. This makes it possible to accurately deliver the packet A111 to the redundancy control unit.

[0041] Furthermore, in this embodiment, the redundancy control unit adds, for each NIC, an additional IP header including the IP address of the NIC and the IP address of terminal B corresponding to the NIC, and a sequence header including a sequence number indicating the order of packet A111, thereby generating, as packet A112, an encapsulating packet for packet A111. In this case, it is possible to make packet A111 redundant more appropriately.

[0042] In this embodiment, a sequence number is assigned to each combination of the source and destination of the packet A111, which allows for more appropriate assignment of the sequence number.

[0043] In this embodiment, the redundancy control unit deletes the additional IP header and sequence header from packet B111 from terminal B and sends packet B113 to the communication application unit A101. This makes it possible to receive redundant packets from an external device without changing the communication application.

[0044] In this embodiment, the redundancy control unit discards all but the earliest received packet B112 among the multiple packets B112 received by each of the NICAs 151 to 15n. In this case, it is possible to suppress a decrease in communication speed while ensuring high reliability through redundancy.

[0045] Furthermore, in this embodiment, the routing / IP address setting unit A131 routes the packet B114 sent from the redundancy control unit to the application unit 101 via the virtual network interface A121. This makes it possible to accurately deliver the packet B114 to the communication application unit A101.

[0046] In this embodiment, the redundancy control unit checks whether each of the communication paths 1 to n is available, and converts the packet A111 into a redundant packet A112 corresponding to each available communication path among the communication paths 1 to n. In this case, the packet A111 can be efficiently converted into a redundant packet.

[0047] The above-described embodiments of the present disclosure are merely illustrative examples of the present disclosure, and are not intended to limit the scope of the present disclosure to these embodiments alone. Those skilled in the art may implement the present disclosure in various other forms without departing from the scope of the present disclosure.

[0048] 1 to n: Communication path 10: Application data 11: IP header 12: Sequence header 13: Additional IP header 51: Processor 52: Memory 53: Recording device 54: Input device 55: Display device 56: Bus A, B: Terminal A101, B101: Communication application unit A121, B121: Virtual network interface A131, B131: Routing / IP address setting unit A132, B132: Route management unit A133, B133: Encapsulating unit A134, B134: Decapsulating unit

Claims

1. A communication device communicatively connected to an external device via multiple communication paths, the communication device having a memory and a processor, the memory storing an application and middleware, the processor executing the application to realize an application unit that sends packets addressed to the external device, and the processor executing the middleware to realize a redundancy control unit that converts packets sent from the application unit into multiple transmission packets corresponding to each of the multiple communication paths and transmits each transmission packet to the external device via the multiple communication paths.

2. A communication device as described in claim 1, comprising: a virtual network interface; and a routing setting unit that routes packets sent from the application unit to the virtual network interface, wherein the redundancy control unit intercepts packets routed to the virtual network interface and makes them redundant.

3. The communication device of claim 1, further comprising a plurality of NICs (Network Interface Cards) corresponding to each of the plurality of communication paths, and wherein the redundancy control unit generates, for each NIC, an encapsulating packet to which an additional IP header including an IP address of the NIC and an IP address of the external device corresponding to the NIC, and a sequence header including a sequence number indicating the order of the packet, is added to the packet, thereby making the packet redundant.

4. The communication device according to claim 3, wherein the sequence number is assigned to each combination of a source and a destination of the packet.

5. The communication device described in claim 3, wherein each of the multiple NICs receives an external device packet which is the transmission packet of the external device, and the redundancy control unit sends a received packet with the additional IP header and the sequence header deleted from the external device packet to the application unit.

6. The communication device according to claim 5, wherein the redundancy control unit discards all but the earliest received external device packet among the plurality of external device packets received by each of the plurality of NICs.

7. The communication device according to claim 1, further comprising: a virtual network interface; and a routing setting unit that routes a received packet sent from said redundancy control unit to said application unit via said virtual network interface.

8. The communication device according to claim 1, wherein the redundancy control unit checks whether each of the plurality of communication paths is in an available state, and converts the packet into a plurality of transmission packets corresponding to each of the plurality of communication paths that are in an available state.

9. A communication method by a communication device communicatively connected to an external device via multiple communication paths, the communication device having a memory and a processor, the memory recording an application and middleware, the processor executing the application to realize an application unit that sends packets addressed to the external device, and the processor executing the middleware to realize a redundancy control unit that converts packets sent from the application unit into multiple transmission packets corresponding to each of the multiple communication paths and transmits each transmission packet to the external device via the multiple communication paths.

Citation Information

Patent Citations

  • Transmission device, communication control method, and communication system

    JP2015097349A

  • Reception program, transmission program, transmission / reception system, and transmission / reception method

    JP2008211682A

  • Communication method

    WO2017119219A1