Clock synchronization method based on PTP (Precision Time Protocol) and reflective memory network
A technology of PTP protocol and reflective memory network, which is applied in synchronization devices, digital transmission systems, electrical components, etc., and can solve the problems of low clock synchronization accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0031] Specific implementation mode one: see figure 1 and Figure 4 Describe this embodiment, the clock synchronization method based on the PTP protocol and the reflective memory network described in this embodiment, this method is suitable for the clock synchronization between the host and the node device in the virtual simulation test, inserting a reflective memory network on the host and the node device The memory card and the reflective memory card carry out data transmission through an optical fiber, and the specific process of the method is as follows:
[0032] Step 1: Build a clock based on the PTP protocol in the host as the master clock, and build a clock based on the PTP protocol in the node device as the slave clock;
[0033] Step 2: Master clock at TM 1 [1] Send Sync information to the slave clock at any time, and record the exact time TM sent 1 [1], then the time TM when the Sync information is sent in the FollowUp information 1 [1] Send to the slave clock, a...
specific Embodiment approach 2
[0046] Specific embodiment two: this embodiment is a further limitation of the clock synchronization method based on the PTP protocol and the reflective memory network described in the specific embodiment one, in the step one, constructing a clock based on the PTP protocol in the host as the master clock and The method of constructing a clock based on the PTP protocol in the node device as the slave clock is the same, and the method of constructing the clock based on the PTP protocol in the host as the master clock is:
[0047] Obtain the clock oscillation frequency of the CPU of the host computer and the count value of the timer through the API interface of the Windows system to construct a logical clock,
[0048] t=t 0 +Δt
[0049] Among them, t 0 Indicates the count value of the CPU timer of the host, Δt indicates the deviation of the logic time relative to the CPU count, t indicates the current logic time, that is, the main clock constructed with logic time as the unit, ...
specific Embodiment approach 3
[0055] Specific embodiment three: this embodiment is a further limitation of the clock synchronization method based on PTP protocol and reflective memory network described in specific embodiment one, to N offset values Offset[1:N] described in step four Perform filtering to obtain filtered data Data'[1:P], said Data'[1:P]=f m,n (Data[1:N]), where P=N-m-n, m and n are positive integers less than N, f m,n (Data[1:N]) indicates a function to sort the measured N data and eliminate m small values and n large values.
[0056] The m small values and n large values described in this embodiment represent the m values on the side of the small number among the N data arranged from small to large, and the n large values are m small values Indicates the n values on the side of the larger number among the N data arranged from small to large,
[0057] In the present invention, m and n are determined according to the size of the data volume and the stability of the data, and M...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com