JPS5866161A - Diagnostic system - Google Patents

Diagnostic system

Info

Publication number
JPS5866161A
JPS5866161A JP56165063A JP16506381A JPS5866161A JP S5866161 A JPS5866161 A JP S5866161A JP 56165063 A JP56165063 A JP 56165063A JP 16506381 A JP16506381 A JP 16506381A JP S5866161 A JPS5866161 A JP S5866161A
Authority
JP
Japan
Prior art keywords
transaction
processing
main
diagnosis
periodic
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
JP56165063A
Other languages
Japanese (ja)
Other versions
JPS6212543B2 (en
Inventor
Terumi Fujita
藤田 輝美
Tsunehisa Yoshida
吉田 恒久
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 JP56165063A priority Critical patent/JPS5866161A/en
Publication of JPS5866161A publication Critical patent/JPS5866161A/en
Publication of JPS6212543B2 publication Critical patent/JPS6212543B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing

Abstract

PURPOSE:To detect the abnormality quickly while improving the processing efficiency, by by-passing the diagnostic route between an external connection device, where a transaction is generated, and a processor, to open the processing route and diagnosing idle routes. CONSTITUTION:A detector 8 is provided following a controlling part 9; and when a transaction is generated, a flag is set in a status 12, and processor 1 and 2 recognize it. A start period T of the periodic diagnosis is shortened by a timer 6. If a transaction 15-1 is generated in an A device 10 during the diagnosis on a periodic diagnosis routine 14-1, the flag of the status 12 is detected by the processor 1 or 2 to by-pass the diagnosis for the A device 10, and the transaction is processed. Similarly, processings for a corresponding routine 14-1 or 14-2 is by-passed when the time for the periodic diagnosis routine processing comes during the processing of a transaction 15-1 or 15-2.

Description

【発明の詳細な説明】 本発明は主処理装置と従処理装置及び外部接続装置とに
よっ・て構成され該主・従処理装置間及び該主・従処理
装置と咳外部接M装置との通信によって情報の授受を行
うシステムに係シ特に高トラフィツクでトランザクショ
ン発生頻度に予側出粂ないむらがある場合トランザクシ
曹ン処理効率を低下させない診断方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is constituted by a main processing device, a sub processing device, and an external connection device, and a connection between the main and sub processing devices and between the main and sub processing devices and a cough external connection M device. The present invention relates to a diagnostic method that does not reduce transaction processing efficiency in a system that exchanges information through communication, especially when there is high traffic and uneven transaction frequency.

公営競技の競馬、競輪、オートレース、競艇等の発売あ
るいは払戻しシステム等においては高信頼性を要求され
る馬主・従の処理装置をデュアルにし又定期診断はトラ
ンザクションの頻度に関係なく定められた時間(例へは
数分)毎に起動され主・従処理装置間及び主・従処理装
置と外部接続装置間の定められた診断処理を実行してい
る。このため該別められた時間内の定期診断を行表う時
間の残)の時間でトランザクションの処理を行なう必要
がある。この為トランザクションの発生頻度が高い時は
トランザクション待ちを生じ処理効率が低下する。定期
診断を頻繁に行なうのけ故障を早く見つけて例へは外部
接続装置が故障の場合はこれに接続されている例えば払
戻し端末を他の外部接続装置に接続替えをしてトラブル
を無くする必要がある為である。
In the sale or refund system for public competitions such as horse racing, bicycle racing, auto racing, and boat racing, the processing equipment for horse owners and subordinates that requires high reliability is dual-equipped, and periodic diagnostics are carried out at specified times regardless of the frequency of transactions. It is activated every few minutes (for example, several minutes) and executes prescribed diagnostic processing between the main and slave processing units and between the main and slave processing units and externally connected devices. Therefore, it is necessary to process the transaction in the time remaining after the periodic diagnosis is performed within the specified time period. Therefore, when the frequency of transactions is high, transaction waiting occurs and processing efficiency decreases. Frequently performing periodic diagnostics will help you find failures early. For example, if an external connection device is out of order, you will need to replace the refund terminal connected to it with another external connection device to eliminate the problem. This is because there is.

又例へば払戻しの発生#JI度は予測出来ないむらがあ
る。この為従来は高価だが処理速度がトラフィック量に
比して格段に早いシステムを用いなければならない欠点
がある。文処理速度がトラフィック量に近いシステムの
場合はトランザクションの発生頻度のむらが予測出来な
いので診断周期のかな−りの延長又は診断項目の分割尋
の手法を用いなければならないため信頼性を犠牲にし処
理ルートの異常の場合の対応が遅くなる欠点がある。
For example, the occurrence of refund #JI is unpredictable and uneven. For this reason, conventional systems have the disadvantage of requiring the use of systems that are expensive but have significantly faster processing speeds than the amount of traffic. In the case of a system where the text processing speed is close to the traffic volume, it is impossible to predict the unevenness of the frequency of transactions, so it is necessary to extend the diagnostic cycle or divide the diagnostic items by a large amount, thereby sacrificing reliability. The disadvantage is that the response to route abnormalities is delayed.

本発明の目的は上記の欠点をなくするために処理速度が
遅くトラフィック量に近いシステムでもトランザクシ■
ンの処理効率を島めながら処理ルートの異常を早く検知
出来る診断方式の提供にある0 本発明は上記の目的を達成するために定期診断ルーチン
の起動周ルjを数秒程度に短縮しておき、トランザクシ
■ンが発生している外部接続装置と主・従処理装置間の
診断ルートは迂回させることによす、トランザクション
の処理ルートを開放して、トランザクションの待ちを解
Y内し トランザ従処理装置間、又は全部の外部接続装
置のトランザクションが発生していない時に該主・従処
理装置間の診断を行なう如くシ、トランザクション処理
効率を肯めながら処理ルートの異常を早く検出出来るこ
とを%像とする。
The purpose of the present invention is to eliminate the above-mentioned drawbacks by making transactions possible even in systems with slow processing speeds and close to the amount of traffic.
To achieve the above object, the present invention provides a diagnostic method that can quickly detect abnormalities in the processing route while reducing processing efficiency. , the diagnostic route between the external connection device where the transaction is occurring and the main/slave processing device will be detoured, the transaction processing route will be opened, and transaction waiting will be resolved.Transaction slave processing By diagnosing between devices or between the main and slave processing devices when no transactions are occurring on any externally connected devices, it is possible to quickly detect abnormalities in the processing route while maintaining transaction processing efficiency. shall be.

以下本発明の1実施例につき図に従って説明する。An embodiment of the present invention will be described below with reference to the drawings.

第1図は本システムの概念図、第2図は本発明の実施例
のトランザクション検出を中心としたブロック図、第3
南は本発明の実施例の診断を行うタイムチャート、第4
図は本発明の実施例の診断のフローチャートを示す。
Figure 1 is a conceptual diagram of this system, Figure 2 is a block diagram centered on transaction detection in an embodiment of the present invention, and Figure 3 is a conceptual diagram of the system.
South is a time chart for diagnosing the embodiment of the present invention, No. 4
The figure shows a flowchart of diagnosis according to an embodiment of the present invention.

図中1は主処理装置、2は従処理装置、3−1.3−2
は外部接続装置、4−1〜4−n、 5−1〜5−nは
端末、6はタイマー、7Fi定期診断ルーチン、8はト
ランザクション検出部、9は外s接続の制御部、10は
外部接続装置のA装置(以下A装置と称す)、1[は外
部接続装置のB装置(以下B装置と称す)、12.13
はトランザクションの発生を示すステータス、Tは定期
診断ルーチンの起動周期、14−1はA装置10と主処
理装置1又は従処理装置2との間の定期診断ルーチン、
14−2はB装置111と主処理装置l又は従処理装置
2との間の定期診断ルーチン、14−3は主処理装置1
と従処理装置2との間の定期診断ルーチン、15−1.
15−2社人装置10、B装置111よりのトランザク
ションの発生を示す0本システムは第1図に示す如く端
末4−1〜4−nよりトランザクションが発生すると外
部接続装置3−1を介し又端末5−1〜5−nよシト2
ンザクシヨンが発生すると外部接続装置1i3−2を介
しデュアルの動作をする主処理装fj/It、l及び従
処理装置2に情報を送多処理をしている0定期診断ルー
チン7は主・従処理装置1,2に持っておシ通常は主処
理装置1の定期診断ルーチン7によ)外部接続装置3−
1.3−2と主処理装置lの間及び主・従処理装置1.
20間の定期診断を行?ている。
In the figure, 1 is the main processing unit, 2 is the sub-processing unit, 3-1.3-2
are external connection devices, 4-1 to 4-n, 5-1 to 5-n are terminals, 6 is a timer, 7Fi periodic diagnosis routine, 8 is a transaction detection unit, 9 is an external connection control unit, 10 is an external A device (hereinafter referred to as A device) which is a connected device, 1 [ is referred to as B device (hereinafter referred to as B device) which is an external connected device, 12.13
14-1 is a status indicating the occurrence of a transaction, T is a startup cycle of a periodic diagnosis routine, 14-1 is a periodic diagnosis routine between the A device 10 and the main processing device 1 or the slave processing device 2,
14-2 is a periodic diagnosis routine between the B device 111 and the main processing device 1 or the slave processing device 2, and 14-3 is the main processing device 1
Periodic diagnosis routine between and slave processing device 2, 15-1.
15-2 Indicates the occurrence of a transaction from the company's device 10 and the B device 111 This system, as shown in FIG. Terminals 5-1 to 5-n, site 2
When a malfunction occurs, the regular diagnostic routine 7, which performs multi-processing processing, sends information to the main processing unit fj/It, l, which performs dual operation, and the slave processing unit 2 via the external connection device 1i3-2. External connection device 3-
1.3-2 and the main processing unit 1 and the main/slave processing unit 1.
Have you had a regular checkup for 20 years? ing.

着し外S接続装置3−2との処理ルートカニ異常の場合
は端末5−1〜5−nを例へは外部処理装置3−1に接
続して端末5−1〜ト1も使用出来るようにしてトラブ
ルの発生を防いでいる。処理装置1,2はシュアルの動
作をしているので一方が異常でも他方で処理出来るよう
になっている0従来は端末4−1〜4−n、5−1〜5
−nよりのトランザクションの発生に関係なく定められ
た時間毎(数分)に定期診断を行ない余った時間でトラ
ンザクションの処理を行っているのでトランザクシーフ
ンの発生頻度が多いとトランザクション待ちを生じ処理
効率が低下していた。本発明の場合は第2図に示す如く
外部接続の制御部90次にロジック回路によ)構成され
たトランザクション検出部8を設けA装置10、B装置
11よシトランザクジョンが発生すると外S接続の制御
部9にて制御されこのトランザクション情報がトランザ
クション検出部8に送られA装置lOよりのトランザク
ション発生ならばステータス12に例へばフラグAを立
て、B装置llよシのトランザクション発生ならばステ
ータス13に例へはスラグBを立てる。
If the processing route with the external S connection device 3-2 is abnormal, connect the terminals 5-1 to 5-n to the external processing device 3-1 so that the terminals 5-1 to 1 can also be used. This prevents problems from occurring. Processing devices 1 and 2 operate in a natural manner, so even if one is abnormal, the other can handle the processing.0 Conventionally, terminals 4-1 to 4-n, 5-1 to 5
-Regardless of the occurrence of transactions from n, periodic diagnosis is performed every predetermined time (several minutes), and transactions are processed using the remaining time, so if transaction thief occurs frequently, transactions may be waited for and processed. Efficiency was decreasing. In the case of the present invention, as shown in FIG. 2, a transaction detecting section 8 configured with an externally connected control section 90 and a logic circuit is provided, and when a transaction occurs between the A device 10 and the B device 11, an external S connection is provided. This transaction information is sent to the transaction detection unit 8, and if a transaction occurs from device A, flag A is set in status 12, and if a transaction occurs from device B, flag A is set to status 13. For example, set slug B.

これによシ主・従の処理装置1.2はA装置10、B装
置11よシのトランザクションの発生を認知する。定期
診断ルーチン7はA装置lOと主処理装置1又は従処理
装置2との間の定期診断ルーチン14−11B装置k’
llと主処理装置1又は従処理装置2との間の定期診断
ルーチン14−2、主処理装置1と従処理装置2の間の
定期診断ルーチン14−3よシなっている。
As a result, the master and slave processing devices 1.2 recognize the occurrence of a transaction between the A device 10 and the B device 11. The periodic diagnosis routine 7 is a periodic diagnosis routine 14-11B device k' between the A device lO and the main processing device 1 or the slave processing device 2.
A periodic diagnosis routine 14-2 between the main processing device 1 and the main processing device 1 or the slave processing device 2, and a periodic diagnosis routine 14-3 between the main processing device 1 and the slave processing device 2.

又タイマ6にて定期診断の起動周期Tは短縮(数秒程度
と)しておく。これによシ第3図第4図に示す如く定期
診断ルーチン14−1にて診断を行っている途中にてA
装置10よシのトランザクションの発生15−1がある
とステータス12のフラグがAとなるので主処理装置1
又は従処理装置2はこれを検知してAIIcfIt#断
を迂回しトランザクションの処理を行う。又定期診断ル
→2ン14−2にて診断を行っている途中にてB装fi
llよシのトランザクションが発生15−2があるとス
テータス13のフラグがBとなるので上記と同じくB装
置診断を迂回しトランザクションの処理を行う。
Also, the timer 6 is used to shorten the activation cycle T of the periodic diagnosis (to about several seconds). As a result, as shown in FIG. 3 and FIG. 4, during the periodic diagnosis routine 14-1,
When there is a transaction 15-1 from the device 10, the flag of the status 12 becomes A, so the main processing device 1
Alternatively, the slave processing device 2 detects this, bypasses the AIIcfIt# disconnection, and processes the transaction. Also, during the periodic diagnosis → 2nd 14-2, the B equipment was
If a 15-2 transaction occurs, the flag of the status 13 becomes B, and the transaction is processed by bypassing the B device diagnosis in the same way as described above.

定期診断ルーチン14−3にてi断を行っている途中に
て例へばイに示す如くA装置10よりのトランザクショ
ンの発生15−1があるとステータス12のフラグがA
となるので主・従処理装置    −間の診断を迂回し
てトランザクションの処理を行う0 尚トランザクション15−1又は15−2が定期診断ル
ーチン14−1又は14−2の診断時間の前に発生して
おりトランザクション処理中に定期診断ルーチン処理の
時間がきた時はこれに対応する定期診断ルーチン14−
1又は14−2の処理は迂回するし又トランザクション
15−1又は15−2が定期診断ルーチン14−3の診
断時間の前に発生しておりトランザクション処理中に定
期診断ルーテン14−3の時間がきた時は定期診断ルー
テン14−3の処理は迂回する。
For example, when a transaction is generated 15-1 from the A device 10 as shown in A while the periodic diagnostic routine 14-3 is disconnecting, the flag of the status 12 is set to A.
Therefore, the transaction is processed by bypassing the diagnosis between the main and slave processing units. Furthermore, if transaction 15-1 or 15-2 occurs before the diagnosis time of periodic diagnosis routine 14-1 or 14-2, When the periodic diagnostic routine processing time comes during transaction processing, the corresponding periodic diagnostic routine 14-
1 or 14-2 is bypassed, and since transaction 15-1 or 15-2 occurs before the diagnosis time of periodic diagnosis routine 14-3, the periodic diagnosis routine 14-3 time occurs during transaction processing. When this occurs, the processing of periodic diagnosis routine 14-3 is bypassed.

定期診断ルーチン14−IKて診断を行りている閘にA
装置1li10よりのトランザクションの発生がなく、
又定期診断ルーチン14−2にて診断を行っている間に
Bi[11よシのトランザクションの発生がなく、定期
診断ルーチン14−3にて診断を行っている間にA装置
10及びB装置11よりのトランザクションの発生がな
い場合は口、ハ、二に示す如く通常の診断を行う。この
ことによりトランザクション処理の効率を低下さすこと
はなくなるし又定期診断周期も短いので異常を早く検知
出来る。従って処理速度が遅くトラフィック量に近いシ
ステムでも処理可能となる。
Periodic Diagnosis Routine 14 - A to the lock where the IK is being diagnosed.
No transactions occur from device 1li10,
Also, while the periodic diagnosis routine 14-2 is performing the diagnosis, no transaction occurs in Bi[11], and while the periodic diagnosis routine 14-3 is performing the diagnosis, the A device 10 and the B device 11 If no transactions occur, normal diagnosis is performed as shown in Sections 1, 2 and 2. As a result, the efficiency of transaction processing is not reduced, and the periodic diagnosis cycle is short, so that abnormalities can be detected quickly. Therefore, even a system with a slow processing speed and close to the amount of traffic can process it.

以上詳細に説明した如く本発明によればトランザクショ
ン処理効率を高めながら処理ルートの異常を早く検知出
来るので処理速度が遅くトラフィック量に近いシステム
でも処理可能となり安価なシステムで構成出来る効果が
ある。
As described in detail above, according to the present invention, an abnormality in a processing route can be quickly detected while improving transaction processing efficiency, so that even a system with a slow processing speed and a similar traffic volume can process the transaction, resulting in an inexpensive system configuration.

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

第1図は本システムの概念図、第2図は本発明の実施例
のトランザクション構出を中心としたブロック図、第3
図は本発明の実施例の診断を行うタイムチャート、第4
図i本発明の実施例の診断のフローチャートを示す0 図中1は主処理装置、2は従処理装置、3−1.3−2
は外部接続装置、4−1〜4−n、5−1〜5−nは端
末、6はタイマー、7は診断ルーチン、8はトランザク
ション検出部、9は外S接続の制御部、10はA装置、
11はB装置、12.13はトランザクションの発生を
示すステータス、14−1はA装置10と主処理装[1
又は従処理装置2との間の定期診断ルーチン、14−2
はB装置11と主処理装置1又は従処理装[2とめ間の
定期診断ルーチン、14−3は主処理装置1と従処理装
@2との間の定期診断ルーチン、15−1.15−2は
A装置10  B装fillよシのトランザクションの
発生を示しTは定期診断ルーチンの起動周期を示す0
Figure 1 is a conceptual diagram of this system, Figure 2 is a block diagram centered on the transaction structure of an embodiment of the present invention, and Figure 3 is a conceptual diagram of this system.
The figure is a time chart for diagnosing the embodiment of the present invention.
Figure i shows a flowchart of diagnosis according to an embodiment of the present invention. In the figure, 1 is a main processing unit, 2 is a sub-processing unit, 3-1.3-2
4-1 to 4-n, 5-1 to 5-n are terminals, 6 is a timer, 7 is a diagnostic routine, 8 is a transaction detection unit, 9 is an external S connection control unit, 10 is an A Device,
11 is the B device, 12.13 is the status indicating the occurrence of a transaction, and 14-1 is the A device 10 and the main processing unit [1
Or a periodic diagnosis routine with the slave processing device 2, 14-2
14-3 is a periodic diagnosis routine between B device 11 and main processing device 1 or slave processing device [2], 14-3 is a periodic diagnosis routine between main processing device 1 and slave processing device @2, 15-1.15- 2 indicates the occurrence of a transaction between device A 10 and device B fill, and T indicates the startup cycle of the periodic diagnostic routine.

Claims (1)

【特許請求の範囲】[Claims] 主処理装置と従処理装置及び外部接続装置とによって構
成され該主・従処理装置間及び該主・従処理装置と該外
部接続装置との通信によって情報の授受を行うシステム
において、該外部接続装置毎と該主・従処理装置間及び
該主・従処理装置間の定期1断ルーチンを該主・従処理
装置に持ち、又該外部接続装置毎のトランザクションの
発生を検知する手段を設け、トランザクS/ロンの発生
していない時当該外部接続装置の診断を行ない又全部の
該外部接続装置のトランザクションが発生1−でいない
時該主・従処理装置間の診断を行なうことを特徴とする
診断方式0
In a system configured by a main processing device, a slave processing device, and an external connection device, and in which information is exchanged by communication between the main and slave processing devices and between the main and slave processing devices and the external connection device, the external connection device The main/slave processing device has a periodic interrupt routine between the main/slave processing device and the main/slave processing device, and a means for detecting the occurrence of a transaction for each externally connected device is provided. Diagnosis characterized in that when no S/LON occurs, the externally connected device is diagnosed, and when all the transactions of the externally connected device are not generated 1-, the diagnosis is performed between the main and slave processing devices. Method 0
JP56165063A 1981-10-16 1981-10-16 Diagnostic system Granted JPS5866161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56165063A JPS5866161A (en) 1981-10-16 1981-10-16 Diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56165063A JPS5866161A (en) 1981-10-16 1981-10-16 Diagnostic system

Publications (2)

Publication Number Publication Date
JPS5866161A true JPS5866161A (en) 1983-04-20
JPS6212543B2 JPS6212543B2 (en) 1987-03-19

Family

ID=15805146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56165063A Granted JPS5866161A (en) 1981-10-16 1981-10-16 Diagnostic system

Country Status (1)

Country Link
JP (1) JPS5866161A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5026417A (en) * 1973-02-28 1975-03-19
JPS5248944A (en) * 1975-10-17 1977-04-19 Nippon Telegr & Teleph Corp <Ntt> Information processing system control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5026417A (en) * 1973-02-28 1975-03-19
JPS5248944A (en) * 1975-10-17 1977-04-19 Nippon Telegr & Teleph Corp <Ntt> Information processing system control system

Also Published As

Publication number Publication date
JPS6212543B2 (en) 1987-03-19

Similar Documents

Publication Publication Date Title
JPS5866161A (en) Diagnostic system
JPH0652130A (en) Multiprocessor system
JPS60100231A (en) System constitution control system of information processor
JPS61120247A (en) Detector for runaway of controller
JPS60134942A (en) Backup system for abnormal state
JP2611549B2 (en) Elevator group control device
JPS63133820A (en) Digital protective relay
JPH0426738B2 (en)
JPH04293133A (en) Fault monitoring system in loosely coupled multi-processor system
JPS63181001A (en) Fault diagnosing device
JPH0363731A (en) System fault processing method
JPS6015701A (en) Control interface device
JPS6042496B2 (en) Parity error processing method
JPH07302208A (en) Protective relay device
JPH1020968A (en) Selective hardware resetting circuit
JP2000200200A (en) Information processor and information processing method
JPS59229945A (en) Abnormality detecting method of dual control signal route
JPH05233576A (en) Duplex system
JPH03204739A (en) Microcomputer
JPS62216048A (en) Runaway detecting system for processor
JPH04182835A (en) Bus monitor device for multiprocessor system
JPH04329461A (en) Fault processing system
JPH02216576A (en) Multi-processor control system
JPS59105154A (en) Method for controlling transfer of information
JPS58109942A (en) Multiplex microcomputer control system by diagnostic mpu