JPH0325582A - Correcting method for time stamp information in distributed processing type information collection system - Google Patents
Correcting method for time stamp information in distributed processing type information collection systemInfo
- Publication number
- JPH0325582A JPH0325582A JP15950289A JP15950289A JPH0325582A JP H0325582 A JPH0325582 A JP H0325582A JP 15950289 A JP15950289 A JP 15950289A JP 15950289 A JP15950289 A JP 15950289A JP H0325582 A JPH0325582 A JP H0325582A
- Authority
- JP
- Japan
- Prior art keywords
- information
- time
- subsystem
- time stamp
- collected
- 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
Links
- 238000000034 method Methods 0.000 title claims description 8
- 230000001360 synchronised effect Effects 0.000 abstract description 8
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000010365 information processing Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
(並業上の利用分野)
本発明は情報処理システムの改良に関し,特にその分散
処理形の管理システムに関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Commercial Use) The present invention relates to an improvement of an information processing system, and particularly to a distributed processing type management system thereof.
(従来の技術)
従来,この種のシステムでは収集した情報に対して,で
きるだけその情報が発生した時点に近い時刻をタイムス
タンプとして付加する必要がある。このため,通常、そ
れぞれのサブシステムにかいては,個々に動作するリア
ルタイムクロックを持っている。従来はそれぞれのサブ
システムのリアルタイムクロツクを,システム糸内で唯
一のリアルタイムクロツクに同期させてから情報を収集
していた。(Prior Art) Conventionally, in this type of system, it is necessary to add a time stamp to collected information as close as possible to the time when the information was generated. For this reason, each subsystem usually has a real-time clock that operates individually. Previously, each subsystem's real-time clock was synchronized with the only real-time clock within the system before information was collected.
(発明が解決しようとする課題)
上述した従来の方式では、任意のサブシステムが起動し
ても、同期元のリアルタイムクロツクを持つサブシステ
ムが起動していないと、収集した情報に対して正しいタ
イムスタンプを付加することができないと云う欠点があ
る。(Problems to be Solved by the Invention) In the conventional method described above, even if any subsystem starts up, if the subsystem with the synchronization source real-time clock is not started, the collected information will not be correct. The disadvantage is that a timestamp cannot be added.
本発明の目的は、各サブシステムの初期起動時やランダ
ムな停止によってサブシステム間の時刻の同期が保証さ
れない状態にかいても情報を収集することができ,なカ
敢終的に収集した情報のタイムスタンプを補正して情報
間のタイムスタンプの誤差を少なくすることによって上
記欠A’k除去し、正しいタイムスタンプを付加できる
ようにS戒した分散処理形情報収集システムにおけるタ
イムスタンプ情報の補正方式を提供することにある。An object of the present invention is to be able to collect information even when time synchronization between subsystems is not guaranteed due to initial startup or random stoppage of each subsystem, and to make it possible to collect information that is eventually collected. Correction of timestamp information in a distributed processing information collection system that corrects the timestamps and reduces errors in timestamps between information to eliminate the above-mentioned omissions A'k and add correct timestamps. The goal is to provide a method.
(課題を解決するための手段)
本発明による分散処理形情報収集システムにbけるタイ
ムスタンプ情報の補正方式は情報収集手段と,タイムス
タンプ誤差補正手段とを具備して構威したものである。(Means for Solving the Problems) The time stamp information correction method in the distributed processing information collection system b according to the present invention comprises an information collection means and a time stamp error correction means.
情報収集手段は,各サブシステムの初期起動時やランダ
ムな停止によってサブシステム間の時刻の同期が保証さ
f′Lない状態で,情報を収集するためのものである。The information collecting means is for collecting information in a state where synchronization of time between subsystems is not guaranteed due to initial startup of each subsystem or random stoppage.
タイムスタンプ誤差補正手段は,情報収集手段で最終的
に収集された情報のタイムスタンプを補正してfW報間
のタイムスタンプの&%Mを減少させるためのものであ
る。The time stamp error correction means corrects the time stamp of the information finally collected by the information collection means to reduce &%M of the time stamp between fW reports.
(実 施 例)
第1図は、分散処理形情報収集システムの一例を示すブ
ロック図である。1,2,3.4はその中のサブシステ
ムであり、サブシステム2,3.4で情報を収集し、そ
れぞれにタイムスタンプを付加してサブシステム1に送
信する。システム内のリアルタイムクロックは、すべて
サブシステム1からの時刻の送信によって合わせる。(Embodiment) FIG. 1 is a block diagram showing an example of a distributed processing information collection system. 1, 2, and 3.4 are subsystems therein, and the subsystems 2, 3.4 collect information, add time stamps to each, and transmit the information to the subsystem 1. All real-time clocks in the system are synchronized by time transmission from subsystem 1.
次に、第1図のシステムについて、第2図を参照して説
明する。Next, the system shown in FIG. 1 will be explained with reference to FIG. 2.
0ぱ真の時間軸である。サブシステムIICDいて,リ
アルタイムクロックの時間軸はCと同じであるとする。This is the true time axis. Assume that subsystem IICD has the same time axis as real-time clock C.
C2は、時刻同期処理が実施される前のサブシステム2
におけるリアルタイムクロツクの時間軸である。C2 is subsystem 2 before time synchronization processing is performed.
This is the time axis of the real-time clock.
0 2(x). 0 2(y), 0 2(zlはそれ
ぞれ,サブシステム2にかいて収集した情@xayaz
に対して付加した時間軸02上の時刻である。O(x)
,0(y),O(z)は、それぞれサブシステム2にか
いて収集した情報x6 Y # Zの発生時刻に対する
時間軸C上の時刻である。02(s)は,サブシステム
1から時刻同期が実施されたときの時間軸C2上の時刻
である。0(s)は,そのとき同期した時刻である。以
下、サブシステム3.4についても同様である。ここで
Fi説明を簡単にするため,サブシステム1.2の処理
について説明する。0 2(x). 0 2 (y), 0 2 (zl is the information collected by subsystem 2 @xayaz
This is the time on the time axis 02 added to . O(x)
, 0(y), and O(z) are the times on the time axis C relative to the generation times of the information x6 Y # Z collected by the subsystem 2, respectively. 02(s) is the time on the time axis C2 when time synchronization is performed from the subsystem 1. 0(s) is the synchronized time at that time. The same applies to subsystem 3.4 below. Here, in order to simplify the explanation of Fi, the processing of subsystem 1.2 will be explained.
サブシステム2の起動後、情報x,y,zが発生して,
サブシステム2はそれを収集する。After subsystem 2 starts up, information x, y, z is generated,
Subsystem 2 collects it.
この状態にかいて,サブシステム2のリアルタイムクロ
ツクはサブシステム1と同期をとっていないため,それ
ぞれの情報に対して時間軸02上の時刻0 2(x)
, 0 2(y) , 0 2(z)でタイムスタンプ
を付加する。このとき,サブシステム2は+1)の機能
によシ収集した情報の他のサブシステムへの送信を禁止
する。In this state, the real-time clock of subsystem 2 is not synchronized with subsystem 1, so each piece of information is set at time 0 2 (x) on time axis 02.
, 0 2 (y), 0 2 (z). At this time, subsystem 2 prohibits the transmission of the information collected by function +1) to other subsystems.
サブシステム1が起動すると,サブシステム2はサブシ
ステム1に対して時刻の同期を要求する。When subsystem 1 starts up, subsystem 2 requests time synchronization from subsystem 1.
サブシステムlは,サブシステム2に対して時刻同期を
実施する。このときの時間軸C2上の時刻は02(s)
であク,同期された後の時刻ぱC(S)である。サブシ
ステム2はリアルタイムクロツクの時刻を修正するとと
もに、(2)の機能によって収集した情報x,y,zの
タイムスタンプを.第1式によシ補正する。筐た、サブ
システム2にわいては,収集された情報の他システムへ
の送信の禁止を解除するため,情報x,y,zitサブ
システム1に送信される。このとき,送信される情報に
付加されているタイムスタンプはすでに補正がなされて
かク,それは時間軸Cにもとづいている。Subsystem 1 performs time synchronization with subsystem 2. The time on the time axis C2 at this time is 02 (s)
The time after synchronization is C(S). Subsystem 2 corrects the time of the real-time clock and also timestamps the information x, y, z collected by the function (2). Correct according to the first equation. Regarding the subsystem 2, the information x, y, and zit is transmitted to the subsystem 1 in order to cancel the prohibition of transmitting the collected information to other systems. At this time, the time stamp added to the transmitted information has already been corrected and is based on the time axis C.
本発明による情報収集システムは、各サブシステムにお
いて次のような作用をさせることができる。The information collection system according to the present invention can perform the following actions in each subsystem.
第1の作用は,時刻同期を要求するためのものである。The first action is to request time synchronization.
情報を収集するサブシステム2から全体のシステム系内
の別のサブシステム3に対して,自システムで収集した
タイムスタンプ付きの情報を送信する必要がある場合,
自システムの初期起動時から現在會での間に.自システ
ムのリアルタイムクqツクT2が全体のシステム系内の
唯一のサブシステムlのリアルタイムクaツクTlに同
期しているか否かを判断する。When it is necessary to send time-stamped information collected by the subsystem 2 that collects information to another subsystem 3 within the entire system,
Between the initial startup of the own system and the current meeting. It is determined whether the real-time clock T2 of the own system is synchronized with the real-time clock Tl of the only subsystem I in the entire system.
上記判断結果から同期が確立されていない場合,サブシ
ステム2はそれ以外のサブシステムに対する情報の送信
を禁止するとともに,サブシステム1に全システムのリ
アルタイムクロツクの同期を要求する。If synchronization has not been established based on the above judgment result, subsystem 2 prohibits the transmission of information to other subsystems, and requests subsystem 1 to synchronize the real-time clocks of all systems.
′ix2の作用は,収集済み情報のタイムスタンプを補
正丁るためのものである。サブシステム2のリアルタイ
ムクロツクT2が、初期起動時から初めてサブシステム
1よク時刻同期された場合には,サブシステム1内です
でに収集されている情報に対して,そのタイムスタンプ
を補正する。補正方式は、Tlに同期される直前のT2
の時刻02(s)と、TIからの同期時刻0 (slと
の差分を用い,すでに収集されている情報のタイムスタ
ンプ02(x)に対して、下記の計算式によク補正を行
う。すなわち、
0(x) = 0 2(x) + 0(s) − 0
2(s) ”−・(1)この補正処理の後、サブシ
ステム2かラ他のサブシステムへの情報の送信の禁止を
解除する。The function of 'ix2 is to correct the time stamp of the collected information. When the real-time clock T2 of subsystem 2 is time-synchronized with subsystem 1 for the first time since initial startup, its time stamp is corrected against the information already collected within subsystem 1. . The correction method is T2 immediately before being synchronized with Tl.
Using the difference between the time 02(s) and the synchronization time 0 (sl) from the TI, the time stamp 02(x) of the already collected information is corrected according to the calculation formula below. That is, 0(x) = 0 2(x) + 0(s) − 0
2(s)''-(1) After this correction process, the prohibition of information transmission from subsystem 2 to other subsystems is lifted.
なか、これらは、情報処理システムにひいて分散処理を
行うのに必要な装f72けで実現丁ることができる。Among them, these can be realized by using the necessary equipment for performing distributed processing in an information processing system.
lfJl式よク,次の第2式が得られる。すなわち,
0(xl − 0 2(xi − 0(s) − 0
2(s) == (21第2式は、時間軸の差が継続し
て変化しないということを示している。これより,第1
式の正当性は証明される。According to the lfJl formula, the following second formula is obtained. That is, 0(xl − 0 2(xi − 0(s) − 0
2(s) == (21The second equation shows that the difference in time axis does not change continuously.From this, the first
The validity of the formula is proven.
(発明の効果)
以上説明したように本発明は、各サブシステムの初期起
動時やランダムな停止に1ってサブシステム間の時刻の
同期が保証されない状態にかいても情1&を収集するこ
とができ.なか最終的に収集した情報のタイムスタンプ
t−補正して情報間のタイムスタンプの誤差を少なくす
る仁とによって、分散処理形情報収集システムで,サプ
システム間の時刻同期がなされていない状態でも、それ
ぞれのサブシステムにかいて自由に情報が収集できると
云う効果がある。tた,情報に付加されるタイムスタン
プについて、収集元サブシステム間の誤差を少な<−r
ることができると云う効果がある。(Effects of the Invention) As explained above, the present invention can collect information even when time synchronization between subsystems is not guaranteed, such as when each subsystem initially starts up or stops randomly. is completed. In a distributed processing information collection system, even when time synchronization between subsystems is not achieved, by correcting the time stamp of the information finally collected and reducing the error in the time stamp between the pieces of information. This has the effect of allowing information to be freely collected about each subsystem. In addition, regarding the timestamp added to the information, the error between the collection source subsystems is reduced <-r
It has the effect of being able to
第1図は、本発明による分散処理形情報収集システムに
おけるタイムスタンプ情報の補正方式を実現するシステ
ムの実施例を示すブロック図である。
第2図は、第1図のシステムに適応した処理t−表わす
説明図である。
1〜4・・・サブシステム
21図FIG. 1 is a block diagram showing an embodiment of a system that implements a time stamp information correction method in a distributed processing information collection system according to the present invention. FIG. 2 is an explanatory diagram illustrating a process t-adapted to the system of FIG. 1 to 4...Subsystem 21 diagram
Claims (1)
サブシステム間の時刻の同期が保証されない状態で情報
を収集するための情報収集手段と、前記情報収集手段で
最終的に収集された情報のタイムスタンプを補正して情
報間のタイムスタンプの誤差を減少させるためのタイム
スタンプ誤差補正手段とを具備して構成したことを特徴
とする分散処理形情報収集システムにおけるタイムスタ
ンプ情報の補正方式。Information collection means for collecting information in a state where time synchronization between subsystems is not guaranteed due to initial startup or random stop of each subsystem, and information finally collected by the information collection means 1. A method for correcting time stamp information in a distributed processing information collection system, comprising: time stamp error correction means for correcting time stamps to reduce time stamp errors between pieces of information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15950289A JPH0325582A (en) | 1989-06-23 | 1989-06-23 | Correcting method for time stamp information in distributed processing type information collection system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15950289A JPH0325582A (en) | 1989-06-23 | 1989-06-23 | Correcting method for time stamp information in distributed processing type information collection system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0325582A true JPH0325582A (en) | 1991-02-04 |
Family
ID=15695170
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15950289A Pending JPH0325582A (en) | 1989-06-23 | 1989-06-23 | Correcting method for time stamp information in distributed processing type information collection system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0325582A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090228640A1 (en) * | 2008-03-07 | 2009-09-10 | Kabushiki Kaisha Toshiba | Information processing apparatus and non-volatile semiconductor memory drive |
-
1989
- 1989-06-23 JP JP15950289A patent/JPH0325582A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090228640A1 (en) * | 2008-03-07 | 2009-09-10 | Kabushiki Kaisha Toshiba | Information processing apparatus and non-volatile semiconductor memory drive |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4584643A (en) | Decentralized synchronization of clocks | |
| CN110492965B (en) | A method and device for time synchronization of serial messages in a master-slave system | |
| US4531185A (en) | Centralized synchronization of clocks | |
| JP2001221874A (en) | Time synchronization method | |
| US11831403B2 (en) | Network interface card structure and clock synchronization method to precisely acquire heterogeneous PTP synchronization information for PTP synchronization network extension | |
| CN102754369B (en) | Method for time synchronization in a communication network | |
| JP2658962B2 (en) | Network time information synchronization method | |
| GB2586175A (en) | System for timestamping events on edge devices | |
| CN111708296A (en) | A Synchronous Control and Data Voting Method Based on Dual-Channel Safety PLC | |
| JP2005235054A (en) | Time correction device for event trace data, time correction method, and time correction program | |
| WO2019056921A1 (en) | Centralized 1588 implementation system and method | |
| CN103441832B (en) | Clock synchronizing method based on PTP, system and equipment | |
| EP4622163A1 (en) | Frequency adjustment method and apparatus, bluetooth earphones, storage medium, and program product | |
| JP2021103439A5 (en) | ||
| CN113630203A (en) | Multi-device trigger synchronization method | |
| JPH0325582A (en) | Correcting method for time stamp information in distributed processing type information collection system | |
| US7249272B1 (en) | Apparatus and method for coordinating activities of one or more computers | |
| JP2005269759A (en) | Sampling synchronization system and time management system | |
| JP2001305256A (en) | Time synchronization method in computer system | |
| CN116546610A (en) | A two-way time synchronization method, system and device | |
| JPH11355256A (en) | Synchronous operation system | |
| KR102093223B1 (en) | Apparatus and method for synchronizing time of power control system | |
| JP3195155B2 (en) | Data collection method | |
| JPH0395660A (en) | System time setting method for plural central processing unit method | |
| JP2005064951A (en) | Remote monitoring and control system |