# US 2023/0421280 A1 · Method and Device for Time Synchronization of Time Synchronization Domains

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0421280 A1
- Document ID: US20230421280A1
- Status: Published application
- Kind: A1
- Application number: 18/207,152
- Filed: 2023-06-08
- Published: 2023-12-28
- Earliest claimed: 2022-06-22
- Assignees: Moxa Inc.
- Applicants: Moxa Inc.
- Inventors: Chi-Chuan Liu; Chun-Yu Lin; Chien-Yu Lai; Po-Hung Lin
- Web page: https://patentgrep.com/patent/US20230421280A1

## CPC

- H04J 3/0667: {Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays (arrangements for monitoring round trip delays in packet switching networks H04L43/0864)}
- H04J 3/12: Arrangements providing for calling or supervisory signals
- H04L 41/082: the condition being updates or upgrades of network functionality
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A time synchronization method for a time synchronization device, wherein the device is connected to a plurality of time synchronization domains through a plurality of ports, and the plurality of time synchronization domains use a plurality of PTP profiles. The method comprises determining whether each of the plurality of ports is a time receiving port or a time transmitting port; obtaining information of a grandmaster clock of the plurality of time synchronization domains; performing information conversion on the information of the grandmaster clock according to a PTP profile corresponding to each time transmitting port of the plurality of ports in the plurality of PTP profiles, so as to generate a plurality of clock information corresponding to each time transmitting port; and transmitting a corresponding clock information of the plurality of clock information to a corresponding time synchronization domain from each time transmitting port, so as to perform time synchronization.

## Claims

### Claim 1

A time synchronization method for a time synchronization device, wherein the time synchronization device is connected to a plurality of time synchronization domains through a plurality of ports, and the plurality of time synchronization domains use a plurality of Precision Time Protocol (PTP) profiles, the time synchronization method comprising:
determining whether each of the plurality of ports is a time receiving port or a time transmitting port;
obtaining information of a grandmaster clock of the plurality of time synchronization domains;
performing information conversion on the information of the grandmaster clock according to a PTP profile corresponding to each time transmitting port of the plurality of ports in the plurality of PTP profiles, so as to generate a plurality of clock information corresponding to each time transmitting port of the plurality of ports; and
transmitting a corresponding clock information of the plurality of clock information to a corresponding time synchronization domain from each time transmitting port of the plurality of ports, so as to perform time synchronization.

### Claim 2 (depends on 1)

The time synchronization method of claim 1, wherein the step of determining whether each of the plurality of ports is a time receiving port or a time transmitting port comprises:
determining a first PTP profile of a time synchronization domain to which the grandmaster clock belongs;
comparing the plurality of PTP profiles with the first PTP profile to generate a plurality of comparison results; and
determining one of the plurality of ports to be a time receiving port and the other ports to be time transmitting ports according to the plurality of comparison results.

### Claim 3 (depends on 2)

The time synchronization method of claim 2, wherein the step of determining one of the plurality of ports to be a time receiving port and the other ports to be time transmitting ports according to the plurality of comparison results comprises when one of the plurality of comparison results shows that a PTP profile corresponding to a port conforms to the first PTP profile, determining the port to be the time receiving port and the other ports to be the time transmitting port.

### Claim 4 (depends on 2)

The time synchronization method of claim 2, wherein the step of obtaining the information of the grandmaster clock of the plurality of time synchronization domains comprises receiving the information of the grandmaster clock from the time receiving port.

### Claim 5 (depends on 1)

The time synchronization method of claim 1, wherein the step of determining whether each of the plurality of ports is a time receiving port or a time transmitting port comprises determining each of the plurality of ports to be a time transmitting port when a clock of the time synchronization device is the grandmaster clock.

### Claim 6 (depends on 5)

The time synchronization method of claim 5, wherein the step of obtaining the information of the grandmaster clock of the plurality of time synchronization domains comprises obtaining the information of the grandmaster clock by the time synchronization device.

### Claim 7 (depends on 1)

The time synchronization method of claim 1, wherein the time synchronization device is a gateway, a switch, a router, or a bridge.

### Claim 8 (depends on 1)

The time synchronization method of claim 1, wherein the plurality of PTP profiles are different.

### Claim 9

A time synchronization device, wherein the time synchronization device is connected to a plurality of time synchronization domains through a plurality of ports, and the plurality of time synchronization domains use a plurality of Precision Time Protocol (PTP) profiles, the time synchronization device comprising:
a processing unit, configured to execute a program code; and
a storage unit, coupled to the processing unit, configured to store the program code to instruct the processing unit to execute a time synchronization method, wherein the time synchronization method comprises:
determining whether each of the plurality of ports is a time receiving port or a time transmitting port;
obtaining information of a grandmaster clock of the plurality of time synchronization domains;
performing information conversion on the information of the grandmaster clock according to a PTP profile corresponding to each time transmitting port of the plurality of ports in the plurality of PTP profiles, so as to generate a plurality of clock information corresponding to each time transmitting port of the plurality of ports; and
transmitting a corresponding clock information of the plurality of clock information to a corresponding time synchronization domain from each time transmitting port of the plurality of ports, so as to perform time synchronization.

### Claim 10 (depends on 9)

The time synchronization device of claim 9, wherein the step of determining whether each of the plurality of ports is a time receiving port or a time transmitting port comprises:
determining a first PTP profile of a time synchronization domain to which the grandmaster clock belongs;
comparing the plurality of PTP profiles with the first PTP profile to generate a plurality of comparison results; and
determining one of the plurality of ports to be a time receiving port and the other ports to be time transmitting ports according to the plurality of comparison results.

### Claim 11 (depends on 10)

The time synchronization device of claim 10, wherein the step of determining one of the plurality of ports to be a time receiving port and the other ports to be time transmitting ports according to the plurality of comparison results comprises when one of the plurality of comparison results shows that a PTP profile corresponding to a port conforms to the first PTP profile, determining the port to be the time receiving port and the other ports to be the time transmitting port.

### Claim 12 (depends on 10)

The time synchronization device of claim 10, wherein the step of obtaining the information of the grandmaster clock of the plurality of time synchronization domains comprises receiving the information of the grandmaster clock from the time receiving port.

### Claim 13 (depends on 9)

The time synchronization device of claim 9, wherein the step of determining whether each of the plurality of ports is a time receiving port or a time transmitting port comprises determining each of the plurality of ports to be a time transmitting port when a clock of the time synchronization device is the grandmaster clock.

### Claim 14 (depends on 13)

The time synchronization device of claim 13, wherein the step of obtaining the information of the grandmaster clock of the plurality of time synchronization domains comprises obtaining the information of the grandmaster clock by the time synchronization device.

### Claim 15 (depends on 9)

The time synchronization device of claim 9, being a gateway, a switch, a router, or a bridge.

### Claim 16 (depends on 9)

The time synchronization device of claim 9, wherein the plurality of PTP profiles are different.
