JPH0728298B2 - Data collection method - Google Patents
Data collection methodInfo
- Publication number
- JPH0728298B2 JPH0728298B2 JP1212661A JP21266189A JPH0728298B2 JP H0728298 B2 JPH0728298 B2 JP H0728298B2 JP 1212661 A JP1212661 A JP 1212661A JP 21266189 A JP21266189 A JP 21266189A JP H0728298 B2 JPH0728298 B2 JP H0728298B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- data
- interrupt
- terminal device
- line
- 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.)
- Expired - Lifetime
Links
Landscapes
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、同一ビル内等での警報監視を行なう1:n型の
監視システムにおけるデータ収集方式に関するものであ
る。The present invention relates to a data collection method in a 1: n type monitoring system for performing alarm monitoring in the same building or the like.
[従来の技術] 従来のこの種の監視システムを第4図に示す。[Prior Art] FIG. 4 shows a conventional monitoring system of this type.
第4図に示すように、従来のこの種の監視システムは、
複数の端末装置2、2と論理的な通信回線3、4でデー
タ通信するためのデータ送信部1a及びデータ受信部1bを
有した主中央装置1と,そして、論理的な通信回線3、
4を通して主中央装置1と通信出来る送信部2a及び受信
部2bを有した複数の端末装置2とから構成されている。As shown in FIG. 4, a conventional monitoring system of this type is
A main central unit 1 having a data transmitting unit 1a and a data receiving unit 1b for data communication with a plurality of terminal devices 2 and 2 through logical communication lines 3 and 4, and a logical communication line 3;
4 is composed of a plurality of terminal devices 2 each having a transmitting unit 2a and a receiving unit 2b capable of communicating with the main central apparatus 1 through 4.
この監視システムにおいては、データ収集方式として、
中央装置1から各種端末装置2を個別に呼び出すポーリ
ング方式を採用していた。In this monitoring system, as a data collection method,
A polling method has been adopted in which the central device 1 calls each terminal device 2 individually.
[発明が解決しようとする課題] 上述した従来のポーリング方式によるデータ収集は、端
末装置の数が多くなるほど全端末装置を1周するスキャ
ンタイミングが長くなり、例えば防災・防犯等のアラー
ムデータの収集とか、マンマシンインタフェースにおけ
る端末応答に長い時間がかかっていた。そこで、データ
収集スピードを上げる方策として端末数を縮小し、少な
い端末数で1つのブロックを構成したり、回線スピード
を高速化する手段がとられていたが、システムの構成上
どうしても高価格となってしまっていた。[Problems to be Solved by the Invention] In the data collection by the conventional polling method described above, as the number of terminal devices increases, the scan timing for making a round around all the terminal devices becomes longer, and for example, alarm data collection such as disaster prevention and crime prevention is collected. Or, it took a long time to respond to the terminal on the man-machine interface. Therefore, as a measure to increase the data collection speed, the number of terminals was reduced, and one block was configured with a small number of terminals, or a means of speeding up the line speed was taken, but the system configuration is inevitably expensive. It was dead.
また、従来のポーリング方式では、各端末装置が回線に
マルチブランチされており、端末間を接続する回線が切
断されてしまった場合、切断回線以降の端末装置からの
データ収集が出来なくなるシステム上の問題を内在して
いた。Further, in the conventional polling method, each terminal device is multi-branched into a line, and when the line connecting the terminals is disconnected, data collection from the terminal device after the disconnection line becomes impossible on the system. The problem was inherent.
[課題を解決するための手段] 本発明の目的は、上述した従来技術の課題を解決し、高
速のデータ収集が安全になされるデータ収集方式を提供
することである。[Means for Solving the Problem] An object of the present invention is to solve the problems of the above-mentioned conventional techniques and to provide a data collection method in which high-speed data collection can be performed safely.
本発明のデータ収集方式は、主中央装置と、副中央装置
と複数の端末装置から成り、主中央装置は、端末装置及
び副中央装置とデータ通信するためのデータ送信部、デ
ータ受信部、端末装置から制御回線を通してデータ送信
したい旨を受信する割込み受信回路、及びこれを上記と
は別の制御回線にて禁止することの出来る割込み禁止回
路を有し;端末装置は、中央装置と通信するための送信
部、受信部、前記制御回線により物理的な接続レベルで
の下位端末装置からの割込み受信、上位端末装置又は主
中央装置からの割込み禁止によりそれ自身の割込み発生
部で検知した主中央装置への送信データ送信要求により
上位への割込みを発生させるかを判断する先発優先回路
を有し;副中央装置は、主中央装置の対局に位置し、主
中央装置との接続回線が正常がどうかを確認する為のデ
ータ受信部、データ送信部、回線切替部、割込み発生
部、及び割込み禁止受信部を有している。The data collection method of the present invention comprises a main central device, a sub central device, and a plurality of terminal devices, and the main central device includes a data transmitting unit, a data receiving unit, and a terminal for data communication with the terminal device and the sub central device. It has an interrupt receiving circuit that receives a data transmission request from a device through a control line, and an interrupt prohibiting circuit that can inhibit this by a control line different from the above; the terminal device is for communicating with the central device. Of the main central unit detected by its own interrupt generation unit by receiving the interrupt from the lower terminal unit at the physical connection level by the transmission unit, the receiving unit, and the control line, and by prohibiting the interrupt from the upper terminal unit or the main central unit. Has a prioritized priority circuit that determines whether to generate an interrupt to a higher level in response to a data transmission request to the main central device; the sub central device is located at the opposite side of the main central device and connected to the main central device. Data receiver for the line to see if normal, the data transmission unit has a line switching unit, the interrupt generation unit, and the interrupt disabled receiver.
[実施例] 次に、本発明のデータ収集方式について、図面を参照し
て説明する。[Embodiment] Next, a data collection method of the present invention will be described with reference to the drawings.
第1図は、本発明に係るデータ収集方式の一実施例を示
すブロック図である。FIG. 1 is a block diagram showing an embodiment of a data collection system according to the present invention.
主中央装置1は、データ送信部1a、データ受信部1b、割
込み禁止回路1c及び割込み受信回路1dを有している。端
末装置2は、送信部2a、受信部2b、割込み発生部2c及び
先発優先回路2dを有している。副中央装置7は、データ
受信部7a、データ送信部7b、回線切換部7c、割込み発生
部7d及び割込み禁止受信部7eを有している。The main central device 1 has a data transmission unit 1a, a data reception unit 1b, an interrupt prohibition circuit 1c, and an interrupt reception circuit 1d. The terminal device 2 has a transmission unit 2a, a reception unit 2b, an interrupt generation unit 2c, and an advance priority circuit 2d. The sub central device 7 has a data receiving unit 7a, a data transmitting unit 7b, a line switching unit 7c, an interrupt generating unit 7d and an interrupt prohibiting receiving unit 7e.
端末装置2の先発優先回路2dは、下位に接続される端末
装置の割込み信号、又はそれ自身から中央装置1に発信
するデータが発生した場合に信号“オン”となる割込み
発生部2cからの信号のどちらか先に入力された方を受付
ける。The advance priority circuit 2d of the terminal device 2 is an interrupt signal of the terminal device connected to the lower order, or a signal from the interrupt generation unit 2c which becomes a signal "on" when data to be transmitted to the central device 1 from itself is generated. Whichever is entered first will be accepted.
もし、割込み制御線5にて下位装置からの割込みを先に
受付けた場合、それ自身の割込み発生部2cからの信号は
受付け禁止とし、一方、それ自身の割込み発生部2cから
の信号を先に受付けた場合は、割込み禁止制御線6を使
用し、他端末装置2での先発優先回路の機能を停止させ
るようにする。If an interrupt from the lower device is accepted first by the interrupt control line 5, the signal from its own interrupt generation unit 2c is prohibited, while the signal from its own interrupt generation unit 2c is accepted first. If accepted, the interrupt prohibition control line 6 is used to stop the function of the advance priority circuit in the other terminal device 2.
こうした場合、中央装置1へは端末装置2間の割込み制
御線5、割込み禁止制御線6により、割込み発生する端
末装置2はただ1台に限定することが出来る。In such a case, the central device 1 can be limited to only one terminal device 2 by the interrupt control line 5 and the interrupt prohibition control line 6 between the terminal devices 2.
中央装置1と各端末装置2間は通常通信回線3、4を使
用しポーリング方式によりデータ収集されているが、中
央装置1は割込み制御線5により割込みが発生した場
合、割込み発生した端末装置2よりデータを収集するた
めにアドレス指定無しの割込みポーリングを実施する。Data is normally collected between the central device 1 and each terminal device 2 by the polling method using the communication lines 3 and 4. However, when an interrupt is generated by the interrupt control line 5, the central device 1 generates the interrupted terminal device 2 Perform interrupt polling without addressing to collect more data.
上記に述べた様にアドレス指定無しでポーリングして
も、割込み制御線5、割込み禁止制御線6により、割込
み発生する端末装置2は1台に制限されているため割込
みを発生した端末装置2のみ応答データを返すことが可
能となる。Even if polling is performed without addressing as described above, the interrupt control line 5 and the interrupt prohibition control line 6 limit the number of terminal devices 2 that generate an interrupt, so only the terminal device 2 that generated an interrupt It is possible to return response data.
中央装置1は、端末装置2よりのデータを正常に受信し
た場合、これを示す確認信号(ACK)を端末装置2に返
す。When the central device 1 normally receives the data from the terminal device 2, it returns a confirmation signal (ACK) indicating this to the terminal device 2.
端末装置2は、中央装置1からの確認信号で内部先発優
先回路2dでの下位端末装置2に対する割込み禁止状態を
解除する。The terminal device 2 releases the interrupt-disabled state for the lower terminal device 2 in the internal advance priority circuit 2d by the confirmation signal from the central device 1.
こうした場合、すでに中央装置1へデータを送信したい
端末装置2は、上述した事と同様に先発優先回路2dが動
作し、1台に制限されて中央装置1へ割込む。In such a case, in the terminal device 2 which already wants to transmit data to the central device 1, the advance priority circuit 2d operates in the same manner as described above, and the terminal device 2 is limited to one and interrupts the central device 1.
同様にして、送信データが発生した端末を特定して割込
みポーリングするため、ただのポーリング方式よりは高
速にデータ収集する事が可能となる。Similarly, since the terminal in which the transmission data has occurred is specified and interrupt polling is performed, it is possible to collect data at a higher speed than a simple polling method.
上記タイミングを第2図に示す。The above timing is shown in FIG.
中央装置1と副中央装置7は、複数の端末装置2を間に
して通信回線3、4により接続されていると共に割込み
制御線5及び割込み禁止制御線6を通して端末装置2と
接続される。The central unit 1 and the sub central unit 7 are connected by the communication lines 3 and 4 with a plurality of terminal units 2 in between, and are also connected to the terminal unit 2 through the interrupt control line 5 and the interrupt prohibition control line 6.
副中央装置7は、一定期間主中央装置1からのポーリン
グ呼び出しが来なかった場合、通信回線3、4に切断が
あったと判断し、回線切替部7cを制御して端末装置2に
対しポーリング動作を開始する。When the polling call from the main central apparatus 1 does not arrive for a certain period of time, the sub central apparatus 7 determines that the communication lines 3 and 4 are disconnected, and controls the line switching unit 7c to perform a polling operation on the terminal device 2. To start.
副中央装置7のポーリング動作は、割込み禁止受信部7e
に“オン”信号が入力されると停止し、回線切替部7cを
制御して、主中央装置1からのデータを受信する体制に
入る。The polling operation of the sub central device 7 is performed by the interrupt prohibition reception unit 7e.
When the "ON" signal is input to the terminal, the line switching unit 7c is controlled and the system for receiving the data from the main central unit 1 is set.
又、主中央装置1では副中央装置7からの応答が来なく
なった場合、通信回線が切断されたと判断し通信回線3
にポーリング開始指示を送信し、副中央装置7が端末装
置2に対しポーリング動作を開始することを指示する。Further, when the main central unit 1 does not receive a response from the sub central unit 7, it judges that the communication line is disconnected and the communication line 3
To the terminal device 2, and the sub central device 7 instructs the terminal device 2 to start the polling operation.
又、主中央装置1は、割込み禁止回路1cを制御し、副中
央装置7のポーリング動作を定期的に停止させ、通信回
線3、4が復旧したかどうかの確認を行なう。Further, the main central unit 1 controls the interrupt prohibiting circuit 1c, periodically stops the polling operation of the sub central unit 7, and confirms whether the communication lines 3 and 4 have been restored.
この時のタイミングを第3図に示す。The timing at this time is shown in FIG.
[発明の効果] 以上説明したように、本発明のデータ収集方式において
は、主中央装置又は副中央装置により通信回線が切断さ
れても端末装置に対してはどちらかがポーリング動作を
行なう事によりデータ収集がなされる。[Effects of the Invention] As described above, in the data collection method of the present invention, even if the communication line is disconnected by the main central unit or the sub central unit, either of the terminal units performs the polling operation. Data collection is done.
通信回線に切断が無い状態では、主中央装置と端末装置
間は通常のポーリング動作に加え、割込み方式でのデー
タ通信を行なう事も出来、従来に比して高速のデータ収
集が安全になされる事になる。In the state where there is no disconnection in the communication line, in addition to the normal polling operation between the main central unit and the terminal unit, data communication by the interrupt method can be performed, and data collection at a higher speed than before can be done safely. It will be a matter.
第1図は、本発明に係るデータ収集方式の一実施例を示
すブロック図である。 第2図及び第3図は、それぞれ、第1図の動作を示すタ
イミング図である。 第4図は、従来のデータ収集方式のブロック図である。 1……主中央装置、2……端末装置 3、4……通信回線、5……割込み制御線 6……割込み禁止制御線FIG. 1 is a block diagram showing an embodiment of a data collection system according to the present invention. 2 and 3 are timing charts showing the operation of FIG. 1, respectively. FIG. 4 is a block diagram of a conventional data collection method. 1 ... Main central unit, 2 ... Terminal unit 3,4 ... Communication line, 5 ... Interruption control line 6 ... Interruption prohibition control line
Claims (1)
タ通信するためのデータ送信部、データ受信部、端末装
置から制御回路を通してデータ送信したい旨を受信する
割込み受信回路、及び同じく端末装置から制御回路を通
してデータ送信したい旨を前記割込み受信回路とは別の
制御回線にて禁止する事の出来る割込み禁止回路を有し
た主中央装置と;前記論理的な通信回線を通して主中央
装置と通信出来る送信部、受信部、及び前記制御回線に
より、物理的な接続レベルでの下位端末装置からの割込
み受信、上位端末装置又は主中央装置からの割込み禁止
により、それ自身の割込み発生部で検知した主中央装置
への送信データ送信要求により上位への割込みを発生さ
せるかを判断する先発優先回路を有した複数の端末装置
と;前記主中央装置の対局に位置し、主中央装置とデー
タ通信するためのデータ受信部、データ送信部、回線切
替部、回線切替部を切替えるトリガの1つとなる割込み
禁止受信部、及び割込み発生部を有した副中央装置と;
から構成されるデータ収集方式において、 端末装置で発生するデータを主中央装置が論理的な通信
回線を使用したポーリングにより収集する他、割込み回
線により、端末装置相互間において中央装置へ割込む端
末装置を1台に特定し、主中央装置からの割込みポーリ
ング時に、ただ1台の端末装置のみ応答するよう制御回
線により禁止する手段と、主中央装置と副中央装置との
間の論理回線が切断された場合、副中央装置が自動的に
端末装置をポーリングする手段とを有する事を特徴とし
たデータ収集方式。1. A data transmitting unit for performing data communication with a plurality of terminal devices through a logical communication line, a data receiving unit, an interrupt receiving circuit for receiving a data transmission request from the terminal device through a control circuit, and the terminal device. From the main central unit having an interrupt prohibition circuit capable of prohibiting the fact that the user wants to transmit data through the control circuit via a control line different from the interrupt receiving circuit; can communicate with the main central unit through the logical communication line The transmitter, the receiver, and the control line receive interrupts from the lower-level terminal device at the physical connection level, and disable interrupts from the higher-level terminal device or the main central unit. A plurality of terminal devices having an advance priority circuit that determines whether or not to generate an interrupt to a host in response to a transmission data transmission request to the central device; , A data receiving unit for data communication with the main central unit, a data transmitting unit, a line switching unit, an interrupt prohibiting receiving unit which is one of the triggers for switching the line switching unit, and an auxiliary generating unit. Central device;
In the data collection method consisting of, the main central device collects the data generated by the terminal device by polling using a logical communication line, and the interrupt device also interrupts the data between the terminal devices to the central device. Is specified as one unit, and at the time of interrupt polling from the main central unit, the means for prohibiting only one terminal unit to respond by the control line and the logical line between the main central unit and the sub central unit are disconnected. In this case, the sub-central device has a means for automatically polling the terminal device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1212661A JPH0728298B2 (en) | 1989-08-18 | 1989-08-18 | Data collection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1212661A JPH0728298B2 (en) | 1989-08-18 | 1989-08-18 | Data collection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0376448A JPH0376448A (en) | 1991-04-02 |
| JPH0728298B2 true JPH0728298B2 (en) | 1995-03-29 |
Family
ID=16626311
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1212661A Expired - Lifetime JPH0728298B2 (en) | 1989-08-18 | 1989-08-18 | Data collection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0728298B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63240147A (en) * | 1987-03-27 | 1988-10-05 | Toshiba Corp | Status supervisory system |
| JPH0795868B2 (en) * | 1987-05-15 | 1995-10-11 | 株式会社日立製作所 | Information transmission method in remote monitoring system |
| JPS648747A (en) * | 1987-07-01 | 1989-01-12 | Fujitsu Ltd | Polling system |
| JPH0693689B2 (en) * | 1989-07-03 | 1994-11-16 | 日本電気株式会社 | Data collection method |
-
1989
- 1989-08-18 JP JP1212661A patent/JPH0728298B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0376448A (en) | 1991-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5511230A (en) | Communication system between master system and multiple slave systems in time division mode where a next slave is serviced upon receipt of final acknowledgement | |
| JPH0728298B2 (en) | Data collection method | |
| JP2679775B2 (en) | Communication method between CPUs | |
| JPH0437614B2 (en) | ||
| JP3189054B2 (en) | Subscriber device | |
| JPH0473178B2 (en) | ||
| JPH0740702B2 (en) | Remote test circuit | |
| JP2531851B2 (en) | Gateway device | |
| JP2666849B2 (en) | Remote monitoring device | |
| JPH0228938B2 (en) | ||
| JPH0223740A (en) | Communication network system | |
| JP2609706B2 (en) | Data transmission equipment | |
| JP2695443B2 (en) | Modem automatic switching system | |
| JPH05316256A (en) | Broadcast communication switching device | |
| JP2752497B2 (en) | Telephone line switching device | |
| JPS59200560A (en) | Talk time monitoring device | |
| JPH0537574Y2 (en) | ||
| JPS62159245A (en) | Computer system health check method | |
| JPS5990445A (en) | Remote supervisory and controlling system | |
| JPS59186460A (en) | Automatic origination and termination type network controller | |
| JPH0465961A (en) | Communication equipment | |
| JPH0591211A (en) | Communication control system | |
| JPH0553437B2 (en) | ||
| JPS60177748A (en) | Line control method | |
| JPH0834526B2 (en) | Communication terminal |