Network system, communication system, and communication method
The network system facilitates communication between client terminals with new settings and old servers by relaying packets through detour and direct routes, addressing the communication gap during server replacement.
Patent Information
- Application Number
- JP2020169566
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-07
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2040-10-07
AI Technical Summary
Client terminals with updated settings cannot communicate with the old server until the new server starts operating, causing a communication gap during server replacement.
A network system that relays packets to a detour route for non-operational server addresses and a direct route for operational server addresses, using network devices to convert destination and source information to enable communication between client terminals and old servers.
Enables communication between client terminals with new server settings and old servers, ensuring seamless connectivity during server migration.
Smart Images

Figure 0007585696000001 
Figure 0007585696000002 
Figure 0007585696000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a network system, a communication system, and a communication method. [Background technology]
[0002] When there are a large number of client terminals, it may take time to change the settings associated with replacing the server. In such a case, both client terminals after the setting change and client terminals before the setting change will exist within the communication system. The client terminals before the setting change can communicate with the old server (hereinafter referred to as the old server), but the client terminals after the setting change cannot communicate with the old server. Therefore, the client terminals after the setting change will be in a state where they cannot communicate with the server until the new server (hereinafter referred to as the new server) begins operation.
[0003] Patent Document 1 discloses a technique related to an update management system that manages application updates. In the event of a malfunction, a switchover to the old server is performed. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] International Publication No. 2015 / 146355 Summary of the Invention [Problem to be solved by the invention]
[0005] As described above, there has been a problem in that a client terminal that has had its settings changed so that it can communicate with a new server cannot communicate with the old server until the new server begins operation. [Means for solving the problem]
[0006] The present disclosure has been made to solve such problems, and aims to provide a network system, a communication system, and a communication method that enable communication between an old server and a client terminal whose settings have been changed so that the client terminal communicates with a new server.
[0007] The network system according to the present disclosure includes a first network device that, when relaying a packet transmitted by a client terminal, transmits a packet having address information of a non-operational server as destination information to a detour route and transmits a packet having address information of an operation server as destination information to a direct route; a second network device that performs at least one of a process of transmitting a packet transmitted by the operational server to both the detour route and the direct route when relaying the packet, and a process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet; and a third network device that converts destination information of a packet sent by the client terminal into address information of the operational server, and converts source information of a packet sent by the operational server into address information of the non-operational server, on the detour route.
[0008] The communication system according to the present disclosure comprises: A production server; A client terminal; A network system; Equipped with The network system includes: a first network device that, when forwarding a packet transmitted by the client terminal, transmits a packet having address information of a non-operational server as destination information to a detour route and transmits a packet having address information of the operation server as destination information to a direct route; a second network device that performs at least one of a process of transmitting a packet transmitted by the operational server to both the detour route and the direct route when forwarding the packet, and a process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet; and a third network device that converts destination information of a packet sent by the client terminal into address information of the operational server, and converts source information of a packet sent by the operational server into address information of the non-operational server, in the detour route.
[0009] The communication method according to the present disclosure includes: When forwarding packets sent by a client terminal, packets whose destination information is the address information of a non-production server are sent via a detour route, and packets whose destination information is the address information of a production server are sent via a direct route. When forwarding a packet transmitted by the operational server, at least one of a process of transmitting the packet via both the detour route and the direct route and a process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet, In the detour route, destination information of a packet transmitted by the client terminal is converted to address information of the primary server, and source information of a packet transmitted by the primary server is converted to address information of the non-primary server. Effect of the Invention
[0010] According to the present disclosure, it is possible to provide a network system, a communication system, and a communication method that enable communication between an old server and a client terminal whose settings have been changed so that the client terminal communicates with a new server. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram showing a configuration of a communication system according to a first embodiment. [Diagram 2] FIG. 11 is a block diagram showing a configuration of a communication system according to a second embodiment. [Diagram 3] FIG. 11 is a block diagram showing a configuration of a communication system according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] (Embodiment 1) Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a block diagram showing a configuration of a communication system 1 according to the embodiment 1. The communication system 1 includes an operation server 11, a non-operation server 12, a client terminal 13, and a network system 14.
[0013] The operational server 11 is a server currently in operation, and is also called the old server. The non-operational server 12 is a new server after server replacement, and has not yet started operation. The client terminals 13 are communication terminals such as mobile phone terminals and PCs (Personal Computers). The settings of some of the multiple client terminals 13 have not been changed so that they can communicate with the non-operational server 12. In addition, the settings of some of the multiple client terminals 13 have been changed so that they can communicate with the non-operational server 12.
[0014] The operational server 11 and the client terminal 13 before the setting change can communicate with each other via the network system 14. On the other hand, because the operation of the non-operational server 12 has not started, the client terminal 13 after the setting change cannot communicate with the non-operational server 12. As will be described later, the client terminal 13 after the setting change can communicate with the operational server 11 via the network system 14.
[0015] The network system 14 includes a first network device 141, a second network device 142, and a third network device 143. Note that the network system 14 in Fig. 1 is omitted as appropriate, and switches, routers, and the like other than the first network device 141, the second network device 142, and the third network device 143 may be provided.
[0016] Each of the first network device 141, the second network device 142, and the third network device 143 has a relay function. The first network device 141, the second network device 142, and the third network device 143 may be, for example, a router, a firewall, or a computer. Furthermore, each of the first network device 141, the second network device 142, and the third network device 143 may be realized as a function of a computer, and may be, for example, a virtual router. Furthermore, each of the first network device 141, the second network device 142, and the third network device 143 may be a combination of multiple hardware devices.
[0017] There are two routes connecting the first network device 141 and the second network device 142. The route that goes through the third network device 143 is called a detour route, and the route that does not go through the third network device 143 is called a direct route.
[0018] When relaying packets transmitted by the client terminal, the first network device 141 transmits packets having the address information of the non-production server 12 as destination information to a detour route, and transmits packets having the address information of the production server as destination information to a direct route that does not detour. That is, the first network device 141 transfers packets having the address information of the non-production server 12 as destination information to the third network device 143. The first network device 141 also transfers packets having the address information of the production server 11 as destination information to the second network device 142.
[0019] When relaying a packet transmitted by the operational server 11, the second network device 142 performs at least one of the following processes: transmitting the packet to both a detour route and a direct route, and transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on the route identification information added to the packet. The outgoing packet is a packet transmitted from the client terminal 13 to the operational server 11, and the return packet is a packet transmitted from the operational server 11 to the client terminal 13.
[0020] The route identification information is information indicating whether or not a packet should take a detour route, and any field included in the header of a packet can be used as the route identification information. For example, when the route identification information is a predetermined value set by the third network device 143, the second network device 142 may transmit the packet to the detour route, and otherwise transmit the packet to the direct route.
[0021] Furthermore, the second network device 142 may transmit a packet transmitted by the operational server 11 to either the detour route or the direct route, and copy the transmitted packet and transmit it to the other route. That is, the second network device 142 may transmit a packet to both the detour route and the direct route by performing port mirroring. The client terminal 13 that receives the two packets responds to the packet with the source information correctly set, and ignores the other one. This establishes communication between the client terminal 13 and the operational server 11.
[0022] Also, the second network device 142 may transmit packets to both the detour route and the direct route in the case of a particular communication, and may transmit packets to either the detour route or the direct route based on the route identification information in other cases. For example, the second network device 142 may transmit packets to both the detour route and the direct route in the case of communication from the server side.
[0023] The third network device 143 converts the destination information of the packet transmitted by the client terminal 13 into the address information of the primary server 11, and converts the source information of the packet transmitted by the primary server 11 into the address information of the non-primary server 12, in the detour route. In other words, the third network device 143 is a device that performs NAT (Network Address Transformation).
[0024] Furthermore, the third network device 143 may set the route identification information included in the header of the packet to a predetermined value when converting the destination information of the packet transmitted by the client terminal 13. The second network device 142 can relay the return packet so as to take the same route as the outgoing packet depending on whether the route identification information is the predetermined value or not.
[0025] Therefore, the destination information of a packet transmitted by the client terminal after the setting change is converted and transmitted to the operation server 11. Then, at least one of the packets transmitted from the operation server 11 to the client terminal after the setting change has source information converted to the non-operation server 12, so that the client terminal after the setting change can respond.
[0026] In addition, the destination information of the packet sent by the client terminal before the setting change is not converted. And, since the source information of at least one of the packets sent by the operation server 11 to the client terminal before the setting change is not converted, the client terminal before the setting change can respond.
[0027] Therefore, the network system 14 according to the first embodiment enables communication between the client terminal whose settings have been changed and the old server.
[0028] (Embodiment 2) The second embodiment is a specific example of the first embodiment, and transmits a packet to either a direct route or a detour route based on the precedence value. Fig. 2 is a configuration diagram showing the configuration of a communication system 1a according to the second embodiment.
[0029] The communication system 1a includes a client terminal 13, operational servers 11a and 11b, new servers 12a and 12b, and a network system 14a. The client terminal 13 may be an in-vehicle terminal mounted on a vehicle. The operational servers 11a and 11b have been migrated to the new servers 12a and 12b, but the new servers 12a and 12b have not yet started operation. Note that, although FIG. 2 shows a case in which the number of client terminals is two, the number of operational servers is two, and the number of new servers is two, the number of client terminals, etc. is not limited to this.
[0030] A part of the client terminals 13 (called the first client terminal 131) has been changed in settings to communicate with the new servers 12a and 12b, and is set to ignore packets whose source information is other than the IP address of the new servers 12a or 12b. A part of the client terminals 13 (called the second client terminal 132) has not yet been changed in settings, and is set to ignore packets whose source information is other than the IP address of the operational servers 11a or 11b. The IP address of the first client terminal 131 is "A1". The IP address of the second client terminal 132 is "A2". The IP address of the operational server 11a is "C1". The IP address of the operational server 11b is "C2". The IP address of the new server 12a is "C3". The IP address of the new server 12b is "C4".
[0031] The network system 14a includes a first network device 141, a second network device 142, a third network device 143, and an L2 switch 144. The network system 14a may further include a router, a switch, etc. The network system 14a may further include a path for the operation servers 11a and 11b to communicate with the client terminal 13, etc.
[0032] Each of the first network device 141, the second network device 142, and the third network device is, for example, a router, but may not be a router as long as it has a packet relay function, and may be, for example, a firewall or a virtual router. The first network device 141 and the second network device 142 have a function of performing policy-based routing, and transmit packets to a detour route or a direct route based on a policy.
[0033] The first network device 141 has ports 141a, 141b, and 141c. The port 141a receives packets transmitted by the first client terminal 131 and the second client terminal 132. The IP address of the port 141a is "B1". The port 141b is connected to the second network device 142. The IP address of the port 141b is "B2". The port 141c is connected to the third network device 143, and has an IP address of "B3".
[0034] The first network device 141 has a packet relay function. The first network device transmits a packet transmitted by the first client terminal 131 to the third network device 143, and transmits a packet transmitted by the second client terminal 132 to the second network device 142. That is, the first network device 141 transmits a packet transmitted by the first client terminal 131 to a bypass route, and transmits a packet transmitted by the second client terminal to a direct route. The first network device 141 may be set to transmit a packet having the IP address of the new server 12a or 12b as destination information to the third network device 143.
[0035] The second network device 142 includes ports 142a, 142b, and 142c. The port 142a is connected to the first network device 141 and has an IP address of "B4". The port 142b is connected to the third network device 143 and has an IP address of "B5". The port 142c is connected to the Layer 2 switch 144 and has an IP address of "B6".
[0036] The second network device 142 has a packet relay function. The second network device 142 receives a packet transmitted by the operation server 11a or 11b via the layer 2 switch 144, and judges whether or not the precedence value included in the ToS (Type of Service) field of the IP header is, for example, "7". The second network device 142 then transmits a packet with a precedence value of "7" to the third network device 143, and transmits the other packets to the first network device 141. Therefore, the packet with the precedence value of "7" is transmitted to the detour route, and the other packets are transmitted to the direct route. The second network device 142 may be a layer 3 switch.
[0037] The precedence value is set to "7" by the third network device 143 as described later. The second network device 142 may use identification information other than the precedence value to distribute packets. Any judgment condition using identification information may be used to distribute packets.
[0038] The third network device 143 has ports 143a and 143b. The port 143a is connected to the first network device 141 and has an IP address of "B7". The port 143b is connected to the third network device 143 and has an IP address of "B8".
[0039] The third network device 143 converts the destination information of the packet transmitted by the first client terminal 131 into the IP address of the primary server 11a or 11b, and sets the precedence value included in the packet header to "7." In addition, the third network device 143 converts the source information of the packet transmitted by the primary server 11a or 11b into the IP address of the new server 12a or 12b.
[0040] The layer 2 switch 144 is connected to the operation servers 11a and 11b. The layer 2 switch 144 may also be connected to the new servers 12a and 12b before they start operation.
[0041] Next, the operation of the network system 14a will be described. First, a case where the first client terminal 131 transmits a packet to the new server 12a will be described. The transmitted packet is first transmitted by the first network device 141 to the third network device 143. Next, the third network device 143 converts the destination information of the packet into the address information of the operational server 11a, and sets the precedence value of the header to "7". Then, the packet is transmitted to the operational server 11a via the second network device 142 and the Layer 2 switch 144.
[0042] The response packet transmitted by the operational server 11a is then transmitted to the second network device 142 via the L2 switch 144. Since the precedence value of the response packet is "7", the second network device 142 transmits the response packet to the third network device 143. The third network device 143 converts the source information of the response packet and transmits it to the first network device 141. The first network device 141 transmits the response packet to the first client terminal 131. Since the source information of the response packet is the address information of the new server 12a, the first client terminal 131 is able to perform communication.
[0043] Next, a case where the second client terminal 132 transmits a packet to the operational server 11a will be described. The transmitted packet is transmitted by the first network device 141 to the second network device 142, and then transmitted to the operational server 11a via the L2 switch 144. Since the precedence value of the response packet transmitted by the operational server 11a has not been rewritten, the second network device 142 transmits the response packet to the first network device 141. Then, the first network device 141 transmits the response packet to the second client terminal 132. Through the above operations, the second client terminal 132 is able to communicate with the operational server 11a.
[0044] In this way, the network system 14a converts the destination information of the packet transmitted by the first client terminal 131 into the address information of the operational server, and converts the source information of the response packet transmitted by the operational server 11 into the address information of the new server 12. Therefore, the first client terminal 131, which is set to communicate with the new server 12, can establish communication with the operational server 11. Note that the packet transmitted by the second client terminal 132 and its response packet are not address converted, and therefore do not affect the communication between the second client terminal and the operational server.
[0045] It is also possible to establish communication when the second network device 142 transmits a response packet to both the first network device 141 and the third network device 143. In such a case, two response packets are transmitted to the client terminal 13. On the other hand, the network system 14a according to the second embodiment transmits only one response packet, thereby reducing the amount of communication. This is advantageous when the client terminal 13 performs wireless communication. This also reduces the processing load on the client terminal.
[0046] (Embodiment 3) The third embodiment is also a specific example of the first embodiment, like the second embodiment. A network system 14b according to the third embodiment transmits a packet transmitted by the operation server 11 to both the first network device 141 and the third network device 143.
[0047] In the second embodiment, the case where the client terminal 13 initiates communication has been described, but communication may also be initiated by the operation server 11a or 11b. Such communication is also called server-initiated communication. Communication initiated by a client terminal is also called client-initiated communication.
[0048] According to the second embodiment, when communication is initiated from the server side, the second network device 142 cannot establish communication because it cannot determine whether the destination is the first client terminal 131 or the second client terminal 132. The network system 14b can establish communication even in such a case.
[0049] FIG. 3 is a block diagram showing the configuration of a communication system 1b and a network system 14b according to the third embodiment. The following mainly describes the differences from FIG. 2. The second network device 142 further includes a port 142d. The third network device 143 further includes a port 143c. The IP address of the port 143c is "B9". As will be described later, a virtual IP address is set to the ports 143c and 141b. The virtual IP address is "D1".
[0050] The second network device 142 is configured to transmit a copy of a packet transmitted from port 142a from port 142d. Here, VRRP (Virtual Router Redundancy Protocol) technology is used, and the same virtual IP address "D1" is set to ports 141b and 143c. Furthermore, since port 142c is a port for mirroring, no IP address is set. To transmit the same packet, it is necessary to set the same MAC (Media Access Control) address to port 141b and port 143c. For this reason, the network system 14b uses VRRP.
[0051] Next, the operation of the network system 14b will be described. First, a case where the operational server 11a transmits a packet to the first client terminal 131 will be described. The second network device 142 transmits the packet to the first network device 141, and transmits a copy of the packet to the third network device 143. The third network device 143 converts the source information of the packet and transmits it to the first network device 141. The first client terminal 131 receives two packets from the first network device 141, responds to the packet with the converted source information, and ignores the packet with the unconverted source information. Therefore, the operational server 11 can establish communication with the first client terminal 131.
[0052] Next, a case where the operational server 11a transmits a packet to the second client terminal 132 will be described. The second network device 142 transmits the packet to the first network device 141, and transmits a copy of the packet to the third network device 143. The third network device 143 converts the source information of the packet and transmits it to the first network device 141. The second client terminal 132 receives two packets from the first network device 141, responds to the packet whose source information has not been converted, and ignores the packet whose source information has been converted. Therefore, the operational server 11 can establish communication with the second client terminal 132.
[0053] In this way, the network system 14b can establish a server-triggered communication during server migration. Also, the network system 14b can establish a client-triggered communication, as in the second embodiment. In this case, the client terminal 13 may respond to only one of the two received packets.
[0054] Furthermore, in the network system 14b, route identification information may be set in the same manner as in embodiment 2. In this case, similar to embodiment 2, the second network device 142 transmits the packet to the third network device 143 when the precedence value satisfies a predetermined condition, and transmits the packet to the first network device 141 in other cases.
[0055] Here, the second network device 142 may operate to perform packet mirroring in the case of server-triggered communication, and not to perform packet mirroring in the case of client-triggered communication. In such a case, the amount of communication and the processing load can be reduced because two packets are not transmitted in the client-triggered communication. The second network device 142 may be set to perform conditional port mirroring depending on the type of server-triggered communication, for example.
[0056] Although the present invention has been described above with reference to the embodiment, the present invention is not limited to the above. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the invention. For example, in the above embodiment, the present invention has been described as a hardware configuration, but the present invention is not limited to this. The present invention can also be realized by having a CPU (Central Processing Unit) execute a computer program to perform any processing.
[0057] The program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory)). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable media include electric signals, optical signals, and electromagnetic waves. The transitory computer readable media can provide the program to the computer via a wired communication path such as an electric wire and an optical fiber, or via a wireless communication path. [Explanation of symbols]
[0058] 1, 1a, 1b Communication Systems 11, 11a, 11b production servers 12, 12a, 12b Non-production servers (new servers) 13 Client terminal 131 1st client terminal 132 Second client terminal 14, 14a, 14b Network Systems 141 First network device 142 Second network device 143 Third network device 144 Layer 2 Switch 141a, 141b, 141c, 142a, 142b, 142c, 142d, 143a, 143b, 143c ports
Claims
1. a first network device that, when relaying a packet transmitted by a client terminal, transmits a packet having address information of a non-production server as destination information to a detour route and transmits a packet having address information of a production server as destination information to a direct route; a second network device that performs at least one of a first process of transmitting a packet transmitted by the operational server to both the detour route and the direct route when relaying the packet, and a second process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet; a third network device that converts destination information of a packet transmitted by the client terminal into address information of the primary server and converts source information of a packet transmitted by the primary server into address information of the non-primary server in the detouring route; Equipped with the third network device sets the route identification information included in a header of a packet transmitted by the client terminal to a predetermined value on the detour route; the second process transmits the packet to the detour route if the route identification information is equal to the predetermined value, and otherwise transmits the packet to the direct route; Network system.
2. The first process includes transmitting the packet to one of the detour route and the direct route, and copying the transmitted packet and transmitting it to the other route. The network system according to claim 1 .
3. The first process transmits the same packet to both the detour route and the direct route by using a Virtual Router Redundancy Protocol (VRRP) technology. The network system according to claim 2 .
4. A production server; A client terminal; A network system; Equipped with The network system includes: a first network device that, when forwarding a packet transmitted by the client terminal, transmits a packet having address information of a non-operational server as destination information to a detour route and transmits a packet having address information of the operation server as destination information to a direct route; a second network device that performs at least one of a first process of transmitting a packet transmitted by the operational server to both the detour route and the direct route when the packet is forwarded, and a second process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet; a third network device that converts destination information of a packet transmitted by the client terminal into address information of the primary server, and converts source information of a packet transmitted by the primary server into address information of the non-primary server, in the detouring route; the third network device sets the route identification information included in a header of a packet transmitted by the client terminal to a predetermined value on the detour route; the second process transmits the packet to the detour route if the route identification information is equal to the predetermined value, and otherwise transmits the packet to the direct route; Communication systems.
5. When forwarding packets sent by a client terminal, packets whose destination information is the address information of a non-production server are sent via a detour route, and packets whose destination information is the address information of a production server are sent via a direct route. When forwarding a packet transmitted by the operational server, at least one of a first process of transmitting the packet via both the detour route and the direct route and a second process of transmitting the packet so that the routes of a going packet and a returning packet are the same based on route identification information assigned to the packet, converting destination information of a packet transmitted by the client terminal into address information of the primary server, and converting source information of a packet transmitted by the primary server into address information of the non-primary server, in the detouring route; 1. A communication method comprising: setting the route identification information included in a header of a packet transmitted by the client terminal to a predetermined value on the detour route; the second process transmits the packet to the detour route if the route identification information is equal to the predetermined value, and otherwise transmits the packet to the direct route; Communication methods.
Citation Information
Patent Citations
Method and system for shifting connection destination
JP2009005189A
Communication system, route control device, user terminal and route control method
JP2014023137A
Redundancy support for network address translation (NAT)
US20100254255A1
Update management system and update management method
WO2015146355A1
