IP Library Granted Patent US 10,778,359
Granted Patent B2
US 10,778,359 · App. 15/744,458 · Granted Sep 15, 2020

Time synchronization method, programmable logic device, single board and network element

Inventors: Lilin Wang (Shenzhen, CN); Juan Wan (Shenzhen, CN); Yangfeng Wang (Shenzhen, CN); Xiaoming Fu (Shenzhen, CN)
Assignee: XI'AN ZHONGXING NEW SOFTWARE CO., LTD.
H04J3/0655H04J3/0697H04L7/04H04J3/0667
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,778,359
App. No.
15/744,458
Granted
Sep 15, 2020
Kind
B2
Abstract

A time synchronization method, a programmable logic device, a single board and a network element are provided. In the method, a programmable logic device receives a request message from a terminal, generates a time synchronization message according to the request message, and sends the time synchronization message to the terminal.

Claims (73)

1. A time synchronization method, comprising:

receiving, by a programmable logic device, a Network Time Protocol (NTP) or Precision Timing Protocol (PTP)-based connection setup request message from a terminal, wherein the programmable logic device comprises one or more channels which are externally connected with terminals;

generating, by the programmable logic device, a time synchronization message according to the NTP or PTP-based connection setup request message; and

sending, by the programmable logic device, the time synchronization message to the terminal;

wherein generating, by the programmable logic device, a time synchronization message according to the NTP or PTP-based connection setup request message comprises:

sending, by the programmable logic device, the NTP or PTP-based connection setup request message to a Central Processing Unit (CPU);

receiving, by the programmable logic device, the configuration indication information and the recognition information of the terminal from the CPU;

acquiring, by the programmable logic device, the local reference time information according to the configuration indication information; and

generating, by the programmable logic device according to the configuration indication information, the recognition information of the terminal and the local reference time information, an NTP or PTP-based time synchronization initiating message as the time synchronization message.

2. The time synchronization method as claimed in claim 1 , further comprising:

receiving, by the programmable logic device, an NTP or PTP-based time synchronization request message from the terminal.

3. The time synchronization method as claimed in claim 2 , wherein after receiving, by the programmable logic device, an NTP or PTP-based time synchronization request message from the terminal, the method further comprises:

generating, by the programmable logic device, a time synchronization message according to the NTP or PTP-based time synchronization request message, comprising:

parsing, by the programmable logic device, the NTP or PTP-based time synchronization request message, and acquiring type identification information of the NTP or PTP-based time synchronization request message and recognition information of the terminal;

acquiring, by the programmable logic device, configuration indication information and local reference time information according to the type identification information; and

generating, by the programmable logic device according to the configuration indication information, the recognition information of the terminal and the local reference time information, a NTP or PTP-based time synchronization response message as the time synchronization message.

4. The time synchronization method as claimed in claim 3 , wherein

when identification information of the NTP or PTP-based connection setup request message indicates the NTP or PTP-based connection setup request message as a PTP request message, the local reference time information acquired by the programmable logic device is local PTP reference time information, and the received configuration indication information is PTP configuration indication information;

when identification information of the NTP or PTP-based connection setup request message indicates the NTP or PTP-based connection setup request message as an NTP request message, the local reference time information acquired by the programmable logic device is local NTP reference time information, and the received configuration indication information is NTP configuration indication information;

when identification information of the NTP or PTP-based time synchronization request message indicates the NTP or PTP-based time synchronization request message as a PTP request message, the local reference time information and configuration indication information acquired by the programmable logic device are local PTP reference time information and PTP configuration indication information respectively; and

when identification information of the NTP or PTP-based time synchronization request message indicates the NTP or PTP-based time synchronization request message as an NTP request message, the local reference time information and configuration indication information acquired by the programmable logic device are local NTP reference time information and NTP configuration indication information respectively.

5. The time synchronization method as claimed in claim 4 , wherein

when the identification information of the NTP or PTP-based connection setup request message or the NTP or PTP-based time synchronization request message indicates the NTP or PTP-based connection setup request message or the NTP or PTP-based time synchronization request message as a PTP request message, acquiring, by the programmable logic device, local PTP reference time information comprises:

acquiring clock source information;

synchronizing local clock information according to the clock source information; and

acquiring the local PTP reference time information according to the local clock information;

when the identification information of the NTP or PTP-based connection setup request message or the NTP or PTP-based time synchronization request message indicates the NTP or PTP-based connection setup request message or the NTP or PTP-based time synchronization request message as an NTP request message, acquiring, by the programmable logic device, local NTP reference time information comprises:

acquiring clock source information;

synchronizing local clock information according to the clock source information;

acquiring local PTP reference time information according to the local clock information; and

converting the local PTP reference time information into the local NTP reference time information.

6. The time synchronization method as claimed in claim 1 , wherein before the programmable logic device sends the time synchronization message to the terminal, the method further comprises:

extracting, by the programmable logic device, state information of the time synchronization message; and

sending out, by the programmable logic device, the state information.

7. The time synchronization method as claimed in claim 1 , wherein the programmable logic device is located in a Physical (PHY) layer.

8. The time synchronization method as claimed in claim 2 , wherein before the programmable logic device sends the time synchronization message to the terminal, the method further comprises:

extracting, by the programmable logic device, state information of the time synchronization message; and

sending out, by the programmable logic device, the state information.

9. A time synchronization method, comprising:

sending, by a terminal, a Network Time Protocol (NTP) or Precision Timing Protocol (PTP)-based connection setup request message to a programmable logic device, wherein the programmable logic device comprises one or more channels which are externally connected with terminals;

receiving, by the terminal, a time synchronization message from the programmable logic device, and completing, by the terminal, time synchronization, wherein the time synchronization message is generated by the programmable logic device according to the NTP or PTP-based connection setup request message and sent to the terminal;

wherein the time synchronization message is generated by the programmable logic device according to the NTP or PTP-based connection setup request message in a following manner:

sending, by the programmable logic device, the NTP or PTP-based connection setup request message to a Central Processing Unit (CPU);

receiving, by the programmable logic device, the configuration indication information and the recognition information of the terminal from the CPU;

acquiring, by the programmable logic device, the local reference time information according to the configuration indication information; and

generating, by the programmable logic device according to the configuration indication information, the recognition information of the terminal and the local reference time information, an NTP or PTP-based time synchronization initiating message as the time synchronization message.

10. A system comprising a programmable logic device and a terminal for connection setup, the programmable logic device comprising one or more channels which are externally connected with terminals, and further comprising:

a receiving module, configured to receive a Network Time Protocol (NTP) or Precision Timing Protocol (PTP)-based connection setup request message from a terminal;

a processing module, configured to generate a time synchronization message according to the NTP or PTP-based connection setup request message received by the receiving module, wherein the processing module comprises: an acquisition module, configured to acquire local reference time information, configuration indication information, and recognition information of the terminal according to the request message received by the receiving module; and a generation module, configured to generate the time synchronization message according to the local reference time information, the configuration indication information, and the recognition information of the terminal, which are acquired by the acquisition module; and

a sending module, configured to send the time synchronization message generated by the processing module to the terminal;

wherein the sending module is further configured to send the NTP or PTP-based connection setup request message to a Central Processing Unit (CPU);

the receiving module is further configured to receive the configuration indication information and the recognition information of the terminal from the CPU;

the acquisition module is configured to acquire the local reference time information according to the configuration indication information; and

the generation module is configured to generate, according to the configuration indication information, the recognition information of the terminal and the local reference time information, an NTP or PTP-based time synchronization initiating message as the time synchronization message.

11. The programmable logic device as claimed in claim 10 , wherein the receiving module is further configured to receive an NTP or PTP-based time synchronization request message from the terminal.

12. The programmable logic device as claimed in claim 11 , wherein

when the receiving module receives the NTP or PTP-based time synchronization request message from the terminal, the processing module further comprises a parsing module, configured to parse the NTP or PTP-based time synchronization request message, and acquire type identification information of the NTP or PTP-based time synchronization request message and recognition information of the terminal;

the acquisition module is configured to acquire configuration indication information and local reference time information according to the type identification information acquired by the parsing module; and

the generation module is configured to generate, according to the configuration indication information, the recognition information of the terminal and the local reference time information, an NTP or PTP-based time synchronization response message as the time synchronization message.

13. The programmable logic device as claimed in claim 12 , wherein

when identification information of the NTP or PTP-based connection setup request message received by the receiving module indicates the NTP or PTP-based connection setup request message as a PTP request message, the local reference time information acquired by the acquisition module is local PTP reference time information, and the configuration indication information received by the receiving module is PTP configuration indication information;

when identification information of the NTP or PTP-based connection setup request message received by the receiving module indicates the NTP or PTP-based connection setup request message as an NTP request message, the local reference time information acquired by the acquisition module is local NTP reference time information, and the configuration indication information received by the receiving module is NTP configuration indication information;

when identification information of the NTP or PTP-based time synchronization request message received by the receiving module indicates the NTP or PTP-based time synchronization request message as a PTP request message, the local reference time information and configuration indication information acquired by the acquisition module are local PTP reference time information and PTP configuration indication information respectively; and

when identification information of the NTP or PTP-based time synchronization request message received by the receiving module indicates the NTP or PTP-based time synchronization request message as an NTP request message, the local reference time information and configuration indication information acquired by the acquisition module are local NTP reference time information and NTP configuration indication information respectively.

14. The programmable logic device as claimed in claim 13 , wherein

when the identification information of the NTP or PTP-based connection setup request message or the NTP or PTP-based time synchronization request message indicates the NTP or PTP-based connection setup request message or the NTP or PTP-based time synchronization request message as a PTP request message, the acquisition module is configured to acquire clock source information, synchronize local clock information according to the clock source information, and acquire local PTP reference time information according to the local clock information; and

when the identification information of the NTP or PTP-based connection setup request message or the NTP or PTP-based time synchronization request message indicates the NTP or PTP-based connection setup request message or the NTP or PTP-based time synchronization request message as an NTP request message, the acquisition module is configured to acquire clock source information, synchronize local clock information according to the clock source information, acquire local PTP reference time information according to the local clock information, and convert the local PTP reference time information into local NTP reference time information.

15. The programmable logic device as claimed in claim 10 , wherein the processing module further comprises:

an extraction module, configured to extract state information of the time synchronization message, wherein

the sending module is configured to send out the state information extracted by the extraction module.

16. A single board, comprising an interface as well as the programmable logic device as claimed in claim 10 , the programmable logic device being connected to a terminal via the interface.

17. The single board as claimed in claim 16 , wherein the programmable logic device is located in a Physical (PHY) layer.

18. A network element, comprising at least one single board as claimed in claim 16 , the single board being externally connected with at least one terminal.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 29, 2020
From: ZTE CORPORATION
To: XI'AN ZHONGXING NEW SOFTWARE CO., LTD.
Reel/Frame 053067/0092 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 12, 2018
From: WANG, LILIN; WAN, JUAN; WANG, YANGFENG; FU, XIAOMING
To: ZTE CORPORATION
Reel/Frame 044610/0263 →
Priority Claims (1)
CN 2014 1 0339342 · Jul 16, 2014 · national
Continuity (1)
Related Publication 20180205476A1 · Jul 19, 2018