Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing time synchronization of SNTP client

A time synchronization and client-side technology, applied in time division multiplexing systems, electrical components, transmission systems, etc., can solve problems such as inability to synchronize, single server, and inability to achieve time synchronization, achieving good maintenance and avoiding synchronization failures.

Pending Publication Date: 2021-10-08
芯河半导体科技(无锡)有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there are some disadvantages of ntp synchronization and time synchronization: 1. With the adjustment of the family optical modem network structure, if the Internet connection is bridged network mode or the Internet channel does not have a time server, the time synchronization cannot be achieved through the default route; 2. In the past, through a single 3. The sntp client only performs one-time synchronization or irregular synchronization when it is powered on for the first time, and does not perform periodic synchronization.
[0004] The existing patent No. 201510617535.8 discloses a method and system technical solution for realizing SNTP client time synchronization. This solution uses policy routing, which can solve the first point of the above shortcomings, but the remaining two can't solve everything

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
  • Method for realizing time synchronization of SNTP client
  • Method for realizing time synchronization of SNTP client

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The technical solution of this patent will be further described in detail below in conjunction with specific embodiments.

[0023] see figure 1 , a kind of method that realizes SNTP client time synchronization, its realization step is as follows:

[0024] (1) The sntp client interface configuration is as follows figure 2 Shown:

[0025] Interface configuration time synchronization channel, synchronization interval time and up to five NTP time servers;

[0026] (2) After the interface is configured, click Save to enter the flow chart for processing;

[0027] Judging the time synchronization channel, if it is INTERNET or other channels, get the DNS address and wan interface device through the default route; if it is TR069 and VOIP, traverse all IP and PPP connections, judge whether its X_CT_COM_ServiceList is TR069 and VIOP, and get the corresponding DNS Address and wan interface device;

[0028] (3) Enter the time synchronization server cycle according to the confi...

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 a method for realizing time synchronization of an SNTP client. The method comprises the following steps: configuring an sntp client; judging a channel; obtaining a DNS address and a device of the channel wan interface; entering a time synchronization server cycle; obtaining a DNS resolution time server; if the analysis fails, taking the next time server, cycling the operation until the analysis succeeds, and obtaining the IP; conducting connect connection, if connection fails, taking the next time server, and cycling operation until IP connection succeeds; and carrying out time synchronization by adopting a select blocking interval, if synchronization fails, quitting circulation, and taking a second time server. According to the method, synchronization failure of a single time server is avoided, and the method is provided with main and standby servers and supports five ntp time servers at most. Interval synchronous time synchronization is supported, at present, power-on first time synchronization and unfixed interval synchronous time synchronization are mostly adopted, and interval time synchronization can be better maintained.

Description

technical field [0001] The invention relates to the technical field of home gateway equipment, in particular to a method for realizing time synchronization of an SNTP client. Background technique [0002] NTP (Network Time Protocol, Network Time Protocol) is a time synchronization protocol defined by RFC 1305, which is used for time synchronization between distributed time servers and clients. [0003] At present, there are some disadvantages of ntp synchronization and time synchronization: 1. With the adjustment of the family optical modem network structure, if the Internet connection is bridged network mode or the Internet channel does not have a time server, the time synchronization cannot be achieved through the default route; 2. In the past, through a single 3. The sntp client only performs one-time synchronization or irregular synchronization when it is powered on for the first time, and does not perform periodic synchronization. [0004] The existing patent No. 20151...

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/06H04L29/12
CPCH04J3/0667H04L61/4511
Inventor 武斌
Owner 芯河半导体科技(无锡)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products