Distributed cluster time synchronization method and device and computer readable storage medium

A time synchronization device and distributed cluster technology, applied in the computer field, can solve problems such as time difference, achieve the same effect as above, and avoid data asynchronous

Inactive Publication Date: 2022-06-24
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditional time synchronization using a physical clock such as a Network Time Protocol (NTP) server will still cause slight differences in time due to problems such as network delays and processing responses.

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
  • Distributed cluster time synchronization method and device and computer readable storage medium
  • Distributed cluster time synchronization method and device and computer readable storage medium
  • Distributed cluster time synchronization method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative work fall within the protection scope of the present application.

[0047] The core of the present application is to provide a distributed cluster time synchronization method, device and computer-readable storage medium, so that the interaction of each service node can achieve time synchronization and avoid the problem of data asynchrony in the cluster.

[0048] In order to make those skilled in the art better understand the solution of the present application, the present application will be further described in d...

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 distributed cluster time synchronization method and device and a computer readable storage medium, and relates to the field of computers. The method comprises the following steps: receiving a Tick request instruction sent by a service node and determining a current Tick; new Ticks with the corresponding number are generated according to the number of the instructions for requesting the Tick, and 1 is sequentially added to the new Ticks on the basis of the current Tick; and sending the new Tick to the corresponding service node according to the order of receiving the instruction for requesting the Tick. Through adoption of a logic clock mode, time synchronization of interaction of each service node is achieved, and the problem of data asynchronization in a cluster is avoided.

Description

technical field [0001] The present application relates to the field of computers, and in particular, to a distributed cluster time synchronization method, apparatus, and computer-readable storage medium. Background technique [0002] A distributed system is a software system built on a network with a high degree of cohesion and transparency. In distributed systems, time synchronization is often a headache. Generally speaking, time is an absolute quantity, but when it is specific to each computer, time is a relative quantity. There are slight differences in the time of each node in a distributed system, which is also unacceptable for a highly concurrent distributed cluster. Once the time of many time-related middleware is out of synchronization, the data of each module in the cluster will be out of synchronization, such as the timing failure of the Remote Dictionary Server (Redis). [0003] Traditional time synchronization using a physical clock such as a Network Time Prot...

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): H04L67/1095H04L67/1097
CPCH04L67/1095H04L67/1097
Inventor 周文强
Owner INSPUR SUZHOU INTELLIGENT 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