JPH0259809A - Time control system for multi-computer system - Google Patents

Time control system for multi-computer system

Info

Publication number
JPH0259809A
JPH0259809A JP63209405A JP20940588A JPH0259809A JP H0259809 A JPH0259809 A JP H0259809A JP 63209405 A JP63209405 A JP 63209405A JP 20940588 A JP20940588 A JP 20940588A JP H0259809 A JPH0259809 A JP H0259809A
Authority
JP
Japan
Prior art keywords
computer
time
computers
computer system
receives
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.)
Pending
Application number
JP63209405A
Other languages
Japanese (ja)
Inventor
Masahiko Hida
陽田 正彦
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63209405A priority Critical patent/JPH0259809A/en
Publication of JPH0259809A publication Critical patent/JPH0259809A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PURPOSE:To assure the time matching property among plural computers of a multi-computer system with high reliability and at a low cost by calculating the receiving time difference between two computers and correcting the time of its own computer. CONSTITUTION:A master computer 1 sends the transmitting time point to a computer 2. The computer 2 receives the time point after a fixed time and stores it. Furthermore, the computer 2 receives the time data and sends back by return together with the receiving time point of its own. The computer 1 receives the time data from the computer 2 and stores it. In such a way, the time difference is calculated between both computers 1 and 2 and each of both computers correct its own time respectively by an extent equal to said time difference. Thus the time difference can be set at zero between both computers. In such constitution, the accurate time coincidence is assured among plural computers of a multi-computer system with high economical property and high reliability.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は複数の計算機を接続した複合計算機システムに
おいて、各計算機の時刻を一致させるための時刻管理方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a time management method for synchronizing the time of each computer in a compound computer system in which a plurality of computers are connected.

(従来の技術) 第3図は従来の複合計算機システムにおける計算機時刻
を一致させるための方式の1例を示す図でるる。第3図
は4台の計算機から成る複合計算機システムである。第
3図において10.20゜30.40はそれぞれ計算機
であシ、これら4台め計算機が統合して一つの複合計算
機システムを構成しているものとする。これらの計算機
が統合して一つの計算機システムとして機能を発揮する
ためには、それぞれの計算機が同一の時刻の下で動作す
る時計を持ち、その時計に従って動作する必要がある。
(Prior Art) FIG. 3 is a diagram showing an example of a method for synchronizing computer times in a conventional compound computer system. Figure 3 shows a complex computer system consisting of four computers. In FIG. 3, 10.20° and 30.40 are computers, respectively, and it is assumed that these four computers are integrated to form one compound computer system. In order for these computers to integrate and function as one computer system, each computer needs to have a clock that operates at the same time and operate according to that clock.

その様な同一時刻を与えるために、例えば53で示す親
時計を設け、この親時計の時刻をそれぞれ親時計インタ
ーフェース11,21゜31.41経由で各計算機10
.20,30゜40に時刻を入力し、各計算機の時刻を
一致させる方式がある。しかし、この方式は親時計が1
個であるためこの親時計が故障するとシステム全体とし
て時刻管理が出来なくなること、時刻管理のため特別に
インタフェースを設け、又、信号線を布設する必要があ
ル、コスト的にも無駄があること、これらの計算機間の
距離が離れている場合はこの問題はさらに深刻圧なる等
の問題点があり・た。
In order to provide such the same time, for example, a master clock shown as 53 is provided, and the time of this master clock is transmitted to each computer 10 via the master clock interface 11, 21, 31, 41, respectively.
.. There is a method of inputting the time in 20, 30, 40 and making the time of each computer match. However, in this method, the master clock is 1
If this master clock breaks down, the system as a whole will not be able to manage the time, and it will be necessary to provide a special interface and install signal lines for time management, which is wasteful in terms of cost. However, if these computers are far apart, this problem becomes even more serious.

第4図は別の従来の複合計算機システムにおける時刻管
理方式を示す図である。第4図は同様に4台の計算機か
ら成る複合計算機システムで1、計算機10は親計算機
であり、この計算機のみが親時計インタフェース11を
経由して親時計装置53と接続している。計算機20,
30.40は子計算機であシ、それぞれ伝送路22.3
2゜42を経由して親計算機と接続している。本システ
ムの場合は親時計装置53の時刻を親計算機lOが読取
シ、その内容を周期的に伝送路22゜32.42経由し
ている子計算機に与えることによって、システム各計算
機の時刻を一致させようとするものである。このシステ
ムの場合、親時計装置は唯一であシ、これが故障すると
システム全体として時刻管理ができなくなってしまうこ
とは第3図の例と同様である。伝送路22.32゜42
は一般に複合計算機システム間の情報の授受のために敷
設したものを使用できるので、コスト的には問題はなく
、又、各計算機間の距離も離れていても問題はない。し
かし、この伝送路上を時刻データが伝達するための時間
がかかること、又、伝送路の特性が伝送方式が異なる場
合には、その時間にもバラツキが生じること等システム
内の全計算機の時刻を正確に一致させるという点では問
題がある。
FIG. 4 is a diagram showing a time management method in another conventional compound computer system. Similarly, FIG. 4 shows a compound computer system 1 consisting of four computers. Computer 10 is a parent computer, and only this computer is connected to a master clock device 53 via a master clock interface 11. calculator 20,
30.40 are slave computers, transmission lines 22.3 and 30.40 are child computers, respectively.
It is connected to the parent computer via 2°42. In the case of this system, the parent computer IO reads the time of the parent clock device 53 and periodically gives the contents to the child computers via the transmission path 22, 32, 42, thereby making the time of each computer in the system consistent. It is an attempt to do so. In this system, there is only one master clock device, and if this device breaks down, the system as a whole will be unable to manage time, as in the example shown in FIG. Transmission line 22.32°42
Generally, it is possible to use a system installed for exchanging information between complex computer systems, so there is no problem in terms of cost, and there is no problem even if the distances between the computers are large. However, it takes time for the time data to be transmitted over this transmission path, and if the characteristics of the transmission path are different depending on the transmission method, there may be variations in the time, etc. There is a problem with matching accurately.

又、第3図、第4図の方式で親時計装置と子計算機間を
無線で情@を伝送し、時刻音一致させる方式がある。例
えば、子計算機側に中波放送受信機を置き、一般の商業
放送の電波を受信し、時報を用いて0計算機の時刻を修
正する方式である。
There is also a method shown in FIGS. 3 and 4 in which information is transmitted wirelessly between the master clock device and the child computer to make the time and sound match. For example, a medium wave broadcasting receiver is placed on the slave computer side, receives general commercial broadcasting radio waves, and uses a time signal to correct the time of the zero computer.

しかし、この方式は全ての子計算機に受信設備が必要で
ろシ経済的でない。
However, this method is not economical as it requires reception equipment for all slave computers.

(発明が解決しようとする課題) 上記した通シ、従来の方式は1個所の故障でシステム全
体の時刻管理が不可能となる様な共通部分を持つ等、信
頼性面で問題がある。又、システム内の個々の計算機間
の距離が離れているとコストが非常圧増大する。あるい
は全体の時刻の整合性の精度が悪い等の問題があった。
(Problems to be Solved by the Invention) The above-mentioned conventional systems have problems in terms of reliability, such as having a common part where a failure in one location makes it impossible to manage the time of the entire system. Furthermore, if the distance between individual computers in the system is large, the cost increases tremendously. Alternatively, there were problems such as poor accuracy of overall time consistency.

本発明は上記従来方式の問題点を解決するため和なされ
たものでろ)、高信頼度、低コストでしかし高精度で複
合針n機システムの各計算機の時刻の整合性を確保する
時刻管理方式を提供することを目的としている。
The present invention has been developed to solve the problems of the conventional methods described above), and is a highly reliable, low-cost, yet highly accurate time management method that ensures the consistency of the time of each computer in a compound needle n-machine system. is intended to provide.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 一般に複合計算機システムはその機能を実現するために
システムを構成する個別の計算機間を何らかの伝送路で
接続している。本発明の時刻管理方式はこの伝送路を用
いてシステム内の2個の計算機間で相互に自己の計算機
の時刻を送受し、その時刻から、相手計算機と0計算機
との時刻差を算出し、これによ)0計算機の時刻を補正
することにより、2個の計算機の時刻を一致させ、この
動作をシステム内全計算機との間で行うことKよシ、シ
ステム内全計算機の時刻を一致させるものである。
(Means for Solving the Problems) Generally, in order to realize the functions of a compound computer system, the individual computers that make up the system are connected through some kind of transmission path. The time management method of the present invention uses this transmission path to mutually transmit and receive the time of its own computer between two computers in the system, and from that time calculates the time difference between the other computer and the 0 computer, By this), by correcting the time of the 0 computer, the time of the two computers will match, and this operation will be performed with all computers in the system. It is something.

(作 用) 第1図を用いて、本発明の詳細な説明する。(for production) The present invention will be explained in detail with reference to FIG.

10.20.30.40・・・は複合計算機システムを
構成する計算機である。それぞれ時計インタフェース1
1.21,31.41・・・を経由して、時計装置13
.23,33.43・・・と接続されている。又、それ
ぞれの計算機の間は伝送路22゜32.42・・・によ
シ接続されておシ情報の送受信が可能となりている。こ
の複合計算機システムはそれぞれ自己の時計装置から与
えられる時刻に従ってほぼ正しい時刻で動作することが
可能でるるかシステム全体の時計装置の時刻を一致させ
るのが本発明による時刻管理方式でるる。簡単のため2
台の計算機から成る複合計算機システムを例としてこれ
らの2台の計算機間の時刻を一致させる方式について第
2図を用いて説明する。
10, 20, 30, 40, . . . are computers that constitute the compound computer system. Each clock interface 1
Clock device 13 via 1.21, 31.41...
.. 23, 33, 43... are connected. Further, the respective computers are connected by transmission lines 22, 32, 42, . . . to enable transmission and reception of information. The time management method according to the present invention allows each of the compound computer systems to operate at approximately the correct time according to the time given by its own clock device.The time management method according to the present invention allows the clock devices of the entire system to synchronize in time. 2 for simplicity
Taking as an example a complex computer system consisting of two computers, a method for synchronizing the times between these two computers will be described with reference to FIG.

まず、計算機α)は時刻一致のためのデータ(以下時刻
データと称す)に0計算機のそのデータを送信する時刻
he乗せて送信する。その時刻データは伝送路上を伝わ
って一定時間後九計算機?)に到着する。計算機(2)
ではその時刻データを受信した時刻(0計算機の時刻t
z)を記憶する。更に、i算機(2)は時刻データを受
信すると折返し1計算機の送信時刻t2’ k加えて時
刻データを返送する。
First, the computer α) transmits data for time matching (hereinafter referred to as time data) with a time he at which the data of the zero computer is transmitted. The time data is transmitted on the transmission path and after a certain period of time nine computers? ). Calculator (2)
Then, the time when the time data was received (time t of 0 computer
z). Further, when the i calculator (2) receives the time data, it returns the time data in addition to the transmission time t2'k of the first computer.

計算機(1)ではその時刻データを受信すると、受信し
之時刻(1計算機の時刻1./ ) 1c記憶する。
When the computer (1) receives the time data, it stores the received time (time of 1 computer 1./) 1c.

上記の動作によシ、計算機(1)と計算機(2)の間の
時刻差をΔt、時刻データの伝送時間をαとすると、こ
れらの時刻間には次の関係がある。
According to the above operation, assuming that the time difference between computer (1) and computer (2) is Δt, and the transmission time of time data is α, the following relationship exists between these times.

12−11=α十Δt・・・・・・・・・・・(1)t
 1/−t2’== cl−Δt・・・−・・・・・・
・(2)(1)式(2)式からΔtt−求めるとΔ・=
“′−゛−“′十“″  ・・・・・・・・〈・)とな
る。
12-11 = α + Δt (1) t
1/-t2'== cl-Δt・・・-・・・・・・
・(2) From equations (1) and (2), Δatt− is calculated as Δ・=
“′−゛−“′ten”” .....〈・).

即ち、計算機(1)は計算機(2)との間で時刻データ
を送受信することによって1計算機と相手計算機の間の
時刻差を算出することができる。この時刻差分だけ1計
算機の時刻を補正するととくよシ相手計算機との間の時
刻差を零とすることができる。
That is, computer (1) can calculate the time difference between one computer and the other computer by transmitting and receiving time data to and from computer (2). In particular, by correcting the time of one computer by this time difference, the time difference between it and the other computer can be made zero.

(実施例) 以下図面を参照して実施例を説明する。(Example) Examples will be described below with reference to the drawings.

第1図は本発明による複合計算機システム時刻管理方式
を説明するための一実施例の構成図である。
FIG. 1 is a block diagram of an embodiment for explaining a multifunction computer system time management system according to the present invention.

第1図において、第3図及び第4図と同一部分について
は同一符号を付して説明を省略する。
In FIG. 1, the same parts as in FIGS. 3 and 4 are designated by the same reference numerals, and their explanation will be omitted.

21.31.41は各計算[20,30,40に対する
時計インタフェース、23,33.43は各計算機の時
計装置である。要するに個々の計算機は夫々が時計イン
タフェースを介して時計装置を備える構成を有している
21.31.41 is a clock interface for each calculation [20, 30, 40; 23, 33.43 is a clock device for each computer. In short, each computer has a configuration in which each computer is provided with a clock device via a clock interface.

次に作用説明をする。複数の計算機の中で、親計算機と
なる計xal!を予じめ定めておく。本実施例では計算
機(1)を親計算機とする。子計算機はシステム立上げ
時あるいは周期的に時刻データki計算機へ送信する。
Next, I will explain how it works. Among multiple computers, the parent computer xal! be determined in advance. In this embodiment, computer (1) is the parent computer. The child computer sends time data to the ki computer at system startup or periodically.

親計算機は時刻データを受信すると、当該時刻データを
発信した子計算機に対して1計算機の時刻を加えた時刻
データ全返送する。子計算機はこの時刻データを受信す
ると前述(3)の計算式により、1計算機と親計算機間
の時刻差を算出し、1計算機の時計を補正する。この様
な動作を各子計算機がそれぞれ実行することにより、シ
ステム内全計算機の時刻は親計算機の時刻と一致させる
ことが出来る。
When the parent computer receives the time data, it returns all the time data, including the time of one computer, to the child computer that sent the time data. When the child computer receives this time data, it calculates the time difference between one computer and the parent computer using the calculation formula (3) described above, and corrects the clock of one computer. By each child computer performing such an operation, the time of all computers in the system can be made to match the time of the parent computer.

以上述べた様に本発明の時刻管理方式によれば、複数の
計算機で構成される複合計算機システムの各計算機の時
刻を正確に一致させることができる。
As described above, according to the time management method of the present invention, it is possible to accurately synchronize the times of each computer in a compound computer system composed of a plurality of computers.

又、通常の計算機は自己の計算機内の時刻を管埋するた
め何らかの時計装置を持っておシ、第1図に示す13,
23,33.43・・・等の時計装置はそれらを使用す
ればよい。又伝送路九関しても複合計算機システムでは
通常6計算機間に伝送路が敷設されておp、それを使用
できる。
In addition, a normal computer has some kind of clock device to keep track of the time inside the computer.
For clock devices such as 23, 33, 43, etc., these may be used. Regarding the nine transmission lines, in a compound computer system, transmission lines are usually installed between the six computers and can be used.

即ち、本発明の時刻管理方式では特別にハードウェアを
追加する必要はなく経済的である。更く、何らかの理由
で親計算機が停止した様な場合には第2.第3・・・の
親計算機となるべき順位を予じめ定めておくことくよシ
、稼動中の残シの計算機間の時刻管理を継続することが
できる。そのため、故障によシ複合計算機システム全体
として時刻管理が不能となるということがなく信頼性も
高い。
That is, the time management system of the present invention does not require any special hardware addition, and is economical. Furthermore, if the parent computer stops for some reason, the second step. By predetermining the order in which the third computer should become the parent computer, it is possible to continue time management among the remaining operating computers. Therefore, the time management of the entire complex computer system will not become impossible due to a failure, and reliability is high.

〔発明の効果〕〔Effect of the invention〕

本発明による時刻管理方式はシステム内の各計算機をむ
すぶ伝送路の特性に影響されず、正確に時刻を一致させ
ることができる。又1末男式全適用するために新たくハ
ードウェアを追加する必要がなく経済的である。更に、
システムの計算機が最後の1台になる迄、時刻管理を継
続することができ、非常に信頼性が高い。
The time management method according to the present invention is not affected by the characteristics of the transmission paths connecting each computer in the system, and can accurately match the times. Furthermore, it is economical since there is no need to add new hardware to apply the entire method. Furthermore,
Time management can be continued until the last computer in the system is used, making it extremely reliable.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の詳細な説明する実施例の構成図、第2
図は本発明の動作を2台の計算機間の時刻管理について
説明する動作図、第3図は従来方式のうちの一つを説明
する図、第4図は他の従来の技#を説明するための構成
図でるる。 10.20,30.40・・・複合計算機システムの構
成要素となる計算機、11,21,31゜41・・・各
計算機の時計装置とのインタフェース、12.22,3
2.42・・・各計算機間を結ぶ伝送路、13,23,
33,43.53・・・各計算機の時計装置あるいは親
時計装置。
FIG. 1 is a configuration diagram of an embodiment for explaining the present invention in detail, and FIG.
The figure is an operation diagram explaining the operation of the present invention regarding time management between two computers, Figure 3 is a diagram explaining one of the conventional methods, and Figure 4 is a diagram explaining another conventional technique. The configuration diagram for Ruru. 10.20, 30.40...Computers that are components of the compound computer system, 11,21,31゜41...Interface with the clock device of each computer, 12.22,3
2.42...Transmission line connecting each computer, 13, 23,
33, 43, 53... Clock device or master clock device of each computer.

Claims (1)

【特許請求の範囲】[Claims] 相互に情報を伝達する手段を有する複数の計算機から成
る複合計算機システムにおいて、システム内の任意の2
個の計算機間で相互に自己の計算機の時刻を送受し、そ
の時刻から他計算機と自計算機との時刻差を求め、これ
を用いて自計算機の時刻を補正することにより、システ
ム内全計算機の時刻を一致させることを特徴とする複合
計算機システムの時刻管理方式。
In a complex computer system consisting of multiple computers that have means for mutually transmitting information, any two computers in the system
By transmitting and receiving the time of one's own computer between each other, calculating the time difference between other computers and one's own computer from that time, and using this to correct the time of one's own computer, all computers in the system can be A time management method for a compound computer system characterized by synchronizing the times.
JP63209405A 1988-08-25 1988-08-25 Time control system for multi-computer system Pending JPH0259809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63209405A JPH0259809A (en) 1988-08-25 1988-08-25 Time control system for multi-computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63209405A JPH0259809A (en) 1988-08-25 1988-08-25 Time control system for multi-computer system

Publications (1)

Publication Number Publication Date
JPH0259809A true JPH0259809A (en) 1990-02-28

Family

ID=16572342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63209405A Pending JPH0259809A (en) 1988-08-25 1988-08-25 Time control system for multi-computer system

Country Status (1)

Country Link
JP (1) JPH0259809A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04253212A (en) * 1991-01-30 1992-09-09 Nec Corp Remote time setting system
JPH06332568A (en) * 1993-05-26 1994-12-02 Nec Corp Method and device for matching system time
JPH06337732A (en) * 1993-05-31 1994-12-06 Nec Corp Time correcting device of information processing system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS616758A (en) * 1984-06-20 1986-01-13 Hitachi Ltd Synchronizing method of timer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS616758A (en) * 1984-06-20 1986-01-13 Hitachi Ltd Synchronizing method of timer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04253212A (en) * 1991-01-30 1992-09-09 Nec Corp Remote time setting system
JPH06332568A (en) * 1993-05-26 1994-12-02 Nec Corp Method and device for matching system time
JPH06337732A (en) * 1993-05-31 1994-12-06 Nec Corp Time correcting device of information processing system

Similar Documents

Publication Publication Date Title
US11789938B1 (en) Ensuring globally consistent transactions
JP5160170B2 (en) PPS connection apparatus (time synchronization apparatus) for STP, time synchronization system, and method for providing PPS connection or time synchronization apparatus for STP
KR101109980B1 (en) Facilitating synchronization of servers in a coordinated timing network
US7783913B2 (en) Facilitating recovery in a coordinated timing network
US20050033947A1 (en) Multiprocessor system with interactive synchronization of local clocks
CN102752065B (en) A kind of method for synchronizing time and system
JP5042318B2 (en) Method, system, and computer program for defining a tier 1 configuration in an agreement timing network
US5384563A (en) Method and apparatus for time synchronization of bus type local area networks including hierarchical networks
US7925916B2 (en) Failsafe recovery facility in a coordinated timing network
US5504878A (en) Method and apparatus for synchronizing plural time-of-day (TOD) clocks with a central TOD reference over non-dedicated serial links using an on-time event (OTE) character
US7206877B1 (en) Fault tolerant data communication network
US11115142B1 (en) Timing synchronization service and distribution system
US8055801B2 (en) Pulse-per-second attachment for STP
JPH0259809A (en) Time control system for multi-computer system
US7694176B2 (en) Fault-tolerant computer and method of controlling same
CN116865898A (en) Clock redundancy system based on multiple clock domains and method for realizing clock redundancy
CN118804267A (en) Time synchronization method, device, electronic equipment and storage medium
CN115441975A (en) Time synchronization method, device, equipment and storage medium
JPS616758A (en) Synchronizing method of timer
JP2001184267A (en) Storage sub-system
JPH03262351A (en) Backup system for local area network
JPS605003B2 (en) information processing system
JPH03238944A (en) Network system