JPH02146855A - Clock information processing system for electronic exchange system - Google Patents

Clock information processing system for electronic exchange system

Info

Publication number
JPH02146855A
JPH02146855A JP63299433A JP29943388A JPH02146855A JP H02146855 A JPH02146855 A JP H02146855A JP 63299433 A JP63299433 A JP 63299433A JP 29943388 A JP29943388 A JP 29943388A JP H02146855 A JPH02146855 A JP H02146855A
Authority
JP
Japan
Prior art keywords
clock
hardware
difference
software
clocks
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.)
Granted
Application number
JP63299433A
Other languages
Japanese (ja)
Other versions
JPH0748781B2 (en
Inventor
Saburo Nakayama
三郎 中山
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP29943388A priority Critical patent/JPH0748781B2/en
Publication of JPH02146855A publication Critical patent/JPH02146855A/en
Publication of JPH0748781B2 publication Critical patent/JPH0748781B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To identify and interrupt a fault at the fault of a specific hardware clock and to continue the collation processing with a remaining hardware clock by providing a software clock adopting timer interruption as a reference and duplicated hardware clocks on a time collation system and using the decision logic of a time difference between the three timers. CONSTITUTION:A software clock 2 is provided in a memory section in a central processing unit CPU 11 and hardware clocks 3, 4 incorporating a high accuracy oscillator are connected to a CPU 1. The software clock 2 and the hardware clocks 3, 4 are collated periodically by the CPU 1, which calculates time differences T 1, T 2, T 3, T 4. When the difference T 1 resulting from the collation between the hardware clock 3 and the software clock 2 is smaller than the difference T1 and the difference T 2 between the hardware clocks 3 and 4 is smaller than the difference T2, both the hardware clocks 3, 4 are regarded to be normal to correct the software clock 2 by a prescribed correction method. Moreover, when the difference T 2 is larger than the T2, either of the hardware clocks 3, 4 is decided to be faulty.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、システムの保持している時計情報に基づいて
課金計算を行なう処理システムに関し。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a processing system that performs billing calculations based on clock information held by the system.

特に電子交換機システムに関する。In particular, it relates to electronic switching systems.

〔従来の技術〕[Conventional technology]

従来、電子交換機システムのような情報処理システムで
のシステム内部時計(ソフトウェア時計と称する)は一
定周期(4msや8msなど)毎の中央処理装置(CP
U)からのタイミング割込を基準として歩進する方式を
採用している。ところが、このタイミング割込は、 C
PU内部でのプログラムの動作状況にょシ影響を受け1
例えば2割込禁止の状態を1秒間続けたとするとその間
2割込が発生しないため、ソフトウェア時計の歩進もま
た1秒間の間実行されないことになり、自然界での時刻
から遅れてしまう。
Conventionally, system internal clocks (referred to as software clocks) in information processing systems such as electronic switching systems are clocked by the central processing unit (CP) at fixed intervals (4ms, 8ms, etc.).
A method is adopted in which steps are taken based on the timing interrupt from U). However, this timing interrupt is C
Affected by the operating status of the program inside the PU1
For example, if the state in which 2 interrupts are disabled continues for 1 second, no 2 interrupts will occur during that time, so the software clock will not advance for 1 second, resulting in a delay from the time in the natural world.

交換機のように、ソフトウェア時計の示す時刻によシ通
話時間を計測し2課金計算を行なうシステムでは、この
様なソフトウェア時計の遅れは。
In systems such as switchboards, which measure call time and calculate charges based on the time indicated by a software clock, this delay in the software clock is a problem.

課金情報そのものの信頼性を失なうことにつながるため
、別途、信頼度の高い外部ハード9エア時計を設置して
おき、定期的に、ハードウェア時計とソフトウェア時計
の照合を行って、ソフトウェア時計の遅れの補正及びソ
フトウェア時計の故障検出を行9ている。
Since this may lead to loss of reliability of the billing information itself, a highly reliable external hardware clock is installed separately, and the hardware clock and software clock are checked periodically. Corrects delays in software clocks and detects software clock failures9.

第4図は、この様なシステムでのシステム構成であp 
、 CPU 1はソフトウェア時計2を備えておfi 
、 CPU 1はリード時計に接続されている。時計の
照合は、第5図に示すように一定周期毎に両者の値の差
分を計算する。
Figure 4 shows the system configuration of such a system.
, CPU 1 is equipped with a software clock 2.
, CPU 1 is connected to the lead clock. To check the clock, as shown in FIG. 5, the difference between the two values is calculated at regular intervals.

両者の時計の差分による処理機in−第6図に示す。T
4がT1よシも少ない間は許害誤差として何も行なわな
い。TIかT1よシ大きく12未満の時は。
The processing machine in accordance with the difference between the two clocks is shown in FIG. T
While 4 is less than T1, nothing is done as a permissible error. If it is larger than TI or T1 and less than 12.

補正要と判断しソフト時計の値をT3だけハード時計の
値に近付ける。補正時、ソフト時計の値をハード時計に
完全に合わせないのは、ハード時計が遅れるような故障
の時に検出が遅れることを防止するためである。また、
差分(T、)がT2よシも大きくなった時には、ハード
時計の故障と判定し。
It is determined that correction is necessary and the value of the software clock is brought closer to the value of the hard clock by T3. The reason why the software clock value is not completely matched to the hard clock value during correction is to prevent detection from being delayed in the event of a failure that would cause the hard clock to be delayed. Also,
When the difference (T,) becomes larger than T2, it is determined that the hardware clock is malfunctioning.

システム時計障害状態となシ、以降、ハード時計修復ま
での期間ソフト時計のみでの運転を行なう。
Since the system clock is in a faulty state, the machine will be operated using only the software clock until the hard clock is repaired.

なお、 T1 e T2 p T3の値はシステム時計
の精度及び、照合周期によって決定されているが、一般
に〔発明が解決しようとする課題〕 上述した従来の照合処理方式では、ノ1−ドウエア時計
が1重化のため、システム時計障害となる確率が高く、
ソフト時計のみでの運転(課金情報が正確に取れない)
期間が多くなるという問題点がある。
Note that the values of T1 e T2 p T3 are determined by the accuracy of the system clock and the verification cycle, but in general [problem to be solved by the invention] In the conventional verification processing method described above, the Because it is single layered, there is a high probability of system clock failure.
Driving using only the software clock (billing information cannot be obtained accurately)
There is a problem that the period becomes long.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の時計照合方式は、タイマ割込を基準としたソフ
ト時計と、二重化されたハードウェア時計とを有し、こ
れら三者間の時刻差の判定論理によシ、特定のハードウ
ェア時計故障時に、故障側を識別・切離し、残されたハ
ードウェア時間との間での照合処理を継続せしめること
を特徴としている。
The clock verification method of the present invention has a software clock based on timer interrupts and a duplicated hardware clock, and detects a specific hardware clock failure based on the logic for determining the time difference between these three. In some cases, the faulty side is identified and isolated, and the matching process is continued with the remaining hardware time.

〔実施例〕〔Example〕

次に2本発明について図面を参照して説明する。 Next, two aspects of the present invention will be explained with reference to the drawings.

第1図は2本発明の一実施例の構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.

ソフト時計2は中央処理装置(CPU ) 1の中のメ
モリ部(図示せず)に設置され、高精度発振器を内蔵し
たハードウェア時計3,4がCPU 1に接続されてい
る。これらソフト時計2とや−ドウェア時計3,4はC
PU 1によって定期的に照合され。
A software clock 2 is installed in a memory section (not shown) in a central processing unit (CPU) 1, and hardware clocks 3 and 4 each having a built-in high-precision oscillator are connected to the CPU 1. These software clocks 2 and software clocks 3 and 4 are C
Verified periodically by PU 1.

その時刻差(T41 # T421 T、s )が計算
される(第2図)。
The time difference (T41 #T421 T,s) is calculated (FIG. 2).

二重化されたハードウェア時計3,4の故障識別の論理
を第3図も参照して説明する。まず、ノーード時計3 
(ACT系)とソフト時計2の照合を行なう(差分子、
1)。TJl及びノ・−ド時計3及び4間の差分(Ta
2)がT2よシ小さい時は1両ノ・−ド時計3,4とも
正常とみなす。この場合Tj1を基準としたソフト時計
2の補正処理が実行される。
The logic of failure identification of the duplicated hardware clocks 3 and 4 will be explained with reference to FIG. 3 as well. First, node clock 3
(ACT system) and software clock 2 (difference numerator,
1). Difference between TJl and node clocks 3 and 4 (Ta
When 2) is smaller than T2, both the clocks 3 and 4 are considered normal. In this case, correction processing of the software clock 2 is performed using Tj1 as a reference.

補正はTj1≧T、の時にTx(<TI)だけソフト時
計2の値をハード時計3に近付けることにより実施する
。次にTI2がT2より大きい時にはノ・−ド時計3゜
4のいずれかが故障であると判定する。この場合。
The correction is performed by bringing the value of the software clock 2 closer to the hard clock 3 by Tx (<TI) when Tj1≧T. Next, when TI2 is greater than T2, it is determined that one of the node clocks 3.4 is malfunctioning. in this case.

ソフト時計2とノ・−ド時計4 (SBY系)との差分
(fax)とTI1とを比較することにより、ソフト時
計2との差分がより大きい方を故障とする。次にT7.
がT2よシ大きい時はバーP時計3は、直ちに故障と判
断し、ハード時計4、との差分子Δ3を算出する。TI
3がT2よシ小さい時はノ・−ド時計4正常とし、以降
このハード時計4を新ACTハード時計として運転させ
る。T45がT2より大きい時は、ノ・−ド時計3,4
共に信用できないため、2重故障であると判断する。
By comparing the difference (fax) between the software clock 2 and the node clock 4 (SBY system) with TI1, the one with the larger difference from the software clock 2 is determined to be faulty. Next, T7.
When is larger than T2, the bar P clock 3 immediately determines that it is malfunctioning, and calculates the difference numerator Δ3 between it and the hard clock 4. T.I.
When 3 is smaller than T2, the node clock 4 is assumed to be normal, and thereafter this hard clock 4 is operated as a new ACT hard clock. When T45 is greater than T2, the node clocks 3 and 4
Since both cannot be trusted, it is determined that there is a double failure.

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

以上説明したように本発明では、ソフトウェア時計の補
正を行なう外づけのハードウェア時計を二重化してしか
も、故障発生ハードウェア時計の識別を行っているから
ハードウェア時計故障による照合不可期間を大巾に短縮
できる。この結果システムを運用して、ユーザに営業サ
ービスを提供する人々にとって2課金業務をよシ効率的
に実施できるという効果がある。
As explained above, in the present invention, the external hardware clock that corrects the software clock is duplicated, and since the hardware clock that has failed is identified, the period during which verification is not possible due to a hardware clock malfunction is greatly reduced. It can be shortened to As a result, those who operate the system and provide sales services to users have the advantage of being able to carry out two billing tasks more efficiently.

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

第1図は本発明の一実施例におけるシステム構成を示す
図、第2図は2時計間の照合方式を示す図、第3図は照
合の結果の故障判定論理を示す図。 第4図〜第6図は従来例を説明するための図である。 1・・・中央処理装置(メモリを含む)、2・・・ソフ
トウェア時計(ソフト時計)、3,4・・・ノー−ドウ
エア時計()・−ド時計)。 第4
FIG. 1 is a diagram showing a system configuration in an embodiment of the present invention, FIG. 2 is a diagram showing a verification method between two clocks, and FIG. 3 is a diagram showing failure determination logic as a result of verification. FIGS. 4 to 6 are diagrams for explaining conventional examples. 1... Central processing unit (including memory), 2... Software clock (soft clock), 3, 4... Nodeware clock (). Fourth

Claims (1)

【特許請求の範囲】[Claims] 1、中央処理装置の時限割込を用いて更新するソフトウ
ェア時計と外部ハードウェア時計を有し、該ソフトウェ
ア時計及び該外部ハードウェア時計を照合して前記ソフ
トウェア時計の遅れを補正する電子交換システムに用い
られ、前記外部ハードウェア時計は第1及び第2外部ハ
ードウェア時計部を有し、前記第1及び第2の外部ハー
ドウェア時計部と前記ソフトウェア時計とを比較照して
、前記ソフト・ウェア時計の時計情報を補正するように
したことを特徴とする電子交換機システムの時計情報処
理方式。
1. An electronic switching system that has a software clock and an external hardware clock that are updated using timed interrupts from a central processing unit, and that corrects delays in the software clock by comparing the software clock and the external hardware clock. and the external hardware clock has first and second external hardware clock sections, and the software clock is compared with the first and second external hardware clock sections, and the software clock is A clock information processing method for an electronic exchange system, characterized in that the clock information of a clock is corrected.
JP29943388A 1988-11-29 1988-11-29 Clock information processing system for electronic exchange system Expired - Lifetime JPH0748781B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29943388A JPH0748781B2 (en) 1988-11-29 1988-11-29 Clock information processing system for electronic exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29943388A JPH0748781B2 (en) 1988-11-29 1988-11-29 Clock information processing system for electronic exchange system

Publications (2)

Publication Number Publication Date
JPH02146855A true JPH02146855A (en) 1990-06-06
JPH0748781B2 JPH0748781B2 (en) 1995-05-24

Family

ID=17872512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29943388A Expired - Lifetime JPH0748781B2 (en) 1988-11-29 1988-11-29 Clock information processing system for electronic exchange system

Country Status (1)

Country Link
JP (1) JPH0748781B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6252826B1 (en) 1997-10-20 2001-06-26 Fujitsu Limited Time control device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6199491A (en) * 1984-10-19 1986-05-17 Toshiba Corp Clock adjusting device of electronic exchange

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6199491A (en) * 1984-10-19 1986-05-17 Toshiba Corp Clock adjusting device of electronic exchange

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6252826B1 (en) 1997-10-20 2001-06-26 Fujitsu Limited Time control device
DE19843501C2 (en) * 1997-10-20 2003-07-31 Fujitsu Ltd Timing controller

Also Published As

Publication number Publication date
JPH0748781B2 (en) 1995-05-24

Similar Documents

Publication Publication Date Title
KR100566338B1 (en) Fault tolerant computer system, re-synchronization method thereof and computer-readable storage medium having re-synchronization program thereof recorded thereon
WO1987006038A1 (en) Fail safe architecture for a computer system
JP2003015900A (en) Follow-up type multiplex system and data processing method capable of improving reliability by follow-up
CA2694198C (en) High integrity and high availability computer processing module
US20240012730A1 (en) Program flow monitoring for gateway applications
JPH02146855A (en) Clock information processing system for electronic exchange system
US6374365B1 (en) Arrangement for operating two functionally parallel processors
JP3529994B2 (en) Verification circuit
JP3235785B2 (en) Redundant information processing device
JP2000298594A (en) Controlling method of fault tolerance and redundant computer system
CN110380934B (en) Distributed redundancy system heartbeat detection method
US7260741B2 (en) Method and system to detect software faults
LEVESON Software fault tolerance-The case for forward recovery
JP6046888B2 (en) Fail-safe microcomputer
JP2001256070A (en) Redundant processor
JPH0695902A (en) Information processor in processor duplex system
CN113485185B (en) Method for N times redundancy control system
JPS5855535B2 (en) Multi-computer device for vehicles
JP2654072B2 (en) Fault tolerant computer equipment
JPS5983438A (en) Program failure detecting system
JPH0481936A (en) Synchronization control system between plural cpus
JP2006320101A (en) Digital relay device
JPH01277951A (en) Data transfer equipment
Godary et al. Comparison and temporal validation of automotive real-time architectures
JPH0573360A (en) Watchdog timer