A Time Error Correction Method Based on Distributed System

A distributed system and time error technology, applied in the direction of time division multiplexing system, transmission system, digital transmission system, etc., can solve the problems of non-uniform and non-standardized server time, improve work efficiency, reduce workload, Avoid Lost Effects

Active Publication Date: 2021-04-30
北京东方通软件有限公司 +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a time error correction method based on a distributed system to solve the problem that the time of each server in the distributed system is not uniform and not standardized. The method includes:

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
  • A Time Error Correction Method Based on Distributed System
  • A Time Error Correction Method Based on Distributed System
  • A Time Error Correction Method Based on Distributed System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] as attached figure 1 As shown, the present invention is a time error correction method based on a distributed system, comprising:

[0082] Step 100: Divide the nodes in the distributed system into test nodes and common nodes;

[0083] Step 101: Obtain the network delay information of the test node and the normal node;

[0084] Step 102: According to the network delay information, judge whether the network of the normal node is stable through the test node, and determine a stable node;

[0085] Step 103: Obtain the data transmission time of the stable node;

[0086] Step 104: According to the data transmission time, compare and calculate the data transmission time on the test node with the data transmission time, and determine the nodes to be corrected with time errors;

[0087] Step 105: Generate correction information through the test node and send it to the node to be corrected;

[0088] Step 106: Perform error correction on the time on the node to be corrected ac...

Embodiment 2

[0094] In a preferred embodiment, through the test node, the delay test information is sent to the common node, and the sending time is recorded; wherein,

[0095] One test node corresponds to multiple normal nodes;

[0096] According to the delay test information, after the common node receives the delay test information, record the time length for processing the information on the delay test information, and return the delay test information;

[0097] Record and receive the returned delay test information through the test node, and record the receiving time;

[0098] According to the sending time and the receiving time of the delay test information, the test node extracts the time length from the returned delay test information, and performs network delay calculation to determine the network delay information; wherein,

[0099] The network delay information is determined by the following formula:

[0100]

[0101] in, for the network delay information, for the sending...

Embodiment 3

[0104] In a preferred embodiment, according to the network delay information, judging whether the network of the common node is stable through the test node, and determining a stable node includes:

[0105] Obtaining network delay information of the test node and a single common node;

[0106] According to the network delay information, the test node sorts the network delay information by receiving time to determine a network delay table;

[0107] According to the network delay table, the stability calculation is performed through the test node to obtain a stable value;

[0108] According to the stable value, by comparing with the upper limit of the stable value pre-stored on the test node, determine whether the ordinary node is a stable node; wherein,

[0109] The stable value is determined by the following formula:

[0110]

[0111] in, For the stable value, is the number of data and n≥5, is the data number, for the first network delay information; ;

[011...

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 present invention provides a time error correction method based on a distributed system, comprising: dividing the nodes in the distributed system into test nodes and common nodes; acquiring network delay information of the test nodes and common nodes; Delay information, judge whether the network of the common node is stable through the test node, determine the stable node; obtain the data transmission time of the stable node; according to the data transmission time, compare the data transmission time on the test node with The data transmission time is compared and calculated to determine the node to be corrected with a time error; the correction information is generated by the test node and sent to the node to be corrected; according to the correction information, the time on the node to be corrected Perform error correction. The invention solves the problem that the time of each server in the distributed system is not unified and not standardized.

Description

technical field [0001] The invention relates to the field of distributed computer systems, in particular to a time error correction method based on a distributed system. Background technique [0002] A distributed computer system is a software system built on the network, which has a high degree of cohesion and transparency. In a distributed system, the system crash of one server will not affect other servers, realizing the decentralization of servers change. And because of the high scalability and high computing speed of the distributed system, it is favored by the majority of Internet service companies. [0003] However, it is also the characteristics of decentralization of distributed systems that lead to different standards in distributed systems, and it has been difficult to achieve a perfect solution to the problem of system time. Since distributed systems are distributed on multiple servers, failures Troubleshooting and diagnosing problems can also be difficult. In...

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/06H04L29/08H04L12/24H04L12/26
CPCH04J3/0638H04J3/0682H04L41/0663H04L43/0817H04L43/0852H04L67/10
Inventor 缪世明杨伟张金德杨大伦何全李利军于滨峰张春林
Owner 北京东方通软件有限公司
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