WO2020105130A1 - 通信システム、リスト参照局、リスト配信局、通信方法、および通信プログラム - Google Patents
通信システム、リスト参照局、リスト配信局、通信方法、および通信プログラムInfo
- Publication number
- WO2020105130A1 WO2020105130A1 PCT/JP2018/042905 JP2018042905W WO2020105130A1 WO 2020105130 A1 WO2020105130 A1 WO 2020105130A1 JP 2018042905 W JP2018042905 W JP 2018042905W WO 2020105130 A1 WO2020105130 A1 WO 2020105130A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- station
- list
- grand master
- communication
- station number
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Program control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0421—Multiprocessor system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0008—Synchronisation information channels, e.g. clock distribution lines
- H04L7/0012—Synchronisation information channels, e.g. clock distribution lines by comparing receiver clock with transmitter clock
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/14—Time supervision arrangements, e.g. real time clock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0641—Change of the master or reference, e.g. take-over or failure of the master
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/28—Timers or timing mechanisms used in protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0054—Detection of the synchronisation error by features other than the received signal transition
- H04L7/0066—Detection of the synchronisation error by features other than the received signal transition detection of error based on transmission code rule
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/10—Arrangements for initial synchronisation
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/22—Pc multi processor system
- G05B2219/2231—Leader-follower
Definitions
- the present invention relates to a communication system, a list reference station, a list distribution station, a communication method, and a communication program.
- the stations of the FA network may deliver the reference time that is significantly deviated from the current time. This reference time is used as a reference for periodic control timing. If the FA network becomes discontinuous due to a large change in the reference time, the control cannot be performed correctly.
- FA networks are increasingly adopting IEEE 802.1AS as a time synchronization communication protocol.
- IEEE 802.1AS the station having the highest priority on the network, that is, the grand master station is periodically selected. Then, the grand master station distributes the reference time to the entire network. For example, where the station A is a grand master station and distributes a reference time that is significantly deviated from the current time, a highly accurate station B having a higher priority than the station A and a small deviation from the current time is connected. There are cases. At this time, the station B becomes the grand master station and distributes the reference time to the entire network. As a result, the other stations on the network resynchronize at the time of the station B, which causes a significant time change. Due to such a large time change, a large discontinuity of the reference time occurs, the continuity of the control cannot be maintained, and the control cannot be performed correctly.
- Patent Document 1 when a station other than the grand master station detects that the time difference between its own time and the distributed reference time is larger than a certain time, a time synchronization method is notified to the grand master station. ing. In this time synchronization method, the notified grand master station lowers the priority of its own station, re-selects a grand master station that does not cause a significant time change, and guarantees time continuity.
- FIG. 5 is a flowchart showing the operation of the time distribution unit of each station of the communication system according to Embodiment 1.
- FIG. 5 is a flowchart showing the operation of the reference time correction unit of the list distribution station and the list reference station of the communication system according to Embodiment 1.
- FIG. 4 is a flowchart showing the operation of the time correction unit of the normal station of the communication system according to Embodiment 1.
- FIG. 6 is a flowchart showing the operation of the list update unit of the list distribution station of the communication system according to Embodiment 1.
- FIG. 4 is a flowchart showing the operation of the list notification unit of the list distribution station of the communication system according to Embodiment 1.
- FIG. 1 is an example of a network configuration diagram of a communication system 500 according to the present embodiment.
- the communication system 500 includes a plurality of communication stations 10.
- the communication system 500 selects, from the plurality of communication stations 10, a grand master serving as a time reference of the plurality of communication stations 10.
- the communication system 500 includes a list distribution station 100, a list reference station 200, and a normal station 300.
- FIG. 4 is a functional configuration diagram of normal station 300 according to the present embodiment.
- the normal station 300 includes a priority notification unit 301, a priority monitoring unit 302, a time distribution unit 304, and a time correction unit 309 as functional elements.
- the priority notification unit 301, the priority monitoring unit 302, and the time distribution unit 304 have the same functions as the priority notification unit 101, the priority monitoring unit 102, and the time distribution unit 104 of the list distribution station 100.
- the priority notification unit 101 upon being notified by the priority monitoring unit 102 of the start of transmission of the priority notification frame 21, starts the regular transmission of the priority notification frame 21.
- the priority notification frame 21 stores the source station number and the priority of the source station.
- the priority monitoring unit 102 notifies that the transmission of the priority notification frame 21 is stopped, the periodic transmission of the priority notification frame 21 is stopped.
- the list recording unit 105 stores in the memory the grand master list 20 in which the station number of the current grand master station is not stored and the station number of the communication station synchronized with the current grand master station is stored.
- storing the grand master list 20 in the memory by the list recording unit 105 is also referred to as recording the grand master list 20 by the list recording unit 105.
- the list recording unit 105 Upon being notified of the grand master list 20 by the list updating unit 106, the list recording unit 105 records the notified grand master list 20.
- the list recording unit 205 of the list reference station 200 receives the list notification frame 23 in which the grand master list 20 is stored.
- the list recording unit 205 stores it in the list notification frame 23. Record the existing Grand Master List 20.
- the list recording unit 105 is also called a grand master list recording function.
- the list updating unit 106 reads out the grand master list 20 recorded by the list recording unit 105.
- the list update unit 106 performs the process (b).
- the station number of the current grand master station in the grand master list 20 is none, or the station number of the current grand master station in the grand master list 20 is other than none, and the current station number notified by the priority monitoring unit 102 is The station number of the grand master station is included in the station numbers of the communication stations synchronized with the current grand master station in the grand master list 20.
- the list updating unit 106 updates the station number of the current grand master station in the grand master list 20 to the station number of the current grand master station notified from the priority monitoring unit 102. Further, the list updating unit 106 adds the station number of the current grand master station notified from the priority monitoring unit 102 to the station number of the communication station synchronized with the current grand master station in the grand master list.
- the list update unit 106 receives the reference master notification frame 24, if the following condition (c) is satisfied, the process (d) is performed.
- the list updating unit 106 does not receive both of the following (e) and (f) within a certain period, the source station number is excluded and the transmission source station number is the current grand master of the grand master list 20. Delete from the station number of the communication station synchronized with the station.
- the reference master notification frame 24 storing the same transmission source station number.
- the priority notification frame 21 in which the same transmission source station number is stored. If both are received, the transmission source station number is deleted from the station number of the station synchronized with the current grand master station of the grand master list 20 excluding the own station number.
- the list updating unit 106 When any of the above-mentioned updating, additional writing, and deleting is performed, the list updating unit 106 notifies the list recording unit 105 and the list notification unit 107 of the grand master list 20.
- the list updating unit 106 is also called a grand master list updating function.
- the list notification unit 107 periodically transmits a list notification frame 23 storing the grand master list 20 notified from the list update unit 106.
- the list notification unit 107 is also called a grand master list notification transmission function.
- the time correction unit 309 corrects the time based on the time information of the time distribution frame 22.
- FIG. 5 is a diagram showing an example of the hardware configuration of the list distribution station 100, the list reference station 200, and the normal station 300 of the communication system 500 according to this embodiment.
- each of the list distribution station 100, the list reference station 200, and the normal station 300 is called each station of the communication system 500.
- Each station of the communication system 500 is a computer.
- Each station of the communication system 500 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 device 950.
- the processor 910 is connected to other hardware via a signal line and controls these other hardware.
- the functions of the priority notification unit 101, the priority monitoring unit 102, the reference time correction unit 103, the time distribution unit 104, the list recording unit 105, the list update unit 106, and the list notification unit 107 in the list distribution station 100 are realized by software. It The functions of the priority notification unit 201, the priority monitoring unit 202, the reference time correction unit 203, the time distribution unit 204, the list recording unit 205, and the reference master notification unit 208 in the list reference station 200 are realized by software. The functions of the priority notification unit 301, the priority monitoring unit 302, the time distribution unit 304, and the time correction unit 309 in the normal station 300 are realized by software.
- the processor 910 is a device that executes a communication program.
- the communication program is a program that realizes the function of each station of the communication system 500.
- the processor 910 is an IC (Integrated Circuit) that performs arithmetic processing. Specific examples of the processor 910 are a CPU, 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 that stores 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.
- HDD is an abbreviation for Hard Disk Drive.
- SD (registered trademark) is an abbreviation for Secure Digital.
- CF is an abbreviation for CompactFlash (registered trademark).
- 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 device 950 has a receiver and a transmitter.
- the communication device 950 is connected to a communication network such as a LAN, the Internet, or a telephone line.
- the communication device 950 is specifically a communication chip or a NIC (Network Interface Card). Each station of the communication system 500 communicates with other communication stations via the communication device 950.
- the communication program is read by the processor 910 and executed by the processor 910.
- the memory 921 stores not only a communication program but also an OS (Operating System).
- 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. Note that part or all of the communication program may be incorporated in the OS.
- Each station of the communication system 500 may include a plurality of processors that replace the processor 910. These plural processors share the execution of the communication program.
- Each processor like the processor 910, is a device that executes a communication program.
- the 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, or the register or cache memory in the processor 910.
- each section of each station of the communication system 500 may be replaced with “processing”, “procedure”, or “process”.
- processing when each unit of each station of the communication system 500 is read as “processing” may be replaced with “program”, “program product”, or “computer-readable storage medium storing the program”.
- the communication program causes the computer to execute each process, each procedure or each process in which the “part” of each of the above parts is replaced with “process”, “procedure” or “process”.
- the communication method is a method performed by each station of the communication system 500 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. 6 is a flowchart showing the operation of priority notification units 101, 201, 301 of each station of communication system 500 according to the present embodiment.
- the priority notification unit 101 of the list distribution station 100 will be described. The same applies to the priority notification units 201 and 301 of the list reference station 200 and the normal station 300.
- the priority notification unit 101 starts periodic transmission of the priority notification frame 21 (step S102).
- the priority notification unit 101 stops the regular transmission of the priority notification frame 21 (step S104).
- the transmission source station number and the transmission source station priority are stored in the priority notification frame 21.
- FIG. 7 is a flow chart showing the operation of the priority monitoring units 102, 202, 302 of each station of the communication system 500 according to this embodiment.
- the priority monitoring unit 102 of the list distribution station 100 will be described. The same applies to the priority monitoring units 202 and 302 of the list reference station 200 and the normal station 300.
- the priority monitoring unit 102 receives, for example, the priority notification frame 21 including the current station number of the grand master in the communication system 500 as the source station number. Specifically, it is as follows.
- step S201 the priority monitoring unit 102 notifies the priority notification unit 101 of the start of transmission of the priority notification frame 21.
- the priority monitoring unit 102 determines whether the priority notification frame 21 storing the priority of the transmission source station having a higher priority than that of the own station is received.
- the process proceeds to step S203.
- the process proceeds to step S204.
- step S203 the priority monitoring unit 102 determines that the priority notification frame 21 including the current station number of the grand master in the communication system 500 as the source station number is received, and performs the following processing.
- the process of step S204 is a process when the priority notification frame 21 including the current station number of the grand master as the source station number is received.
- the priority monitoring unit 102 notifies the priority notification unit 101 that the transmission of the priority notification frame 21 has stopped.
- the priority monitoring unit 102 notifies the time delivery unit 104 of the release of the grand master station.
- the priority monitoring unit 102 notifies the list updating unit 106 that the current station number of the grand master station is the transmission source station number stored in the priority notification frame 21.
- the priority monitoring unit 202 notifies the reference master notification unit 208 that the current station number of the grand master station is the transmission source station number stored in the priority notification frame 21. To do. In the case of the priority monitoring unit 302, nothing is done here.
- step S204 when the priority monitoring unit 102 does not receive the priority notification frame 21 storing the priority of the transmission source station higher than the priority of its own station for a certain period after the transmission of the priority notification frame 21 is stopped. , And proceeds to step S205. After the transmission of the priority notification frame 21 is stopped, when the priority notification frame 21 storing the priority of the transmission source station higher than the priority of the own station is received, the process proceeds to step S206. In step S205, the priority monitoring unit 102 notifies the priority notification unit 101 of the start of transmission of the priority notification frame 21, and again periodically transmits the priority notification frame 21 again.
- the priority monitoring unit 102 notifies the list updating unit 106 that the current station number of the grand master station is its own station number.
- the reference master notification unit 208 is notified that the current station number of the grand master station is its own station number. In the case of the priority monitoring unit 302, nothing is done here.
- FIG. 8 is a flowchart showing the operation of time distribution units 104, 204, 304 of each station of communication system 500 according to the present embodiment.
- the time distribution unit 104 of the list distribution station 100 will be described. The same applies to the time distribution units 204 and 304 of the list reference station 200 and the normal station 300.
- the time distribution unit 104 Upon being notified of the selection of the grand master station by the priority monitoring unit 102 (step S301), the time distribution unit 104 starts periodic transmission of the time distribution frame 22 (step S302).
- the transmission source station number and time information are stored in the time distribution frame 22.
- the time distribution unit 104 stops the periodic transmission of the time distribution frame 22 (step S304).
- the reference time correction unit 103 receives a time distribution frame 22 including time information for synchronizing the times of the plurality of communication stations from another communication station.
- the reference time correction unit 103 determines whether the station number of the communication station that is the transmission source of the time distribution frame 22 is the station number of the grand master included in the grand master list 20.
- the reference time correction unit 103 uses the time information included in the time distribution frame 22 to identify itself. Correct the station time.
- step S402 the reference time correction unit 103 corrects the time based on the time information of the time distribution frame 22.
- FIG. 10 is a flowchart showing the operation of time correction section 309 of normal station 300 of communication system 500 according to the present embodiment.
- the time correction unit 309 of the normal station 300 receives the time distribution frame 22 (step S501), it corrects the time based on the time information of the time distribution frame 22 (step S502).
- the list updating section 106 determines whether or not to update the grand master list 20 based on the notified current station number of the grand master.
- the list update unit 106 determines to update the grand master list 20
- it updates the station number of the current grand master station in the grand master list 20 to the station number of the current grand master station notified from the priority monitoring unit 102.
- the list updating unit 106 adds the station number of the current grand master station notified from the priority monitoring unit 102 to the station number of the communication station synchronized with the current grand master station in the grand master list 20.
- the list updating unit 106 determines whether the station number of the current grand master station notified from the priority monitoring unit 102 is included in the station numbers of the communication stations synchronized with the current grand master station of the grand master list 20. .. When the station number of the current grand master station notified from the priority monitoring section 102 is included in the station numbers of the communication stations synchronized with the current grand master station of the grand master list, the list updating section 106 includes the grand master list. It is determined to update 20.
- step S601 the list updating unit 106 reads the grand master list 20 from the list recording unit 105. For example, when the priority monitoring unit 102 notifies the list updating unit 106 of the current station number of the grand master, the list updating unit 106 reads the grand master list 20 from the list recording unit 105.
- the list update unit 106 determines to update the grand master list 20 in step S603
- the station number of the current grand master station in the grand master list 20 is set to the station number of the current grand master station notified from the priority monitoring unit 102.
- the list updating unit 106 adds the station number of the current grand master station notified from the priority monitoring unit 102 to the station number of the communication station synchronized with the current grand master station in the grand master list 20.
- step S604 the list update unit 106 determines whether to update the grand master list 20 when receiving the reference master notification frame 24.
- the list update unit 106 receives the reference master notification frame 24 from the reference master notification unit 208.
- the list updating unit 106 determines whether to update the grand master list 20 based on the current station number of the grand master station included in the received reference master notification frame 24.
- the list update unit 106 adds the source station number included in the reference master notification frame 24 to the station number of the communication station synchronized with the current grand master station of the grand master list 20.
- the list update unit 106 determines whether the station number of the current grand master station included in the reference master notification frame 24 received from the reference master notification unit 208 matches the station number of the current grand master station in the grand master list 20. judge. The list update unit 106 determines to update the grand master list 20 when they match.
- the list update unit 106 makes the following determination. (113) Does the station number of the current grand master station stored in the reference master notification frame 24 match the station number of the current grand master station in the grand master list 20? When the above (113) is satisfied, the process proceeds to step S605. When the above (113) is not satisfied, the process proceeds to step S606.
- step S605 the list update unit 106 adds the source station number stored in the reference master notification frame 24 to the station number of the communication station synchronized with the current grand master station in the grand master list 20.
- step S606 the list update unit 106 determines whether the station number of the communication station synchronized with the current grand master station in the grand master list 20 needs to be deleted.
- the list update unit 106 determines whether or not neither the reference master notification frame 24 including the same transmission source station number nor the priority notification frame 21 including the same transmission source station number is received within a predetermined period. To do.
- the list updating unit 106 deletes the transmission source station number from the station number of the communication station synchronized with the current grand master station of the grand master list 20.
- the list update unit 106 makes the following determination. (114) Whether the reference grand master notification frame storing the same transmission source station number or the priority notification frame storing the same transmission source station number is not received within a certain period. When the above (114) is satisfied, the process proceeds to step S607. When the above (114) is not satisfied, the process returns to step S602.
- step S607 the list updating unit 106 deletes the source station number, excluding its own station number, from the station numbers of stations synchronized with the current grand master station in the grand master list 20.
- step S608 the list update unit 106 notifies the list recording unit 105 and the list notification unit 107 of the grand master list 20 when any of the above update, additional recording, and deletion is performed.
- FIG. 12 is a flowchart showing the operation of list notification section 107 of list distribution station 100 of communication system 500 according to the present embodiment.
- the list notification unit 107 when notified of the grand master list 20 updated by the list update unit 106, transmits a list notification frame 23 including the notified grand master list 20 to a plurality of communication stations.
- the list notification unit 107 periodically transmits a list notification frame 23 that stores the grand master list 20 notified from the list update unit 106.
- FIG. 13 is a flowchart showing the operation of reference master notification section 208 of list reference station 200 of communication system 500 according to the present embodiment.
- the reference master notification unit 208 is notified of the current station number of the grand master from the priority monitoring unit 202.
- the reference master notification unit 208 determines whether the current station number of the grand master is the station number of the grand master included in the grand master list 20.
- the reference master notification unit 208 sets the station number of the own station as the source station number and the source station number and the current grand master station.
- the reference master notification frame 24 including the station number is transmitted. Specifically, the reference master notification unit 208 performs the following processing.
- the reference master notification unit 208 when notified of the current station number of the grand master station from the priority monitoring unit 202 (step S701), reads the grand master list recorded by the list recording unit 205 (step S702).
- the reference master notification unit 208 determines whether the station number of the current grand master station notified from the priority monitoring unit 202 matches the station number of the current grand master station in the grand master list 20. .. The reference master notification unit 208 determines whether the following (131) or (132) is satisfied. (131) There is no station number of the current grandmaster station on the grandmaster list. (132) Or, the station number of the current grand master station notified by the priority monitoring unit 202 is other than the station number of the current grand master station in the grand master list is the station number of the current grand master station in the grand master list. Match. When the above (131) or (132) is satisfied, the process proceeds to step S704. When the above (131) or (132) is not satisfied, the process proceeds to step S705.
- the reference master notification unit 208 generates the reference master notification frame 24.
- the reference master notification frame 24 stores the transmission source station number (that is, the station number of its own station) and the station number of the current grand master station.
- the reference master notification unit 208 After generating the reference master notification frame 24 (step S705), the reference master notification unit 208 periodically transmits the reference master notification frame 24 (step S706).
- FIG. 14 is a flowchart showing the operations of list recording units 105 and 205 of list distribution station 100 and list reference station 200 of communication system 500 according to the present embodiment.
- the list recording unit 105 of the list distribution station 100 will be described.
- the list recording unit 105 uses the grand master list 20 that stores “station number of current grand master station: none” and “station number of station synchronized with current grand master station: own station number” as an initial value. It is recorded (step S801).
- the list recording unit 105 is notified of the grand master list 20 by the list updating unit 106 (step S802), the list recording unit 105 records the notified grand master list 20 (step S802).
- the list recording unit 205 performs the following processing when receiving the list notification frame 23 in which the grand master list 20 is stored.
- step S804 the list recording unit 205 receives the list notification frame 23 in which the grand master list 20 is stored and synchronizes with the current grand master station in the grand master list 20 stored in the list notification frame 23. It is determined whether the station number of includes the own station number. When the own station number is included, the list recording unit 105 records the grand master list 20 stored in the list notification frame 23 in step S805.
- FIG. 15 is a diagram showing an example of a specific example of the operation of the communication system 500 according to the present embodiment.
- the communication system 500 includes a list distribution station TS1, a grand master GM1, and a list reference station TM1 as the communication station 10.
- the list reference station TM1 transmits a reference master notification frame having the transmission source station number TM1 and the synchronized grand master station number GM1.
- the grand master GM1 transmits a reference master notification frame of the transmission source station number GM1 and the synchronized grand master station number GM1.
- step S3 the list distribution station TS1 transmits the grand master list (GM1, TM1, TS1) to the grand master GM1 and the list reference station TM1.
- step S4 the grand master GM1 transmits the time distribution frame. Since the list reference station TM1 and the list distribution station TS1 are time distribution frames from the GM1 in the grand master list, time synchronization is performed based on this time distribution frame.
- step S5 it is assumed that the grandmaster GM1 has left the communication system 500 due to a failure. Then, in step S6, the list reference station TM1 becomes the grand master.
- the list reference station TM1 that is the grand master transmits the reference master notification frame of the transmission source station number TM1 and the synchronized grand master station number TM1.
- the list distribution station TS1 switches the station number of the current grand master to TM1 because TM1 is the synchronized communication station in the grand master list.
- GM1 is deleted from the grand master list.
- the reason why the list distribution station TS1 deletes the grand master from the grand master list is that the following (e) and (f) are not received from the grand master.
- the reference master notification frame 24 storing the same transmission source station number.
- step S8 the list distribution station TS1 transmits the grand master list (TM1, TS1) to the list reference station TM1.
- step S9 the list reference station TM1 which is the grand master transmits the time distribution frame. Since the list distribution station TS1 is a time distribution frame from TM1 in the grand master list, time synchronization is performed based on this time distribution frame.
- step S10 it is assumed that a new communication station TM2 having a higher priority than the list reference station TM1 newly enters.
- step S11 the grand master of the list reference station TM1 is canceled by the grand master adjustment by the communication system 500, and the newly entered communication station TM2 becomes the grand master.
- the functions of the priority notification unit 101, the priority monitoring unit 102, the reference time correction unit 103, the time distribution unit 104, the list recording unit 105, the list update unit 106, and the list notification unit 107 in the list distribution station 100 Is realized by software.
- the functions of the priority notification unit 201, the priority monitoring unit 202, the reference time correction unit 203, the time distribution unit 204, the list recording unit 205, and the reference master notification unit 208 in the list reference station 200 are realized by software.
- the functions of the priority notification unit 301, the priority monitoring unit 302, the time distribution unit 304, and the time correction unit 309 in the normal station 300 are realized by software. That is, the function of each station of the communication system 500 is realized by software.
- the electronic circuit is a dedicated electronic circuit that realizes the function of each station of the communication system 500.
- 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 function of each station of the communication system 500 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 each station of the communication system 500 may be realized by an electronic circuit, and the remaining functions may be realized by software.
- Each of the processor and electronic circuit is also called a processing circuit. That is, in the communication system 500, the function of each station of the communication system 500 is realized by the processing circuitry.
- Embodiment 2 In the present embodiment, points different from the first embodiment will be mainly described. The same components as those in the first embodiment are designated by the same reference numerals and the description thereof may be omitted.
- Embodiment 3 In the present embodiment, points different from the first embodiment will be mainly described. The same components as those in the first embodiment are designated by the same reference numerals and the description thereof may be omitted.
- the communication system described in the first embodiment requires two types of communication stations, the list distribution station 100 and the list reference station 200.
- a communication system 500a in which one type of communication station realizes the same function as in the first embodiment will be described.
- step S27 the list distribution station TM4, which is the grand master, transmits the reference master notification frame of the transmission source station number TM4 and the synchronized grand master station number TM4.
- the list distribution station TM3 switches the station number of the current grand master to TM4 because TM4 is in the synchronized communication station in the grand master list.
- GM1 is deleted from the grand master list.
- the reason why the list distribution station TM3 deletes the grand master from the grand master list is that the following (e) and (f) are not received from the grand master.
- E The reference master notification frame 24 storing the same transmission source station number.
- F Alternatively, the priority notification frame 21 in which the same transmission source station number is stored.
- step S29 the list distribution station TM4, which is the grand master, transmits the time distribution frame.
- the list distribution station TM3 synchronizes the time based on this time distribution frame because it is the time distribution frame from TM4 in the grand master list.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
通信システム(500)のリスト参照局(200)は、グランドマスタの局番と、グランドマスタと同期した通信局の局番とを含むグランドマスタリスト(20)をメモリに記録するリスト記録部(205)と、参照時刻補正部(203)を備える。参照時刻補正部(203)は、他の通信局から複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレーム(22)を受信する。参照時刻補正部(203)は、時刻配信フレーム(22)の送信元の通信局の局番がグランドマスタリスト(20)に含まれるグランドマスタの局番か否かを判定する。参照時刻補正部(203)は、時刻配信フレーム(22)の送信元の通信局の局番がグランドマスタリスト(20)に含まれるグランドマスタの局番である場合に、時刻配信フレーム(22)に含まれる時刻情報を用いて自局の時刻を補正する。
Description
本発明は、通信システム、リスト参照局、リスト配信局、通信方法、および通信プログラムに関する。
FA(Factory Automation)ネットワークの時刻同期の通信プロトコルでは、GPS(Global Positioning System)のような高精度な時刻同期ソースを持たない局が多い。このため、FAネットワークの局が、現在時刻から大幅にずれた基準時刻を配信することがある。この基準時刻は、周期的な制御タイミングの基準として用いられる。FAネットワークでは、大幅な基準時刻の変更により不連続になると、制御を正しく行うことができなくなる。
FAネットワークでは近年、時刻同期の通信プロトコルとしてIEEE 802.1ASを採用するケースが増えている。時刻同期プロトコルIEEE 802.1ASでは、周期的にネットワーク上の最も優先度の高い局、すなわちグランドマスタ局を選出する。そして、グランドマスタ局が基準時刻をネットワーク全体に配信する。
例えば、局Aがグランドマスタ局として現在時刻から大幅にずれた基準時刻を配信しているところに、優先度が局Aより高く、現在時刻とのずれが小さい高精度な局Bが接続される場合がある。このとき、局Bがグランドマスタ局となり、基準時刻をネットワーク全体に配信するようになる。その結果、ネットワーク上の他の局は局Bの時刻で同期し直すことになり、大幅な時刻の変更が発生する。このような大幅な時刻の変更が発生することにより、基準時刻の大幅な不連続が発生し、制御の連続性が保てず、制御を正しく行うことができない。
例えば、局Aがグランドマスタ局として現在時刻から大幅にずれた基準時刻を配信しているところに、優先度が局Aより高く、現在時刻とのずれが小さい高精度な局Bが接続される場合がある。このとき、局Bがグランドマスタ局となり、基準時刻をネットワーク全体に配信するようになる。その結果、ネットワーク上の他の局は局Bの時刻で同期し直すことになり、大幅な時刻の変更が発生する。このような大幅な時刻の変更が発生することにより、基準時刻の大幅な不連続が発生し、制御の連続性が保てず、制御を正しく行うことができない。
特許文献1では、グランドマスタ局以外の局が、自局の時刻と配信された基準時刻の時差が一定時間より大きいことを検出した場合、それをグランドマスタ局に通知する時刻同期方式が開示されている。この時刻同期方式では、通知を受けたグランドマスタ局が自局の優先度を下げ、大幅な時刻変更が発生しないグランドマスタ局を再選出し、時刻の連続性を保証する。
特許文献1では、ネットワーク上のすべての局が特許文献1の時刻同期方式を実装する必要がある。そのため、この時刻同期方式が実装されていないIEEE 802.1AS対応局、すなわち従来局が混在すると、不要な時刻同期を実施してしまい、時刻の連続性が保証されない虞があるという課題があった。
この発明は、本発明の方式を実装していない従来局が混在しても、時刻の連続性を保証することを目的とする。
本発明に係る通信システムは、複数の通信局を備え、前記複数の通信局から前記複数の通信局の時刻の基準となるグランドマスタを選出する通信システムにおいて、
前記複数の通信局に含まれる少なくとも1つの通信局であるリスト参照局を備え、
前記リスト参照局は、
前記グランドマスタの局番と、前記グランドマスタと同期した通信局の局番とを含むグランドマスタリストをメモリに記録するリスト記録部と、
他の通信局から前記複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレームを受信し、前記時刻配信フレームの送信元の通信局が前記グランドマスタリストに含まれる前記グランドマスタの局番か否かを判定し、前記時刻配信フレームの送信元の通信局が前記グランドマスタリストに含まれる前記グランドマスタの局番である場合に、前記時刻配信フレームに含まれる時刻情報を用いて自局の時刻を補正する参照時刻補正部と
を備えた。
前記複数の通信局に含まれる少なくとも1つの通信局であるリスト参照局を備え、
前記リスト参照局は、
前記グランドマスタの局番と、前記グランドマスタと同期した通信局の局番とを含むグランドマスタリストをメモリに記録するリスト記録部と、
他の通信局から前記複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレームを受信し、前記時刻配信フレームの送信元の通信局が前記グランドマスタリストに含まれる前記グランドマスタの局番か否かを判定し、前記時刻配信フレームの送信元の通信局が前記グランドマスタリストに含まれる前記グランドマスタの局番である場合に、前記時刻配信フレームに含まれる時刻情報を用いて自局の時刻を補正する参照時刻補正部と
を備えた。
本発明に係る通信システムは、グランドマスタの局番とグランドマスタと同期した通信局の局番とを含むグランドマスタリストを参照して、自局の時刻を補正するリスト参照局を備える。よって、本発明に係る通信システムによれば、リスト参照局がグランドマスタリストに基づいて時刻を補正する。よって、大幅な時刻変更の発生を抑制するとともに、本発明の方式を実装していない通常局が混在した場合でも、時刻の連続性を保証できるという効果がある。
以下、本発明の実施の形態について、図を用いて説明する。なお、各図中、同一または相当する部分には、同一符号を付している。実施の形態の説明において、同一または相当する部分については、説明を適宜省略または簡略化する。
実施の形態1.
***構成の説明***
図1は、本実施の形態に係る通信システム500のネットワーク構成図の一例である。
通信システム500は、複数の通信局10を備える。通信システム500は、複数の通信局10から複数の通信局10の時刻の基準となるグランドマスタを選出する。
通信システム500は、リスト配信局100と、リスト参照局200と、通常局300とを備える。
***構成の説明***
図1は、本実施の形態に係る通信システム500のネットワーク構成図の一例である。
通信システム500は、複数の通信局10を備える。通信システム500は、複数の通信局10から複数の通信局10の時刻の基準となるグランドマスタを選出する。
通信システム500は、リスト配信局100と、リスト参照局200と、通常局300とを備える。
リスト配信局100は、複数の通信局10に含まれる少なくとも1つの通信局である。すなわち、リスト配信局100は、通信システム500に1台以上備えられる。リスト配信局100は、グランドマスタリスト20を更新し、更新したグランドマスタリスト20を他の通信局に配信する。また、リスト配信局100は、時刻同期を行う。グランドマスタリスト20は、グランドマスタの局番とグランドマスタと同期した通信局の局番とを含むリストである。リスト配信局100は、グランドマスタリスト配信局ともいう。
リスト参照局200は、複数の通信局10に含まれる少なくとも1つの通信局である。すなわち、リスト参照局200は、通信システム500に1台以上備えられる。リスト参照局200は、グランドマスタリスト20を参照して、自局の時刻を補正する。また、リスト参照局200は、グランドマスタリスト20に含まれる通信局から配信された時刻のみを参照して、時刻同期を行う。リスト参照局200は、グランドマスタリスト参照局ともいう。
通常局300は、時刻同期のみを行う。通常局300は、通信システム50に0台以上備えられる。通常局300は、IEEE 802.1ASに対応する通常の局であり、従来局あるいはレガシーとも呼ばれる。
図2は、本実施の形態に係るリスト配信局100の機能構成図である。
リスト配信局100は、機能要素として、優先度通知部101と優先度監視部102と参照時刻補正部103と時刻配信部104とリスト記録部105とリスト更新部106とリスト通知部107を備える。
リスト配信局100は、機能要素として、優先度通知部101と優先度監視部102と参照時刻補正部103と時刻配信部104とリスト記録部105とリスト更新部106とリスト通知部107を備える。
図3は、本実施の形態に係るリスト参照局200の機能構成図である。
リスト参照局200は、機能要素として、優先度通知部201と優先度監視部202と参照時刻補正部203と時刻配信部204とリスト記録部205と参照マスタ通知部208を備える。
優先度通知部201と優先度監視部202と参照時刻補正部203と時刻配信部204とリスト記録部205は、リスト配信局100の優先度通知部101と優先度監視部102と参照時刻補正部103と時刻配信部104とリスト記録部105と同様の機能を有する。
リスト参照局200は、機能要素として、優先度通知部201と優先度監視部202と参照時刻補正部203と時刻配信部204とリスト記録部205と参照マスタ通知部208を備える。
優先度通知部201と優先度監視部202と参照時刻補正部203と時刻配信部204とリスト記録部205は、リスト配信局100の優先度通知部101と優先度監視部102と参照時刻補正部103と時刻配信部104とリスト記録部105と同様の機能を有する。
図4は、本実施の形態に係る通常局300の機能構成図である。
通常局300は、機能要素として、優先度通知部301と優先度監視部302と時刻配信部304と時刻補正部309を備える。
優先度通知部301と優先度監視部302と時刻配信部304は、リスト配信局100の優先度通知部101と優先度監視部102と時刻配信部104と同様の機能を有する。
通常局300は、機能要素として、優先度通知部301と優先度監視部302と時刻配信部304と時刻補正部309を備える。
優先度通知部301と優先度監視部302と時刻配信部304は、リスト配信局100の優先度通知部101と優先度監視部102と時刻配信部104と同様の機能を有する。
優先度通知部101は、優先度監視部102から優先度通知フレーム21の送信開始を通知されると、優先度通知フレーム21の定期的な送信を開始する。優先度通知フレーム21には、送信元局番と送信元局の優先度が格納されている。また、優先度監視部102から優先度通知フレーム21の送信停止を通知されると、優先度通知フレーム21の定期的な送信を停止する。
優先度監視部102は、優先度通知フレーム21の受信を監視する。優先度監視部102は、自局の優先度より高い送信元局の優先度を格納した優先度通知フレーム21を受信したとき、以下の処理を行う。
(11)優先度監視部102は、優先度通知フレーム21の送信停止を優先度通知部101に通知する。
(12)優先度監視部102は、グランドマスタ局解除を時刻配信部104に通知する。
(13)現在のグランドマスタ局の局番が優先度通知フレーム21に格納されている送信元局番であることをリスト更新部106に通知する。なお、優先度監視部202の場合、現在のグランドマスタ局の局番が優先度通知フレーム21に格納されている送信元局番であることを参照マスタ通知部208に通知する。
(11)優先度監視部102は、優先度通知フレーム21の送信停止を優先度通知部101に通知する。
(12)優先度監視部102は、グランドマスタ局解除を時刻配信部104に通知する。
(13)現在のグランドマスタ局の局番が優先度通知フレーム21に格納されている送信元局番であることをリスト更新部106に通知する。なお、優先度監視部202の場合、現在のグランドマスタ局の局番が優先度通知フレーム21に格納されている送信元局番であることを参照マスタ通知部208に通知する。
また、優先度監視部102は、起動時、または、優先度通知フレーム送信停止後、自局の優先度より高い送信元局の優先度を格納した優先度通知フレーム21を一定期間受信しなかった場合、優先度通知フレーム21の送信開始を優先度通知部101に通知する。
そして、優先度監視部102は、優先度通知フレーム21の送信開始後、自局の優先度より高い送信元局の優先度を格納した優先度通知フレーム21を一定期間受信しなかったとき、以下の処理を行う。
(21)優先度監視部102は、グランドマスタ局選出を時刻配信部104に通知する。
(22)優先度監視部102は、現在のグランドマスタ局の局番が自局番であることをリスト更新部106に通知する。なお、リスト参照局200の優先度監視部202の場合は、優先度監視部102は、現在のグランドマスタ局の局番が自局番であることを参照マスタ通知部208に通知する。
(21)優先度監視部102は、グランドマスタ局選出を時刻配信部104に通知する。
(22)優先度監視部102は、現在のグランドマスタ局の局番が自局番であることをリスト更新部106に通知する。なお、リスト参照局200の優先度監視部202の場合は、優先度監視部102は、現在のグランドマスタ局の局番が自局番であることを参照マスタ通知部208に通知する。
参照時刻補正部103は、リスト記録部105に記憶されているグランドマスタリスト20を判定する。グランドマスタリスト20の現在のグランドマスタ局の局番がなし、または、グランドマスタリスト20の現在のグランドマスタ局の局番が受信した時刻配信フレーム22の送信元局番と一致したとき、参照時刻補正部103は、時刻配信フレーム22の時刻情報をもとに時刻補正を行う。参照時刻補正部103は、グランドマスタリスト参照時刻補正機能ともいう。
時刻配信部104は、優先度監視部102からグランドマスタ局選出を通知されたとき、時刻配信フレーム22の定期的な配信を開始する。時刻配信フレーム22には、送信元局番および時刻情報が格納されている。また、時刻配信部104は、優先度監視部102からグランドマスタ局解除を通知されたとき、時刻配信フレーム22の定期的な送信を停止する。
リスト記録部105は、起動時、現在のグランドマスタ局の局番はなし、および、現在のグランドマスタ局と同期した通信局の局番は自局番を格納したグランドマスタリスト20をメモリに記憶する。ここで、リスト記録部105がグランドマスタリスト20をメモリに記憶することを、リスト記録部105がグランドマスタリスト20を記録する、ともいう。リスト記録部105は、リスト更新部106からグランドマスタリスト20を通知されると、通知されたグランドマスタリスト20を記録する。
リスト参照局200のリスト記録部205の場合、リスト記録部205は、グランドマスタリスト20が格納されたリスト通知フレーム23を受信する。リスト記録部205は、リスト通知フレーム23に格納されているグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に自局番が含まれている場合、リスト通知フレーム23に格納されているグランドマスタリスト20を記録する。
リスト記録部105は、グランドマスタリスト記録機能ともいう。
リスト参照局200のリスト記録部205の場合、リスト記録部205は、グランドマスタリスト20が格納されたリスト通知フレーム23を受信する。リスト記録部205は、リスト通知フレーム23に格納されているグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に自局番が含まれている場合、リスト通知フレーム23に格納されているグランドマスタリスト20を記録する。
リスト記録部105は、グランドマスタリスト記録機能ともいう。
リスト更新部106は、リスト記録部105が記録するグランドマスタリスト20を読み出す。
リスト更新部106は、優先度監視部102から現在のグランドマスタ局の局番を通知されたとき、以下の(a)の条件を満たす場合に、(b)の処理を行う。
(a)グランドマスタリスト20の現在のグランドマスタ局の局番がなし、または、グランドマスタリスト20の現在のグランドマスタ局の局番がなし以外で、かつ、優先度監視部102から通知された現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に含まれている。
(b)リスト更新部106は、グランドマスタリスト20の現在のグランドマスタ局の局番を優先度監視部102から通知された現在のグランドマスタ局の局番に更新する。さらに、リスト更新部106は、グランドマスタリストの現在のグランドマスタ局と同期した通信局の局番に、優先度監視部102から通知された現在のグランドマスタ局の局番を追記する。
リスト更新部106は、優先度監視部102から現在のグランドマスタ局の局番を通知されたとき、以下の(a)の条件を満たす場合に、(b)の処理を行う。
(a)グランドマスタリスト20の現在のグランドマスタ局の局番がなし、または、グランドマスタリスト20の現在のグランドマスタ局の局番がなし以外で、かつ、優先度監視部102から通知された現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に含まれている。
(b)リスト更新部106は、グランドマスタリスト20の現在のグランドマスタ局の局番を優先度監視部102から通知された現在のグランドマスタ局の局番に更新する。さらに、リスト更新部106は、グランドマスタリストの現在のグランドマスタ局と同期した通信局の局番に、優先度監視部102から通知された現在のグランドマスタ局の局番を追記する。
また、リスト更新部106が、参照マスタ通知フレーム24を受信したとき、以下の(c)の条件を満たす場合に、(d)の処理を行う。
(c)参照マスタ通知フレーム24に格納されている現在のグランドマスタ局の局番と、グランドマスタリスト20の現在のグランドマスタ局の局番が一致する。
(d)参照マスタ通知フレーム24に格納されている送信元局番を、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に追記する。
(c)参照マスタ通知フレーム24に格納されている現在のグランドマスタ局の局番と、グランドマスタリスト20の現在のグランドマスタ局の局番が一致する。
(d)参照マスタ通知フレーム24に格納されている送信元局番を、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に追記する。
さらに、リスト更新部106が、一定期間内に、以下の(e),(f)の両方を受信しなかった場合、自局番を除き、その送信元局番をグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番から削除する。
(e)同じ送信元局番を格納した参照マスタ通知フレーム24。
(f)または、同じ送信元局番を格納した優先度通知フレーム21。
の両方を受信しなかった場合、自局番を除き、その送信元局番をグランドマスタリスト20の現在のグランドマスタ局と同期した局の局番から削除する。
(e)同じ送信元局番を格納した参照マスタ通知フレーム24。
(f)または、同じ送信元局番を格納した優先度通知フレーム21。
の両方を受信しなかった場合、自局番を除き、その送信元局番をグランドマスタリスト20の現在のグランドマスタ局と同期した局の局番から削除する。
上記、更新、追記、および削除のいずれかを実施したとき、リスト更新部106は、リスト記録部105とリスト通知部107にグランドマスタリスト20を通知する。リスト更新部106は、グランドマスタリスト更新機能ともいう。
リスト通知部107は、リスト更新部106から通知されたグランドマスタリスト20を格納したリスト通知フレーム23を、定期的に送信する。リスト通知部107は、グランドマスタリスト通知送信機能ともいう。
参照マスタ通知部208は、優先度監視部202から現在のグランドマスタ局の局番が通知されたとき、リスト記録部205が記録するグランドマスタリスト20を読み出す。参照マスタ通知部208は、以下の(g)の条件を満たす場合に、(h)の処理を行う。
(g)グランドマスタリスト20の現在のグランドマスタ局の局番がなし、または、グランドマスタリストの現在のグランドマスタ局の局番がなし以外で、優先度監視部202から通知された現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局の局番と一致した場合。
(h)参照マスタ通知部208は、送信元局番および現在のグランドマスタ局の局番を格納した参照マスタ通知フレーム24を生成する。
そして、参照マスタ通知部208は、参照マスタ通知フレーム24を生成した後、参照マスタ通知フレーム24を定期的に送信する。参照マスタ通知部208は、参照グランドマスタ通知送信機能ともいう。
(g)グランドマスタリスト20の現在のグランドマスタ局の局番がなし、または、グランドマスタリストの現在のグランドマスタ局の局番がなし以外で、優先度監視部202から通知された現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局の局番と一致した場合。
(h)参照マスタ通知部208は、送信元局番および現在のグランドマスタ局の局番を格納した参照マスタ通知フレーム24を生成する。
そして、参照マスタ通知部208は、参照マスタ通知フレーム24を生成した後、参照マスタ通知フレーム24を定期的に送信する。参照マスタ通知部208は、参照グランドマスタ通知送信機能ともいう。
時刻補正部309は、時刻配信フレーム22を受信したとき、時刻配信フレーム22の時刻情報をもとに時刻補正を行う。
図5は、本実施の形態の係る通信システム500のリスト配信局100、リスト参照局200、および通常局300のハードウェア構成の一例を示す図である。
以下において、リスト配信局100、リスト参照局200、および通常局300の各々を、通信システム500の各局と呼ぶ。
通信システム500の各局は、コンピュータである。通信システム500の各局は、プロセッサ910を備えるとともに、メモリ921、補助記憶装置922、入力インタフェース930、出力インタフェース940、および通信装置950といった他のハードウェアを備える。プロセッサ910は、信号線を介して他のハードウェアと接続され、これら他のハードウェアを制御する。
以下において、リスト配信局100、リスト参照局200、および通常局300の各々を、通信システム500の各局と呼ぶ。
通信システム500の各局は、コンピュータである。通信システム500の各局は、プロセッサ910を備えるとともに、メモリ921、補助記憶装置922、入力インタフェース930、出力インタフェース940、および通信装置950といった他のハードウェアを備える。プロセッサ910は、信号線を介して他のハードウェアと接続され、これら他のハードウェアを制御する。
リスト配信局100における優先度通知部101と優先度監視部102と参照時刻補正部103と時刻配信部104とリスト記録部105とリスト更新部106とリスト通知部107の機能は、ソフトウェアにより実現される。
リスト参照局200における優先度通知部201と優先度監視部202と参照時刻補正部203と時刻配信部204とリスト記録部205と参照マスタ通知部208の機能は、ソフトウェアにより実現される。
通常局300における優先度通知部301と優先度監視部302と時刻配信部304と時刻補正部309の機能は、ソフトウェアにより実現される。
リスト参照局200における優先度通知部201と優先度監視部202と参照時刻補正部203と時刻配信部204とリスト記録部205と参照マスタ通知部208の機能は、ソフトウェアにより実現される。
通常局300における優先度通知部301と優先度監視部302と時刻配信部304と時刻補正部309の機能は、ソフトウェアにより実現される。
プロセッサ910は、通信プログラムを実行する装置である。通信プログラムは、通信システム500の各局の機能を実現するプログラムである。
プロセッサ910は、演算処理を行うIC(Integrated Circuit)である。プロセッサ910の具体例は、CPU、DSP(Digital Signal Processor)、GPU(Graphics Processing Unit)である。
プロセッサ910は、演算処理を行うIC(Integrated Circuit)である。プロセッサ910の具体例は、CPU、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の略語である。
補助記憶装置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)である。
出力インタフェース940は、ディスプレイといった出力機器のケーブルが接続されるポートである。出力インタフェース940は、具体的には、USB端子またはHDMI(登録商標)(High Definition Multimedia Interface)端子である。ディスプレイは、具体的には、LCD(Liquid Crystal Display)である。
通信装置950は、レシーバとトランスミッタを有する。通信装置950は、LAN、インターネット、あるいは電話回線といった通信網に接続している。通信装置950は、具体的には、通信チップまたはNIC(Network Interface Card)である。通信システム500の各局は、通信装置950を介して、他の通信局と通信する。
通信プログラムは、プロセッサ910に読み込まれ、プロセッサ910によって実行される。メモリ921には、通信プログラムだけでなく、OS(Operating System)も記憶されている。プロセッサ910は、OSを実行しながら、通信プログラムを実行する。通信プログラムおよびOSは、補助記憶装置922に記憶されていてもよい。補助記憶装置922に記憶されている通信プログラムおよびOSは、メモリ921にロードされ、プロセッサ910によって実行される。なお、通信プログラムの一部または全部がOSに組み込まれていてもよい。
通信システム500の各局は、プロセッサ910を代替する複数のプロセッサを備えていてもよい。これら複数のプロセッサは、通信プログラムの実行を分担する。それぞれのプロセッサは、プロセッサ910と同じように、通信プログラムを実行する装置である。
通信プログラムにより利用、処理または出力されるデータ、情報、信号値および変数値は、メモリ921、補助記憶装置922、または、プロセッサ910内のレジスタあるいはキャッシュメモリに記憶される。
通信システム500の各局の各部の「部」を「処理」、「手順」あるいは「工程」に読み替えてもよい。また、通信システム500の各局の各部を「処理」に読み替えた場合の「処理」を「プログラム」、「プログラムプロダクト」または「プログラムを記録したコンピュータ読取可能な記憶媒体」に読み替えてもよい。
通信プログラムは、上記の各部の「部」を「処理」、「手順」あるいは「工程」に読み替えた各処理、各手順あるいは各工程を、コンピュータに実行させる。また、通信方法は、通信システム500の各局が通信プログラムを実行することにより行われる方法である。
通信プログラムは、コンピュータ読取可能な記録媒体に格納されて提供されてもよい。また、通信プログラムは、プログラムプロダクトとして提供されてもよい。
通信プログラムは、上記の各部の「部」を「処理」、「手順」あるいは「工程」に読み替えた各処理、各手順あるいは各工程を、コンピュータに実行させる。また、通信方法は、通信システム500の各局が通信プログラムを実行することにより行われる方法である。
通信プログラムは、コンピュータ読取可能な記録媒体に格納されて提供されてもよい。また、通信プログラムは、プログラムプロダクトとして提供されてもよい。
***動作の説明***
図6から図14を用いて、本実施の形態に係る通信システム500の各局の各部の動作について説明する。
リスト配信局100、リスト参照局200、および通常局300は、起動されると、優先度監視部102,202,302から、優先度通知部101,201,301に優先度通知フレーム21の送信開始を通知する。
図6から図14を用いて、本実施の形態に係る通信システム500の各局の各部の動作について説明する。
リスト配信局100、リスト参照局200、および通常局300は、起動されると、優先度監視部102,202,302から、優先度通知部101,201,301に優先度通知フレーム21の送信開始を通知する。
図6は、本実施の形態に係る通信システム500の各局の優先度通知部101,201,301の動作を示すフロー図である。ここでは、リスト配信局100の優先度通知部101について説明する。リスト参照局200および通常局300の優先度通知部201,301についても同様である。
優先度通知部101は、優先度監視部102から優先度通知フレームの送信開始を通知されると(ステップS101)、優先度通知フレーム21の定期的な送信を開始する(ステップS102)。優先度通知部101は、優先度監視部102から優先度通知フレーム21の送信停止を通知されると(ステップS103)、優先度通知フレーム21の定期的な送信を停止する(ステップS104)。優先度通知フレーム21には、送信元局番、および、送信元局の優先度が格納される。
優先度通知部101は、優先度監視部102から優先度通知フレームの送信開始を通知されると(ステップS101)、優先度通知フレーム21の定期的な送信を開始する(ステップS102)。優先度通知部101は、優先度監視部102から優先度通知フレーム21の送信停止を通知されると(ステップS103)、優先度通知フレーム21の定期的な送信を停止する(ステップS104)。優先度通知フレーム21には、送信元局番、および、送信元局の優先度が格納される。
図7は、本実施の形態に係る通信システム500の各局の優先度監視部102,202,302の動作を示すフロー図である。ここでは、リスト配信局100の優先度監視部102について説明する。リスト参照局200および通常局300の優先度監視部202,302についても同様である。
優先度監視部102は、例えば、通信システム500における現在のグランドマスタの局番を送信元局番として含む優先度通知フレーム21を受信する。
具体的には、以下の通りである。
優先度監視部102は、例えば、通信システム500における現在のグランドマスタの局番を送信元局番として含む優先度通知フレーム21を受信する。
具体的には、以下の通りである。
ステップS201において、優先度監視部102は、優先度通知フレーム21の送信開始を優先度通知部101に通知する。
ステップS202において、優先度監視部102は、自局より優先度の高い送信元局の優先度を格納した優先度通知フレーム21を受信したかを判定する。自局より優先度の高い送信元局の優先度通知フレーム21を受信した場合、ステップS203に進む。自局より優先度の高い送信元局の優先度通知フレーム21を受信していない場合、ステップS204に進む。
ステップS202において、優先度監視部102は、自局より優先度の高い送信元局の優先度を格納した優先度通知フレーム21を受信したかを判定する。自局より優先度の高い送信元局の優先度通知フレーム21を受信した場合、ステップS203に進む。自局より優先度の高い送信元局の優先度通知フレーム21を受信していない場合、ステップS204に進む。
ステップS203において、優先度監視部102は、通信システム500における現在のグランドマスタの局番を送信元局番として含む優先度通知フレーム21を受信したと判定し、以下の処理を行う。ステップS204の処理は、現在のグランドマスタの局番を送信元局番として含む優先度通知フレーム21を受信した際の処理である。
(71)優先度監視部102は、優先度通知フレーム21の送信停止を優先度通知部101に通知する。
(72)優先度監視部102は、グランドマスタ局解除を時刻配信部104に通知する。
(73)優先度監視部102は、現在のグランドマスタ局の局番が優先度通知フレーム21に格納されている送信元局番であることを、リスト更新部106に通知する。なお、優先度監視部202の場合は、優先度監視部202は、現在のグランドマスタ局の局番が優先度通知フレーム21に格納されている送信元局番であることを参照マスタ通知部208に通知する。また、優先度監視部302の場合は、ここでは何もしない。
(71)優先度監視部102は、優先度通知フレーム21の送信停止を優先度通知部101に通知する。
(72)優先度監視部102は、グランドマスタ局解除を時刻配信部104に通知する。
(73)優先度監視部102は、現在のグランドマスタ局の局番が優先度通知フレーム21に格納されている送信元局番であることを、リスト更新部106に通知する。なお、優先度監視部202の場合は、優先度監視部202は、現在のグランドマスタ局の局番が優先度通知フレーム21に格納されている送信元局番であることを参照マスタ通知部208に通知する。また、優先度監視部302の場合は、ここでは何もしない。
ステップS204において、優先度監視部102は、優先度通知フレーム21の送信停止後、自局の優先度より高い送信元局の優先度を格納した優先度通知フレーム21を一定期間受信しなかった場合、ステップS205に進む。優先度通知フレーム21の送信停止後、自局の優先度より高い送信元局の優先度を格納した優先度通知フレーム21を受信すると、ステップS206に進む。
ステップS205において、優先度監視部102は、優先度通知フレーム21の送信開始を優先度通知部101に通知し、再度、優先度通知フレーム21を定期的に送信する。
ステップS205において、優先度監視部102は、優先度通知フレーム21の送信開始を優先度通知部101に通知し、再度、優先度通知フレーム21を定期的に送信する。
ステップS206において、優先度監視部102は、優先度通知フレーム21の送信開始後、自局より優先度の高い送信元局の優先度を格納した優先度通知フレーム21を一定期間受信しなかった場合、ステップS207に進む。優先度通知フレームの送信開始後、自局の優先度より高い送信元局の優先度を格納した優先度通知フレーム21を受信すると、ステップS202に戻る。
ステップS207において、優先度監視部102は、自局がグランドマスタと判定し、同時に以下の処理を行う。ステップS207は、自局がグランドマスタの際の処理である。
(74)優先度監視部102は、グランドマスタ局選出を時刻配信部104に通知する。
(75)優先度監視部102は、現在のグランドマスタ局の局番が自局番であることをリスト更新部106に通知する。なお、優先度監視部202の場合、現在のグランドマスタ局の局番が自局番であることを参照マスタ通知部208に通知する。また、優先度監視部302の場合は、ここでは何もしない。
ステップS207において、優先度監視部102は、自局がグランドマスタと判定し、同時に以下の処理を行う。ステップS207は、自局がグランドマスタの際の処理である。
(74)優先度監視部102は、グランドマスタ局選出を時刻配信部104に通知する。
(75)優先度監視部102は、現在のグランドマスタ局の局番が自局番であることをリスト更新部106に通知する。なお、優先度監視部202の場合、現在のグランドマスタ局の局番が自局番であることを参照マスタ通知部208に通知する。また、優先度監視部302の場合は、ここでは何もしない。
図8は、本実施の形態に係る通信システム500の各局の時刻配信部104,204,304の動作を示すフロー図である。ここでは、リスト配信局100の時刻配信部104について説明する。リスト参照局200および通常局300の時刻配信部204,304についても同様である。
時刻配信部104は、優先度監視部102からグランドマスタ局選出を通知されると(ステップS301)、時刻配信フレーム22の定期的な送信を開始する(ステップS302)。時刻配信フレーム22には、送信元局番、および、時刻情報が格納される。また、時刻配信部104は、優先度監視部102からグランドマスタ局解除を通知されると(ステップS303)、時刻配信フレーム22の定期的な送信を停止する(ステップS304)。
時刻配信部104は、優先度監視部102からグランドマスタ局選出を通知されると(ステップS301)、時刻配信フレーム22の定期的な送信を開始する(ステップS302)。時刻配信フレーム22には、送信元局番、および、時刻情報が格納される。また、時刻配信部104は、優先度監視部102からグランドマスタ局解除を通知されると(ステップS303)、時刻配信フレーム22の定期的な送信を停止する(ステップS304)。
図9は、本実施の形態に係る通信システム500のリスト配信局100およびリスト参照局200の参照時刻補正部103,203の動作を示すフロー図である。ここでは、リスト配信局100の参照時刻補正部103について説明する。リスト参照局200の参照時刻補正部203についても同様である。
まず、参照時刻補正部103の処理の概要について説明する。
参照時刻補正部103は、他の通信局から前記複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレーム22を受信する。参照時刻補正部103は、時刻配信フレーム22の送信元の通信局の局番が、グランドマスタリスト20に含まれるグランドマスタの局番か否かを判定する。参照時刻補正部103は、時刻配信フレーム22の送信元の通信局の局番が、グランドマスタリスト20に含まれるグランドマスタの局番である場合に、時刻配信フレーム22に含まれる時刻情報を用いて自局の時刻を補正する。
参照時刻補正部103は、他の通信局から前記複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレーム22を受信する。参照時刻補正部103は、時刻配信フレーム22の送信元の通信局の局番が、グランドマスタリスト20に含まれるグランドマスタの局番か否かを判定する。参照時刻補正部103は、時刻配信フレーム22の送信元の通信局の局番が、グランドマスタリスト20に含まれるグランドマスタの局番である場合に、時刻配信フレーム22に含まれる時刻情報を用いて自局の時刻を補正する。
ステップS401において、参照時刻補正部103は、グランドマスタリスト20に基づいて、時刻配信フレーム22をもとに時刻補正を行うか否かを判定する。具体的には、参照時刻補正部103は、以下の(91)または(92)を満たすか否かを判定する。
(91)リスト記録部105に記録されているグランドマスタリスト20の現在のグランドマスタ局の局番がなし。
(92)リスト記録部105に記録されているグランドマスタリスト20の現在のグランドマスタ局の局番が、受信した時刻配信フレーム22の送信元局番と一致する。
参照時刻補正部103は、(91)または(92)を満たすと判定すると、ステップS402に進む。参照時刻補正部103は、(91)または(92)を満たしていないと判定すると、ステップS401に戻り、時刻配信フレーム22の受信を待つ。
(91)リスト記録部105に記録されているグランドマスタリスト20の現在のグランドマスタ局の局番がなし。
(92)リスト記録部105に記録されているグランドマスタリスト20の現在のグランドマスタ局の局番が、受信した時刻配信フレーム22の送信元局番と一致する。
参照時刻補正部103は、(91)または(92)を満たすと判定すると、ステップS402に進む。参照時刻補正部103は、(91)または(92)を満たしていないと判定すると、ステップS401に戻り、時刻配信フレーム22の受信を待つ。
ステップS402において、参照時刻補正部103は、時刻配信フレーム22の時刻情報をもとに時刻補正を行う。
図10は、本実施の形態に係る通信システム500の通常局300の時刻補正部309の動作を示すフロー図である。
通常局300の時刻補正部309は、時刻配信フレーム22を受信すると(ステップS501)、時刻配信フレーム22の時刻情報をもとに時刻補正を行う(ステップS502)。
通常局300の時刻補正部309は、時刻配信フレーム22を受信すると(ステップS501)、時刻配信フレーム22の時刻情報をもとに時刻補正を行う(ステップS502)。
図11は、本実施の形態に係る通信システム500のリスト配信局100のリスト更新部106の動作を示すフロー図である。
まず、リスト更新部106の処理の概要について説明する。
リスト更新部106は、優先度監視部102から現在のグランドマスタの局番が通知されると、通知された現在のグランドマスタの局番に基づいてグランドマスタリスト20を更新するか否かを判定する。リスト更新部106は、グランドマスタリスト20を更新すると判定すると、グランドマスタリスト20の現在のグランドマスタ局の局番を、優先度監視部102から通知された現在のグランドマスタ局の局番に更新する。さらに、リスト更新部106は、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に、優先度監視部102から通知された現在のグランドマスタ局の局番を追記する。
リスト更新部106は、優先度監視部102から通知された現在のグランドマスタ局の局番がグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に含まれているか否かを判定する。リスト更新部106は、優先度監視部102から通知された現在のグランドマスタ局の局番が、グランドマスタリストの現在のグランドマスタ局と同期した通信局の局番に含まれている場合、グランドマスタリスト20を更新すると判定する。
リスト更新部106は、優先度監視部102から現在のグランドマスタの局番が通知されると、通知された現在のグランドマスタの局番に基づいてグランドマスタリスト20を更新するか否かを判定する。リスト更新部106は、グランドマスタリスト20を更新すると判定すると、グランドマスタリスト20の現在のグランドマスタ局の局番を、優先度監視部102から通知された現在のグランドマスタ局の局番に更新する。さらに、リスト更新部106は、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に、優先度監視部102から通知された現在のグランドマスタ局の局番を追記する。
リスト更新部106は、優先度監視部102から通知された現在のグランドマスタ局の局番がグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に含まれているか否かを判定する。リスト更新部106は、優先度監視部102から通知された現在のグランドマスタ局の局番が、グランドマスタリストの現在のグランドマスタ局と同期した通信局の局番に含まれている場合、グランドマスタリスト20を更新すると判定する。
ステップS601において、リスト更新部106は、リスト記録部105からグランドマスタリスト20を読み出す。例えば、リスト更新部106は、優先度監視部102から現在のグランドマスタの局番が通知されると、リスト記録部105からグランドマスタリスト20を読み出す。
ステップS602において、リスト更新部106は、優先度監視部102から現在のグランドマスタの局番が通知されたとき、グランドマスタリストを更新するか否かを判定する。リスト更新部106は、優先度監視部102から通知された現在のグランドマスタの局番に基づいて、グランドマスタリスト20を更新するか否かを判定する。具体的には、リスト更新部106は、以下の(111)または(112)であるかを判定する。
(111)グランドマスタリスト20の現在のグランドマスタ局の局番がなし。
(112)グランドマスタリスト20の現在のグランドマスタ局の局番がなし以外で、優先度監視部102から通知された現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に含まれている。
リスト更新部106は、(111)または(112)のとき、ステップS603に進む。リスト更新部106は、上記(111)または(112)、ではないとき、ステップS604に進む。
(111)または(112)のとき、リスト更新部106は、グランドマスタリスト20を更新すると判定したことを意味する。
(111)グランドマスタリスト20の現在のグランドマスタ局の局番がなし。
(112)グランドマスタリスト20の現在のグランドマスタ局の局番がなし以外で、優先度監視部102から通知された現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に含まれている。
リスト更新部106は、(111)または(112)のとき、ステップS603に進む。リスト更新部106は、上記(111)または(112)、ではないとき、ステップS604に進む。
(111)または(112)のとき、リスト更新部106は、グランドマスタリスト20を更新すると判定したことを意味する。
ステップS603において、リスト更新部106は、グランドマスタリスト20を更新すると判定すると、グランドマスタリスト20の現在のグランドマスタ局の局番を、優先度監視部102から通知された現在のグランドマスタ局の局番に更新する。さらに、リスト更新部106は、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に、優先度監視部102から通知された現在のグランドマスタ局の局番を追記する。
ステップS604において、リスト更新部106は、参照マスタ通知フレーム24を受信したとき、グランドマスタリスト20を更新するか否かを判定する。
リスト更新部106は、参照マスタ通知部208から参照マスタ通知フレーム24を受信する。リスト更新部106は、受信した参照マスタ通知フレーム24に含まれる現在のグランドマスタ局の局番に基づいて、グランドマスタリスト20を更新するか否かを判定する。リスト更新部106は、グランドマスタリスト20を更新すると判定すると、参照マスタ通知フレーム24に含まれる送信元局番を、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に追記する。リスト更新部106は、参照マスタ通知部208から受信した参照マスタ通知フレーム24に含まれる現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局の局番と一致するか否かを判定する。リスト更新部106は、一致する場合にグランドマスタリスト20を更新すると判定する。
リスト更新部106は、参照マスタ通知部208から参照マスタ通知フレーム24を受信する。リスト更新部106は、受信した参照マスタ通知フレーム24に含まれる現在のグランドマスタ局の局番に基づいて、グランドマスタリスト20を更新するか否かを判定する。リスト更新部106は、グランドマスタリスト20を更新すると判定すると、参照マスタ通知フレーム24に含まれる送信元局番を、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に追記する。リスト更新部106は、参照マスタ通知部208から受信した参照マスタ通知フレーム24に含まれる現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局の局番と一致するか否かを判定する。リスト更新部106は、一致する場合にグランドマスタリスト20を更新すると判定する。
具体的には、リスト更新部106は、以下の判定を行う。
(113)参照マスタ通知フレーム24に格納されている現在のグランドマスタ局の局番と、グランドマスタリスト20の現在のグランドマスタ局の局番が一致するか。
上記(113)を満たす場合、ステップS605に進む。上記(113)を満たさない場合、ステップS606に進む。
(113)参照マスタ通知フレーム24に格納されている現在のグランドマスタ局の局番と、グランドマスタリスト20の現在のグランドマスタ局の局番が一致するか。
上記(113)を満たす場合、ステップS605に進む。上記(113)を満たさない場合、ステップS606に進む。
ステップS605において、リスト更新部106は、参照マスタ通知フレーム24に格納されている送信元局番をグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に追記する。
ステップS606において、リスト更新部106は、グランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番を削除する必要があるかを判定する。リスト更新部106は、予め定められた期間内に、同じ送信元局番を含む参照マスタ通知フレーム24と、同じ送信元局番を含む優先度通知フレーム21との両方を受信しなかったか否かを判定する。リスト更新部106は、上記両方を受信しなかった場合に、その送信元局番をグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番から削除する。
具体的には、リスト更新部106は、以下の判定を行う。
(114)一定期間内に、同じ送信元局番を格納した参照グランドマスタ通知フレームまたは、同じ送信元局番を格納した優先度通知フレームの両方を受信しなかったか。
上記(114)を満たす場合、ステップS607に進む。上記(114)を満たさない場合、ステップS602に戻る。
(114)一定期間内に、同じ送信元局番を格納した参照グランドマスタ通知フレームまたは、同じ送信元局番を格納した優先度通知フレームの両方を受信しなかったか。
上記(114)を満たす場合、ステップS607に進む。上記(114)を満たさない場合、ステップS602に戻る。
ステップS607において、リスト更新部106は、自局番を除き、その送信元局番をグランドマスタリスト20の現在のグランドマスタ局と同期した局の局番から削除する。
最後に、ステップS608において、リスト更新部106は、上記更新、追記、および削除のいずれかを実施したとき、リスト記録部105とリスト通知部107にグランドマスタリスト20を通知する。
図12は、本実施の形態に係る通信システム500のリスト配信局100のリスト通知部107の動作を示すフロー図である。
ステップS71において、リスト通知部107は、リスト更新部106により更新されたグランドマスタリスト20が通知されると、通知されたグランドマスタリスト20を含むリスト通知フレーム23を複数の通信局に送信する。リスト通知部107は、リスト更新部106から通知されたグランドマスタリスト20を格納したリスト通知フレーム23を定期的に送信する。
ステップS71において、リスト通知部107は、リスト更新部106により更新されたグランドマスタリスト20が通知されると、通知されたグランドマスタリスト20を含むリスト通知フレーム23を複数の通信局に送信する。リスト通知部107は、リスト更新部106から通知されたグランドマスタリスト20を格納したリスト通知フレーム23を定期的に送信する。
図13は、本実施の形態に係る通信システム500のリスト参照局200の参照マスタ通知部208の動作を示すフロー図である。
まず、参照マスタ通知部208の動作の概要について説明する。
参照マスタ通知部208には、優先度監視部202から現在のグランドマスタの局番が通知される。参照マスタ通知部208は、現在のグランドマスタの局番がグランドマスタリスト20に含まれるグランドマスタの局番か否かを判定する。参照マスタ通知部208は、現在のグランドマスタの局番がグランドマスタリスト20に含まれるグランドマスタの局番である場合に、自局の局番を送信元局番として、送信元局番と現在のグランドマスタ局の局番とを含む参照マスタ通知フレーム24を送信する。
具体的には、参照マスタ通知部208は、以下の処理を行う。
まず、参照マスタ通知部208の動作の概要について説明する。
参照マスタ通知部208には、優先度監視部202から現在のグランドマスタの局番が通知される。参照マスタ通知部208は、現在のグランドマスタの局番がグランドマスタリスト20に含まれるグランドマスタの局番か否かを判定する。参照マスタ通知部208は、現在のグランドマスタの局番がグランドマスタリスト20に含まれるグランドマスタの局番である場合に、自局の局番を送信元局番として、送信元局番と現在のグランドマスタ局の局番とを含む参照マスタ通知フレーム24を送信する。
具体的には、参照マスタ通知部208は、以下の処理を行う。
参照マスタ通知部208は、優先度監視部202から現在のグランドマスタ局の局番を通知されると(ステップS701)、リスト記録部205が記録するグランドマスタリストを読み出す(ステップS702)。
ステップS703において、参照マスタ通知部208は、優先度監視部202から通知された現在のグランドマスタ局の局番が、グランドマスタリスト20の現在のグランドマスタ局の局番と一致するか否かを判定する。参照マスタ通知部208は、以下の(131)または(132)を満たすか否かを判定する。
(131)グランドマスタリストの現在のグランドマスタ局の局番がなし。
(132)または、グランドマスタリストの現在のグランドマスタ局の局番がなし以外で、優先度監視部202から通知された現在のグランドマスタ局の局番が、グランドマスタリストの現在のグランドマスタ局の局番と一致。
上記(131)または(132)を満たす場合、ステップS704に進む。上記(131)または(132)、を満たさない場合、ステップS705に進む。
(131)グランドマスタリストの現在のグランドマスタ局の局番がなし。
(132)または、グランドマスタリストの現在のグランドマスタ局の局番がなし以外で、優先度監視部202から通知された現在のグランドマスタ局の局番が、グランドマスタリストの現在のグランドマスタ局の局番と一致。
上記(131)または(132)を満たす場合、ステップS704に進む。上記(131)または(132)、を満たさない場合、ステップS705に進む。
ステップS704において、参照マスタ通知部208は、参照マスタ通知フレーム24を生成する。参照マスタ通知フレーム24には、送信元局番(つまり自局の局番)、および現在のグランドマスタ局の局番が格納される。
参照マスタ通知部208は、参照マスタ通知フレーム24を生成した後(ステップS705)、参照マスタ通知フレーム24を定期的に送信する(ステップS706)。
図14は、本実施の形態に係る通信システム500のリスト配信局100およびリスト参照局200のリスト記録部105,205の動作を示すフロー図である。ここでは、リスト配信局100のリスト記録部105について説明する。リスト参照局200のリスト記録部205についても同様である。
リスト記録部105は、起動時、「現在のグランドマスタ局の局番:なし」、および、「現在のグランドマスタ局と同期した局の局番:自局番」を格納したグランドマスタリスト20を初期値として記録する(ステップS801)。リスト記録部105は、リスト更新部106からグランドマスタリスト20を通知されると(ステップS802)、通知されたグランドマスタリスト20を記録する(ステップS802)。
なお、リスト参照局200のリスト記録部205の場合、リスト記録部205は、グランドマスタリスト20が格納されたリスト通知フレーム23を受信したとき、以下の処理を行う。
ステップS804において、リスト記録部205は、グランドマスタリスト20が格納されたリスト通知フレーム23を受信し、リスト通知フレーム23に格納されているグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に、自局番が含まれているかを判定する。自局番が含まれている場合、ステップS805において、リスト記録部105は、リスト通知フレーム23に格納されているグランドマスタリスト20を記録する。
ステップS804において、リスト記録部205は、グランドマスタリスト20が格納されたリスト通知フレーム23を受信し、リスト通知フレーム23に格納されているグランドマスタリスト20の現在のグランドマスタ局と同期した通信局の局番に、自局番が含まれているかを判定する。自局番が含まれている場合、ステップS805において、リスト記録部105は、リスト通知フレーム23に格納されているグランドマスタリスト20を記録する。
図15は、本実施の形態に係る通信システム500の動作の具体例の一例を示す図である。
図15において、通信システム500は、リスト配信局TS1と、グランドマスタGM1と、リスト参照局TM1とを通信局10として備えるものとする。
ステップS1において、リスト参照局TM1は、送信元局番TM1、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。同様に、グランドマスタGM1は、ステップS2において、送信元局番GM1、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。
図15において、通信システム500は、リスト配信局TS1と、グランドマスタGM1と、リスト参照局TM1とを通信局10として備えるものとする。
ステップS1において、リスト参照局TM1は、送信元局番TM1、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。同様に、グランドマスタGM1は、ステップS2において、送信元局番GM1、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。
ステップS3において、リスト配信局TS1は、グランドマスタリスト(GM1,TM1,TS1)をグランドマスタGM1とリスト参照局TM1に送信する。
ステップS4において、グランドマスタGM1は、時刻配信フレームを送信する。リスト参照局TM1とリスト配信局TS1は、グランドマスタリストにあるGM1からの時刻配信フレームであるため、この時刻配信フレームに基づいて時刻同期する。
ステップS4において、グランドマスタGM1は、時刻配信フレームを送信する。リスト参照局TM1とリスト配信局TS1は、グランドマスタリストにあるGM1からの時刻配信フレームであるため、この時刻配信フレームに基づいて時刻同期する。
ステップS5において、グランドマスタGM1が故障により通信システム500から離脱したとする。
そして、ステップS6において、リスト参照局TM1がグランドマスタ化するものとする。
そして、ステップS6において、リスト参照局TM1がグランドマスタ化するものとする。
ステップS7において、グランドマスタであるリスト参照局TM1は、送信元局番TM1、同期したグランドマスタの局番TM1の参照マスタ通知フレームを送信する。ここで、リスト配信局TS1は、TM1がグランドマスタリスト内の同期した通信局にあるため、現在のグランドマスタの局番をTM1に切り替える。また、グランドマスタリストからGM1が削除される。リスト配信局TS1がグランドマスタリストからグランドマスタを削除する理由は、以下の(e),(f)をグランドマスタから受信しなくなるためである。
(e)同じ送信元局番を格納した参照マスタ通知フレーム24。
(f)または、同じ送信元局番を格納した優先度通知フレーム21。
(e)同じ送信元局番を格納した参照マスタ通知フレーム24。
(f)または、同じ送信元局番を格納した優先度通知フレーム21。
ステップS8において、リスト配信局TS1は、グランドマスタリスト(TM1,TS1)をリスト参照局TM1に送信する。
ステップS9において、グランドマスタであるリスト参照局TM1は、時刻配信フレームを送信する。リスト配信局TS1は、グランドマスタリストにあるTM1からの時刻配信フレームであるため、この時刻配信フレームに基づいて時刻同期する。
ステップS9において、グランドマスタであるリスト参照局TM1は、時刻配信フレームを送信する。リスト配信局TS1は、グランドマスタリストにあるTM1からの時刻配信フレームであるため、この時刻配信フレームに基づいて時刻同期する。
ステップS10において、新たに、リスト参照局TM1よりも優先度が高い通信局TM2が新規参入するとする。
ステップS11において、通信システム500によるグランドマスタ調整により、リスト参照局TM1のグランドマスタは解除され、新規参入の通信局TM2がグランドマスタとなる。
ステップS11において、通信システム500によるグランドマスタ調整により、リスト参照局TM1のグランドマスタは解除され、新規参入の通信局TM2がグランドマスタとなる。
ステップS12において、新規参入の通信局TM2は、例えば、送信元局番TM2、同期したグランドマスタの局番TM2の参照マスタ通知フレームを送信する。このとき、TM2はグランドマスタリストにないため、リスト配信局TS1は、TM2をグランドマスタリストに追加しない。
よって、ステップS13では、リスト配信局TS1は、グランドマスタリスト(TM1,TS1)を送信する。
よって、ステップS13では、リスト配信局TS1は、グランドマスタリスト(TM1,TS1)を送信する。
ステップS14において、新規参入の通信局TM2は、時刻配信フレームを送信する。リスト配信局TS1およびリスト参照局TM1は、グランドマスタリストにないTM2からの時刻配信フレームであるため、時刻同期しない。
***本実施の形態の効果の説明***
このように、本実施の形態に係る通信システム500では、過去に参照したグランドマスタと同期した通信局の時刻情報をもとに時刻補正を行う。よって、本実施の形態に係る通信システム500によれば、時間の連続性を保証することができる。
また、本実施の形態に係る通信システム500によれば、本実施の形態の方式を実装していない通常局が混在しても、時刻の連続性を保証することができる。
また、本実施の形態に係る通信システム500では、リスト配信局は同一ネットワーク内に複数局存在しても矛盾しない。このため、異なる時刻を参照していた複数のネットワークを誤って接続した場合も、それぞれのネットワークで時刻の連続性を保証できる。
また、本実施の形態に係る通信システム500によれば、通信局が単一のグランドマスタリストを参照するため、局間での設定ずれが起きにくい。
このように、本実施の形態に係る通信システム500では、過去に参照したグランドマスタと同期した通信局の時刻情報をもとに時刻補正を行う。よって、本実施の形態に係る通信システム500によれば、時間の連続性を保証することができる。
また、本実施の形態に係る通信システム500によれば、本実施の形態の方式を実装していない通常局が混在しても、時刻の連続性を保証することができる。
また、本実施の形態に係る通信システム500では、リスト配信局は同一ネットワーク内に複数局存在しても矛盾しない。このため、異なる時刻を参照していた複数のネットワークを誤って接続した場合も、それぞれのネットワークで時刻の連続性を保証できる。
また、本実施の形態に係る通信システム500によれば、通信局が単一のグランドマスタリストを参照するため、局間での設定ずれが起きにくい。
***他の構成***
<変形例1>
本実施の形態では、リスト配信局100における優先度通知部101と優先度監視部102と参照時刻補正部103と時刻配信部104とリスト記録部105とリスト更新部106とリスト通知部107の機能は、ソフトウェアにより実現される。また、リスト参照局200における優先度通知部201と優先度監視部202と参照時刻補正部203と時刻配信部204とリスト記録部205と参照マスタ通知部208の機能は、ソフトウェアにより実現される。また、通常局300における優先度通知部301と優先度監視部302と時刻配信部304と時刻補正部309の機能は、ソフトウェアにより実現される。すなわち通信システム500の各局の機能は、ソフトウェアにより実現される。
<変形例1>
本実施の形態では、リスト配信局100における優先度通知部101と優先度監視部102と参照時刻補正部103と時刻配信部104とリスト記録部105とリスト更新部106とリスト通知部107の機能は、ソフトウェアにより実現される。また、リスト参照局200における優先度通知部201と優先度監視部202と参照時刻補正部203と時刻配信部204とリスト記録部205と参照マスタ通知部208の機能は、ソフトウェアにより実現される。また、通常局300における優先度通知部301と優先度監視部302と時刻配信部304と時刻補正部309の機能は、ソフトウェアにより実現される。すなわち通信システム500の各局の機能は、ソフトウェアにより実現される。
変形例として、通信システム500の各局の機能がハードウェアで実現されてもよい。この場合、通信システム500は、プロセッサ910に替えて、電子回路を備えている。すなわち、通信システム500の各局は、電子回路、メモリ921、補助記憶装置922、入力インタフェース930、出力インタフェース940、および通信装置950を備える。
電子回路は、通信システム500の各局の機能を実現する専用の電子回路である。
電子回路は、具体的には、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ロジックIC、GA、ASIC、または、FPGAである。GAは、Gate Arrayの略語である。ASICは、Application Specific Integrated Circuitの略語である。FPGAは、Field-Programmable Gate Arrayの略語である。
通信システム500の各局の機能は、1つの電子回路で実現されてもよいし、複数の電子回路に分散して実現されてもよい。
別の変形例として、通信システム500の各局の機能の一部が電子回路で実現され、残りの機能がソフトウェアで実現されてもよい。
電子回路は、具体的には、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ロジックIC、GA、ASIC、または、FPGAである。GAは、Gate Arrayの略語である。ASICは、Application Specific Integrated Circuitの略語である。FPGAは、Field-Programmable Gate Arrayの略語である。
通信システム500の各局の機能は、1つの電子回路で実現されてもよいし、複数の電子回路に分散して実現されてもよい。
別の変形例として、通信システム500の各局の機能の一部が電子回路で実現され、残りの機能がソフトウェアで実現されてもよい。
プロセッサと電子回路の各々は、プロセッシングサーキットリとも呼ばれる。つまり、通信システム500において、通信システム500の各局の機能は、プロセッシングサーキットリにより実現される。
実施の形態2.
本実施の形態では、主に、実施の形態1と異なる点について説明する。なお、実施の形態1と同様の構成には同一の符号を付し、その説明を省略する場合がある。
本実施の形態では、主に、実施の形態1と異なる点について説明する。なお、実施の形態1と同様の構成には同一の符号を付し、その説明を省略する場合がある。
実施の形態1で説明した通信システムでは、過去に参照したグランドマスタと同期した通信局の時刻情報のみを用いて時刻補正を行うので、時刻の連続性が保証されている。本実施の形態では、意図的に、時刻の連続性が失われても新たに参入した通信局の時刻を参照させることができる通信システムについて説明する。
本実施の形態では、リスト配信局100は、グランドマスタリストを人手で更新するためのインタフェースとなる入力装置を備える。具体的には、リスト配信局100は、上述したマウス、キーボード、あるいはタッチパネルといった入力装置と、入力インタフェース930を介して接続される。リスト配信局100は、入力装置を用いて人手で設定されたグランドマスタの局番を、入力インタフェース930を介して取得する。リスト配信局100のリスト更新部106は、入力インタフェース930を介して取得したグランドマスタの局番をグランドマスタリストに反映する。
例えば、図15のステップS12において、リスト配信局TS1が、入力インタフェース930を介して、グランドマスタとしてTM2を設定する指示を取得したとする。そして、リスト更新部106は、グランドマスタリストのグランドマスタの局番をTM2に更新する。
このように、リスト更新部106は、入力インタフェース930を介して入力装置からグランドマスタの局番が通知されると、グランドマスタリストの現在のグランドマスタ局の局番を、通知されたグランドマスタ局の局番に更新する。このように、人手で新規参入の通信局TM2をグランドマスタリストに追記することで、意図的に新たに参入した通信局の時刻を参照させたい場合に対応することが可能となる。なお、ここでは、新規参入の通信局をグランドマスタリストに追加する例を示したが、通信システムが既に備えている通信局を意図的にグランドマスタリストに追加してもよい。
このように、リスト更新部106は、入力インタフェース930を介して入力装置からグランドマスタの局番が通知されると、グランドマスタリストの現在のグランドマスタ局の局番を、通知されたグランドマスタ局の局番に更新する。このように、人手で新規参入の通信局TM2をグランドマスタリストに追記することで、意図的に新たに参入した通信局の時刻を参照させたい場合に対応することが可能となる。なお、ここでは、新規参入の通信局をグランドマスタリストに追加する例を示したが、通信システムが既に備えている通信局を意図的にグランドマスタリストに追加してもよい。
実施の形態3.
本実施の形態では、主に、実施の形態1と異なる点について説明する。なお、実施の形態1と同様の構成には同一の符号を付し、その説明を省略する場合がある。
本実施の形態では、主に、実施の形態1と異なる点について説明する。なお、実施の形態1と同様の構成には同一の符号を付し、その説明を省略する場合がある。
実施の形態1で説明した通信システムでは、リスト配信局100とリスト参照局200の2種類の通信局が必要であった。本実施の形態では、1種類の通信局で、実施の形態1と同一の機能を実現する通信システム500aについて説明する。
図16は、本実施の形態に係るリスト配信局100aの構成を示す図である。
本実施の形態に係る通信システム500aは、1種類の通信局であるリスト配信局100aを備える。リスト配信局100aは、実施の形態1のリスト配信局100のリスト通知部107がない。すなわち、リスト配信局100aは、グランドマスタリストを他の通信局に配信しない。また、リスト配信局100aは、実施の形態1のリスト参照局200の参照マスタ通知部208を備える。
本実施の形態に係る通信システム500aは、1種類の通信局であるリスト配信局100aを備える。リスト配信局100aは、実施の形態1のリスト配信局100のリスト通知部107がない。すなわち、リスト配信局100aは、グランドマスタリストを他の通信局に配信しない。また、リスト配信局100aは、実施の形態1のリスト参照局200の参照マスタ通知部208を備える。
図17を用いて、本実施の形態に係る通信システム500aの通信シーケンスについて説明する。
ステップS21において、リスト配信局TM4は、送信元局番TM4、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。
ステップS22において、グランドマスタGM1は、送信元局番GM1、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。
ステップS23において、リスト配信局TM3は、送信元局番TM3、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。
この時点で、リスト配信局TM3とグランドマスタGM1とリスト配信局TM4により、グランドマスタリストが生成され、リスト記録部に記録されている。
ステップS21において、リスト配信局TM4は、送信元局番TM4、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。
ステップS22において、グランドマスタGM1は、送信元局番GM1、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。
ステップS23において、リスト配信局TM3は、送信元局番TM3、同期したグランドマスタの局番GM1の参照マスタ通知フレームを送信する。
この時点で、リスト配信局TM3とグランドマスタGM1とリスト配信局TM4により、グランドマスタリストが生成され、リスト記録部に記録されている。
ステップS24において、グランドマスタGM1は、時刻配信フレームを送信する。リスト配信局TM3とリスト配信局TM4は、グランドマスタリストにあるGM1からの時刻配信フレームであるため、この時刻配信フレームに基づいて時刻同期する。
ステップS25において、グランドマスタGM1が故障により通信システム500aから離脱したとする。
そして、ステップS26において、リスト配信局TM4がグランドマスタ化するものとする。
そして、ステップS26において、リスト配信局TM4がグランドマスタ化するものとする。
ステップS27において、グランドマスタであるリスト配信局TM4は、送信元局番TM4、同期したグランドマスタの局番TM4の参照マスタ通知フレームを送信する。ここで、リスト配信局TM3は、TM4がグランドマスタリスト内の同期した通信局にあるため、現在のグランドマスタの局番をTM4に切り替える。また、グランドマスタリストからGM1が削除される。リスト配信局TM3がグランドマスタリストからグランドマスタを削除する理由は、以下の(e),(f)をグランドマスタから受信しなくなるためである。
(e)同じ送信元局番を格納した参照マスタ通知フレーム24。
(f)または、同じ送信元局番を格納した優先度通知フレーム21。
(e)同じ送信元局番を格納した参照マスタ通知フレーム24。
(f)または、同じ送信元局番を格納した優先度通知フレーム21。
ステップS28において、リスト配信局TM3は、送信元局番TM3、同期したグランドマスタの局番TM4の参照マスタ通知フレームを送信する。ここで、リスト配信局TM4は、TM3がグランドマスタリスト内の同期した通信局にある。また、グランドマスタリストからGM1が削除される。リスト配信局TM4がグランドマスタリストからグランドマスタを削除する理由は、以下の(e),(f)をグランドマスタから受信しなくなるためである。
(e)同じ送信元局番を格納した参照マスタ通知フレーム24。
(f)または、同じ送信元局番を格納した優先度通知フレーム21。
(e)同じ送信元局番を格納した参照マスタ通知フレーム24。
(f)または、同じ送信元局番を格納した優先度通知フレーム21。
ステップS29において、グランドマスタであるリスト配信局TM4は、時刻配信フレームを送信する。リスト配信局TM3は、グランドマスタリストにあるTM4からの時刻配信フレームであるため、この時刻配信フレームに基づいて時刻同期する。
以上のように、本実施の形態の通信システム500aでは、リスト配信局のリスト通知部をなくし、代わりに参照マスタ通知部を追加している。よって、本実施の形態の通信システム500aによれば、1種類の通信局でグランドマスタリストを配信しなくても、時刻の連続性を保証することができる。
以上の実施の形態1から3では、通信システムの各局の各部を独立した機能ブロックとして説明した。しかし、通信システムの各局の構成は、上述した実施の形態のような構成でなくてもよい。通信システムの各局の機能ブロックは、上述した実施の形態で説明した機能を実現することができれば、どのような構成でもよい。また、通信システムの各局は、1つの装置でなく、複数の装置から構成されたシステムでもよい。
また、実施の形態1から3のうち、複数の部分を組み合わせて実施しても構わない。あるいは、これらの実施の形態のうち、1つの部分を実施しても構わない。その他、これらの実施の形態を、全体としてあるいは部分的に、どのように組み合わせて実施しても構わない。
すなわち、実施の形態1から3では、各実施の形態の自由な組み合わせ、あるいは各実施の形態の任意の構成要素の変形、もしくは各実施の形態において任意の構成要素の省略が可能である。
また、実施の形態1から3のうち、複数の部分を組み合わせて実施しても構わない。あるいは、これらの実施の形態のうち、1つの部分を実施しても構わない。その他、これらの実施の形態を、全体としてあるいは部分的に、どのように組み合わせて実施しても構わない。
すなわち、実施の形態1から3では、各実施の形態の自由な組み合わせ、あるいは各実施の形態の任意の構成要素の変形、もしくは各実施の形態において任意の構成要素の省略が可能である。
なお、上述した実施の形態は、本質的に好ましい例示であって、本発明の範囲、本発明の適用物の範囲、および本発明の用途の範囲を制限することを意図するものではない。上述した実施の形態は、必要に応じて種々の変更が可能である。
10 通信局、20 グランドマスタリスト、21 優先度通知フレーム、22 時刻配信フレーム、23 リスト通知フレーム、24 参照マスタ通知フレーム、100,100a リスト配信局、101,201,301 優先度通知部、102,202,302 優先度監視部、103,203 参照時刻補正部、104,204,304 時刻配信部、105,205 リスト記録部、106 リスト更新部、107 リスト通知部、208 参照マスタ通知部、309 時刻補正部、200 リスト参照局、300 通常局、500,500a 通信システム、910 プロセッサ、921 メモリ、922 補助記憶装置、930 入力インタフェース、940 出力インタフェース、950 通信装置。
Claims (14)
- 複数の通信局を備え、前記複数の通信局から前記複数の通信局の時刻の基準となるグランドマスタを選出する通信システムにおいて、
前記複数の通信局に含まれる少なくとも1つの通信局であるリスト参照局を備え、
前記リスト参照局は、
前記グランドマスタの局番と、前記グランドマスタと同期した通信局の局番とを含むグランドマスタリストをメモリに記録するリスト記録部と、
他の通信局から前記複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレームを受信し、前記時刻配信フレームの送信元の通信局の局番が前記グランドマスタリストに含まれる前記グランドマスタの局番か否かを判定し、前記時刻配信フレームの送信元の通信局の局番が前記グランドマスタリストに含まれる前記グランドマスタの局番である場合に、前記時刻配信フレームに含まれる時刻情報を用いて自局の時刻を補正する参照時刻補正部と
を備えた通信システム。 - 前記リスト参照局は、
前記通信システムにおける現在のグランドマスタの局番を送信元局番として含む優先度通知フレームを受信する優先度監視部を備え、
前記通信システムは、
前記複数の通信局に含まれる少なくとも1つの通信局であるリスト配信局であって、前記グランドマスタリストを更新するリスト配信局を備え、
前記リスト配信局は、
前記リスト記録部と、
前記参照時刻補正部と、
前記優先度監視部と、
前記優先度監視部から現在のグランドマスタの局番が通知されると、通知された現在のグランドマスタの局番に基づいて前記グランドマスタリストを更新するか否かを判定し、前記グランドマスタリストを更新すると判定すると、前記グランドマスタリストの現在のグランドマスタ局の局番を、前記優先度監視部から通知された現在のグランドマスタ局の局番に更新するとともに、前記グランドマスタリストの現在のグランドマスタ局と同期した通信局の局番に、前記優先度監視部から通知された現在のグランドマスタ局の局番を追記するリスト更新部と
を備えた請求項1に記載の通信システム。 - 前記リスト配信局は、
前記リスト更新部により更新されたグランドマスタリストが通知されると、通知されたグランドマスタリストを含むリスト通知フレームを前記複数の通信局に送信するリスト通知部を備えた請求項2に記載の通信システム。 - 前記リスト更新部は、
前記優先度監視部から通知された現在のグランドマスタ局の局番が前記グランドマスタリストの前記現在のグランドマスタ局と同期した通信局の局番に含まれているか否かを判定し、前記グランドマスタリストの前記現在のグランドマスタ局と同期した通信局の局番に含まれている場合に前記グランドマスタリストを更新すると判定する請求項3に記載の通信システム。 - 前記リスト参照局は、
前記優先度監視部から前記現在のグランドマスタの局番が通知されると、前記現在のグランドマスタの局番が前記グランドマスタリストに含まれる前記グランドマスタの局番か否かを判定し、前記現在のグランドマスタの局番が前記グランドマスタリストに含まれる前記グランドマスタの局番である場合に、前記自局の局番を送信元局番として、前記送信元局番と前記現在のグランドマスタ局の局番とを含む参照マスタ通知フレームを送信する参照マスタ通知部と
を備え、
前記リスト更新部は、
前記参照マスタ通知部から前記参照マスタ通知フレームを受信すると、受信した前記参照マスタ通知フレームに含まれる現在のグランドマスタ局の局番に基づいて、前記グランドマスタリストを更新するか否かを判定し、前記グランドマスタリストを更新すると判定すると、前記参照マスタ通知フレームに含まれる前記送信元局番を、前記グランドマスタリストの現在のグランドマスタ局と同期した通信局の局番に追記する請求項2から請求項4のいずれか1項に記載の通信システム。 - 前記リスト更新部は、
前記参照マスタ通知部から受信した前記参照マスタ通知フレームに含まれる現在のグランドマスタ局の局番が、前記グランドマスタリストの現在のグランドマスタ局の局番と一致するか否かを判定し、一致する場合に前記グランドマスタリストを更新すると判定する請求項5に記載の通信システム。 - 前記リスト更新部は、
予め定められた期間内に、同じ送信元局番を含む参照マスタ通知フレームと、同じ送信元局番を含む優先度通知フレームとの両方を受信しなかったか否かを判定し、受信しなかった場合に、前記送信元局番を前記グランドマスタリストの現在のグランドマスタ局と同期した通信局の局番から削除する請求項5または請求項6に記載の通信システム。 - 前記通信システムは、
前記複数の通信局に含まれる少なくとも1つの通信局であるリスト配信局であって、前記グランドマスタリストを更新するリスト配信局を備え、
前記リスト配信局は、
前記リスト記録部と、
前記参照時刻補正部と、
前記優先度監視部と、
入力インタフェースを介して入力装置からグランドマスタの局番が通知されると、前記グランドマスタリストの現在のグランドマスタ局の局番を、通知されたグランドマスタ局の局番に更新するリスト更新部と
を備えた請求項5に記載の通信システム。 - 前記リスト更新部は、
前記参照マスタ通知部から受信した前記参照マスタ通知フレームに含まれる現在のグランドマスタ局の局番が、前記グランドマスタリストの現在のグランドマスタ局の局番と一致するか否かを判定し、一致する場合に前記グランドマスタリストを更新すると判定する請求項8に記載の通信システム。 - 前記リスト配信局は、前記参照マスタ通知部を備えた請求項5に記載の通信システム。
- 複数の通信局を備え、前記複数の通信局から前記複数の通信局の時刻の基準となるグランドマスタを選出する通信システムに含まれる少なくとも1つの通信局であるリスト参照局において、
前記グランドマスタの局番と、前記グランドマスタと同期した通信局の局番とを含むグランドマスタリストをメモリに記録するリスト記録部と、
他の通信局から前記複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレームを受信し、前記時刻配信フレームの送信元の通信局が前記グランドマスタリストに含まれる前記グランドマスタの局番か否かを判定し、前記時刻配信フレームの送信元の通信局が前記グランドマスタリストに含まれる前記グランドマスタの局番である場合に、前記時刻配信フレームに含まれる時刻情報を用いて自局の時刻を補正する参照時刻補正部と
を備えたリスト参照局。 - 複数の通信局を備え、前記複数の通信局から前記複数の通信局の時刻の基準となるグランドマスタを選出する通信システムに含まれる少なくとも1つの通信局であるリスト配信局において、
前記グランドマスタの局番と、前記グランドマスタと同期した通信局の局番とを含むグランドマスタリストをメモリに記録するリスト記録部と、
前記通信システムにおける現在のグランドマスタの局番を送信元局番として含む優先度通知フレームを受信する優先度監視部と、
前記優先度監視部から現在のグランドマスタの局番が通知されると、通知された現在のグランドマスタの局番に基づいて前記グランドマスタリストを更新するか否かを判定し、前記グランドマスタリストを更新すると判定すると、前記グランドマスタリストの現在のグランドマスタ局の局番を、前記優先度監視部から通知された現在のグランドマスタ局の局番に更新するとともに、前記グランドマスタリストの現在のグランドマスタ局と同期した通信局の局番に、前記優先度監視部から通知された現在のグランドマスタ局の局番を追記するリスト更新部と、
前記リスト更新部により更新されたグランドマスタリストが通知されると、通知されたグランドマスタリストを含むリスト通知フレームを前記複数の通信局に送信するリスト通知部と
を備えたリスト配信局。 - 複数の通信局を備え、前記複数の通信局から前記複数の通信局の時刻の基準となるグランドマスタを選出する通信システムの通信方法において、
前記複数の通信局に含まれる少なくとも1つの通信局であるリスト参照局を備え、
前記リスト参照局のリスト記録部は、前記グランドマスタの局番と、前記グランドマスタと同期した通信局の局番とを含むグランドマスタリストをメモリに記録し、
前記リスト参照局の参照時刻補正部は、他の通信局から前記複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレームを受信し、前記時刻配信フレームの送信元の通信局の局番が前記グランドマスタリストに含まれる前記グランドマスタの局番か否かを判定し、前記時刻配信フレームの送信元の通信局の局番が前記グランドマスタリストに含まれる前記グランドマスタの局番である場合に、前記時刻配信フレームに含まれる時刻情報を用いて自局の時刻を補正する通信方法。 - 複数の通信局を備え、前記複数の通信局から前記複数の通信局の時刻の基準となるグランドマスタを選出する通信システムの通信プログラムにおいて、
前記複数の通信局に含まれる少なくとも1つの通信局であるリスト参照局を備え、
前記グランドマスタの局番と、前記グランドマスタと同期した通信局の局番とを含むグランドマスタリストをメモリに記録するリスト記録処理と、
他の通信局から前記複数の通信局の時刻を同期させるための時刻情報を含む時刻配信フレームを受信し、前記時刻配信フレームの送信元の通信局の局番が前記グランドマスタリストに含まれる前記グランドマスタの局番か否かを判定し、前記時刻配信フレームの送信元の通信局の局番が前記グランドマスタリストに含まれる前記グランドマスタの局番である場合に、前記時刻配信フレームに含まれる時刻情報を用いて自局の時刻を補正する参照時刻補正処理と
をコンピュータである前記リスト参照局に実行させる通信プログラム。
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE112018008085.4T DE112018008085B4 (de) | 2018-11-20 | 2018-11-20 | Kommunikationssystem, Listenverbreitungsstation, Kommunikationsverfahren und Kommunikationsprogramm |
| US17/283,019 US11159303B1 (en) | 2018-11-20 | 2018-11-20 | Communication system, list distribution station, communication method, and computer readable medium |
| PCT/JP2018/042905 WO2020105130A1 (ja) | 2018-11-20 | 2018-11-20 | 通信システム、リスト参照局、リスト配信局、通信方法、および通信プログラム |
| JP2019532154A JP6602517B1 (ja) | 2018-11-20 | 2018-11-20 | 通信システム、リスト配信局、通信方法、および通信プログラム |
| TW108138355A TWI741397B (zh) | 2018-11-20 | 2019-10-24 | 通信系統、列表參照站、列表傳送站、通信方法及通信程式產品 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2018/042905 WO2020105130A1 (ja) | 2018-11-20 | 2018-11-20 | 通信システム、リスト参照局、リスト配信局、通信方法、および通信プログラム |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020105130A1 true WO2020105130A1 (ja) | 2020-05-28 |
Family
ID=68462312
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2018/042905 Ceased WO2020105130A1 (ja) | 2018-11-20 | 2018-11-20 | 通信システム、リスト参照局、リスト配信局、通信方法、および通信プログラム |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US11159303B1 (ja) |
| JP (1) | JP6602517B1 (ja) |
| DE (1) | DE112018008085B4 (ja) |
| TW (1) | TWI741397B (ja) |
| WO (1) | WO2020105130A1 (ja) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7357831B1 (ja) * | 2023-04-04 | 2023-10-06 | 三菱電機株式会社 | 時刻同期装置、時刻同期システム、時刻同期方法及びプログラム |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7022225B1 (ja) * | 2021-01-08 | 2022-02-17 | Ckd株式会社 | データ管理システム |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130227008A1 (en) * | 2012-02-27 | 2013-08-29 | Cisco Technology, Inc. | Clock synchronization based on predefined grandmaster |
| WO2013189536A1 (en) * | 2012-06-20 | 2013-12-27 | Nokia Siemens Networks Oy | Synchronization in computer network |
| US20140281037A1 (en) * | 2013-03-15 | 2014-09-18 | Broadcom Corporation | Fault Tolerant Clock Network |
| JP2018037885A (ja) * | 2016-08-31 | 2018-03-08 | 株式会社メディアリンクス | 時刻同期システム |
Family Cites Families (27)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08328690A (ja) | 1995-05-26 | 1996-12-13 | Mitsubishi Electric Corp | 時刻管理システム装置 |
| JPH10283061A (ja) | 1997-04-04 | 1998-10-23 | Hitachi Ltd | タイマ装置 |
| US6748451B2 (en) * | 1998-05-26 | 2004-06-08 | Dow Global Technologies Inc. | Distributed computing environment using real-time scheduling logic and time deterministic architecture |
| US6665316B1 (en) * | 1998-09-29 | 2003-12-16 | Agilent Technologies, Inc. | Organization of time synchronization in a distributed system |
| JP2002016586A (ja) | 2000-06-27 | 2002-01-18 | Fujikura Ltd | クロック同期マスタ選択装置、及びクロック同期マスタ選択方法 |
| US7269648B1 (en) * | 2001-09-27 | 2007-09-11 | Emc Corporation | Resolving multiple master node conflict in a DDB |
| JP3848235B2 (ja) * | 2002-10-04 | 2006-11-22 | ソニー株式会社 | 通信処理装置、通信処理システム、および方法、並びにコンピュータ・プログラム |
| US7209851B2 (en) | 2003-02-14 | 2007-04-24 | Advantest America R&D Center, Inc. | Method and structure to develop a test program for semiconductor integrated circuits |
| US7460988B2 (en) | 2003-03-31 | 2008-12-02 | Advantest Corporation | Test emulator, test module emulator, and record medium storing program therein |
| US7197417B2 (en) | 2003-02-14 | 2007-03-27 | Advantest America R&D Center, Inc. | Method and structure to develop a test program for semiconductor integrated circuits |
| US7437261B2 (en) | 2003-02-14 | 2008-10-14 | Advantest Corporation | Method and apparatus for testing integrated circuits |
| US7184917B2 (en) | 2003-02-14 | 2007-02-27 | Advantest America R&D Center, Inc. | Method and system for controlling interchangeable components in a modular test system |
| US7290192B2 (en) | 2003-03-31 | 2007-10-30 | Advantest Corporation | Test apparatus and test method for testing plurality of devices in parallel |
| JP4080366B2 (ja) * | 2003-04-01 | 2008-04-23 | シャープ株式会社 | ネットワーク端末、ネットワークシステム、ネットワーク端末の制御方法 |
| US7210087B2 (en) | 2004-05-22 | 2007-04-24 | Advantest America R&D Center, Inc. | Method and system for simulating a modular test system |
| US7197416B2 (en) | 2004-05-22 | 2007-03-27 | Advantest America R&D Center, Inc. | Supporting calibration and diagnostics in an open architecture test system |
| US7430486B2 (en) | 2004-05-22 | 2008-09-30 | Advantest America R&D Center, Inc. | Datalog support in a modular test system |
| JP2006234572A (ja) | 2005-02-24 | 2006-09-07 | Nec Corp | 時刻同期システム、時刻同期化装置、時刻同期方法およびプログラム |
| US7844289B2 (en) * | 2006-03-06 | 2010-11-30 | Intel Corporation | Method and apparatus for synchronization of base stations in a broadband wireless access system |
| US7873862B2 (en) | 2008-10-21 | 2011-01-18 | International Business Machines Corporation | Maintaining a primary time server as the current time server in response to failure of time code receivers of the primary time server |
| JP5826877B2 (ja) | 2014-03-14 | 2015-12-02 | 株式会社東芝 | クロック同期管理装置、クロック同期管理装置の制御方法及び制御プログラム |
| JP6254028B2 (ja) | 2014-03-26 | 2017-12-27 | 東日本電信電話株式会社 | スレーブノード及び時刻同期方法 |
| JP6170456B2 (ja) | 2014-03-26 | 2017-07-26 | 東日本電信電話株式会社 | スレーブノード、制御サーバ、時刻同期先決定方法及びコンピュータプログラム |
| KR101596756B1 (ko) * | 2014-11-03 | 2016-03-07 | 현대자동차주식회사 | 리던던트 그랜드마스터를 이용한 차량 내 네트워크 시간 동기화 제공 방법 및 장치 |
| KR101596759B1 (ko) * | 2014-11-26 | 2016-03-07 | 현대자동차주식회사 | 차량용 이더넷 통신망에서의 시간 동기화 제공 방법 및 장치 |
| CN106576038B (zh) | 2015-07-08 | 2018-09-21 | 三菱电机株式会社 | 网络系统、时间主站点、以及时间从站点 |
| JP2018117227A (ja) | 2017-01-18 | 2018-07-26 | 株式会社明電舎 | 時刻同期方法 |
-
2018
- 2018-11-20 DE DE112018008085.4T patent/DE112018008085B4/de active Active
- 2018-11-20 JP JP2019532154A patent/JP6602517B1/ja active Active
- 2018-11-20 WO PCT/JP2018/042905 patent/WO2020105130A1/ja not_active Ceased
- 2018-11-20 US US17/283,019 patent/US11159303B1/en active Active
-
2019
- 2019-10-24 TW TW108138355A patent/TWI741397B/zh active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130227008A1 (en) * | 2012-02-27 | 2013-08-29 | Cisco Technology, Inc. | Clock synchronization based on predefined grandmaster |
| WO2013189536A1 (en) * | 2012-06-20 | 2013-12-27 | Nokia Siemens Networks Oy | Synchronization in computer network |
| US20140281037A1 (en) * | 2013-03-15 | 2014-09-18 | Broadcom Corporation | Fault Tolerant Clock Network |
| JP2018037885A (ja) * | 2016-08-31 | 2018-03-08 | 株式会社メディアリンクス | 時刻同期システム |
Non-Patent Citations (1)
| Title |
|---|
| IEEE STD 1588TM-2008, 24 July 2008 (2008-07-24), pages 17 - 20 , 175-177 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7357831B1 (ja) * | 2023-04-04 | 2023-10-06 | 三菱電機株式会社 | 時刻同期装置、時刻同期システム、時刻同期方法及びプログラム |
| WO2024209557A1 (ja) * | 2023-04-04 | 2024-10-10 | 三菱電機株式会社 | 時刻同期装置、時刻同期システム、時刻同期方法及びプログラム |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6602517B1 (ja) | 2019-11-06 |
| TW202020602A (zh) | 2020-06-01 |
| TWI741397B (zh) | 2021-10-01 |
| JPWO2020105130A1 (ja) | 2021-02-15 |
| DE112018008085B4 (de) | 2022-09-15 |
| US11159303B1 (en) | 2021-10-26 |
| US20210314133A1 (en) | 2021-10-07 |
| DE112018008085T5 (de) | 2021-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10790958B2 (en) | High-speed interface apparatus and deskew method thereof | |
| US11381333B2 (en) | Communication apparatus, communication system, communication method, and computer readable medium | |
| US9460103B2 (en) | File synchronization method, files synchronization apparatus and electronic device | |
| JP6602517B1 (ja) | 通信システム、リスト配信局、通信方法、および通信プログラム | |
| US20230198651A1 (en) | Method for synchronizing time in multiple time domains, and apparatus implementing the same method | |
| US9568944B2 (en) | Distributed timer subsystem across multiple devices | |
| US20210152322A1 (en) | Communication apparatus, communication system, communication method, and computer readable medium | |
| US11757608B2 (en) | Communication apparatus, communication system, communication method, and computer readable medium | |
| JP2010252107A (ja) | 半導体集積回路装置 | |
| JP4829368B1 (ja) | ファイル処理プログラム、装置及び方法 | |
| US11868218B1 (en) | Recovery point objective compliant star replication | |
| JP4584324B2 (ja) | データ処理システム、及びコンポーネント管理方法 | |
| KR100719131B1 (ko) | 프로그램 업데이트 방법 및 이를 수행하는 영상처리장치 | |
| WO2024209557A1 (ja) | 時刻同期装置、時刻同期システム、時刻同期方法及びプログラム | |
| US20240064200A1 (en) | Information processing apparatus, method, and non-transitory computer readable medium | |
| GB2581719A (en) | Information processing system and information processing method to be executed by information processing system | |
| JP7476481B2 (ja) | 情報処理システム、物理マシン、情報処理方法、及びプログラム | |
| US20220407770A1 (en) | Blockchain system, program and network connection apparatus | |
| JP2025003197A (ja) | 情報処理システム及びプログラム | |
| WO2025203212A1 (ja) | 通信装置、通信方法、および通信プログラム | |
| HK40026730A (en) | Information processing system and information processing method to be executed by information processing system | |
| JP2001290564A (ja) | モード設定回路 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 2019532154 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: 18940938 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18940938 Country of ref document: EP Kind code of ref document: A1 |