NTP-based time synchronization method and corresponding system

A technology for time synchronization and sending time, which is applied in the field of digital information transmission, can solve the problems of high performance pressure on synchronization servers, and achieve the effects of reducing the probability of time synchronization failure, reducing data traffic, and reducing network congestion

Active Publication Date: 2017-08-04
ZHEJIANG UNIVIEW TECH CO LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide an NTP-based time synchronization method and a corresponding system to solve the problem of excessive performance pressure of NTP time synchronization servers without adding servers

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
  • NTP-based time synchronization method and corresponding system
  • NTP-based time synchronization method and corresponding system
  • NTP-based time synchronization method and corresponding system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] This embodiment discloses a time synchronization method based on NTP.

[0041] In the public security video surveillance network, the main reason for setting the time synchronization of terminal equipment is to quickly and accurately find the required video during the subsequent video search process. Due to the particularity of the video, in time positioning, the target time is generally only accurate to one minute at the minimum. According to this requirement, each terminal device can be set to synchronize the time with the NTP time synchronization server every hour. That is, the period of a time synchronization is one hour to reduce the burden of the NTP time synchronization server.

[0042] Before the first time synchronization, the grouping is preset, and each terminal device is divided into several multicast groups according to the set rules. Here can be based on the network segment of each terminal device, all terminal devices in the same network segment, like a 24-bi...

Embodiment 2

[0060] In order to facilitate those of ordinary skill in the art to implement the technical solution related to the NTP-based time synchronization method provided in the first embodiment, this embodiment provides an NTP-based time synchronization system.

[0061] Specifically, the NTP-based time synchronization system disclosed in this embodiment includes a terminal device and an NTP time synchronization server, and also includes a multicast group dividing unit; the multicast group dividing unit is used to divide each terminal device according to a set rule For several multicast groups; the NTP time synchronization server includes a period setting unit, a message sending and receiving unit and a processing unit. The period setting unit is used to set the period, and the message sending and receiving unit is used to set the period according to the period setting unit. Multicast a time synchronization message to a multicast group. The message transceiver unit is also used to receive...

Embodiment 3

[0078] This embodiment discloses another NTP-based time synchronization method. According to the first embodiment, the difference from the first embodiment is:

[0079] After dividing each terminal device into several groups according to the set rules, each group presets a priority terminal device. This priority terminal device can be the user selects the preferred device according to the network conditions and hardware conditions, such as newer or newer models. Advanced IPC can also be a terminal device that is more special than other terminal devices in a group. For example, in a group consisting of several IPCs and one NVR, the NVR can be selected as the priority terminal device.

[0080] In step S201, the NTP time synchronization server only sends a time synchronization message to the priority terminal device of each group;

[0081] In step S202, only the priority terminal device in a packet will detect the time synchronization message sent from the NTP time synchronization serve...

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 an NTP-based time synchronization method and a corresponding system and belongs to the field of digital information transmission. The method comprises the following steps of dividing terminal devices into a plurality of multicast groups and implementing the corresponding system of the method, wherein one multicast group has one terminal device to synchronize the time with a server in one period, and other terminal devices take the terminal device which synchronizes the time with the server as secondary server synchronization time. The existing terminal device is taken as a subordinate server, a problem of huge performance pressure generated when the terminal devices of hundreds of thousands of orders of magnitude utilize one server is effectively solved without increasing the server cost, the probability of failed time synchronization is reduced, and meanwhile, the data traffic in a video monitoring network is reduced, the network congestion is reduced, and the error accumulation caused by multistage NTP time synchronization servers is reduced.

Description

Technical field [0001] The invention relates to the field of digital information transmission, in particular to a time synchronization method and corresponding system based on NTP. Background technique [0002] With the rapid development of computer networks, network applications have become very common, such as power, finance, communications, transportation, radio and television, security, petrochemical, water conservancy, national defense, medical treatment, government agencies, IT and other fields. The time synchronization and time are accurate, but the computer time is generated by the computer crystal oscillator oscillating at a fixed frequency. Due to the difference of the crystal oscillator, the computer time accumulation error will occur. From the perspective of business impact, because of the inconsistency of time, it is impossible to infer the specific time when the business occurred. From the perspective of security impact, the recording of all equipment (such as DVR / ...

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 Applications(China)
IPC IPC(8): H04J3/06H04L12/18
CPCH04J3/0667H04L12/185
Inventor 虞波李世明张晓琳李玉天
Owner ZHEJIANG UNIVIEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products