Time synchronization method, client and computer readable storage medium
A time synchronization and client-side technology, applied in the field of communication, can solve problems affecting the time-setting accuracy and time difference error of SNTP clients
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] An embodiment of the present invention provides a time synchronization method, which is applied to a client. The client includes a hardware circuit provided with a first communication interface. The client performs data interaction with the server through the first communication interface, such as image 3 As shown, the method may include:
[0075] S101. Use a client program to obtain a time synchronization request message.
[0076] A time synchronization method provided by an embodiment of the present invention is applicable to the scenario where the time of the client is synchronized with the time of the server.
[0077] In the embodiment of the present invention, the client is an SNTP client, and the server that performs data interaction with the client is an SNTP server.
[0078] In the embodiment of the present invention, the hardware circuit is a Field-Programmable Gate Array (FPGA, Field-Programmable Gate Array), etc., which is selected according to the actual s...
Embodiment 2
[0107] The embodiment of the present invention provides a time synchronization method in the embodiment of the present invention, which is applied to the client, and a hardware circuit is set on the client, and the client performs data interaction with the server through the hardware circuit, such as Image 6 As shown, the method may include:
[0108] S201. The client uses a client program to obtain a time synchronization request message.
[0109] A time synchronization method provided by an embodiment of the present invention is applicable to the scenario where the time of the client is synchronized with the time of the server.
[0110] In the embodiment of the present invention, the client is an SNTP client, and the server that performs data interaction with the client is an SNTP server.
[0111] In the embodiment of the present invention, the hardware circuit is an FPGA or the like, which is specifically selected according to actual conditions, and is not specifically limi...
Embodiment 3
[0167] The embodiment of the present invention provides a client 1, and the client 1 performs data interaction with the server 2, such as Figure 8 As shown, the client 1 includes:
[0168] A processor 10, the processor is provided with a first communication interface 100;
[0169] A hardware circuit 11 connected to the processor 10 through the first communication interface 100 and the second communication interface 110, the hardware circuit 11 is provided with the second communication interface 110 and the third communication interface 111, the The hardware circuit 11 is connected to the server 2 through the third communication interface 111 and performs data interaction; wherein,
[0170] The processor 10 is configured to transmit the time synchronization request message to the hardware circuit 11 when the time synchronization request message is obtained by running the client program;
[0171] The hardware circuit 11 is configured to obtain the first sending time when the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


