Network system and communication apparatus for performing communication among networks having different VLAN settings
09923733 ยท 2018-03-20
Assignee
Inventors
Cpc classification
International classification
Abstract
A network system that comprises a plurality of communication apparatuses, each of the communication apparatuses being capable of performing a VLAN setting by using a VLAN number set for a connection port, that sets a VLAN number for each of the communication apparatuses, and that performs communication among cars of a train, wherein in a case where a specific type of packet that disables a VLAN setting is a packet of a multicast address, when a distribution target apparatus is connected to a communication apparatus that has received the specific type of packet, the communication apparatus transfers the specific type of packet to the distribution target apparatus and, irrespective of a VLAN number set for another communication apparatus, regards a VLAN different from a VLAN of the communication apparatus as a same network and transfers the specific type of packet to the another communication apparatus.
Claims
1. A network system comprising: a plurality of communication apparatuses, each of the communication apparatuses being capable of performing a VLAN setting by using a VLAN number set for a connection port, that sets a VLAN number for each of the communication apparatuses, and that performs communication among cars of a train, wherein the communication apparatus determines, on a basis of information that is given to a packet and identifies a type of communication, whether a received packet is a packet that is set to be permitted to pass and is a specific type of packet that disables a VLAN setting, and in a case where the communication apparatus receives a packet of a multicast address as the specific type of packet, when a distribution target apparatus is connected to the communication apparatus, the communication apparatus transfers the specific type of packet to the distribution target apparatus, disables setting of a VLAN number set for another communication apparatus, regards a VLAN different from a VLAN of the communication apparatus as a same network, and transfers the specific type of packet to the another communication apparatus.
2. The network system according to claim 1, wherein the specific type of packet is a packet having a specific MAC address.
3. A network system comprising: a plurality of communication apparatuses, each of the communication apparatuses being capable of performing a VLAN setting by using a VLAN number set for a connection port, that sets a VLAN number for each of the communication apparatuses, and that performs communication among cars of a train, wherein the communication apparatus determines, on a basis of information that is given to a packet and identifies a type of communication, whether a received packet is a packet that is set to be permitted to pass and is a specific type of packet that disables a VLAN setting, and in a case where the communication apparatus receives a packet of a unicast address as the specific type of packet, when a destination of the specific type of packet is an apparatus connected to the communication apparatus, the communication apparatus transfers the packet to the apparatus at a desired destination and, when a destination of the specific type of packet is an apparatus connected to another communication apparatus, the communication apparatus disables setting of a VLAN number set for the another communication apparatus, regards a VLAN different from a VLAN of the communication apparatus as a same network, and transfers the specific type of packet to the another communication apparatus.
4. The network system according to claim 3, wherein the specific type of packet is a packet having a specific MAC address.
5. A communication apparatus comprising: at least one connection port, wherein the communication apparatus is in a network system that comprises a plurality of communication apparatuses, each of the communication apparatuses being capable of performing a VLAN setting by using a VLAN number set for a connection port, and wherein the communication apparatus sets a VLAN number for each of the communication apparatuses, and that performs communication among cars of a train, wherein the communication apparatus determines, on a basis of information that is given to a packet and identifies a type of communication, whether a received packet is a packet that is set to be permitted to pass and is a specific type of packet that disables a VLAN setting, and in a case where the communication apparatus receives a packet of a multicast address as the specific type of packet, when a distribution target apparatus is connected to the communication apparatus, the communication apparatus transfers the specific type of packet to the distribution target apparatus, disables setting of a VLAN number set for another communication apparatus, regards a VLAN different from a VLAN of the communication apparatus as a same network, and transfers the specific type of packet to the another communication apparatus.
6. The communication apparatus according to claim 5, wherein the specific type of packet is a packet having a specific MAC address.
7. A communication apparatus comprising: at least one connection port, wherein the communication apparatus is in a network system that comprises a plurality of communication apparatuses, each of the communication apparatuses being capable of performing a VLAN setting by using a VLAN number set for a connection port, and wherein the communication apparatus sets a VLAN number for each of the communication apparatuses, and that performs communication among cars of a train, wherein the communication apparatus determines, on a basis of information that is given to a packet and identifies a type of communication, whether a received packet is a packet that is set to be permitted to pass and is a specific type of packet that disables a VLAN setting, and in a case where the communication apparatus receives a packet of a unicast address as the specific type of packet, when a destination of the specific type of packet is an apparatus connected to the communication apparatus, the communication apparatus transfers the packet to the apparatus at a desired destination and, when a destination of the specific type of packet is an apparatus connected to another communication apparatus, the communication apparatus disables setting of a VLAN number set for the another communication apparatus, regards a VLAN different from a VLAN of the communication apparatus as a same network, and transfers the specific type of packet to the another communication apparatus.
8. The communication apparatus according to claim 7, wherein the specific type of packet is a packet having a specific MAC address.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
DESCRIPTION OF EMBODIMENTS
(5) Exemplary embodiments of a network system and a communication apparatus according to the present invention are explained in detail below with reference to the drawings. Note that the present invention is not limited to the embodiments.
Embodiment
(6)
(7) A management apparatus 10 and apparatuses 11 to 13, which are connected to the VLAN #1 setting ports, are connected to the communication apparatus 1. Apparatuses 14 to 16, which are connected to the VLAN #1 setting ports, are connected to the communication apparatus 2. A management apparatus 20 and apparatuses 21 to 23, which are connected to the VLAN #2 setting ports, are connected to the communication apparatus 3. A management apparatus 30 and apparatuses 31 to 33, which are connected to the VLAN #3 setting ports, are connected to the communication apparatus 4. The communication apparatuses 1 to 4 each include a plurality of connection ports. The communication apparatuses 1 to 4 can perform VLAN settings by using VLAN numbers set for the connection ports. A specific example of the network system is a system in which, in a train formation, a communication apparatus in provided in each car and communication is performed among the cars by connecting the cars through Trunk Links. However, the network system is not limited to such communication among the cars.
(8)
(9) When communication is performed among cars, for example, a system is conceivable in which one communication apparatus is arranged in each of the cars and a VLAN is set for each of the cars. As an apparatus connected to each communication apparatus, there is a management apparatus that manages communication of a corresponding VLAN. As an apparatus connected to each communication apparatus, there are, for example, a guidance display apparatus, a destination display apparatus, and a sound data output apparatus. However, apparatuses connected to each communication apparatus are not limited to these apparatuses.
(10) Next, an explanation will be made of a case where communication is performed by a certain apparatus with apparatuses connected to communication apparatuses of other VLAN settings. Specifically, a microphone (an apparatus) connected to a communication apparatus of any car is used to output sound data from sound data output apparatuses connected to communication apparatuses of all cars in a train formation. When a certain apparatus performs communication with apparatuses connected to other VLANs, in the present embodiment, a specific type of packet is used. The specific type indicates a port number corresponding to 80 or 110 in TCP/UDP, an IP address, a MAC address, or the like. For example, when one apparatus transmits data to apparatuses connected to networks of VLANs having the same and different settings, the apparatus on the transmission side performs communication using a specific multicast address. When a multicast address is set as an IP address, a MAC address can also be determined. In each communication apparatus, passage permission is set in a table or the like included in its own apparatus in advance for the specific type of packet, whereby a packet for disabling the VLANs can be defined in the system.
(11)
(12) Specifically, when the apparatus 11 communicates with the apparatuses 12 to 16 on the VLAN #1 side, the apparatuses 21 to 23 on the VLAN #2 side, and the apparatuses 31 to 33 on the VLAN #3 side, the apparatus 11 transmits the specific type of packet to the communication apparatus 1. The communication apparatus 1 transfers the specific type of packet received from the apparatus 11 to the apparatuses 12 and 13 that are desired destinations and the communication apparatus 2. The communication apparatus 2 transfers the specific type of packet received from the communication apparatus 1 to the apparatuses 14 to 16 that are desired destinations. Moreover, irrespective of the setting of the port VLANs (ignoring the setting of the port VLANs), the communication apparatus 2 transfers the specific type of packet received from the communication apparatus 1 to the communication apparatus 3. Irrespective of the setting of the port VLANs (ignoring the setting of the port VLANs), the communication apparatus 3 transfers the specific type of packet received from the communication apparatus 2 to the apparatuses 21 to 23 that are desired destinations and the communication apparatus 4. Irrespective of the setting of the port VLANs (ignoring the setting of the port VLANs), the communication apparatus 4 transfers the specific type of packet received from the communication apparatus 3 to the apparatuses 31 to 33 that are desired destinations.
(13) As explained above, when receiving the specific type of packet from the apparatus 11, the communication apparatuses 3 and 4 disable the settings of the port VLANs and operate while regarding the networks of the VLAN #2 and the VLAN #3, respectively, as the same network as the VLAN #1.
(14) Note that communication among the VLANs is not limited to multicast and can also be performed in unicast.
(15) Specifically, when the apparatus 11 communicates with the apparatus 31 on the VLAN #3 side, the apparatus 11 transmits the specific type of packet to the communication apparatus 1. The communication apparatus 1 transfers the specific type of packet received from the apparatus 11 to the communication apparatus 2. Irrespective of the setting of the port VLANs (ignoring the setting of the port VLANs), the communication apparatus 2 transfers the specific type of packet received from the communication apparatus 1 to the communication apparatus 3. Irrespective of the setting of the port VLANs (ignoring the setting of the port VLANs), the communication apparatus 3 transfers the specific type of packet received from the communication apparatus 2 to the communication apparatus 4. Irrespective of the setting of the port VLANs (ignoring the setting of the port VLANs), the communication apparatus 4 transfers the specific type of packet received from the communication apparatus 3 to the apparatus 31 that is a desired destination.
(16) As in the case of multicast, when receiving the specific type of packet from the apparatus 11, the communication apparatuses 3 and 4 disable the settings of the port VLANs and operate while regarding the networks of the VLAN #2 and the VLAN #3, respectively, as the same network as the VLAN #1.
(17) As explained above, according to the present embodiment, in a network system configured from a plurality of communication apparatuses, irrespective of the VLAN settings, a communication apparatus that has received a specific type of packet regards a plurality of VLANs as the same network and transfers the received packet to apparatuses that are connected to the connection ports and are desired destinations and adjacent communication apparatuses. Consequently, in a system that shares a network, it is possible to perform communication among networks having different VLAN settings.
REFERENCE SIGNS LIST
(18) 1, 2, 3, 4 communication apparatus, 5, 6, 7 Trunk Link, 10, 20, 30 management apparatus, 11 to 16, 21 to 23, 31 to 33 apparatus.