JPH02147983A - Apparatus for managing time of lan storage terminal - Google Patents
Apparatus for managing time of lan storage terminalInfo
- Publication number
- JPH02147983A JPH02147983A JP63300649A JP30064988A JPH02147983A JP H02147983 A JPH02147983 A JP H02147983A JP 63300649 A JP63300649 A JP 63300649A JP 30064988 A JP30064988 A JP 30064988A JP H02147983 A JPH02147983 A JP H02147983A
- Authority
- JP
- Japan
- Prior art keywords
- time
- time information
- timer
- built
- terminal
- 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
- 238000006243 chemical reaction Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 235000010724 Wisteria floribunda Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Landscapes
- Electric Clocks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【発明の詳細な説明】
「産業上の利用分野」
本発明はLAN収容端末の時間管理装置に係わり、例え
ばイーサネット等のローカル・エリア・ネットワークに
収容された各端末の内蔵タイマの時間を管理するLAN
収容端末の時間管理装置に関する。[Detailed Description of the Invention] "Industrial Application Field" The present invention relates to a time management device for LAN-accommodated terminals, which manages the time of a built-in timer of each terminal accommodated in a local area network such as Ethernet. LAN
The present invention relates to a time management device for an accommodating terminal.
「従来の技術」
大規模な研究機関や大学等においては、イーサネット等
のL A N (Local Area Networ
ks)に複数のワークステーション等の端末装置を接続
し、それぞれが作成したデータベースやファイル等を共
用するシステムが採用されることが多くなってきた。``Conventional technology'' In large-scale research institutes and universities, LAN (Local Area Network) such as Ethernet
Increasingly, systems are being adopted in which multiple terminal devices such as workstations are connected to a computer (ks) and the databases, files, etc. created by each device are shared.
このように端末装置がネットワーク上に展開される分散
環境において、各端末装置をオペレータが操作した操作
時刻、ファイルの作成日時等の属性を管理するための基
本として“時刻″が用いられることがある。この“時刻
″は、各端末装置が内蔵しているハードウェア・タイマ
によって管理されている。In such a distributed environment where terminal devices are deployed on a network, "time" is sometimes used as a basis for managing attributes such as the time when an operator operated each terminal device and the date and time of file creation. . This "time" is managed by a hardware timer built into each terminal device.
「発明が解決しようとする課題」
ところで、従来のハードウェア・タイマの動作にはバラ
ツキがあり、例えば1日に1秒間だけ時間が進む場合に
、これを放置しておくと端末装置間の時刻に不整合が起
きてしまい、ファイルの管理等において支障をきたして
しまう。すなわち、イーサネット上には例えば数百台の
端末装置が収容されることがあり、各端末装置で作成さ
れるファイルの管理等には作成した“年月日”のみなら
ず、“時分秒″まで区分して管理を行う。"Problem to be Solved by the Invention" By the way, there are variations in the operation of conventional hardware timers. For example, if the time advances by one second per day, if this is left unchecked, the time between terminal devices will change. This causes inconsistencies in the files and causes problems in file management, etc. In other words, for example, hundreds of terminal devices may be accommodated on the Ethernet, and the management of files created on each terminal device requires not only the "year, month, and day" of the creation, but also the "hour, minute, and second." Management is performed by classifying up to
しかるに、前述のように“秒単位”で時刻が狂ってしま
うと、ファイルの作成時刻が重複したり逆転したりして
、正確なファイル管理を実行することができなくなって
しまうのである。However, as mentioned above, if the time becomes incorrect on a "second by second" basis, file creation times may overlap or be reversed, making it impossible to perform accurate file management.
本発明は、かかる事情に着目してなされたものであり、
その目的はイーサネット等のLAN上に収容された複数
の端末装置の内蔵タイマの時刻の誤差を、所定の値内に
収めるようにしたLAN収容端末の時間管理装置を提供
することにある。The present invention has been made focusing on such circumstances,
The object of the present invention is to provide a time management device for a LAN-accommodated terminal that can keep the time errors of built-in timers of a plurality of terminal devices accommodated on a LAN such as Ethernet within a predetermined value.
「課題を解決するための手段」
本発明は、ローカル・エリア・ネットワーク上に所定時
間ごとに時刻情報を送出する時刻情報送出子役と、ネッ
トワーク上に収容されていて、送出された時刻情報を受
け、自己が内蔵した時計の指示時刻との間の誤差が所定
値を越えているときは時計の指示時刻を修正するべく制
御する制御部を有する複数の端末装置とをLAN収容端
末の時間管理装置に具備させたものである。``Means for Solving the Problems'' The present invention includes a time information sending child actor that sends time information on a local area network at predetermined intervals, and a time information sending child actor that is accommodated on the network and receives the sent time information. , a time management device of a LAN-accommodating terminal with a plurality of terminal devices having a control unit that controls to correct the time indicated by the clock when the error between the clock and the indicated time exceeds a predetermined value. It is equipped with.
このようにすると、時刻情報が、基準となる時刻情報送
出子役から机定時間ごとに一斉送出され、すべての端末
装置はこの時刻情報を受けて自らの内蔵タイマの時刻と
比較し、所定値を超えていたなら修正するべく制御する
。従って、常に同一のネットワークに収容された端末装
置の内蔵タイマを極めて狭い誤差範囲に治めることが可
能となる。In this way, the time information is sent out all at once from the standard time information sending child actor at predetermined time intervals, and all terminal devices receive this time information, compare it with the time of their own built-in timers, and set a predetermined value. If it exceeds the limit, we will take control to correct it. Therefore, it is possible to always keep the built-in timers of terminal devices accommodated in the same network within an extremely narrow error range.
「実施例」 以下、本発明を図示の実施例に基づいて説明する。"Example" Hereinafter, the present invention will be explained based on illustrated embodiments.
第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
LANの一種であるイーサネット1には、ワークステー
ション等の多数の端末装置2a。The Ethernet 1, which is a type of LAN, includes many terminal devices 2a such as workstations.
2b・・・・・・2nが収容され、更に、一定時間間隔
で時刻情報をイーサネット用のパケットで一斉送出(ブ
ロードキャスト・パケット)する時刻情報送出装置10
が収容されている。ブロードキャスト・パケットとは、
イーサネット上に送出されるパケットのヘッダとして、
すべての収容端末が一斉に受信するべき意味を有するヘ
ッダを付加したパケットをいう。2b...2n, and further transmits time information all at once in Ethernet packets (broadcast packets) at fixed time intervals.
is accommodated. What is a broadcast packet?
As a header of a packet sent out on Ethernet,
A packet with a meaningful header that should be received by all accommodating terminals at the same time.
時刻情報送出装置10全体を管理するプロセッサ11に
は、基準となる時間を発生する基準時間発生回路12と
、設定された時間間隔で割り込みを発生するタイマ13
と、イーサネット上での一斉送出のヘッダを持ったまま
のパケットを一時的に格納しておくためのメモリ14が
接続されている。ROM16には時刻情報送出装置10
全体の制御用プログラムが格納されていて、設定された
時間がくるとイーサネット1に対するインタフェース部
であるトランシーバ15を介して、ブロードキャスト・
パケットがイーサネット1に一斉送出される。A processor 11 that manages the entire time information sending device 10 includes a reference time generation circuit 12 that generates a reference time and a timer 13 that generates an interrupt at set time intervals.
A memory 14 is connected to the memory 14 for temporarily storing packets with headers for simultaneous transmission on the Ethernet. The ROM 16 includes a time information sending device 10.
The overall control program is stored, and when the set time comes, a broadcast signal is sent via the transceiver 15, which is an interface to the Ethernet 1.
Packets are sent out en masse to Ethernet 1.
前記した端末装置2の詳細構成は第2図に示すようにな
っている。すなわち、イーサネット1から到来するブロ
ードキャスト・パケットおよびその他のパケットは、ト
ランシーバ4で受信され、所定の信号変換された後、プ
ロセッサ5に入力する。プロセッサ5には、端末装置2
で作成したファイルのファイル管理等の基準となる時刻
情報(時分秒)を発生する内蔵タイマ3が接続され、ま
た、−時的にデータを格納するディスク6と、時刻等を
表示したり、データ入力をしたりするための周辺装置7
が接続され、更に、端末装置2全体の制御用のプログラ
ムを格納したROM8が接続されている。The detailed configuration of the terminal device 2 described above is shown in FIG. 2. That is, broadcast packets and other packets arriving from the Ethernet 1 are received by the transceiver 4, subjected to predetermined signal conversion, and then input to the processor 5. The processor 5 includes a terminal device 2
A built-in timer 3 is connected to generate time information (hours, minutes, and seconds) that serves as a reference for file management of files created in , and a disk 6 for temporally storing data and displaying time, etc. Peripheral device 7 for data input
is connected, and further connected is a ROM 8 that stores a program for controlling the entire terminal device 2.
次に、以上のように構成されているLAN収容端末の時
間管理装置の動作を説明する。Next, the operation of the time management device of the LAN accommodating terminal configured as described above will be explained.
先ず、時刻情報送出装置IOにおいて、タイマ13が予
め設定された時間間隔でプロセッサ11に対して予め設
定された割り込みアドレスに対する割り込みをかける。First, in the time information sending device IO, the timer 13 issues an interrupt to the processor 11 at a preset interrupt address at a preset time interval.
割り込み信号を受は付けたプロセッサ11は、基準時間
発生回路12から、その時点での時間データを読み出し
、これをイーサネット1へのブロードキャスト・パケッ
トとしてトランシーバ15を介して送出する。The processor 11 that has accepted the interrupt signal reads the current time data from the reference time generation circuit 12 and sends it out as a broadcast packet to the Ethernet 1 via the transceiver 15.
一方、このブロードキャスト・パケットは、すべての端
末装置2a、2b・・・・・・2nで同時に受信される
。On the other hand, this broadcast packet is simultaneously received by all the terminal devices 2a, 2b, . . . , 2n.
次に、ブロードキャスト・パケットを受信した端末装置
の動作を、第3図に示した流れ図に沿って説明する。Next, the operation of the terminal device that receives the broadcast packet will be explained along the flowchart shown in FIG.
ブロードキャスト・パケットおよびその他のパケットが
、トランシーバ4を介して到来する。受信したこれらの
パケットのうち、先ずブロードキャスト・パケットであ
るか否かの判断がプロセッサ5で行われる(ステップ■
)。ブロードキャスト・パケットの種類には時刻情報だ
けではなく、例えば緊急連絡事項等もあるから、これら
を判別する必要があるからである。Broadcast packets and other packets arrive via transceiver 4. Among these received packets, the processor 5 first determines whether or not they are broadcast packets (step ①).
). This is because the types of broadcast packets include not only time information, but also, for example, emergency notification matters, so it is necessary to distinguish between these.
受信したブロードキャスト・パケットに、時刻情報を意
味する時間更新用のヘッダが付加されているか否かを判
断するくステップ■)。もし時間更新用のヘッダがない
ならくステップ■;N)、その他のパケットなので予め
約束事として定められている通常のブロードキャスト・
パケット処理ルーチンとなる(ステップ■)。Step 2): Determine whether or not a time update header indicating time information is added to the received broadcast packet. If there is no header for time update, step
This becomes a packet processing routine (step ■).
受信したブロードキャスト・パケットが時間更新のヘッ
ダを有しているなら(ステップ■;Y)、プロセッサ5
の制御により内蔵タイマ3からその時点のデータを読み
出してディスクに転送する(ステップ■)。次いで、こ
のデータと受信した時刻情報との間の誤差が、予め設定
した設定誤差以内であるか否かをプロセッサ5の制御の
下に判断する(ステップ■)。If the received broadcast packet has a time update header (step ■; Y), the processor 5
Under the control of , the data at that point is read from the built-in timer 3 and transferred to the disk (step 2). Next, it is determined under the control of the processor 5 whether the error between this data and the received time information is within a preset error (step 2).
もし、誤差が設定誤差を超えていたならくステップ■:
N)、プロセッサ5は設定誤差内に入るように内蔵タイ
マ3の時間を修正する(ステップ■)。修正後、再びブ
ロードキャスト・パケットを待つルーチンに入っていく
。また、誤差範囲内であれば、何ら処置をする必要がな
いので、再びブロードキャスト・パケットを受信したか
否かの判断を待つ状態となる(ステップ■;Y)。If the error exceeds the setting error, step ■:
N), the processor 5 corrects the time of the built-in timer 3 so that it falls within the setting error (step ■). After making the corrections, we go back to the routine of waiting for broadcast packets. Furthermore, if it is within the error range, there is no need to take any action, and the process waits for a determination as to whether or not a broadcast packet has been received again (step 2; Y).
このようにすれば、常にすべての端末装置の内蔵タイマ
の時刻データが、所定の設定誤差範囲内に収まることに
なる。In this way, the time data of the built-in timers of all terminal devices will always fall within the predetermined setting error range.
なお、本実施例では、時刻情報送出装置10を独立した
装置としてイーサネット1に接続させた場合を示した。In this embodiment, a case is shown in which the time information sending device 10 is connected to the Ethernet 1 as an independent device.
しかし、第4図に示すように、時刻情報送出装置10と
同一の機能を有する時刻情報送出部10Aを端末装置2
0内に設けてもよい。この場合には、例えば、第1図に
示したメモリ14は、その端末装置本体のメモリを兼用
することができ、また、ROM16はディスク等の補助
記憶装置で代用することができる。更に、一定時間ごと
に定期的にプロセッサに割り込みを発生させるタイマ1
30機能を端末装置本体が持っていれば、それを代用し
てもよい。このようにすれば、装置全体のコストを低く
抑えることができ、また、装置を小型に構成することが
できる。However, as shown in FIG. 4, the time information transmitter 10A, which has the same function as the time information transmitter 10, is
It may be set within 0. In this case, for example, the memory 14 shown in FIG. 1 can be used as the memory of the main body of the terminal device, and the ROM 16 can be replaced with an auxiliary storage device such as a disk. Furthermore, timer 1 generates interrupts to the processor periodically at fixed intervals.
If the terminal device main body has 30 functions, it may be used instead. In this way, the cost of the entire device can be kept low, and the device can be configured to be compact.
「発明の効果」
本発明によれば、LANに収容されたすべての端末装置
の内蔵タイマが、一定範囲の誤差内に確保され不整合を
起こさないので、例えば“秒”の単位でファイル管理を
行ったとしても正確な管理を実行することが可能となる
。"Effects of the Invention" According to the present invention, the built-in timers of all terminal devices accommodated in a LAN are secured within a certain range of error and no inconsistency occurs, so file management can be performed in units of seconds, for example. Even if it is done, it is possible to carry out accurate management.
図は本発明の一実施例を示すLAN収容端末の時間管理
装置を示すものであって、第1図は全体構成を示すブロ
ック図、第2図は端末装置のブロック図、第3図は端末
装置の動作を示す流れ図、第4図は本発明の変形例を示
す全体構成ブロック図である。
1・・・・・・イーサネット (ローカル・エリア・ネ
ットワーク)、2・・・・・・端末装置、3・・・・・
・内蔵タイマ、
4.15・・・・・・トランシーバ、
5.11・・・・・・プロセッサ、
12・・・・・・基準時間発生回路。
出願人 富士ゼロックス株式会社
代理人 弁理士 山 内 梅 雄
第2図
第3図The figures show a time management device for a LAN accommodating terminal according to an embodiment of the present invention, in which Fig. 1 is a block diagram showing the overall configuration, Fig. 2 is a block diagram of the terminal device, and Fig. 3 is a terminal device. A flowchart showing the operation of the apparatus, and FIG. 4 is a block diagram of the overall configuration showing a modification of the present invention. 1...Ethernet (local area network), 2...Terminal device, 3...
・Built-in timer, 4.15...Transceiver, 5.11...Processor, 12...Reference time generation circuit. Applicant Fuji Xerox Co., Ltd. Agent Patent Attorney Umeo Yamauchi Figure 2 Figure 3
Claims (1)
刻情報を送出する時刻情報送出手段と、前記ネットワー
ク上に収容されていて、前記送出された時刻情報を受け
、自己が内蔵した時計の指示時刻との間の誤差が所定値
を越えているときは前記時計の指示時刻を修正するべく
制御する制御部を有する複数の端末装置 とを具備したことを特徴とするLAN収容端末の時間管
理装置。[Scope of Claims] Time information transmitting means for transmitting time information on a local area network at predetermined intervals; A LAN accommodating terminal comprising: a plurality of terminal devices each having a control unit that controls to correct the time indicated by the clock when the error between the time indicated by the clock and the time indicated by the clock exceeds a predetermined value. Time management device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63300649A JPH02147983A (en) | 1988-11-30 | 1988-11-30 | Apparatus for managing time of lan storage terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63300649A JPH02147983A (en) | 1988-11-30 | 1988-11-30 | Apparatus for managing time of lan storage terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02147983A true JPH02147983A (en) | 1990-06-06 |
Family
ID=17887399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63300649A Pending JPH02147983A (en) | 1988-11-30 | 1988-11-30 | Apparatus for managing time of lan storage terminal |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02147983A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0895665A (en) * | 1994-09-29 | 1996-04-12 | Nec Software Ltd | Method for synchronizing date/time of on-line system |
JPH1026676A (en) * | 1996-07-11 | 1998-01-27 | Kokusai Electric Co Ltd | Automatic time correction method, terminal device |
-
1988
- 1988-11-30 JP JP63300649A patent/JPH02147983A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0895665A (en) * | 1994-09-29 | 1996-04-12 | Nec Software Ltd | Method for synchronizing date/time of on-line system |
JPH1026676A (en) * | 1996-07-11 | 1998-01-27 | Kokusai Electric Co Ltd | Automatic time correction method, terminal device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Clarke et al. | Practical modern SCADA protocols: DNP3, 60870.5 and related systems | |
US5655083A (en) | Programmable rset system and method for computer network | |
US5748470A (en) | Semiconductor processing backup system | |
US4831512A (en) | System and method of message communication capable of checking consistency among data | |
JPH02147983A (en) | Apparatus for managing time of lan storage terminal | |
US6178177B1 (en) | Data-processing network having non-deterministic access, but having deterministic access time | |
JP2705683B2 (en) | Network alert collection method | |
JPS60246148A (en) | Data transmission control system | |
EP1476986B1 (en) | Information communication controller interface apparatus and method | |
JPH06161859A (en) | Distributed shared resource management method | |
JPS638813A (en) | Time standardizing system of local area network | |
JP2997492B2 (en) | Network system | |
JPH03276338A (en) | Simple maintenance method for terminal software | |
JPH05346810A (en) | Output abnormality processing system for programmable controller | |
JP2659994B2 (en) | Modem monitoring method | |
JPH02210511A (en) | Automatic operating device for transfer of file | |
JPH10233792A (en) | Polling system/method | |
JP3360018B2 (en) | Communication device switching time setting system | |
JP3222030B2 (en) | Terminal, monitoring device and communication device | |
Briegel et al. | FIRUS: completion of the FNAL site-wide fire and utility monitoring system | |
JP2746961B2 (en) | Facsimile communication system | |
JPS6196849A (en) | Transmission system control system | |
JPH01103046A (en) | Communication control system | |
JPH05158826A (en) | Standard time setting system | |
JPH0160853B2 (en) |