Method and system for realizing SNTP client time synchronization

A time synchronization, client-side technology, applied in time division multiplexing systems, electrical components, multiplexing communications, etc., can solve problems such as inability to implement home gateway equipment, and achieve the effect of strong reliability and high flexibility

Active Publication Date: 2015-12-02
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is that when the INTERNET WAN connection is a bridging networking mode or the INTERNET channel has no time server, the problem that the time synchronization of the home gateway device cannot be realized through the default route or the traditional time synchronization mechanism

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0033] The embodiment of the present invention provides a method for realizing time synchronization of the SNTP client, by configuring the time synchronization channel of the SNTP (SimpleNetworkTimeProtocol, Simple Network Time Protocol) client of the CPE (Customer Premise Equipment) device, and obtaining the time synchronization channel of the time synchronization channel WAN (WideAreaNetwork, wide area network) mouth IP address and corresponding DNS (DomainNameSystem, domain name system) address, in the routing table of this time synchronization channel, add destination address as the policy route of DNS address, carry out domain name analysis to SNTP server by this policy route , after the domain name resolution is completed, the policy routing is deleted, and an NTP (NetworkTimeProtocol, Network Time Protocol) message is constructed, and 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 discloses a method and system for realizing SNTP client time synchronization. The method includes the following steps of determining whether the time synchronization channel of an SNTP client is a TR069 channel or VOIP channel, if no, the time synchronization is carried out by a default route, if yes, the DNS address of the WAN port of the time synchronization channel is acquired; adding a strategy route having the DNS address as the destination address into the routing table of the time synchronization channel; performing domain name resolution of the SNTP server through the strategy route; deleting the strategy route after the domain name resolution is completed; and constructing an NTP message, by which the SNTP client is in network communication with the IP address of the resolved SNTP server to realize the time synchronization of the SNTP client. The method and system are not influenced by network structure change and have no influence to user networking, the flexibility and the reliability are high, and the defects of time synchronization carried out by the default route and a conventional time synchronization mechanism are made up.

Description

technical field [0001] The invention relates to the field of home gateway equipment, in particular to a method and system for realizing time synchronization of an SNTP client. Background technique [0002] With the increase of business functions of the home gateway and the adjustment of the network structure, the time synchronization of the home gateway does not only depend on the Internet connection configuration, that is, the default route, but the traditional time synchronization mechanism such as NTP (Network Time Protocol). NTP time synchronization refers to The most important thing is to perform time calibration with the time source through the NTP protocol of the network. The prerequisite is that the time source output must pass through the network interface, and the data output format must conform to the NTP protocol. All PCs, servers and other devices in the LAN maintain Synchronization, the NTP protocol automatically judges the network delay, and performs time comp...

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/06
Inventor 夏敏
Owner FENGHUO COMM SCI & 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