WO2025253501A1 - 中継装置 - Google Patents
中継装置Info
- Publication number
- WO2025253501A1 WO2025253501A1 PCT/JP2024/020381 JP2024020381W WO2025253501A1 WO 2025253501 A1 WO2025253501 A1 WO 2025253501A1 JP 2024020381 W JP2024020381 W JP 2024020381W WO 2025253501 A1 WO2025253501 A1 WO 2025253501A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time
- signal
- relay
- port
- user information
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
Definitions
- This disclosure relates to a relay device.
- a relay network consisting of multiple relay devices may be connected with a time source and a time receiving device that synchronizes with the time source, for multiple users.
- the time source and time receiving device that synchronizes with the time source may be collectively referred to as "user device.”
- the relay device reads the header information of the input signal and separates it into a time signal for time synchronization and a main signal other than the time signal, which are then processed separately.
- a time signal is, for example, a signal used in PTP (Precision Time Protocol), a protocol for time synchronization between devices on a network (Non-Patent Document 1).
- relay devices For main signals, relay devices have the ability to distribute and route main signals to each user. However, this function does not apply to time signals, so each user had to specify the port to use and manually set the route from the time source to the time receiving device.
- IEEE Std 1588TM-2019 “IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems”
- the purpose of this disclosure is to provide a relay device that can more easily set a route for transferring time signals between a time source and a time receiving device.
- the relay device disclosed herein forms a relay network made up of multiple relay devices, and relays signals between a time source connected to the relay network and a time receiving device that synchronizes with the time source.
- the relay device includes multiple user connection ports connected to the time source or the time receiving device, multiple relay connection ports connected to other relay devices, an identification unit that identifies user information contained in a received time signal for time synchronization and indicating a device that synchronizes with the time signal, a database unit that stores the identified user information in association with the port that received the time signal, and a determination unit that determines the port to which the received time signal should be forwarded based on the correspondence between the port and the user information stored in the database unit.
- the relay device disclosed herein makes it easier to set up a route for transferring time signals between a time source and a time receiving device.
- FIG. 1 is a diagram illustrating a configuration example of a relay device according to an embodiment of the present disclosure.
- 2 is a flowchart showing an example of an operation of the relay device shown in FIG. 1 .
- FIG. 2 is a diagram illustrating an example of transmission and reception of a time signal between a time source and a time receiving device.
- 4 is a diagram for explaining the operation of the relay device according to the present disclosure when a Sync signal is transmitted from the time source 1a shown in FIG. 3 to the time receiving device 2a.
- FIG. 4 is a diagram for explaining the operation of the relay device according to the present disclosure when a Req signal is transmitted from the time receiving device 2a shown in FIG. 3 to the time source 1a.
- FIG. 4 is a diagram for explaining the operation of the relay device according to the present disclosure when a Sync signal is transmitted from the time source 1b shown in FIG. 3 to the time receiving device 2b.
- FIG. 4 is a diagram for explaining the operation of the relay device according to the present disclosure when a Req signal is transmitted from the time receiving device 2b shown in FIG. 3 to the time source 1b.
- FIG. 4 is a diagram for explaining the operation of the relay device according to the present disclosure when a Sync signal is transmitted from the time source 1c shown in FIG. 3 to the time receiving device 2c.
- FIG. 4 is a diagram for explaining the operation of the relay device according to the present disclosure when a Req signal is transmitted from the time receiving device 2c shown in FIG. 3 to the time source 1c.
- FIG. FIG. 10 is a diagram illustrating an example of the configuration of a computer that functions as a relay device according to the present disclosure.
- FIG. 1 is a diagram showing an example configuration of a relay device 10 according to an embodiment of the present disclosure.
- the relay devices 10 according to the present disclosure form a relay network made up of multiple relay devices 10.
- a time source 1 and a time receiving device 2 that is time-synchronized with the time source 1 (not shown in FIG. 1) are connected to the relay network for multiple users. Users who use the time source 1 and the time receiving device 2 include, for example, mobile phone operators.
- the relay device 10 relays signals between the time source 1 and the time receiving device 2.
- the relay device 10 includes multiple user connection ports Pu (six user connection ports Pu1-Pu6 in the example shown in FIG. 1), multiple relay connection ports Pr (two relay connection ports Pr1 and Pr2 in the example shown in FIG. 1), a signal separator 11, a main signal processor 12, and a time signal processor 13.
- the user connection port Pu is a port to which the time source 1 or the time receiving device 2 (user device) is connected.
- the relay connection port Pr is a port to which another relay device 10 is connected.
- ports when there is no need to distinguish between the user connection port Pu and the relay connection port Pr, they may be simply referred to as "ports.” Which of the ports on the relay device 10 will be used as the user connection port Pu and which will be used as the relay connection port Pr is set in advance. This setting may be made, for example, by an administrator before connecting the user device, or may be made during the manufacturing stage of the relay device 10.
- the signal separation unit 11 Based on the header information of the signal received via the port, the signal separation unit 11 separates the signal into a time signal for time synchronization between the time source 1 and the time receiving device 2, and a main signal other than the time signal.
- the signal separation unit 11 outputs the main signal to the main signal processing unit 12, and outputs the time signal to the time signal processing unit 13.
- the main signal processing unit 12 forwards the main signal output from the signal separation unit 11. Routing of main signals has been performed conventionally and is not directly related to this disclosure, so a detailed explanation will be omitted.
- the time signal processing unit 13 transfers the time signal output from the signal separation unit 11. As shown in FIG. 1, the time signal processing unit 13 includes an identification unit 131, a database unit 132, and a determination unit 133.
- the identification unit 131 identifies user information contained in the time signal (received time signal) output from the signal separation unit 11, which identifies the device (user device) that will be time-synchronized using that time signal. Specifically, the identification unit 131 identifies user information that identifies the user device that will be time-synchronized using that time signal, based on the header information of the time signal. For example, the identification unit 131 reads the domain number that indicates the group of devices that will be time-synchronized, which is contained in the header of the time signal, and identifies the user information.
- the database unit 132 stores the port that received the time signal in association with the user information contained in the time signal and identified by the identification unit 131.
- the determination unit 133 determines the port to which the received time signal should be forwarded based on the correspondence between ports and user information stored in the database unit 132, and forwards the time signal from the determined port.
- Figure 2 is a flowchart showing an example of the operation of the relay device 10 according to this embodiment, and is a diagram for explaining the relay method executed by the relay device 10 according to this embodiment.
- the identification unit 131 identifies user information contained in the received time signal that indicates the device (user device) that will be time-synchronized using the time signal (step S11).
- the database unit 132 associates the port that received the time signal with the user information identified by the identification unit 131 and stores them (step S12).
- the determination unit 133 determines the port to which the received time signal should be forwarded based on the correspondence between the stored ports and user information (step S13).
- relay device 10 Next, the operation of the relay device 10 according to this embodiment will be described in more detail using a specific example.
- three serially connected relay devices 10 relay devices 10A, 10B, and 10C
- time sources 1a-1c and time receiving devices 2a-2c are connected to the relay network.
- time source 1a, time receiving device 2b, and time source 1c are connected to relay device 10A
- time receiving device 2c is connected to relay device 10B
- time receiving device 2a and time source 1b are connected to relay device 10C.
- time source 1a and time receiving device 2a used by user a are time-synchronized
- time source 1b and time receiving device 2b used by user b are time-synchronized
- time source 1c and time receiving device 2c used by user c are time-synchronized.
- time source 1a, time receiving device 2a, and time receiving device 2c are connected to a relay network, then time source 1b and time receiving device 2b are connected to a relay network, and then time source 1c is connected to the relay network.
- time source 1a transmits a Sync signal (first time signal).
- the Sync signal is relayed in the order of relay device 10A, relay device 10B, and relay device 10C, and is received by time receiving device 2a.
- time receiving device 2a receives the Sync signal, it transmits a Req signal (second time signal).
- the Req signal is relayed in the order of relay device 10C, relay device 10B, and relay device 10A, and is received by time source 1a.
- time source 1a receives the Req signal, it transmits a Resp signal (third time signal).
- the Resp signal is relayed in the order of relay device 10A, relay device 10B, and relay device 10C, and is received by time receiving device 2a.
- time receiving device 2a By transmitting and receiving the time signals as described above, time source 1a and time receiving device 2a can be time synchronized. Time synchronization is also possible between time source 1b and time receiving device 2b, and between time source 1c and time receiving device 2c, by sending and receiving similar time signals.
- relay devices 10A-10C when transmitting a Sync signal from time source 1a to time receiving device 2a will be described with reference to Figure 4.
- the symbols "A"-[C] will be added to the end of the components of relay devices 10A-10C, respectively.
- time source 1a is connected to user connection port Pu1A of relay device 10A
- time receiving device 2c is connected to user connection port Pu4B of relay device 10B
- time receiving device 2a is connected to user connection port Pu4C of relay device 10C
- relay device 10A and relay device 10B are connected via relay connection port Pr2A and relay connection port Pr1B
- relay device 10B and relay device 10C are connected via relay connection port Pr2B and relay connection port Pr1C.
- FIGS. 4 to 9 of the ports of relay device 10 ports connected to user devices (time source 1 and time receiving device 2) or other relay devices 10 (linked-up ports) are indicated by solid lines, and ports not connected to user devices or other relay devices (linked-down ports) are indicated by dotted lines.
- the relay device 10 receives the Sync signal via the user connection port Pu or the relay connection port Pr.
- the identification unit 131 identifies the user information contained in the received Sync signal and stores the user information in the database unit 132 in association with the port through which the Sync signal was received.
- the determination unit 133 determines the port to which the received Sync signal is to be transferred based on the correspondence between the ports and the user information stored in the database unit 132. Specifically, the determination unit 133 determines the port to which the Sync signal is to be transferred in accordance with the following conditions (1) to (3).
- the Sync signal is not transferred from a port that is linked down.
- a Sync signal is transferred in time from the linked-up relay connection port Pr.
- a Sync signal is transferred from a user connection port Pu that is linked up and does not have user information stored in the database unit 132, and a user connection port Pu that has received a time signal containing user information identical to the user information contained in the time signal.
- the determination unit 133 determines, among the multiple user connection ports Pu, a port other than the port that received the time signal containing user information different from the user information contained in the time signal as the port to which the time signal should be forwarded.
- each of the relay devices 10A-10C will be described in more detail. First, the operation of the relay device 10A will be described.
- Relay device 10A receives a Sync signal transmitted from time source 1a via user connection port Pu1A.
- Identification unit 131A identifies the user information contained in the received Sync signal and stores the port that received the Sync signal and the user information in database unit 132A. Specifically, identification unit 131A stores in database unit 132A that "the Sync signal from time source 1a was received at user connection port Pu1A," that is, "time source 1a is connected to user connection port Pu1A.”
- the determination unit 133A determines the port to which the received Sync signal should be forwarded. Due to condition (1), the determination unit 133A will not forward the Sync signal from the linked-down relay connection port Pr1A and user connection ports Pu2A-Pu6A. Because the linked-up relay connection port Pr2A is linked-up, the determination unit 133A will forward the Sync signal from relay connection port Pr2A due to condition (2).
- Relay device 10B receives the Sync signal transmitted from relay device 10A via relay connection port Pr1B.
- Identification unit 131B identifies the user information contained in the received Sync signal and stores the port that received the Sync signal and the user information in database unit 132B. Specifically, identification unit 131B stores in database unit 132B that "the Sync signal from time source 1a was received at intermediate connection port Pr1B.”
- the determination unit 133B determines the port to which to forward the received Sync signal. Due to condition (1), the determination unit 133B does not forward the Sync signal from the user connection ports Pu1B-Pu3B and Pu5B-Pu6B, which are linked down. Because the relay connection port Pr2B is linked up, the determination unit 133B forwards the Sync signal from relay connection port Pr2B due to condition (2). Furthermore, because no user information associated with user connection port Pu4B is stored in the database unit 132B, the determination unit 133B forwards the Sync signal from user connection port Pu4B due to condition (3).
- the Sync signal transmitted from user connection port Pu4B is received by time receiving device 2c. Because the user information contained in the received Sync signal differs from its own user information, time receiving device 2c discards the received Sync signal.
- Relay device 10C receives the Sync signal transmitted from relay device 10B via relay connection port Pr1C.
- Identification unit 131C identifies the user information contained in the received Sync signal and stores the port that received the Sync signal and the user information in database unit 132C. Specifically, identification unit 131C stores in database unit 132C that "a Sync signal from time source 1a was received at intermediate connection port Pr1C.”
- the determination unit 133C determines the port to which to forward the received Sync signal. Due to condition (1), the determination unit 133C does not forward the Sync signal from the linked-down relay connection port Pr2C and the user connection ports Pu1C-Pu3C and Pu5C-Pu6C. Furthermore, since no user information associated with the linked-up user connection port Pu4C is stored in the database unit 132C, the determination unit 133C forwards the Sync signal from the user connection port Pu4C due to condition (3).
- the Sync signal transmitted from the user connection port Pu4C is received by the time receiving device 2a.
- the time receiving device 2a transmits a Req signal because the user information included in the received Sync signal is the same as its own user information.
- relay devices 10A-10C when a Req signal is sent from time receiving device 2a to time source 1a will be described with reference to Figure 5.
- the relay device 10 receives a Req signal via the user connection port Pu or the relay connection port Pr.
- the identification unit 131 identifies the user information contained in the received Req signal, associates the Req signal with the user information, and stores it in the database unit 132.
- the determination unit 133 determines the port to which the received Req signal is to be transferred, based on the correspondence between the ports and the user information stored in the database unit 132. Specifically, the determination unit 133 determines the port to which the Req signal is to be transferred, in accordance with the following conditions (4) to (6). (4) Do not transfer the Req signal to a port that is in link down state. (5) The Req signal is transferred from one of the linked-up relay connection ports Pr, for which the database unit 132 stores information indicating that a Sync signal containing the same user information as the user information contained in the Req signal has been received. (6) The Req signal is transferred from a port among the linked-up user connection ports Pu, which is stored in the database unit 132 as having a time source 2a with the same user information as the user information included in the Req signal.
- the determination unit 133 when the determination unit 133 receives a Req signal (second time signal) transmitted from the time receiving device 2 in response to the reception of a Sync signal (first time signal) transmitted from the time source 1, it determines the port that received the Sync signal containing the same user information as the user information contained in the Req signal as the port to which the Req signal should be forwarded. By doing so, only time signals containing the user information associated with the port and stored in the database unit 132 are forwarded. This makes it possible to prevent unnecessary traffic from flowing.
- each of relay devices 10A-10C when a Req signal is received will be described in more detail. First, the operation of relay device 10C will be described.
- the relay device 10C receives the Req signal transmitted from the time reception device 2b via the user connection port Pu4C.
- the identification unit 131C identifies the user information contained in the received Req signal and stores the user information in the database unit 132C in association with the port through which the Req signal was received. Specifically, the identification unit 131C stores in the database unit 132C that "the Req signal from the time reception device 2a was received at the user connection port Pu4C," that is, "the time reception device 2a is connected to the user connection port Pu4C.”
- the determination unit 133C determines the port P to which the received Req signal will be forwarded. Due to condition (4), the determination unit 133C will not forward the Req signal from the linked-down relay connection port Pr2C and user connection ports Pu1C-Pu3C and Pu5C-Pu6C.
- the relay connection port Pr1C is linked-up. Furthermore, because the time source 1a and the time receiving device 2a are used by the same user a, the user information included in the Sync sent from the time source 1a is the same as the user information included in the Req signal sent from the time receiving device 2a.
- the database unit 132C stores the fact that "the Sync signal from the time source 1a was received at the intermediate connection port Pr1C.” Therefore, due to condition (5), the determination unit 133C forwards the Req signal from the relay connection port Pr1C.
- Relay device 10B receives the Req signal transmitted from relay device 10C via relay connection port Pr2B.
- Identification unit 131B identifies the user information contained in the received Req signal and stores the port through which the Req signal was received and the user information in database unit 132B. Specifically, identification unit 131B stores in database unit 132B that "the Req signal from time receiving device 2a was received at relay connection port Pr2B.”
- the determination unit 133B determines the port to which the received Req signal should be forwarded. Due to condition (4), the determination unit 133B does not forward the Req signal from the user connection ports Pu1B-Pu3B and Pu5B-Pu6B, which are linked down. The relay connection port Pr1B is linked up. Furthermore, as described above, the time source 1a and the time reception device 2a are used by the same user a, and therefore the user information contained in the time source 1a is the same as the user information contained in the time reception device 2a.
- the database unit 132B stores the fact that "a Sync signal from the time source 1a was received at the intermediate connection port Pr1B.” Therefore, due to condition (5), the determination unit 133B forwards the Req signal from the relay connection port Pr1B. Furthermore, although the user connection port Pu4B is linked up, the database unit 132B does not store the fact that a Sync signal containing the same user information as the user information contained in the Req signal was received at the user connection port Pu4B. Therefore, due to condition (6), the decision unit 133C does not transfer the Req signal from user connection port Pu4B.
- Relay device 10A receives a Req signal transmitted from relay device 10B via relay connection port Pr2A.
- the identification unit 131A identifies the user information contained in the received Req signal and stores the port through which the Req signal was received and the user information in the database unit 132A. Specifically, the identification unit 131A stores in the database unit 132A that "the Req signal from time receiving device 2a was received at intermediate connection port Pr2A.”
- the decision unit 133A determines the port to which to forward the received Req signal. Due to condition (4), the decision unit 133A does not forward the Req signal from the linked-down relay connection port Pr1A and user connection ports Pu2A-Pu6A. Furthermore, since the user connection port Pu1A is linked-up and the database unit 132A stores information that the time source 1a is connected to the user connection port Pu1A, the decision unit 133A forwards the Req signal from the user connection port Pu1A due to condition (6). Upon receiving the Req signal, the time source 1a transmits a Resp signal. The Req signal transmitted from the user connection port Pu1A is received by the time source 1a. Since the user information contained in the received Req signal is the same as its own user information, the time source 1a transmits a Resp signal.
- the operation of the relay device 10 when it receives a Resp signal is the same as the operation of the relay device 10 when it receives a Req signal, as described with reference to Figure 5, and it is sufficient to read the Req signal as the Resp signal and the Sync signal as the Req signal.
- the determination unit 133 receives a Resp signal (third time signal) transmitted from the time source 1a in response to receiving a Req signal (second time signal), it determines that the port that received the Req signal containing the same user information as the user information contained in the Resp signal is the port to forward the Resp signal. This makes it possible to uniquely determine a route for the Resp signal, just as for the Req signal.
- FIG. 6 is a diagram showing the operation of the relay device 10 when a Sync signal is sent from the time source 1b to the time receiving device 2b.
- FIG. 7 is a diagram showing the operation of the relay device 10 when a Req signal is sent from the time source 1b to the time receiving device 2b.
- the operation of the relay device 10 when relaying the Sync signal shown in Figure 6 is generally similar to the operation of the relay device 10 when relaying the Sync signal, as described with reference to Figure 4.
- the operation of the relay device 10 when relaying the Req signal shown in Figure 7 is generally similar to the operation of the relay device 10 when relaying the Req signal, as described with reference to Figure 5. Therefore, detailed explanations will be omitted, and the main differences will be described.
- the determination unit 133C of the relay device 10C when the determination unit 133C of the relay device 10C receives the Sync signal transmitted from the time source 1b, it forwards the Sync signal from the relay connection port Pr1C among the linked-up ports, but does not forward the Sync signal from the user relay port Pu4C. This is because it has already been registered in the database unit 132C that the time receiving device 2a is connected to the user relay port Pu4C.
- relay device 10A when the determination unit 133A of relay device 10A receives a Sync signal transmitted from relay device 10B, it forwards the Sync signal from the user connection port Pu2A among the linked-up ports, but does not forward the Sync signal from the user relay port Pu1A. This is because it has already been registered in the database unit 132A that the time source 1a is connected to the user relay port Pu1A.
- Figure 8 is a diagram showing the operation of the relay device 10 when a Sync signal is sent from the time source 1c to the time receiving device 2c.
- Figure 9 is a diagram showing the operation of the relay device 10 when a Req signal is sent from the time source 1c to the time receiving device 2c.
- the operation of the relay device 10 when relaying the Sync signal shown in Figure 8 is generally similar to the operation of the relay device 10 when relaying the Sync, as described with reference to Figure 4.
- the operation of the relay device 10 when relaying the Req signal shown in Figure 9 is generally similar to the operation of the relay device 10 when relaying the Req signal, as described with reference to Figure 5. Therefore, detailed explanations will be omitted, and the main differences will be described.
- the decision unit 133A of relay device 10A when the decision unit 133A of relay device 10A receives a Sync signal transmitted from time source 1c, it forwards the Sync signal from relay connection port Pr2A, one of the linked-up ports, and does not forward the Sync signal from user relay ports Pu1A and Pu2A. This is because it has already been registered in the database unit 132A that time source 1a is connected to user relay port Pu1A and time receiving device 2b is connected to user relay port Pu2A.
- the decision unit 133B of relay device 10B when the decision unit 133B of relay device 10B receives a Req signal transmitted from time receiving device 2c, it transfers the Req signal from relay connection port Pr1B among the linked-up ports, but does not transfer the Req signal from relay connection port Pr2B.
- the decision unit 133B transfers the Req signal from a port for which the database unit 132B stores information indicating that a Sync signal containing the same user information as the user information contained in the Req signal has been received.
- the decision unit 133B transfers the Req signal from relay connection port Pr1B.
- the relay device 10 comprises multiple user connection ports Pu connected to the time source 1 or the time receiving device 2, multiple relay connection ports Pr connected to other relay devices 10, an identification unit 131, a database unit 132, and a determination unit 133.
- the identification unit 131 identifies user information contained in the received time signal and indicating the device with which time synchronization is performed using the time signal.
- the database unit 132 stores the port that received the time signal in association with the identified user information. Based on the association between the port and user information stored in the database unit 132, the port to which the received time signal should be forwarded is determined.
- the relay device 10 can determine the route for forwarding the time signal without manual intervention. Therefore, the relay device 10 of this embodiment makes it easier to set the route for forwarding the time signal between the time source 1 and the time receiving device 2.
- the above-mentioned relay device 10 can be realized by a computer 20 shown in Figure 10.
- a program for causing the computer 20 to function as the relay device 10 may be provided.
- the program may also be stored on a storage medium or provided via a network.
- Figure 10 is a block diagram showing the general configuration of a computer 20 that functions as the relay device 10.
- the computer 20 may be a general-purpose computer, a dedicated computer, a workstation, a PC (Personal Computer), an electronic notepad, etc.
- the program instructions may be program code, code segments, etc. for performing the required tasks.
- the computer 20 has a processor 21, a ROM (Read Only Memory) 22, a RAM (Random Access Memory) 23, storage 24, an input unit 25, and a communication interface (I/F) 27.
- the processor 21 is specifically a CPU (Central Processing Unit), MPU (Micro Processing Unit), GPU (Graphics Processing Unit), DSP (Digital Signal Processor), SoC (System on a Chip), etc., and may be composed of multiple processors of the same or different types.
- Processor 21 is a control unit that controls each component and performs various arithmetic operations. That is, processor 21 reads a program from ROM 22 or storage 24 and executes the program using RAM 23 as a work area. Processor 21 controls each component and performs various arithmetic operations in accordance with the program stored in ROM 22 or storage 24. In this embodiment, ROM 22 or storage 24 stores a program for operating computer 20 as relay device 10 according to the present disclosure. Each component of relay device 10 is realized by processor 21 reading and executing the program.
- the program may be provided in a form stored on a non-transitory storage medium such as a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a USB (Universal Serial Bus) memory.
- the program may also be provided in a form that can be downloaded from an external device via a network.
- ROM 22 stores various programs and data.
- RAM 23 temporarily stores programs or data as a working area.
- Storage 24 is composed of an HDD (Hard Disk Drive) or SSD (Solid State Drive), and stores various programs and data, including the operating system.
- ROM 22 or storage 24 constitutes memory that stores and associates the port that received the time signal with the user information contained in that time signal.
- the input unit 25 includes a pointing device such as a mouse and a keyboard, and is used to perform various inputs.
- the communication interface 27 is an interface for communicating with other devices, such as an interface for a LAN.
- a relay device that configures a relay network made up of a plurality of relay devices, and relays a signal between a time source connected to the relay network and a time receiving device that is time-synchronized with the time source, a plurality of user connection ports connected to the time source or the time receiving device; a plurality of relay connection ports for connecting to other relay devices; a processor; a memory; The processor: Identifying user information included in the received time signal for time synchronization, the user information indicating a device to be time-synchronized by the time signal; storing the identified user information in association with the port that received the time signal in the memory; a relay device configured to determine a port to which the received time signal is to be transferred based on the correspondence between the port and the user information stored in the memory.
- a relay device in which, when the processor receives a second time signal transmitted from the time receiving device in response to receiving a first time signal transmitted from the time source, it determines the port that received the first time signal containing the same user information as the user information contained in the second time signal as the port to forward the second time signal.
- the processor unit When the processor unit receives a third time signal transmitted from the time source in response to receiving the second time signal, it determines the port that received the second time signal containing the same user information as the user information contained in the third time signal as the port to forward the third time signal.
- the processor When the processor receives the time signal, it determines, among the plurality of user connection ports, a port other than the port that received the time signal containing user information different from the user information contained in the time signal as the port to which the time signal will be forwarded.
- a relay method implemented by a relay device that configures a relay network consisting of a plurality of relay devices and relays a signal between a time source connected to the relay network and a time receiving device that is time-synchronized with the time source, the method comprising: The relay device a plurality of user connection ports connected to the time source or the time receiving device; a plurality of relay connection ports for connecting to other relay devices; a memory; Identifying user information included in the received time signal for time synchronization, the user information indicating a device to be time-synchronized by the time signal; storing the identified user information in association with the port that received the time signal in the memory; a relay method for determining a port to which the received time signal is to be transferred based on the correspondence between the port and the user information stored in the memory;
- a non-transitory storage medium storing a program executable by a computer, the non-transitory storage medium storing a program that causes the computer to operate as the relay device described in any one of appendix items 1 to 4.
- Time source 2 Time receiving device 10
- Relay device 20 Computer 21
- Processor 22 ROM 23
- RAM 24 Storage 25
- Input unit 27
- Communication I/F 29 Bus 11
- Signal Separation Unit 12 Main Signal Processing Unit 13
- Time Signal Processing Unit 131
- Identification Unit 132 Database Unit 133 Determination Unit Pu User Connection Port Pr Relay Connection Port
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
本開示に係る中継装置(10)は、時刻源(1)または時刻受信装置(2)と接続する複数のユーザ接続ポート(Pu)と、他の中継装置(10)と接続する複数の中継接続ポート(Pr)と、受信した時刻同期のための時刻信号に含まれる、当該時刻信号により時刻同期する装置を示すユーザ情報を識別する識別部(131)と、時刻信号を受信したポートと、識別されたユーザ情報とを対応付けて記憶するデータベース部(132)と、データベース部(12)に記憶されているポートとユーザ情報との対応関係に基づき、受信した時刻信号を転送するポートを決定する決定部(133)と、を備える。
Description
本開示は、中継装置に関する。
複数の中継装置で構成された中継網に、時刻源および時刻源と時刻同期する時刻受信装置を、複数のユーザ分だけ接続する場合が考えられる。以下では、時刻同期する時刻源および時刻受信装置を合わせて「ユーザ装置」と称することがある。一般に、中継装置に信号が入力されると、中継装置は、入力された信号のヘッダ情報を読み取り、時刻同期のための時刻信号と、時刻信号以外の主信号とに分離して別々に処理する。時刻信号とは、例えば、ネットワーク上の装置間での時刻同期のためのプロトコルであるPTP(Precision Time Protocol)で使用される信号である(非特許文献1)。
主信号については、中継装置は、ユーザごとに主信号を振り分け、ルーティングする機能を備えている。一方、時刻信号については、この機能が適用されないため、ユーザごとに使用するポートを指定し、時刻源から時刻受信装置までのルートを手動で設定する必要があった。
手動でのルート設定では、設置するユーザ装置の数が多くなるほど、また、時刻源と時刻受信装置との間をつなぐ中継装置の数が多くなるほど、設定に必要な稼働・手間が増えてしまう。また、ヒューマンエラーによる設定ミスが起きる可能性もある。
上記のような問題点に鑑みてなされた本開示の目的は、時刻源と時刻受信装置との間で時刻信号を転送するルートをより簡易に設定することができる中継装置を提供することにある。
上記課題を解決するため、本開示に係る中継装置は、複数の中継装置で構成される中継網を構成し、前記中継網に接続する時刻源および前記時刻源と時刻同期する時刻受信装置の間で信号を中継する中継装置であって、前記時刻源または前記時刻受信装置と接続する複数のユーザ接続ポートと、他の中継装置と接続された複数の中継接続ポートと、受信した時刻同期のための時刻信号に含まれる、当該時刻信号により時刻同期する装置を示すユーザ情報を識別する識別部と、前記時刻信号を受信したポートと、前記識別されたユーザ情報とを対応付けて記憶するデータベース部と、前記データベース部に記憶されている前記ポートと前記ユーザ情報との対応関係に基づき、前記受信した時刻信号を転送するポートを決定する決定部と、を備える。
本開示に係る中継装置によれば、時刻源と時刻受信装置との間で時刻信号を転送するルートをより簡易に設定することができる。
以下、本開示の実施の形態について図面を参照して説明する。
図1は、本開示の一実施形態に係る中継装置10の構成例を示す図である。本開示に係る中継装置10は、複数の中継装置10で構成される中継網を構成する。中継網には、図1においては不図示の、時刻源1および時刻源1と時刻同期する時刻受信装置2が、複数のユーザ分だけ接続される。時刻源1および時刻受信装置2を使用するユーザは、例えば、携帯電話事業者などである。中継装置10は、時刻源1と時刻受信装置2との間で信号を中継する。
図1に示すように、本実施形態に係る中継装置10は、複数のユーザ接続ポートPu(図1に示す例では、6つのユーザ接続ポートPu1-Pu6)と、複数の中継接続ポートPr(図1に示す例では、2つの中継接続ポートPr1,Pr2)と、信号分離部11と、主信号処理部12と、時刻信号処理部13とを備える。
ユーザ接続ポートPuは、時刻源1または時刻受信装置2(ユーザ装置)が接続されるポートである。中継接続ポートPrは他の中継装置10が接続されるポートである。以下では、ユーザ接続ポートPuと中継接続ポートPrとを区別しない場合には、単に「ポート」と称することがある。中継装置10が備えるポートのうち、どのポートをユーザ接続ポートPuとして使用し、どのポートを中継接続ポートPrとして使用するかは予め設定される。当該設定は、例えば、管理者がユーザ装置の接続前に行ってもよいし、中継装置10の作製段階で行われてもよい。
信号分離部11は、ポートを介して受信した信号のヘッダ情報に基づき、当該信号を、時刻源1と時刻受信装置2との時刻同期のための時刻信号と、時刻信号以外の主信号とに分離する。信号分離部11は、主信号を主信号処理部12に出力し、時刻信号を時刻信号処理部13に出力する。
主信号処理部12は、信号分離部11から出力された主信号を転送処理する。主信号のルーティングについては従来から行われており、本開示とは直接関係しないため、詳細な説明は省略する。
時刻信号処理部13は、信号分離部11から出力された時刻信号を転送処理する。図1に示すように、時刻信号処理部13は、識別部131と、データベース部132と、決定部133とを備える。
識別部131は、信号分離部11から出力された時刻信号(受信した時刻信号)に含まれる、当該時刻信号により時刻同期する装置(ユーザ装置)を示すユーザ情報を識別する。具体的には、識別部131は、時刻信号のヘッダ情報に基づき、当該時刻信号により時刻同期するユーザ装置を示すユーザ情報を識別する。識別部131は、例えば、時刻信号のヘッダに含まれる、時刻同期する装置のグループを示すdomain numberを読み取り、ユーザ情報を識別する。
データベース部132は、時刻信号を受信したポートと、当該時刻信号に含まれ、識別部131により識別されたユーザ情報とを対応付けて記憶する。
決定部133は、データベース部132に記憶されているポートとユーザ情報との対応関係に基づき、受信した時刻信号を転送するポートを決定し、決定したポートから時刻信号を転送する。
次に、本実施形態に係る中継装置10の動作について説明する。図2は、本実施形態に係る中継装置10の動作の一例を示すフローチャートであり、本実施形態に係る中継装置10が実行する中継方法について説明するための図である。
識別部131は、受信した時刻信号に含まれる、当該時刻信号により時刻同期する装置(ユーザ装置)を示すユーザ情報を識別する(ステップS11)。
データベース部132は、時刻信号を受信したポートと、識別部131により識別されたユーザ情報とを対応付けて記憶する(ステップS12)。
決定部133は、記憶されているポートとユーザ情報との対応関係に基づき、受信した時刻信号を転送するポートを決定する(ステップS13)。
次に、本実施形態に係る中継装置10の動作について具体例を挙げてより詳細に説明する。以下では、図3に示すように、直列に接続された3つの中継装置10(中継装置10A,10B,10C)が中継網を構成し、中継網に時刻源1a~1cおよび時刻受信装置2a~2cが接続されている例を用いて説明する。具体的には、中継装置10Aには、時刻源1a、時刻受信装置2bおよび時刻源1cが接続され、中継装置10Bには、時刻受信装置2cが接続され、中継装置10Cには、時刻受信装置2aおよび時刻源1bが接続されている。また、以下では、PTPプロトコルに従い、ユーザaが使用する時刻源1aと時刻受信装置2aとが時刻同期し、ユーザbが使用する時刻源1bと時刻受信装置2bとが時刻同期し、ユーザcが使用する時刻源1cと時刻受信装置2cとが時刻同期するものとする。
以下では、時刻源1a、時刻受信装置2aおよび時刻受信装置2cを中継網に接続し、次に、時刻源1bおよび時刻受信装置2bを中継網に接続し、次に、時刻源1cを中継網に接続する例を用いて説明する。
時刻源1aと時刻受信装置2aとが時刻同期する場合、時刻源1aは、Sync信号(第1の時刻信号)を送信する。Sync信号は、中継装置10A、中継装置10Bおよび中継装置10Cの順に中継され、時刻受信装置2aで受信される。時刻受信装置2aは、Sync信号を受信すると、Req信号(第2の時刻信号)を送信する。Req信号は、中継装置10C、中継装置10Bおよび中継装置10Aの順に中継され、時刻源1aで受信される。時刻源1aは、Req信号を受信すると、Resp信号(第3の時刻信号)を送信する。Resp信号は、中継装置10A、中継装置10Bおよび中継装置10Cの順に中継され、時刻受信装置2aで受信される。上述した時刻信号の送受信により、時刻源1aと時刻受信装置2aとが時刻同期することができる。時刻源1bと時刻受信装置2bとの間、時刻源1cと時刻受信装置2cとの間でも、同様の時刻信号の送受信により時刻同期が可能である。以下では、時刻信号を受信した場合の、中継装置10A-10Cの動作について、図4から図9を参照して説明する。
まず、時刻源1aから時刻受信装置2aにSync信号を送信する場合の、中継装置10A-10Cの動作について図4を参照して説明する。以下では、中継装置10A-10Cの動作を分けて説明するために、中継装置10A-10Cそれぞれが備える構成の末尾に、符号「A」-[C]を付加する。
図4に示す例では、中継装置10Aのユーザ接続ポートPu1Aに時刻源1aが接続され、中継装置10Bのユーザ接続ポートPu4Bに時刻受信装置2cが接続され、中継装置10Cのユーザ接続ポートPu4Cに時刻受信装置2aが接続されている。また、中継装置10Aと中継装置10Bとが、中継接続ポートPr2Aおよび中継接続ポートPr1Bを介して接続され、中継装置10Bと中継装置10Cとが中継接続ポートPr2Bおよび中継接続ポートPr1Cを介して接続されている。図4から図9では、中継装置10が備えるポートのうち、ユーザ装置(時刻源1および時刻受信装置2)または他の中継装置10と接続されたポート(リンクアップしているポート)を実線で示し、ユーザ装置とも他の中継装置とも接続されていないポート(リンクダウンしているポート)を点線で示す。
中継装置10は、ユーザ接続ポートPuまたは中継接続ポートPrを介して、Sync信号を受信する。識別部131は、受信したSync信号に含まれるユーザ情報を識別し、Sync信号を受信したポートとユーザ情報とを対応付けてデータベース部132に記憶させる。
決定部133は、データベース部132に記憶されているポートとユーザ情報との対応関係に基づき、受信したSync信号を転送するポートを決定する。具体的には、決定部133は、以下の条件(1)-(3)に従い、Sync信号を転送するポートを決定する。
(1)リンクダウンしているポートからはSync信号を転送しない。
(2)リンクアップしている中継接続ポートPrからSync信号を時刻転送する。
(3)リンクアップしているユーザ接続ポートPuのうち、データベース部132にユーザ情報が対応付けて記憶されていないユーザ接続ポートPu、および、時刻信号に含まれるユーザ情報と同一のユーザ情報を含む時刻信号を受信したユーザ接続ポートPuからSync信号を転送する。
(1)リンクダウンしているポートからはSync信号を転送しない。
(2)リンクアップしている中継接続ポートPrからSync信号を時刻転送する。
(3)リンクアップしているユーザ接続ポートPuのうち、データベース部132にユーザ情報が対応付けて記憶されていないユーザ接続ポートPu、および、時刻信号に含まれるユーザ情報と同一のユーザ情報を含む時刻信号を受信したユーザ接続ポートPuからSync信号を転送する。
すなわち、条件(3)では、決定部133は、時刻信号を受信すると、複数のユーザ接続ポートPuのうち、時刻信号に含まれるユーザ情報と異なるユーザ情報を含む時刻信号を受信したポート以外のポートを、時刻信号を転送するポートと決定する。
図4に示す例を用いて、中継装置10A-10Cそれぞれの動作についてより具体的に説明する。まず、中継装置10Aの動作について説明する。
中継装置10Aは、ユーザ接続ポートPu1Aを介して、時刻源1aから送信されたSync信号を受信する。識別部131Aは、受信したSync信号に含まれるユーザ情報を識別し、Sync信号を受信したポートとユーザ情報とをデータベース部132Aに記憶させる。具体的には、識別部131Aは、「ユーザ接続ポートPu1Aで時刻源1aのSync信号を受信した」こと、すなわち、「ユーザ接続ポートPu1Aに時刻源1aが接続されている」ことをデータベース部132Aに記憶させる。
決定部133Aは、受信したSync信号を転送するポートを決定する。条件(1)より、決定部133Aは、リンクダウンしている中継接続ポートPr1Aおよびユーザ接続ポートPu2A-Pu6AからはSync信号を転送しない。中継接続ポートPr2Aはリンクアップしているため、決定部133Aは、条件(2)より、中継接続ポートPr2AからSync信号を転送する。
次に、中継装置10Bの動作について説明する。中継装置10Bは、中継接続ポートPr1Bを介して、中継装置10Aから送信されたSync信号を受信する。識別部131Bは、受信したSync信号に含まれるユーザ情報を識別し、Sync信号を受信したポートとユーザ情報とをデータベース部132Bに記憶させる。具体的には、識別部131Bは、「中間接続ポートPr1Bで時刻源1aのSync信号を受信した」ことをデータベース部132Bに記憶させる。
決定部133Bは、受信したSync信号を転送するポートを決定する。条件(1)より、決定部133Bは、リンクダウンしているユーザ接続ポートPu1B-Pu3B,Pu5B-Pu6BからはSync信号を転送しない。中継接続ポートPr2Bはリンクアップしているため、決定部133Bは、条件(2)より、中継接続ポートPr2BからSync信号を転送する。また、ユーザ接続ポートPu4Bに対応付けてユーザ情報がデータベース部132Bに記憶されていないので、決定部133Bは、条件(3)より、ユーザ接続ポートPu4BからSync信号を転送する。
ユーザ接続ポートPu4Bから送信されたSync信号は、時刻受信装置2cで受信される。時刻受信装置2cは、受信したSync信号に含まれるユーザ情報が自身のユーザ情報とは異なるため、受信したSync信号を破棄する。
次に、中継装置10Cの動作について説明する。中継装置10Cは、中継接続ポートPr1Cを介して、中継装置10Bから送信されたSync信号を受信する。識別部131Cは、受信したSync信号に含まれるユーザ情報を識別し、Sync信号を受信したポートとユーザ情報とをデータベース部132Cに記憶させる。具体的には、識別部131Cは、「中間接続ポートPr1Cで時刻源1aのSync信号を受信した」ことをデータベース部132Cに記憶させる。
決定部133Cは、受信したSync信号を転送するポートを決定する。条件(1)より、決定部133Cは、リンクダウンしている中継接続ポートPr2Cおよびユーザ接続ポートPu1C-Pu3C,Pu5C-Pu6CからはSync信号を転送しない。また、リンクアップしているユーザ接続ポートPu4Cに対応付けてユーザ情報がデータベース部132Cに記憶されていないので、決定部133Cは、条件(3)より、ユーザ接続ポートPu4CからSync信号を転送する。ユーザ接続ポートPu4Cから送信されたSync信号は、時刻受信装置2aで受信される。時刻受信装置2aは、受信したSync信号に含まれるユーザ情報が自身のユーザ情報と同一であるため、Req信号を送信する。
次に、時刻受信装置2aから時刻源1aにReq信号を送信する場合の、中継装置10A-10Cの動作について図5を参照して説明する。
中継装置10は、ユーザ接続ポートPuまたは中継接続ポートPrを介して、Req信号を受信する。識別部131は、受信したReq信号に含まれるユーザ情報を識別し、Req信号とユーザ情報とを対応付けてデータベース部132に記憶させる。
決定部133は、データベース部132に記憶されているポートとユーザ情報との対応関係に基づき、受信したReq信号を転送するポートを決定する。具体的には、決定部133は、以下の条件(4)-(6)に従い、Req信号を転送するポートを決定する。
(4)リンクダウンしているポートにはReq信号を転送しない。
(5)リンクアップしている中継接続ポートPrのうち、Req信号に含まれるユーザ情報と同一のユーザ情報を含むSync信号を受信したことがデータベース部132に記憶されているポートからReq信号を転送する。
(6)リンクアップしているユーザ接続ポートPuのうち、Req信号に含まれるユーザ情報と同一のユーザ情報の時刻源2aが接続されていることがデータベース部132に記憶されているポートからReq信号を転送する。
(4)リンクダウンしているポートにはReq信号を転送しない。
(5)リンクアップしている中継接続ポートPrのうち、Req信号に含まれるユーザ情報と同一のユーザ情報を含むSync信号を受信したことがデータベース部132に記憶されているポートからReq信号を転送する。
(6)リンクアップしているユーザ接続ポートPuのうち、Req信号に含まれるユーザ情報と同一のユーザ情報の時刻源2aが接続されていることがデータベース部132に記憶されているポートからReq信号を転送する。
すなわち、条件(4),(5)では、決定部133は、時刻源1から送信されるSync信号(第1の時刻信号)の受信に応じて時刻受信装置2から送信されるReq信号(第2の時刻信号)を受信すると、Req信号に含まれるユーザ情報と同じユーザ情報を含むSync信号を受信したポートを、Req信号を転送するポートと決定する。こうすることで、ユーザ情報が対応付けてデータベース部132に記憶されたポートからは、当該ユーザ情報を含む時刻信号しか転送されない。そのため、無駄なトラフィックが流れることを防ぐことができる。
Req信号を受信した場合の中継装置10A-10Cそれぞれの動作についてより具体的に説明する。まず、中継装置10Cの動作について説明する。
中継装置10Cは、ユーザ接続ポートPu4Cを介して、時刻受信装置2bから送信されたReq信号を受信する。識別部131Cは、受信したReq信号に含まれるユーザ情報を識別し、Req信号を受信したポートとユーザ情報とを対応付けてデータベース部132Cに記憶させる。具体的には、識別部131Cは、「ユーザ接続ポートPu4Cで時刻受信装置2aのReq信号を受信した」こと、すなわち、「ユーザ接続ポートPu4Cに時刻受信装置2aが接続されている」ことをデータベース部132Cに記憶させる。
決定部133Cは、受信したReq信号を転送するポートPを決定する。条件(4)より、決定部133Cは、リンクダウンしている中継接続ポートPr2Cおよびユーザ接続ポートPu1C-Pu3C,Pu5C-Pu6CからはReq信号を転送しない。中継接続ポートPr1Cはリンクアップしている。また、時刻源1aおよび時刻受信装置2aは、同じユーザaにより使用されることから、時刻源1aから送信されたSyncに含まれるユーザ情報と、時刻受信装置2aから送信されたReq信号に含まれるユーザ情報とは同一である。上述したように、「中間接続ポートPr1Cで時刻源1aのSync信号を受信した」ことがデータベース部132Cに記憶されてる。したがって、決定部133Cは、条件(5)より、中継接続ポートPr1CからReq信号を転送する。
次に、中継装置10Bの動作について説明する。中継装置10Bは、中継接続ポートPr2Bを介して、中継装置10Cから送信されたReq信号を受信する。識別部131Bは、受信したReq信号に含まれるユーザ情報を識別し、Req信号を受信したポートとユーザ情報とをデータベース部132Bに記憶させる。具体的には、識別部131Bは、「中継接続ポートPr2Bで時刻受信装置2aのReq信号を受信した」ことをデータベース部132Bに記憶させる。
決定部133Bは、受信したReq信号を転送するポートを決定する。条件(4)より、決定部133Bは、リンクダウンしているユーザ接続ポートPu1B-Pu3B,Pu5B-Pu6BからはReq信号を転送しない。中継接続ポートPr1Bはリンクアップしている。また、上述したように、時刻源1aおよび時刻受信装置2aは、同じユーザaにより使用されることから、時刻源1aに含まれるユーザ情報と、時刻受信装置2aに含まれるユーザ情報とは同一である。上述したように、「中間接続ポートPr1Bで時刻源1aのSync信号を受信した」ことがデータベース部132Bに記憶されてる。したがって、決定部133Bは、条件(5)より、中継接続ポートPr1BからReq信号を転送する。また、ユーザ接続ポートPu4Bはリンクアップしているが、ユーザ接続ポートPu4Bには、Req信号に含まれるユーザ情報と同一のユーザ情報を含むSync信号を受信したことがデータベース部132Bに記憶されていない。したがって、決定部133Cは、条件(6)より、ユーザ接続ポートPu4BからはReq信号を転送しない。
次に、中継装置10Aの動作について説明する。中継装置10Aは、中継接続ポートPr2Aを介して、中継装置10Bから送信されたReq信号を受信する。識別部131Aは、受信したReq信号に含まれるユーザ情報を識別し、Req信号を受信したポートとユーザ情報とをデータベース部132Aに記憶させる。具体的には、識別部131Aは、「中間接続ポートPr2Aで時刻受信装置2aのReq信号を受信した」ことをデータベース部132Aに記憶させる。
決定部133Aは、受信したReq信号を転送するポートを決定する。条件(4)より、決定部133Aは、リンクダウンしている中継接続ポートPr1Aおよびユーザ接続ポートPu2A-Pu6AからはReq信号を転送しない。また、ユーザ接続ポートPu1Aはリンクアップしており、ユーザ接続ポートPu1Aには時刻源1aが接続されていることがデータベース部132Aに記憶されていることから、決定部133Aは、条件(6)より、ユーザ接続ポートPu1AからReq信号を転送する。時刻源1aは、Req信号を受信すると、Resp信号を送信する。ユーザ接続ポートPu1Aから送信されたReq信号は、時刻源1aで受信される。時刻源1aは、受信したReq信号に含まれるユーザ情報が自身のユーザ情報と同一であるため、Resp信号を送信する。
Resp信号を受信した場合の中継装置10の動作は、図5を参照して説明した、Req信号を受信した場合の中継装置10の動作と同様であり、Req信号をResp信号と、Sync信号をReq信号と読み替えればよい。すなわち、決定部133は、Req信号(第2の時刻信号)の受信に応じて時刻源1aから送信されるResp信号(第3の時刻信号)を受信すると、Resp信号に含まれるユーザ情報と同じユーザ情報を含むReq信号を受信したポートを、Resp信号を転送するポートと決定する。これにより、Resp信号についてもReq信号と同様に一意に経路を決定することができる。
図6は、時刻源1bから時刻受信装置2bにSync信号を送信する場合の、中継装置10の動作を示す図である。また、図7は、時刻源1bから時刻受信装置2bにReq信号を送信する場合の、中継装置10の動作を示す図である。
図6に示すSync信号を中継する際の中継装置10の動作は、図4を参照して説明した、Sync信号を中継する際の中継装置10の動作と概ね同様である。また、図7に示すReq信号を中継する際の中継装置10の動作は、図5を参照して説明した、Req信号を中継する際の中継装置10の動作と概ね同様である。そのため、詳細な説明は省略し、主な違いについて説明する。
中継装置10Cの決定部133Cは、図6に示すように、時刻源1bから送信されてきたSync信号を受信すると、リンクアップしているポートのうち、中継接続ポートPr1CからSync信号を転送し、ユーザ中継ポートPu4CからはSync信号を転送しない。これは、ユーザ中継ポートPu4Cには時刻受信装置2aが接続されていることが、データベース部132Cに既に登録されているからである。
同様に、中継装置10Aの決定部133Aは、図6に示すように、中継装置10Bから送信されてきたSync信号を受信すると、リンクアップしているポートのうち、ユーザ接続ポートPu2AからSync信号を転送し、ユーザ中継ポートPu1AからはSync信号を転送しない。これは、ユーザ中継ポートPu1Aには時刻源1aが接続されていることが、データベース部132Aに既に登録されているからである。
図8は、時刻源1cから時刻受信装置2cにSync信号を送信する場合の、中継装置10の動作を示す図である。また、図9は、時刻源1cから時刻受信装置2cにReq信号を送信する場合の、中継装置10の動作を示す図である。
図8に示すSync信号を中継する際の中継装置10の動作は、図4を参照して説明した、Syncを中継する際の中継装置10の動作と概ね同様である。また、図9に示すReq信号を中継する際の中継装置10の動作は、図5を参照して説明した、Req信号を中継する際の中継装置10の動作と概ね同様である。そのため、詳細な説明は省略し、主な違いについて説明する。
中継装置10Aの決定部133Aは、図8に示すように、時刻源1cから送信されてきたSync信号を受信すると、リンクアップしているポートのうち、中継接続ポートPr2AからSync信号を転送し、ユーザ中継ポートPu1A,Pu2AからはSync信号を転送しない。これは、ユーザ中継ポートPu1Aには時刻源1aが接続され、ユーザ中継ポートPu2Aには時刻受信装置2bが接続されていることが、データベース部132Aに既に登録されているからである。
また、中継装置10Bの決定部133Bは、図9に示すように、時刻受信装置2cから送信されてきたReq信号を受信すると、リンクアップしているポートのうち、中継接続ポートPr1BからReq信号を転送し、中継接続ポートPr2BからはReq信号を転送しない。条件(5)より、決定部133Bは、Req信号に含まれるユーザ情報と同一のユーザ情報を含むSync信号を受信したことがデータベース部132Bに記憶されているポートからReq信号を転送する。図8から明らかなように、時刻源1cからのSync信号を受信したとデータベース部132Bに記憶されているのは、中継接続ポートPr1Bだけである。したがって、決定部133Bは、中継接続ポートPr1BからReq信号を転送する。
このように本実施形態に係る中継装置10は、時刻源1または時刻受信装置2と接続する複数のユーザ接続ポートPuと、他の中継装置10と接続する複数の中継接続ポートPrと、識別部131と、データベース部132と、決定部133とを備える。識別部131は、受信した時刻信号に含まれる、当該時刻信号により時刻同期する装置を示すユーザ情報を識別する。データベース部132は、時刻信号を受信したポートと、識別されたユーザ情報とを対応付けて記憶する。データベース部132に記憶されているポートとユーザ情報との対応関係に基づき、受信した時刻信号を転送するポートを決定する。
時刻信号を受信したポートと、その時刻信号に含まれるユーザ情報とを対応付けて記憶し、ポートとユーザ情報との対応関係に基づき時刻信号を転送するポートを決定することで、中継装置10は、人手によらず、時刻信号を転送するルートを決定することができる。したがって、本実施形態に係る中継装置10によれば、時刻源1と時刻受信装置2との間で時刻信号を転送するルートをより簡易に設定することができる。
上述した中継装置10は、図10に示すコンピュータ20によって実現することができる。コンピュータ20を、中継装置10として機能させるためのプログラムが提供されてもよい。また、該プログラムは、記憶媒体に記憶されてもよいし、ネットワークを通して提供されてもよい。図10は、中継装置10として機能するコンピュータ20の概略構成を示すブロック図である。コンピュータ20は、汎用コンピュータ、専用コンピュータ、ワークステーション、PC(Personal Computer)、電子ノートパッドなどであってもよい。プログラム命令は、必要なタスクを実行するためのプログラムコード、コードセグメントなどであってもよい。
図10に示すように、コンピュータ20は、プロセッサ21、ROM(Read Only Memory)22、RAM(Random Access Memory)23、ストレージ24、入力部25および通信インタフェース(I/F)27を有する。各構成は、バス29を介して相互に通信可能に接続されている。プロセッサ21は、具体的にはCPU(Central Processing Unit)、MPU(Micro Processing Unit)、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、SoC(System on a Chip)などであり、同種または異種の複数のプロセッサにより構成されてもよい。
プロセッサ21は、各構成の制御および各種の演算処理を実行する制御部である。すなわち、プロセッサ21は、ROM22またはストレージ24からプログラムを読み出し、RAM23を作業領域としてプログラムを実行する。プロセッサ21は、ROM22あるいはストレージ24に記憶されているプログラムに従って、上記各構成の制御および各種の演算処理を行う。本実施形態では、ROM22またはストレージ24には、コンピュータ20を本開示に係る中継装置10として動作させるためのプログラムが格納されている。当該プログラムがプロセッサ21により読み出されて実行されることで、中継装置10の各構成が実現される。
プログラムは、CD-ROM(Compact Disk Read Only Memory)、DVD-ROM(Digital Versatile Disk Read Only Memory)、USB(Universal Serial Bus)メモリなどの非一時的(non-transitory)記憶媒体に記憶された形態で提供されてもよい。また、プログラムは、ネットワークを介して外部装置からダウンロードされる形態としてもよい。
ROM22は、各種プログラムおよび各種データを格納する。RAM23は、作業領域として一時的にプログラムまたはデータを記憶する。ストレージ24は、HDD(Hard Disk Drive)またはSSD(Solid State Drive)により構成され、オペレーティングシステムを含む各種プログラムおよび各種データを格納する。例えば、ROM22あるいはストレージ24は、時刻信号を受信したポートと、その時刻信号に含まれるユーザ情報とを対応付けて記憶するメモリを構成する。
入力部25は、マウスなどのポインティングデバイス、およびキーボードを含み、各種の入力を行うために使用される。
通信インタフェース27は、他の装置と通信するためのインタフェースであり、例えば、LAN用のインタフェースである。
以上の実施形態に関し、更に以下の付記を開示する。
[付記項1]
複数の中継装置で構成される中継網を構成し、前記中継網に接続する時刻源および前記時刻源と時刻同期する時刻受信装置の間で信号を中継する中継装置であって、
前記時刻源または前記時刻受信装置と接続する複数のユーザ接続ポートと、
他の中継装置と接続する複数の中継接続ポートと、
プロセッサと、
メモリと、を備え、
前記プロセッサは、
受信した時刻同期のための時刻信号に含まれる、当該時刻信号により時刻同期する装置を示すユーザ情報を識別し、
前記時刻信号を受信したポートと、前記識別されたユーザ情報とを対応付けて前記メモリに記憶し、
前記メモリに記憶されている前記ポートと前記ユーザ情報との対応関係に基づき、前記受信した時刻信号を転送するポートを決定するように構成されている、中継装置。
複数の中継装置で構成される中継網を構成し、前記中継網に接続する時刻源および前記時刻源と時刻同期する時刻受信装置の間で信号を中継する中継装置であって、
前記時刻源または前記時刻受信装置と接続する複数のユーザ接続ポートと、
他の中継装置と接続する複数の中継接続ポートと、
プロセッサと、
メモリと、を備え、
前記プロセッサは、
受信した時刻同期のための時刻信号に含まれる、当該時刻信号により時刻同期する装置を示すユーザ情報を識別し、
前記時刻信号を受信したポートと、前記識別されたユーザ情報とを対応付けて前記メモリに記憶し、
前記メモリに記憶されている前記ポートと前記ユーザ情報との対応関係に基づき、前記受信した時刻信号を転送するポートを決定するように構成されている、中継装置。
[付記項2]
付記項1に記載の中継装置において、
前記プロセッサは、前記時刻源から送信される第1の時刻信号の受信に応じて前記時刻受信装置から送信される第2の時刻信号を受信すると、前記第2の時刻信号に含まれるユーザ情報と同じユーザ情報を含む前記第1の時刻信号を受信したポートを、前記第2の時刻信号を転送するポートと決定する、中継装置。
付記項1に記載の中継装置において、
前記プロセッサは、前記時刻源から送信される第1の時刻信号の受信に応じて前記時刻受信装置から送信される第2の時刻信号を受信すると、前記第2の時刻信号に含まれるユーザ情報と同じユーザ情報を含む前記第1の時刻信号を受信したポートを、前記第2の時刻信号を転送するポートと決定する、中継装置。
[付記項3]
付記項2に記載の中継装置において、
前記プロセッサ部は、前記第2の時刻信号の受信に応じて前記時刻源から送信される第3の時刻信号を受信すると、前記第3の時刻信号に含まれるユーザ情報と同じユーザ情報を含む前記第2の時刻信号を受信したポートを、前記第3の時刻信号を転送するポートと決定する、中継装置。
付記項2に記載の中継装置において、
前記プロセッサ部は、前記第2の時刻信号の受信に応じて前記時刻源から送信される第3の時刻信号を受信すると、前記第3の時刻信号に含まれるユーザ情報と同じユーザ情報を含む前記第2の時刻信号を受信したポートを、前記第3の時刻信号を転送するポートと決定する、中継装置。
[付記項4]
付記項1に記載の中継装置において、
前記プロセッサは、前記時刻信号を受信すると、前記複数のユーザ接続ポートのうち、前記時刻信号に含まれるユーザ情報と異なるユーザ情報を含む時刻信号を受信したポート以外のポートを、前記時刻信号を転送するポートと決定する、中継装置。
付記項1に記載の中継装置において、
前記プロセッサは、前記時刻信号を受信すると、前記複数のユーザ接続ポートのうち、前記時刻信号に含まれるユーザ情報と異なるユーザ情報を含む時刻信号を受信したポート以外のポートを、前記時刻信号を転送するポートと決定する、中継装置。
[付記項5]
複数の中継装置で構成される中継網を構成し、前記中継網に接続する時刻源および前記時刻源と時刻同期する時刻受信装置の間で信号を中継する中継装置が実行する中継方法であって、
前記中継装置は、
前記時刻源または前記時刻受信装置と接続する複数のユーザ接続ポートと、
他の中継装置と接続する複数の中継接続ポートと、
メモリと、を備え、
受信した時刻同期のための時刻信号に含まれる、当該時刻信号により時刻同期する装置を示すユーザ情報を識別し、
前記時刻信号を受信したポートと、前記識別されたユーザ情報とを対応付けて前記メモリに記憶し、
前記メモリに記憶されている前記ポートと前記ユーザ情報との対応関係に基づき、前記受信した時刻信号を転送するポートを決定する、中継方法。
複数の中継装置で構成される中継網を構成し、前記中継網に接続する時刻源および前記時刻源と時刻同期する時刻受信装置の間で信号を中継する中継装置が実行する中継方法であって、
前記中継装置は、
前記時刻源または前記時刻受信装置と接続する複数のユーザ接続ポートと、
他の中継装置と接続する複数の中継接続ポートと、
メモリと、を備え、
受信した時刻同期のための時刻信号に含まれる、当該時刻信号により時刻同期する装置を示すユーザ情報を識別し、
前記時刻信号を受信したポートと、前記識別されたユーザ情報とを対応付けて前記メモリに記憶し、
前記メモリに記憶されている前記ポートと前記ユーザ情報との対応関係に基づき、前記受信した時刻信号を転送するポートを決定する、中継方法。
[付記項6]
コンピュータを、付記項1から4のいずれか一項に記載の中継装置として動作させるプログラム。
コンピュータを、付記項1から4のいずれか一項に記載の中継装置として動作させるプログラム。
[付記項7]
コンピュータによって実行可能なプログラムを記憶した非一時的記憶媒体であって、前記コンピュータを、付記項1から4のいずれか一項に記載の中継装置として動作させるプログラムを記憶した非一時的記憶媒体。
コンピュータによって実行可能なプログラムを記憶した非一時的記憶媒体であって、前記コンピュータを、付記項1から4のいずれか一項に記載の中継装置として動作させるプログラムを記憶した非一時的記憶媒体。
上述の実施形態は代表的な例として説明したが、本開示の趣旨および範囲内で、多くの変更および置換ができることは当業者に明らかである。したがって、本発明は、上述の実施形態によって制限するものと解するべきではなく、請求の範囲から逸脱することなく、種々の変形または変更が可能である。例えば、実施形態の構成図に記載の複数の構成ブロックを1つに組み合わせたり、あるいは1つの構成ブロックを分割したりすることが可能である。
1 時刻源
2 時刻受信装置
10 中継装置
20 コンピュータ
21 プロセッサ
22 ROM
23 RAM
24 ストレージ
25 入力部
27 通信I/F
29 バス
11 信号分離部
12 主信号処理部
13 時刻信号処理部
131 識別部
132 データベース部
133 決定部
Pu ユーザ接続ポート
Pr 中継接続ポート
2 時刻受信装置
10 中継装置
20 コンピュータ
21 プロセッサ
22 ROM
23 RAM
24 ストレージ
25 入力部
27 通信I/F
29 バス
11 信号分離部
12 主信号処理部
13 時刻信号処理部
131 識別部
132 データベース部
133 決定部
Pu ユーザ接続ポート
Pr 中継接続ポート
Claims (4)
- 複数の中継装置で構成される中継網を構成し、前記中継網に接続する時刻源および前記時刻源と時刻同期する時刻受信装置の間で信号を中継する中継装置であって、
前記時刻源または前記時刻受信装置と接続する複数のユーザ接続ポートと、
他の中継装置と接続する複数の中継接続ポートと、
受信した時刻同期のための時刻信号に含まれる、当該時刻信号により時刻同期する装置を示すユーザ情報を識別する識別部と、
前記時刻信号を受信したポートと、前記識別されたユーザ情報とを対応付けて記憶するデータベース部と、
前記データベース部に記憶されている前記ポートと前記ユーザ情報との対応関係に基づき、前記受信した時刻信号を転送するポートを決定する決定部と、を備える中継装置。 - 請求項1に記載の中継装置において、
前記決定部は、前記時刻源から送信される第1の時刻信号の受信に応じて前記時刻受信装置から送信される第2の時刻信号を受信すると、前記第2の時刻信号に含まれるユーザ情報と同じユーザ情報を含む前記第1の時刻信号を受信したポートを、前記第2の時刻信号を転送するポートと決定する、中継装置。 - 請求項2に記載の中継装置において、
前記決定部は、前記第2の時刻信号の受信に応じて前記時刻源から送信される第3の時刻信号を受信すると、前記第3の時刻信号に含まれるユーザ情報と同じユーザ情報を含む前記第2の時刻信号を受信したポートを、前記第3の時刻信号を転送するポートと決定する、中継装置。 - 請求項1に記載の中継装置において、
前記決定部は、前記時刻信号を受信すると、前記複数のユーザ接続ポートのうち、前記時刻信号に含まれるユーザ情報と異なるユーザ情報を含む時刻信号を受信したポート以外のポートを、前記時刻信号を転送するポートと決定する、中継装置。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2024/020381 WO2025253501A1 (ja) | 2024-06-04 | 2024-06-04 | 中継装置 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2024/020381 WO2025253501A1 (ja) | 2024-06-04 | 2024-06-04 | 中継装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025253501A1 true WO2025253501A1 (ja) | 2025-12-11 |
Family
ID=97960951
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2024/020381 Pending WO2025253501A1 (ja) | 2024-06-04 | 2024-06-04 | 中継装置 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2025253501A1 (ja) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019068190A (ja) * | 2017-09-29 | 2019-04-25 | 株式会社明電舎 | ネットワーク機器 |
| WO2020129219A1 (ja) * | 2018-12-20 | 2020-06-25 | 三菱電機株式会社 | ネットワーク装置、ネットワークシステム、ネットワーク方法、およびネットワークプログラム |
| WO2023105777A1 (ja) * | 2021-12-10 | 2023-06-15 | 三菱電機株式会社 | 転送装置及び時刻同期システム |
-
2024
- 2024-06-04 WO PCT/JP2024/020381 patent/WO2025253501A1/ja active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019068190A (ja) * | 2017-09-29 | 2019-04-25 | 株式会社明電舎 | ネットワーク機器 |
| WO2020129219A1 (ja) * | 2018-12-20 | 2020-06-25 | 三菱電機株式会社 | ネットワーク装置、ネットワークシステム、ネットワーク方法、およびネットワークプログラム |
| WO2023105777A1 (ja) * | 2021-12-10 | 2023-06-15 | 三菱電機株式会社 | 転送装置及び時刻同期システム |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101164264B (zh) | 用于对两个总线系统进行同步的方法和设备以及由两个总线系统组成的装置 | |
| US9455916B2 (en) | Method and system for changing path and controller thereof | |
| CN101461184B (zh) | 用于数据总线系统的网关 | |
| JP2014036240A (ja) | 制御装置、方法及びプログラム、並びにシステム及び情報処理方法 | |
| US11757612B2 (en) | Communicating management traffic between baseboard management controllers and network interface controllers | |
| CN107622032B (zh) | 一种i2c总线的三线扩展方法及电路 | |
| EP2961108A1 (en) | Switch and program | |
| WO2022206480A1 (zh) | 一种数据包发送方法及设备 | |
| US20170286259A1 (en) | Information processing apparatus, information processing system, and computer-readable recording medium | |
| US20210242953A1 (en) | Network device, network system, network method, and computer readable medium | |
| CN113315594A (zh) | 时间同步方法、装置及存储介质 | |
| CN106464561B (zh) | 用于在实际网络中模拟理论网络的传播时间的方法和网关 | |
| CN113346974B (zh) | 用于时钟同步的方法、设备、通信系统和存储介质 | |
| CN114124753A (zh) | 一种报文发送方法及设备 | |
| CN117157895A (zh) | 用于集中式和分布式组合单元的时钟同步器的系统及设计方法 | |
| US8386692B2 (en) | Method for communicating between nodes and server apparatus | |
| CN108431790B (zh) | 用于高速迁移(EXTRA)NoC的路由器的专用SSR管线级 | |
| CN112532545A (zh) | 一种外部节点间通信装置及服务器 | |
| US8769142B2 (en) | Data transfer apparatus, information processing apparatus and method of setting data transfer rate | |
| CN114401324B (zh) | 一种报文转发方法、网络设备及系统 | |
| JP7437345B2 (ja) | 通信システム、通信装置、プログラム、及び制御方法 | |
| JPWO2020105129A1 (ja) | 中継装置、通信システム、通信方法、および通信プログラム | |
| CN103312542A (zh) | 报文处理方法及装置 | |
| JP2012010216A (ja) | 割込みシステム、ホスト装置、及び、周辺装置 | |
| CN114301566B (zh) | 冗余系统的时钟同步方法、冗余系统及网络系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24942592 Country of ref document: EP Kind code of ref document: A1 |