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

Method and device for synchronizing system time

A system time, first-time technology, applied in the network field, can solve the problems of constant fluctuation of client system time and the inability to guarantee the consistency of client time and server time, so as to avoid constant fluctuation of client system time and avoid Time delay, the effect of improving consistency

Active Publication Date: 2019-09-06
NEW H3C TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] Therefore, applying the above method to set the client's time does not guarantee the consistency between the client's time and the server's time. In an environment with unstable traffic, it is likely to cause the client's system time to fluctuate continuously.

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 device for synchronizing system time
  • Method and device for synchronizing system time
  • Method and device for synchronizing system time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0067] In order to solve the problems in the prior art, embodiments of the present invention provide a system time synchronization method and device. In the embodiment of the present invention, the device to reset the system time in the network is determined as the client, and the device as the time reference in the network is determined as the server.

[0068] The embodiment of the present invention applies the NTP technology. NTP defines the accuracy of the cloc...

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 embodiment of the invention discloses a system time synchronization method and device. The method comprises the steps that a bottom drive module of a client assigns the sending time of an NTP (Network Time Protocol) request message to an origin timestamp T1 of the NTP request message; the bottom drive module of a server takes the time of receiving the NTP request message by the server as a receive timestamp T2; the bottom drive module of the server assigns the sending time of an NTP response message to a transmit timestamp T3 of the NTP response message; and the bottom drive module of the client takes the time of receiving the NTP response message by the client as a destination timestamp T4. It follows that according to the time in the timestamps, the time delay of transmitting the messages between an NTP module and the bottom drive modules is avoided, the consistency between the client time and the server time is improved, and the problem that the client system time oscillates continuously in a traffic instable environment is avoided.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method and device for synchronizing system time. Background technique [0002] Currently, the network usually uses NTP (Network Time Protocol, Network Time Protocol) to keep the system time of each device in the network consistent. For example: a network management system that needs to use time as a reference to analyze log information and debugging information collected from different devices; a billing system that requires device time consistency; multiple systems cooperate to process the same complex Event occasions, etc., all use NTP to keep the system time of each device in the network consistent. [0003] Suppose the current time of client A is 10:00:00am, and the time of server B is 11:00:00am. Client A needs to be set to the same time as server B. In the prior art, the following steps are applied to set the time of the client A (assuming the time required for the on...

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): H04J3/06
Inventor 王剑鸣
Owner NEW H3C TECH CO LTD
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