CN1900878A - Computer distribution type system time synchronous method - Google Patents

Computer distribution type system time synchronous method Download PDF

Info

Publication number
CN1900878A
CN1900878A CN 200610090699 CN200610090699A CN1900878A CN 1900878 A CN1900878 A CN 1900878A CN 200610090699 CN200610090699 CN 200610090699 CN 200610090699 A CN200610090699 A CN 200610090699A CN 1900878 A CN1900878 A CN 1900878A
Authority
CN
China
Prior art keywords
time
computer
sampling
clock
overbar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200610090699
Other languages
Chinese (zh)
Other versions
CN100437423C (en
Inventor
张珩
李健
赵猛
陈靖波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Mechanics of CAS
Original Assignee
Institute of Mechanics of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Mechanics of CAS filed Critical Institute of Mechanics of CAS
Priority to CNB2006100906990A priority Critical patent/CN100437423C/en
Publication of CN1900878A publication Critical patent/CN1900878A/en
Application granted granted Critical
Publication of CN100437423C publication Critical patent/CN100437423C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

A kind of computer distribution type system time synchronous method, comprising steps of calculating the delay time of computer A to B using the method that closed loop samples ; The delay time of computer A to B is calculated using the method that closed loop samples ; Calculate network delay
Figure 200610090699.0_AB_2
; And calculate the time TBi at the i moment of B. The advantage of the invention is that it is based on software realization, it is at low cost; Using the method for feedback sample, precision is high; Using computer temporal, realize simple.

Description

A kind of computer distribution type system time synchronous method
Invention field
The invention belongs to computer realm, relate generally to computer distribution type system time synchronous method etc.This technology mainly utilize the method for reaction type closed loop sampling realize with the school computer-chronograph time be benchmark, by network system when being undertaken, finally make by the time of school computer-chronograph and school computer-chronograph on the Millisecond precision, to reach consistent by the school computer-chronograph.
Background of invention
Since the nineties in 20th century, the development of computer hardware technology and software engineering, and the development of high performance computer network, cause the Distributed Calculation machine technology to develop rapidly, change the computed mode of people, made people that the pursuit of transparent access, high-performance and the high reliability target of computing power as much as possible, data is no longer a dream simultaneously.
In distributed computing system (abbreviation distributed system), many computing machines constitute a complete system, the similar one-of-a-kind system of its behavior.Be that how many platform machines the user needn't have in the understanding system, their position where, and what their function is, file where, and operation is in the details of the first-class any relevant hardware physical distribution of which platform machine.Wherein distributed operating system is to realize the core of distributed computing system.The characteristics of distributed computing system are as follows:
(1) system is made up of a plurality of processors or computer system;
(2) these computational resources can be physically adjacent, by the processor that machine intimate bus or switch connect, communicate by sharing main memory; These computational resources also can be separate geographically, by the computer system that computer communication network (telenet or LAN (Local Area Network)) connects, use message (Message) to communicate;
(3) these resources form a whole, and are transparent to the user, all where needn't know these resources when promptly the user uses any resource;
(4) programs can be distributed on each computational resource and move;
(5) each computer system is equal, except being subjected to system-wide operating system control, does not exist the principal and subordinate to control and the centralized control link.
Distributed computing system belongs to instruction stream multiple data stream (MIMD) structure.
The development of distributed computing system has also caused chronometer time, and the synchronous demand of split-second precision between system.Because chronometer time is the basic physical parameter of scientific research, scientific experiment and engineering aspects.Basis coordinates when measurement of its program process during for all and quantitative examination provide requisite.Its perfect linearity and continuity have shown the time of day of objective things.Its application is extensive, as information network, Aero-Space, navigation communication, electric power transfer and Scientific Measurement or the like numerous areas.
Method for synchronizing time commonly used is a clock synchronization, also is " to clock ", is meant that method is exactly a clock transportation the most intuitively the clock alignment (synchronously) that is distributed in various places, and an available standard clock is made clock transportation, and the clock of various places is aimed at standard clock.Clock transportation is at first aimed at the standard time clock of system, made other clock and comparison in the system then, other clock of realization system and systematic unity standard time clock are synchronous.Each clock is synchronous in the so-called system, and do not require that each clock is complete and the clock of seeking unity of standard is become a partner together, only require and know that each clock gets final product in comparison clock correction and its relative drift correction parameter to standard clock of comparison back constantly with the system standard clock, must not dial clock.The another kind of method of time synchronized is to use the radio wave propagation temporal information, promptly utilize radiowave to come the passing time standard, recover the corresponding time signal contrast of time signal by the time service type receiver then with local clock, deduct its time delay on travel path and the influence of various error components, realize the synchronous of clock.Along with improving constantly that clock synchronization accuracy is required, begin because the shortwave propagation path is subjected to the influence of ionosphere variation, to make time service precision only can reach the ms level with shortwave time service (ms) class precision with the method for radiowave time service.Developed into afterwards with myriameter waves and promptly use the time service of Omega platform, its time service precision is about about 10 microseconds, is that Loran-C station is taken into account time service with long wave again afterwards, and its time service precision can reach microsecond, but can't cover in the whole world.Developed into satellite clock again afterwards and did clock transportation, used the ultrashort wave propagation time signal, and received by the user and look certain satellite altogether, and made its time service precision can reach 10ns.Utilize the satellite time service can realize that the global range clock is synchronously accurate.
In addition, for computer network system, also has time system method at present based on Internet, it mainly is to use the main frame of " time service server ", produce precise time, generally produce by atomic clock, and use Internet internet, according to certain communication protocol, agreement commonly used has DayTime, Time and Simple Network Time agreement etc., need to insert the internet but have, and shortcoming, inapplicable security and the high distributed computing system of time precision requirement of precision low (generally can only arrive a second level).
For distributed computing system, split-second precision is its basal needs, also require high precision time unified simultaneously between each system of distributed computing system, therefore Time synchronization technique there is higher requirement, adoptable method has the gps clock method for synchronous in the clock synchronization mentioned above, this method has the characteristics strongly professional, that precision is high, but owing to need to be equipped with the GPS hardware device, also need rent gps satellite simultaneously, therefore this method is fit to have the catenet system of professional application background, and is not suitable for general distributed computing system.
Summary of the invention
In order to solve above-mentioned traditional problem, so one object of the present invention has proposed a kind of computer distribution type system time synchronous method exactly.
In one aspect of the invention, this computer distribution type system time synchronous method comprises step: (1) uses the method for closed loop sampling to calculate the delay time of computer A to B (2) use the method for closed loop sampling to calculate the delay time of computer A to B (3) computational grid time-delay D; And (4) calculate the i time T constantly of B Bi
According to this aspect, the wherein said closed loop method of sampling is meant when computing machine B receives computer A behind the turnkey that sampling immediately deposits in the sampling buffer memory, and calculates turnkey when sending to A simultaneously, also does the same sampling operation of B after A receives.
According to this aspect, in step (1), D A ‾ = D A 0 + D A 1 + D A 2 + Λ + D A ( n - 1 ) n
According to this aspect, in step (2), D B ‾ = D B 0 + D B 1 + D B 2 + Λ + D B ( n - 1 ) n
According to this aspect, in step (3), D ‾ = D A ‾ + D B ‾ 2
According to this aspect, in step (4), T Bi=T B0+ D+ Δ Bi
Proposed by the invention during based on feedback principle soft the characteristics of system technology be: realize that based on software cost is low; Use the method for feedback sample, the precision height; Utilize computing machine self time, realize simple.
Description of drawings
In conjunction with accompanying drawing subsequently, what may be obvious that from following detailed description draws above-mentioned and other purpose of the present invention, feature and advantage.In the accompanying drawings:
Fig. 1 has provided according to closed loop sampling synoptic diagram of the present invention;
Fig. 2 has provided the work synoptic diagram according to computer distribution type system time synchronous method of the present invention;
Fig. 3 has provided according to time error curve of the present invention.
Embodiment
Split-second precision in the computer-chronograph of school is obtained in employing, calibrates the time that other needs the school computer-chronograph.The principle of close-loop feedback sampling realized the precise synchronization of time during this method utilization control was learned, and was implemented as follows:
1) A-time system service computer (school computer-chronograph);
System computing machine (by the school computer-chronograph) when 2) B-asks;
3) D Ai-computer A is to the i of B delay time (comprise the time difference+i network delay constantly) constantly;
4) D Bi-computing machine B is to the i of A delay time (comprise the time difference+i network delay constantly) constantly;
5)
Figure A20061009069900055
-computer A is to the average delay time (comprising the time difference+A to the time-delay of B averaging network) of B;
6) -computing machine B is to the average delay time (comprising the time difference+B to the time-delay of A averaging network) of A;
7) the average delay time of D-computer A and B;
8) T B0Zero moment of-computing machine B;
9) Δ Bi-T B0The time increment in the moment to the moment;
10) T Bi-B computing machine i the time constantly;
11) a closed loop sampling: as mistake! Do not find Reference source.Shown in, refer to when computing machine B receives computer A behind the turnkey, immediately
Sampling (D that calculates this t moment comes) deposits in the sampling buffer memory, and while turnkey when A calculates transmission, also does the same sampling operation of B after A receives.
Below with reference to Fig. 2, the workflow according to computer distribution type system time synchronous method of the present invention is described in detail.
As mistake! Do not find Reference source.Shown in, use the method for closed loop sampling to calculate the delay time of computer A to B:
D A ‾ = D A 0 + D A 1 + D A 2 + Λ + D A ( n - 1 ) n
Next, use the method for closed loop sampling to calculate the delay time of computer A to B:
D B ‾ = D B 0 + D B 1 + D B 2 + Λ + D B ( n - 1 ) n
After this, computational grid time-delay D:
D ‾ = D A ‾ + D B ‾ 2
At last, calculate the i time T constantly of B Bi:
T Bi=T B0+ D+Δ Bi
Utilize method as shown in Figure 2, the time when write down two computing machines behind the system, the time of record is carried out Error Calculation, and draw out graph of errors, analyze the precision of uniting when of the present invention.The time difference of record is drawn the time error curve, as mistake! Do not find Reference source.Shown in.
Two computers is behind out-of-date system as can be known by the time error curve, and two system time synchronization accuracies can reach hundred microsecond precision.
What may be obvious that for the person of ordinary skill of the art draws other advantages and modification.Therefore, the present invention with wider aspect is not limited to shown and described specifying and exemplary embodiment here.Therefore, under situation about not breaking away from, can make various modifications to it by the spirit and scope of claim and the defined general inventive concept of equivalents thereof subsequently.

Claims (6)

1, a kind of computer distribution type system time synchronous method comprises step:
(1) use the method for closed loop sampling to calculate the delay time of computer A to B
(2) use the method for closed loop sampling to calculate the delay time of computer A to B
Figure A2006100906990002C2
(3) computational grid time-delay D; And
(4) the i time T constantly of calculating B Bi
2, according to the process of claim 1 wherein that the described closed loop method of sampling is meant when computing machine B receives computer A behind the turnkey, sampling immediately deposits in the sampling buffer memory, and turnkey when A calculates transmission simultaneously, also does the same sampling operation of B after A receives.
3, according to the process of claim 1 wherein in step (1):
D A ‾ = D A 0 + D A 1 + D A 2 + Λ + D A ( n - 1 ) n .
4, according to the process of claim 1 wherein in step (2):
D B ‾ = D B 0 + D B 1 + D B 2 + Λ + D B ( n - 1 ) n .
5, according to the process of claim 1 wherein in step (3):
D ‾ = D A ‾ + D B ‾ 2 .
6, according to the process of claim 1 wherein in step (4):
T Bi=T B0+ D+Δ Bi
CNB2006100906990A 2006-07-07 2006-07-07 Computer distribution type system time synchronous method Expired - Fee Related CN100437423C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100906990A CN100437423C (en) 2006-07-07 2006-07-07 Computer distribution type system time synchronous method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100906990A CN100437423C (en) 2006-07-07 2006-07-07 Computer distribution type system time synchronous method

Publications (2)

Publication Number Publication Date
CN1900878A true CN1900878A (en) 2007-01-24
CN100437423C CN100437423C (en) 2008-11-26

Family

ID=37656774

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100906990A Expired - Fee Related CN100437423C (en) 2006-07-07 2006-07-07 Computer distribution type system time synchronous method

Country Status (1)

Country Link
CN (1) CN100437423C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270454A (en) * 2016-12-30 2018-07-10 中国电子科技集团公司第二十七研究所 System phaser array cooperative control method when a kind of soft

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5001730A (en) * 1989-03-31 1991-03-19 International Business Machines Corporation Clock synchronization algorithm for address independent networks
US5907685A (en) * 1995-08-04 1999-05-25 Microsoft Corporation System and method for synchronizing clocks in distributed computer nodes
CN1180607C (en) * 2002-02-26 2004-12-15 华为技术有限公司 Method of realizing dynamic control of distribution system using state array of time slot
JP2004078874A (en) * 2002-06-21 2004-03-11 Natl Space Development Agency Of Japan Method and device for adjusting time of distributed system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270454A (en) * 2016-12-30 2018-07-10 中国电子科技集团公司第二十七研究所 System phaser array cooperative control method when a kind of soft
CN108270454B (en) * 2016-12-30 2020-02-07 中国电子科技集团公司第二十七研究所 Soft time system phase shifter array cooperative control method

Also Published As

Publication number Publication date
CN100437423C (en) 2008-11-26

Similar Documents

Publication Publication Date Title
CN1317567C (en) Positioning system for digital telephone networks
EP2961231A1 (en) Angle determining system and method
US9086288B2 (en) Method and system for finding paths using GPS tracks
US9459652B1 (en) Virtual reference clock for virtual machines
CN112887320A (en) Ephemeris data processing method, device, equipment and storage medium
CN108731649B (en) 2000 mapping reference frame unifying method, device and computer readable storage medium
CN102937819B (en) On-board computer time label output system
CN117270376A (en) Common view data generation method, receiver and time-consuming terminal
Cortés et al. Performance evaluation of adaptive tracking techniques with direct-state Kalman filter
CN113163485B (en) Method for accurately positioning in large-range complex indoor environment
CN1900878A (en) Computer distribution type system time synchronous method
CN114580537A (en) Point cloud data processing method and device
Chen et al. A novel particle filtering for nonlinear systems with multi-step randomly delayed measurements
CN110808805B (en) Accurate channel synchronization method for synthesizing navigation decoy signals
Jones et al. An evaluation of the state of time synchronization on leadership class supercomputers
Wingerath et al. Who watches the watchmen? on the lack of validation in nosql benchmarking
CN114222238B (en) Positioning method, apparatus and computer readable storage medium
CN110376629B (en) Method for determining deviation between satellite differential systems based on principle of maximum RATIO value
Popp et al. An adaptive m-best SD assignment algorithm and parallelization for multitarget tracking
CN114448547A (en) Time synchronization method and device, electronic equipment and storage medium
CN112667614A (en) Data processing method and device and computer equipment
Zheng et al. Satellite orbit interpolation algorithm analysis for GNSS terminals
CN113613327B (en) WiFi-RTT positioning processing system and method based on reflection projection model enhancement
Shim et al. Improved scaling of temperature-accelerated dynamics using localization
CN112713956B (en) Frequency selection method, device, equipment and storage medium of synchronous Ethernet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081126

Termination date: 20170707