JPS59139472A - Coincidence processing system of real time timer value - Google Patents

Coincidence processing system of real time timer value

Info

Publication number
JPS59139472A
JPS59139472A JP58013361A JP1336183A JPS59139472A JP S59139472 A JPS59139472 A JP S59139472A JP 58013361 A JP58013361 A JP 58013361A JP 1336183 A JP1336183 A JP 1336183A JP S59139472 A JPS59139472 A JP S59139472A
Authority
JP
Japan
Prior art keywords
information processing
real
time timer
register
time
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
JP58013361A
Other languages
Japanese (ja)
Inventor
Hideki Fukuoka
福岡 秀樹
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP58013361A priority Critical patent/JPS59139472A/en
Publication of JPS59139472A publication Critical patent/JPS59139472A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce software overhead by sending a standard time through a loop circuit, judging whether it is within an error range allowed to the information processing system by each service processor, and regulating. CONSTITUTION:When real time T3 of a service processor SVP 2 is faster than real time T2 of an SVP 1, renewal inhibition instruction of a real time timer 21 is given from a comparator circuit 216 to a renewal controlling circuit 201 through a signal line 300 and storing of the result of subtraction of a subtracter circuit 208 is instructed to a controlling circuit 217 through a signal line 301, and the result of subtraction (T3-T2) is stored in a register 210. The value in the register 210 is subtracted by a subtractor circuit 211 1 by 1 in synchronizing with timer renewal clock. When the value of the register is reduced to 0, renewal start instruction of the real time timer 21 is given from an all-0 detecting circuit 212 to the renewal controlling circuit 201 through a signal line 302. At the same time, the renewal of the register 201 is stopped.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、実時間タイマを有する情報処理装置間の実時
間タイマ値の差を一定範囲内におさえるだめの時刻一致
処理を行う実時間タイマ値の一致処理方式に関するもの
である。
Detailed Description of the Invention Technical Field of the Invention The present invention relates to a real-time timer value matching method that performs time matching processing to suppress the difference in real-time timer values between information processing devices having real-time timers within a certain range. This is related to the processing method.

技術の背景 従来のこの種実時間タイマ値の一致処理方式は、IEM
 (7) 370 シリーズ(たとえばN:GA22−
7000−5゜IBMシステム/670解説書、 19
77年5月)等にみられるように、ある一定時間毎に特
定の情報処理装置から他の情報処理装置に割り込み信号
を送出し、プログラムによシタイマ値を一致させるよう
に栴成されている。
Background of the Technology The conventional method for matching real-time timer values is the IEM
(7) 370 series (e.g. N: GA22-
7000-5゜IBM System/670 Manual, 19
As seen in May 1977), a specific information processing device sends an interrupt signal to another information processing device at a certain period of time, and the program is designed to match the timer value. .

従来技術と問題点 従来の実時間タイマの一致処理方式の構成では、情報処
理装置の台数が多くなった場合、物理的インタフェース
の数が増大するとともに、実時間タイマ値一致処理のた
めのソフトオーバヘットカ犬となるという欠点があった
Prior Art and Problems In the configuration of the conventional real-time timer matching processing method, when the number of information processing devices increases, the number of physical interfaces increases and software overhead for real-time timer value matching processing increases. It had the disadvantage of being a Toca dog.

発明の目的 本発明は従来の欠点を除去するため、ループ構成で情報
処理装置を接続し、特定の情報処理装置の実時間タイマ
値を標準時刻とし、ループを介して一定時刻毎に他の情
報処理装置に標準時刻を送信することによシ実時間タイ
マ値を許容誤差以内におさえるようにしたことを特徴と
し、その目的はシステムの増設が容易であシ拡張性・柔
軟性に富む実時間タイマ値の一致処理方式を提供するに
ある。以下、図面について詳細に説明する。
Purpose of the Invention In order to eliminate the drawbacks of the conventional technology, the present invention connects information processing devices in a loop configuration, uses the real-time timer value of a specific information processing device as a standard time, and transmits other information at regular time intervals through the loop. The feature is that the real-time timer value is kept within tolerance by transmitting the standard time to the processing device, and the purpose is to easily expand the system and provide a real-time timer with high expandability and flexibility. A method for matching timer values is provided. The drawings will be described in detail below.

発明の実施例 第1図は、本発明を大規模システムに適用した場合のシ
ステム栴成例である。第1図において、10.20,3
0.40は情報処理装置、1,2,3.4はサービスプ
ロセッサ(以下SVPと略記する。)であシ、各々実時
間タイマ11,21,31.41−を内蔵している。
Embodiment of the Invention FIG. 1 shows an example of system construction when the present invention is applied to a large-scale system. In Figure 1, 10.20,3
0.40 is an information processing device, and 1, 2, and 3.4 are service processors (hereinafter abbreviated as SVP), each of which has built-in real time timers 11, 21, 31, and 41-.

12.13.22.23,32,33,42.43はS
VP 1,2,3.4にょシ各々制御される中央処理装
置(以下CPUと略記する。)である。100は、sy
p 1,2.3+4を接続するループ回線である。本ル
ープ回線の構成、プロトコールは本願発明の要旨に直接
関連するものではないので説明は省略する。
12.13.22.23, 32, 33, 42.43 is S
VPs 1, 2, and 3.4 are each controlled by a central processing unit (hereinafter abbreviated as CPU). 100 is sy
This is a loop line that connects p1, 2.3+4. Since the configuration and protocol of this loop line are not directly related to the gist of the present invention, their explanation will be omitted.

実時間タイマの初期値設定及び更新開始は以下のように
行なう。
The initial value setting and update start of the real-time timer are performed as follows.

情報処理装置10を1次局、他の情報処理装置20 、
30 、40を2次局とした場合を例に説明する。
The information processing device 10 is a primary station, the other information processing devices 20,
An example will be explained in which 30 and 40 are used as secondary stations.

1次局の5VP1の実時間タイマ11が人手等にょシ初
期設定され、cpvがサービスを開始すると、CPU1
2又は16は、実時間タイマ11の値(To)を読み出
し、Toよシα進んだ値(T、=T0+α)を2次局の
5VP2,5.4に対しループ回線100を使用し同報
通信で送信する。5rtp 2,3+4はT1を各実時
間タイマ21,31.41に設定する。CPU12又は
13は、実時間タイマ11の値がTIになると、ループ
回線100を介する同報通信でSVP 2,3.4に対
し実時間タイマ21,31.41の更新開始を指示する
。なお、SVP 1,2,5,4 O実時間タイ−v 
11,12.13.14は各SVP 1,2,3.4内
のクロックにより更新される。
When the real-time timer 11 of the 5VP1 of the primary station is initialized manually, etc., and the cpv starts service, the CPU1
2 or 16 reads the value (To) of the real-time timer 11 and broadcasts the value (T, = T0 + α) which is α advanced by To to the secondary station 5VP2, 5.4 using the loop line 100. Send by communication. 5rtp 2,3+4 sets T1 to each real time timer 21,31.41. When the value of the real-time timer 11 reaches TI, the CPU 12 or 13 instructs the SVP 2, 3.4 to start updating the real-time timer 21, 31.41 by broadcast communication via the loop line 100. In addition, SVP 1, 2, 5, 4 O real time tie-v
11, 12.13.14 are updated by the clock within each SVP 1, 2, 3.4.

実時間タイマ11,12,13.14が各々独立のクロ
ックで更新されるため、実時間タイマの精度によυ誤差
が生じてくる。このため、5VP1  は更新開始指示
を行った後、一定時刻毎に実時間タイマ11の値をルー
プ回線100の同報通信を用いて送信する。
Since the real-time timers 11, 12, 13, and 14 are updated using independent clocks, an error occurs due to the accuracy of the real-time timers. Therefore, after issuing an update start instruction, 5VP1 transmits the value of real-time timer 11 at fixed time intervals using broadcast communication on loop line 100.

第2図は、5VP2の実時間タイマ制御部の一実施例の
ブロック図でsb、21は実時間タイマ、201は更新
制伽1回路、202は胱出しレジスタ、205.204
はCPU22 、23用の割込み時刻レジスタ、205
.206は一致検出回路、207はループを介して送信
された5VP1 のタイマ値を格納するレジスタ、20
8は減算回路、207は設定回路、210は減算回路2
0日の減算結果を格納するレジスタ、211はレジスタ
210の減算回路、212はレジスタ210のオール0
検出回路、213,214はタイマ21.レジスタ20
7.203又は204の比較回路、215は許容誤差保
持レジスタ、216は比較回路、217はレジスタ21
0の制御回路である。
FIG. 2 is a block diagram of an embodiment of the real-time timer control section of 5VP2. sb, 21 is a real-time timer, 201 is an update control circuit, 202 is a bladder release register, 205.204
is an interrupt time register for CPUs 22 and 23, 205
.. 206 is a coincidence detection circuit; 207 is a register that stores the timer value of 5VP1 transmitted via the loop; 20
8 is a subtraction circuit, 207 is a setting circuit, 210 is a subtraction circuit 2
A register that stores the subtraction result of day 0, 211 is the subtraction circuit of register 210, and 212 is all 0 of register 210.
Detection circuits 213 and 214 are timers 21. register 20
7. 203 or 204 comparison circuit, 215 tolerance holding register, 216 comparison circuit, 217 register 21
0 control circuit.

以下第2図に従い、5VP2の実時間タイマ値を5VP
1  から送られてきた実時間タイマ値に変更する方法
について詳細に説明する。
According to Figure 2 below, set the real time timer value of 5VP2 to 5VP.
The method of changing to the real time timer value sent from 1 will be explained in detail.

5VP1からループ回線を介して5VP1の実時間タイ
マ値(以下タイマ値という。)(T、とする)が送られ
てくると、5VP2はタイマ値T、をレジスタ207に
格納する。次に実時間タイマ21のタイマ値Crsとす
る)を読出し減算回路208でTR−T2  の減勢を
行ない、その結果が当該情報処理システムで許容されて
いる誤差以内か否かを判定するため許容誤差保持レジス
タ215の値とT、−T、の結果とを比較回路216で
比較する。比較結果が許容誤差以内であれば処理を停止
する。許容誤差をこえている場合は、以下によ多処理を
続行する。
When the real-time timer value (hereinafter referred to as timer value) (T) of 5VP1 is sent from 5VP1 via the loop line, 5VP2 stores the timer value T in the register 207. Next, the timer value Crs of the real-time timer 21 is read out and the subtraction circuit 208 deenergizes the TR-T2, and it is determined whether the result is within the error allowed by the information processing system. A comparison circuit 216 compares the value of the error holding register 215 and the results of T and -T. If the comparison result is within the tolerance, the process is stopped. If the tolerance is exceeded, further processing is continued.

(11T3− T、 > 0の場合 実時間タイマ21のタイマ値(T3)が5VP1  よ
シ送られてきたタイマ値(T、)よシ大きい、すなわち
5VP2の実時間が5VP1の実時間より進んでいる場
合は、比較回路216から信号線600を介して更新制
御回路201に対し実時間タイマ21の更新禁止指示を
出すとともに、信号線601を介して制御回路217に
減算回路208の減算結果格納を指示し、レジスタ21
0に減算結果(Tj−T、)を格納する。レジスタ21
0に71−T、が格納されると、減算回路211でレジ
スタ210の値をタイマ更新クロックと同期して1ずつ
減算していく。レジスタ210の値が0になるとオール
0検出回路212から信号線602を介して実時間タイ
マ21 の更新開始指示を更新制御回路201に対して
指示するとともに、レジスタ210の更新を停止する。
(If 11T3-T, > 0, the timer value (T3) of the real-time timer 21 is larger than the timer value (T,) sent from 5VP1, that is, the real time of 5VP2 is ahead of the real time of 5VP1. If so, the comparison circuit 216 issues an instruction to prohibit updating of the real-time timer 21 to the update control circuit 201 via the signal line 600, and also causes the control circuit 217 to store the subtraction result of the subtraction circuit 208 via the signal line 601. register 21
Store the subtraction result (Tj-T,) in 0. register 21
When 71-T is stored in 0, the subtraction circuit 211 subtracts the value of the register 210 by 1 in synchronization with the timer update clock. When the value of the register 210 becomes 0, the all-zero detection circuit 212 instructs the update control circuit 201 to start updating the real-time timer 21 via the signal line 602, and stops updating the register 210.

(21T、 < T、の場合 T1がT、よシ小さい、すなわち5VP2の実時間が5
VP1の実時間よシ遅れている場合は、信号線304.
305,306,307を介して比較レジスタ215及
び214にレジスタ207.実時間タイマ21.レジス
タ20!1,204の値を送信し、レジスタ203およ
び204のレジスタ値(T4 + T11とする)が、
r、 <T4<r、およびT、<T、<T、  である
か否かを比較する。T4の値が上記条件を満足している
場合はレジスタ203に対応するCPU22に、T、の
値が上記条件を満足している場合はレジスタ204に対
応するCPU25に実時間−散開込み信号を信号線30
8,309を介して送出する。
(If 21T, < T, T1 is smaller than T, that is, the actual time of 5VP2 is 5
If the actual time of VP1 is delayed, the signal line 304.
305, 306, 307 to compare registers 215 and 214 to register 207. Real time timer 21. Send the values of registers 20!1 and 204, and the register values of registers 203 and 204 (assumed to be T4 + T11) are
Compare whether r, <T4<r, and T, <T, <T. If the value of T4 satisfies the above conditions, a real-time spread-open signal is sent to the CPU 22 corresponding to the register 203, and if the value of T satisfies the above conditions, a real-time spread signal is sent to the CPU 25 corresponding to the register 204. line 30
8,309.

なお、T4 ” Tt +  T6 = T2の場合は
、一致検出回路205,206によシタイマ21と割込
レジスタ203゜204の一致が検出される。これは、
本願発明の要旨に直接関連するものでなく、公知であシ
、たとえば前掲IBM570シリーズ等においても実施
されている。また、ここではsvpによ多制御されるC
PU台数が2台の場合について説明したが、何台であっ
ても同様である。
Note that when T4'' Tt + T6 = T2, the coincidence detection circuits 205 and 206 detect a coincidence between the timer 21 and the interrupt registers 203 and 204.
This is not directly related to the gist of the present invention, and is well known and has been implemented, for example, in the IBM 570 series mentioned above. In addition, here, C
Although the case where the number of PUs is two has been described, the same applies regardless of the number of PUs.

次に、前記CPU割込み信号送出と併行して、比較回路
216は信号線310を介して設定回路209を制御し
、レジスタ207の値(T、)を実時間タイマ21に格
納する。ここで、T、=Ts、Tσ=Ts  の場合は
、T4=T2.T、=Ta  の場合と同様の処理を行
なう。
Next, in parallel with sending out the CPU interrupt signal, the comparison circuit 216 controls the setting circuit 209 via the signal line 310 and stores the value (T,) of the register 207 in the real time timer 21. Here, if T,=Ts, Tσ=Ts, then T4=T2. The same processing as in the case of T,=Ta is performed.

発明の詳細 な説明したように、yplから5VP2,3.4のタイ
マ値一致処理のための標準時刻をループ回線を介して送
信し、各SVPで当該情報処理システムに許容された誤
差以内であるか否かを判定し、許容誤差以上で各SVP
のタイマ値が進んでいる場合はタイマの更新を進んでい
る時間抑止し、また遅れている場合は標準時刻を自タイ
マに設定する際に。
As described in detail of the invention, the standard time for timer value matching processing of 5VP2 and 3.4 is transmitted from ypl via a loop line, and the error is within the allowable error for the information processing system in each SVP. Determine whether each SVP is equal to or greater than the allowable error.
If the timer value is ahead, the timer update is suppressed by the advance time, and if it is behind, the standard time is set to the own timer.

割込みレジスタに設定されている時刻を飛びこす時は実
時間割込み信号を送信することによシ、各522間のタ
イマ値の誤差を該情報処理システムで許容された範囲内
にすることができるので、タイマ一致処理に要するソフ
トオーバベッドの削減9、情報処理装置台数の増設等に
柔軟に対処可能であるという利点がある。従って、本発
明は粗結合マルチプロセッサCLCMP) 構成等を採
用する大規模センタで、各情報処理装置間の実時間を一
致させて処理を行なう場合などに適用してその効果顕著
である。
When skipping the time set in the interrupt register, by sending a real-time interrupt signal, the error in the timer value between each 522 can be kept within the range allowed by the information processing system. The present invention has the advantages of reducing the software overlay required for timer matching processing 9 and being able to flexibly cope with increasing the number of information processing devices. Therefore, the present invention is particularly effective when applied to a large-scale center employing a coarsely coupled multiprocessor (CLCMP) configuration, etc., where processing is performed by matching the real time between each information processing device.

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

第1図は本発明を大規模システムに適用した場合のシス
テム構成例であシ、第2図はサービスプロセッサ5VP
Q 内の実時間タイマ制御部の構成例である。 10.20,30.40・・・情報処理装置、1.2,
3.4・・・svp 。 11.21.51.41・・・実時間タイマ、12,1
3,22,23,32゜33 、42 、43・・・C
PU、  100・・・ループ回線、201・・・更新
制御回路、202・・・読出しレジスタ、203・・・
CPU22用割込み時刻レジスタ、204・・・CPU
23用割込み時刻レジスタ、205・・・CPU22用
一致検出回路、206・・・CPU25用一致検出回路
、207・・・標準時刻格納レジスタ、208・・・減
算回路、209・・・設定回路、210・・・減算結果
格納レジスタ、211・・・減算回路、212・・・オ
ール0検出回路、215・・・CPU22用比較回路、
214・・・CPU25用比較回路、215・・・許容
誤差保持レジスタ、216・・・比較回路、217・・
・減算結果格納レジスタ210の制御回路、300・・
・更新禁止指示信号線、601・・・データ線、302
・・・更新開始指示信号線、304,305,306,
307・・・データ線、308・・・CPU22用割込
み信号線、309・・・CPU25用割込み信号線、6
10・・・タイマ値格納指示色号線。 特許出願人 日本電信を話公社
Figure 1 shows an example of a system configuration when the present invention is applied to a large-scale system, and Figure 2 shows a service processor 5VP.
This is an example of the configuration of the real-time timer control section in Q. 10.20, 30.40... Information processing device, 1.2,
3.4...svp. 11.21.51.41...Real time timer, 12,1
3, 22, 23, 32° 33, 42, 43...C
PU, 100... Loop line, 201... Update control circuit, 202... Read register, 203...
Interrupt time register for CPU22, 204...CPU
Interrupt time register for 23, 205... Match detection circuit for CPU 22, 206... Match detection circuit for CPU 25, 207... Standard time storage register, 208... Subtraction circuit, 209... Setting circuit, 210 ... Subtraction result storage register, 211 ... Subtraction circuit, 212 ... All 0 detection circuit, 215 ... Comparison circuit for CPU 22,
214...Comparison circuit for CPU 25, 215...Tolerance holding register, 216...Comparison circuit, 217...
- Control circuit for subtraction result storage register 210, 300...
・Update prohibition instruction signal line, 601...Data line, 302
...Update start instruction signal line, 304, 305, 306,
307...Data line, 308...Interrupt signal line for CPU22, 309...Interrupt signal line for CPU25, 6
10...Timer value storage instruction color code. Patent applicant Nippon Telegraph Corporation

Claims (1)

【特許請求の範囲】 実時間タイマを有する複数台の情報処理装置をループ接
続し、該複数台の情報処理装置のうちの一つの情報処理
装置を該ループ制御上の1次局とし、他の情報処理装置
を2次局とし、該1次局の情報処理装置から該ループを
介して該2次局の情報処理装置へ情報転送を行う情報処
理システムにおいて、 前記1次局の情報処理装置の実時間タイマ値を該情報処
理システムの標準時とし、一定時間ごとに該1次局の情
報処理装置から該2次局の情報処理装置へ前記1次局の
情報処理装置の実時間タイマ値を標準時刻として該ルー
プを介して送信し、該2次局の情報処理装置は該標準時
刻の実時間タイマ値と自己の実時間タイマ値との差を検
出し、該実時間タイマ値の差が該情報処理システム内で
定めた許容誤差以上のとき該標準時刻を自己の実時間タ
イマに設定し、該許容誤差未満のとき自己の実時間タイ
マの設定を行わないことによシ、該情報処理システム内
の該各情報処理装置の実時間タイマ値の差を該情報処理
システム内で′定めた許容誤差以内におさえることを特
徴とする実時間タイマ値の一致処理方式。
[Claims] A plurality of information processing devices each having a real-time timer are connected in a loop, one of the plurality of information processing devices is used as a primary station in the loop control, and the other information processing devices are connected in a loop. In an information processing system in which an information processing device is a secondary station and information is transferred from the information processing device of the primary station to the information processing device of the secondary station via the loop, the information processing device of the primary station The real-time timer value is set as the standard time of the information processing system, and the real-time timer value of the information processing device of the primary station is sent from the information processing device of the primary station to the information processing device of the secondary station at regular intervals. The information processing device of the secondary station detects the difference between the real-time timer value of the standard time and its own real-time timer value, and the information processing device of the secondary station detects the difference between the real-time timer value of the standard time and its own real-time timer value. The information processing system sets the standard time to its own real-time timer when the error is greater than the tolerance defined within the information processing system, and does not set the own real-time timer when the error is less than the tolerance. 1. A real-time timer value matching processing method, characterized in that a difference between real-time timer values of each of the information processing apparatuses within the information processing system is kept within a predetermined tolerance.
JP58013361A 1983-01-29 1983-01-29 Coincidence processing system of real time timer value Pending JPS59139472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58013361A JPS59139472A (en) 1983-01-29 1983-01-29 Coincidence processing system of real time timer value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58013361A JPS59139472A (en) 1983-01-29 1983-01-29 Coincidence processing system of real time timer value

Publications (1)

Publication Number Publication Date
JPS59139472A true JPS59139472A (en) 1984-08-10

Family

ID=11830955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58013361A Pending JPS59139472A (en) 1983-01-29 1983-01-29 Coincidence processing system of real time timer value

Country Status (1)

Country Link
JP (1) JPS59139472A (en)

Similar Documents

Publication Publication Date Title
JP2867717B2 (en) Microcomputer
JPS59139472A (en) Coincidence processing system of real time timer value
JP2016206891A (en) Access interruption circuit, semiconductor integrated circuit, and access interruption method
JPS59139456A (en) Interruption control system of real time timer
JPS59139473A (en) Real time timer controlling system
JP2871171B2 (en) Microcomputer
JPS59200365A (en) Transfer system of control information
JPS5850367B2 (en) input/output control device
JP2642734B2 (en) Data processing device
JP2837698B2 (en) Direct memory access controller
KR100225873B1 (en) Communication method and apparatus between robot controller and processor
SU1649557A2 (en) Device for controlling of input-output interface
JP2659994B2 (en) Modem monitoring method
JPH04101239A (en) Debugging system for information processor
SU721816A1 (en) Priory device
GB2082810A (en) Improvements in or Relating to Interface Units for Use Between Electronic Processors and Peripheral Units
GB1478503A (en) Method and apparatus for exchanging information between a central unit and a peripheral controller in a data-processing installation
JPH0311447A (en) Transfer circuit for dma transfer data
JPH05128279A (en) One-chip microcomputer
JPS63187359A (en) Guarantee device for right of using common bus of host bus master
JPH03185552A (en) Data receiving circuit
JPS5924328A (en) Interruption controlling system
JPH0452489B2 (en)
JP2001350633A (en) Signal processor
JPH0426576B2 (en)