WO2021117270A1 - 中継装置及び通信システム - Google Patents

中継装置及び通信システム Download PDF

Info

Publication number
WO2021117270A1
WO2021117270A1 PCT/JP2020/022691 JP2020022691W WO2021117270A1 WO 2021117270 A1 WO2021117270 A1 WO 2021117270A1 JP 2020022691 W JP2020022691 W JP 2020022691W WO 2021117270 A1 WO2021117270 A1 WO 2021117270A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
time
frame
time synchronization
relay device
Prior art date
Application number
PCT/JP2020/022691
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 CN202080082123.8A priority Critical patent/CN114762286B/zh
Priority to EP20899811.2A priority patent/EP4057564B1/en
Publication of WO2021117270A1 publication Critical patent/WO2021117270A1/ja
Priority to US17/710,070 priority patent/US11990990B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0641Change of the master or reference, e.g. take-over or failure of the master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • H04L7/041Speed or phase control by synchronisation signals using special codes as synchronising signal
    • H04L7/042Detectors therefor, e.g. correlators, state machines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • H04L7/10Arrangements for initial synchronisation

Definitions

  • the present invention relates to a relay device and a communication system.
  • the time distribution server that has the reference clock of the network is the time distribution server GM (G) Is timed, the time information indicating the time is distributed in a time synchronization frame, and the device that receives the time information from the GM corrects the time. This makes it possible to synchronize the time in the network.
  • the network is configured with a complete dual system to improve the fault tolerance, and multiple GMs are arranged on the network to realize highly accurate time synchronization. It is used.
  • a network with a redundant configuration of GMs one GM that distributes the time using BMCA (Best Master Clock Algorithm) or the like is selected in order to unify the synchronized time, and a time distribution tree starting from the selected GM. Is generated.
  • BMCA Best Master Clock Algorithm
  • a GM that distributes time information is newly selected from the GMs that are operating normally, so that the device belonging to the network can be used.
  • the time synchronization accuracy is maintained (see, for example, Patent Document 1).
  • the GM distributes the time information from the time information distribution port, but in the case of making it redundant in the conventional technology, it is necessary to provide a plurality of time information distribution ports in the GM.
  • GM employs a highly accurate and expensive reference clock using an atomic clock or GPS (Global Positioning System), and L2SW (Layer 2 SWitch). It is expensive compared to the relay device such as. Further, the GM becomes more expensive as the number of time information distribution ports increases.
  • the fault tolerance is strengthened by arranging a plurality of GMs having a large number of time information distribution ports, which are relatively expensive, in the network, but the cost of the GM is a factor of cost deterioration. It was.
  • one or more aspects of the present invention are aimed at enabling highly reliable time synchronization at a low cost.
  • the relay device transfers a plurality of ports for receiving frames and a frame received by one port included in the plurality of ports from at least one port among the plurality of ports.
  • the transfer processing unit is provided with a transfer processing unit for blocking, and the transfer processing unit includes a filtering function that blocks frames other than the time synchronization frame used for synchronizing the time in a transfer involving a port selected from the plurality of ports. It is characterized by that.
  • the communication system includes a first network including a first relay device, and a communication including a second relay device and a second network having a segment different from that of the first network.
  • the first relay device has a plurality of first ports for receiving frames and a plurality of frames received by one first port included in the plurality of first ports.
  • the first time information relay port included in the plurality of first ports includes a first transfer processing unit for transferring from at least one first port among the first ports of the above.
  • the first transfer processing unit which is connected to the second relay device, blocks frames other than the time synchronization frame used for synchronizing the time in the transfer involving the first time information relay port.
  • the second relay device includes one filtering function, and the second relay device receives a plurality of second ports for receiving frames and a frame received by one second port included in the plurality of second ports.
  • the second time information relay port included in the plurality of second ports includes a second transfer processing unit for transferring from at least one second port among the plurality of second ports.
  • the second transfer processing unit which is connected to the first relay device, has a second filtering function that blocks frames other than the time synchronization frame in the transfer involving the second time information relay port. It is characterized by being prepared.
  • time synchronization can be performed with high reliability at a low cost.
  • FIG. 5 is a block diagram for explaining a time information distribution route when a failure occurs in one GM in the first and second embodiments.
  • FIG. 5 is a block diagram for explaining a time information distribution route when a failure occurs in two GMs in the second embodiment.
  • FIG. 1 is a block diagram schematically showing a communication system 100 including relay devices 110A to 110D according to the first embodiment.
  • the communication system 100 includes a network 101A and a network 101B.
  • the network 101A includes relay devices 110A and 110B and communication devices 103A and 103B.
  • a GM104A is connected to the relay device 110A, and a time synchronization frame for synchronizing the time is transmitted from the GM104A to the relay device 110A.
  • the network 101A is also referred to as a first network.
  • each of the relay devices 110A and 110B is also referred to as a first relay device.
  • the GM104A is also referred to as a first time distribution server, and the time synchronization frame transmitted by the GM104A is also referred to as a first time synchronization frame.
  • the network 101B includes relay devices 110C and 110D and communication devices 103C and 103D.
  • a GM104B is connected to the relay device 110C, and a time synchronization frame for synchronizing the time is transmitted from the GM104B to the relay device 110C.
  • the network 101B is also referred to as a second network.
  • each of the relay devices 110C and 110D is also referred to as a second relay device.
  • the GM104B is also referred to as a second time distribution server, and the time synchronization frame transmitted by the GM104B is also referred to as a second time synchronization frame.
  • devices described at the same position on the network 101A and the network 101B such as the communication device 103A and the communication device 103C, are arranged in the same area and can provide the same service.
  • the communication device 103A and the communication device 103C are arranged in the same area and can provide the same service.
  • the user can enjoy the service via both the networks 101A and 101B.
  • the segments of network 101A and network 101B are different. In order to avoid mixing of communication frames, networks 101A and 101B having different segments are not normally connected. However, in the communication system 100 according to the first embodiment, by providing the relay devices 110B and 110D having a filter function for transmitting only the time synchronization frame, the networks 101A and 101B are connected so that the communication frames are not mixed. Has been done.
  • GM104A and GM104B are operating normally, two GM104A and 104B are present in the communication system 100, but BMCA or the like is used.
  • the high-priority GM (for example, GM104A in FIG. 1) is selected, and the relay devices 110A to 110D and the communication devices 103A to 103D connected to both networks 101A and 101B are set at the time of the selected GM. Synchronize.
  • the communication devices 103A and 103B may be any device as long as they can communicate via the network 101A. Further, each of the GM 104A and 104B may have one time information distribution port for transmitting a time synchronization frame indicating the time to be synchronized.
  • the time information distribution port is a physical port that transmits a time synchronization frame to the network. The time indicated by the time synchronization frame is a reference time.
  • relay devices 110A to 110D are configured in the same manner, hereinafter, when it is not necessary to distinguish each of them, each of them is referred to as a relay device 110.
  • FIG. 2 is a block diagram schematically showing the configuration of the relay device 110.
  • the relay device 110 includes a plurality of physical ports 111-1 to 111-N (N is an integer of 2 or more), a time information relay port setting unit 112, a layer 2 protocol processing unit 113, and a time synchronization processing unit 114. ,
  • the time measuring unit 115 is provided.
  • Each of the physical ports 111-1 to 111-N is a port as a communication interface for connecting to a network.
  • Each of the physical ports 111-1 to 111-N transmits and receives frames.
  • At least one of the physical ports 111-1 to 111-N is selected by the time information relay port setting unit 112 as the time information relay port to which the filter function for transmitting only the time synchronization frame is applied.
  • the time information relay port is connected to the relay device 110 of a different segment.
  • the physical ports 111-1 to 111-N included in the first relay device are also referred to as the first port, and the physical ports 1111-1 to 111-N included in the second relay device are also referred to as the second port.
  • the time information relay port setting unit 112 notifies the layer 2 protocol processing unit 113 of the time information relay port number, which is physical port identification information for identifying the time information relay port to which the filter function that transmits only the time synchronization frame is applied. To do.
  • the time information relay port is a physical port that is used for the above-mentioned connection between both networks and applies a filter function that transmits only time synchronization frames.
  • the time information relay port may be predetermined or may accept selection from the user.
  • the time information relay port setting unit 112 receives the designation of the time information relay port number from the user terminal connected to any of the physical ports 111-1 to 111-N, and thereby the designated time information relay port. Select the physical port identified by the number as the time information relay port.
  • the relay device 110 is provided with an input unit for receiving an input of an instruction from the user, the time information relay port number is input via such an input unit. You may.
  • the time information relay port setting unit 112 indicates that when the time information relay port is not used, the time information relay port number is not notified to the layer 2 protocol processing unit 113, or the time information relay port is not used. The predetermined number is notified to the layer 2 protocol processing unit 113.
  • the relay device 110B and the relay device 110D use the time information relay port, but the relay device 110A and the relay device 110C do not use the time information relay port. .. Therefore, in the first embodiment, the relay devices 110A and 110C may be relay devices having a time synchronization function.
  • the layer 2 protocol processing unit 113 transfers a frame received by one physical port included in the physical ports 111-1 to 111-N from at least one of the physical ports 111-1 to 111-N. It is a transfer processing unit.
  • the layer 2 protocol processing unit 113 includes a filtering function that blocks frames other than the time synchronization frame in the transfer involving the time information relay port.
  • the layer 2 protocol processing unit 113 applies a filtering function to frames received by the time information relay port. If the frame received by the time information relay port is not a time synchronization frame, the layer 2 protocol processing unit 113 deletes the frame. Alternatively, when the frame received by the time information relay port is not a time synchronization frame, the layer 2 protocol processing unit 113 does not transfer the frame from any of the physical ports 111-1 to 111-N.
  • the frame received by the time information relay port is also referred to as a first frame.
  • the layer 2 protocol processing unit 113 receives the frame from the physical port that received the frame and the time information relay port setting unit 112. Check if the physical port indicated by the notified time information relay port number matches. Further, when any of the physical ports 111-1 to 111-N receives a frame, the layer 2 protocol processing unit 113 confirms whether or not the frame is a time synchronization frame.
  • FIG. 3 is a schematic diagram showing the format of the time synchronization frame defined by IEEE 1588 PTP or IEEE 802.1AS.
  • the time synchronization frame 120 includes a MAC DA (Media Access Control Destination Addless) region 121, a MAC SA (Media Access Control Source Address) region 122, a VLAN (Virtual Access Control Region) region 122, and a VLAN (Virtual Access Control) region, a VLAN (Virtual Local) region, a VLAN region, and a VLAN region. It has a Message Field region 125 and an FCS (Frame Check Sequence) region 126.
  • the layer 2 protocol processing unit 113 can determine whether or not the received frame is a time synchronization frame by checking the MAC DA area 121 and the TYPE area 124 of the received frame.
  • the destination MAC address "01-80-C2-00-00-0E" is a Link-by-Link address suggesting that transfer is not possible, it was received by the time information distribution route between the two networks.
  • the time synchronization frame is terminated by the relay device 110 and discarded without being transferred.
  • the layer 2 protocol processing unit 113 gives the time synchronization frame to the time synchronization processing unit 114.
  • the layer 2 protocol processing unit 113 discards the frame. If the received frame is not a time synchronization frame and the physical port that received the frame is not a time information relay port, the layer 2 protocol processing unit 113 uses the MAC DA area and the VLAN area of the frame.
  • the frame is transferred to the physical port in the same segment as the physical port that received the frame, excluding the physical port that received the frame and the time information relay port.
  • the frames processed by the time information relay port can be limited to the time synchronization frames by the above-described processing.
  • a frame received by a physical port other than the time information relay port is also referred to as a second frame.
  • the filtering function executed by the layer 2 protocol processing unit 113 of the first relay device is also referred to as the first filtering function
  • the filtering function executed by the layer 2 protocol processing unit 113 of the second relay device is the second filtering. Also called a function.
  • the time synchronization processing unit 114 processes the time synchronization frame received from the layer 2 protocol processing unit 113 based on the provisions of IEEE1588 PTP or IEEE802.1AS. For example, the time synchronization processing unit 114 controls the time measurement unit 115 to synchronize the time measured by the time measurement unit 115 with the time indicated by the time synchronization frame received from the layer 2 protocol processing unit 113. Further, when the time synchronization processing unit 114 receives the time synchronization frame from the layer 2 protocol processing unit 113, the time synchronization processing unit 114 generates a time synchronization frame based on the provisions of IEEE1588 PTP or IEEE802.1AS. Then, the time synchronization processing unit 114 determines a physical port for outputting the time synchronization frame generated based on the provisions of IEEE1588 PTP or IEEE802.1AS.
  • the time synchronization processing unit 114 when the time information relay port receives the time synchronization frame, the time synchronization processing unit 114 causes the generated time synchronization frame to be transmitted from all physical ports except the physical port that received the time synchronization frame.
  • the time synchronization processing unit 114 sets the generated time synchronization frame to the physical of the same segment as the physical port that received the time synchronization frame. Send from the port (excluding the port that received the time synchronization frame) and the time information relay port.
  • the timekeeping unit 115 clocks the time.
  • the time measuring unit 115 measures the time based on a signal from a transmitter, an oscillator, or the like which is a clock source (not shown).
  • the plurality of physical ports 111-1 to 111-N of the first relay device are also referred to as a plurality of first physical ports, and the time information relay port setting unit 112 of the first relay device relays the first time information. It is also called a port setting unit, the layer 2 protocol processing unit 113 of the first relay device is also referred to as a first transfer processing unit, and the time synchronization processing unit 114 of the first relay device is also referred to as a first time synchronization processing unit.
  • the time measuring unit 115 of the first relay device is also referred to as a first time measuring unit. Further, the time information relay port of the first relay device is also referred to as a first time information relay port.
  • the plurality of physical ports 111-1 to 111-N of the second relay device are also referred to as a plurality of second physical ports, and the time information relay port setting unit 112 of the second relay device relays the second time information.
  • the layer 2 protocol processing unit 113 of the second relay device is also referred to as a second transfer processing unit, and the time synchronization processing unit 114 of the second relay device is also referred to as a second time synchronization processing unit.
  • the time measuring unit 115 of the second relay device is also referred to as a second measuring unit.
  • the time information relay port of the second relay device is also referred to as a second time information relay port.
  • a part or all of the time information relay port setting unit 112, the layer 2 protocol processing unit 113, the time synchronization processing unit 114, and the time counting unit 115 described above are, for example, as shown in FIG. 4 (A).
  • the memory 10 and a processor 11 such as a CPU (Central Processing Unit) that executes a program stored in the memory 10 can be configured.
  • a program may be provided through a network, or may be recorded and provided on a recording medium. That is, such a program may be provided as, for example, a program product.
  • time information relay port setting unit 112 the layer 2 protocol processing unit 113, the time synchronization processing unit 114, and the time counting unit 115 are single, for example, as shown in FIG. 4 (B). It can also be composed of a circuit, a composite circuit, a programmed processor, a parallel programmed processor, and a processing circuit 12 such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array). That is, the time information relay port setting unit 112, the layer 2 protocol processing unit 113, the time synchronization processing unit 114, and the timekeeping unit 115 can be configured by a processing network.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • FIG. 5 is a block diagram schematically showing the configuration of the communication system 100 # 1 in the first comparative example for comparison with the communication system 100 in the first embodiment.
  • Communication system 100 # 1 includes network 101A # 1 and network 101B # 1.
  • the network 101A # 1 includes relay devices 102A # 1 and 102B # 1 and communication devices 103A and 103B.
  • the GM104A # 1 is connected to the relay device 102A # 1, and a time synchronization frame for synchronizing the time is transmitted from the GM104A # 1 to the relay device 102A # 1.
  • the network 101B # 1 includes relay devices 102C # 1 and 102D # 1 and communication devices 103C and 103D.
  • the GM104B # 1 is connected to the relay device 102C # 1, and a time synchronization frame for synchronizing the time is transmitted from the GM104B # 1 to the relay device 102C # 1.
  • the communication system 100 # 1 in the first comparative example is a simple complete duplex composed of three types of devices: GM104A # 1, 104B # 1, relay devices 102A # 1 to 102D # 1, and communication devices 103A to 130D.
  • This is an example of a system network configuration.
  • each of the relay devices 102A # 1 to 102D # 1 can be configured by, for example, a relay device having a time synchronization function.
  • the device of network 101A # 1 is synchronized with the delivery time of GM104A # 1
  • the device of network 101B # 1 is synchronized with the delivery time of GM104B # 1.
  • the one network can perform communication while maintaining time synchronization.
  • FIG. 6 is a block diagram schematically showing the configuration of the communication system 100 # 2 in the second comparative example for comparison with the communication system 100 in the first embodiment.
  • Communication system 100 # 2 includes network 101A # 2 and network 101B # 2.
  • the network 101A # 2 includes relay devices 102A # 2 and 102B # 2 and communication devices 103A and 103B.
  • GM104A # 2 and GM104B # 2 are connected to the relay device 102A # 2, and a time synchronization frame for synchronizing the time is transmitted from the GM104A # 2 and the GM104B # 2 to the relay device 102A # 2.
  • the network 101B # 2 includes relay devices 102C # 2 and 102D # 2 and communication devices 103C and 103D.
  • GM104B # 2 and GM104A # 2 are connected to the relay device 102C # 2, and a time synchronization frame for synchronizing the time is transmitted from the GM104B # 2 and the GM104A # 2 to the relay device 102C # 2.
  • each of the GM 104A # 2 and 104B # 2 includes two time information distribution ports for transmitting a time synchronization frame.
  • each of the relay devices 110A # 2 to 102D # 2 can be configured by, for example, a relay device having a time synchronization function.
  • each of the communication devices 103A to 103D selects a GM having a high priority (for example, 104A # 2) using BMCA or the like, and synchronizes with the time of the selected GM.
  • GM104B # 2 operating normally has both networks 101A # 2 and 101B #. Time information can be delivered to 2. Therefore, even in such a case, the service can be continued to be provided on both networks 101A # 2 and 101B # 2.
  • both (a) GMs are in a double failure state.
  • the service can be continued unless a failure occurs or (b) a communication failure (for example, a failure of the relay device or a communication path failure between the relay devices) occurs in both networks. Therefore, it can be said that the configuration shown in FIG. 6 has higher fault tolerance than the configuration shown in FIG.
  • GM generally becomes more expensive as the number of ports capable of delivering time information increases.
  • FIG. 8 is a block diagram for explaining a time information distribution route when a failure occurs in one GM104A in the communication system 100 according to the first embodiment.
  • the time information distributed by the normally operating GM104B is transmitted to both networks 101A via the wiring between the relay devices 110B and 110D. Since it is delivered to 101B, the service can be continuously provided on both networks 101A and 101B. Further, even if a failure or a failure occurs in the operating networks 101A and 101B before the failed GM104A is replaced, the service can be continuously provided.
  • the communication system 100 # shown in FIG. 5 is used by using the relay devices 110B and 110D having a filter function for transmitting only the time synchronization frame.
  • the GM 104A and 104B having one time information distribution port as in No. 1 it is possible to realize the same availability as the communication system 100 # 2 shown in FIG.
  • the first embodiment shows an example in which both networks 101A and 101B are connected by one wiring
  • the first embodiment is not limited to such an example.
  • by connecting the relay devices 110A and 110C it is possible to connect both networks 101A and 101B with two wires.
  • Embodiment 2 The communication system 100 in the first embodiment has proposed a time synchronization method when the GMs 104A and 104B have a redundant configuration and at least one GM can be expected to operate normally.
  • the second embodiment proposes a time synchronization method in a case where the GM 104A and 104B that distribute the time information are absent due to a failure or the like and the operation must be continued until the GM 104A and 104B are replaced.
  • the communication system 200 in the second embodiment includes a network 201A and a network 201B.
  • the network 201A includes relay devices 210A and 210B and communication devices 103A and 103B.
  • a GM104A is connected to the relay device 210A, and a time synchronization frame for synchronizing the time is transmitted from the GM104A to the relay device 210A.
  • the network 201B includes relay devices 210C and 210D and communication devices 103C and 103D.
  • a GM104B is connected to the relay device 210C, and a time synchronization frame for synchronizing the time is transmitted from the GM104B to the relay device 210C.
  • the segments of the network 201A and the network 201B are different.
  • the communication devices 103A to 103D and the GM 104A and 104B in the communication system 200 according to the second embodiment are the same as the communication devices 103A to 103D and the GM 104A and 104B in the communication system 100 according to the first embodiment. Since the relay devices 210A to 210D are configured in the same manner, hereinafter, when it is not necessary to distinguish each of them, each of them is referred to as a relay device 210.
  • the relay device 210 includes a plurality of physical ports 111-1 to 111-N, a time information relay port setting unit 112, and a layer 2 protocol processing unit 113. , A time synchronization processing unit 214 is provided.
  • the plurality of physical ports 111-1 to 111-N, the time information relay port setting unit 112, and the layer 2 protocol processing unit 113 in the relay device 210 according to the second embodiment are a plurality of the plurality of relay devices 110 according to the first embodiment. This is the same as the physical ports 111-1 to 111-N, the time information relay port setting unit 112, and the layer 2 protocol processing unit 113.
  • the time synchronization processing unit 214 is a time indicating the time measured by the timing unit 115 when the GM connected to any of the physical ports 111-1 to 111-N is absent. Generate a sync frame.
  • the time synchronization frame generated by the time synchronization processing unit 214 is also referred to as an alternative time synchronization frame.
  • the time synchronization processing unit 214 performs the same processing as the time synchronization processing unit 114 in the first embodiment, and the GMs 104A and 104B are absent and are located in the nearest neighbor of the GM that has been operating until the end.
  • the time measured by the timekeeping unit 115 is used to generate a time synchronization frame based on the provisions of IEEE1588 PTP or IEEE802.1.AS.
  • the time synchronization processing unit 214 uses the relay device 210 and the relay device 210 to the end by using stepsRemoved, which is an index value stored in the Priority Vector area in the Knowledge message included in the time synchronization packet specified by BMCA.
  • the GM 104A and 104B transmit a time synchronization control frame called an Announce frame at a fixed cycle
  • the time synchronization processing unit 214 is a physical port 111 connected to either the GM 104A or the GM 104B for a predetermined period.
  • the time synchronization processing unit 214 can determine that the GM 104A and 104B are absent when the predetermined frame is not received for the predetermined period.
  • the time synchronization processing unit 114 determines the physical port for outputting the time synchronization frame generated based on the provisions of IEEE1588 PTP or IEEE802.1AS.
  • the time synchronization frame is transmitted from all the physical ports via the layer 2 protocol processing unit 113.
  • one GM104A fails and both networks 201A are distributed by the time information delivered by the normally operating GM104B.
  • the service can be continuously provided on both networks 201A and 201B.
  • the oscillator or oscillator that is the clock source of the relay device 210 has lower accuracy than the time accuracy of the GM 104A and 104B, and the clock deviation varies from device to device. Therefore, the relay device 210 synchronizes the time. It is desirable to select the relay device 210 located in the nearest vicinity of the GM that has been operating until the end.
  • the alternative time synchronization frame generated by the first relay device is also referred to as a first alternative time synchronization frame
  • the alternative time synchronization frame generated by the second relay device is also referred to as a second alternative time synchronization frame.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

フレームを受信する複数の物理ポート(111-1~111-N)と、複数の物理ポート(111-1~111-N)に含まれる一つの物理ポートで受信されたフレームを、複数の物理ポート(111-1~111-N)の内の少なくとも1つのポートから転送させるレイヤ2プロトコル処理部(113)とを備え、レイヤ2プロトコル処理部(113)は、時刻を同期させるために用いられる時刻同期フレームのみを中継するポートとして、複数の物理ポート(111-1~111-N)から選択されたポートが関わる転送において、時刻同期フレーム以外のフレームをブロックするフィルタリング機能を備える。

Description

中継装置及び通信システム
 本発明は、中継装置及び通信システムに関する。
 IEEE(Institute of Electrical and Electronics Engineers)で標準化されているIEEE1588 PTP(Precision Time Protocol)又はIEEE802.1ASでは、ネットワークの基準時計を保有する時刻配信サーバであるGM(Grand Master)が、基準となる時刻を計時し、その時刻を示す時刻情報を時刻同期フレームで配信し、GMから時刻情報を受信した装置が時刻を補正する。これにより、ネットワーク内の時刻を同期させることが可能である。
 産業用ネットワーク又は社会インフラを形成するネットワークでは、障害耐力を向上させるためにネットワークを完全二重系で構成すると共に、高精度の時刻同期を実現するためにGMをネットワーク上に複数配置する構成が用いられている。GMを冗長構成としたネットワークでは、同期する時刻を一元化するためにBMCA(Best Master Clock Algorithm)等を用いて時刻を配信する一つのGMが選出され、選出されたGMを起点とした時刻配信ツリーが生成される。
 また、運用中のGMが故障又は通信不可等の状況に陥った場合には、正常動作中のGMの中から時刻情報を配信するGMが新たに選出されることで、ネットワークに所属する装置の時刻同期精度を維持することが行われている(例えば、特許文献1参照)。
特許第6045950号公報
 GMは、時刻情報を時刻情報配信ポートから配信するが、従来の技術において冗長化する場合には、GMに、複数の時刻情報配信ポートを設けておく必要がある。
 一般的に、GMは、高精度の時刻情報を配信するために、原子時計又はGPS(Global Positioning System)等を用いた高精度かつ高価な基準時計を採用しており、L2SW(Layer 2 SWitch)等の中継装置と比較すると高価である。また、GMは、時刻情報配信ポートの数が多くなるにつれて、さらに高価となる。
 従って、従来の技術は、比較的高価である時刻情報配信ポート数の多いGMをネットワークに複数台配置することで、障害耐力を強化しているが、GMの費用がコスト悪化の要因となっていた。
 そこで、本発明の一又は複数の態様は、低価格で、信頼度の高い時刻同期を行うことができるようにすることを目的としている。
 本発明の一態様に係る中継装置は、フレームを受信する複数のポートと、前記複数のポートに含まれる一つのポートで受信されたフレームを、前記複数のポートの内の少なくとも1つのポートから転送させる転送処理部と、を備え、前記転送処理部は、前記複数のポートから選択されたポートが関わる転送において、時刻を同期させるために用いられる時刻同期フレーム以外のフレームをブロックするフィルタリング機能を備えることを特徴とする。
 本発明の一態様に係る通信システムは、第1の中継装置を含む第1のネットワークと、第2の中継装置を含み、前記第1のネットワークとはセグメントが異なる第2のネットワークとを備える通信システムであって、前記第1の中継装置は、フレームを受信する複数の第1のポートと、前記複数の第1のポートに含まれる一つの第1のポートで受信されたフレームを、前記複数の第1のポートの内の少なくとも一つの第1のポートから転送させる第1の転送処理部と、を備え、前記複数の第1のポートに含まれる第1の時刻情報中継ポートは、前記第2の中継装置に接続されており、前記第1の転送処理部は、前記第1の時刻情報中継ポートが関わる転送において、時刻を同期させるために用いられる時刻同期フレーム以外のフレームをブロックする第1のフィルタリング機能を備え、前記第2の中継装置は、フレームを受信する複数の第2のポートと、前記複数の第2のポートに含まれる一つの第2のポートで受信されたフレームを、前記複数の第2のポートの内の少なくとも一つの第2のポートから転送させる第2の転送処理部と、を備え、前記複数の第2のポートに含まれる第2の時刻情報中継ポートは、前記第1の中継装置に接続されており、前記第2の転送処理部は、前記第2の時刻情報中継ポートが関わる転送において、前記時刻同期フレーム以外のフレームをブロックする第2のフィルタリング機能を備えることを特徴とする。
 本発明の一又は複数の態様によれば、低価格で、信頼度の高い時刻同期を行うことができる。
実施の形態1及び2に係る中継装置を備える通信システムを概略的に示すブロック図である。 実施の形態1及び2に係る中継装置の構成を概略的に示すブロック図である。 時刻同期フレームのフォーマットを示す概略図である。 (A)及び(B)は、ハードウェア構成例を示すブロック図である。 第1の比較例における通信システムの構成を概略的に示すブロック図である。 第2の比較例における通信システムの構成を概略的に示すブロック図である。 第2の比較例において一つのGMが故障した場合における時刻情報配信経路を説明するためのブロック図である。 実施の形態1及び2において、一つのGMに故障が発生した場合の時刻情報配信経路を説明するためのブロック図である。 実施の形態2において、二つのGMに故障が発生した場合の時刻情報配信経路を説明するためのブロック図である。
実施の形態1.
 図1は、実施の形態1に係る中継装置110A~110Dを備える通信システム100を概略的に示すブロック図である。
 通信システム100は、ネットワーク101Aと、ネットワーク101Bとを備える。
 ネットワーク101Aは、中継装置110A、110Bと、通信装置103A、103Bとを備える。
 中継装置110Aには、GM104Aが接続されており、GM104Aから中継装置110Aに、時刻を同期させるための時刻同期フレームが送信される。
 ここで、ネットワーク101Aを第1のネットワークともいう。また、中継装置110A、110Bの各々を第1の中継装置ともいう。GM104Aを第1の時刻配信サーバともいい、GM104Aが送信する時刻同期フレームを第1の時刻同期フレームともいう。
 ネットワーク101Bは、中継装置110C、110Dと、通信装置103C、103Dとを備える。
 中継装置110Cには、GM104Bが接続されており、GM104Bから中継装置110Cに、時刻を同期させるための時刻同期フレームが送信される。
 ここで、ネットワーク101Bを第2のネットワークともいう。また、中継装置110C、110Dの各々を第2の中継装置ともいう。GM104Bを第2の時刻配信サーバともいい、GM104Bが送信する時刻同期フレームを第2の時刻同期フレームともいう。
 例えば、通信装置103A及び通信装置103Cのように、ネットワーク101A及びネットワーク101Bの同一位置に記載している装置は、同一のエリアに配置され、同一のサービスを提供することができる。ネットワーク101A及びネットワーク101Bの両方が正常に稼動している場合、ユーザは、両方のネットワーク101A、101B経由でサービスを享受することが可能となる。
 ネットワーク101Aと、ネットワーク101Bとは、セグメントが異なっている。
 通信フレームの混在を回避するために、セグメントが異なるネットワーク101A、101Bの間は、通常接続されない。しかしながら、実施の形態1における通信システム100では、時刻同期フレームのみを透過するフィルタ機能を有した中継装置110B、110Dを備えることで、通信フレームが混在しないように、ネットワーク101A、101Bの間が接続されている。
 なお、図1に示されている構成で、GM104A及びGM104Bの両方が正常に動作している場合には、通信システム100に2台のGM104A、104Bが存在することとなるが、BMCA等を用いて優先度の高いGM(例えば、図1では、GM104A)を選出し、両方のネットワーク101A、101Bに接続されている中継装置110A~110D及び通信装置103A~103Dは、選出されたGMの時刻に同期する。
 通信装置103A、103Bは、ネットワーク101Aを介して通信を行うことのできる装置であれば、どのような装置であってもよい。
 さらに、GM104A、104Bの各々は、同期させる時刻を示す時刻同期フレームを送信する一つの時刻情報配信ポートを有していればよい。時刻情報配信ポートは、時刻同期フレームをネットワークに送信する物理ポートである。なお、時刻同期フレームで示される時刻は、基準となる時刻である。
 ここで、中継装置110A~110Dは、同様に構成されているため、以下、これらの各々を特に区別する必要がない場合には、これらの各々を中継装置110という。
 図2は、中継装置110の構成を概略的に示すブロック図である。
 中継装置110は、複数の物理ポート111-1~111-N(Nは、2以上の整数)と、時刻情報中継ポート設定部112と、レイヤ2プロトコル処理部113と、時刻同期処理部114と、計時部115とを備える。
 物理ポート111-1~111-Nの各々は、ネットワークに接続するための通信インターフェースとしてのポートである。物理ポート111-1~111-Nの各々は、フレームの送受信を行う。
 物理ポート111-1~111-Nの内の少なくとも一つは、時刻情報中継ポート設定部112により、時刻同期フレームのみを透過するフィルタ機能を適用する時刻情報中継ポートとして選択される。時刻情報中継ポートは、異なるセグメントの中継装置110に接続される。
 なお、第1の中継装置が備える物理ポート111-1~111-Nを第1のポートともいい、第2の中継装置が備える物理ポート111-1~111-Nを第2のポートともいう。
 時刻情報中継ポート設定部112は、時刻同期フレームのみを透過するフィルタ機能を適用する時刻情報中継ポートを識別するための物理ポート識別情報である時刻情報中継ポート番号をレイヤ2プロトコル処理部113に通知する。時刻情報中継ポートは、上述した両系ネットワーク間の接続用途で使用され、時刻同期フレームのみを透過するフィルタ機能を適用する物理ポートである。
 時刻情報中継ポートは、予め定められていてもよく、ユーザから選択を受け付けてもよい。
 例えば、時刻情報中継ポート設定部112は、物理ポート111-1~111-Nの何れかに接続されたユーザ端末から、時刻情報中継ポート番号の指定を受けることで、指定された時刻情報中継ポート番号で識別される物理ポートを、時刻情報中継ポートとして選択する。
 なお、図示してはいないが、中継装置110に、ユーザからの指示の入力を受け付ける入力部が備えられている場合には、そのような入力部を介して、時刻情報中継ポート番号が入力されてもよい。
 なお、時刻情報中継ポート設定部112は、時刻情報中継ポートを使用しない場合には、時刻情報中継ポート番号をレイヤ2プロトコル処理部113に通知しない、又は、時刻情報中継ポートを使用しないことを示す予め定められた番号をレイヤ2プロトコル処理部113に通知する。図1に示されている通信システム100では、中継装置110B及び中継装置110Dは、時刻情報中継ポートを使用しているが、中継装置110A及び中継装置110Cは、時刻情報中継ポートを使用していない。このため、実施の形態1においては、中継装置110A、110Cは、時刻同期機能を有した、中継装置であってもよい。
 レイヤ2プロトコル処理部113は、物理ポート111-1~111-Nに含まれる一つの物理ポートで受信されたフレームを、物理ポート111-1~111-Nの内の少なくとも一つのポートから転送させる転送処理部である。
 ここで、レイヤ2プロトコル処理部113は、時刻情報中継ポートが関わる転送において、時刻同期フレーム以外のフレームをブロックするフィルタリング機能を備える。
 例えば、レイヤ2プロトコル処理部113は、時刻情報中継ポートで受信されたフレームに対してフィルタリング機能を適用する。レイヤ2プロトコル処理部113は、時刻情報中継ポートで受信されたフレームが時刻同期フレームではない場合には、そのフレームを削除する。または、レイヤ2プロトコル処理部113は、時刻情報中継ポートで受信されたフレームが時刻同期フレームではない場合に、そのフレームを、物理ポート111-1~111-Nの何れからも転送させない。ここで、時刻情報中継ポートで受信されたフレームを第1のフレームともいう。
 具体的には、レイヤ2プロトコル処理部113は、物理ポート111-1~111-Nの何れかがフレームを受信した場合に、そのフレームを受信した物理ポートと、時刻情報中継ポート設定部112から通知された時刻情報中継ポート番号で示される物理ポートとが一致しているか否かを確認する。
 また、レイヤ2プロトコル処理部113は、物理ポート111-1~111-Nの何れかがフレームを受信した場合に、そのフレームが時刻同期フレームであるか否かを確認する。
 図3は、IEEE1588 PTP又はIEEE802.1ASで規定されている時刻同期フレームのフォーマットを示す概略図である。
 時刻同期フレーム120は、MAC DA(Media Access Control Destination Address)領域121と、MAC SA(Media Access Control Source Address)領域122と、VLAN(Virtual Local Area Network) Field領域123と、TYPE領域124と、PTP Message Field領域125と、FCS(Frame Check Sequence)領域126とを有する。
 実施の形態1の時刻同期フレームでは、宛先MACアドレスを格納するMAC DA領域121に、「01-80-C2-00-00-0E」が格納され、イーサネット(登録商標)のプロトコルを示すTYPE領域124に、PTPであることを示す「0x88F7」が格納されている。
 このため、レイヤ2プロトコル処理部113は、受信されたフレームのMAC DA領域121及びTYPE領域124を確認することで、受信されたフレームが時刻同期フレームであるか否かを判断することができる。
 なお、宛先MACアドレスである「01-80-C2-00-00-0E」は、転送不可を示唆するLink-by-Linkアドレスであるため、両系ネットワーク間の時刻情報配信経路で受信された時刻同期フレームは中継装置110で終端され、転送されずに廃棄される。
 確認の結果、受信されたフレームが時刻同期フレームである場合は、レイヤ2プロトコル処理部113は、その時刻同期フレームを時刻同期処理部114に与える。
 一方、受信されたフレームが時刻同期フレームではなく、かつ、そのフレームを受信した物理ポートが時刻情報中継ポートである場合には、レイヤ2プロトコル処理部113は、そのフレームを廃棄する。
 また、受信されたフレームが時刻同期フレームではなく、かつ、そのフレームを受信した物理ポートが時刻情報中継ポートではない場合には、レイヤ2プロトコル処理部113は、そのフレームのMAC DA領域及びVLAN領域の値を参照して、そのフレームを受信した物理ポートと同一のセグメント内の物理ポートの中から、そのフレームを受信した物理ポート及び時刻情報中継ポートを除外した物理ポートにそのフレームを転送する。
 中継装置110では、上述した処理により、時刻情報中継ポートで処理するフレームを時刻同期フレームに制限することが可能となる。ここで、時刻情報中継ポート以外の物理ポートで受信されたフレームを第2のフレームともいう。
 なお、第1の中継装置のレイヤ2プロトコル処理部113が実行するフィルタリング機能を第1のフィルタリング機能ともいい、第2の中継装置のレイヤ2プロトコル処理部113が実行するフィルタリング機能を第2のフィルタリング機能ともいう。
 時刻同期処理部114は、レイヤ2プロトコル処理部113から受け取った時刻同期フレームを、IEEE1588 PTP又はIEEE802.1ASの規定に基づいて処理する。例えば、時刻同期処理部114は、計時部115を制御することで、計時部115で計時される時刻を、レイヤ2プロトコル処理部113から受け取った時刻同期フレームで示される時刻に同期させる。
 また、時刻同期処理部114は、レイヤ2プロトコル処理部113から時刻同期フレームを受け取ると、IEEE1588 PTP又はIEEE802.1ASの規定に基づいて時刻同期フレームを生成する。そして、時刻同期処理部114は、IEEE1588 PTP又はIEEE802.1ASの規定に基づいて生成された時刻同期フレームを出力する物理ポートを決定する。
 例えば、時刻情報中継ポートが時刻同期フレームを受信した場合には、時刻同期処理部114は、生成された時刻同期フレームを、時刻同期フレームを受信した物理ポートを除く全ての物理ポートから送信させる。
 一方、時刻情報中継ポート以外の物理ポートが時刻同期フレームを受信した場合には、時刻同期処理部114は、生成された時刻同期フレームを、時刻同期フレームを受信した物理ポートと同一のセグメントの物理ポート(但し、時刻同期フレームを受信したポートは除く)と、時刻情報中継ポートとから送信させる。
 計時部115は、時刻を計時する。例えば、計時部115は、図示しないクロック源である発信器又は振動子等からの信号に基づいて、計時を行う。
 なお、第1の中継装置の複数の物理ポート111-1~111-Nを複数の第1の物理ポートともいい、第1の中継装置の時刻情報中継ポート設定部112を第1の時刻情報中継ポート設定部ともいい、第1の中継装置のレイヤ2プロトコル処理部113を第1の転送処理部ともいい、第1の中継装置の時刻同期処理部114を第1の時刻同期処理部ともいい、第1の中継装置の計時部115を、第1の計時部ともいう。また、第1の中継装置の時刻情報中継ポートを、第1の時刻情報中継ポートともいう。
 さらに、第2の中継装置の複数の物理ポート111-1~111-Nを複数の第2の物理ポートともいい、第2の中継装置の時刻情報中継ポート設定部112を第2の時刻情報中継ポート設定部ともいい、第2の中継装置のレイヤ2プロトコル処理部113を第2の転送処理部ともいい、第2の中継装置の時刻同期処理部114を第2の時刻同期処理部ともいい、第2の中継装置の計時部115を、第2の計時部ともいう。また、第2の中継装置の時刻情報中継ポートを、第2の時刻情報中継ポートともいう。
 以上に記載された時刻情報中継ポート設定部112、レイヤ2プロトコル処理部113、時刻同期処理部114及び計時部115の一部又は全部は、例えば、図4(A)に示されているように、メモリ10と、メモリ10に格納されているプログラムを実行するCPU(Central Processing Unit)等のプロセッサ11とにより構成することができる。このようなプログラムは、ネットワークを通じて提供されてもよく、また、記録媒体に記録されて提供されてもよい。即ち、このようなプログラムは、例えば、プログラムプロダクトとして提供されてもよい。
 また、時刻情報中継ポート設定部112、レイヤ2プロトコル処理部113、時刻同期処理部114及び計時部115の一部又は全部は、例えば、図4(B)に示されているように、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)又はFPGA(Field Programmable Gate Array)等の処理回路12で構成することもできる。
 即ち、時刻情報中継ポート設定部112、レイヤ2プロトコル処理部113、時刻同期処理部114及び計時部115は、処理回路網により構成することができる。
 以下、実施の形態1に係る通信システム100の利点について説明する。
 図5は、実施の形態1における通信システム100と比較するための第1の比較例における通信システム100#1の構成を概略的に示すブロック図である。
 通信システム100#1は、ネットワーク101A#1と、ネットワーク101B#1とを備える。
 ネットワーク101A#1は、中継装置102A#1、102B#1と、通信装置103A、103Bとを備える。
 中継装置102A#1には、GM104A#1が接続されており、GM104A#1から中継装置102A#1に、時刻を同期させるための時刻同期フレームが送信される。
 ネットワーク101B#1は、中継装置102C#1、102D#1と、通信装置103C、103Dとを備える。
 中継装置102C#1には、GM104B#1が接続されており、GM104B#1から中継装置102C#1に、時刻を同期させるための時刻同期フレームが送信される。
 第1の比較例における通信システム100#1は、GM104A#1、104B#1、中継装置102A#1~102D#1、通信装置103A~130Dの三種類の装置で構成されるシンプルな完全二重系のネットワーク構成例である。
 ここで、中継装置102A#1~102D#1の各々は、例えば、時刻同期機能を有した中継装置により構成することができる。
 図5に示されている構成では、ネットワーク101A#1の装置がGM104A#1の配信時刻、ネットワーク101B#1の装置がGM104B#1の配信時刻に同期している。図5に示されている構成では、GM104A#1、104B#1の内の1台が故障した場合でも、一方のネットワークでは、時刻同期を維持した通信が可能である。しかしながら、GMが故障したネットワークでは、GM以外の装置が正常動作中でもネットワーク内の装置間で時刻を同期する手段がないため、GMが交換されるまでの期間に正常なサービスを提供することができない。また、故障したGMを交換する前に、GMが故障していない稼動中のネットワークで、障害又は故障が発生する二重障害の状態に陥った場合には、サービス自体を停止する必要がある。
 図6は、実施の形態1における通信システム100と比較するための第2の比較例における通信システム100#2の構成を概略的に示すブロック図である。
 通信システム100#2は、ネットワーク101A#2と、ネットワーク101B#2とを備える。
 ネットワーク101A#2は、中継装置102A#2、102B#2と、通信装置103A、103Bとを備える。
 中継装置102A#2には、GM104A#2及びGM104B#2が接続されており、GM104A#2及びGM104B#2から中継装置102A#2に、時刻を同期させるための時刻同期フレームが送信される。
 ネットワーク101B#2は、中継装置102C#2、102D#2と、通信装置103C、103Dとを備える。
 中継装置102C#2には、GM104B#2及びGM104A#2が接続されており、GM104B#2及びGM104A#2から中継装置102C#2に、時刻を同期させるための時刻同期フレームが送信される。
 図6に示されている構成では、GM104A#2、104B#2の各々は、時刻同期フレームを送信する二つの時刻情報配信ポートを備えている。
 ここで、中継装置110A#2~102D#2の各々は、例えば、時刻同期機能を有した中継装置により構成することができる。
 図6に示されている構成では、GM104A#2、104B#2の各々が、二つの時刻情報配信ポートを有しているため、両方のネットワーク101A#2、101B#2に対して、時刻情報を配信することができる。
 図6に示されている構成では、ネットワーク101A#2、101B#2の各々において、2台のGMが存在することになる。このため、通信装置103A~103Dの各々は、BMCA等を用いて優先度の高いGM(例えば、104A#2)を選出して、選出されたGMの時刻に同期する。
 図6に示されている構成では、例えば、図7に示されているように、GM104A#2が故障した場合でも、正常に動作しているGM104B#2が両方のネットワーク101A#2、101B#2に時刻情報を配信することができる。このため、このような場合でも、両方のネットワーク101A#2、101B#2でサービスの提供を継続することができる。
 さらに、故障したGM104A#2を交換する前に、稼動中のネットワーク101A#2、101B#2で障害又は故障が発生する二重障害の状態に陥った場合でも、(a)GMが2台とも故障、又は、(b)両系ネットワークで通信障害(例えば、中継装置の故障又は中継装置間の通信経路障害)が発生した場合を除き、サービスの提供を継続することができる。このため、図6に示されている構成は、図5に示されている構成と比較して、障害耐力が高いといえる。
 一方、GMは、時刻情報を配信可能なポート数が多くなるにつれて一般的に高価となる。
 図8は、実施の形態1における通信システム100において、一つのGM104Aに故障が発生した場合の時刻情報配信経路を説明するためのブロック図である。
 図8に示されているように、一つのGM104Aが故障した場合でも、正常に動作しているGM104Bが配信する時刻情報が、中継装置110B、110D間の配線を介して、両方のネットワーク101A、101Bに配信されるため、両方のネットワーク101A、101Bでサービスを継続して提供することができる。
 さらに、故障したGM104Aを交換する前に、稼動中のネットワーク101A、101Bで障害又は故障が発生する二重障害の状態に陥った場合でも、サービスを継続して提供することができる。
 以上のように、実施の形態1における通信システム100によれば、時刻同期フレームのみを透過するフィルタ機能を有した中継装置110B、110Dを用いることで、図5に示されている通信システム100#1のように、一つの時刻情報配信ポートを有するGM104A、104Bを使用して、図6に示されている通信システム100#2と同等の可用性を実現することができる。
 上述した実施の形態1では、両方のネットワーク101A、101B間を1本の配線で接続する例を示しているが、実施の形態1は、このような例に限定されない。例えば、中継装置110A、110Cの間も接続することで、両方のネットワーク101A、101B間を2本の配線で接続することもできる。
 両方のネットワーク101A、101B間を2本の配線で接続する場合には、ループ経路が形成されるが、時刻同期フレーム以外の通信フレームは、中継装置110のフィルタ機能によって廃棄され、時刻同期フレーム自体も受信された中継装置110で終端されるため、ループ経路を通信フレームが循環するストーム又はストームに付随して発生する通信障害は発生しない。
実施の形態2.
 実施の形態1における通信システム100は、GM104A、104Bが冗長構成をとり、最低1台のGMが正常動作していることが期待できる場合における時刻同期方式を提案した。
 一方、時刻情報を配信するGM104A、104Bが故障等で不在となり、GM104A、104Bを交換するまでの期間も運用を継続しなければならない場合における時刻同期方式を、実施の形態2は提案する。
 図1に示すように、実施の形態2における通信システム200は、ネットワーク201Aと、ネットワーク201Bとを備える。
 ネットワーク201Aは、中継装置210A、210Bと、通信装置103A、103Bとを備える。
 中継装置210Aには、GM104Aが接続されており、GM104Aから中継装置210Aに、時刻を同期させるための時刻同期フレームが送信される。
 ネットワーク201Bは、中継装置210C、210Dと、通信装置103C、103Dとを備える。
 中継装置210Cには、GM104Bが接続されており、GM104Bから中継装置210Cに、時刻を同期させるための時刻同期フレームが送信される。
 実施の形態1と同様に、実施の形態2でも、ネットワーク201Aと、ネットワーク201Bとは、セグメントが異なっている。
 実施の形態2における通信システム200における通信装置103A~103Dと、GM104A、104Bとは、実施の形態1における通信システム100における通信装置103A~103Dと、GM104A、104Bと同様である。
 なお、中継装置210A~210Dは、同様に構成されているため、以下、これらの各々を特に区別する必要がない場合には、これらの各々を中継装置210という。
 図2に示されているように、実施の形態2に係る中継装置210は、複数の物理ポート111-1~111-Nと、時刻情報中継ポート設定部112と、レイヤ2プロトコル処理部113と、時刻同期処理部214とを備える。
 実施の形態2に係る中継装置210における複数の物理ポート111-1~111-N、時刻情報中継ポート設定部112及びレイヤ2プロトコル処理部113は、実施の形態1に係る中継装置110の複数の物理ポート111-1~111-N、時刻情報中継ポート設定部112及びレイヤ2プロトコル処理部113と同様である。
 実施の形態2における時刻同期処理部214は、物理ポート111-1~111-Nの何れかに接続されているGMが不在となった場合に、計時部115で計時されている時刻を示す時刻同期フレームを生成する。時刻同期処理部214で生成される時刻同期フレームを代替時刻同期フレームともいう。
 例えば、時刻同期処理部214は、実施の形態1における時刻同期処理部114と同様の処理を行うほか、GM104A、104Bが不在となり、かつ、最後まで動作していたGMの最近傍に位置していた場合に、GM104A、104Bの代わりに、計時部115で計時されている時刻を用いて、IEEE1588 PTP又はIEEE802.1ASの規定に基づいて時刻同期フレームを生成する。
 例えば、時刻同期処理部214は、BMCAで規定された時刻同期パケットに含まれているAnnounceメッセージ内のPriority Vector領域に格納されている指標値であるstepsRemovedを用いて、中継装置210と、最後まで動作していたGMとの間の中継段数を確認する。なお、stepsRemovedは、GMからの中継段数を示す指標値である。例えば、stepsRemoved=1である場合に、その中継装置210の最近傍にGMが位置していると判断することができる。
 また、GM104A、104Bは、一定周期でAnnounceフレームという時刻同期制御フレームを送信しており、時刻同期処理部214は、予め定められた期間、GM104A又はGM104Bの何れかに接続されている物理ポート111-1~111-Nが、そのAnnounceフレームを受信しない場合に、GM104A、104Bが不在であると判断することができる。言い換えると、時刻同期処理部214は、予め定められた期間、予め定められたフレームを受信しない場合に、GM104A、104Bが不在であると判断することができる。
 そして、時刻同期処理部114は、IEEE1588 PTP又はIEEE802.1ASの規定に基づいて生成された時刻同期フレームを出力する物理ポートを決定する。ここでは、レイヤ2プロトコル処理部113を介して、全ての物理ポートから、時刻同期フレームが送信される。
 以上のように、実施の形態2によれば、例えば、図8に示されているように、一つのGM104Aが故障し、正常に動作しているGM104Bが配信する時刻情報により、両方のネットワーク201A、201Bでサービスを継続して提供している場合に、もう一つのGM104Bが故障したとしても、図9に示されているように、最後まで時刻情報を配信していたGM104Bに隣接している中継装置210Cが時刻情報を配信することで、両方のネットワーク201A、201Bでサービスを継続して提供することができる。
 なお、中継装置210のクロック源である発振器又は振動子は、GM104A、104Bの時刻精度と比較すると低精度であると共に、装置毎にクロック偏差にばらつきが存在するため、時刻を同期させる中継装置210としては最後まで動作していたGMの最近傍に位置していた中継装置210を選定することが望ましい。
 なお、第1の中継装置で生成される代替時刻同期フレームを第1の代替時刻同期フレームともいい、第2の中継装置で生成される代替時刻同期フレームを第2の代替時刻同期フレームともいう。
 100,200 通信システム、 101,201 ネットワーク、 103 通信装置、 104 GM、 110,210 中継装置、 111-1~111-N 物理ポート、 112 時刻情報中継ポート設定部、 113 レイヤ2プロトコル処理部、 114,214 時刻同期処理部、 115 計時部。

Claims (10)

  1.  フレームを受信する複数のポートと、
     前記複数のポートに含まれる一つのポートで受信されたフレームを、前記複数のポートの内の少なくとも1つのポートから転送させる転送処理部と、を備え、
     前記転送処理部は、前記複数のポートから選択されたポートが関わる転送において、時刻を同期させるために用いられる時刻同期フレーム以外のフレームをブロックするフィルタリング機能を備えること
     を特徴とする中継装置。
  2.  前記転送処理部は、前記選択されたポートで受信されたフレームに対して前記フィルタリング機能を適用すること
     を特徴とする請求項1に記載の中継装置。
  3.  前記転送処理部は、前記選択されたポートで受信されたフレームである第1のフレームが、前記時刻同期フレームではない場合に、前記第1のフレームを廃棄すること
     を特徴とする請求項2に記載の中継装置。
  4.  前記転送処理部は、前記選択されたポートで受信されたフレームである第1のフレームが、前記時刻同期フレームではない場合に、前記第1のフレームを、前記複数のポートの何れからも転送させないこと
     を特徴とする請求項2に記載の中継装置。
  5.  前記転送処理部は、前記選択されたポート以外のポートで受信されたフレームに対して、前記フィルタリング機能を適用すること
     を特徴とする請求項1に記載の中継装置。
  6.  前記転送処理部は、前記選択されたポート以外のポートで受信されたフレームである第2のフレームが前記時刻同期フレームではない場合に、前記第2のフレームを、前記選択されたポートへ転送しないこと
     を特徴とする請求項5に記載の中継装置。
  7.  前記転送処理部は、前記選択されたポート以外のポートで受信されたフレームである第2のフレームが前記時刻同期フレームである場合に、前記第2のフレームを、前記選択されたポートに転送すること
     を特徴とする請求項5に記載の中継装置。
  8.  時刻を計時する計時部と、
     基準となる時刻を計時して、前記時刻同期フレームを送信する時刻配信サーバが前記選択されたポートに接続され、かつ、前記選択されたポートが、予め定められた期間、予め定められたフレームを受信しない場合に、前記計時部で計時されている時刻を示す代替時刻同期フレームを生成する時刻同期処理部と、をさらに備え、
     前記転送処理部は、前記代替時刻同期フレームを、前記時刻同期フレームとして、前記選択されたポートを除く前記複数のポートから送信させること
     を特徴とする請求項2から7の何れか一項に記載の中継装置。
  9.  第1の中継装置を含む第1のネットワークと、第2の中継装置を含み、前記第1のネットワークとはセグメントが異なる第2のネットワークとを備える通信システムであって、
     前記第1の中継装置は、
     フレームを受信する複数の第1のポートと、
     前記複数の第1のポートに含まれる一つの第1のポートで受信されたフレームを、前記複数の第1のポートの内の少なくとも一つの第1のポートから転送させる第1の転送処理部と、を備え、
     前記複数の第1のポートに含まれる第1の時刻情報中継ポートは、前記第2の中継装置に接続されており、
     前記第1の転送処理部は、前記第1の時刻情報中継ポートが関わる転送において、時刻を同期させるために用いられる時刻同期フレーム以外のフレームをブロックする第1のフィルタリング機能を備え、
     前記第2の中継装置は、
     フレームを受信する複数の第2のポートと、
     前記複数の第2のポートに含まれる一つの第2のポートで受信されたフレームを、前記複数の第2のポートの内の少なくとも一つの第2のポートから転送させる第2の転送処理部と、を備え、
     前記複数の第2のポートに含まれる第2の時刻情報中継ポートは、前記第1の中継装置に接続されており、
     前記第2の転送処理部は、前記第2の時刻情報中継ポートが関わる転送において、前記時刻同期フレーム以外のフレームをブロックする第2のフィルタリング機能を備えること
     を特徴とする通信システム。
  10.  前記第1の中継装置は、
     時刻を計時する第1の計時部と、
     基準となる時刻を計時して、前記時刻同期フレームを送信する第1の時刻配信サーバが前記複数の第1のポートから選択された第1のポートに接続され、かつ、前記選択された第1のポートが、予め定められた期間、前記時刻同期フレームを受信しない場合に、前記第1の計時部で計時されている時刻を示す第1の代替時刻同期フレームを生成する第1の時刻同期処理部と、をさらに備え、
     前記第1の転送処理部は、前記第1の代替時刻同期フレームを、前記時刻同期フレームとして、前記選択された第1のポートを除く前記複数の第1のポートから送信させ、
     前記第2の中継装置は、
     時刻を計時する第2の計時部と、
     基準となる時刻を計時して、前記時刻同期フレームを送信する第2の時刻配信サーバが前記複数の第2のポートから選択された第2のポートに接続され、かつ、前記選択された第2のポートが、予め定められた期間、前記時刻同期フレームを受信しない場合に、前記第2の計時部で計時されている時刻を示す第2の代替時刻同期フレームを生成する第2の時刻同期処理部と、をさらに備え、
     前記第2の転送処理部は、前記第2の代替時刻同期フレームを、前記時刻同期フレームとして、前記選択された第2のポートを除く前記複数の第2のポートから送信させること
     を特徴とする請求項9に記載の通信システム。
PCT/JP2020/022691 2019-12-12 2020-06-09 中継装置及び通信システム WO2021117270A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202080082123.8A CN114762286B (zh) 2019-12-12 2020-06-09 中继装置和通信系统
EP20899811.2A EP4057564B1 (en) 2019-12-12 2020-06-09 Relay device and communication system
US17/710,070 US11990990B2 (en) 2019-12-12 2022-03-31 Relay device and communication system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019-224503 2019-12-12
JP2019224503A JP7304801B2 (ja) 2019-12-12 2019-12-12 中継装置及び通信システム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/710,070 Continuation US11990990B2 (en) 2019-12-12 2022-03-31 Relay device and communication system

Publications (1)

Publication Number Publication Date
WO2021117270A1 true WO2021117270A1 (ja) 2021-06-17

Family

ID=76310953

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/022691 WO2021117270A1 (ja) 2019-12-12 2020-06-09 中継装置及び通信システム

Country Status (5)

Country Link
US (1) US11990990B2 (ja)
EP (1) EP4057564B1 (ja)
JP (1) JP7304801B2 (ja)
CN (1) CN114762286B (ja)
WO (1) WO2021117270A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024004014A1 (ja) * 2022-06-28 2024-01-04 三菱電機株式会社 中継装置、中継方法、中継プログラム及び時刻同期システム

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6045950B2 (ja) 1982-10-27 1985-10-12 日本コロムビア株式会社 回転塗布機
JP2008172587A (ja) * 2007-01-12 2008-07-24 Hitachi Communication Technologies Ltd 通信装置および基地局システム
JP2014183386A (ja) * 2013-03-18 2014-09-29 Hitachi Ltd 通信制御装置及び通信システム
JP2017216563A (ja) * 2016-05-31 2017-12-07 日本電気株式会社 中継装置、制御方法、及び、通信システム
JP2018121123A (ja) * 2017-01-23 2018-08-02 日本電気株式会社 時刻同期装置、システム、方法およびプログラム
WO2019220632A1 (ja) * 2018-05-18 2019-11-21 三菱電機株式会社 中継装置及び通信システム

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1553713A1 (en) * 2004-01-09 2005-07-13 Thomson Multimedia Broadband Belgium Time synchronizing device and process and associated products
JP4418302B2 (ja) * 2004-05-31 2010-02-17 独立行政法人科学技術振興機構 中継装置、パケットフィルタリング方法及びパケットフィルタリングプログラム
JP2006148774A (ja) * 2004-11-24 2006-06-08 Nippon Telegr & Teleph Corp <Ntt> 同期装置
JP5080202B2 (ja) * 2007-10-30 2012-11-21 独立行政法人情報通信研究機構 時刻同期処理システム、時刻情報配信装置、時刻同期処理装置、時刻情報配信プログラム、および時刻同期処理プログラム
JP2009239449A (ja) * 2008-03-26 2009-10-15 Nec Electronics Corp 高精度同期型ネットワーク装置、ネットワークシステム及びフレーム転送方法
JP5387349B2 (ja) * 2009-11-11 2014-01-15 富士通株式会社 中継装置
EP2976922B1 (en) * 2013-03-19 2020-06-17 Telefonaktiebolaget LM Ericsson (publ) Providing packet synchronization in a virtual private network
US9998247B1 (en) * 2014-12-30 2018-06-12 Juniper Networks, Inc. Controller-based network device timing synchronization
KR20180052854A (ko) * 2016-11-11 2018-05-21 주식회사 뉴라텍 그룹 패킷 제어 방법
US10887037B2 (en) * 2018-05-17 2021-01-05 Juniper Networks, Inc. Symmetric path/link over LAG interface using LLDP for time synchronization between two nodes using PTP
CN113169857A (zh) * 2018-12-20 2021-07-23 三菱电机株式会社 网络装置、网络系统、网络方法以及网络程序

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6045950B2 (ja) 1982-10-27 1985-10-12 日本コロムビア株式会社 回転塗布機
JP2008172587A (ja) * 2007-01-12 2008-07-24 Hitachi Communication Technologies Ltd 通信装置および基地局システム
JP2014183386A (ja) * 2013-03-18 2014-09-29 Hitachi Ltd 通信制御装置及び通信システム
JP2017216563A (ja) * 2016-05-31 2017-12-07 日本電気株式会社 中継装置、制御方法、及び、通信システム
JP2018121123A (ja) * 2017-01-23 2018-08-02 日本電気株式会社 時刻同期装置、システム、方法およびプログラム
WO2019220632A1 (ja) * 2018-05-18 2019-11-21 三菱電機株式会社 中継装置及び通信システム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024004014A1 (ja) * 2022-06-28 2024-01-04 三菱電機株式会社 中継装置、中継方法、中継プログラム及び時刻同期システム

Also Published As

Publication number Publication date
EP4057564A4 (en) 2022-12-28
US20220224430A1 (en) 2022-07-14
EP4057564B1 (en) 2023-11-01
JP2021093681A (ja) 2021-06-17
CN114762286B (zh) 2023-12-01
CN114762286A (zh) 2022-07-15
US11990990B2 (en) 2024-05-21
EP4057564A1 (en) 2022-09-14
JP7304801B2 (ja) 2023-07-07

Similar Documents

Publication Publication Date Title
JP5152642B2 (ja) パケットリングネットワークシステム、パケット転送方法、およびノード
US9749073B2 (en) Clock recovery in a packet based network
US8064347B2 (en) System and method for redundant switched communications
US7729297B2 (en) Neighbor node bus guardian scheme for a ring or mesh network
CN103039046B (zh) 时间触发的容错实时通信系统和装置
US8976790B2 (en) Disjoint data path routing for integrity and availability augmentation
US11025404B2 (en) Enhancing synchronization in computer network
WO2012086019A1 (ja) 通信装置、通信システムおよび通信方法
WO2021117270A1 (ja) 中継装置及び通信システム
US7924852B2 (en) Method and network for transferring data and signals
JP2001358766A (ja) パケット通信システム、パケット通信方法、およびその方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体
EP3846364B1 (en) Transporting client timing information across a network
JP7118324B1 (ja) 転送装置及び時刻同期システム
CN111052684A (zh) 以环形拓扑运行通信网络的方法和这种通信网络
US10880043B2 (en) Method and computer system for establishing an interactive consistency property
JP7143760B2 (ja) 時分割スケジュールの調整方式
EP3393092B1 (en) Controller coordination system for software defined networking in a wireless network with partitions
US20190215386A1 (en) Low cost, high bandwidth redundant communication network
JP7420406B2 (ja) Tsn通信システム
JP7338794B2 (ja) 通信制御装置、通信システム及び通信制御方法
JP2005260708A (ja) 冗長経路を有するリングネットワークシステムとそのシステムに使用される転送装置
JP2017050704A (ja) 通信システム,通信装置及び通信方法
JP2007311931A (ja) ノード装置
JPH05244143A (ja) クロック切り換え方式
JPH0661989A (ja) 同期信号切替方式

Legal Events

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

Ref document number: 20899811

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020899811

Country of ref document: EP

Effective date: 20220607

NENP Non-entry into the national phase

Ref country code: DE