JPH0749724A - Time management system - Google Patents

Time management system

Info

Publication number
JPH0749724A
JPH0749724A JP5194775A JP19477593A JPH0749724A JP H0749724 A JPH0749724 A JP H0749724A JP 5194775 A JP5194775 A JP 5194775A JP 19477593 A JP19477593 A JP 19477593A JP H0749724 A JPH0749724 A JP H0749724A
Authority
JP
Japan
Prior art keywords
time
difference data
time difference
data
storage unit
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
JP5194775A
Other languages
Japanese (ja)
Inventor
Teru Nishinomiya
輝 西宮
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5194775A priority Critical patent/JPH0749724A/en
Publication of JPH0749724A publication Critical patent/JPH0749724A/en
Pending legal-status Critical Current

Links

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

PURPOSE:To prevent the generation of time differences among plural devices by mutually connecting a system clock for managing the time of the whole system and plural devices to be managed by the time of the system clock and providing each device with a time difference data storing part and a time difference data processing part. CONSTITUTION:In the case of correcting the time of a device 31, the device 31 fetches correcting time data by a keyboard input or the like and fetches the time data of the system clock 2 through a transmission equipment 1. A difference between the correcting time data and the time data of the system clock is calculated and stored in a time difference data storing part 41 as time data. The time difference data are transmitted to all other devices 32, 33 through the equipment 1. The other devices 32, 33 receive the time difference data sent from the device 31 and sets up the data in time difference data storing parts 42, 43 included in its own devices 32, 33. Since reading/writing among plural devices does not compete with each other, respective devices 31 to 33 can be prevented from writing abnormal data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は共通の時間によって管
理される時間管理システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time management system managed by a common time.

【0002】[0002]

【従来の技術】図10は例えば、Intel社のiSB
C CSM/001 CENTRALSERVICES
MODULE USER’S GUIDE(Orde
r Number.146706−001 ページ5−
13)に示された日付、時刻の読み込み/書き込みを行
う際のフローチャートである。図10のaは日付、時刻
を読み出すフローチャート、bは時刻を書き込むフロー
チャート、cは日付を書き込むフローチャート、dは日
付、時刻を書き込むフローチャートを示している。
2. Description of the Related Art FIG. 10 shows, for example, an Intel iSB.
C CSM / 001 CENTRAL SERVICES
MODULE USER'S GUIDE (Orde
r Number. 146706-001 Page 5-
13 is a flowchart for reading / writing the date and time shown in 13). 10A is a flowchart for reading the date and time, b is a flowchart for writing the time, c is a flowchart for writing the date, and d is a flowchart for writing the date and time.

【0003】例えば図10aでは、X1でコマンドレジ
スタをリードし、X2でビジービットが0でなければX
3でコマンドレジスタに「リード」中であることを示す
フラグを立て、X4でコマンドレジスタをリードし、X
5でレディ状態になれば、X6で日付、時刻を読みだし
X7でコマンドレジスタに終了指令を出す。図10の
b、c、dについては省略するが、図10aとほぼ同様
の処理を行う。
For example, in FIG. 10a, if the command register is read at X1, and the busy bit is not 0 at X2, then X is read.
Set a flag to indicate that the command register is being "read" in step 3, and read the command register in step X4.
If the ready state is reached at 5, the date and time are read at X6 and the end command is issued to the command register at X7. Although b, c, and d in FIG. 10 are omitted, almost the same processing as in FIG. 10a is performed.

【0004】また、図11はシステム全体を管理するシ
ステム時計と図10に示したフローチャートに従いシス
テム時計にアクセスする装置のシステムを示す図であ
り、図11において、1はシステム時計との時間のやり
取りするための伝達装置で、伝送線及びこの伝送を制御
する装置を含んでいる。2はシステムを時間管理するシ
ステム時計、31〜33はシステム時計2によって時間
を管理された装置で例えばパソコン、ワークステーショ
ン等である。
FIG. 11 is a diagram showing a system clock that manages the entire system and a system of an apparatus that accesses the system clock according to the flow chart shown in FIG. 10. In FIG. 11, reference numeral 1 denotes exchange of time with the system clock. And a transmission line and a device for controlling this transmission. Reference numeral 2 is a system clock for time management of the system, and 31 to 33 are devices whose time is managed by the system clock 2, such as a personal computer and a workstation.

【0005】次に動作について説明する。装置31は所
望時間を取得する際、伝達装置1を介して、図10に示
したフローチャートに従って、システム時計2より時間
データを取得する。また、システム時計2の時間を修正
する際にも、伝達装置1を介して図10に示したフロー
チャートに従って時間修正を行う。装置32、33につ
いても同様である。
Next, the operation will be described. When acquiring the desired time, the device 31 acquires the time data from the system clock 2 via the transmission device 1 according to the flowchart shown in FIG. Further, also when the time of the system clock 2 is corrected, the time is corrected via the transmission device 1 according to the flowchart shown in FIG. The same applies to the devices 32 and 33.

【0006】[0006]

【発明が解決しようとする課題】例えば、装置31が図
10dで示したフローチャートに従いシステム時計2に
対し日時データの書き込み中に、別の装置32、33が
図10aのフローチャートに従い、日時データを読み込
みはじめると、システム時計2の時間が完全に装置31
により書き込まれていない時点での異常な時間を装置3
2、33が読み込み自装置でシステム全体の時間として
処理する可能性があった。
For example, while the device 31 is writing the date and time data to the system clock 2 according to the flowchart shown in FIG. 10d, another device 32, 33 reads the date and time data according to the flowchart of FIG. 10a. Once started, the system clock 2 time is completely
Abnormal time when not written by device 3
There is a possibility that the second and the second 33 may read and process them as the time of the entire system by the own device.

【0007】この発明は上記のような課題を解決するた
めになされたものであり、複数装置で、装置間の時間が
異なることのない装置を得ることを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to obtain a device having a plurality of devices in which the time between the devices does not differ.

【0008】[0008]

【課題を解決するための手段】この発明に係る時間管理
システムは、システム全体の時間を管理するシステム時
計とこのシステム時計の時間で管理される複数の装置と
を互いに接続し、各装置に時間差データ格納部と時間差
データ処理部とを設けたものである。
In a time management system according to the present invention, a system clock for managing the time of the entire system and a plurality of devices managed by the time of the system clock are connected to each other, and a time difference is provided to each device. A data storage unit and a time difference data processing unit are provided.

【0009】また、システム全体の時間を管理するシス
テム時計とこのシステム時計の時間で管理される複数の
装置とを互いに接続し、各装置に時計と時間差データ格
納部と時間差データ処理部とを設けたものである。
Further, a system clock for managing the time of the entire system and a plurality of devices managed by the time of the system clock are connected to each other, and each device is provided with a clock, a time difference data storage unit and a time difference data processing unit. It is a thing.

【0010】また、上記の時間管理システムを複数個接
続したものである。
Further, a plurality of the above time management systems are connected.

【0011】また、上記の時間管理システムの時間差デ
ータ格納部を時間修正前の時間差データと時間修正後の
時間差データとを収納する収納部とすると共に、各装置
に所定の時間間隔で周期的にサンプリングしてデータを
格納する時系列データ格納部とこの時系列格納部に格納
されたデータを補完するデータ補完手段とを設けたもの
である。
Further, the time difference data storage section of the above time management system is a storage section for storing the time difference data before time correction and the time difference data after time correction, and each device is periodically arranged at predetermined time intervals. A time series data storage unit for sampling and storing data and a data complementing unit for complementing the data stored in the time series storage unit are provided.

【0012】[0012]

【作用】この発明の時間管理システムは、時間を修正す
るときは、時間差データ処理部で、システム時計から時
間を取り込み、この取り込んだシステム時計の時間と入
力された所望の時間との時間差データを算出して時間差
データ格納部に格納し、この時間差データを用いて自装
置の時間を修正すると共に、この時間差データを他の装
置に伝送して他の装置でも自装置と同じ時間で修正する
よう時間差データ格納部に格納する。
According to the time management system of the present invention, when the time is corrected, the time difference data processing unit takes in the time from the system clock and obtains the time difference data between the taken time of the system clock and the input desired time. Calculated and stored in the time difference data storage unit, and use this time difference data to correct the time of the own device, and also transmit this time difference data to another device so that other device corrects it at the same time as the own device. Stored in the time difference data storage unit.

【0013】また、時間を取得するときは、時間差デー
タ処理部で、システム時計から時間を取り込み、この取
り込んだシステム時計の時間に時間差データ格納部の時
間差データを加えることにより時間を取得するようにし
た。
When the time is acquired, the time difference data processing unit acquires the time from the system clock and adds the time difference data in the time difference data storage unit to the acquired time of the system clock to acquire the time. did.

【0014】また、時間を修正するときは、装置の時計
でシステム時計から時間を取り込み、時間差データ処理
部で、取り込んだシステム時計の時間と入力された所望
時間との時間差のデータを上記時間差データ格納部に格
納し、この時間差データを用いて自装置の時間を修正す
ると共に、この時間差データを他の装置に伝送して他の
装置でも自装置と同じ時間で修正するよう時間差データ
格納部に格納する。
Further, when the time is corrected, the time of the device is loaded from the system clock by the clock of the device, and the data of the time difference between the loaded time of the system clock and the input desired time is read by the time difference data processing unit. The time difference data is stored in the storage unit, and the time difference data is corrected using the time difference data, and the time difference data is transmitted to another device to be corrected at the same time in the other device. Store.

【0015】また、時間を取得するときは、時間差デー
タ処理部で、装置の時計の時間に上記時間差データ格納
部の時間差データを加えることにより時間を取得するよ
うにした。
When the time is acquired, the time difference data processing unit adds the time difference data stored in the time difference data storage unit to the time of the clock of the apparatus to acquire the time.

【0016】また、一つのシステムの時間差データを他
のシステムへ伝送して、他のシステムもこの時間差デー
タを用いて時間を修正又は取得するようにした。
Further, the time difference data of one system is transmitted to another system, and the other system also corrects or acquires the time using this time difference data.

【0017】また、データ補完手段で時間修正前の時間
差データと修正後の時間差データとの差を修正時間差と
し、この修正時間差に相当するデータ数を求め、時間が
進むように修正したときは上記修正時間差に相当するデ
ータ数のデータを特定のデータで補完し、時間が遅れる
ように修正したときは上記修正時間差に相当するデータ
数のデータを引き去るようにした。
Further, the data complementing means sets the difference between the time difference data before the time correction and the time difference data after the correction as the correction time difference, obtains the number of data corresponding to this correction time difference, and when the correction is made so that the time advances, the above is performed. The data of the number of data corresponding to the correction time difference is complemented with specific data, and when the data is corrected so as to be delayed, the data of the number of data corresponding to the correction time difference is removed.

【0018】[0018]

【実施例】【Example】

実施例1.以下この発明の実施例1を図1に基づいて説
明する。 図において、1はシステム時計との時間をや
り取りするための伝達装置、2はシステムの時間を管理
するシステム時計、31〜33はシステム時計2によっ
て時間管理された装置、41〜43はそれぞれの装置3
1〜33が持つシステム時計2と所望時間との差を表す
時間差のデータをメモリ等で格納する時間差データ格納
部、71〜73は時間差データを演算処理する時間差デ
ータ処理部である。
Example 1. The first embodiment of the present invention will be described below with reference to FIG. In the figure, 1 is a transmission device for exchanging time with a system clock, 2 is a system clock for managing the system time, 31-33 are devices whose time is managed by the system clock 2, and 41-43 are respective devices. Three
Time difference data storage units that store time difference data representing the difference between the system timepieces 1 to 33 and the desired time in a memory or the like, and 71 to 73 are time difference data processing units that calculate the time difference data.

【0019】次に動作について説明する。図2はシステ
ム時計データを修正する場合のフローチャートを、図3
はシステム時計データを読み込むフローチャートを示
す。例えば、装置31よりシステム時計データを用いて
修正しようとする場合、時間差データ処理部が次の処理
を行う。
Next, the operation will be described. FIG. 2 is a flowchart for correcting the system clock data, and FIG.
Shows a flowchart for reading the system clock data. For example, when the device 31 attempts to correct using system clock data, the time difference data processing unit performs the following processing.

【0020】図2のS1でキーボード入力等により装置
31は修正時間データを取り込む。S2で伝達装置1を
介してシステム時計2の時間データを取り込む。S3で
S1で取り込んだ修正時間データと、S2で取り込んだ
システム時計の時間データの差を計算し、時間データと
して時間差データ格納部に格納する。更にS4で、S3
で計算した時間差データを伝達装置1を介して全ての他
装置32、33に伝送する。他装置32、33では、S
5で装置31より送られた時間差データを受信し、S6
で自装置内の時間差データ格納部42、43にセットす
る。
In S1 of FIG. 2, the device 31 takes in the correction time data by keyboard input or the like. In S2, the time data of the system clock 2 is fetched via the transmission device 1. In S3, the difference between the corrected time data fetched in S1 and the time data of the system clock fetched in S2 is calculated and stored as time data in the time difference data storage unit. Furthermore, in S4, S3
The time difference data calculated in step 3 is transmitted to all the other devices 32 and 33 via the transmission device 1. In the other devices 32 and 33, S
5, the time difference data sent from the device 31 is received, and S6
Is set in the time difference data storage units 42 and 43 in the own device.

【0021】また、装置31よりシステム時計データを
取得しようとする場合、図3のT1で伝達装置1を介し
てシステム時計2の時間データを取り込み、T2でT1
で取り込んだ時間データに装置31内の時間差データを
加え、T3でT2で計算された時間をシステム時計デー
タとして出力する。
Further, when the system clock data is to be obtained from the device 31, the time data of the system clock 2 is fetched via the transmission device 1 at T1 in FIG. 3 and T1 at T2.
The time difference data in the device 31 is added to the time data captured in step 3, and the time calculated in T2 is output as system clock data in T3.

【0022】実施例2.なお、上記実施例1は装置31
〜33は自身で時計を持たずに、共有のシステム時計に
よって時間管理を行う場合について述べたが、図4に示
すように各装置31〜33が内部時計21〜23を持
ち、システム時計2と周期的に合わせれば、上記実施例
1と同じ効果を奏するだけでなく、時間の修正、読み込
みのたびにシステム時計2へアクセスすることがなくな
るため、各装置間の時間に差が生じることなく伝達装置
1の負荷を下げる効果がある。例えば、各装置がシステ
ム時計と1日1回周期的に自時計21、22、23を合
わせておけば、時間の修正、読み込みのたびにアクセス
しなくてよい。
Example 2. In addition, in the above-described first embodiment, the device 31
No. 33 to 33 do not have their own clocks, but time management is performed by a shared system clock. However, as shown in FIG. 4, each device 31 to 33 has an internal clock 21 to 23, If they are adjusted periodically, not only the same effect as that of the above-described first embodiment is obtained but also the system clock 2 is not accessed each time the time is corrected or read, so that there is no difference in the time between the devices and the transmission is performed. This has the effect of reducing the load on the device 1. For example, if each device has its own clock 21, 22 and 23 periodically aligned with the system clock once a day, it is not necessary to access each time the time is corrected or read.

【0023】実施例3.また、図5に示すように遠隔地
にあるシステムAとシステムBとがモデム、電話回線等
のシステム間伝達装置5によって接続されている場合、
システムAの装置33Aにて修正した時間がシステムB
の装置43Bに伝達装置5を介して送られ、システムB
内で図2、図3に示したフローチャートに従い各装置3
1B〜33Bの時間差データ格納部41B〜43Bの時
間修正を行えば、遠隔地からシステムBの時間をシステ
ム内の基準時計であるシステム時計2Bを用いることな
く両システム、全装置の時間を一致させることができ
る。
Example 3. Further, as shown in FIG. 5, when the system A and the system B at remote locations are connected by the inter-system transmission device 5 such as a modem and a telephone line,
The time corrected by the device 33A of system A is system B
Device 43B of the system B via the transmission device 5
Each device 3 according to the flowcharts shown in FIGS.
If the time differences in the time difference data storage units 41B to 43B of 1B to 33B are corrected, the time of the system B is made to coincide with the time of both systems and all devices from a remote location without using the system clock 2B which is the reference clock in the system. be able to.

【0024】実施例4.上記実施例1〜3は時間差デー
タを用いて各装置間の時間を一致させる方法について述
べたが、図6に示すように周期的にデータを格納する処
理をする場合を説明する。この処理は例えば時系列的に
入力データの記録を行うトレンドグラフ記録等の処理
で、サンプリングした測定対象のデータが格納される。
Example 4. Although the first to third embodiments have described the method of matching the time between the respective devices by using the time difference data, the case of performing the process of periodically storing the data as shown in FIG. 6 will be described. This processing is, for example, processing such as trend graph recording in which input data is recorded in time series, and the sampled measurement target data is stored.

【0025】各装置の時間差データ格納部を修正前時間
差データ格納部44と修正後時間差データ格納部45と
の2つとし、時系列データ格納部60に周期的に配列さ
れる時系列データ配列61〜6Nにデータを格納する処
理の最中に時間修正が行われても、データ補完手段81
で修正前の時間差データ格納部44のデータと修正後の
時間差データ格納部45のデータとの差に相当するデー
タ数、即ち(時間差データの差)/(サンプリング間
隔)で算出されるデータ個数を時系列データ格納部60
の61〜6Nの間に配列された時系列データを挿入又は
引き去りすることにより、配列61〜6N内には常に正
しい時系列データがセットされる。
The time difference data storage units of the respective devices are two, that is, the pre-correction time difference data storage unit 44 and the post-correction time difference data storage unit 45, and the time series data array 61 is periodically arranged in the time series data storage unit 60. Even if the time is corrected during the process of storing the data in ~ 6N, the data complementing means 81
Is the number of data corresponding to the difference between the data in the time difference data storage unit 44 before correction and the data in the time difference data storage unit 45 after correction, that is, the number of data calculated by (difference in time difference data) / (sampling interval). Time series data storage unit 60
By inserting or subtracting the time-series data arrayed between 61 to 6N, the correct time-series data is always set in the arrays 61 to 6N.

【0026】この時の補完データは現在値または特定値
(0.0等)の何れでもよい。これにより時系列データ
を扱う処理(例えばトレンドグラフ表示処理等)に何ら
特別の処理を加えることなく時間補正が可能となる。
The supplementary data at this time may be either the current value or a specific value (0.0, etc.). As a result, the time correction can be performed without adding any special processing to the processing of time series data (for example, the trend graph display processing).

【0027】これを図7〜図9で具体的に説明する。例
えば、配列番号1,2,3,・・・nの各格納部に1秒
1回データをサンプリングしているシステムで時間を1
分進めた場合、図7aのように、60サンプル分のデー
タがサンプリングされない。このため、図7bのように
グラフが切れないようにこの間(データ配列斜線部)に
入るデータが補完データである。
This will be specifically described with reference to FIGS. 7 to 9. For example, in a system in which data is sampled once per second in each storage unit of array numbers 1, 2, 3, ...
In the case of advancing by the minute, the data for 60 samples is not sampled as shown in FIG. 7a. Therefore, as shown in FIG. 7b, the data entered during this period (hatched portion of the data array) is the complementary data so as not to cut the graph.

【0028】そこで図8aのように時間が進められた場
合、1サンプル/1秒で5秒進めたとすると、Aの配列
2からBの配列7へ飛ぶので、配列3〜6に補完データ
を挿入する。補完データの挿入の仕方は、図9aのよう
に配列2の値2.0を補完データとして挿入してもよい
し、図9bのように0.0を補完データとして挿入して
もよい。
Therefore, if the time is advanced as shown in FIG. 8a and if it is advanced by 1 sample / 1 second for 5 seconds, the array 2 of A is jumped to the array 7 of B, so that the complementary data is inserted into arrays 3 to 6. To do. Regarding the method of inserting the complementary data, the value 2.0 of the array 2 may be inserted as the complementary data as shown in FIG. 9a, or 0.0 may be inserted as the complementary data as shown in FIG. 9b.

【0029】また、図9Cのように直線近似で補完する
ようにしてもよい。また、データが2次曲線やその他の
関数曲線の場合は、最小自乗法やその他の手法で近似し
たデータを補完するようにしてもよい。即ち、補完デー
タにはサンプリング対象に依って任意に設定したり、ま
た、種々の演算結果を挿入したりした特定のデータを用
いてもよい。
Further, as shown in FIG. 9C, it may be complemented by linear approximation. When the data is a quadratic curve or other function curve, the data approximated by the least square method or another method may be complemented. That is, as the complementary data, it is possible to use specific data that is arbitrarily set according to the sampling target or that various calculation results are inserted.

【0030】[0030]

【発明の効果】以上のように、この発明によれば、共有
のシステム時計とのアクセスを読み込みだけとし、時間
修正はシステム時計との時間差を計算し、その時間差に
よって正確な時間を算出するようにしたので、装置間の
読み出し/書き込みが競合しないため、装置で異常なデ
ータを書き込むことがなく、各装置の時間を一致させる
ことができる。
As described above, according to the present invention, the access to the shared system clock is made only for reading, the time correction calculates the time difference from the system clock, and the accurate time is calculated from the time difference. Since there is no competition in reading / writing between the devices, it is possible to match the time of each device without writing abnormal data in the device.

【0031】また、各装置に時計を持たせることによ
り、システム時計とのアクセスが少なくなるので、伝達
装置の負荷を下げることができる。
Further, by providing each device with a clock, access to the system clock is reduced, so that the load on the transmission device can be reduced.

【0032】また、複数のシステムが接続されても全て
のシステム間で時間差データを伝送して、時間を容易に
合わせることができる。
Further, even if a plurality of systems are connected, time difference data can be transmitted between all the systems to easily adjust the time.

【0033】また、装置において時系列のデータを扱う
場合に時間差データを使用することにより、時間差分の
データ補完処理を容易に行うことができる。
Further, by using the time difference data when the apparatus handles the time series data, the time difference data complementing process can be easily performed.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の実施例1における時間管理システム
のブロック図である。
FIG. 1 is a block diagram of a time management system according to a first embodiment of the present invention.

【図2】図1の時間修正時のフローチャートである。FIG. 2 is a flowchart when the time is corrected in FIG.

【図3】図1の時間取得時のフローチャートである。FIG. 3 is a flowchart when time is acquired in FIG.

【図4】この発明の実施例2における時間管理システム
のブロック図である。
FIG. 4 is a block diagram of a time management system according to a second embodiment of the present invention.

【図5】この発明の実施例3における時間管理システム
のブロック図である。
FIG. 5 is a block diagram of a time management system in Embodiment 3 of the present invention.

【図6】この発明の実施例4における時間管理システム
のブロック図である。
FIG. 6 is a block diagram of a time management system in Embodiment 4 of the present invention.

【図7】実施例4のデータの処理説明図である。FIG. 7 is an explanatory diagram of data processing according to the fourth embodiment.

【図8】実施例4のデータの処理説明図である。FIG. 8 is an explanatory diagram of data processing according to the fourth embodiment.

【図9】実施例4のデータの処理説明図である。FIG. 9 is an explanatory diagram of data processing according to the fourth embodiment.

【図10】従来の時計の時間取得/修正の1例を示すフ
ローチャートである。
FIG. 10 is a flowchart showing an example of time acquisition / correction of a conventional clock.

【図11】従来の時間管理システムを示すブロック図で
ある。
FIG. 11 is a block diagram showing a conventional time management system.

【符号の説明】[Explanation of symbols]

1、1A、1B 伝達装置 2、2A、2B システム時計 5 システム間伝達装置 21〜23 時計 31〜33、31A〜33A、31B〜33B 装置 41〜43 時間差データ格納部 44 時間修正前時間差データ格納部 45 時間修正後時間差データ格納部 60 時系列データ格納部 61〜6N 時系列データ配列 71〜73、71A〜73A、71B〜73B 時間差
データ処理部 81 データ補完手段
1, 1A, 1B transmission device 2, 2A, 2B system clock 5 inter-system transmission device 21-23 clock 31-33, 31A-33A, 31B-33B device 41-43 time difference data storage unit 44 hours pre-correction time difference data storage unit 45-hour corrected time difference data storage unit 60 time series data storage unit 61 to 6N time series data array 71 to 73, 71A to 73A, 71B to 73B time difference data processing unit 81 data complementing means

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 システム全体の時間を管理するシステム
時計とこのシステム時計の時間で管理される複数の装置
とを互いに接続した時間管理システムにおいて、各装置
に時間差データ格納部と時間差データ処理部とを設け、
時間を修正するときは、この時間差データ処理部で、上
記システム時計から取り込んだ時間と、入力された所望
の時間との時間差のデータを算出して、上記時間差デー
タ格納部に格納し、この時間差データを用いて自装置の
時間を修正すると共に、この時間差データを他の装置に
伝送して他の装置においても自装置と同じ時間で修正す
るよう他の装置の時間差データ格納部に格納するように
したことを特徴とする時間管理システム。
1. In a time management system in which a system clock for managing the time of the entire system and a plurality of devices managed by the time of the system clock are connected to each other, each device includes a time difference data storage unit and a time difference data processing unit. Is provided
When correcting the time, the time difference data processing unit calculates the time difference data between the time taken from the system clock and the input desired time and stores it in the time difference data storage unit. The time of the own device is corrected using the data, and this time difference data is transmitted to the other device and stored in the time difference data storage unit of the other device so that the other device also corrects it at the same time as the own device. A time management system characterized by
【請求項2】 請求項1記載の時間管理システムにおい
て、時間を取得するときは、時間差データ処理部で、シ
ステム時計の時間を取り込み、この取り込んだシステム
時計の時間に時間差データ格納部の時間差データを加え
ることにより時間を取得するようにしたことを特徴とす
る時間管理システム。
2. The time management system according to claim 1, wherein when the time is acquired, the time difference data processing unit captures the time of the system clock and the captured time of the system clock is stored in the time difference data storage unit. A time management system characterized in that the time is obtained by adding.
【請求項3】 システム全体の時間を管理するシステム
時計とこのシステム時計の時間で管理される複数の装置
とを互いに接続した時間管理システムにおいて、各装置
に時計と時間差データ格納部と時間差データ処理部とを
設け、時間を修正するときは、上記時計でシステム時計
から時間を取り込み、上記時間差データ処理部で、取り
込んだシステム時計の時間と、入力された所望の時間と
の時間差のデータを算出して上記時間差データ格納部に
格納し、この時間差データを用いて自装置の時間を修正
すると共に、この時間差データを他の装置に伝送して他
の装置においても自装置と同じ時間で修正するよう時間
差データ格納部に格納するようにしたことを特徴とする
時間管理システム。
3. A time management system in which a system clock for managing the time of the entire system and a plurality of devices managed by the time of the system clock are connected to each other, and each device has a clock, a time difference data storage unit, and a time difference data processing. When adjusting the time, the time is taken in from the system clock by the above-mentioned clock, and the time difference data processing unit calculates the time difference data between the time of the taken system clock and the input desired time. Then, the time difference data is stored in the time difference data storage unit, and the time of the own device is corrected using this time difference data, and the time difference data is transmitted to another device and corrected at the same time as the own device in the other device. The time management system is characterized in that the time difference data is stored in the time difference data storage unit.
【請求項4】 請求項3記載の時間管理システムにおい
て、時間を取得するときは、時間差データ処理部で、各
装置の時計の時間に時間差データ格納部の時間差データ
を加えることにより時間を取得するようにしたことを特
徴とする時間管理システム。
4. The time management system according to claim 3, wherein when the time is acquired, the time difference data processing unit acquires the time by adding the time difference data in the time difference data storage unit to the time of the clock of each device. A time management system characterized by the above.
【請求項5】 請求項1ないし請求項4のいづれか1項
記載の時間管理システムにおいて、時間管理システムを
複数個接続し、一つのシステムの時間差データを他のシ
ステムへ伝送して、他のシステムもこの時間差データを
用いて時間を管理するようにしたことを特徴とする時間
管理システム。
5. The time management system according to any one of claims 1 to 4, wherein a plurality of time management systems are connected, and time difference data of one system is transmitted to another system, and the other system is transmitted. The time management system is characterized in that the time difference data is also used to manage the time.
【請求項6】 請求項1ないし請求項5のいづれか1項
記載の時間管理システムにおいて、時間差データ格納部
を時間修正前の時間差データと時間修正後の時間差デー
タとを収納する収納部とすると共に、各装置に所定の時
間間隔で周期的にサンプリングしてデータを格納する時
系列データ格納部とこの時系列格納部に格納されたデー
タを補完するデータ補完手段とを設け、このデータ補完
手段で時間修正前の時間差データと修正後の時間差デー
タとの差を修正時間差とし、この修正時間差に相当する
データ数を求め、時間が進むように修正したときは上記
修正時間差に相当するデータ数のデータを特定のデータ
で補完し、時間が遅れるように修正したときは上記修正
時間差に相当するデータ数のデータを引き去るようにし
たことを特徴とする時間管理システム。
6. The time management system according to claim 1, wherein the time difference data storage unit is a storage unit for storing time difference data before time correction and time difference data after time correction. , Each device is provided with a time-series data storage section for periodically sampling data at predetermined time intervals and storing the data, and a data complementing means for complementing the data stored in the time-series storage section. The difference between the time difference data before the time correction and the time difference data after the correction is taken as the correction time difference, and the number of data corresponding to this correction time difference is obtained. Is supplemented with specific data, and when the correction is made so that the time is delayed, the data of the number of data corresponding to the above correction time difference is removed. Time management system.
JP5194775A 1993-08-05 1993-08-05 Time management system Pending JPH0749724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5194775A JPH0749724A (en) 1993-08-05 1993-08-05 Time management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5194775A JPH0749724A (en) 1993-08-05 1993-08-05 Time management system

Publications (1)

Publication Number Publication Date
JPH0749724A true JPH0749724A (en) 1995-02-21

Family

ID=16330048

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5194775A Pending JPH0749724A (en) 1993-08-05 1993-08-05 Time management system

Country Status (1)

Country Link
JP (1) JPH0749724A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007072683A (en) * 2005-09-06 2007-03-22 Hitachi Ltd Storage device and data movement method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS638813A (en) * 1986-06-27 1988-01-14 Nec Corp Time standardizing system of local area network
JPH0258111A (en) * 1988-08-24 1990-02-27 Matsushita Electric Ind Co Ltd Processor with time data correcting function and network system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS638813A (en) * 1986-06-27 1988-01-14 Nec Corp Time standardizing system of local area network
JPH0258111A (en) * 1988-08-24 1990-02-27 Matsushita Electric Ind Co Ltd Processor with time data correcting function and network system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007072683A (en) * 2005-09-06 2007-03-22 Hitachi Ltd Storage device and data movement method

Similar Documents

Publication Publication Date Title
US5675744A (en) Workstation for medical service
EP1990700A1 (en) Method for managing and controlling time of computer system and computer system
US4473889A (en) Remote correlation of sequence of events
US4547845A (en) Split-BUS multiprocessor system
CN1969774A (en) Method for operating medical diagnostic device and medical diagnostic device
WO2019047605A1 (en) Method for synchronizing multi-ocular camera, and fpga chip
EP1060451A1 (en) Ultrasound image data archiving and communication techniques
US7610421B2 (en) Bus request control circuit
JPH0749724A (en) Time management system
WO2004028139A3 (en) Method and apparatus for acquiring images from a multiple axis imaging system
US4545029A (en) Remote correlation of sequence of events
US7257680B2 (en) Storage system including shared memory and plural disk drives, processors, and shared memory control units
EP1079614B1 (en) Universal two dimensional timing generator
CN111863197A (en) Sleep management method and device
US6772183B1 (en) Device for converting input data to output data using plural converters
JPS5968069A (en) Access priority control system
JP3128434B2 (en) Communication time distribution method in communication network
JPS5953565B2 (en) Direct memory access control device
CN116307550A (en) Real estate development procedure planning time comparison updating method, device, equipment and medium
JP2555123B2 (en) Memory access management method
JP2947680B2 (en) Information transfer device
CN117909266A (en) Data selection method, device, circuit and equipment
CN117954027A (en) Medical follow-up method, device, equipment and medium
CN112882657A (en) Data reading method and device, storage medium and electronic device
CN115941105A (en) Time synchronization method, device, storage medium and electronic equipment