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

Time synchronization method and device

A technology for time synchronization and time indication. It is applied to synchronization devices, digital transmission systems, electrical components, etc. It can solve the problems of ToD binding failure and ToD cannot be sent, and achieve the effect of reducing occupancy.

Active Publication Date: 2014-02-26
XINHUASAN INFORMATION TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to CPU processing resource constraints, ToD cannot be sent, and the binding between 1PPS and ToD fails.

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
  • Time synchronization method and device
  • Time synchronization method and device
  • Time synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0052] In the present invention, a complex programmable logic device (CPLD, Complex Programmable Logic Device) needs to be added to the master device.

[0053] image 3 The flow chart of the 1PPS+ToD time synchronization method provided by the embodiment of the present invention, such as image 3 As shown, the specific steps are as follows:

[0054] Step 300: Set a Flag in advance in the CPLD of the master device to indicate whether the ToD information is written into a register of the CPLD, and initialize the Flag.

[0055] In practical applications, the Flag can be assigned an initial value or 0, indicating that it has not been written, and assigning a specific value or 1, indicating that it has been written.

[0056] Step 301: When the 1PPS generating device of the master device generates a 1PSS signal, output the signal to the ...

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 discloses time synchronization method and device. The method comprises the following steps: a Flag is arranged in a CPLD ( Complex Programmable Logic Device) of main equipment in advance to indicate whether the ToD information is written into a register of the CPLD and is initialized; when a 1PPS signal generator of the main equipment generates a 1PPS signal, the 1PPS signal is output to the CPLD of the main equipment; when the CPLD of the main equipment receives the 1PPS signal, the Flag is read, whether the Flag indicates written-in or not is judged, if yes, the 1PPS signal is sent to slave equipment and a CPU (Central Processing Unit) of the main equipment, the ToD information is taken out of the own register, the Flag is set to indicate non-written-in, and after 1ms, the ToD information is sent to the slave device through a serial port, and if no, the 1PPS signal is sent to the CPU of the main equipment; and when the CPU of the main equipment receives the 1PPS signal, if that the Flag indicates non-written-in is discovered, the ToD information is written in the register of the CPLD, and after that, the Flag indicates written-in. The method provided by the invention lowers the occupation of CPU resources and ensures successful time synchronization.

Description

technical field [0001] The invention relates to the technical field of synchronization, in particular to a time synchronization method and device. Background technique [0002] In the mobile backhaul packet switching network, the time of the base station no longer depends only on the Global Positioning System (GPS, Global Positioning System), and the connected network equipment needs to provide high-precision time output. The whole second pulse (1PPS, Pulse per Second) + time data ( ToD, Time of Data) mechanism. 1PPS+ToD is used for full second time synchronization, figure 1 A schematic diagram of the existing 1PPS+ToD time synchronization is given, such as figure 1 As shown, the master device sends ToD information to the slave device 1ms after the rising edge of 1PPS, and the transmission is completed within 500ms. ToD identifies the time of the current rising edge of 1PPS, and the sending frequency of ToD messages is 1 time per second; after the slave device receives t...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L7/00
Inventor 梁学伟刘刀桂曹雷
Owner XINHUASAN INFORMATION TECH CO LTD