WO2020059139A1 - 通信装置、通信システム、通信方法および通信プログラム - Google Patents

通信装置、通信システム、通信方法および通信プログラム Download PDF

Info

Publication number
WO2020059139A1
WO2020059139A1 PCT/JP2018/035174 JP2018035174W WO2020059139A1 WO 2020059139 A1 WO2020059139 A1 WO 2020059139A1 JP 2018035174 W JP2018035174 W JP 2018035174W WO 2020059139 A1 WO2020059139 A1 WO 2020059139A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication device
communication
priority
grand master
time
Prior art date
Application number
PCT/JP2018/035174
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 DE112018007914.7T priority Critical patent/DE112018007914B4/de
Priority to PCT/JP2018/035174 priority patent/WO2020059139A1/ja
Priority to JP2019509564A priority patent/JP6523589B1/ja
Priority to CN201880097692.2A priority patent/CN112715019B/zh
Priority to TW107146760A priority patent/TW202013937A/zh
Publication of WO2020059139A1 publication Critical patent/WO2020059139A1/ja
Priority to US17/159,703 priority patent/US11381333B2/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/0644External master-clock
    • 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
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • 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
    • 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/0647Synchronisation among TDM nodes
    • 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]

Definitions

  • the present invention relates to a communication device, a communication system, a communication method, and a communication program.
  • the present invention relates to a communication device, a communication system, a communication method, and a communication program for performing time synchronization in a master-slave system.
  • a time synchronization technology standard for synchronizing a distributed clock on a network in a master-slave system including a plurality of nodes, such as IEEE1588 or IEEE802.1AS.
  • a grand master serving as a time reference is selected by a best master clock algorithm (BMCA), and a slave synchronized with the grand master is synchronized with a time distributed from the grand master.
  • BMCA best master clock algorithm
  • each node performs arbitration for selecting a grand master, and recognizes the newly entered high priority node as the grand master. Then, each node synchronizes with the newly entered high priority node. At this time, unintended switching of the grand master may occur.
  • the process of selecting a grand master by arbitration is referred to as “grand master arbitration”.
  • a network connection device is provided between a grand master and a slave node. Then, according to the technique of Patent Literature 1, when a new node is connected to the network connection device and a best timing synchronization request is transmitted from the new node, the network connection device blocks the best timing synchronization request.
  • Patent Document 1 unintended switching of the grand master can be prevented.
  • a high-precision communication device with a high priority newly enters the communication system, and even when the time difference between the high-precision communication device and the current grandmaster is small, time synchronization with the high-precision communication device may not be possible.
  • a communication device is a communication system including a plurality of communication devices, wherein the communication device is included in a communication system that selects a grand master serving as a time reference of the plurality of communication devices from the plurality of communication devices.
  • the communication devices At From the communication devices other than the current grandmaster among the plurality of communication devices, obtain a grandmaster arbitration message used for the selection of the grandmaster and a grandmaster arbitration message including the priority of the other communication device And a priority determination unit that determines whether the priority of the other communication device is higher than the priority of the current grand master, When it is determined that the priority of the other communication device is higher than the priority of the current grand master, a synchronization message including the time of the other communication device before switching the other communication device to the grand master. From the other communication device, calculate the difference between the time of the other communication device and the time of the own communication device, and switch the other communication device to the grand master when the difference is smaller than a threshold value. An arbitration unit was provided.
  • the communication device of the present invention when the time difference between the newly entered communication device and the current grandmaster is small, there is an effect that the time can be synchronized with the communication device.
  • FIG. 4 is a sequence diagram of a communication system for comparison with the communication system according to the first embodiment.
  • FIG. 1 is a configuration diagram of a communication device according to Embodiment 1.
  • FIG. 2 is a detailed configuration diagram of hardware of the communication device according to the first embodiment.
  • FIG. 3 is a sequence diagram of the communication system according to the first embodiment.
  • FIG. 4 is an operation flowchart of the communication device according to the first embodiment.
  • FIG. 9 is a sequence diagram of the communication system according to the second embodiment.
  • FIG. 9 is an operation flowchart of the communication device according to the second embodiment.
  • FIG. 9 is an operation flowchart of the communication device according to the second embodiment.
  • FIG. FIG. 1 is a diagram showing an operation sequence of the communication system 501 for comparison with the communication system according to the present embodiment.
  • the communication system 501 shown in FIG. 1 and the communication system according to the present embodiment employ a time synchronization technology standard such as IEEE 1588 or IEEE 802.1AS.
  • a grand master is selected by grand master arbitration using BMCA, and slaves other than the grand master are synchronized with the time distributed from the grand master.
  • the communication system 501 includes the communication device 1 having the priority 3 and the communication device 2 having the priority 4.
  • the communication device 1 is a grand master GM serving as a time reference of the communication system 501.
  • the grandmaster arbitration message Announce is transmitted from the communication device 1 to the communication device 2, and the synchronization message Sync is subsequently transmitted. Thus, the time synchronization between the communication device 1 and the communication device 2 is completed.
  • the Grandmaster arbitration message Announce may be simply described as Announce.
  • the synchronization message Sync may be simply described as Sync.
  • Announce is a frame for performing grand master arbitration.
  • Sync is a frame transmitted from the grand master and used for time synchronization of the communication system. The upper part of FIG. 1 indicates that the grandmaster arbitration has been completed and the time synchronization has been performed between the communication device 1 and the communication device 2.
  • M represents MasterPort. MasterPort is a port for transmitting Announce and Sync.
  • S represents SlavePort. SlavePort is a port for receiving Sync.
  • the smaller the value of the priority the higher the priority of becoming the grand master.
  • the operation sequence in the lower part of FIG. 1 illustrates a state in which the communication device 3 newly enters the communication system 501 in a state where the grand master arbitration between the communication device 1 and the communication device 2 is completed.
  • the newly entered communication device 3 transmits Announce indicating that the priority 2 of the communication device 3 is higher than the priority 3 of the communication device 2 that is the grand master, and starts grand master arbitration.
  • the communication device 3 transmits a Sync for synchronizing with the time of the own communication device. At this time, if the switching of the grand master is an unintended switching, the communication device 2 can prevent the switching by blocking or ignoring the announcement of the communication device 3.
  • the communication device 3 having a high priority cannot be set as the grand master.
  • a description will be given of a mode of a communication system in which when the time difference between the communication device 3 and the communication device 2 is small, the communication device 3 having a higher priority can be set as a grand master.
  • the method for determining that the communication device has been synchronized with the grand master is as follows. If the communication device is a slave, it has a SlavePort. If the SlavePort has not been changed for a certain period of time or more, the communication device determines that the communication has been synchronized with the grand master once. When the communication device is the grand master, the method of determining that the communication device has been synchronized with the slave communication device is as follows. The communication device determines that the BMCA has converged and the slaves are synchronized unless Announce is received from the MasterPort for a certain period of time or longer.
  • the communication system 500 includes a plurality of communication devices 100.
  • the communication system 500 selects, from the plurality of communication devices 100, a grand master serving as a time reference for the plurality of communication devices 100.
  • the communication device 100 is a computer.
  • the communication device 100 includes a processor 910 and other hardware such as a memory 921, an auxiliary storage device 922, an input interface 930, an output interface 940, and a communication control unit 950.
  • the communication device 100 includes hardware such as network ports 961 and 962 and a system clock 970.
  • the processor 910 is connected to other hardware via a signal line, and controls the other hardware. Although the network ports 961 and 962 and the system clock 970 are not shown in FIG. 2, their configurations will be described with reference to FIG.
  • the communication device 100 includes a priority determination unit 110 and an arbitration unit 120 as functional elements.
  • the memory 921 stores a device priority 21, a grand master priority 22, and a threshold 23.
  • the functions of the priority determination unit 110 and the arbitration unit 120 are realized by software.
  • the processor 910 is a device that executes a communication program.
  • the communication program is a program that implements the functions of the priority determination unit 110 and the arbitration unit 120.
  • the processor 910 is an IC (Integrated Circuit) that performs arithmetic processing. Specific examples of the processor 910 are a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and a GPU (Graphics Processing Unit).
  • the memory 921 is a storage device that temporarily stores data.
  • a specific example of the memory 921 is an SRAM (Static Random Access Memory) or a DRAM (Dynamic Random Access Memory).
  • the auxiliary storage device 922 is a storage device for storing data.
  • a specific example of the auxiliary storage device 922 is an HDD.
  • the auxiliary storage device 922 may be a portable storage medium such as an SD (registered trademark) memory card, CF, NAND flash, flexible disk, optical disk, compact disk, Blu-ray (registered trademark) disk, or DVD.
  • SD registered trademark
  • SD Secure Digital
  • CF is an abbreviation for CompactFlash®.
  • DVD is an abbreviation for Digital Versatile Disk.
  • the input interface 930 is a port connected to an input device such as a mouse, a keyboard, or a touch panel.
  • the input interface 930 is, specifically, a USB (Universal Serial Bus) terminal.
  • the input interface 930 may be a port connected to a LAN (Local Area Network).
  • the output interface 940 is a port to which a cable of an output device such as a display is connected.
  • the output interface 940 is, specifically, a USB terminal or an HDMI (registered trademark) (High Definition Multimedia Interface) terminal.
  • the display is, specifically, an LCD (Liquid Crystal Display).
  • the communication program is read by the processor 910 and executed by the processor 910.
  • the memory 921 stores an OS (Operating @ System) as well as a communication program.
  • the processor 910 executes the communication program while executing the OS.
  • the communication program and the OS may be stored in the auxiliary storage device 922.
  • the communication program and the OS stored in the auxiliary storage device 922 are loaded into the memory 921 and executed by the processor 910. A part or all of the communication program may be incorporated in the OS.
  • the communication device 100 may include a plurality of processors instead of the processor 910. These processors share the execution of the communication program. Each processor is a device that executes a communication program, similarly to the processor 910.
  • Data, information, signal values, and variable values used, processed, or output by the communication program are stored in the memory 921, the auxiliary storage device 922, a register in the processor 910, or a cache memory.
  • the “unit” of each unit of the priority determination unit 110 and the arbitration unit 120 may be read as “processing”, “procedure” or “step”. Further, the “processing” of the priority determination processing and the arbitration processing may be replaced with “program”, “program product”, or “computer-readable storage medium storing the program”.
  • the communication program causes a computer to execute each process, each procedure, or each process in which the “unit” of each unit is replaced with “process”, “procedure”, or “process”.
  • the communication method is a method performed by the communication device 100 executing a communication program.
  • the communication program may be provided by being stored in a computer-readable recording medium. Further, the communication program may be provided as a program product.
  • FIG. 3 is a diagram illustrating a detailed configuration of hardware of the communication device 100 according to the present embodiment.
  • the hardware described in FIG. 2 will be described in more detail with reference to FIG.
  • the microcomputer 900 includes a processor 910, a memory 921, an auxiliary storage device 922, an input interface 930, and an output interface 940.
  • the communication control unit 950 includes an interrupt control unit 11, a transmission unit 12, a time division control unit 13, a reception unit 14, a synchronization control unit 15, a data arbitration unit 16, and network interfaces 17 and 18.
  • the network interface 17 is connected to a network port 961.
  • the network interface 18 is connected to a network port 962.
  • the interrupt control unit 11 outputs an interrupt to the processor 910 and performs mask control of the interrupt.
  • the transmission unit 12 generates a communication frame. Further, the transmission unit 12 receives the timing from the time division control unit 13 and controls the transmission start. The time division control unit 13 controls a communication cycle and a time slot based on the time input from the synchronization control unit 15.
  • the receiving unit 14 performs a frame receiving process. The receiving unit 14 extracts time information from a synchronization frame, that is, a synchronization message.
  • the synchronization control unit 15 outputs a time counter value to the time division control unit 13. Further, the synchronization control unit 15 holds the transmission time and the reception time of the synchronization frame.
  • the data arbitration unit 16 performs transmission arbitration of a communication frame. The data arbitration unit 16 performs relay control based on the time slot information input from the time division control unit 13. Further, the data arbitration unit 16 determines the type of the received frame. Further, the data arbitration unit 16 notifies the synchronization control unit 15 of reception and transmission of the synchronization frame.
  • the network interfaces 17 and 18 notify the synchronization control unit 15 of transmission and reception of the synchronization frame. Further, the network interfaces 17 and 18 transfer frames to be transmitted to the network ports 961 and 962. The network interfaces 17 and 18 transfer the frames received from the network ports 961 and 962 to the data arbitration unit 16. The network ports 961 and 962 are physical ports connected to a network.
  • the system clock 970 inputs a clock signal to the communication control unit 950 and the internal bus by an oscillator.
  • the priority determination unit 110 of the communication device 100 acquires a grandmaster arbitration message Announce from a communication device other than the current grandmaster among the plurality of communication devices.
  • the grandmaster arbitration message Announce is used to select a grandmaster.
  • the grandmaster arbitration message Announce includes the priority of another communication device that is the transmission source.
  • the other communication device is, specifically, a communication device newly entering the communication system 500.
  • the priority determination unit 110 determines whether or not the priority of another communication device is higher than the grandmaster priority 22, which is the current priority of the grandmaster.
  • the grand master priority 22 the priority of the grand master in the communication system 500 is set.
  • the grandmaster priority 22 is represented by a parameter of Priority1.
  • the priority of the communication device 100 that is the own communication device is set.
  • the communication device When Announce is transmitted from another communication device and it is determined that the priority of the other communication device is higher than the current priority of the grand master, the communication device normally performs a process of switching the other communication device to the grand master. . If the arbitration unit 120 of the communication device 100 according to the present embodiment determines that the priority of the other communication device is higher than the grandmaster priority 22, the arbitration unit 120 performs another switching before switching the other communication device to the grandmaster.
  • the synchronization message Sync including the time of the communication device is acquired from another communication device.
  • the arbitration unit 120 calculates the difference between the time of the other communication device and the time of the own communication device, and switches the other communication device to the grand master when the difference is smaller than the threshold 23.
  • the arbitration unit 120 does not switch another communication device to the grand master. That is, the communication device 100 is in a state of being time-synchronized with the current grandmaster.
  • the threshold value 23 the maximum value of the difference that can be tolerated without any problem even if the time is synchronized with the newly entered communication device is set.
  • FIG. 4 is a diagram showing an operation sequence of the communication system 500 according to the present embodiment.
  • the operation of communication system 500 according to the present embodiment will be described using FIG. 4, the communication system 500 includes a plurality of communication devices.
  • the plurality of communication devices are the communication device 1, the communication device 2, and the communication device 3.
  • the communication device 2 will be described as the communication device 100.
  • the communication device 3 is an example of another communication device newly entering the communication system 500.
  • step S11 the communication device 1 transmits a grand master arbitration message Announce to the communication device 2. Since the priority of the communication device 1 is 3 and the priority of the communication device 2 is 4, the communication device 1 becomes the grand master GM.
  • step S12 a synchronization message Sync is transmitted from the communication device 1 to the communication device 2, and the communication device 2 is time-synchronized with the communication device 1.
  • step S13 the communication device 3 newly enters the communication system 500.
  • the priority of the communication device 3 is 2. That is, the priority of the communication device 3 that is newly entering is higher than the priority of the communication device 1 that is the current grand master.
  • the communication device 3 is a communication device other than the communication device 1 that is the current grand master among the plurality of communication devices.
  • step S ⁇ b> 14 Announce including that the priority of the communication device 1 is 3 is transmitted from the communication device 2 to the communication device 3.
  • step S15 the communication device 3 transmits to the communication device 2 an Announce including that the priority of the communication device 3 is 2.
  • the grand master arbitration is performed between the communication device 2 and the communication device 3.
  • step S16 if the communication device 2 determines that the priority of the communication device 3 is higher than the current priority of the grand master, the communication device 2 suspends the grand master arbitration. That is, the communication device 2 does not perform the process of switching the communication device 3 to the grand master even though the priority of the communication device 3 is higher than the grand master priority 22. Specifically, the communication device 2 does not change the port connected to the communication device 3 as MasterPort. The communication device 2 waits for the switching of the grand master until receiving the synchronization message Sync from the communication device 3. In step S17, the communication device 2 receives the synchronization message Sync from the communication device 3.
  • step S18 upon receiving the synchronization message Sync from the communication device 3, the communication device 2 calculates a difference between the time of the communication device 3 and the time of the own communication device. When the calculated time difference exceeds the threshold value 23, the communication device 2 does not switch the grand master and recognizes the communication device 1 as the grand master and continues to operate.
  • the threshold value 23 is ⁇ 15 minutes.
  • the time of the communication device 3 is 0:30 according to the synchronization message Sync in step S17.
  • the time of the communication device 2 is 1:00. Therefore, the time difference between the communication device 2 and the communication device 3 is -30 minutes. Therefore, the communication device 2 determines that the time difference is larger than the threshold value 23, ignores the synchronization message Sync of the communication device 3, and recognizes the communication device 1 as a grand master, and continues to operate.
  • the communication device 100 does not determine that the time difference from its own communication device is smaller than the threshold. Ignoring the BMCA with the newly entered communication device.
  • FIG. 5 is an operation flowchart of communication device 100 according to the present embodiment.
  • the communication process S100 of the communication device 100 will be described with reference to FIG.
  • step S101 the communication device 100 is in a standby state for receiving a grandmaster arbitration message Announce.
  • step S102 the priority determination unit 110 of the communication device 100 acquires Announce via the communication control unit 950.
  • the Announce contains the priority of the communication device of the transmission source of the Announce (hereinafter, referred to as another communication device).
  • the priority determination unit 110 determines whether or not the priority of another communication device included in Announce is higher than the grandmaster priority 22, which is the current priority of the grandmaster. If the other communication devices included in Announce are lower than the grandmaster priority 22, the switching of the grandmaster is not necessary, and the process returns to step S101. If the priority of the other communication device included in the Announce is greater than or equal to the grandmaster priority 22, the process proceeds to step S103.
  • step S103 the arbitration unit 120 of the communication device 100 determines whether the initialization sequence has been completed. If the initialization sequence has not been completed, the arbitrating unit 120 performs grand master arbitration, that is, BMCA, and selects a grand master. If the initialization sequence has been completed, that is, if the current grandmaster has been selected, the process proceeds to step S104.
  • a specific example of a method of determining whether the initialization sequence has been completed is as follows. When the communication device 100 receives a notification of the completion of the initialization sequence from the master station that performs network management, it may be determined that the initialization sequence has been completed. Alternatively, the communication device 100 may be provided with a timer for monitoring the completion of the initialization sequence, and when the timer times out, it may be determined that the initialization sequence has been completed.
  • step S104 the arbitration unit 120 of the communication device 100 enters a grandmaster arbitration, that is, a standby state for receiving the synchronization message Sync without performing the BMCA. That is, the arbitration unit 120 enters a Sync reception standby state before switching another communication device to the grand master.
  • step S105 upon acquiring the Sync via the communication control unit 950, the arbitrating unit 120 proceeds to step S106.
  • step S106 the arbitrating unit 120 calculates a difference between the time of the other communication device and the time of the own communication device.
  • the communication device 100 is the communication device 2, and the other communication devices are the newly entered communication devices 3.
  • the threshold value 23 is ⁇ 15 minutes.
  • the time of the communication device 3 is 0:30 by Sync.
  • step S107 the arbitration unit 120 compares the absolute value of the time difference with the threshold value 23. If the absolute value of the time difference is equal to or greater than the threshold value 23, the process returns to step S101. That is, the arbitration unit 120 does not execute the grandmaster arbitration, and returns to the state of waiting for the announcement. In the example of FIG. 4, the grand master remains the communication device 1 at this point. On the other hand, if the absolute value of the time difference is smaller than the threshold value 23, the process proceeds to step S108. In step S108, the arbitration unit 120 continues the grandmaster arbitration, that is, the BMCA. Thereby, the arbitration unit 120 switches another communication device to the grand master. For example, it is assumed that the time of the communication device 3 is 0:55 by Sync in step S17 of FIG. At this time, the time difference is -5 minutes, the communication device 2 determines that the time difference is smaller than the threshold value 23, and switches the newly entered communication device 3 to the grand master.
  • the functions of the priority determination unit 110 and the arbitration unit 120 are realized by software.
  • the functions of the priority determination unit 110 and the arbitration unit 120 may be realized by hardware.
  • the communication device 100 may include an electronic circuit instead of the processor 910 in FIGS. 2 and 3.
  • the electronic circuit is a dedicated electronic circuit that implements the functions of the priority determination unit 110 and the arbitration unit 120.
  • the electronic circuit is, specifically, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA.
  • GA is an abbreviation for Gate Array.
  • ASIC is an abbreviation for Application Specific Integrated Circuit.
  • FPGA is an abbreviation for Field-Programmable Gate Array.
  • the functions of the priority determination unit 110 and the arbitration unit 120 may be realized by one electronic circuit, or may be realized by being distributed to a plurality of electronic circuits. As another modification, a part of the functions of the priority determination unit 110 and the arbitration unit 120 may be realized by an electronic circuit, and the remaining functions may be realized by software.
  • Each of the processor and the electronic circuit is also called a processing circuitry. That is, in the communication device 100, the functions of the priority determination unit 110 and the arbitration unit 120 are realized by the processing circuitry.
  • Communication device 100 of communication system 500 has a time synchronization function and a grandmaster arbitration function.
  • the communication device 100 has a function of calculating a time difference from a communication device newly entering the communication system 500 and comparing the calculated time difference with a threshold value. If the time difference is equal to or greater than the threshold, the communication device 100 does not switch the newly entered communication device to the grandmaster and does not synchronize with the newly entered communication device. If the time difference is smaller than the threshold, the communication device 100 switches the newly entered communication device to the grand master.
  • the communication device 100 of the communication system 500 does not immediately execute the grandmaster arbitration, that is, the BMCA, even when receiving the grandmaster arbitration message of the newly joined communication device, and receives the synchronization message. To wait. Then, the communication device 100 calculates the time difference between the time notified by the synchronization message from the newly joining communication device and the own communication device, and if the time difference is equal to or greater than the threshold value, sets the newly joining communication device as the grandmaster. It does not switch and does not synchronize the time with the newly entered communication device.
  • the grandmaster arbitration that is, the BMCA
  • the communication system 500 it is possible to prevent unintended switching of the grand master and, when the time difference between the newly joined communication device and the current grand master is small, synchronize with the communication device. . Therefore, according to the communication system 500 according to the present embodiment, when a communication device with high priority and high precision newly enters, a newly entered communication device can be ignored if the time difference is large. On the other hand, according to the communication system 500 according to the present embodiment, when a communication device with a high priority and high precision newly enters, if the time difference is within a range in which there is no problem, the communication device of the new entry will receive the time. Can be synchronized.
  • Embodiment 2 FIG. In the present embodiment, points different from Embodiment 1 will be mainly described. The same components as those in the first embodiment are denoted by the same reference numerals, and description thereof will be omitted.
  • the configuration of the communication system according to the present embodiment is the same as that of the first embodiment.
  • the arbitration unit continues the process with the current grand master as it is without switching the grand master.
  • a method will be described in which, when the time difference is equal to or greater than a threshold, a communication apparatus that has newly joined is selected as a grand master by the communication system while maintaining the current communication system time.
  • the communication device 100a sets the priority of its own communication device to the highest priority from the state in which the newly entered communication device is not switched to the grand master.
  • the priority of the own communication device is set to the highest priority, and the synchronization message Sync is transmitted while the own communication device is the grand master. Thereafter, the communication device 100a returns the grand master priority, that is, the priority of the own communication device, to the original value of the priority.
  • time synchronization is performed using the newly entered communication device as the grand master.
  • the arbitration unit 120 sets the device priority 21 which is the priority of the own communication device to be higher than the priority of the other communication devices.
  • the priority of the communication device 100a becomes the highest priority in the communication system 500a.
  • the arbitration unit 120 causes the own communication device to be selected as the grand master. Further, the arbitration unit 120 returns the device priority 21 to the original value when the synchronization of the plurality of communication devices is completed with the own communication device as the grand master. Thereafter, the arbitration unit 120 may perform a grandmaster arbitration in which another communication device is selected as a grandmaster by transmitting a grandmaster arbitration message including the device priority 21.
  • FIG. 6 is a diagram showing an operation sequence of the communication system 500a according to the present embodiment.
  • the operation of communication system 500a according to the present embodiment will be described using FIG.
  • a communication system 500a includes a plurality of communication devices.
  • the plurality of communication devices are the communication device 1, the communication device 2, and the communication device 3.
  • the communication device 100a will be described as the communication device 2.
  • the communication device 3 is an example of another communication device that newly enters the communication system 500a.
  • Steps S15 to S17 are the same as steps S15 to S17 in FIG. In the present embodiment, the processing from step S15 to step S17 in FIG. 4 is different from that of the first embodiment.
  • step S15 the communication device 2 receives from the communication device 3 an Announce including that the priority of the communication device 3 is 2. At this point, the priority of the communication device 1 is 3, the priority of the communication device 2 is 4, and the current grand master is the communication device 1.
  • step S16 if the communication device 2 determines that the priority of the communication device 3 is higher than the current priority of the grand master, the communication device 2 suspends the grand master arbitration.
  • step S17 the communication device 2 receives the synchronization message Sync from the communication device 3. The processing so far is the same as in the first embodiment.
  • step S21 upon receiving the Sync from the communication device 3, the communication device 2 calculates a difference between the time of the communication device 3 and the time of the own communication device. If the calculated time difference is equal to or greater than the threshold value 23, the communication device 2 does not switch the grand master. At this time, the communication device 2 raises the priority of the own communication device from 4 to 1. That is, the communication device 2 raises the device priority 21 of the own communication device to be higher than the current grandmaster priority 22 of the communication system 500a and higher than the priority of the communication device 3 that has newly entered. The communication device 2 transmits the grandmaster arbitration message Announce with the priority of the own communication device set to 1.
  • step S22 the communication device 1 recognizes the communication device 2 as a grand master.
  • step S23 the communication device 3 recognizes the communication device 2 as a grand master.
  • step S24 the communication device 2 transmits Sync.
  • step S25 the communication device 1 and the communication device 3 receive the Sync from the communication device 2 and synchronize the time with the communication device 2. At this point, the communication device 2 is already synchronized with the communication device 1. Therefore, the communication device 3 is time-synchronized with the communication device 2. In a specific example, the time of the communication device 3 is corrected from 0:45 to 1:15 by time synchronization.
  • step S26 after transmitting the Sync, the communication device 2 returns the priority of the own communication device to the original priority value of 4. For example, after transmitting Sync, the communication device 2 returns the priority of the own communication device to the original value after a certain period of time has elapsed. Alternatively, the communication device 2 may return the priority of the own communication device to the original value after the time synchronization is completed in the communication system 500a after transmitting the Sync.
  • step S27 the communication device 2 returns the priority of the own communication device to the original value, and then performs the grandmaster arbitration again.
  • step S28 the communication device 3 is recognized as a grand master. At this point, the communication device 3 is already time-synchronized with the communication device 1. Therefore, even if the communication device 1 and the communication device 2 are time-synchronized with the communication device 3 after the communication device 3 becomes the grand master, the time skip does not occur.
  • a newly-entry communication device 3 can enter the communication system 500a without causing a time jump.
  • FIGS. 7 and 8 are operation flowcharts of communication device 100a according to the present embodiment.
  • the communication process S100a of the communication device 100a will be described with reference to FIGS.
  • Steps S101 to S108 in FIG. 7 are the same as steps S101 to S108 in FIG.
  • the process proceeds to step S109.
  • the arbitration unit 120 of the communication device 100a sets the device priority 21, which is the priority of the communication device 100a, to be the highest priority in the communication system 500a.
  • the arbitration unit 120 sets the priority of the communication device 2 to be higher than the priority 3 of the communication device 1 that is the grand master, and to be higher than the priority 2 of the communication device 3 that has newly entered.
  • the priority is set to 1 so that the priority becomes high.
  • the arbitration unit 120 stores the original value of the device priority 21 in the memory 921.
  • the arbitration unit 120 sets the priority of its own communication device to the highest priority, and then transmits a grandmaster arbitration message Announce including the priority of its own communication device from all ports.
  • the arbitration unit 120 waits until the grandmaster arbitration is completed. That is, the arbitration unit 120 waits until the BMCA converges.
  • a specific example of a method of determining whether BMCA has converged is as follows.
  • the communication device 100a receives the notification of the completion of the selection of the grand master from the master station that performs network management, it determines that the BMCA has converged.
  • the communication device 100a may be provided with a timer for measuring the processing time of the BMCA, and when the timer times out, it may be determined that the BMCA has converged. If it is determined that the BMCA has converged, the process proceeds to step S113.
  • step S113 the arbitrating unit 120 transmits the synchronization message Sync.
  • step S114 the arbitrating unit 120 determines whether the transmission of the Sync has been completed. In the present embodiment, the arbitration unit 120 determines that the time synchronization of the communication system 500a has been completed when the transmission of the Sync has been completed. When the transmission of the Sync of the communication system 500a is completed, the process proceeds to step S115. In step S115, the arbitrating unit 120 returns the priority of the own communication device, that is, the device priority 21 to the original value. Thereafter, the arbitration unit 120 may transmit Announce including the device priority 21 from all ports. In the example of FIG. 6, since the priority of the communication device 2 returns to 4 and the priority of the communication device 3 is 2, the communication device 3 is selected as the grand master by the grand master arbitration.
  • the communication device 100a determines whether the time synchronization has been completed based on whether the transmission of the Sync has been completed, and returns the priority of the own communication device to the original value. However, the communication device may return the priority to the original value after a certain period of time from the state where the priority is raised to the highest priority.
  • a newly-entry communication device when a newly-entry communication device is a high-priority and high-accuracy communication device, a newly-entry communication device can be selected as a grand master without causing a time jump. Therefore, a highly accurate communication system can be provided.
  • each unit of the communication device has been described as an independent functional block.
  • the configuration of the communication device may not be the configuration as in the above-described embodiment.
  • the functional blocks of the communication device may have any configuration as long as the functions described in the above embodiments can be realized.
  • the communication device may be a system including a plurality of devices instead of a single device.
  • a plurality of parts of the first and second embodiments may be combined and implemented.
  • one of these embodiments may be implemented.
  • these embodiments may be implemented in any combination as a whole or a part. That is, in the first and second embodiments, a free combination of the embodiments, a modification of an arbitrary component of the embodiment, or an omission of an arbitrary component in the embodiment can be made.

Landscapes

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

Abstract

優先度判定部(110)は、複数の通信装置のうち現在のグランドマスタ以外の他の通信装置から、グランドマスタの選出に用いられるグランドマスタ調停メッセージであって他の通信装置の優先度を含むグランドマスタ調停メッセージを取得する。優先度判定部(110)は、他の通信装置の優先度がグランドマスタ優先度(22)より高いか否かを判定する。調停部(120)は、他の通信装置の優先度がグランドマスタ優先度(22)より高いと判定されると、他の通信装置をグランドマスタに切り替える前に、他の通信装置の時刻を含む同期メッセージを他の通信装置から取得する。調停部(120)は、他の通信装置の時刻と自通信装置の時刻との差分を算出し、差分が閾値(23)より小さい場合に、他の通信装置をグランドマスタに切り替える。

Description

通信装置、通信システム、通信方法および通信プログラム
 本発明は、通信装置、通信システム、通信方法および通信プログラムに関する。特に、マスタスレーブシステムにおいて時刻同期を行う通信装置、通信システム、通信方法および通信プログラムに関する。
 IEEE1588、あるいは、IEEE802.1ASのように、複数のノードから成るマスタスレーブシステムにおいて、ネットワーク上の分散クロックを同期させる時刻同期技術の規格がある。これらの規格では、ベストマスタクロックアルゴリズム(BMCA)により、時刻の基準となるグランドマスタを選出し、グランドマスタに同期するスレーブはグランドマスタから配信される時刻に同期する。稼働中のシステムにグランドマスタより高優先度のノードが新たに参入した場合、各ノードはグランドマスタを選出する調停を行い、新たに参入した高優先度のノードをグランドマスタと認識する。そして、各ノードは、新たに参入した高優先度のノードに同期する。このとき、意図していないグランドマスタの切り替えが発生する場合がある。なお、調停によるグランドマスタの選出処理を「グランドマスタ調停」と呼ぶ。
 特許文献1の技術では、グランドマスタとスレーブノードの間にネットワーク接続装置が設けられる。そして、特許文献1の技術では、新たなノードがネットワーク接続装置に接続され、新たなノードからベストタイミング同期リクエストが送出されると、ネットワーク接続装置はベストタイミング同期リクエストをブロックする。
特開2013-085278号公報
 特許文献1では、意図しないグランドマスタの切り替えを防止できる。しかし、通信システムに優先度が高い高精度な通信装置が新規参入し、高精度な通信装置と現在のグランドマスタとの時刻差が小さい場合でも高精度な通信装置に時刻同期できない虞がある。
 本発明は、意図しないグランドマスタの切り替えを防止するとともに、新規参入の通信装置と現在のグランドマスタとの時刻差が小さい場合には、その通信装置に時刻同期できるようにすることを目的とする。
 本発明に係る通信装置は、複数の通信装置を備えた通信システムであって、前記複数の通信装置から前記複数の通信装置の時刻の基準となるグランドマスタを選出する通信システムに含まれる通信装置において、
 前記複数の通信装置のうち現在のグランドマスタ以外の他の通信装置から、前記グランドマスタの選出に用いられるグランドマスタ調停メッセージであって前記他の通信装置の優先度を含むグランドマスタ調停メッセージを取得し、前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いか否かを判定する優先度判定部と、
 前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いと判定されると、前記他の通信装置を前記グランドマスタに切り替える前に、前記他の通信装置の時刻を含む同期メッセージを前記他の通信装置から取得し、前記他の通信装置の時刻と自通信装置の時刻との差分を算出し、前記差分が閾値より小さい場合に、前記他の通信装置を前記グランドマスタに切り替える調停部とを備えた。
 本発明に係る通信装置によれば、新規参入の通信装置と現在のグランドマスタとの時刻差が小さい場合には、その通信装置に時刻同期できるという効果を奏する。
実施の形態1に係る通信システムと比較するための通信システムのシーケンス図。 実施の形態1に係る通信装置の構成図。 実施の形態1に係る通信装置のハードウェアの詳細構成図。 実施の形態1に係る通信システムのシーケンス図。 実施の形態1に係る通信装置の動作フロー図。 実施の形態2に係る通信システムのシーケンス図。 実施の形態2に係る通信装置の動作フロー図。 実施の形態2に係る通信装置の動作フロー図。
 以下、本発明の実施の形態について、図を用いて説明する。なお、各図中、同一または相当する部分には、同一符号を付している。実施の形態の説明において、同一または相当する部分については、説明を適宜省略または簡略化する。
 実施の形態1.
 図1は、本実施の形態に係る通信システムと比較するための通信システム501の動作シーケンスを示す図である。
 図1の通信システム501と本実施の形態に係る通信システムは、IEEE1588、あるいはIEEE802.1ASといった時刻同期技術の規格を採用している。これらの規格では、BMCAを用いたグランドマスタ調停によりグランドマスタを選出し、グランドマスタ以外のスレーブはグランドマスタから配信される時刻に同期する。
 図1の上段の動作シーケンスでは、通信システム501は優先度3の通信装置1と優先度4の通信装置2を備える。通信装置1は、通信システム501の時刻の基準となるグランドマスタGMである。通信装置1からグランドマスタ調停メッセージAnnounceが通信装置2に送信され、続けて同期メッセージSyncが送信されている。これにより、通信装置1と通信装置2の時刻同期が完了する。以下において、グランドマスタ調停メッセージAnnounceを単にAnnounceとして説明する場合がある。また、同期メッセージSyncを単にSyncとして説明する場合がある。
 Announceはグランドマスタ調停を行うためのフレームである。Syncはグランドマスタから発信され、通信システムの時刻同期を行うためのフレームである。図1の上段では、グランドマスタ調停が完了し、通信装置1と通信装置2の間で時刻同期が行われたことを示している。「M」はMasterPortを表す。MasterPortは、AnnounceおよびSyncを送信するポートである。また、「S」はSlavePortを表す。SlavePortは、Syncを受信するポートである。なお、ここでは、優先度の値は小さいほどグランドマスタになる優先度が高いことを示す。
 図1の下段の動作シーケンスでは、通信装置1と通信装置2のグランドマスタ調停が完了した状態で、新たに通信装置3が通信システム501に参入する状態を示している。新規参入の通信装置3は、通信装置3の優先度2が、グランドマスタである通信装置2の優先度3より高いことを示すAnnounceを送信し、グランドマスタ調停を開始する。グランドマスタ調停が完了すると、通信装置3は、自通信装置の時刻に同期させるためのSyncを送信する。このとき、このグランドマスタの切り替えが意図しない切り替えである場合、通信装置2は、通信装置3のAnnounceをブロックする、あるいは、無視するといった手法で切り替えを防止できる。しかし、このような手法では、通信装置3と通信装置2との時刻の差が問題無い程度に小さい場合でも、優先度が高い通信装置3をグランドマスタにすることはできない。
 本実施の形態では、通信装置3と通信装置2との時刻の差が小さい場合には、優先度が高い通信装置3をグランドマスタにすることができる通信システムの態様について説明する。
 通信装置がグランドマスタと同期済みであると判断する方法は次の通りである。通信装置がスレーブの場合、SlavePortを持っている。通信装置は、一定時間以上SlavePortが変更されなければ、一度はグランドマスタと同期したと判断する。
 また、通信装置がグランドマスタの場合、通信装置がスレーブである通信装置と同期済みであると判断する方法は次の通りである。通信装置は、MasterPortからAnnounceが一定期間以上受信されなければ、BMCAが収束してスレーブが同期していると判断する。
***構成の説明***
 図2を用いて、本実施の形態に係る通信装置100の構成を説明する。
 まず、本実施の形態に係る通信システム500は、複数の通信装置100を備える。通信システム500は、複数の通信装置100から、複数の通信装置100の時刻の基準となるグランドマスタを選出する。
 通信装置100は、コンピュータである。通信装置100は、プロセッサ910を備えるとともに、メモリ921、補助記憶装置922、入力インタフェース930、出力インタフェース940、および通信制御部950といった他のハードウェアを備える。さらに、通信装置100は、ネットワークポート961,962、およびシステムクロック970といったハードウェアを備える。プロセッサ910は、信号線を介して他のハードウェアと接続され、これら他のハードウェアを制御する。ネットワークポート961,962、およびシステムクロック970については図2に図示はないが、これらの構成については後述する図3を用いて説明する。
 通信装置100は、機能要素として、優先度判定部110と調停部120を備える。メモリ921には、装置優先度21とグランドマスタ優先度22と閾値23が記憶されている。
 優先度判定部110と調停部120の機能は、ソフトウェアにより実現される。
 プロセッサ910は、通信プログラムを実行する装置である。通信プログラムは、優先度判定部110と調停部120の機能を実現するプログラムである。
 プロセッサ910は、演算処理を行うIC(Integrated Circuit)である。プロセッサ910の具体例は、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、GPU(Graphics Processing Unit)である。
 メモリ921は、データを一時的に記憶する記憶装置である。メモリ921の具体例は、SRAM(Static Random Access Memory)、あるいはDRAM(Dynamic Random Access Memory)である。
 補助記憶装置922は、データを保管する記憶装置である。補助記憶装置922の具体例は、HDDである。また、補助記憶装置922は、SD(登録商標)メモリカード、CF、NANDフラッシュ、フレキシブルディスク、光ディスク、コンパクトディスク、ブルーレイ(登録商標)ディスク、DVDといった可搬記憶媒体であってもよい。なお、HDDは、Hard Disk Driveの略語である。SD(登録商標)は、Secure Digitalの略語である。CFは、CompactFlash(登録商標)の略語である。DVDは、Digital Versatile Diskの略語である。
 入力インタフェース930は、マウス、キーボード、あるいはタッチパネルといった入力装置と接続されるポートである。入力インタフェース930は、具体的には、USB(Universal Serial Bus)端子である。なお、入力インタフェース930は、LAN(Local Area Network)と接続されるポートであってもよい。
 出力インタフェース940は、ディスプレイといった出力機器のケーブルが接続されるポートである。出力インタフェース940は、具体的には、USB端子またはHDMI(登録商標)(High Definition Multimedia Interface)端子である。ディスプレイは、具体的には、LCD(Liquid Crystal Display)である。
 通信プログラムは、プロセッサ910に読み込まれ、プロセッサ910によって実行される。メモリ921には、通信プログラムだけでなく、OS(Operating System)も記憶されている。プロセッサ910は、OSを実行しながら、通信プログラムを実行する。通信プログラムおよびOSは、補助記憶装置922に記憶されていてもよい。補助記憶装置922に記憶されている通信プログラムおよびOSは、メモリ921にロードされ、プロセッサ910によって実行される。なお、通信プログラムの一部または全部がOSに組み込まれていてもよい。
 通信装置100は、プロセッサ910を代替する複数のプロセッサを備えていてもよい。これら複数のプロセッサは、通信プログラムの実行を分担する。それぞれのプロセッサは、プロセッサ910と同じように、通信プログラムを実行する装置である。
 通信プログラムにより利用、処理または出力されるデータ、情報、信号値および変数値は、メモリ921、補助記憶装置922、または、プロセッサ910内のレジスタあるいはキャッシュメモリに記憶される。
 優先度判定部110と調停部120の各部の「部」を「処理」、「手順」あるいは「工程」に読み替えてもよい。また優先度判定処理と調停処理の「処理」を「プログラム」、「プログラムプロダクト」または「プログラムを記録したコンピュータ読取可能な記憶媒体」に読み替えてもよい。
 通信プログラムは、上記の各部の「部」を「処理」、「手順」あるいは「工程」に読み替えた各処理、各手順あるいは各工程を、コンピュータに実行させる。また、通信方法は、通信装置100が通信プログラムを実行することにより行われる方法である。
 通信プログラムは、コンピュータ読取可能な記録媒体に格納されて提供されてもよい。また、通信プログラムは、プログラムプロダクトとして提供されてもよい。
 図3は、本実施の形態に係る通信装置100のハードウェアの詳細構成を示す図である。図3を用いて、図2で説明したハードウェアについて、さらに詳しく説明する。
 プロセッサ910、メモリ921、補助記憶装置922、入力インタフェース930、および出力インタフェース940は、マイクロコンピュータ900に備えられる。
 通信制御部950は、割り込み制御部11、送信部12、時分割制御部13、受信部14、同期制御部15、データ調停部16、およびネットワークインタフェース17,18を備える。ネットワークインタフェース17は、ネットワークポート961に接続される。ネットワークインタフェース18は、ネットワークポート962に接続される。
 割り込み制御部11は、プロセッサ910への割り込みの出力、および割り込みのマスク制御を行う。
 送信部12は、通信フレームの生成を行う。また、送信部12は、時分割制御部13よりタイミングが入力され、送信起動の制御を行う。
 時分割制御部13は、同期制御部15より入力された時刻に基づき、通信周期とタイムスロットの制御を行う。
 受信部14は、フレームの受信処理を行う。受信部14は、同期フレーム、すなわち同期メッセージから時刻情報を抽出する。
 同期制御部15は、時分割制御部13に時刻カウンタ値を出力する。また、同期制御部15は、同期フレームの送信時刻と受信時刻の保持を行う。
 データ調停部16は、通信フレームの送信調停を行う。また、データ調停部16は、時分割制御部13より入力されたタイムスロット情報に基づき、中継制御を行う。また、データ調停部16は、受信したフレームの種別の判定を行う。また、データ調停部16は、同期フレームの受信および送信を同期制御部15に通知する。
 ネットワークインタフェース17,18は、同期フレームの送信および受信を同期制御部15に通知する。また、ネットワークインタフェース17,18は、送信するフレームをネットワークポート961,962に転送する。ネットワークインタフェース17,18は、ネットワークポート961,962から受信したフレームをデータ調停部16に転送する。
 ネットワークポート961,962は、ネットワークに接続される物理ポートである。
 システムクロック970は、発振器により通信制御部950および内部バスにクロック信号を入力する。
***機能の説明***
 通信装置100の優先度判定部110は、複数の通信装置のうち現在のグランドマスタ以外の他の通信装置から、グランドマスタ調停メッセージAnnounceを取得する。グランドマスタ調停メッセージAnnounceは、グランドマスタの選出に用いられる。グランドマスタ調停メッセージAnnounceには、送信元である他の通信装置の優先度が含まれる。ここで、他の通信装置は、具体的には、通信システム500に新規参入する通信装置である。優先度判定部110は、他の通信装置の優先度が現在のグランドマスタの優先度であるグランドマスタ優先度22より高いか否かを判定する。
 グランドマスタ優先度22には、通信システム500におけるグランドマスタの優先度が設定される。IEEE1588、あるいはIEEE802.1ASでは、グランドマスタ優先度22をPriority1のパラメータで表す。
 装置優先度21には、自通信装置である通信装置100の優先度が設定される。
 他の通信装置からAnnounceが送信され、他の通信装置の優先度が現在のグランドマスタの優先度より高いことが判明すると、通常、通信装置は、他の通信装置をグランドマスタに切り替える処理を行う。
 本実施の形態に係る通信装置100の調停部120は、他の通信装置の優先度がグランドマスタ優先度22より高いと判定されると、他の通信装置をグランドマスタに切り替える前に、他の通信装置の時刻を含む同期メッセージSyncを他の通信装置から取得する。調停部120は、他の通信装置の時刻と自通信装置の時刻との差分を算出し、差分が閾値23より小さい場合に、他の通信装置をグランドマスタに切り替える。また、調停部120は、差分が閾値23以上の場合は、他の通信装置をグランドマスタに切り替えない。すなわち、通信装置100は、現在のグランドマスタに時刻同期している状態である。
 閾値23には、新規参入の通信装置に時刻を同期しても問題無く許容できる差分の最大の値が設定される。
***動作の説明***
 図4は、本実施の形態に係る通信システム500の動作シーケンスを示す図である。図4を用いて、本実施の形態に係る通信システム500の動作について説明する。
 図4において、通信システム500は、複数の通信装置を備える。複数の通信装置は、通信装置1、通信装置2、および通信装置3である。ここでは、通信装置2を通信装置100として説明する。また、通信装置3は、新規に通信システム500に参入する他の通信装置の例である。
 ステップS11において、通信装置1から、グランドマスタ調停メッセージAnnounceが通信装置2に送信される。通信装置1の優先度は3であり、通信装置2の優先度は4であるため、通信装置1がグランドマスタGMとなる。
 ステップS12において、通信装置1から同期メッセージSyncが通信装置2に送信され、通信装置2は通信装置1に時刻同期する。
 ステップS13において、通信装置3が、通信システム500に新規参入する。通信装置3の優先度は2である。すなわち、新規参入の通信装置3の優先度は、現在のグランドマスタである通信装置1の優先度より高い。通信装置3は、通信装置2にとって、複数の通信装置のうち現在のグランドマスタである通信装置1以外の他の通信装置となる。
 ステップS14において、通信装置2から、通信装置1の優先度が3であることを含むAnnounceが通信装置3に送信される。
 ステップS15において、通信装置3から、通信装置3の優先度が2であることを含むAnnounceが通信装置2に送信される。このように、通信装置2と通信装置3との間でグランドマスタ調停が行われる。
 ステップS16において、通信装置2は、通信装置3の優先度が現在のグランドマスタの優先度より高いと判定すると、グランドマスタ調停を中断する。すなわち、通信装置2は、通信装置3の優先度がグランドマスタ優先度22より高いにもかかわらず、通信装置3をグランドマスタに切り替える処理を行わない。具体的には、通信装置2は、通信装置3に接続しているポートをMasterPortのまま変更しない。通信装置2は、通信装置3からの同期メッセージSyncを受信するまで、グランドマスタの切り替えを待機する。
 ステップS17において、通信装置2が通信装置3から同期メッセージSyncを受信する。
 ステップS18において、通信装置2は、通信装置3からの同期メッセージSyncを受信すると、通信装置3の時刻と自通信装置との時刻の差分を算出する。算出した時刻の差分が閾値23を超えている場合、通信装置2はグランドマスタの切り替えを行わず、通信装置1をグランドマスタと認識して動作し続ける。図4の例では、閾値23が±15分とする。ステップS17の同期メッセージSyncにより通信装置3の時刻は0:30である。また、通信装置2の時刻は1:00である。よって、通信装置2と通信装置3の時刻差は-30分である。よって、通信装置2は、時刻の差分が閾値23より大きいと判定し、通信装置3の同期メッセージSyncを無視して、通信装置1をグランドマスタと認識して動作し続ける。
 以上のように、本実施の形態に係る通信システム500では、優先度が高い通信装置が新規参入した場合でも、通信装置100は、自通信装置との時刻差が閾値より小さいと判定されなければ、新規参入の通信装置とのBMCAを無視する。
 次に、本実施の形態に係る通信装置100の動作について説明する。
 図5は、本実施の形態に係る通信装置100の動作フロー図である。図5を用いて、通信装置100の通信処理S100について説明する。
 ステップS101において、通信装置100は、グランドマスタ調停メッセージAnnounceの受信待機状態である。
 ステップS102において、通信装置100の優先度判定部110は、通信制御部950を介して、Announceを取得する。Announceには、Announceの送信元の通信装置(以下、他の通信装置とする)の優先度が含まれている。優先度判定部110は、Announceに含まれる他の通信装置の優先度が、現在のグランドマスタの優先度であるグランドマスタ優先度22より高いか否かを判定する。Announceに含まれる他の通信装置がグランドマスタ優先度22より低ければ、グランドマスタの切り替えは必要無いため、処理はステップS101に戻る。Announceに含まれる他の通信装置の優先度がグランドマスタ優先度22以上であれば、処理はステップS103に進む。
 ステップS103において、通信装置100の調停部120は、初期化シーケンス完了済みかどうかを判定する。初期化シーケンスが完了していない場合は、調停部120は、グランドマスタ調停、すなわちBMCAを実施し、グランドマスタの選出を行う。初期化シーケンスが完了している場合、すなわち現在のグランドマスタが選出されている場合は、処理はステップS104に進む。初期化シーケンス完了したかどうか判定方法の具体例は以下である。通信装置100が、ネットワーク管理を行うマスタ局から初期化シーケンス完了の通知を受信すると、初期化シーケンスが完了していると判定してもよい。あるいは、通信装置100が初期化シーケンスの完了を監視するタイマを設け、このタイマがタイムアウトすると初期化シーケンスが完了していると判定してもよい。
 ステップS104において、通信装置100の調停部120は、グランドマスタ調停、すなわちBMCAを実施せず同期メッセージSyncの受信待機状態となる。すなわち、調停部120は、他の通信装置をグランドマスタに切り替える前に、Syncの受信待機状態となる。
 ステップS105において、調停部120は、通信制御部950を介して、Syncを取得すると、ステップS106に進む。
 ステップS106において、調停部120は、他の通信装置の時刻と自通信装置の時刻との差分を算出する。図4の例では、通信装置100が通信装置2であり、他の通信装置は新規参入の通信装置3である。また、閾値23は、±15分であるものとする。Syncにより通信装置3の時刻は0:30である。通信装置2の時刻は1:00である。よって、調停部120は、通信装置2と通信装置3の時刻の差分=0:30-1:00=-30分を算出する。
 ステップS107において、調停部120は、時刻の差分の絶対値と閾値23とを比較する。
 時刻の差分の絶対値が閾値23以上の場合、処理はステップS101に戻る。すなわち、調停部120は、グランドマスタ調停を実行せず、再びAnnounceの受信待機状態に戻る。図4の例では、この時点でグランドマスタは通信装置1のままである。
 一方、時刻の差分の絶対値が閾値23より小さい場合は、処理はステップS108に進む。
 ステップS108において、調停部120は、グランドマスタ調停、すなわちBMCAを続行する。これにより調停部120は、他の通信装置をグランドマスタに切り替える。たとえば、図4のステップS17において、Syncにより通信装置3の時刻が0:55であったと仮定する。このとき、時刻の差分は-5分となり、通信装置2は、時刻の差分が閾値23より小さいと判定し、新規参入の通信装置3をグランドマスタに切り替える。
***他の構成***
 本実施の形態では、優先度判定部110と調停部120の機能がソフトウェアで実現される。変形例として、優先度判定部110と調停部120の機能がハードウェアで実現されてもよい。
 通信装置100は、図2および図3のプロセッサ910に替えて電子回路を備えていてもよい。電子回路は、優先度判定部110と調停部120の機能を実現する専用の電子回路である。
 電子回路は、具体的には、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ロジックIC、GA、ASIC、または、FPGAである。GAは、Gate Arrayの略語である。ASICは、Application Specific Integrated Circuitの略語である。FPGAは、Field-Programmable Gate Arrayの略語である。
 優先度判定部110と調停部120の機能は、1つの電子回路で実現されてもよいし、複数の電子回路に分散して実現されてもよい。
 別の変形例として、優先度判定部110と調停部120の一部の機能が電子回路で実現され、残りの機能がソフトウェアで実現されてもよい。
 プロセッサと電子回路の各々は、プロセッシングサーキットリとも呼ばれる。つまり、通信装置100において、優先度判定部110と調停部120の機能は、プロセッシングサーキットリにより実現される。
***本実施の形態の効果の説明***
 本実施の形態に係る通信システム500の通信装置100は、時刻同期機能とグランドマスタ調停機能とを有する。通信装置100は、通信システム500に新規参入した通信装置との時刻差を算出し、閾値と比較する機能を有する。通信装置100は、時刻差が閾値以上の場合は、新規参入した通信装置をグランドマスタに切り替えず、新規参入した通信装置に同期しない。通信装置100は、時刻差が閾値より小さい場合は、新規参入した通信装置をグランドマスタに切り替える。
 言い換えると、本実施の形態に係る通信システム500の通信装置100では、新規参入した通信装置のグランドマスタ調停メッセージを受信しても即座にグランドマスタ調停、すなわちBMCAを実施せず、同期メッセージの受信を待機する。そして、通信装置100は、新規参入した通信装置からの同期メッセージによって通知された時刻と、自通信装置の時刻差を算出し、時刻差が閾値以上であれば新規参入の通信装置をグランドマスタに切り替えず、新規参入の通信装置には時刻同期しない。
 本実施の形態に係る通信システム500によれば、意図しないグランドマスタの切り替えを防止するとともに、新規参入の通信装置と現在のグランドマスタとの時刻差が小さい場合には、その通信装置に同期できる。よって、本実施の形態に係る通信システム500によれば、優先度が高く、かつ、高精度な通信装置が新規参入した場合、時刻差が大きいと新規参入の通信装置を無視することができる。一方、本実施の形態に係る通信システム500によれば、優先度が高く、かつ、高精度な通信装置が新規参入した場合、問題のない範囲の時刻差であれば新規参入の通信装置に時刻同期することができる。
 実施の形態2.
 本実施の形態では、主に、実施の形態1と異なる点について説明する。なお、実施の形態1と同様の構成には同一の符号を付し、その説明を省略する。
***構成の説明***
 本実施の形態に係る通信システムの構成は、実施の形態1と同様である。
 実施の形態1では、調停部は、時刻の差分が閾値以上の場合、グランドマスタの切り替えを行わずに現在のグランドマスタをそのままグランドマスタとして処理を続行していた。本実施の形態では、時刻の差分が閾値以上の場合、現在の通信システムの時刻を維持しながら、新規参入した通信装置をグランドマスタとして通信システムに選出させる方式について説明する。
 本実施の形態では、通信装置100aは、新規参入した通信装置をグランドマスタに切り替えていない状態から、自通信装置の優先度を最高優先度に設定する。自通信装置の優先度を最高優先度とし、自通信装置がグランドマスタとなった状態で、同期メッセージSyncを送信する。通信装置100aは、その後、グランドマスタ優先度、すなわち自通信装置の優先度を元の優先度の値に戻す。これにより、通信システム500aでは、新規参入した通信装置をグランドマスタとして、時刻同期が行われる。
 本実施の形態に係る通信装置100aの調停部120の機能について説明する。調停部120は、差分が閾値23以上の場合、自通信装置の優先度である装置優先度21を他の通信装置の優先度より高く設定する。これにより、通信装置100aの優先度は、通信システム500aにおいて最高優先度となる。このように、調停部120は、自通信装置をグランドマスタとして選出させる。また、調停部120は、自通信装置をグランドマスタとして、複数の通信装置の同期が完了すると、装置優先度21を元の値に戻す。その後、調停部120は、装置優先度21を含むグランドマスタ調停メッセージを送信することにより、他の通信装置をグランドマスタとして選出させるグランドマスタ調停を行ってもよい。
***動作の説明***
 図6は、本実施の形態に係る通信システム500aの動作シーケンスを示す図である。図6を用いて、本実施の形態に係る通信システム500aの動作について説明する。
 図6において、通信システム500aは、複数の通信装置を備える。複数の通信装置は、通信装置1、通信装置2、および通信装置3である。通信装置100aを通信装置2として説明する。また、通信装置3は、新規に通信システム500aに参入する他の通信装置の例である。
 ステップS15からステップS17は、図4のステップS15からステップS17と同様である。本実施の形態では、図4におけるステップS15からステップS17以降の処理が実施の形態1とは異なる。
 ステップS15において、通信装置2は、通信装置3から、通信装置3の優先度が2であることを含むAnnounceを受信する。この時点では、通信装置1の優先度が3であり、通信装置2の優先度が4であり、現在のグランドマスタは通信装置1である。
 ステップS16において、通信装置2は、通信装置3の優先度が現在のグランドマスタの優先度より高いと判定すると、グランドマスタ調停を中断する。
 ステップS17において、通信装置2は、通信装置3から同期メッセージSyncを受信する。ここまでの処理は、実施の形態1と同様である。
 ステップS21において、通信装置2は、通信装置3からのSyncを受信すると、通信装置3の時刻と自通信装置との時刻の差分を算出する。算出した時刻の差分が閾値23以上の場合、通信装置2はグランドマスタの切り替えを行わない。このとき、通信装置2は、自通信装置の優先度を4から1に引き上げる。すなわち、通信装置2は、自通信装置の装置優先度21を通信システム500aの現在のグランドマスタ優先度22よりも高く、かつ、新規参入の通信装置3の優先度よりも高く引き上げる。通信装置2は、自通信装置の優先度を1としてグランドマスタ調停メッセージAnnounceを送信する。
 ステップS22において、通信装置1は、通信装置2をグランドマスタと認識する。
 ステップS23において、通信装置3は、通信装置2をグランドマスタと認識する。
 ステップS24において、通信装置2は、Syncを送信する。
 ステップS25において、通信装置1および通信装置3は、通信装置2からのSyncを受信し、通信装置2に時刻同期する。この時点では、通信装置2は、既に通信装置1と同期している。よって、通信装置3が、通信装置2に時刻同期する。具体例では、通信装置3の時刻が、時刻同期により0:45から1:15に補正されている。
 ステップS26において、通信装置2は、Syncを送信した後、自通信装置の優先度を元の優先度の値4に戻す。たとえば、通信装置2は、Syncを送信した後、一定時間経過後に自通信装置の優先度を元の値に戻す。あるいは、通信装置2は、Syncを送信した後、通信システム500aにおいて時刻同期が完了した後に、自通信装置の優先度を元の値に戻してもよい。
 ステップS27において、通信装置2は、自通信装置の優先度を元の値に戻した後、再びグランドマスタ調停を行う。
 ステップS28において、通信装置3が、グランドマスタとして認識される。この時点では、通信装置3は既に通信装置1に時刻同期している。よって、通信装置3がグランドマスタになった後、通信装置1および通信装置2が通信装置3に時刻同期した場合でも、時刻とびは発生しない。
 以上のように、通信システム500aによれば、時刻とびを発生させることなく、新規参入の通信装置3を通信システム500aに参入させることができる。
 図7および図8は、本実施の形態に係る通信装置100aの動作フロー図である。図7および図8を用いて、通信装置100aの通信処理S100aについて説明する。
 なお、図7のステップS101からステップS108は図5のステップS101からステップS108と同様である。ただし、ステップS107において、時刻の差分の絶対値が閾値23以上の場合、処理はステップS109に進む。
 ステップS109において、通信装置100aの調停部120は、自通信装置の優先度である装置優先度21を通信システム500aの中で最高優先度となるように設定する。図6の例では、調停部120は、通信装置2の優先度を、グランドマスタである通信装置1の優先度3よりも高優先度、かつ、新規参入の通信装置3の優先度2よりも高優先度となるように、優先度1に設定している。このとき、調停部120は、元の装置優先度21の値をメモリ921に記憶しておく。
 ステップS110において、調停部120は、自通信装置の優先度を最高優先度に設定した後、自通信装置の優先度を含むグランドマスタ調停メッセージAnnounceを全ポートから送信する。
 そして、ステップS111およびステップS112において、調停部120は、グランドマスタ調停が完了するまで待機する。すなわち、調停部120は、BMCAが収束するまで待機する。BMCAが収束したかどうか判定方法の具体例は以下である。通信装置100aが、ネットワーク管理を行うマスタ局からグランドマスタの選出完了の通知を受信すると、BMCAが収束したと判定する。あるいは、通信装置100aがBMCAの処理時間を計測するタイマを設け、このタイマがタイムアウトするとBMCAが収束したと判定してもよい。
 BMCAが収束したと判定されると、処理はステップS113に進む。
 ステップS113において、調停部120は、同期メッセージSyncを送信する。
 ステップS114において、調停部120は、Syncの送信が完了したかを判定する。本実施の形態では、調停部120は、Syncの送信が完了した場合に、通信システム500aの時刻同期が完了したと判定している。通信システム500aのSyncの送信が完了すると、処理はステップS115に進む。
 ステップS115において、調停部120は、自通信装置の優先度、すなわち装置優先度21を元の値に戻す。その後、調停部120は、装置優先度21を含むAnnounceを全ポートから送信してもよい。図6の例では、通信装置2の優先度が4に戻り、通信装置3の優先度が2であるため、グランドマスタ調停により通信装置3がグランドマスタとして選出される。
 なお、本実施の形態では、通信装置100aは、Syncの送信が完了したか否かにより、時刻同期が完了したかを判定して、自通信装置の優先度を元の値に戻している。しかしながら、通信装置は、優先度を最高優先度に引き上げた状態から一定時間経過すると、優先度を元の値に戻してもよい。
***本実施の形態の効果の説明***
 本実施の形態に係る通信システム500aの通信装置100aによれば、優先度が高い通信装置が新規参入したことを検知すると、自通信装置の優先度を最高優先度に引き上げる。そして、通信装置100aは、自通信装置をグランドマスタとして、新規参入の通信装置を通信装置100aに時刻同期させる。その後、通信装置100aは、自通信装置の優先度を元に戻す。よって、本実施の形態に係る通信システム500aの通信装置100aによれば、時刻とびを発生させることなく、新規参入の通信装置をグランドマスタとすることができる。また、新規参入の通信装置が、優先度が高く、かつ、高精度な通信装置であった場合には、時刻とびを発生させることなく、新規参入の通信装置をグランドマスタに選出することができるので、高精度な通信システムを提供できる。
 以上の実施の形態1および2では、通信装置の各部を独立した機能ブロックとして説明した。しかし、通信装置の構成は、上述した実施の形態のような構成でなくてもよい。通信装置の機能ブロックは、上述した実施の形態で説明した機能を実現することができれば、どのような構成でもよい。また、通信装置は、1つの装置でなく、複数の装置から構成されたシステムでもよい。
 また、実施の形態1および2のうち、複数の部分を組み合わせて実施しても構わない。あるいは、これらの実施の形態のうち、1つの部分を実施しても構わない。その他、これらの実施の形態を、全体としてあるいは部分的に、どのように組み合わせて実施しても構わない。
 すなわち、実施の形態1および2では、実施の形態の自由な組み合わせ、あるいは実施の形態の任意の構成要素の変形、もしくは実施の形態において任意の構成要素の省略が可能である。
 なお、上述した実施の形態は、本質的に好ましい例示であって、本発明の範囲、本発明の適用物の範囲、および本発明の用途の範囲を制限することを意図するものではない。上述した実施の形態は、必要に応じて種々の変更が可能である。
 11 割り込み制御部、12 送信部、13 時分割制御部、14 受信部、15 同期制御部、16 データ調停部、17,18 ネットワークインタフェース、21 装置優先度、22 グランドマスタ優先度、23 閾値、100,100a 通信装置、110 優先度判定部、120 調停部、500,500a,501 通信システム、900 マイクロコンピュータ、910 プロセッサ、921 メモリ、922 補助記憶装置、930 入力インタフェース、940 出力インタフェース、950 通信制御部、961,962 ネットワークポート、970 システムクロック、Announce グランドマスタ調停メッセージ、Sync 同期メッセージ、GM グランドマスタ。

Claims (7)

  1.  複数の通信装置を備えた通信システムであって、前記複数の通信装置から前記複数の通信装置の時刻の基準となるグランドマスタを選出する通信システムに含まれる通信装置において、
     前記複数の通信装置のうち現在のグランドマスタ以外の他の通信装置から、前記グランドマスタの選出に用いられるグランドマスタ調停メッセージであって前記他の通信装置の優先度を含むグランドマスタ調停メッセージを取得し、前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いか否かを判定する優先度判定部と、
     前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いと判定されると、前記他の通信装置を前記グランドマスタに切り替える前に、前記他の通信装置の時刻を含む同期メッセージを前記他の通信装置から取得し、前記他の通信装置の時刻と自通信装置の時刻との差分を算出し、前記差分が閾値より小さい場合に、前記他の通信装置を前記グランドマスタに切り替える調停部と
    を備えた通信装置。
  2.  前記調停部は、
     前記差分が閾値以上の場合、前記他の通信装置を前記グランドマスタに切り替えずに、前記現在のグランドマスタに時刻を同期させる請求項1に記載の通信装置。
  3.  前記調停部は、
     前記差分が閾値以上の場合、自通信装置の優先度である装置優先度を前記他の通信装置の優先度より高く設定し、自通信装置を前記グランドマスタとして選出させる請求項1に記載の通信装置。
  4.  前記調停部は、
     自通信装置を前記グランドマスタとして前記複数の通信装置の同期が完了すると、前記装置優先度を元の値に戻し、前記装置優先度を含むグランドマスタ調停メッセージを送信することにより、前記他の通信装置を前記グランドマスタとして選出させる請求項3に記載の通信装置。
  5.  複数の通信装置を備えた通信システムであって、前記複数の通信装置から前記複数の通信装置の時刻の基準となるグランドマスタを選出する通信システムにおいて、
     前記複数の通信装置に含まれる通信装置は、
     前記複数の通信装置のうち現在のグランドマスタ以外の他の通信装置から、前記グランドマスタの選出に用いられるグランドマスタ調停メッセージであって前記他の通信装置の優先度を含むグランドマスタ調停メッセージを取得し、前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いか否かを判定する優先度判定部と、
     前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いと判定されると、前記他の通信装置を前記グランドマスタに切り替える前に、前記他の通信装置の時刻を含む同期メッセージを前記他の通信装置から取得し、前記他の通信装置の時刻と自通信装置の時刻との差分を算出し、前記差分が閾値より小さい場合に、前記他の通信装置を前記グランドマスタに切り替える調停部と
    を備えた通信システム。
  6.  複数の通信装置を備えた通信システムであって、前記複数の通信装置から前記複数の通信装置の時刻の基準となるグランドマスタを選出する通信システムに含まれる通信装置の通信方法において、
     優先度判定部が、前記複数の通信装置のうち現在のグランドマスタ以外の他の通信装置から、前記グランドマスタの選出に用いられるグランドマスタ調停メッセージであって前記他の通信装置の優先度を含むグランドマスタ調停メッセージを取得し、前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いか否かを判定し、
     調停部が、前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いと判定されると、前記他の通信装置を前記グランドマスタに切り替える前に、前記他の通信装置の時刻を含む同期メッセージを前記他の通信装置から取得し、前記他の通信装置の時刻と自通信装置の時刻との差分を算出し、前記差分が閾値より小さい場合に、前記他の通信装置を前記グランドマスタに切り替える通信方法。
  7.  複数の通信装置を備えた通信システムであって、前記複数の通信装置から前記複数の通信装置の時刻の基準となるグランドマスタを選出する通信システムに含まれる通信装置の通信プログラムにおいて、
     前記複数の通信装置のうち現在のグランドマスタ以外の他の通信装置から、前記グランドマスタの選出に用いられるグランドマスタ調停メッセージであって前記他の通信装置の優先度を含むグランドマスタ調停メッセージを取得し、前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いか否かを判定する優先度判定処理と、
     前記他の通信装置の優先度が前記現在のグランドマスタの優先度より高いと判定されると、前記他の通信装置を前記グランドマスタに切り替える前に、前記他の通信装置の時刻を含む同期メッセージを前記他の通信装置から取得し、前記他の通信装置の時刻と自通信装置の時刻との差分を算出し、前記差分が閾値より小さい場合に、前記他の通信装置を前記グランドマスタに切り替える調停処理と
    をコンピュータである前記通信装置に実行させる通信プログラム。
PCT/JP2018/035174 2018-09-21 2018-09-21 通信装置、通信システム、通信方法および通信プログラム WO2020059139A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
DE112018007914.7T DE112018007914B4 (de) 2018-09-21 2018-09-21 Kommunikationsvorrichtung, kommunikationssystem, kommunikationsverfahren und kommunikationsprogramm
PCT/JP2018/035174 WO2020059139A1 (ja) 2018-09-21 2018-09-21 通信装置、通信システム、通信方法および通信プログラム
JP2019509564A JP6523589B1 (ja) 2018-09-21 2018-09-21 通信装置、通信システム、通信方法および通信プログラム
CN201880097692.2A CN112715019B (zh) 2018-09-21 2018-09-21 通信装置、通信***、通信方法及计算机可读取的记录介质
TW107146760A TW202013937A (zh) 2018-09-21 2018-12-24 通訊裝置、通訊系統、通訊方法及通訊程式產品
US17/159,703 US11381333B2 (en) 2018-09-21 2021-01-27 Communication apparatus, communication system, communication method, and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/035174 WO2020059139A1 (ja) 2018-09-21 2018-09-21 通信装置、通信システム、通信方法および通信プログラム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/159,703 Continuation US11381333B2 (en) 2018-09-21 2021-01-27 Communication apparatus, communication system, communication method, and computer readable medium

Publications (1)

Publication Number Publication Date
WO2020059139A1 true WO2020059139A1 (ja) 2020-03-26

Family

ID=66730710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/035174 WO2020059139A1 (ja) 2018-09-21 2018-09-21 通信装置、通信システム、通信方法および通信プログラム

Country Status (6)

Country Link
US (1) US11381333B2 (ja)
JP (1) JP6523589B1 (ja)
CN (1) CN112715019B (ja)
DE (1) DE112018007914B4 (ja)
TW (1) TW202013937A (ja)
WO (1) WO2020059139A1 (ja)

Cited By (1)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7131603B2 (ja) * 2018-03-07 2022-09-06 住友電気工業株式会社 スイッチ装置、車載通信装置、車載通信システム、時刻補正方法および時刻補正プログラム
JP7251402B2 (ja) * 2019-08-20 2023-04-04 オムロン株式会社 制御システム、制御装置およびプログラム
CN112540540A (zh) * 2019-09-20 2021-03-23 京东方科技集团股份有限公司 动作资源的创建方法、执行方法、电子装置和存储介质
DE102019217035B4 (de) 2019-11-05 2021-11-25 Continental Automotive Gmbh Verfahren zur Sicherung der Zeitsynchronisation in einem Netzwerk gegen unautorisierte Änderungen
JP7381514B2 (ja) * 2021-03-24 2023-11-15 株式会社タムラ製作所 情報通信システム及び情報通信装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014078781A (ja) * 2012-10-09 2014-05-01 Hitachi Ltd 通信制御装置
JP2018037885A (ja) * 2016-08-31 2018-03-08 株式会社メディアリンクス 時刻同期システム

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3241104B2 (ja) 1992-07-03 2001-12-25 富士通株式会社 クロック供給切替え方式
JP2006310964A (ja) 2005-04-26 2006-11-09 Canon Inc 通信端末装置及びその制御方法、並びにプログラム
TWI403126B (zh) 2008-10-21 2013-07-21 Ind Tech Res Inst 網路連線設備與應用其之通訊系統與方法
JP4888741B2 (ja) 2009-02-05 2012-02-29 横河電機株式会社 分散型制御システム
JP5560706B2 (ja) * 2009-12-28 2014-07-30 富士通株式会社 ノード装置
JP2012114815A (ja) 2010-11-26 2012-06-14 Mitsubishi Electric Corp 位相同期装置および位相同期方法
JP5768624B2 (ja) * 2011-09-26 2015-08-26 富士通株式会社 中継装置及び中継方法
JP5649555B2 (ja) 2011-11-22 2015-01-07 株式会社日立製作所 制御システム及び時刻同期方法
JP5459628B2 (ja) * 2012-01-12 2014-04-02 横河電機株式会社 時刻同期システム
JP5488634B2 (ja) * 2012-03-29 2014-05-14 日本電気株式会社 情報処理装置、管理コントローラ、システム時刻同期方法、及びプログラム
JP5952670B2 (ja) * 2012-07-25 2016-07-13 キヤノン株式会社 電子機器及びその制御方法
US9154292B2 (en) * 2012-11-28 2015-10-06 Mitsubishi Electric Corporation Communication apparatus, communication system, and time synchronization method
CN103916950B (zh) * 2012-12-31 2018-11-23 中兴通讯股份有限公司 时间同步方法及***
JP6049554B2 (ja) 2013-06-27 2016-12-21 京セラドキュメントソリューションズ株式会社 画像処理装置
JP5826877B2 (ja) 2014-03-14 2015-12-02 株式会社東芝 クロック同期管理装置、クロック同期管理装置の制御方法及び制御プログラム
JP2015179999A (ja) 2014-03-19 2015-10-08 セイコーエプソン株式会社 時刻同期装置並びにそのためのバックアップ装置および時刻同期システム
CN104393974B (zh) * 2014-10-21 2018-04-06 新华三技术有限公司 一种时间跳变信息的自动保存方法和设备
KR101596759B1 (ko) 2014-11-26 2016-03-07 현대자동차주식회사 차량용 이더넷 통신망에서의 시간 동기화 제공 방법 및 장치
CN104579534B (zh) * 2014-12-31 2017-10-10 北京东土科技股份有限公司 一种sdh网络中的时钟同步方法及***
KR101589227B1 (ko) 2015-01-20 2016-01-27 현대자동차주식회사 차량용 이더넷 통신망에서의 카메라 셔터 동기화 제어 방법 및 장치
CN104821870B (zh) * 2015-02-13 2018-02-09 北京科东电力控制***有限责任公司 基于主站智能电网调度技术支持***的时钟同步方法
CN107111280B (zh) * 2015-06-24 2019-05-07 三菱电机株式会社 通信装置、时刻校正方法以及网络***
CN110651446B (zh) * 2017-06-02 2022-09-20 索尼公司 无线装置和无线装置处理方法
US11290250B2 (en) * 2020-04-15 2022-03-29 Skyworks Solutions, Inc. Phase transport with frequency translation without a PLL

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014078781A (ja) * 2012-10-09 2014-05-01 Hitachi Ltd 通信制御装置
JP2018037885A (ja) * 2016-08-31 2018-03-08 株式会社メディアリンクス 時刻同期システム

Cited By (1)

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

Also Published As

Publication number Publication date
DE112018007914B4 (de) 2022-08-18
CN112715019B (zh) 2022-07-08
DE112018007914T5 (de) 2021-08-05
TW202013937A (zh) 2020-04-01
CN112715019A (zh) 2021-04-27
US20210152266A1 (en) 2021-05-20
JP6523589B1 (ja) 2019-06-05
US11381333B2 (en) 2022-07-05
JPWO2020059139A1 (ja) 2020-12-17

Similar Documents

Publication Publication Date Title
WO2020059139A1 (ja) 通信装置、通信システム、通信方法および通信プログラム
US9514073B2 (en) Device and method for global time information in event-controlled bus communication
WO2019003320A1 (ja) 通信システム、マスタ装置及びスレーブ装置
US11689347B2 (en) Communication apparatus, communication system, communication method, and computer readable medium
JP6800389B2 (ja) 通信装置、通信システム、通信方法および通信プログラム
TWI741397B (zh) 通信系統、列表參照站、列表傳送站、通信方法及通信程式產品
US10460772B2 (en) Semiconductor device
US11811503B2 (en) Method and apparatus for switching clock sources
JP7499980B1 (ja) 通信機器、時刻同期システム、時刻同期方法及びプログラム
US20230198650A1 (en) Method for synchronizing time in multiple time domains, and apparatus implementing the same method
US20230198651A1 (en) Method for synchronizing time in multiple time domains, and apparatus implementing the same method
US11907008B2 (en) Communication apparatus and control method thereof
US11294421B2 (en) Precision timing between systems
WO2022042748A1 (zh) 一种方法和装置
WO2024075144A1 (ja) 時刻同期装置、時刻同期方法、通信システム、及び時刻同期プログラム
CN117856961A (zh) 时钟同步方法及相关装置
JP2009048399A (ja) 半導体装置
KR20170088751A (ko) 반도체 장치, 반도체 시스템 및 반도체 장치의 동작 방법
JPH0210418A (ja) 同期化論理回路
JPH04306933A (ja) フレームアライナ装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2019509564

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 18934415

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18934415

Country of ref document: EP

Kind code of ref document: A1