Unlock instant, AI-driven research and patent intelligence for your innovation.

Software synchronization error compensation method, system, medium and equipment

A technology of synchronization error and compensation method, which is applied in the direction of transmission system, time division multiplexing system, electrical components, etc., can solve the problems of exceeding the error tolerance range, not working normally, and excessive error accumulation, so as to avoid error accumulation, The effect of low cost and high reliability

Active Publication Date: 2021-06-15
中国人民解放军海军航空大学岸防兵学院
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] NTP technology can be used for time synchronization in computer systems that support network sockets, and the time error on the client is also at the millisecond level, but for applications running on the client, it takes a period of time (half an hour) The accumulation of errors will be too large and exceed the error tolerance range, which will cause the programs running on each client to interfere with each other in timing and cannot work normally

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software synchronization error compensation method, system, medium and equipment
  • Software synchronization error compensation method, system, medium and equipment
  • Software synchronization error compensation method, system, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0070] Such as figure 1 , figure 2 In a typical scenario and time slot setting, all clients need to be time-synchronized so that the application on the client can run according to the time slot setting. Assume that the number of clients this time is n, and n clients are connected to the server through the network. The n clients perform time synchronization through the server clock, so that the application programs running on the n clients can achieve time synchronization, and the error of the running programs is at the millisecond level. The client time synchronization mainly adopts the network timing technology, and the common methods of the network timing technology are shown in Table 1.

[0071] Table 1 Technical Comparison of Network Time Synchronization

[0072]

[0073]

[0074] From the content of the table, we can see that the NTP method is a time synchronization method with relatively good comprehensive performance in the current network synchronization, so t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a software synchronization error compensation method and system, a medium and equipment, and the method comprises the steps: 1, initializing a client application program, including application program cache data, whether an initial state is matched or not, and an NTP state of a client computer; 2, enabling the client and the server to complete time calibration through a socket; 3, enabling the server to issue an application program running instruction to all the clients connected with the server after timing is completed, and enabling all the clients to synchronously start the application program after receiving the instruction; and 4, enabling each client application program to perform error compensation on the next operation cycle after the operation cycle ends, and correct the operation time of the application program. According to the method, all client application programs are subjected to timing on the basis of NTP synchronous timing, it is guaranteed that the application programs run strictly according to the time sequence, normal service interaction is conducted, too many hardware timing devices are not needed, and the method has the advantages of being low in cost, controllable in system and high in reliability.

Description

technical field [0001] The present invention relates to the technical field of time calibration, in particular to a software synchronization error compensation method, system, medium and equipment. Background technique [0002] NTP technology can be used for time synchronization in computer systems that support network sockets, and the time error on the client is also at the millisecond level, but for applications running on the client, it takes a period of time (half an hour) The accumulation of errors will be too large and exceed the error tolerance range, which will cause the programs running on each client to interfere with each other in timing and cannot work normally. For NTP time calibration, the client will re-calibrate the time every once in a while, but the more stable the time calibration interval, the greater the time interval. Therefore, it is necessary to compensate the error generated by the application program during the two time calibration intervals to avoi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04J3/06H04L29/06
CPCH04J3/0667H04L69/162
Inventor 孙媛单鑫赵建印陈健李保刚李志成高松
Owner 中国人民解放军海军航空大学岸防兵学院