JPH11296255A - Information processor - Google Patents

Information processor

Info

Publication number
JPH11296255A
JPH11296255A JP10098636A JP9863698A JPH11296255A JP H11296255 A JPH11296255 A JP H11296255A JP 10098636 A JP10098636 A JP 10098636A JP 9863698 A JP9863698 A JP 9863698A JP H11296255 A JPH11296255 A JP H11296255A
Authority
JP
Japan
Prior art keywords
clock
time
clocks
value
control 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
JP10098636A
Other languages
Japanese (ja)
Inventor
Yasuyuki Higashiura
康之 東浦
Takumi Kishino
琢己 岸野
Kazuyuki Mitsuishi
和幸 三石
Hidetoshi Tamura
秀敏 田村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10098636A priority Critical patent/JPH11296255A/en
Publication of JPH11296255A publication Critical patent/JPH11296255A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce hardware such as a clock and a battery in an information processor, to secure the normality of a clock by an inexpensive device and to provide an inexpensive abnormality detection means. SOLUTION: Respective MPUs 19, 20 in clock control parts 10, 11 read out the values of interval timers 17, 18 and the values of clocks 15, 16, record the read values in respective memories 21, 22, calculate the advanced time values of the timers 17, 18 and of the clocks 15, 16 and compare both the advanced values. When the difference between both advanced time values exceeds a fixed value, the clocks 15, 16 are judged as abnormal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、装置内に時計を持
ち、その時計により、イベントの起動や各種データの世
代管理等を行う電子計算機等の情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus such as a computer which has a clock in the apparatus and uses the clock to start an event and manage generations of various data.

【0002】近年の電子計算機では、イベント起動のト
リガや各種データ(ファイル)の管理等に、電池でバッ
クアップされた内蔵時計が使用されていた。このような
電子計算機等では、時計の誤りにより、重大な処理が意
図しないタイミングで発生したり、前記処理が必要なタ
イミングに発生しない等の問題が発生する。また、日時
によりデータ等の生成時刻の逆転等の論理矛盾が発生
し、大きな問題となる場合がある。そこで、電子計算機
等に内蔵されている時計の精度を常に正確に維持するこ
とが要望されていた。
2. Description of the Related Art In recent computers, a built-in clock backed up by a battery has been used for triggering an event start and managing various data (files). In such an electronic computer or the like, problems such as a serious processing occurring at an unintended timing or a failure of the processing occurring at a necessary timing occur due to a clock error. Further, logical inconsistency such as inversion of the generation time of data or the like occurs depending on the date and time, which may be a serious problem. Therefore, there has been a demand for always maintaining the accuracy of a clock built in an electronic computer or the like.

【0003】[0003]

【従来の技術】以下、従来例を説明する。 §1:従来例1の説明・・・図9のA図参照 図9のA図は従来例1の説明図である。従来例1は、電
子計算機において、運用系と待機系とにそれぞれ2個の
時計(ペア時計)を備え、それぞれの系の時計を比較す
ることで時計の正常性を確保する「ペア・アンド・スペ
ア方法」と呼ばれる方法を採用した例であり、実際には
使用されていないが、提案されていた技術である。
2. Description of the Related Art A conventional example will be described below. §1: Description of Conventional Example 1—See FIG. 9A FIG. 9A is an explanatory diagram of Conventional Example 1. FIG. In the first conventional example, an electronic computer is provided with two clocks (pair clocks) for the active system and the standby system, respectively, and compares the clocks of the respective systems to ensure the normality of the clocks. This is an example in which a method called a "spare method" is employed, and is not actually used but is a proposed technique.

【0004】この例では、運用系に、時計1と時計2の
2つの時計からなるペア1を備え、待機系には、時計3
と時計4の2つの時計からなるペア2を備えている。そ
して、運用系に設けたペア1内の2つの時計1、2を比
較し、その差が、予め設定した値以内であれば、ペア1
の時計値を正しい値として使用する。なお、この場合、
2つの時計の一方を使用するとか、2つの時計の平均値
を使用するとか、処理方法や補正の手段には各種のもの
がある。
In this example, a pair 1 composed of two clocks, a clock 1 and a clock 2, is provided in an operating system, and a clock 3 is provided in a standby system.
And a pair 2 composed of two clocks, namely a clock 4 and a clock 4. Then, the two clocks 1 and 2 in the pair 1 provided in the active system are compared, and if the difference is within a preset value, the pair 1
Use the clock value of as the correct value. In this case,
There are various types of processing methods and correction means, such as using one of the two clocks or using the average value of the two clocks.

【0005】また、前記ペア1時計1、2の比較で、そ
の差が予め設定した値以上であれば、前記ペア1の時計
が異常であると判定し、運用系を待機系に切り換えて前
記と同じ処理を行う。そして、ペア2内の2つの時計
3、4を比較し、その差が、予め設定した値以内であれ
ば、ペア2の時計値を正しい値として使用する。なお、
この場合にも、2つの時計の一方を使用するとか、2つ
の時計の平均値を使用するとか、処理方法や補正の手段
には各種のものがある。このようにして時計の正常性を
確保している。
If the difference between the pair 1 clocks 1 and 2 is equal to or greater than a preset value, it is determined that the clock of the pair 1 is abnormal, and the operation system is switched to the standby system to switch the operation system to the standby system. Performs the same processing as. Then, the two clocks 3 and 4 in the pair 2 are compared, and if the difference is within a preset value, the clock value of the pair 2 is used as a correct value. In addition,
Also in this case, there are various types of processing methods and correction means, such as using one of the two clocks or using the average value of the two clocks. In this way, the normality of the watch is ensured.

【0006】§2:従来例2の説明・・・図9のB図参
照 図9のB図は従来例2の説明図である。従来例2は、電
子計算機において、「三重比較方法」と呼ばれる方法に
より時計の正常性を確保する例である。図9のB図に示
したように、時計1、時計2、時計3からなる3個の時
計を備え、これら三重化した時計を比較することで時計
の正常性を確保する。
§2: Description of Conventional Example 2—See FIG. 9B FIG. 9B is an explanatory diagram of Conventional Example 2. Conventional example 2 is an example in which the normality of a clock is ensured by a method called a “triple comparison method” in an electronic computer. As shown in FIG. 9B, three timepieces including a timepiece 1, a timepiece 2, and a timepiece 3 are provided, and the normality of the timepiece is ensured by comparing these tripled timepieces.

【0007】この場合、時計1、時計2、時計3の値を
読み出し、それらを比較する。そして、2つの時計が示
す値が等しい場合(予め決めた範囲の誤差は許容する)
は、その値が正しい値であるとして採用する。また、全
ての時計が異なっていれば、異常と判定する。
In this case, the values of clock 1, clock 2 and clock 3 are read and compared. When the values indicated by the two watches are equal (errors in a predetermined range are allowed)
Adopts that value as the correct value. If all the clocks are different, it is determined that there is an abnormality.

【0008】 §3:従来例3の説明 従来例3は、1つの時計を持ち、この時計を正常なもの
として使用する例である。この例は、通常の汎用電子計
算機等で知られている例である。なお、電子計算機内に
は、時計機能としてではなく、他の用途に使用するため
のインターバルタイマを備えているが、このインターバ
ルタイマは前記時計の正常性を確保するためには使用さ
れていない。
§3: Description of Conventional Example 3 Conventional Example 3 is an example in which one clock is used and this clock is used as a normal one. This example is an example known in a general-purpose electronic computer or the like. Note that the electronic computer has an interval timer for use for other purposes, not as a clock function, but this interval timer is not used for ensuring the normality of the clock.

【0009】[0009]

【発明が解決しようとする課題】前記のような従来のも
のにおいては、次のような課題があった。 (1) :従来例1では、時計を4個使用する必要があり、
コストアップの原因となる。また、各時計を電池でバッ
クアップする必要があるため、電池容量の増大等、コス
ト的、物量規模的に負担が大きくなる。
The above-mentioned prior art has the following problems. (1): In Conventional Example 1, it is necessary to use four clocks,
It causes cost increase. In addition, since it is necessary to back up each timepiece with a battery, the burden is increased in cost and physical scale, such as an increase in battery capacity.

【0010】(2) :従来例2では、時計を3個使用する
必要があり、コストアップの原因となる。また、各時計
を電池でバックアップする必要があるため、電池容量の
増大等、コスト的、物量規模的に負担が大きくなる。
(2): In the second conventional example, it is necessary to use three clocks, which causes an increase in cost. In addition, since it is necessary to back up each timepiece with a battery, the burden is increased in cost and physical scale, such as an increase in battery capacity.

【0011】(3) :従来例3では、1つの時計を使用し
ているので、安価に構成できるが、時計の正常性を確保
するのは難しい。 (4) :前記のような従来の装置では、毎日上位装置から
時間情報をもらい、時計を修正するなど、時計の補正に
関しては種々の手法が用いられているが、日常の時計の
正常性確保と、時計の故障検出に関しては特に考慮され
ていない。従って、時計の完全な正常性を確保するのは
難しい。
(3): In Conventional Example 3, since one clock is used, it can be constructed at a low cost, but it is difficult to ensure the normality of the clock. (4): In the conventional device as described above, various methods are used for correcting the clock, such as receiving time information from the host device every day and correcting the clock. In particular, no consideration is given to the detection of a failure in a timepiece. Therefore, it is difficult to ensure perfect normality of the watch.

【0012】本発明は、このような従来の課題を解決
し、時計や電池等の物量を少なくして、安価な装置で時
計の正常性を確保できるようにすると共に、安価な異常
検出手段を提供できるようにすることを目的とする。
The present invention solves the above-mentioned conventional problems, reduces the physical quantity of a clock, a battery, and the like, and can ensure the normality of the clock with an inexpensive device. The purpose is to be able to provide.

【0013】[0013]

【課題を解決するための手段】本発明は前記の目的を達
成するため、次のように構成した。 (1) :電池でバックアップされた時計及び電池でバック
アップされないインターバルタイマを持ち、前記時計の
正常性をチェックする機能を有する時計制御部を備えた
情報処理装置であって、前記時計制御部は、前記インタ
ーバルタイマの値と時計の値を読み出して記憶手段(例
えば、メモリ)に記録する時計データ読出記録手段と、
前記記憶手段上の前回記録した値と今回記録した値か
ら、インターバルタイマの進んだ時間と時計の進んだ時
間を算出し、両者の進んだ時間を比較する経過時間比較
手段と、前記比較で、前記進んだ時間の差が予め設定し
た値以上となった場合に、時計を異常と判定する異常判
定手段とを備えている。
Means for Solving the Problems The present invention has the following constitution in order to achieve the above object. (1): An information processing apparatus including a clock backed up by a battery and an interval timer not backed up by a battery, and including a clock control unit having a function of checking the normality of the clock, wherein the clock control unit includes: Clock data reading and recording means for reading the value of the interval timer and the value of the clock and recording them in storage means (for example, a memory);
From the previously recorded value and the currently recorded value on the storage means, the elapsed time of the interval timer and the time of advance of the clock are calculated, and the elapsed time comparing means for comparing both advanced times, When the difference between the advanced times is equal to or greater than a predetermined value, the timepiece is provided with abnormality determining means for determining that the clock is abnormal.

【0014】(2) :前記(1) の情報処理装置において、
前記記憶手段上に、前記インターバルタイマから読み出
した値と時計から読み出した値を記録する記録領域を複
数持ち、前記時計制御部は、前記複数の記録領域を利用
して、前記インターバルタイマから読み出した値と時計
から読み出した値により、予め決めた短い間隔での短間
隔の比較と、それ以上長い間隔での長間隔の比較を行う
ことで時計の異常検出精度を向上させる機能を備えてい
る。
(2): In the information processing apparatus of (1),
The storage means has a plurality of recording areas for recording the value read from the interval timer and the value read from the clock, and the clock control unit uses the plurality of recording areas to read from the interval timer. There is provided a function of improving the accuracy of abnormality detection of a clock by comparing a short interval at a predetermined short interval and a long interval at a longer interval based on the value and a value read from the clock.

【0015】(3) :前記(1) の情報処理装置において、
前記時計制御部を2つ持ち、二重化動作させるようにし
た。 (4) :前記(3) の情報処理装置において、前記時計制御
部へ読み出し依頼を送ることで、双方の時計制御部から
時計データを取得する時計データ取得手段と、前記時計
データ取得手段が取得したデータにより、一方の時計が
異常となった場合は、正常な方の時計でシステム(例え
ば、CPU)を立ち上げ、双方の時計が異常となった場
合は、オペレータの日時入力待ちとしてシステムを立ち
上げず、双方の時計が正常となった場合は、2つの時計
の差が一定時間以内であれば、予め決めた一方の時計で
システムを立ち上げ、他方の時計はその時刻に補正する
と共に、2つの時計の差が一定時間以上であれば、オペ
レータからの日時入力待ちとしてシステムを立ち上げな
いシステム立ち上げ制御手段を備えている。
(3): In the information processing apparatus of (1),
It has two timepiece control units to operate in duplicate. (4): In the information processing apparatus of (3), by sending a read request to the clock control unit, the clock data acquisition unit that acquires clock data from both clock control units, and the clock data acquisition unit acquires the clock data. If one of the clocks becomes abnormal due to the data obtained, the system (for example, CPU) is started with the normal clock, and if both clocks become abnormal, the system waits for the date and time input by the operator and sets the system. If both clocks are normal without starting, if the difference between the two clocks is within a certain time, the system is started with one predetermined clock, and the other clock is corrected to that time and If the difference between the two clocks is equal to or longer than a predetermined time, the system is provided with a system start-up control unit that does not start up the system waiting for date and time input from the operator.

【0016】(5) :前記(3) の情報処理装置において、
前記時計制御部へ読み出し依頼を送ることで、双方の時
計制御部から時計データを取得する時計データ取得手段
と、前記時計データ取得手段が取得したデータにより、
一方の時計が異常となった場合は、正常な方の時計でシ
ステムを立ち上げ、双方の時計が異常となった場合は、
前回の電源オフ時刻でシステムを立ち上げ、双方の時計
が正常となった場合は、2つの時計の差が一定時間以内
であれば、予め決めた一方の時計でシステムを立ち上
げ、他方の時計はその時刻に補正すると共に、2つの時
計の差が一定時間以上であれば、前回の電源オフ時刻で
システムを立ち上げるシステム立ち上げ制御手段を備え
ている。
(5): In the information processing apparatus of (3),
By sending a read request to the clock control unit, a clock data acquisition unit that acquires clock data from both clock control units, and by the data acquired by the clock data acquisition unit,
If one of the clocks becomes abnormal, start the system with the normal clock, and if both clocks become abnormal,
When the system is started at the last power-off time and both clocks are normal, if the difference between the two clocks is within a certain time, the system is started with one predetermined clock and the other clock is started. Is provided with a system start-up control unit that corrects the time and, if the difference between the two clocks is equal to or longer than a predetermined time, starts up the system at the previous power-off time.

【0017】(6) :前記(3) の情報処理装置において、
前記時計制御部へ読み出し依頼を送ることで、双方の時
計制御部から時計データを取得する時計データ取得手段
と、前記時計データ取得手段が取得したデータにより、
一方の時計が異常となった場合は、正常な方の時計でシ
ステムを立ち上げ、双方の時計が異常となった場合は、
前回の電源オフ時刻でシステムを立ち上げ、双方の時計
が正常となった場合は、2つの時計の平均値を算出し、
その平均値でシステムを立ち上げると共に、双方の時計
を前記平均値で補正するシステム立ち上げ制御手段を備
えている。
(6): In the information processing apparatus of (3),
By sending a read request to the clock control unit, a clock data acquisition unit that acquires clock data from both clock control units, and by the data acquired by the clock data acquisition unit,
If one of the clocks becomes abnormal, start the system with the normal clock, and if both clocks become abnormal,
When the system was started at the last power-off time and both clocks became normal, the average value of the two clocks was calculated,
A system start-up control unit is provided for starting up the system with the average value and correcting both clocks with the average value.

【0018】(7) :電池でバックアップされた時計及び
電池でバックアップされないインターバルタイマを持
ち、前記時計の正常性をチェックする機能を有する時計
制御部に、前記インターバルタイマの値と時計の値を読
み出して記憶手段に記録する手順と、前回記録した値と
今回記録した値から、インターバルタイマの進んだ時間
と時計の進んだ時間を算出し、両者の進んだ時間を比較
する手順と、前記比較で、前記進んだ時間の差が予め設
定した値以上となった場合に、時計を異常と判定する手
順と、を実行させるためのプログラムを記録したコンピ
ュータ読み取り可能な記録媒体。
(7) The value of the interval timer and the value of the clock are read out to a clock control unit having a clock backed up by a battery and an interval timer not backed up by a battery and having a function of checking the normality of the clock. And a procedure of calculating the time advanced by the interval timer and the time advanced by the clock from the previously recorded value and the value recorded this time, and comparing the advanced times of the two. And a computer-readable recording medium for recording a program for executing a procedure for determining that the clock is abnormal when the difference between the advanced times is equal to or greater than a preset value.

【0019】(作用)前記構成に基づく本発明の作用を
説明する。 (a) :前記(1) の作用 時計制御部では、時計データ読出記録手段がインターバ
ルタイマの値と時計の値を読み出して記憶手段に記録す
る。また、経過時間比較手段は、記憶手段上の前回記録
した値と今回記録した値から、インターバルタイマの進
んだ時間と時計の進んだ時間を算出し、両者の進んだ時
間を比較する。そして、異常判定手段は、前記比較で、
前記進んだ時間の差が予め設定した値以上となった場合
に、その時計を異常と判定する。
(Operation) The operation of the present invention based on the above configuration will be described. (a): Operation of the above (1) In the clock control section, the clock data reading and recording means reads the value of the interval timer and the value of the clock and records them in the storage means. Further, the elapsed time comparing means calculates the time that the interval timer has advanced and the time that the clock has advanced from the previously recorded value and the currently recorded value in the storage means, and compares the advanced times. Then, the abnormality determining means determines the
If the difference between the advanced times is equal to or greater than a preset value, the clock is determined to be abnormal.

【0020】ところで、電子計算機等の情報処理装置で
は、通常、電源がオフされても時間を計数するため、時
計専用の素子が内蔵されている。また、近年の情報処理
装置では、低機能のものでも、オペレーティングシステ
ム等を動作させるためのインターバルタイマを持つもの
が普通である。そこで、前記のように、情報処理装置が
一般に持つインターバルタイマを使用することにより、
時計をチェックし、時計の正常性を確保することができ
る。
In general, an information processing device such as an electronic computer has a built-in timepiece element for counting time even when the power is turned off. Further, in recent years, information processing apparatuses generally have an interval timer for operating an operating system or the like, even with a low function. Therefore, as described above, by using the interval timer that the information processing apparatus generally has,
The watch can be checked to ensure the normality of the watch.

【0021】従って、時計素子の故障(データ化けや時
計の極端な進み/遅れ等)の検出が安価な装置で可能と
なり、意図しないタイミングにイベントが発生するこ
と、必要なタイミングにイベントが発生しない等の問
題、及び日時により管理されるデータの管理に誤りが発
生することがなくなる。
Therefore, it is possible to detect a failure of the clock element (corrupted data, extreme advance / delay of the clock, etc.) with an inexpensive device, and an event occurs at an unintended timing, and an event does not occur at a necessary timing. Such problems as described above and errors in managing data managed by date and time can be prevented.

【0022】(b) :前記(2) の作用 時計制御部は、複数の記録領域を利用して、インターバ
ルタイマから読み出した値と時計から読み出した値によ
り、予め決めた短い間隔での短間隔の比較と、それ以上
長い間隔での長間隔の比較を行う。このようにして、時
計の異常検出精度を向上させることができる。
(B): Operation of the above (2) The clock control unit uses a plurality of recording areas to determine a short interval at a predetermined short interval based on the value read from the interval timer and the value read from the clock. And long intervals at longer intervals. In this way, the abnormality detection accuracy of the timepiece can be improved.

【0023】前記のように、短間隔(例えば、10分間
隔)の比較と、長間隔(例えば、2時間の間隔)の比較
を実施することで、時計の異常検出精度を向上させるこ
とができる。すなわち、時計素子は、一般的に秒単位に
計数を行う。そのため、前回と今回の読み出しにより経
過時間を比較する場合、時計読み出しのタイミング(桁
上げする直前と桁上げした直後)により、少なくとも2
秒の誤差(比較した場合の差)は許容しなければならな
い。
As described above, by comparing the short interval (for example, every 10 minutes) and the long interval (for example, every 2 hours), it is possible to improve the accuracy of detecting the abnormality of the clock. . That is, the clock element generally performs counting in seconds. Therefore, when comparing the elapsed time between the previous reading and the present reading, at least two clocks are required depending on the clock reading timing (just before carrying and immediately after carrying).
Second errors (differences in comparison) must be tolerated.

【0024】しかし、時計素子自体の精度は、月差数秒
〜数十秒であるため、前記の2秒の誤差は異常検出精度
としては、大きな値である。そのため、チェック回数確
保のための短間隔の比較と精度を確保するための長間隔
のチェックの両方を使うことにより、時計の異常検出の
精度を向上させることが可能になる。
However, since the accuracy of the clock element itself is several seconds to several tens of seconds per month, the error of 2 seconds is a large value as the abnormality detection accuracy. Therefore, the accuracy of the abnormality detection of the timepiece can be improved by using both the comparison of the short interval for ensuring the number of checks and the long interval check for ensuring the accuracy.

【0025】(c) :前記(3) の作用 時計制御部を2つ持ち、二重化動作する。このように、
チェック機能を持つ時計を2つ持つことにより、従来例
で説明したペアアンドスペア方法と同等の機能を安価に
実現できる。
(C): Operation of the above (3) It has two clock control units and operates in duplicate. in this way,
By providing two watches having a check function, a function equivalent to the pair-and-spare method described in the conventional example can be realized at low cost.

【0026】(d) :前記(4) の作用 時計データ取得手段が、時計制御部へ読み出し依頼を送
ることで、双方の時計制御部から時計データを取得す
る。そして、システム立ち上げ制御手段は、前記時計デ
ータ取得手段が取得したデータにより、一方の時計が異
常となった場合は、正常な方の時計でシステムを立ち上
げ、双方の時計が異常となった場合は、オペレータの日
時入力待ちとしてシステムを立ち上げず、双方の時計が
正常となった場合は、2つの時計の差が一定時間以内で
あれば、予め決めた一方の時計でシステムを立ち上げ、
他方の時計はその時刻に補正すると共に、2つの時計の
差が一定時間以上であれば、オペレータからの日時入力
待ちとしてシステムを立ち上げないように制御を行う。
(D): Operation of the above (4) The clock data obtaining means obtains clock data from both clock control units by sending a read request to the clock control units. Then, when one of the clocks becomes abnormal due to the data acquired by the clock data acquiring means, the system activation control means activates the system with the normal clock, and both clocks become abnormal. In this case, the system is not started up waiting for the operator to input the date and time. If both clocks are normal, the system is started up with one predetermined clock if the difference between the two clocks is within a certain time. ,
The other clock corrects the time and, if the difference between the two clocks is equal to or longer than a predetermined time, performs control so as not to start up the system while waiting for date and time input from the operator.

【0027】このようにすれば、2つの時計を持った場
合の1制御方法を提供できると共に、誤った時計での動
作を確実に防止することが可能になる。また、安価な装
置により時計の正常性を確保できると共に、安価な異常
検出手段を提供できる。
In this way, it is possible to provide one control method when two clocks are provided, and it is possible to reliably prevent operation with an incorrect clock. In addition, the normality of the timepiece can be ensured by an inexpensive device, and an inexpensive abnormality detecting means can be provided.

【0028】(e) :前記(5) の作用 時計データ取得手段が、時計制御部へ読み出し依頼を送
ることで、双方の時計制御部から時計データを取得す
る。そして、装置立ち上げ制御手段は、前記時計データ
取得手段が取得したデータにより、一方の時計が異常と
なった場合は、正常な方の時計でシステムを立ち上げ、
双方の時計が異常となった場合は、前回の電源オフ時刻
でシステムを装置立ち上げ、双方の時計が正常となった
場合は、2つの時計の差が一定時間以内であれば、予め
決めた一方の時計でシステムを立ち上げ、他方の時計は
その時刻に補正すると共に、2つの時計の差が一定時間
以上であれば、前回の電源オフ時刻でシステムを立ち上
げるように制御する。
(E): Operation of the above (5) The clock data obtaining means obtains clock data from both clock control units by sending a read request to the clock control units. Then, the device start-up control means starts up the system with a normal clock if one of the clocks becomes abnormal due to the data obtained by the clock data obtaining means.
If both clocks are abnormal, the system is started at the last power-off time. If both clocks are normal, if the difference between the two clocks is within a certain time, a predetermined value is set. The system is started with one clock, the other clock is corrected to that time, and if the difference between the two clocks is equal to or more than a predetermined time, the system is controlled to start up at the last power-off time.

【0029】このようにすれば、2つの時計を持った場
合の1制御方法を提供できると共に、誤った時計での動
作を確実に防止することが可能になる。また、安価な装
置により時計の正常性を確保できると共に、安価な異常
検出手段を提供できる。
In this way, it is possible to provide one control method when two clocks are provided, and it is possible to reliably prevent an operation with an incorrect clock. In addition, the normality of the timepiece can be ensured by an inexpensive device, and an inexpensive abnormality detecting means can be provided.

【0030】更に、前記のようにしてシステムを立ち上
げることで、異常内容の詳細通知や遠隔監視装置への通
知等の処理が簡単になる。また、装置運用(システム運
用)は開始せず、通知機能のみを確保する必要がある場
合に、最低限の保証(データの順序性のみを保証)でシ
ステムを立ち上げることができる。
Further, by starting up the system as described above, processes such as detailed notification of the details of the abnormality and notification to the remote monitoring device are simplified. In addition, when the device operation (system operation) does not start and only the notification function needs to be secured, the system can be started up with a minimum guarantee (only the order of data is guaranteed).

【0031】(f) :前記(6) の作用 時計データ取得手段が、時計制御部へ読み出し依頼を送
ることで、双方の時計制御部から時計データを取得す
る。そして、装置立ち上げ制御手段は、時計データ取得
手段が取得したデータにより、一方の時計が異常となっ
た場合は、正常な方の時計でシステムを立ち上げ、双方
の時計が異常となった場合は、前回の電源オフ時刻でシ
ステムを立ち上げ、双方の時計が正常となった場合は、
2つの時計の平均値を算出し、その平均値でシステムを
立ち上げると共に、双方の時計を前記平均値で補正する
ように制御を行う。
(F): Operation of the above (6) The clock data obtaining means obtains clock data from both clock control units by sending a read request to the clock control units. Then, the device start-up control means starts the system with the normal clock if one of the clocks becomes abnormal based on the data obtained by the clock data obtaining means, and Starts the system at the last power-off time, and if both clocks are normal,
An average value of the two clocks is calculated, the system is started with the average value, and control is performed so that both clocks are corrected with the average value.

【0032】このようにすれば、2つの時計を持った場
合の1制御方法を提供できると共に、誤った時計での動
作を確実に防止することが可能になる。また、安価な装
置により時計の正常性を確保できると共に、安価な異常
検出手段を提供できる。
In this way, it is possible to provide one control method when two clocks are provided, and it is possible to reliably prevent operation with an incorrect clock. In addition, the normality of the timepiece can be ensured by an inexpensive device, and an inexpensive abnormality detecting means can be provided.

【0033】また、正常時間からのずれを最小限に抑え
ることができ、システムを立ち上げることと、誤った時
間での動作を防止できると共に、時計の精度を向上させ
ることができる。
Further, the deviation from the normal time can be minimized, the system can be started up, the operation at the wrong time can be prevented, and the accuracy of the timepiece can be improved.

【0034】(g) :前記(7) の作用 前記記録媒体のプログラムを読み出して時計制御部に実
行させることにより、前記インターバルタイマの値と時
計の値を読み出して記憶手段に記録する手順と、前回記
録した値と今回記録した値から、インターバルタイマの
進んだ時間と時計の進んだ時間を算出し、両者の進んだ
時間を比較する手順と、前記比較で、前記進んだ時間の
差が予め設定した値以上となった場合に、時計を異常と
判定する手順とを行う。
(G): action of the above (7): a step of reading the program of the recording medium and causing the clock control section to execute the program, thereby reading the value of the interval timer and the value of the clock and recording them in the storage means; From the previously recorded value and the value recorded this time, calculate the time that the interval timer has advanced and the time that the clock has advanced, and compare the two advanced times. If the value is equal to or greater than the set value, a procedure for determining that the clock is abnormal is performed.

【0035】ところで、電子計算機等の情報処理装置で
は、通常、電源がオフされても時間を計数するため、時
計専用の素子が使用されている。また、近年の情報処理
装置では、低機能のものでも、オペレーティングシステ
ム等を動作させるためのインターバルタイマを持つもの
が普通である。そこで、前記のように、情報処理装置が
一般に持つインターバルタイマを使用することにより、
時計をチェックし、時計の正常性を確保することができ
る。
By the way, in an information processing apparatus such as an electronic computer, an element dedicated to a clock is usually used to count time even when the power is turned off. Further, in recent years, information processing apparatuses generally have an interval timer for operating an operating system or the like, even with a low function. Therefore, as described above, by using the interval timer that the information processing apparatus generally has,
The watch can be checked to ensure the normality of the watch.

【0036】従って、時計素子の故障(データ化けや時
計の極端な進み/遅れ等)の検出が安価な方法で可能と
なり、意図しないタイミングにイベントが発生するこ
と、必要なタイミングにイベントが発生しない等の問
題、及び日時により管理されるデータの管理に誤りが発
生することがなくなる。
Therefore, failure of the clock element (corruption of data, extreme advance / delay of the clock, etc.) can be detected by an inexpensive method, and an event occurs at an unintended timing and an event does not occur at a necessary timing. Such problems as described above and errors in managing data managed by date and time can be prevented.

【0037】[0037]

【発明の実施の形態】以下、発明の実施の形態を図面に
基づいて詳細に説明する。 §1:装置の説明・・・図1、図2参照 図1は装置の説明図、図2は電源系統説明図である。以
下、図1、図2に基づいて、本実施の形態で使用する装
置を説明する。この装置は、前記情報処理装置を通信用
サーバ(コミュニケーションサーバ)に適用した例であ
り、該通信用サーバには、0系システムバスに接続され
た時計制御部10と、1系システムバスに接続された時
計制御部11と、前記0系システムバス及び1系システ
ムバスに接続されたCPU(上位装置)12等を備えて
いる。
Embodiments of the present invention will be described below in detail with reference to the drawings. §1: Description of the apparatus: see FIGS. 1 and 2 FIG. 1 is an explanatory view of the apparatus, and FIG. 2 is an explanatory view of a power supply system. Hereinafter, an apparatus used in the present embodiment will be described with reference to FIGS. This apparatus is an example in which the information processing apparatus is applied to a communication server (communication server). The communication server includes a clock control unit 10 connected to a system 0 system bus and a clock control unit 10 connected to a system 1 system bus. And a CPU (upper device) 12 connected to the 0-system bus and the 1-system bus.

【0038】時計制御部10は、時計制御部を構成する
部品が搭載されたプリント板で構成されており、電池1
3によりバックアップされたカレンダ時計(以下、単に
「時計」と記す)15と、インターバルタイマ17と、
マイクロプロセッサ(以下「MPU」と記す)19と、
メモリ21を備えている。また、時計制御部11は、時
計制御部を構成する部品が搭載されたプリント板で構成
されており、電池14によりバックアップされたカレン
ダ時計(以下単に「時計」と記す)16と、インターバ
ルタイマ18と、マイクロプロセッサ(以下「MPU」
と記す)20と、メモリ22を備えている。
The clock control unit 10 is composed of a printed board on which parts constituting the clock control unit are mounted.
3, a calendar clock (hereinafter simply referred to as a “clock”) 15 backed up by 3, an interval timer 17,
A microprocessor (hereinafter referred to as “MPU”) 19;
A memory 21 is provided. The clock control unit 11 is composed of a printed board on which components constituting the clock control unit are mounted, and includes a calendar clock (hereinafter simply referred to as “clock”) 16 backed up by a battery 14, and an interval timer 18. And a microprocessor (hereinafter “MPU”)
20) and a memory 22.

【0039】なお、前記のインターバルタイマは、一般
的に時間を計測するために電子計算機等に内蔵されたも
のであり、このようなインターバルタイマを使用して、
電池でバックアップされた時計の正常性を確保する。ま
た、時計15、16、及びインターバルタイマ17、1
8は、MPU19、20によりその値(日時)が読み取
られるものであり、メモリ21、22は、MPU19、
20によりアクセスされるものである。
Incidentally, the above-mentioned interval timer is generally built in an electronic computer or the like for measuring time.
Ensure the normality of the battery-backed watch. Clocks 15 and 16 and interval timers 17 and 1
Reference numeral 8 denotes a value (date and time) which is read by the MPUs 19 and 20.
20.

【0040】CPU12は、0系システムバス及び1系
システムバスを介して、MPU19、20から、時計1
5、16の時刻データ(日時データ)を読み出す(依頼
コマンドを送り、それに対する応答を受け取る)もので
ある。なお、この例では時計制御部10、11を0系シ
ステムバスと1系システムバスに接続することで、時計
制御部を二重化している。
The CPU 12 sends the clock 1 from the MPUs 19 and 20 via the system 0 system bus and the system 1 system bus.
5 and 16 are read out (a request command is sent and a response to the request command is received). In this example, the clock control units 10 and 11 are connected to the system 0 system bus and the system 1 system bus, so that the clock control units are duplicated.

【0041】前記装置の電源系統は、図2のように構成
されている。すなわち、前記図1に示した装置には、2
つの独立した電源部24、25を備え、これらの電源部
から前記各部へ電源を供給している。この場合、電源部
24にはAC−DCコンバータ26と、前記時計制御部
10により、オン/オフ制御される電源スイッチ28を
備えている。また、電源部25にはAC−DCコンバー
タ27と、前記時計制御部11により、オン/オフ制御
される電源スイッチ29を備えている。
The power supply system of the device is configured as shown in FIG. That is, the device shown in FIG.
There are two independent power supply units 24 and 25, and power is supplied from these power supply units to the respective units. In this case, the power supply unit 24 includes an AC-DC converter 26 and a power switch 28 that is turned on / off by the clock control unit 10. The power supply unit 25 includes an AC-DC converter 27 and a power switch 29 that is turned on / off by the clock control unit 11.

【0042】そして、前記電源部24のAC−DCコン
バータ26と、電源部25のAC−DCコンバータ27
を交流電源に接続し、AC−DCコンバータ26、27
の出力側にDC電圧を発生させる。また、AC−DCコ
ンバータ26の出力を直接、時計制御部10へ接続(常
時電源の供給)し、AC−DCコンバータ26の出力を
電源スイッチ28を介してCPU12へ接続(メイン電
源の供給)する。更に、AC−DCコンバータ27の出
力を直接、時計制御部11へ接続(常時電源の供給)
し、AC−DCコンバータ27の出力を電源スイッチ2
9を介してCPU12へ接続(メイン電源の供給)す
る。
The AC-DC converter 26 of the power supply unit 24 and the AC-DC converter 27 of the power supply unit 25
Are connected to an AC power supply, and AC-DC converters 26 and 27 are connected.
A DC voltage is generated on the output side of. Further, the output of the AC-DC converter 26 is directly connected to the clock control unit 10 (always supplying power), and the output of the AC-DC converter 26 is connected to the CPU 12 via the power switch 28 (supply of main power). . Further, the output of the AC-DC converter 27 is directly connected to the clock control unit 11 (always supply of power).
And the output of the AC-DC converter 27 is connected to the power switch 2
9 to the CPU 12 (supply of main power).

【0043】このようにして、インターバルタイマ1
7、18は常時電源(DC電源が常時供給されるもの)
で動作する。また、時計15、16は、通常の場合常時
電源(DC電源が常時供給されるもの)で動作するが、
何らかの原因で常時電源が供給されなくなった場合は、
バックアップ用の電池13、14により動作する。
As described above, the interval timer 1
7 and 18 are always power supplies (DC power is always supplied)
Works with In addition, the clocks 15 and 16 usually operate with a constant power supply (a DC power supply is always supplied).
If for any reason you lose power,
Operated by backup batteries 13 and 14.

【0044】前記のように、二重化された時計制御部を
備えているので、時計制御部10により電源スイッチ2
8のみオンにすれば、電源スイッチ28を介してCPU
12にメイン電源が供給され、CPU12が動作する。
また、時計制御部11により電源スイッチ29のみオン
にすれば、電源スイッチ29を介してCPU12にメイ
ン電源が供給され、CPU12が動作する。
As described above, since the dual timepiece control unit is provided, the timepiece control unit 10
If only 8 is turned on, the CPU
Main power is supplied to the CPU 12 and the CPU 12 operates.
When only the power switch 29 is turned on by the clock control unit 11, main power is supplied to the CPU 12 via the power switch 29, and the CPU 12 operates.

【0045】そして、前記CPU12上では、オペレー
ションシステム(OS)やアプリケーションプログラム
が動作する。また、CPU12が時計制御部へ時計読み
出し依頼を行った際、MPU19、20は、時計の異常
を検出した場合、その応答として、ハード異常応答を行
う。
An operation system (OS) and application programs operate on the CPU 12. When the CPU 12 sends a clock reading request to the clock control unit, and the MPU 19 or 20 detects a clock abnormality, the MPU 19 or 20 sends a hardware abnormality response as a response to the abnormality.

【0046】§2:各例の概要説明 (1) :例1の説明 例1では、MPU19、20が一定時間毎及びCPU1
2からの時計読み出し依頼時(コマンド受信時)にそれ
ぞれ、インターバルタイマ17、18の値と時計15、
16の値を読み出し、メモリ21、22に記録すると共
に、前回記録した値と今回記録した値によりインターバ
ルタイマ17、18の進んだ時間と、時計15、16が
進んだ時間を算出し、2つの値を比較し、進んだ時間の
差が予め設定した値以上となった場合に、時計を異常と
判定する。
§2: Outline description of each example (1): Description of example 1 In example 1, the MPUs 19 and 20 are controlled by the CPU 1 at regular intervals.
2 at the time of a clock reading request (when a command is received), the values of the interval timers 17 and 18 and the clock 15 and
16 is read out and recorded in the memories 21 and 22, and the time advanced by the interval timers 17 and 18 and the time advanced by the clocks 15 and 16 are calculated from the previously recorded value and the value recorded this time. The clocks are compared, and if the difference between the advanced times is equal to or greater than a preset value, the clock is determined to be abnormal.

【0047】ところで、電子計算機では、通常、電源が
オフされても時間を計数するため、時計専用の素子が使
用されている。また、近年の電子計算機では、低機能の
ものでも、オペレーティングシステム等を動作させるた
めのインターバルタイマを持つものが普通である。そこ
で、電子計算機が一般に持つインターバルタイマを使用
することにより、時計をチェックし、時計の正常性を確
保するものである。
By the way, in an electronic computer, an element dedicated to a clock is usually used to count time even when the power is turned off. Also, recent computers generally have an interval timer for operating an operating system or the like, even if the computer has a low function. Therefore, a clock is checked by using an interval timer generally provided in a computer, and the normality of the clock is ensured.

【0048】例1では、時計素子の故障(データ化けや
時計の極端な進み/遅れ等)の検出が安価な装置で可能
となり、意図しないタイミングにイベントが発生するこ
と、必要なタイミングにイベントが発生しない等の問
題、及び日時により管理されるデータの管理に誤りが発
生することがなくなる。
In the first example, it is possible to detect the failure of the clock element (corruption of data, extreme advance / delay of the clock, etc.) with an inexpensive device. Problems such as not occurring and errors in the management of data managed by date and time do not occur.

【0049】(2) :例2の説明 例2では、前記例1において、一定時間毎に行うインタ
ーバルタイマ17、18の値と、時計15、16の値の
読み出し時に記録するメモリ21、22上の記録領域を
複数持ち、短間隔の比較と、長間隔の比較を実施するこ
とで、時計の異常検出精度を向上させる。
(2): Description of Example 2 In Example 2, the values of the interval timers 17 and 18 and the values of the clocks 15 and 16 which are stored at the time of reading out the values of the clocks 15 and 16 in the example 1 are used. By having a plurality of recording areas and comparing the short interval and the long interval, the abnormality detection accuracy of the timepiece is improved.

【0050】時計素子は一般的に秒単位に計数を行う。
そのため、前回と今回の読み出しにより経過時間を比較
する場合、時計読み出しのタイミング(桁上げする直前
と桁上げした直後)により、2秒の誤差(比較した場合
の差)は許容しなければならない。しかし、時計素子自
体の精度は、月差数秒〜数十秒であるため、前記の2秒
の誤差は異常検出精度としては大きな値である。
A clock element generally performs counting in seconds.
Therefore, when comparing the elapsed time between the previous and current readings, an error of 2 seconds (difference in comparison) must be allowed depending on the timing of clock reading (just before carrying and immediately after carrying). However, since the accuracy of the timepiece element itself is several seconds to several tens of seconds per month, the error of 2 seconds is a large value as the abnormality detection accuracy.

【0051】そのため、チェック回数確保のための短間
隔の比較と、精度を確保するための長間隔のチェックの
両方を使うことにより、時計の異常検出の精度を向上さ
せるものである。
For this reason, the accuracy of the abnormality detection of the timepiece is improved by using both the comparison of the short intervals for securing the number of checks and the long interval checks for securing the accuracy.

【0052】(3) :例3の説明 例3では、時計制御部を2つ持ち、二重化して動作させ
る。このように、チェック機能を持つ時計を2つ持つこ
とにより、従来例で説明したペアアンドスペア方法と同
等の機能を安価に実現できる。
(3): Description of Example 3 In Example 3, two clock control units are provided and operated in duplicate. As described above, by providing two watches having the check function, the same function as the pair-and-spare method described in the conventional example can be realized at low cost.

【0053】(4) :例4の説明 例4は、前記例3において、以下の方法で制御を行う例
である。先ず、メイン電源投入によりシステム(CPU
12)は立ち上がる。その際、双方の時計を読み出し、
CPU12は次のように制御を行う。
(4): Description of Example 4 Example 4 is an example in which control is performed by the following method in Example 3. First, the system (CPU
12) gets up. At that time, read both clocks,
The CPU 12 performs control as follows.

【0054】:一方の時計が異常となった場合は、正
常な方の時計でシステム立ち上げを実施する。 :双方の時計が異常となった場合は、オペレータの日
時入力待ち(正しい日時の入力待ち)となり、システム
立ち上げを行わない。
If one of the clocks becomes abnormal, the system is started with the normal clock. : If both clocks become abnormal, the system waits for the operator to enter the date and time (waits for the correct date and time), and does not start up the system.

【0055】:双方の時計が正常な場合、2つの時計
の差が、予め設定した値(一定時間)以内であれば、予
め決められた方の時計(一律にどちらかの時計)でシス
テム立ち上げを行う。また、他方の時計は、その日時に
補正する(日時を合わせる)。
When both clocks are normal, if the difference between the two clocks is within a preset value (constant time), the system starts with the predetermined clock (either clock). Raise. The other clock corrects the date and time (sets the date and time).

【0056】また、2つの時計の差が、予め設定した値
(一定時間)以上であれば、オペレータからの日時入力
待ちとなりシステム立ち上げを行わない。なお、前記
「異常」とは、前記インターバルタイマの進んだ時間と
時計の進んだ時間とを比較し、両者の差が一定値以上で
あった時の異常を言う。
If the difference between the two clocks is equal to or greater than a preset value (a fixed time), the system waits for the date and time input from the operator and does not start up the system. The "abnormality" refers to an abnormality when the time elapsed by the interval timer and the time elapsed by the clock are compared, and the difference between the two is greater than or equal to a certain value.

【0057】(5) :例5の説明 例5は、前記例3において、以下の方法で制御を行う例
である。先ずメイン電源投入によりシステム(CPU1
2)は立ち上がる。その際、双方の時計を読み出し、C
PU12は次のように制御を行う。
(5): Description of Example 5 Example 5 is an example in which control is performed by the following method in Example 3 described above. First, the system (CPU 1
2) stand up. At that time, both clocks are read out and C
The PU 12 performs control as follows.

【0058】:一方の時計が異常となった場合、正常
な方の時計でシステム立ち上げを実施する。 :双方の時計が異常となった場合、前回の電源オフ時
刻で立ち上げる。なお、システム(CPU12)が立ち
上がった場合、遠隔監視装置等へワーニング通知を行
う。
When one of the clocks becomes abnormal, the system is started with the normal clock. : When both clocks become abnormal, start up at the last power-off time. When the system (CPU 12) starts up, a warning notification is issued to a remote monitoring device or the like.

【0059】:双方の時計が正常であった場合、2つ
の時計の差が、予め設定した値(一定時間)以内であれ
ば、予め決められた方の時計(一律にどちらかの時計)
で立ち上げる。この時、他方の時計は、その時刻に補正
する。
When both clocks are normal, if the difference between the two clocks is within a preset value (constant time), a predetermined clock (uniformly one of the clocks)
Start with At this time, the other clock corrects to that time.

【0060】また、2つの時計の差が一定時間以上であ
れば、前回の電源オフ時刻で立ち上げる。なお、システ
ム(CPU12)が立ち上がった場合、遠隔監視装置等
へワーニング通知を行う。
If the difference between the two clocks is equal to or longer than a predetermined time, the clock is started at the previous power-off time. When the system (CPU 12) starts up, a warning notification is issued to a remote monitoring device or the like.

【0061】なお、前記「異常」とは、前記インターバ
ルタイマの進んだ時間と時計の進んだ時間とを比較し、
両者の差が一定値以上であった時の異常を言う。 (6) :例6の説明 例6は、前記例3において、以下の方法で制御を行う例
である。先ず、メイン電源投入によりシステム(CPU
12)は立ち上がる。その際、双方の時計を読み出し、
CPU12は次のように制御を行う。
The "abnormality" is determined by comparing the time advanced by the interval timer with the time advanced by the clock.
Abnormality when the difference between them is more than a certain value. (6): Description of Example 6 Example 6 is an example in which control is performed by the following method in Example 3 described above. First, the system (CPU
12) gets up. At that time, read both clocks,
The CPU 12 performs control as follows.

【0062】:一方の時計が異常となった場合、正常
な方の時計でシステム(CPU12)立ち上げを実施す
る。 :双方の時計が異常となった場合、前回の電源オフ時
刻で立ち上げる。なお、システムが立ち上がった場合、
遠隔監視装置等へワーニング通知を行う。
When one of the clocks becomes abnormal, the system (CPU 12) is started up with the normal clock. : When both clocks become abnormal, start up at the last power-off time. When the system starts up,
A warning is notified to a remote monitoring device or the like.

【0063】:双方の時計が正常である場合、2つの
時計の平均値を算出してシステム立ち上げを行う。な
お、この場合は、双方の時計を平均値で補正する。な
お、前記「異常」とは、前記インターバルタイマの進ん
だ時間と時計の進んだ時間とを比較し、両者の差が一定
値以上であった時の異常を言う。
When both clocks are normal, the average of the two clocks is calculated and the system is started. In this case, both clocks are corrected by the average value. The "abnormality" refers to an abnormality when the time elapsed by the interval timer and the time elapsed by the clock are compared, and the difference between the two is greater than or equal to a certain value.

【0064】§3:時計制御部の詳細な動作の説明・・
・図3参照 図3は時計制御部の処理説明図であり、A図は時計チェ
ック時の説明図、B図はメモリ上のテーブル例である。
以下、図3に基づいて時計制御部の詳細な動作を説明す
る。なお、以下の制御はMPU19、20が行う制御で
ある。
§3: Detailed explanation of the operation of the clock control unit
FIG. 3 is an explanatory diagram of the processing of the clock control unit. FIG. 3A is an explanatory diagram at the time of checking the clock, and FIG. 3B is an example of a table on the memory.
Hereinafter, the detailed operation of the clock control unit will be described with reference to FIG. The following control is performed by the MPUs 19 and 20.

【0065】時計素子は一般的に秒単位に計数を行う。
そのため、前回と今回の読み出しにより経過時間を比較
する場合、時計読み出しのタイミング(桁上げする直前
と桁上げした直後)により、2秒の誤差(比較した場合
の差)は許容しなければならない。しかし、時計素子自
体の精度は、月差数秒〜数十秒であるため、前記の2秒
の誤差は異常検出精度としては大きな値である。
A clock element generally performs counting in seconds.
Therefore, when comparing the elapsed time between the previous and current readings, an error of 2 seconds (difference in comparison) must be allowed depending on the timing of clock reading (just before carrying and immediately after carrying). However, since the accuracy of the timepiece element itself is several seconds to several tens of seconds per month, the error of 2 seconds is a large value as the abnormality detection accuracy.

【0066】そのため、図3のA図に示したように、チ
ェック回数確保のための短間隔(例えば、10分間隔)
でのチェック(誤差N秒)と、精度を確保するための長
間隔(短間隔M回分:M=12))でのチェック(誤差
L秒)の両方を行うことにより、時計の異常検出の精度
を向上させるものである(但し、N×M>L)。この場
合、誤差N秒の積み重ねより小さいL秒で比較すること
により、マクロ的に時計のずれを検出できる。
Therefore, as shown in FIG. 3A, a short interval (for example, a 10-minute interval) for securing the number of checks is required.
(Error N seconds) and a check (error L seconds) at a long interval (M times at short intervals: M = 12) to ensure accuracy, the accuracy of timepiece abnormality detection (However, N × M> L). In this case, a clock shift can be detected macroscopically by comparing L seconds smaller than the stack of the error N seconds.

【0067】前記のように、時計制御部10、11は常
時電源で動作するが、常時電源(AC100Vを直流に
変換した電源)投入時に、MPU19、20が、それぞ
れの時計制御部内の時計15、16とインターバルタイ
マ17、18の値を読み出し、メモリ21、22に記録
する。なお、常時電源は常に通電状態とする。それ以降
は、MPU19、20が、インターバルタイマ17、1
8により予め設定した時間(この例では、10分)を計
測する。
As described above, the clock control units 10 and 11 always operate with the power supply. When the constant power supply (power obtained by converting AC100V to DC) is turned on, the MPUs 19 and 20 operate the clocks 15 and 20 in the respective clock control units. 16 and the values of the interval timers 17 and 18 are read out and recorded in the memories 21 and 22. Note that the power supply is always energized. After that, the MPUs 19 and 20 operate the interval timers 17 and 1
A predetermined time (10 minutes in this example) is measured by 8.

【0068】そして、10分毎に、時計15、16と、
インターバルタイマ17、18の値を読み出し、メモリ
21、22に記録する。この場合のメモリ21、22上
のテーブル例を図3のB図に示す。この例では、メモリ
21、22上の記憶領域にある前記テーブルには、12
個分のデータ空間を持ち、サイクリックに順次記憶して
いく。すなわち、各項1〜12の間は、それぞれ10分
毎の記憶領域であり、各領域毎に、時計の値(日時デー
タ)とインターバルタイマの値が記録できるようになっ
ている。そして、MPU19、20は、以下の比較を行
う。
Then, every ten minutes, clocks 15, 16
The values of the interval timers 17 and 18 are read out and recorded in the memories 21 and 22. FIG. 3B shows an example of a table on the memories 21 and 22 in this case. In this example, the table in the storage area on the memories 21 and 22 includes 12
It has a data space for each and stores it cyclically sequentially. That is, each of the items 1 to 12 is a storage area for every 10 minutes, and a clock value (date and time data) and an interval timer value can be recorded for each area. Then, the MPUs 19 and 20 perform the following comparison.

【0069】:前回(短間隔:例えば、10分前)の
記録データと今回の記録データにより、前回から今回ま
での時計の進んだ時間(経過時間)と、インターバルタ
イマの進んだ時間(経過時間)を求め、お互いを比較
し、3秒以上の差であれば時計を異常とする。
The time (elapsed time) that the clock has advanced from the previous time to the current time (elapsed time) and the time that the interval timer has advanced (elapsed time), ) Is calculated and compared with each other. If the difference is 3 seconds or more, the clock is regarded as abnormal.

【0070】:12回前(長間隔:2時間前)の記録
データと今回の記録データにより、12回前から今回ま
での時計の経過時間と、インターバルタイマの経過時間
を求め、お互いに比較し、4秒以上の差があれば時計を
異常とする。
The elapsed time of the clock from the previous 12 times to the current time and the elapsed time of the interval timer are obtained from the recorded data 12 times before (long interval: 2 hours before) and the current recorded data, and compared with each other. If the difference is more than 4 seconds, the watch is considered abnormal.

【0071】以上の、の処理を10分毎に繰り返
す。なお、前回と今回の比較と、12回前と今回の比較
共、異常と判定する時間は同じである。また、一定時間
毎の比較のみでなく、CPU12からの時計読み出し依
頼を受けた場合は、前記、と同じように比較処理を
行う。そして、前記比較により異常と判定した場合は、
CPU12からの時計読み出し依頼に対して、ハード異
常を応答する。
The above processing is repeated every 10 minutes. It should be noted that the comparison time between the previous time and the current time, and the comparison between the previous time and the current time 12 times, are the same in the time period for determining that they are abnormal. Further, when a clock reading request is received from the CPU 12 in addition to the comparison at regular time intervals, the comparison process is performed in the same manner as described above. And, when it is determined that the comparison is abnormal,
In response to the clock reading request from the CPU 12, a hardware abnormality is responded.

【0072】図3のB図の例では、1項〜12項はサイ
クリックに使用する。すなわち、10分毎に、1項から
12項まで順番に時計データを記録し、12項が終了し
たら、1項に上書きし、続いて、2項、3項・・・と順
番に上書きしていく。このようにしてサイクリックにメ
モリ上のテーブルを使用する。
In the example shown in FIG. 3B, items 1 to 12 are used cyclically. That is, every 10 minutes, clock data is recorded in order from item 1 to item 12, and when item 12 is completed, item 1 is overwritten, and then item 2, item 3, and so on are overwritten in order. Go. In this way, the table on the memory is used cyclically.

【0073】このようにして、例えば、最新データを9
項に記録すると、9項と8項で時計の値(計数値)の差
と、インターバルタイマの値の差を取り出し、両者を比
較する(10分毎の短間隔の比較)。また、この時、9
項と10項の間で同様の比較を行う(2時間毎の長間隔
の比較)。
In this way, for example, the latest data
When recorded in the item, the difference between the value of the clock (count value) and the difference between the values of the interval timer are extracted from the items 9 and 8, and the two are compared (short interval comparison every 10 minutes). At this time, 9
A similar comparison is made between terms and 10 (long interval comparison every 2 hours).

【0074】§4:フローチャートによる時計制御部の
動作説明・・・図4参照 図4は時計制御部の処理フローチャートである。以下、
図4に基づいて時計制御部の処理を説明する。なお、以
下の処理は時計制御部10のMPU19が行う処理であ
るが、時計制御部11のMPU20も同様の処理を行
う。また、S1〜S9は各処理ステップを示す。
§4: Description of Operation of Clock Control Unit by Flowchart--See FIG. 4 FIG. 4 is a processing flowchart of the clock control unit. Less than,
The processing of the clock control unit will be described based on FIG. Although the following processing is performed by the MPU 19 of the clock control unit 10, the MPU 20 of the clock control unit 11 performs the same processing. S1 to S9 indicate each processing step.

【0075】MPU19は、最初に、時計15とインタ
ーバルタイマ17の値(日時)を読み出し、メモリ21
に記録する(S1)。このようにして、前記メモリ21
上のテーブルの1項に最初の時計データを記録する。そ
の後、インターバルタイマ17の値を読み出すことで、
10分が経過したか否かを判定する(S2)。そして、
インターバルタイマ17の値により10分が経過する
と、再び時計15とインターバルタイマ17の値を読み
出し、メモリ21に記録する(S3)。
The MPU 19 first reads the values (date and time) of the clock 15 and the interval timer 17 and
(S1). Thus, the memory 21
Record the first clock data in one item of the above table. After that, by reading the value of the interval timer 17,
It is determined whether ten minutes have elapsed (S2). And
When 10 minutes have elapsed according to the value of the interval timer 17, the value of the clock 15 and the value of the interval timer 17 are read out again and recorded in the memory 21 (S3).

【0076】次に、MPU19はメモリ21にアクセス
することで、前回から今回までの時計15及びインター
バルタイマ17の進んだ時間(経過時間)を求め、両者
の進んだ時間(経過時間)を比較する(S4)。なお、
この時行う比較は、前記短間隔の比較であり、この例で
は10分間隔で行う。
Next, the MPU 19 accesses the memory 21 to obtain the time (elapsed time) advanced by the clock 15 and the interval timer 17 from the previous time to the current time, and compares the advanced time (elapsed time) of both. (S4). In addition,
The comparison performed at this time is a comparison of the short intervals, and in this example, the comparison is performed at intervals of 10 minutes.

【0077】そして、前記比較結果が正常か否かを判定
し(S5)、正常でなければ(異常の場合)、CPU1
2からの時計読み出し依頼に応答してハード異常を通知
する(S9)が、正常であれば、12回前の値がメモリ
21上にあるか否かを判定する(S6)。
Then, it is determined whether or not the comparison result is normal (S5). If not (if abnormal), the CPU 1
The hardware abnormality is notified in response to the clock reading request from the device 2 (S9). If it is normal, it is determined whether or not the value 12 times before is present in the memory 21 (S6).

【0078】その結果、12回前の値がなければ、前記
S2の処理から繰り返して行う。また、12回前の値が
あれば、12回前から今回までの時計15及びインター
バルタイマ17の進んだ時間(経過時間)を求め、両者
の進んだ時間(経過時間)を比較する(S7)。なお、
この時行う比較は、前記長間隔の比較であり、この例で
は、12時間の間隔で行う。
As a result, if there is no value 12 times before, the processing is repeated from the processing of S2. If there is a value 12 times earlier, the time (elapsed time) advanced by the clock 15 and the interval timer 17 from the previous 12 times to the current time is obtained, and the advanced time (elapsed time) of both is compared (S7). . In addition,
The comparison performed at this time is a comparison of the long intervals, and in this example, the comparison is performed at intervals of 12 hours.

【0079】前記のようにして比較を行い、その結果、
正常でないと判定した場合(S8)は前記S9の処理を
行う。また、正常と判定した場合は、正常S2の処理か
ら繰り返して行う。なお、前記の比較処理は、CPU1
2からの時計読み出し依頼を受けた場合にも、前記と同
様にして行う。
The comparison was performed as described above, and as a result,
If it is determined that it is not normal (S8), the process of S9 is performed. If it is determined that the process is normal, the process is repeated from the process of normal S2. The comparison process is performed by the CPU 1
When a watch reading request is received from the second device, the same operation is performed as described above.

【0080】§5:例4の処理説明・・・図5参照 図5は例4の処理フローチャートである。以下、図5に
基づいて、例4の処理を説明する。なお、以下の例4の
処理はCPU12が行う処理であり、S11〜S22は
各処理ステップを示す。先ず、CPU12はメイン電源
が投入されると(S11)、初期診断を行う(S1
2)。その後、CPU12は、0系、及び1系の双方の
時計制御部10、11に対し、コマンド(時計読み出し
依頼のコマンド)を発行し、時計の読み出しを行う(S
13)。そして、双方の時計が異常か否かを判定する
(S14)。その結果、双方の時計が異常であれば、オ
ペレータの時計入力(正しい日時の入力)待ちの状態と
なる(S18)。この場合には、オペレータが正常な時
計の値を入力したら、CPU12はオペレータが入力し
た値で動作し、運用開始となる(S22)。
§5: Description of processing of Example 4—see FIG. 5 FIG. 5 is a processing flowchart of Example 4. Hereinafter, the process of Example 4 will be described with reference to FIG. Note that the processing of Example 4 below is processing performed by the CPU 12, and S11 to S22 indicate respective processing steps. First, when the main power is turned on (S11), the CPU 12 performs an initial diagnosis (S1).
2). Thereafter, the CPU 12 issues a command (command for requesting a clock readout) to the clock control units 10 and 11 of both the system 0 and the system 1 and reads the clock (S).
13). Then, it is determined whether both clocks are abnormal (S14). As a result, if both clocks are abnormal, the operation waits for clock input (input of correct date and time) by the operator (S18). In this case, when the operator inputs a normal clock value, the CPU 12 operates with the value input by the operator and starts operation (S22).

【0081】しかし、前記S14の処理で双方の時計が
異常でなければ、CPU12は、一方の時計が異常か否
かを判定し(S15)、いずれか一方の時計制御部から
異常が応答されると、正常系の時計(正常応答のあった
方の時計)を使用して動作を行う(S20)。そして、
外部装置(例えば、遠隔監視装置)に対してワーニング
通知を行い(S21)、運用開始となる(S22)。
However, if both clocks are not abnormal in the process of S14, the CPU 12 determines whether or not one of the clocks is abnormal (S15), and the abnormality is returned from one of the clock control units. Then, the operation is performed using the normal system clock (the clock having the normal response) (S20). And
A warning is notified to an external device (for example, a remote monitoring device) (S21), and operation starts (S22).

【0082】また、双方の時計制御部から時計が正常で
ある旨の応答があった場合、2つの時計の誤差が予め設
定した値(例えば、100秒)以内か否かを判定する
(S16)。その結果、誤差が100秒以内でなければ
(正確な日時が分からない状態)、前記S18の処理を
行うが、2つの時計の誤差が100秒以内であれば、双
方の時計が正常と判定し、1系の時計で動作する。そし
て、0系は1系の値で補正(時計を合わせる)する(S
17)。その後、運用開始となる(S22)。
If both clock control units respond that the clocks are normal, it is determined whether the error between the two clocks is within a preset value (for example, 100 seconds) (S16). . As a result, if the error is not within 100 seconds (a state in which the exact date and time are not known), the process of S18 is performed. If the error between the two clocks is within 100 seconds, it is determined that both clocks are normal. Operates on a 1-system clock. Then, the system 0 is corrected (set the clock) by the value of the system 1 (S
17). Thereafter, the operation starts (S22).

【0083】§6:例5の処理説明・・・図6参照 図6は例5の処理フローチャートである。以下、図6に
基づいて、例5の処理を説明する。なお、以下の例5の
処理はCPU12が行う処理であり、S31〜S42は
各処理ステップを示す。
§6: Description of processing of Example 5—see FIG. 6 FIG. 6 is a processing flowchart of Example 5. Hereinafter, the process of Example 5 will be described with reference to FIG. Note that the processing of Example 5 below is processing performed by the CPU 12, and S31 to S42 indicate each processing step.

【0084】先ず、CPU12はメイン電源が投入され
ると(S31)、初期診断を行う(S32)。その後、
CPU12は、0系、及び1系の双方の時計制御部1
0、11に対し、コマンド(時計読み出し依頼のコマン
ド)を発行し、時計の読み出しを行う(S33)。そし
て、双方の時計が異常か否かを判定する(S34)。そ
の結果、双方の時計が異常であれば、前回の電源オフ時
刻で装置を立ち上げ(S38)、外部装置(例えば、遠
隔監視装置)に対してワーニング通知を行って(S3
9)、運用開始となる(S42)。
First, when the main power is turned on (S31), the CPU 12 performs an initial diagnosis (S32). afterwards,
The CPU 12 controls the clock control unit 1 of both the 0 system and the 1 system.
A command (command for a clock reading request) is issued to 0 and 11 to read the clock (S33). Then, it is determined whether both clocks are abnormal (S34). As a result, if both clocks are abnormal, the device is started up at the last power-off time (S38), and a warning is notified to an external device (for example, a remote monitoring device) (S3).
9), operation starts (S42).

【0085】しかし、前記S34の処理で双方の時計が
異常でなければ、CPU12は、一方の時計が異常か否
かを判定し(S35)、いずれか一方の時計制御部から
異常が応答されると、正常系の時計(正常応答のあった
方の時計)を使用して動作を行う(S40)。そして、
外部装置(例えば、遠隔監視装置)に対してワーニング
通知を行い(S41)、運用開始となる(S42)。
However, if both clocks are not abnormal in the process of S34, the CPU 12 determines whether or not one of the clocks is abnormal (S35), and the abnormality is responded from one of the clock control units. Then, the operation is performed using the normal system clock (the clock having the normal response) (S40). And
A warning is notified to an external device (for example, a remote monitoring device) (S41), and operation starts (S42).

【0086】また、双方の時計制御部から時計が正常で
ある旨の応答があった場合、2つの時計の誤差が予め設
定した値(例えば、100秒)以内か否かを判定する
(S36)。その結果、誤差が100秒以内でなければ
(正確な日時が分からない状態)、前記S38の処理を
行うが、2つの時計の誤差が100秒以内であれば、双
方の時計が正常と判定し、1系の時計で動作する。そし
て、0系は1系の値で補正(時計を合わせる)する(S
37)。その後、運用開始となる(S42)。
If both clock control units respond that the clocks are normal, it is determined whether the error between the two clocks is within a preset value (for example, 100 seconds) (S36). . As a result, if the error is not within 100 seconds (a state in which the exact date and time are not known), the process of S38 is performed. If the error between the two clocks is within 100 seconds, it is determined that both clocks are normal. Operates on a 1-system clock. Then, the system 0 is corrected (set the clock) by the value of the system 1 (S
37). Thereafter, the operation starts (S42).

【0087】§7:例6の処理説明・・・図7参照 図7は例6の処理フローチャートである。以下、図7に
基づいて、例6の処理を説明する。なお、以下の例6の
処理はCPU12が行う処理であり、S51〜S60は
各処理ステップを示す。
§7: Description of processing of Example 6—see FIG. 7 FIG. 7 is a processing flowchart of Example 6. Hereinafter, the process of Example 6 will be described with reference to FIG. Note that the processing of Example 6 below is processing performed by the CPU 12, and S51 to S60 indicate each processing step.

【0088】先ず、CPU12はメイン電源が投入され
ると(S51)、初期診断を行う(S52)。その後、
CPU12は、0系、及び1系の双方の時計制御部1
0、11に対し、コマンド(時計読み出し依頼のコマン
ド)を発行し、時計の読み出しを行う(S53)。そし
て、双方の時計が異常か否かを判定する(S54)。そ
の結果、双方の時計が異常であれば、前回の電源オフ時
刻で装置を立ち上げ(S58)、外部装置(例えば、遠
隔監視装置)に対してワーニング通知を行って(S5
9)、運用開始となる(S60)。
First, when the main power is turned on (S51), the CPU 12 performs an initial diagnosis (S52). afterwards,
The CPU 12 controls the clock control unit 1 of both the 0 system and the 1 system.
A command (command for requesting clock reading) is issued to 0 and 11 to read the clock (S53). Then, it is determined whether both clocks are abnormal (S54). As a result, if both clocks are abnormal, the device is started up at the previous power-off time (S58), and a warning notification is sent to an external device (for example, a remote monitoring device) (S5).
9) The operation starts (S60).

【0089】しかし、前記S54の処理で双方の時計が
異常でなければ、CPU12は、一方の時計が異常か否
かを判定し(S55)、いずれか一方の時計制御部から
異常が応答されると、正常系の時計(正常応答のあった
方の時計)を使用してシステム(CPU12)を立ち上
げ(S57)、運用開始となる(S60)。しかし、前
記S55の処理で双方の時計制御部から時計が正常であ
る旨の応答があった場合、2つの時計の平均値でシステ
ムを立ち上げ(S56)、運用開始となる(S60)。
However, if both clocks are not abnormal in the processing of S54, the CPU 12 determines whether or not one of the clocks is abnormal (S55), and the abnormality is returned from one of the clock control units. Then, the system (CPU 12) is started using the normal system clock (the clock with the normal response) (S57), and the operation is started (S60). However, if there is a response indicating that the clocks are normal from both clock control units in the process of S55, the system is started with the average value of the two clocks (S56), and operation starts (S60).

【0090】§8:記録媒体とプログラムの説明 図8は情報処理装置の構成例を示した図である。前記通
信用サーバを含む情報処理装置(本発明を適用した装
置)は、例えば、図8に示したように構成されている。
この例では、装置本体に、時計制御部10、11と、C
PU12と、メモリ21と、外部との通信制御を行うた
めの通信制御部32と、入出力機器の制御を行う入出力
制御部31等が設けてある。
§8: Description of Recording Medium and Program FIG. 8 is a diagram showing a configuration example of an information processing apparatus. The information processing apparatus (the apparatus to which the present invention is applied) including the communication server is configured, for example, as shown in FIG.
In this example, clock control units 10 and 11 and C
A PU 12, a memory 21, a communication control unit 32 for controlling communication with the outside, an input / output control unit 31 for controlling input / output devices, and the like are provided.

【0091】そして、前記装置本体には、CD−ROM
ドライブ33と、フレキシブルディスクドライブ(FD
D)34と、ハードディスク装置(HDD)35等が接
続してあり、これらの入出力機器を入出力制御部31が
制御するようにしてある。
The main body of the apparatus has a CD-ROM
Drive 33 and a flexible disk drive (FD)
D) 34, a hard disk drive (HDD) 35 and the like are connected, and these input / output devices are controlled by the input / output control unit 31.

【0092】前記のように、時計制御部10、11は予
め決めた一定時間毎、及びCPU12からの時計読み出
し依頼時に、時計制御部10、11のインターバルタイ
マの値と時計の値を読み出してメモリ21に記録する。
また、前回記録した値と今回記録した値から、インター
バルタイマの進んだ時間と時計の進んだ時間を算出し、
両者の進んだ時間を比較する。更に、前記比較で、前記
進んだ時間の差が予め設定した値以上となった場合に、
時計を異常と判定する処理を行う。
As described above, the clock control units 10 and 11 read the values of the interval timers and the clock values of the clock control units 10 and 11 at predetermined time intervals and upon a request to read the clock from the CPU 12, and store them in the memory. Record at 21.
Also, from the value recorded last time and the value recorded this time, calculate the time that the interval timer has advanced and the time that the clock has advanced,
Compare the advanced times of both. Further, in the comparison, when the difference between the advanced times is equal to or greater than a preset value,
A process for determining that the clock is abnormal is performed.

【0093】これらの処理を含む、前記時計制御部1
0、11の処理、及び前記CPU12が行う処理は、時
計制御部10、11のMPU19、20やCPU12が
プログラムを実行することにより次のようにして実現す
る。すなわち、ハードディスク装置35の記録媒体(ハ
ードディスク)に、前記時計制御部10、11の処理、
及びCPU12の処理を実現するためのプログラムやそ
の他の各種データ等を格納しておく。
The clock control unit 1 includes these processes.
The processes of 0 and 11 and the process performed by the CPU 12 are realized as follows by the MPUs 19 and 20 of the clock control units 10 and 11 and the CPU 12 executing programs. That is, the processing of the clock control units 10 and 11 is stored in the recording medium (hard disk) of the hard disk device 35.
In addition, a program for realizing the processing of the CPU 12 and other various data are stored.

【0094】そして、前記処理を行う場合は、CPU1
2の制御によりハードディスク装置35の記録媒体に格
納されている前記プログラムやデータを読み出して装置
本体内のメモリ(時計制御部10、11内のメモリ2
1、22、及びCPU12内のメモリ)に取り込む。そ
の後、前記MPU19、20、及びCPU12が前記メ
モリに格納してあるプログラムの内、必要なプログラム
から順次読み出して実行することにより、前記処理を行
う。なお、前記ハードディスク装置35の記録媒体に格
納するプログラムは、次のようにして記録(記憶)す
る。
When performing the above processing, the CPU 1
2 reads out the programs and data stored in the recording medium of the hard disk device 35, and reads the programs and data from the memory (memory 2 in the clock control units 10 and 11) in the device main body.
1, 22 and a memory in the CPU 12). Thereafter, the MPUs 19, 20 and the CPU 12 sequentially read and execute necessary programs from among the programs stored in the memory, thereby performing the processing. The program stored in the recording medium of the hard disk device 35 is recorded (stored) as follows.

【0095】:フレキシブルディスク(フロッピィデ
ィスク)に格納されているプログラム(他の装置で作成
したプログラムデータ)を、フレキシブルディスクドラ
イブ34により読み取り、ハードディスク装置35の記
録媒体(ハードディスク)に格納する。
A program (program data created by another device) stored in a flexible disk (floppy disk) is read by a flexible disk drive 34 and stored in a recording medium (hard disk) of a hard disk device 35.

【0096】:光磁気ディスク、或いはCD−ROM
等の記憶媒体に格納されているデータを、前記CD−R
OMドライブ33や他の光ディスクドライブ(図示省
略)により読み取り、ハードディスク装置35の記録媒
体(ハードディスク)に格納する。
: Magneto-optical disk or CD-ROM
And the like stored on a storage medium such as the CD-R.
The data is read by the OM drive 33 or another optical disk drive (not shown) and stored in the recording medium (hard disk) of the hard disk device 35.

【0097】:LAN等の通信回線を介して他の装置
から伝送されたデータを前記通信制御部32で受信し、
そのデータをハードディスク装置35の記録媒体(ハー
ドディスク)に格納する。
The data transmitted from another device via a communication line such as a LAN is received by the communication control unit 32,
The data is stored in the recording medium (hard disk) of the hard disk device 35.

【0098】§9:その他の説明 (1) :前記の例では、通信用サーバに適用した例につい
て説明したが、本発明はこのような例に限らず、他の同
様な情報処理装置に全て適用可能である。
§9: Other explanations (1): In the above example, an example in which the present invention is applied to a communication server has been described. However, the present invention is not limited to such an example, and all other similar information processing apparatuses can be used. Applicable.

【0099】(2) :前記ワーニング通知は、遠隔監視装
置に対してだけでなく、他の同様な装置、例えば、他の
監視端末等に対して通知しても実施可能である。また、
オペレータにより常に操作する装置(無人の装置でない
場合)であれば、ディスプレイ装置にワーニング情報を
表示しても良い。
(2) The warning notification can be executed not only to the remote monitoring device but also to another similar device, for example, another monitoring terminal. Also,
If the device is always operated by the operator (when the device is not an unmanned device), warning information may be displayed on a display device.

【0100】[0100]

【発明の効果】以上説明したように、本発明によれば次
のような効果がある。 (1) :従来例では、時計を3個、或いは4個使用するこ
とで時計の正常性を確保することが行われていたので、
時計の数が多くなり高価な装置となっていた。しかも、
各時計を電池でバックアップする必要があるため、電池
容量の増大等、コスト的、物量規模的に負担が大きくな
っていた。
As described above, the present invention has the following effects. (1): In the conventional example, since the normality of the clock was ensured by using three or four clocks,
The number of clocks increased and the device became expensive. Moreover,
Since it is necessary to back up each timepiece with a battery, the burden has been increased in terms of cost and physical scale, such as an increase in battery capacity.

【0101】これに対して本発明では、従来のものより
少ない数の時計を使用して、時計の正常性を確保できる
から、その分、装置が安価になる。 (2) :安価な装置、及び安価に実現できる手法により、
時計の正常性が確保できるため、時計により起動するイ
ベントが意図しないタイミングに発生することや、必要
なタイミングに発生しない等の問題が無くなる。また、
日時により管理されるデータの順序性管理も誤りが発生
しなくなる。
On the other hand, in the present invention, the normality of the timepiece can be ensured by using a smaller number of timepieces than the conventional one, so that the apparatus is correspondingly inexpensive. (2): By using inexpensive equipment and inexpensive methods,
Since the normality of the clock can be ensured, there is no problem that an event activated by the clock occurs at an unintended timing or does not occur at a necessary timing. Also,
No error occurs in the order management of data managed by date and time.

【0102】(3) :安価な装置、及び安価に実現できる
手法により、コスト的、装置規模的に大きなインパクト
を受けずに、重要な時計素子の信頼性向上が可能にな
る。前記効果の他、各請求項に対応して次のような効果
がある。
(3): With an inexpensive device and a method that can be realized at low cost, it is possible to improve the reliability of important timepiece elements without having a large impact on cost and device scale. In addition to the above effects, the following effects are provided corresponding to each claim.

【0103】(4) :請求項1では、時計制御部の時計デ
ータ読出記録手段が、インターバルタイマの値と時計の
値を読み出して記憶手段に記録する。また、経過時間比
較手段は記憶手段上の前回記録した値と今回記録した値
からインターバルタイマの進んだ時間と時計の進んだ時
間を算出し、両者の進んだ時間を比較する。そして、異
常判定手段は、前記比較で前記進んだ時間の差が予め設
定した値以上となった場合に、時計を異常と判定する。
(4): In claim 1, the clock data reading and recording means of the clock control unit reads the value of the interval timer and the value of the clock and records them in the storage means. Further, the elapsed time comparing means calculates the time advanced by the interval timer and the time advanced by the clock from the previously recorded value and the value recorded this time in the storage means, and compares the advanced times. Then, the abnormality determining means determines that the clock is abnormal when the difference between the advanced times in the comparison becomes equal to or greater than a preset value.

【0104】ところで、電子計算機等の情報処理装置で
は、通常、電源がオフされても時間を計数するため、時
計専用の素子が内蔵されている。また、近年の情報処理
装置では、低機能のものでも、オペレーティングシステ
ム等を動作させるためのインターバルタイマを持つもの
が普通である。そこで、前記のように、情報処理装置が
一般に持つインターバルタイマを使用することにより、
時計をチェックし、時計の正常性を確保することができ
る。
By the way, an information processing device such as an electronic computer usually incorporates an element dedicated to a clock in order to count time even when the power is turned off. Further, in recent years, information processing apparatuses generally have an interval timer for operating an operating system or the like, even with a low function. Therefore, as described above, by using the interval timer that the information processing apparatus generally has,
The watch can be checked to ensure the normality of the watch.

【0105】従って、時計素子の故障(データ化けや時
計の極端な進み/遅れ等)の検出が安価な装置で可能と
なり、意図しないタイミングにイベントが発生するこ
と、必要なタイミングにイベントが発生しない等の問
題、及び日時により管理されるデータの管理に誤りが発
生することがなくなる。
Therefore, it is possible to detect a failure of the clock element (corruption of data, extreme advance / delay of the clock, etc.) with an inexpensive device, and an event occurs at an unintended timing and an event does not occur at a necessary timing. Such problems as described above and errors in managing data managed by date and time can be prevented.

【0106】(5) :請求項2では、時計制御部は複数の
記録領域を利用して、インターバルタイマから読み出し
た値と時計から読み出した値により、予め決めた短い間
隔での短間隔の比較と、それ以上長い間隔での長間隔の
比較を行う。このようにして、時計の異常検出精度を向
上させることができる。
(5) In the second aspect, the clock control unit uses a plurality of recording areas to compare a short interval at a predetermined short interval based on a value read from the interval timer and a value read from the clock. And long intervals at longer intervals are compared. In this way, the abnormality detection accuracy of the timepiece can be improved.

【0107】前記のように、短間隔(例えば、10分間
隔)の比較と、長間隔(例えば、2時間の間隔)の比較
を実施することで、時計の異常検出精度を向上させるこ
とができる。すなわち、時計素子は、一般的に秒単位に
計数を行う。そのため、前回と今回の読み出しにより経
過時間を比較する場合、時計読み出しのタイミング(桁
上げする直前と桁上げした直後)により、少なくとも2
秒の誤差(比較した場合の差)は許容しなければならな
い。
As described above, by comparing the short interval (for example, every 10 minutes) and the long interval (for example, every 2 hours), it is possible to improve the abnormality detection accuracy of the clock. . That is, the clock element generally performs counting in seconds. Therefore, when comparing the elapsed time between the previous reading and the present reading, at least two clocks are required depending on the clock reading timing (just before carrying and immediately after carrying).
Second errors (differences in comparison) must be tolerated.

【0108】しかし、時計素子自体の精度は、月差数秒
〜数十秒であるため、前記の2秒の誤差は異常検出精度
としては、大きな値である。そのため、チェック回数確
保のための短間隔の比較と精度を確保するための長間隔
のチェックの両方を使うことにより、時計の異常検出の
精度を向上させることが可能になる。
However, since the accuracy of the timepiece element itself is several seconds to several tens of seconds per month, the error of two seconds is a large value as the abnormality detection accuracy. Therefore, the accuracy of the abnormality detection of the timepiece can be improved by using both the comparison of the short interval for ensuring the number of checks and the long interval check for ensuring the accuracy.

【0109】(6) :請求項3では、時計制御部を2つ持
ち、二重化動作する。このように、チェック機能を持つ
時計を2つ持つことにより、従来例で説明したペアアン
ドスペア方法と同等の機能を安価に実現できる。
(6): According to the third aspect, two clock control units are provided to perform a duplex operation. As described above, by providing two watches having the check function, the same function as the pair-and-spare method described in the conventional example can be realized at low cost.

【0110】(7) :請求項4では、時計データ取得手段
が、時計制御部へ読み出し依頼を送ることで双方の時計
制御部から時計データを取得する。そして、装置立ち上
げ制御手段は時計データ取得手段が取得したデータによ
り、一方の時計が異常となった場合は、正常な方の時計
でシステムを立ち上げ、双方の時計が異常となった場合
は、オペレータの日時入力待ちとしてシステムを立ち上
げず、双方の時計が正常となった場合は、2つの時計の
差が一定時間以内であれば、予め決めた一方の時計でシ
ステムを立ち上げ、他方の時計はその時刻に補正すると
共に、2つの時計の差が一定時間以上であれば、オペレ
ータからの日時入力待ちとしてシステムを立ち上げない
ように制御を行う。
(7): In claim 4, the clock data obtaining means obtains clock data from both clock control units by sending a read request to the clock control units. Then, according to the data acquired by the clock data acquisition means, the apparatus start-up control means starts up the system with the normal clock if one of the clocks becomes abnormal, and if both clocks become abnormal, If both clocks are normal without waiting for the operator to input the date and time and both clocks are normal, if the difference between the two clocks is within a certain time, the system is started with one predetermined clock and the other The clock is corrected to that time, and if the difference between the two clocks is equal to or more than a certain time, control is performed so as not to start up the system in waiting for the date and time input from the operator.

【0111】このようにすれば、2つの時計を持った場
合の1制御方法を提供できると共に、誤った時計での動
作を確実に防止することが可能になる。また、安価な装
置により時計の正常性を確保できると共に、安価な異常
検出手段を提供できる。
In this way, it is possible to provide one control method when two clocks are provided, and it is possible to reliably prevent operation with an incorrect clock. In addition, the normality of the timepiece can be ensured by an inexpensive device, and an inexpensive abnormality detecting means can be provided.

【0112】(8) :請求項5では、時計データ取得手段
が、時計制御部へ読み出し依頼を送ることで双方の時計
制御部から時計データを取得する。そして、装置立ち上
げ制御手段は時計データ取得手段が取得したデータによ
り、一方の時計が異常となった場合は、正常な方の時計
でシステムを立ち上げ、双方の時計が異常となった場合
は、前回の電源オフ時刻でシステムを立ち上げ、双方の
時計が正常となった場合は、2つの時計の差が一定時間
以内であれば、予め決めた一方の時計でシステムを立ち
上げ、他方の時計はその時刻に補正する。また、2つの
時計の差が一定時間以上であれば、前回の電源オフ時刻
でシステムを立ち上げるように制御する。
(8) In claim 5, the clock data obtaining means obtains clock data from both clock control units by sending a read request to the clock control units. Then, according to the data acquired by the clock data acquisition means, the apparatus start-up control means starts up the system with a normal clock if one of the clocks becomes abnormal, and if both clocks become abnormal, When the system is started at the previous power-off time and both clocks are normal, if the difference between the two clocks is within a predetermined time, the system is started with one predetermined clock and the other is started. The clock corrects to that time. If the difference between the two clocks is equal to or longer than a predetermined time, control is performed so that the system is started at the last power-off time.

【0113】このようにすれば、2つの時計を持った場
合の1制御方法を提供できると共に、誤った時計での動
作を確実に防止することが可能になる。また、安価な装
置により時計の正常性を確保できると共に、安価な異常
検出手段を提供できる。
In this way, it is possible to provide one control method when two clocks are provided, and it is possible to reliably prevent an operation with an incorrect clock. In addition, the normality of the timepiece can be ensured by an inexpensive device, and an inexpensive abnormality detecting means can be provided.

【0114】更に、前記のようにしてシステムを立ち上
げることで、異常内容の詳細通知や遠隔監視装置への通
知等の処理が簡単になる。また、システム運用は開始せ
ず、通知機能のみを確保する必要がある場合に、最低限
の保証(データの順序性のみを保証)でシステムを立ち
上げることができる。
Further, by starting up the system as described above, processes such as detailed notification of the details of the abnormality and notification to the remote monitoring device are simplified. Further, when the system operation does not start and only the notification function needs to be secured, the system can be started up with a minimum guarantee (only the order of data is guaranteed).

【0115】(9) :請求項6では、時計データ取得手段
が、時計制御部へ読み出し依頼を送ることで双方の時計
制御部から時計データを取得する。そして、装置立ち上
げ制御手段は、時計データ取得手段が取得したデータに
より、一方の時計が異常となった場合は、正常な方の時
計でシステムを立ち上げ、双方の時計が異常となった場
合は、前回の電源オフ時刻でシステムを立ち上げ、双方
の時計が正常となった場合は、2つの時計の平均値を算
出し、その平均値でシステムを立ち上げると共に、双方
の時計を前記平均値で補正するように制御を行う。
(9): In claim 6, the clock data obtaining means obtains clock data from both clock control units by sending a read request to the clock control units. Then, the device start-up control means starts the system with the normal clock if one of the clocks becomes abnormal based on the data obtained by the clock data obtaining means, and Starts the system at the previous power-off time, and when both clocks become normal, calculates the average value of the two clocks, starts the system with the average value, and averages both clocks. Control is performed so as to correct the value.

【0116】このようにすれば、2つの時計を持った場
合の1制御方法を提供できると共に、誤った時計での動
作を確実に防止することが可能になる。また、安価な装
置により時計の正常性を確保できると共に、安価な異常
検出手段を提供できる。
In this way, it is possible to provide one control method when two clocks are provided, and it is possible to reliably prevent operation with an incorrect clock. In addition, the normality of the timepiece can be ensured by an inexpensive device, and an inexpensive abnormality detecting means can be provided.

【0117】また、正常時間からのずれを最小限に抑え
ることができ、システムを立ち上げることと、誤った時
間での動作を防止できると共に、時計の精度を向上させ
ることができる。
In addition, the deviation from the normal time can be minimized, the system can be started, the operation at the wrong time can be prevented, and the accuracy of the timepiece can be improved.

【0118】(10):請求項7では、記録媒体のプログラ
ムを読み出して時計制御部に実行させることにより、イ
ンターバルタイマの値と時計の値を読み出して記憶手段
に記録する手順と、前回記録した値と今回記録した値か
ら、インターバルタイマの進んだ時間と時計の進んだ時
間を算出し、両者の進んだ時間を比較する手順と、前記
比較で、前記進んだ時間の差が予め設定した値以上とな
った場合に、時計を異常と判定する手順とを行う。
(10) According to the seventh aspect, the procedure of reading out the value of the interval timer and the value of the clock by reading out the program of the recording medium and causing the clock control unit to execute the program and the procedure of recording the previous time. From the value and the value recorded this time, a procedure of calculating the time advanced by the interval timer and the time advanced by the clock, and comparing the advanced times of both, and the comparison, the difference between the advanced times is a preset value. If this is the case, a procedure for determining that the clock is abnormal is performed.

【0119】ところで、電子計算機等の情報処理装置で
は、通常、電源がオフされても時間を計数するため、時
計専用の素子が使用されている。また、近年の情報処理
装置では、低機能のものでも、オペレーティングシステ
ム等を動作させるためのインターバルタイマを持つもの
が普通である。そこで、前記のように、情報処理装置が
一般に持つインターバルタイマを使用することにより、
時計をチェックし、時計の正常性を確保することができ
る。
By the way, in an information processing apparatus such as an electronic computer, an element dedicated to a clock is usually used to count time even when the power is turned off. Further, in recent years, information processing apparatuses generally have an interval timer for operating an operating system or the like, even with a low function. Therefore, as described above, by using the interval timer that the information processing apparatus generally has,
The watch can be checked to ensure the normality of the watch.

【0120】従って、時計素子の故障(データ化けや時
計の極端な進み/遅れ等)の検出が安価な方法で可能と
なり、意図しないタイミングにイベントが発生するこ
と、必要なタイミングにイベントが発生しない等の問
題、及び日時により管理されるデータの管理に誤りが発
生することがなくなる。
Therefore, it is possible to detect a failure of the clock element (corruption of data, extreme advance / delay of the clock, etc.) by an inexpensive method, and an event occurs at an unintended timing and an event does not occur at a necessary timing. Such problems as described above and errors in managing data managed by date and time can be prevented.

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

【図1】本発明の実施の形態における装置の説明図であ
る。
FIG. 1 is an explanatory diagram of an apparatus according to an embodiment of the present invention.

【図2】本発明の実施の形態における電源系統説明図で
ある。
FIG. 2 is an explanatory diagram of a power supply system according to the embodiment of the present invention.

【図3】本発明の実施の形態における時計制御部の処理
説明図である。
FIG. 3 is an explanatory diagram of processing of a clock control unit according to the embodiment of the present invention.

【図4】本発明の実施の形態における時計制御部の処理
フローチャートである。
FIG. 4 is a processing flowchart of a timepiece control unit according to the embodiment of the present invention.

【図5】本発明の実施の形態における例4の処理フロー
チャートである。
FIG. 5 is a processing flowchart of Example 4 in the embodiment of the present invention.

【図6】本発明の実施の形態における例5の処理フロー
チャートである。
FIG. 6 is a processing flowchart of Example 5 in the embodiment of the present invention.

【図7】本発明の実施の形態における例6の処理フロー
チャートである。
FIG. 7 is a processing flowchart of Example 6 in the embodiment of the present invention.

【図8】本発明の実施の形態における情報処理装置の構
成例を示した図である。
FIG. 8 is a diagram illustrating a configuration example of an information processing apparatus according to an embodiment of the present invention.

【図9】従来例1、2の説明図である。FIG. 9 is an explanatory diagram of Conventional Examples 1 and 2.

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

1、2、3、4 時計 10、11 時計制御部 12 CPU(中央処理装置) 13、14 電池 15、16 カレンダ時計 17、18 インターバルタイマ 19、20 MPU(マイクロプロセッサ) 21、22 メモリ 24、25 電源部 28、29 電源スイッチ 31 入出力制御部 32 通信制御部 33 CD−ROMドライブ 34 フレキシブルディスクドライブ(FDD) 35 ハードディスク装置(HDD) 1, 2, 3, 4 clock 10, 11 clock control unit 12 CPU (central processing unit) 13, 14 battery 15, 16 calendar clock 17, 18 interval timer 19, 20 MPU (microprocessor) 21, 22 memory 24, 25 Power supply unit 28, 29 Power switch 31 Input / output control unit 32 Communication control unit 33 CD-ROM drive 34 Flexible disk drive (FDD) 35 Hard disk drive (HDD)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 三石 和幸 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 田村 秀敏 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Kazuyuki Mitsuishi 4-1-1, Kamidadanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Hidetoshi Tamura 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture No. 1 Inside Fujitsu Limited

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】電池でバックアップされた時計及び電池で
バックアップされないインターバルタイマを持ち、前記
時計の正常性をチェックする機能を有する時計制御部を
備えた情報処理装置であって、 前記時計制御部は、 前記インターバルタイマの値と時計の値を読み出して記
憶手段に記録する時計データ読出記録手段と、 前記記憶手段上の前回記録した値と今回記録した値か
ら、インターバルタイマの進んだ時間と時計の進んだ時
間を算出し、両者の進んだ時間を比較する経過時間比較
手段と、 前記比較で、前記進んだ時間の差が予め設定した値以上
となった場合に、時計を異常と判定する異常判定手段
と、 を備えていることを特徴とした情報処理装置。
An information processing apparatus having a clock backed up by a battery and an interval timer not backed up by a battery and having a clock control unit having a function of checking the normality of the clock, wherein the clock control unit is A time data reading and recording means for reading the value of the interval timer and the value of the clock and recording the value in the storage means; and An elapsed time comparing means for calculating an advanced time and comparing the advanced times, and an abnormality for determining that the clock is abnormal when the difference between the advanced times is equal to or greater than a preset value. An information processing apparatus comprising: a determination unit.
【請求項2】前記記憶手段上に、前記インターバルタイ
マから読み出した値と時計から読み出した値を記録する
記録領域を複数持ち、 前記時計制御部は、 前記複数の記録領域を利用して、前記インターバルタイ
マから読み出した値と時計から読み出した値により、予
め決めた短い間隔での短間隔の比較と、それ以上長い間
隔での長間隔の比較を行うことで時計の異常検出精度を
向上させる機能を備えていることを特徴とした請求項1
記載の情報処理装置。
2. The storage means has a plurality of recording areas for recording a value read from the interval timer and a value read from a clock, and the clock control unit uses the plurality of recording areas to store the value. A function to improve the accuracy of watch error detection by comparing a short interval at a predetermined short interval and a long interval at a longer interval based on the value read from the interval timer and the value read from the clock. 2. The method according to claim 1, further comprising:
An information processing apparatus according to claim 1.
【請求項3】前記時計制御部を2つ持ち、二重化動作さ
せることを特徴とした請求項1記載の情報処理装置。
3. The information processing apparatus according to claim 1, wherein two clock control units are provided to perform a duplex operation.
【請求項4】前記時計制御部へ読み出し依頼を送ること
で、双方の時計制御部から時計データを取得する時計デ
ータ取得手段と、 前記時計データ取得手段が取得したデータにより、 一方の時計が異常となった場合は、正常な方の時計でシ
ステムを立ち上げ、 双方の時計が異常となった場合は、オペレータの日時入
力待ちとしてシステムを立ち上げず、 双方の時計が正常となった場合は、2つの時計の差が一
定時間以内であれば、予め決めた一方の時計でシステム
を立ち上げ、他方の時計はその時刻に補正すると共に、
2つの時計の差が一定時間以上であれば、オペレータか
らの日時入力待ちとしてシステムを立ち上げないシステ
ム立ち上げ制御手段を備えていることを特徴とした請求
項3記載の情報処理装置。
4. A clock data acquisition unit for acquiring clock data from both clock control units by sending a read request to the clock control unit, and one of the clocks is abnormal due to the data acquired by the clock data acquisition unit. If it becomes, start the system with the normal clock.If both clocks become abnormal, wait for the operator to input the date and time, do not start the system, and if both clocks become normal, If the difference between the two clocks is within a certain period of time, start up the system with one predetermined clock, correct the other clock to that time,
4. The information processing apparatus according to claim 3, further comprising a system start-up control unit that does not start up the system when the difference between the two clocks is equal to or more than a predetermined time, and waits for a date and time input from an operator.
【請求項5】前記時計制御部へ読み出し依頼を送ること
で、双方の時計制御部から時計データを取得する時計デ
ータ取得手段と、 前記時計データ取得手段が取得したデータにより、 一方の時計が異常となった場合は、正常な方の時計でシ
ステムを立ち上げ、 双方の時計が異常となった場合は、前回の電源オフ時刻
でシステムを立ち上げ、 双方の時計が正常となった場合は、2つの時計の差が一
定時間以内であれば、予め決めた一方の時計でシステム
を立ち上げ、他方の時計はその時刻に補正すると共に、
2つの時計の差が一定時間以上であれば、前回の電源オ
フ時刻でシステムを立ち上げるシステム立ち上げ制御手
段を備えていることを特徴とした請求項3記載の情報処
理装置。
5. A clock data acquisition unit for acquiring clock data from both clock control units by sending a read request to the clock control unit, and one of the clocks is abnormal due to the data acquired by the clock data acquisition unit. , Start the system with the normal clock.If both clocks become abnormal, start the system with the previous power-off time.If both clocks become normal, If the difference between the two clocks is within a certain time, the system is started with one predetermined clock, and the other clock is corrected to that time,
4. The information processing apparatus according to claim 3, further comprising a system start-up control unit that starts the system at a previous power-off time when a difference between the two clocks is equal to or longer than a predetermined time.
【請求項6】前記時計制御部へ読み出し依頼を送ること
で、双方の時計制御部から時計データを取得する時計デ
ータ取得手段と、 前記時計データ取得手段が取得したデータにより、 一方の時計が異常となった場合は、正常な方の時計でシ
ステムを立ち上げ、 双方の時計が異常となった場合は、前回の電源オフ時刻
でシステムを立ち上げ、 双方の時計が正常となった場合は、2つの時計の平均値
を算出し、その平均値でシステムを立ち上げると共に、
双方の時計を前記平均値で補正するシステム立ち上げ制
御手段を備えていることを特徴とした請求項3記載の情
報処理装置。
6. A clock data acquisition unit for acquiring clock data from both clock control units by sending a read request to the clock control unit, and one of the clocks is abnormal due to the data acquired by the clock data acquisition unit. , Start the system with the normal clock.If both clocks become abnormal, start the system with the previous power-off time.If both clocks become normal, Calculate the average value of the two watches, start up the system with the average value,
4. The information processing apparatus according to claim 3, further comprising system startup control means for correcting both clocks with the average value.
【請求項7】電池でバックアップされた時計及び電池で
バックアップされないインターバルタイマを持ち、前記
時計の正常性をチェックする機能を有する時計制御部
に、 前記インターバルタイマの値と時計の値を読み出して記
憶手段に記録する手順と、 前回記録した値と今回記録した値から、インターバルタ
イマの進んだ時間と時計の進んだ時間を算出し、両者の
進んだ時間を比較する手順と、 前記比較で、前記進んだ時間の差が予め設定した値以上
となった場合に、時計を異常と判定する手順と、 を実行させるためのプログラムを記録したコンピュータ
読み取り可能な記録媒体。
7. A clock control unit having a clock backed up by a battery and an interval timer not backed up by a battery, and having a function of checking the normality of the clock, reads and stores the value of the interval timer and the value of the clock. Means for recording, calculating the time advanced by the interval timer and the time advanced by the clock from the previously recorded value and the value recorded this time, and comparing the time advanced by both. And a computer-readable recording medium storing a program for executing a step of determining that the clock is abnormal when a difference between the advanced times is equal to or greater than a preset value.
JP10098636A 1998-04-10 1998-04-10 Information processor Pending JPH11296255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10098636A JPH11296255A (en) 1998-04-10 1998-04-10 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10098636A JPH11296255A (en) 1998-04-10 1998-04-10 Information processor

Publications (1)

Publication Number Publication Date
JPH11296255A true JPH11296255A (en) 1999-10-29

Family

ID=14225002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10098636A Pending JPH11296255A (en) 1998-04-10 1998-04-10 Information processor

Country Status (1)

Country Link
JP (1) JPH11296255A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316815A (en) * 2006-05-24 2007-12-06 Nec Corp Clock abnormality detection method and clock abnormality detecting program
JP2011051589A (en) * 2010-12-13 2011-03-17 Hitachi Automotive Systems Ltd Control unit for vehicle or the like
JP2012234275A (en) * 2011-04-28 2012-11-29 Nec System Technologies Ltd Real time clock correction circuit and real time clock correction method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316815A (en) * 2006-05-24 2007-12-06 Nec Corp Clock abnormality detection method and clock abnormality detecting program
JP2011051589A (en) * 2010-12-13 2011-03-17 Hitachi Automotive Systems Ltd Control unit for vehicle or the like
JP2012234275A (en) * 2011-04-28 2012-11-29 Nec System Technologies Ltd Real time clock correction circuit and real time clock correction method

Similar Documents

Publication Publication Date Title
US7340638B2 (en) Operating system update and boot failure recovery
WO2022198972A1 (en) Method, system and apparatus for fault positioning in starting process of server
US6948008B2 (en) System with redundant central management controllers
JP3831377B2 (en) Method and apparatus for analyzing power failure in a computer system
WO2016062084A1 (en) Power-off processing method and apparatus, and electronic device
JP5183542B2 (en) Computer system and setting management method
CN111324192A (en) System board power supply detection method, device, equipment and storage medium
TW201235840A (en) Error management across hardware and software layers
TWI519945B (en) Server and method and apparatus for server downtime metering
JP2012038305A (en) Data processing system having error detection of set information of peripheral device
US11099961B2 (en) Systems and methods for prevention of data loss in a power-compromised persistent memory equipped host information handling system during a power loss event
US20140143597A1 (en) Computer system and operating method thereof
US11809295B2 (en) Node mode adjustment method for when storage cluster BBU fails and related component
JPH11296255A (en) Information processor
WO2023183133A1 (en) Serial attached non-volatile memory
US20050223301A1 (en) Circuit for detection of internal microprocessor watchdog device execution and method for resetting microprocessor system
JP2005031903A (en) Information processor
CN113917385A (en) Self-detection method and system for electric energy meter
WO2016204789A1 (en) Handling errors during run time backups
JP3294004B2 (en) Dual clock system for information equipment
CN114442781B (en) Tracking control method, system and device for server power
JP2665410B2 (en) Electronic devices with backup memory
JP3175962B2 (en) Calendar device
CN116701338A (en) Log time correction method and device, electronic equipment and storage medium
JP2755159B2 (en) Self-diagnosis method for information processing equipment

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030715