JPH06236332A - Program loading device - Google Patents
Program loading deviceInfo
- Publication number
- JPH06236332A JPH06236332A JP5021421A JP2142193A JPH06236332A JP H06236332 A JPH06236332 A JP H06236332A JP 5021421 A JP5021421 A JP 5021421A JP 2142193 A JP2142193 A JP 2142193A JP H06236332 A JPH06236332 A JP H06236332A
- Authority
- JP
- Japan
- Prior art keywords
- program
- terminal device
- memory
- center device
- new
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 47
- 230000005856 abnormality Effects 0.000 claims abstract description 32
- 230000004044 response Effects 0.000 claims abstract description 12
- 238000012546 transfer Methods 0.000 claims description 16
- 238000009434 installation Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 13
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 238000012806 monitoring device Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Stored Programmes (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、センタ装置と端末装置
との間で通信路を介して情報の送受信を行なうことによ
り、センタ装置から端末装置へプログラムをローディン
グする装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for loading a program from a center device to a terminal device by transmitting and receiving information between the center device and the terminal device via a communication path.
【0002】[0002]
【従来の技術】図4はセンタ装置と複数の端末装置との
接続例を示す図である。図4の例において、単一のセン
タ装置101と、複数n個の端末装置103又は103
Aは、それぞれ自己の変復調装置102を介し、公衆通
信回路網104により接続され、相互に情報の送受信を
行なうことができる。従来センタ装置から遠隔地にある
複数の端末装置に、それぞれプログラムをローディング
する場合には、図4のように接続された通信路を介して
情報の送受信を行なうことにより実施していた。2. Description of the Related Art FIG. 4 is a diagram showing an example of connection between a center device and a plurality of terminal devices. In the example of FIG. 4, a single center device 101 and a plurality of n terminal devices 103 or 103
Each A is connected by a public communication circuit network 104 via its own modulation / demodulation device 102, and can send and receive information to and from each other. Conventionally, when a program is loaded from a center device to a plurality of terminal devices at remote locations, information is transmitted and received via a communication path connected as shown in FIG.
【0003】図5は従来の端末装置の構成を示すブロッ
ク図である。図5において、端末装置103Aは、セン
トラル・プロセシング・ユニット(以下CPUという)
1、直接アクセス制御回路(以下DMA制御回路とい
う)2、メモリ制御回路3A、メモリ4A及びインタフ
ェース回路6により構成され、CPU1とその他の機器
とは、アドレスバス及びデータバス7を介して相互に接
続されている。DMA制御回路2は、先頭アドレスとバ
イト長のデータが設定されると、CPU1を介さない
で、メモリ4Aへ直接アクセス動作を行なう回路であ
る。FIG. 5 is a block diagram showing the structure of a conventional terminal device. In FIG. 5, the terminal device 103A is a central processing unit (hereinafter referred to as CPU).
1, a direct access control circuit (hereinafter referred to as a DMA control circuit) 2, a memory control circuit 3A, a memory 4A and an interface circuit 6, and the CPU 1 and other devices are connected to each other via an address bus and a data bus 7. ing. The DMA control circuit 2 is a circuit for directly accessing the memory 4A without passing through the CPU 1 when a head address and byte length data are set.
【0004】図5のメモリ制御回路3Aは、CPU1及
びDMA制御回路2からの指令に基づき、メモリ4Aに
対するデータの書込み及び読出し動作を制御する回路で
ある。インタフェース回路6は、変復調装置(一般にモ
デムと呼ばれる)102を介した図4の通信路により、
センタ装置101に接続され、端末装置103Aとセン
タ装置101との間でデータの送受信を行なうための回
路である。図6は従来のプログラムローディングのシー
ケンス説明図である。The memory control circuit 3A shown in FIG. 5 is a circuit for controlling data writing and reading operations with respect to the memory 4A based on commands from the CPU 1 and the DMA control circuit 2. The interface circuit 6 uses the communication path of FIG. 4 via the modulation / demodulation device (generally called a modem) 102.
This is a circuit that is connected to the center device 101 and that transmits / receives data between the terminal device 103A and the center device 101. FIG. 6 is an explanatory diagram of a conventional program loading sequence.
【0005】図6を参照し、図4及び図5におけるプロ
グラムのローディング動作を説明する。図4のセンタ装
置101と複数の各端末装置103Aは、それぞれ自己
の変復調装置102を介して公衆通信回路網104で接
続されている。ここで、センタ装置101から各端末装
置103Aへのプログラムのローディングは、図6に示
すように複数(N個)のブロック毎に行なわれる。最初
にセンタ装置101は、プログラムのローディングを行
なう端末装置103Aに対して、プログラムロード指示
信号として、前記プログラムの各ブロック毎に、メモリ
4Aに格納する先頭アドレスとバイト長のデータを送信
する。The loading operation of the program in FIGS. 4 and 5 will be described with reference to FIG. The center device 101 in FIG. 4 and each of the plurality of terminal devices 103A are connected to each other via a public communication circuit network 104 via their own modulation / demodulation devices 102. Here, the loading of the program from the center device 101 to each terminal device 103A is performed for each of a plurality (N) of blocks as shown in FIG. First, the center device 101 transmits, as a program load instruction signal, the start address and byte length data to be stored in the memory 4A for each block of the program to the terminal device 103A which loads the program.
【0006】端末装置103Aは、インタフェース回路
6を介してセンタ装置101から受信した、前記プログ
ラムロード指示信号により示される先頭アドレスとバイ
ト長のデータを、DMA制御回路2に設定し、メモリ4
Aへの直接アクセス動作の準備を行ない、センタ装置1
01へプログラム送信要求信号を送信する。センタ装置
101は、端末装置103Aから前記プログラム送信要
求信号を受信すると、プログラムの最初のブロック(ブ
ロック0)を端末装置103Aへ転送する。The terminal device 103A sets the data of the start address and byte length indicated by the program load instruction signal, which is received from the center device 101 through the interface circuit 6, in the DMA control circuit 2 and the memory 4
Prepare the direct access operation to A
A program transmission request signal is transmitted to 01. Upon receiving the program transmission request signal from the terminal device 103A, the center device 101 transfers the first block (block 0) of the program to the terminal device 103A.
【0007】端末装置103A内のDMA制御回路2
は、メモリ制御回路3Aを駆動し、インタフェース回路
6を介してセンタ装置101から受信する各ブロック毎
のデータを、メモリ4Aに、前記指定された先頭アドレ
スからバイト長分だけ順次書込み記憶させる。そして1
ブロック分のプログラムの転送終了時点で、センタ装置
101から終結指示信号が端末装置103Aへ送信さ
れ、端末装置103Aから終結完信号がセンタ装置10
1に返信されると、1ブロック分のプログラムの転送動
作が終了する。DMA control circuit 2 in the terminal device 103A
Drives the memory control circuit 3A to sequentially write and store the data for each block received from the center device 101 via the interface circuit 6 in the memory 4A by the byte length from the designated start address. And 1
At the end of the transfer of the program for the block, the center device 101 transmits a termination instruction signal to the terminal device 103A, and the terminal device 103A transmits a termination completion signal.
When it is returned to 1, the transfer operation of the program for one block is completed.
【0008】以下同様に、センタ装置101は、複数の
プログラムブロックについて、順次、前記プログラムロ
ード指示信号の送信、プログラム送信要求信号の受信、
プログラムブロックの転送、終結指示信号の送信及び終
結完信号の受信のシーケンス動作を各ブロック毎に繰返
して、1つの端末装置103Aに対するプログラムロー
ディングを完了する。Similarly, the center device 101 sequentially transmits the program load instruction signal, receives the program transmission request signal, and receives the program transmission request signal for a plurality of program blocks.
The sequence operation of transferring the program block, transmitting the termination instruction signal and receiving the termination completion signal is repeated for each block to complete the program loading for one terminal device 103A.
【0009】センタ装置101は、複数の各端末装置1
03Aについて、前記ブロック単位毎のプログラムロー
ディングの反復により、例えば最初に#1の端末装置1
03Aにプログラムローディングを完了させ、次に#2
の端末装置103Aに対して行なうというように、順番
にローディングを必要とするすべての端末装置103A
へプログラムローディングを行なう。そしてこのプログ
ラムのローディングの完了した端末装置103Aは、こ
のローディング完了時点で、直ちに新プログラムのデー
タに基づく運用が開始されることになる。The center device 101 includes a plurality of terminal devices 1
For 03A, by repeating the program loading for each block unit, for example, first the terminal device 1
03A complete program loading, then # 2
All terminal devices 103A that need to be loaded in order, such as for all terminal devices 103A.
Program loading to. Then, the terminal device 103A, which has completed the loading of this program, will immediately start the operation based on the data of the new program when the loading is completed.
【0010】[0010]
【発明が解決しようとする課題】しかしながら、上記構
成のプログラムローディング装置では、センタ装置があ
る端末装置へプログラムのローディング中は、このロー
ディング動作が完了するまで該当端末装置は運用を行な
うことができない。従って、前記ローディング中に端末
装置側に緊急を要する異常が発生しても、ローディング
動作が完了するまで緊急異常信号をセンタ装置に送信す
ることができない。このように緊急事態への対応が直ち
にできないという問題点があった。また、複数の端末装
置に対して順次プログラムのローディングを行ない、ロ
ーディングが完了した端末装置から順番に新プログラム
が起動されるため、新プログラムにより運用される端末
装置と、旧プログラムにより運用される端末装置とが存
在することになる。従って、新プログラムの起動日時を
あらかじめ指定し、この指定した日時に、すべての端末
装置をいっせいに新プログラムに切換えて運用すること
ができないという問題点があった。この問題はさらに、
新プログラムのローディングが完了した端末装置が、実
際に新プログラムで運用されているかをセンタ装置側で
確認できないという欠点を含むものである。However, in the program loading device having the above-described structure, while the center device is loading the program to the terminal device, the terminal device cannot operate until the loading operation is completed. Therefore, even if an emergency occurs on the terminal device side during the loading, it is not possible to transmit the emergency error signal to the center device until the loading operation is completed. Thus, there is a problem that it is not possible to immediately respond to an emergency. Further, the programs are sequentially loaded to a plurality of terminal devices, and the new programs are started in order from the terminal devices that have completed loading. Therefore, the terminal device operated by the new program and the terminal operated by the old program There will be a device and. Therefore, there is a problem in that the start date and time of the new program cannot be specified in advance, and all the terminal devices cannot be switched to the new program and operated at the specified date and time. This problem is further
This includes a drawback that the center device side cannot confirm whether the terminal device which has completed loading the new program is actually operated by the new program.
【0011】本発明はかかる問題点を解決するためにな
されたもので、センタ装置から端末装置にプログラムの
ローディング中にも、端末装置から緊急異常信号をセン
タ装置に送信可能とし、またすべての端末装置に、あら
かじめ指定した日時に、いっせいに新プログラムへの切
換えを可能とし、且つ端末装置が実際に新プログラムで
運用を開始したことをセンタ装置が確認することができ
るプログラムローディング装置を得ることを目的とす
る。The present invention has been made to solve the above problems, and enables an emergency abnormal signal to be transmitted from the terminal device to the center device even while the program is being loaded from the center device to all the terminals. An object of the present invention is to obtain a program loading device capable of simultaneously switching to a new program at a designated date and time and enabling the center device to confirm that the terminal device has actually started operation with the new program. And
【0012】[0012]
【課題を解決するための手段】本請求項1の発明に係る
プログラムローディング装置は、センタ装置と端末装置
との間で通信路を介して情報の送受信を行なうことによ
り、センタ装置から端末装置へプログラムをローディン
グする装置において、前記センタ装置には、複数ブロッ
クの新プログラムをそのブロック毎に前記端末装置へ送
信するプログラム送信手段と、前記送信する新プログラ
ムの起動日時及び各プログラムブロックの格納領域を指
示する指示情報を生成して前記端末装置へ送信する指示
情報生成・送信手段とを備え、前記端末装置には、現在
運用する複数ブロックのプログラム及び前記新プログラ
ムの指示情報を格納する第1のメモリ手段と、前記指示
される起動日時以降に運用すべき複数ブロックの新プロ
グラムを格納する第2のメモリ手段と、前記センタ装置
から受信した新プログラムの指示情報を前記第1のメモ
リ手段に記憶させると共に、同様にセンタ装置から受信
した複数ブロックの新プログラムを、前記格納領域の指
示情報に従い、前記第2のメモリ手段に順次記憶させる
第1のメモリ制御手段と、常に時間を計数し、現在の日
時情報を出力する時計手段と、前記第1のメモリ手段に
記憶した新プログラムの起動日時の指示情報と、前記時
計手段の出力する現在の日時情報とを比較し、両情報が
一致したときに新プログラムへの切換指令を出力するプ
ログラム切換制御手段と、前記新プログラムへの切換指
令に基づき、前記第2のメモリ手段に記憶した複数ブロ
ックの新プログラムを、前記格納領域の指示情報に従
い、前記第1のメモリ手段へ順次転送して記憶させる第
2のメモリ制御手段とを備えたものである。A program loading device according to the invention of claim 1 transmits / receives information between a center device and a terminal device through a communication path, so that the center device transfers to the terminal device. In a device for loading a program, the center device includes a program transmitting means for transmitting a plurality of blocks of a new program to the terminal device for each block, a start date and time of the new program to be transmitted, and a storage area of each program block. A first information storage unit for generating instruction information to instruct and transmitting the instruction information to the terminal device, wherein the terminal device stores instruction information of a plurality of blocks currently operated and the instruction information of the new program; A memory means and a plurality of blocks of new programs to be operated after the instructed start date and time are stored. The second memory means and the instruction information of the new program received from the center device are stored in the first memory means, and the new programs of a plurality of blocks similarly received from the center device are stored in accordance with the instruction information of the storage area. A first memory control means for sequentially storing in the second memory means, a clock means for constantly counting time and outputting current date and time information, and a start date and time of a new program stored in the first memory means And the current date and time information output by the clock means, and when the two pieces of information match, the program switching control means for outputting a switching instruction to the new program and the switching instruction to the new program Based on this, the new programs of a plurality of blocks stored in the second memory means are sequentially transferred to the first memory means according to the instruction information of the storage area. It is obtained by a second memory control means for storing Te.
【0013】本請求項2の発明に係るプログラムローデ
ィング装置は、前記請求項1の発明に係るプログラムロ
ーディング装置の端末装置に、前記第2のメモリ制御手
段により、新プログラムの前記第1のメモリ手段への転
送、記憶が完了し、新プログラムの運用が開始された時
点で、該当プログラムに対応した運用開始情報を前記セ
ンタ装置へ送信する運用開始情報送信手段を付加したも
のである。According to a second aspect of the present invention, there is provided a program loading device according to the first aspect of the present invention, wherein the terminal device of the program loading device according to the first aspect is the second memory control means. When the transfer and storage of the new program is completed and the operation of the new program is started, the operation start information transmitting means for transmitting the operation start information corresponding to the program to the center device is added.
【0014】本請求項3の発明に係るプログラムローデ
ィング装置は、前記請求項1または請求項2の発明に係
るプログラムローディング装置において、前記センタ装
置には、前記プログラム送信手段が複数ブロックの新プ
ログラムを送信中に、前記端末装置設置場所における緊
急異常の発生を、検知するか又は端末装置より通報され
た場合に、現在送信中のプログラムブロックの送信終了
時点で、前記プログラム送信手段に、以後のプログラム
ブロックの送信を一時中断させる送信中断制御手段と、
前記プログラムの送信が一時中断され、センタ装置が、
前記緊急異常発生の通報に対する応答信号を端末装置に
送信した後か、または緊急異常発生の検知に基づく緊急
制御出力の指示情報を端末装置に送信してその応答信号
を受信した後に、前記プログラム送信手段に、前記一時
中断した後のプログラムブロックの送信を再開させる送
信再開制御手段とを付加し、前記端末装置には、前記セ
ンタ装置から複数ブロックの新プログラムを受信中に、
端末装置設置場所における緊急異常発生の検出信号が入
力した場合、現在受信中のプログラムブロックの受信終
了時点で、センタ装置へ緊急異常信号を送信して通報す
る緊急異常通報手段と、前記センタ装置が送信した緊急
制御出力の指示情報を受信した場合、該指示情報による
緊急制御信号を、直ちに端末装置設置場所によける制御
装置へ出力する制御信号出力手段とを付加したものであ
る。A program loading device according to a third aspect of the present invention is the program loading device according to the first or second aspect of the invention, wherein the program transmission means has a plurality of blocks of a new program in the center device. During transmission, when an occurrence of an emergency abnormality at the installation location of the terminal device is detected or when the terminal device notifies, at the end of transmission of the program block that is currently being transmitted, the program transmitting means causes the subsequent program Transmission interruption control means for temporarily interrupting the transmission of the block,
The transmission of the program is temporarily suspended, and the center device
After transmitting the response signal to the notification of the occurrence of the emergency abnormality to the terminal device, or after transmitting the instruction information of the emergency control output based on the detection of the occurrence of the emergency abnormality to the terminal device and receiving the response signal, the program transmission Means for adding transmission restart control means for restarting the transmission of the program block after the temporary interruption, the terminal device, while receiving a new program of a plurality of blocks from the center device,
When a detection signal of the occurrence of an emergency abnormality at the terminal device installation location is input, an emergency abnormality reporting means for transmitting an emergency abnormality signal to the center device to report when the reception of the program block currently being received ends, and the center device When the transmitted instruction information of the emergency control output is received, the control signal output means for immediately outputting the emergency control signal according to the instruction information to the control device at the installation location of the terminal device is added.
【0015】[0015]
【作用】本請求項1に係る発明においては、センタ装置
と端末装置との間で通信路を介して情報の送受信を行な
うことにより、センタ装置から端末装置へプログラムを
ローディングする装置において、前記センタ装置には、
プログラム送信手段及び指示情報生成・送信手段を備
え、前記プログラム送信手段は複数ブロックの新プログ
ラムをそのブロック毎に前記端末装置へ送信し、指示情
報生成・送信手段は前記送信する新プログラムの起動日
時及び各プログラムブロックの格納領域を指示する指示
情報を生成して前記端末装置へ送信する。前記端末装置
には、第1のメモリ手段、第2のメモリ手段、第1のメ
モリ制御手段、時計手段、プログラム切換制御手段及び
第2のメモリ制御手段を備え、前記第1のメモリ手段に
は現在運用する複数ブロックのプログラム及び前記新プ
ログラムの指示情報を格納する。第2のメモリ手段には
前記指示される起動日時以降に運用すべき複数ブロック
の新プログラムを格納する。第1のメモリ制御手段は前
記センタ装置から受信した新プログラムの指示情報を前
記第1のメモリ手段に記憶させると共に、同様にセンタ
装置から受信した複数ブロックの新プログラムを、前記
格納領域の指示情報に従い、前記第2のメモリ手段に順
次記憶させる。時計手段は常に時間を計数し、現在の日
時情報を出力する。プログラム切換制御手段は前記第1
のメモリ手段に記憶した新プログラムの起動日時の指示
情報と、前記時計手段の出力する現在の日時情報とを比
較し、両情報が一致したときに新プログラムへの切換指
令を出力する。第2のメモリ制御手段は前記新プログラ
ムへの切換指令に基づき、前記第2のメモリ手段に記憶
した複数ブロックの新プログラムを、前記格納領域の指
示情報に従い、前記第1のメモリ手段へ順次転送して記
憶させる。According to the first aspect of the invention, in the device for loading the program from the center device to the terminal device by transmitting and receiving information between the center device and the terminal device through the communication path, The device includes
The program transmission means and instruction information generation / transmission means are provided, the program transmission means transmits a plurality of blocks of the new program to the terminal device, and the instruction information generation / transmission means starts the new program to be transmitted. And generating instruction information for instructing the storage area of each program block and transmitting the instruction information to the terminal device. The terminal device includes first memory means, second memory means, first memory control means, clock means, program switching control means and second memory control means, and the first memory means It stores the program of a plurality of blocks currently operated and the instruction information of the new program. The second memory means stores a plurality of blocks of new programs to be operated after the instructed start date and time. The first memory control means stores the instruction information of the new program received from the center apparatus in the first memory means, and also stores the instruction information of the plurality of blocks similarly received from the center apparatus in the instruction information of the storage area. In accordance with this, the second memory means is sequentially stored. The clock means always counts time and outputs current date and time information. The program switching control means is the first
The instruction information of the start date and time of the new program stored in the memory means is compared with the current date and time information output by the clock means, and when both pieces of information match, a switching instruction to the new program is output. The second memory control means sequentially transfers the new programs of a plurality of blocks stored in the second memory means to the first memory means according to the instruction information of the storage area based on the switching instruction to the new program. And memorize.
【0016】本請求項2に係る発明においては、前記請
求項1に係る発明の端末装置に運用開始情報送信手段が
付加され、該運用開始情報送信手段は、前記第2のメモ
リ制御手段により、新プログラムの前記第1のメモリ手
段への転送、記憶が完了し、新プログラムの運用が開始
された時点で、該当プログラムに対応した運用開始情報
を前記センタ装置へ送信する。In the invention according to claim 2, an operation start information transmitting means is added to the terminal device of the invention according to claim 1, and the operation start information transmitting means is constituted by the second memory control means. When the transfer and storage of the new program to the first memory means are completed and the operation of the new program is started, operation start information corresponding to the program is transmitted to the center device.
【0017】本請求項3に係る発明においては、前記請
求項1または請求項2に係る発明において、前記センタ
装置には、送信中断制御手段及び送信再開制御手段が付
加され、前記送信中断制御手段は、前記プログラム送信
手段が複数ブロックの新プログラムを送信中に、前記端
末装置設置場所における緊急異常の発生を、検知するか
又は端末装置より通報された場合に、現在送信中のプロ
グラムブロックの送信終了時点で、前記プログラム送信
手段に、以後のプログラムブロックの送信を一時中断さ
せる。送信再開制御手段は、前記プログラムの送信が一
時中断され、センタ装置が、前記緊急異常発生の通報に
対する応答信号を端末装置に送信した後か、または緊急
異常発生の検知に基づく緊急制御出力の指示情報を端末
装置に送信してその応答信号を受信した後に、前記プロ
グラム送信手段に、前記一時中断した後のプログラムブ
ロックの送信を再開させる。前記端末装置には、緊急異
常通報手段及び制御信号出力手段が付加され、前記緊急
異常通報手段は、前記センタ装置から複数ブロックの新
プログラムを受信中に、端末装置設置場所における緊急
異常発生の検出信号が入力した場合、現在受信中のプロ
グラムブロックの受信終了時点で、センタ装置へ緊急異
常信号を送信して通報する。制御信号出力手段は、前記
センタ装置が送信した緊急制御出力の指示情報を受信し
た場合、該指示情報による緊急制御信号を、直ちに端末
装置設置場所における制御装置へ出力する。In the invention according to claim 3, in the invention according to claim 1 or 2, transmission interruption control means and transmission restart control means are added to the center device, and the transmission interruption control means is added. When the program transmitting means detects the occurrence of an urgent abnormality at the terminal device installation site while the program transmitting means is transmitting a new program of a plurality of blocks, or is notified by the terminal device, the program block currently being transmitted is transmitted. At the end point, the program transmission means temporarily suspends the transmission of the subsequent program blocks. The transmission restart control means instructs the emergency control output after the transmission of the program is suspended and the center device transmits a response signal to the notification of the occurrence of the emergency abnormality to the terminal device, or based on the detection of the occurrence of the emergency abnormality. After transmitting the information to the terminal device and receiving the response signal, the program transmission means restarts the transmission of the program block after the temporary interruption. An emergency abnormality reporting means and a control signal output means are added to the terminal device, and the emergency abnormality reporting means detects the occurrence of an emergency abnormality at a terminal device installation site while receiving a new program of a plurality of blocks from the center device. When a signal is input, an emergency abnormality signal is transmitted to the center device to notify it when the reception of the program block currently being received is completed. When the control signal output means receives the instruction information of the emergency control output transmitted by the center device, the control signal output means immediately outputs the emergency control signal based on the instruction information to the control device at the terminal device installation place.
【0018】[0018]
【実施例】図1は本発明に係る端末装置の構成を示すブ
ロック図である。同図において、1はCPU、2はDM
A制御回路、3はメモリ制御回路、4は第1メモリ、5
は第2メモリ、6はインタフェース回路、7はアドレス
バス及びデータバス、8は監視入力回路、9は制御出力
回路、10は時計回路である。ここでCPU1と上記の
2〜6及び8〜10の各機器とは、アドレスバス及びデ
ータバス7を介して相互に接続され、本発明に係る端末
装置103が構成される。端末装置103内のCPU1
は、アドレスバス及びデータバス7を介して接続される
各機器をすべて制御するものであるが、DMA制御回路
2はCPU1からメモリ領域を指定するデータが設定さ
れると、以後は直接メモリアクセスの動作を起動する。1 is a block diagram showing the configuration of a terminal device according to the present invention. In the figure, 1 is a CPU, 2 is a DM
A control circuit, 3 is a memory control circuit, 4 is a first memory, 5
Is a second memory, 6 is an interface circuit, 7 is an address bus and a data bus, 8 is a monitor input circuit, 9 is a control output circuit, and 10 is a clock circuit. Here, the CPU 1 and each of the above devices 2 to 6 and 8 to 10 are connected to each other via an address bus and a data bus 7, and the terminal device 103 according to the present invention is configured. CPU1 in the terminal device 103
Controls all of the devices connected via the address bus and the data bus 7. However, when the data for designating the memory area is set by the CPU 1, the DMA control circuit 2 will perform direct memory access thereafter. Invokes the action.
【0019】また端末装置103内のCPU1は、従来
動作のプログラム運用に係る制御のほかに、特に本発明
に係る、第1のメモリ制御、第2のメモリ制御、新プロ
グラムへの切換制御、運用開始情報送信制御、緊急異常
通報制御及び制御信号出力制御等の各種制御を行なうも
のであり、これらの制御動作の詳細説明は後述する。な
お、図1のように構成される端末装置103とセンタ装
置101とは、図4に示されたように、それぞれの変復
調装置102を介した公衆通信回路網104により接続
され、相互に情報の送受信が可能である。Further, the CPU 1 in the terminal device 103 has the first memory control, the second memory control, the switching control to the new program, and the operation according to the present invention, in addition to the control related to the program operation of the conventional operation. Various controls such as start information transmission control, emergency abnormality notification control, and control signal output control are performed, and a detailed description of these control operations will be given later. The terminal device 103 and the center device 101 configured as shown in FIG. 1 are connected by a public communication circuit network 104 via respective modulation / demodulation devices 102, as shown in FIG. Can send and receive.
【0020】図1のCPU1、DMA制御回路2、イン
タフェース回路6並びにアドレスバス及びデータバス7
は、図5と同一のものである。第1メモリ4及び第2メ
モリ5は、例えばEEPROM(電気的にプログラムの
消去及び再書込み可能なROM)又はバッテリでバック
アップされたRAMにより構成され、ほぼ同一のメモリ
容量を有する。従って端末装置103の電源がオフにな
っても、その記憶したデータは保存されている。前記第
1メモリ4には、主に現在運用する複数ブロックのプロ
グラムと、新プログラムの指示情報(新プログラムの起
動日時及び各プログラムブロックの格納領域を指示する
情報)を格納する。また第2メモリ5には、主に前記指
示される起動日時以降に運用すべき複数ブロックの新プ
ログラムを格納する。The CPU 1, the DMA control circuit 2, the interface circuit 6 and the address bus and data bus 7 shown in FIG.
Is the same as in FIG. The first memory 4 and the second memory 5 are composed of, for example, an EEPROM (electrically erasable and rewritable program ROM) or a RAM backed up by a battery, and have substantially the same memory capacity. Therefore, even if the power of the terminal device 103 is turned off, the stored data is saved. The first memory 4 mainly stores a plurality of blocks of programs currently in operation and instruction information of a new program (information indicating the start date and time of the new program and the storage area of each program block). Further, the second memory 5 mainly stores a plurality of blocks of new programs to be operated after the instructed start date and time.
【0021】メモリ制御回路3は、CPU1及びDMA
制御回路2からの指令に基づき、第1メモリ4と第2メ
モリ5に対するデータの書込み及び読出しをそれぞれ制
御する。DMA制御回路2は、CPU1の指示により、
設定される先頭アドレスとバイト長のデータを用いて、
前記メモリ制御回路3を駆動し、センタ装置101から
受信する新プログラムの指示情報は第1メモリ4へ、ま
た新プログラムは第2メモリ5へそれぞれ記憶させる第
1のメモリ制御動作と、前記新プログラムの起動日時
に、第2メモリ5に格納されている新プログラムを第1
メモリ4へ順次転送して記憶させる第2のメモリ制御動
作とを実行する。The memory control circuit 3 includes a CPU 1 and a DMA.
Based on commands from the control circuit 2, writing and reading of data to and from the first memory 4 and the second memory 5 are controlled. The DMA control circuit 2 is instructed by the CPU 1 to
Using the set start address and byte length data,
The first memory control operation for driving the memory control circuit 3 to store the instruction information of the new program received from the center device 101 in the first memory 4, and the new program in the second memory 5, respectively. The new program stored in the second memory 5 is first
A second memory control operation for sequentially transferring and storing the data in the memory 4 is executed.
【0022】監視入力回路8は、端末装置103の設置
場所における監視装置、例えば火災検出装置やガス漏れ
検出装置が検出した火災発生やガス漏れ発生等の緊急異
常信号の入力を常に監視し、該緊急異常信号が入力され
たら直ちにCPU1に割込動作により通知する。制御出
力回路9は、CPU1から出力を指示された緊急制御信
号を供給されると、直ちに端末装置103の設置場所に
おける制御装置や警報表示装置等へ緊急制御信号を出力
する。The monitoring input circuit 8 constantly monitors the input of an emergency abnormality signal such as a fire occurrence or a gas leak detected by a monitoring device, for example, a fire detection device or a gas leak detection device in the installation place of the terminal device 103, and Immediately after the emergency abnormality signal is input, the CPU 1 is notified by an interrupt operation. When the control output circuit 9 is supplied with the emergency control signal instructed to be output from the CPU 1, the control output circuit 9 immediately outputs the emergency control signal to a control device, an alarm display device, or the like in the installation place of the terminal device 103.
【0023】前記緊急制御信号としては、例えばある地
域に大地震が発生し、火災発生の恐れがある場合に、セ
ンタ装置101が該当地域内の各端末装置を介して、そ
れぞれの設置場所におけるガスの元栓の自動開閉装置
へ、元栓を閉とする緊急制御信号を出力したり、または
警報表示装置へ、直ちにガスの元栓を閉じ、シャッタを
開け換気を指示する警報表示を行なわせる等の緊急制御
信号を出力することである。時計回路10は、常に現在
の日時情報(年月日及び時刻を含む情報)を出力し、C
PU1はこの日時情報を、あらかじめ指定された新プロ
グラムの起動日時との照合に用いる。従って時計回路1
0の電源もバッテリでバックアップされ、常に正しい日
時情報が得られるようにしている。As the emergency control signal, for example, when a large earthquake occurs in a certain area and there is a risk of fire, the center device 101 transmits the gas at each installation location via each terminal device in the area. Emergency control signal such as outputting an emergency control signal to close the main valve to the automatic opening / closing device of the main valve, or causing the alarm display to immediately close the gas main valve and open the shutter to display an alarm indicating ventilation. Is to output a signal. The clock circuit 10 always outputs the current date and time information (information including date and time), and C
PU1 uses this date and time information for collation with the start date and time of the new program specified in advance. Therefore, clock circuit 1
The power source of 0 is also backed up by the battery so that the correct date and time information can always be obtained.
【0024】図2は本発明に係るプログラムローディン
グの第1シーケンス説明図、図3は本発明に係るプログ
ラムローディングの第2シーケンス説明図である。図2
及び図3を参照し、図1及び図4における新プログラム
のローディング動作を先に説明する。最初にセンタ装置
101は、新プログラムのローディングを行ないたい端
末装置103に対して、プログラムロード指示信号とし
て、前記新プログラムのブロック毎に、第1メモリ4又
は第2メモリ5にブロックデータを格納する際の先頭ア
ドレスとバイト長のデータを送信する。FIG. 2 is an explanatory diagram of a first sequence of program loading according to the present invention, and FIG. 3 is an explanatory diagram of a second sequence of program loading according to the present invention. Figure 2
The loading operation of the new program in FIGS. 1 and 4 will be described first with reference to FIGS. First, the center device 101 stores block data in the first memory 4 or the second memory 5 for each block of the new program as a program load instruction signal for the terminal device 103 that wants to load the new program. Send the start address and byte length data.
【0025】なお複数ブロックの最初のブロック、即ち
図2及び図3の(ブロック0)に限って、前記プログラ
ムロード指示信号には、前記先頭アドレスとバイト長の
データのほかに、新プログラムの起動日時のデータを付
加して、端末装置103へ送信する。端末装置103内
のインタフェース回路6は、センタ装置101から受信
した前記プログラムロード指示信号をCPU1に通知
し、CPU1は、第1メモリ4又は第2メモリ5にブロ
ックデータを格納する際の先頭アドレスとバイト長のデ
ータを、また(ブロック0)の場合に限り、さらに起動
日時のデータを付加して、第1メモリ4内の所定アドレ
スに格納すると共に、端末装置側の監視装置から監視入
力回路8へ入力信号が有るか無いかを読取り、その時点
でのプログラムのローディングの不可能又は可能を判別
する。Only in the first block of a plurality of blocks, that is, in (block 0) of FIGS. 2 and 3, the program load instruction signal includes, in addition to the start address and byte length data, the start of a new program. The date and time data is added and transmitted to the terminal device 103. The interface circuit 6 in the terminal device 103 notifies the program load instruction signal received from the center device 101 to the CPU 1, and the CPU 1 uses the start address when storing the block data in the first memory 4 or the second memory 5. Byte length data is added, and only in the case of (block 0), data of the start date and time is further added and stored at a predetermined address in the first memory 4, and the monitoring input circuit 8 from the monitoring device on the terminal device side is stored. The presence or absence of an input signal is read to determine whether the program cannot be loaded or not at that time.
【0026】監視入力回路8への入力信号が無く、端末
装置103内のCPU1が、その時点でのプログラムロ
ーディングが可能と判別した場合には、インタフェース
回路6を介してセンタ装置101にプログラム送信要求
信号を送信する。センタ装置101は、端末装置103
からプログラム送信要求信号を受信すると、該当端末装
置103に対して1ブロック分のプログラムを転送す
る。端末装置103内のDMA制御回路2は、インタフ
ェース回路6を介して受信した1ブロック分のプログラ
ムを、CPU1により指定された先頭アドレスから指定
されたバイト長だけ、順次第2メモリ5へ転送して記憶
させる。When there is no input signal to the monitor input circuit 8 and the CPU 1 in the terminal device 103 determines that the program can be loaded at that time, a program transmission request is sent to the center device 101 via the interface circuit 6. Send a signal. The center device 101 is a terminal device 103.
When the program transmission request signal is received from, the program for one block is transferred to the corresponding terminal device 103. The DMA control circuit 2 in the terminal device 103 sequentially transfers the program for one block received via the interface circuit 6 to the second memory 5 by the designated byte length from the head address designated by the CPU 1. Remember.
【0027】そして1ブロック分のプログラムの転送完
了時に、センタ装置101は端末装置103に終結指示
信号を送信し、端末装置103から終結完信号がセンタ
装置101に返信されると、1ブロック分のプログラム
の転送が終了する。以下同様に、センタ装置101は、
複数のプログラムブロックについて、順次、前記プログ
ラムロード指示信号の送信、プログラム送信要求信号の
受信、プログラムブロックの転送、終結指示信号の送信
及び終結完信号の受信のシーケンス動作を各ブロック毎
に繰返して、1つの端末装置103に対するプログラム
ローディングを完了する。When the transfer of the program for one block is completed, the center device 101 transmits a termination instruction signal to the terminal device 103, and when the termination signal is returned from the terminal device 103 to the center device 101, the one block is completed. The program transfer ends. Similarly, the center device 101
For a plurality of program blocks, the sequence operation of sequentially transmitting the program load instruction signal, receiving the program transmission request signal, transferring the program block, transmitting the termination instruction signal and receiving the termination completion signal is repeated for each block, The program loading for one terminal device 103 is completed.
【0028】図2の第1シーケンス説明図においては、
センタ装置101は、ある指定した端末装置103に対
して、前記ブロック単位毎のプログラムのローディング
を、(ブロック0)、(ブロック1)…と順番に行な
い、いま(ブロックM)のプログラムをローディング中
に、端末装置103内の監視入力回路8に緊急を要する
異常信号(例えば前記火災発生信号)が入力された場合
のシーケンス例を示している。In the first sequence explanatory diagram of FIG. 2,
The center apparatus 101 sequentially loads the program for each block unit on the designated terminal apparatus 103 in the order of (block 0), (block 1), ... Now loading the program of (block M). 8 shows an example of a sequence in the case where an abnormal signal requiring an emergency (for example, the fire occurrence signal) is input to the monitoring input circuit 8 in the terminal device 103.
【0029】端末装置103内の監視入力回路8に入力
された緊急異常信号は、直ちにCPU1に通知される。
そして前記緊急異常信号の入力を通知されたCPU1
は、現在受信中の(ブロックM)のプログラムの転送が
終了し、センサ装置101から送信される終結指示信号
を受信した時点で、第2メモリ5内へのプログラムの格
納を一時中断し、既に第1メモリ4に格納されている従
来のプログラムを用い、センタ装置101に対して、前
記緊急異常信号を送信し、これを通報する。即ち終結指
示信号の受信時点で緊急異常が発生している場合には、
正常時における終結完信号に代えて、緊急異常信号を送
信する。The emergency abnormality signal input to the monitor input circuit 8 in the terminal device 103 is immediately notified to the CPU 1.
Then, the CPU 1 notified of the input of the emergency abnormality signal
When the transfer of the currently received (block M) program is completed and the termination instruction signal transmitted from the sensor device 101 is received, the storage of the program in the second memory 5 is temporarily interrupted, and Using the conventional program stored in the first memory 4, the emergency abnormality signal is transmitted to the center device 101, and this is notified. That is, if an emergency abnormality occurs at the time of receiving the termination instruction signal,
An urgent abnormal signal is transmitted instead of the termination completion signal in normal times.
【0030】センタ装置101は、端末装置103から
前記緊急異常信号を受信すると、その内容を確認して、
応答信号を該当端末装置103へ返信する。端末装置1
03は、緊急異常信号の送信に対する応答信号を受信す
ると、ここで前記(ブロックM)の終結完信号をセンタ
装置101へ送信し、プログラムローディングの再開を
してもよいことを知らせる。When the center device 101 receives the emergency abnormality signal from the terminal device 103, the center device 101 confirms the content of the emergency abnormality signal,
The response signal is returned to the corresponding terminal device 103. Terminal device 1
When 03 receives the response signal to the transmission of the emergency abnormal signal, it transmits the termination completion signal of the above (block M) to the center device 101 to inform that the program loading may be restarted.
【0031】センタ装置101は、前記(ブロックM)
についての終結完信号を受信すると、次の(ブロックM
+1)からプログラムローディングを再開するシーケン
スを、図2の右側に示すように実施する。そして最終ブ
ロックである(ブロックN)のプログラムについての終
結完信号を端末装置103から受信すると、該当端末装
置103に対するプログラムローディングをすべて完了
する。The center device 101 has the above-mentioned (block M).
When the closing completion signal for is received, the next (block M
The sequence for restarting the program loading from +1) is executed as shown on the right side of FIG. Then, when the termination completion signal for the program of the final block (block N) is received from the terminal device 103, all the program loading to the corresponding terminal device 103 is completed.
【0032】図3の第2シーケンス説明図においては、
センタ装置101は、ある指定した端末装置103に対
して、前記ブロック単位毎のプログラムのローディング
を、(ブロック0)、(ブロック1)…と順番に行な
い、いま(ブロックM)のプログラムをローディング中
に、センタ装置101から該当端末装置103内の制御
出力回路9を経由して、緊急制御信号(例えば前記ガス
元栓を閉とする自動制御信号)を出力すべき緊急事態が
発生した場合のシーケンス例を示している。In the second sequence explanatory view of FIG. 3,
The center apparatus 101 sequentially loads the program for each block unit on the designated terminal apparatus 103 in the order of (block 0), (block 1), ... Now loading the program of (block M). In addition, a sequence example in the case where an emergency situation in which an emergency control signal (for example, an automatic control signal for closing the gas tap) is to be output from the center device 101 via the control output circuit 9 in the corresponding terminal device 103 Is shown.
【0033】センタ装置101がある端末装置103に
対してプログラムの(ブロックM)をローディング中
に、該当端末装置103を介して緊急制御信号を出力す
べき緊急事態が発生した場合には、現在送信中の(ブロ
ックM)の転送が終了した時点で、センタ装置101か
ら端末装置103へのプログラムローディングを一時中
断し、終結指示信号の代りに、緊急制御出力指示信号を
該当端末装置103へ送信する。If an emergency situation in which the emergency control signal should be output via the terminal device 103 while the program (block M) is being loaded into the terminal device 103 having the center device 101 is presently transmitted, When the transfer of (block M) in the middle is completed, the program loading from the center device 101 to the terminal device 103 is temporarily interrupted, and an emergency control output instruction signal is transmitted to the corresponding terminal device 103 instead of the termination instruction signal. .
【0034】端末装置103内のCPU1は、インタフ
ェース回路6からセンタ装置101よりの緊急制御出力
指示信号を受信したことを通知されると、直ちに第1メ
モリ4に格納されている従来のプログラムを用いて、前
記出力を指示された緊急制御信号を制御出力回路9を介
して出力すると共に、センタ装置101に対して応答信
号を送信する。センタ装置101は、送信した緊急制御
出力指示信号に対する応答信号を受信すると、(ブロッ
クM)のプログラムについての終結指示信号を端末装置
103へ送信し、端末装置103から終結完信号を受信
すると、次の(ブロックM+1)からプログラムローデ
ィングを再開するシーケンスを、図3の右側に示すよう
に実施する。そして最終ブロックである(ブロックN)
のプログラムについての終結完信号を端末装置103か
ら受信すると、該当端末装置103に対するプログラム
ローディングをすべて完了する。When the CPU 1 in the terminal device 103 is notified by the interface circuit 6 that the emergency control output instruction signal from the center device 101 has been received, it immediately uses the conventional program stored in the first memory 4. Then, the emergency control signal instructed to output is output through the control output circuit 9 and a response signal is transmitted to the center device 101. Upon receiving the response signal to the transmitted emergency control output instruction signal, the center apparatus 101 transmits a termination instruction signal for the program of (block M) to the terminal apparatus 103, and when receiving the termination completion signal from the terminal apparatus 103, The sequence for restarting the program loading from (block M + 1) is executed as shown on the right side of FIG. And the final block (block N)
When the termination completion signal for the program is received from the terminal device 103, all the program loading for the corresponding terminal device 103 is completed.
【0035】次に前記新プログラムの(ブロック0)の
プログラムロード指示信号により指定された新プログラ
ムの起動日時において、すべての端末装置103がいっ
せいに新プログラムによる運用を開始する動作を説明す
る。各端末装置103内のCPU1は、第1メモリ4内
に格納した新プログラムの起動日時のデータと、時計回
路10の出力する日時のデータが一致するかを常時チェ
ックし、両データが一致した時点で、新プログラムへの
切換指令を出力し、第1メモリ4内に格納されていた各
プログラムブロック毎の先頭アドレスとバイト長のデー
タをブロック単位毎にDMA制御回路2に順次設定す
る。Next, a description will be given of the operation in which all the terminal devices 103 simultaneously start the operation by the new program at the starting date and time of the new program designated by the program load instruction signal of (block 0) of the new program. The CPU 1 in each terminal device 103 constantly checks whether the data of the start date and time of the new program stored in the first memory 4 and the data of the date and time output by the clock circuit 10 match, and when both data match. Then, the switch command to the new program is output, and the start address and byte length data for each program block stored in the first memory 4 are sequentially set in the DMA control circuit 2 in block units.
【0036】DMA制御回路2は、前記ブロック単位毎
に設定される先頭アドレスとバイト長のデータに従い、
メモリ制御回路3を駆動し、第2メモリ5からブロック
単位で新プログラムのデータを読出し、第1メモリ4へ
逐次書込む。そして第2メモリ5に格納されていたNブ
ロックの新プログラムがすべて第1メモリ4に転送され
書込まれるまで、直接アクセス転送動作は繰返される。
DMA制御回路2は、第2メモリ5から第1メモリ4へ
Nブロックのデータの転送をすべて完了した時点で、C
PU1に割込み動作を行ない、新プログラムのデータに
ついての直接アクセス転送動作の完了を通知する。The DMA control circuit 2 follows the start address and byte length data set for each block unit.
The memory control circuit 3 is driven, the data of the new program is read from the second memory 5 in block units, and sequentially written in the first memory 4. The direct access transfer operation is repeated until all the new programs of N blocks stored in the second memory 5 are transferred to and written in the first memory 4.
When the DMA control circuit 2 completes the transfer of N blocks of data from the second memory 5 to the first memory 4, C
An interrupt operation is performed on PU1 to notify the completion of the direct access transfer operation for the data of the new program.
【0037】各端末装置103内のCPU1は、DMA
制御回路2から直接アクセス転送動作の完了を通知され
ると、第1メモリ4に格納された新プログラムの起動を
開始し、最初に次の初期動作を行なう。新プログラムの
初期動作として、CPU1は、各プログラムに対応する
特定の運用開始情報をインタフェース回路6を介してセ
ンタ装置101へ送信する。The CPU 1 in each terminal device 103 uses the DMA
When the completion of the direct access transfer operation is notified from the control circuit 2, the start of the new program stored in the first memory 4 is started, and the following initial operation is first performed. As an initial operation of the new program, the CPU 1 transmits specific operation start information corresponding to each program to the center device 101 via the interface circuit 6.
【0038】いま期間の経過により運用されるプログラ
ムがA,B,C,Dと更新される場合に、対応する運用
開始情報をa,b,c,dと決めておけば、この運用開
始情報を受信して実際に運用の開始されたプログラムの
内容が判ることになる。各端末装置103は、新プログ
ラムの初期動作として、前記新プログラムに対応する運
用開始情報の送信をした後、直ちに新プログラムによる
運用を開始する。When the program operated according to the lapse of the period is updated to A, B, C, D, if the corresponding operation start information is determined to be a, b, c, d, this operation start information The contents of the program that has actually started to be received will be understood. As an initial operation of the new program, each terminal device 103 immediately starts operation by the new program after transmitting operation start information corresponding to the new program.
【0039】センタ装置101は、複数の各端末装置1
03に対して、それぞれ事前に新プログラムのローディ
ングとその起動日時の設定をしておく。そして各端末装
置103が起動日時になると、いっせいに新プログラム
に切換えて運用を開始し、運用開始情報をセンタ装置1
01に送信してくるので、センタ装置101は、前記運
用開始情報を各端末装置103毎に受信することによ
り、新プログラムの実際の運用開始と、その運用プログ
ラムの内容とを同時に確認することができる。The center device 101 comprises a plurality of terminal devices 1
For 03, loading of the new program and setting of its start date and time are set in advance. Then, when each terminal device 103 reaches the activation date and time, it switches to a new program all at once to start operation, and the operation start information is sent to the center device 1
01, the center device 101 can confirm the actual operation start of the new program and the contents of the operation program at the same time by receiving the operation start information for each terminal device 103. it can.
【0040】[0040]
【発明の効果】以上のように本発明によれば、センタ装
置と端末装置との間で通信路を介して情報の送受信を行
なうことにより、センタ装置から端末装置へプログラム
をローディングする装置において、前記端末装置では、
第1のメモリ手段に現在運用するプログラムを格納し、
第2のメモリ手段にセンタ装置から指定された起動日時
以降に運用すべきプログラムをローディングし、時計手
段の出力する日時情報と前記指定された起動日時情報が
一致した時点で、第2のメモリ手段の記憶内容を第1の
メモリ手段に転送して新プログラムを運用するようにし
たので、センタ装置があらかじめ指定した日時に、すべ
ての端末装置に対して新プログラムの運用を開始させる
ことができる。As described above, according to the present invention, in a device for loading a program from a center device to a terminal device by transmitting and receiving information between the center device and the terminal device via a communication path, In the terminal device,
The currently operating program is stored in the first memory means,
The program to be operated after the start date and time designated by the center device is loaded into the second memory means, and when the date and time information output by the clock means matches the designated start date and time information, the second memory means Since the stored contents of (1) are transferred to the first memory means to operate the new program, the operation of the new program can be started by all the terminal devices at the date and time designated in advance by the center device.
【0041】また本発明によれば、前記各端末装置は、
前記指定された日時に新プログラムの運用を開始する
と、該当プログラムに対応した運用開始情報をそれぞれ
センタ装置に送信するようにしたので、センタ装置は、
各端末装置が実際に新プログラムで運用を開始したこと
を確認することができる。Further, according to the present invention, each of the terminal devices comprises:
When the operation of the new program is started at the specified date and time, the operation start information corresponding to the program is transmitted to the center device, respectively.
It is possible to confirm that each terminal device has actually started operating with the new program.
【0042】また本発明によれば、前記センタ装置には
送信中断制御手段及び送信再開制御手段を設け、前記各
端末装置には緊急異常通報手段及び制御信号出力手段と
を設け、センタ装置が端末装置にプログラムを送信中
に、端末装置が検出した緊急異常信号は、これを、現在
受信中のプログラムブロックの受信終了時点で、センタ
装置へ通報できるようにしたので、センタ装置は、プロ
グラムの送信を一時中断し、前記緊急異常に対応する処
理を実施し、その後プログラムの送信を再開することが
できる。またセンタ装置が端末装置にプログラムを送信
中に、緊急異常を検知すると、現在送信中のプログラム
ブロックの送信終了時点で、プログラムの送信を一時中
断し、端末装置へ緊急制御信号の出力を指示し、その後
プログラムの送信を再開することができる。このように
して緊急事態への対応が直ちにできるようになった。Further, according to the present invention, the center device is provided with a transmission interruption control means and a transmission restart control means, and each of the terminal devices is provided with an emergency abnormality notification means and a control signal output means, and the center device is a terminal. The emergency abnormality signal detected by the terminal device while transmitting the program to the device can notify the center device of this when the reception of the program block currently being received is completed. Can be temporarily suspended, the process corresponding to the emergency abnormality can be performed, and then the transmission of the program can be resumed. When the center device detects an emergency while transmitting a program to the terminal device, it suspends the program transmission and instructs the terminal device to output an emergency control signal at the end of transmission of the program block currently being transmitted. , Then the program transmission can be resumed. In this way, the emergency response was immediately available.
【図1】本発明に係る端末装置の構成を示すブロック図
である。FIG. 1 is a block diagram showing a configuration of a terminal device according to the present invention.
【図2】本発明に係るプログラムローディングの第1シ
ーケンス説明図である。FIG. 2 is an explanatory diagram of a first sequence of program loading according to the present invention.
【図3】本発明に係るプログラムローディングの第2シ
ーケンス説明図である。FIG. 3 is a diagram illustrating a second sequence of program loading according to the present invention.
【図4】センタ装置と複数の端末装置との接続例を示す
図である。FIG. 4 is a diagram showing an example of connection between a center device and a plurality of terminal devices.
【図5】従来の端末装置の構成を示すブロック図であ
る。FIG. 5 is a block diagram showing a configuration of a conventional terminal device.
【図6】従来のプログラムローディングのシーケンス説
明図である。FIG. 6 is an explanatory diagram of a conventional program loading sequence.
1 CPU 2 DMA制御回路 3 メモリ制御回路 4 第1メモリ 5 第2メモリ 6 インタフェース回路 7 アドレスバス及びデータバス 8 監視入力回路 9 制御出力回路 10 時計回路 101 センタ装置 102 変復調装置 103 端末装置 104 公衆通信回路網 1 CPU 2 DMA control circuit 3 Memory control circuit 4 First memory 5 Second memory 6 Interface circuit 7 Address bus and data bus 8 Monitoring input circuit 9 Control output circuit 10 Clock circuit 101 Center device 102 Modem device 103 Terminal device 104 Public communication Circuit network
Claims (3)
介して情報の送受信を行なうことにより、センタ装置か
ら端末装置へプログラムをローディングする装置におい
て、 前記センタ装置には、 複数ブロックの新プログラムをそのブロック毎に前記端
末装置へ送信するプログラム送信手段と、 前記送信する新プログラムの起動日時及び各プログラム
ブロックの格納領域を指示する指示情報を生成して前記
端末装置へ送信する指示情報生成・送信手段とを備え、 前記端末装置には、 現在運用する複数ブロックのプログラム及び前記新プロ
グラムの指示情報を格納する第1のメモリ手段と、 前記指示される起動日時以降に運用すべき複数ブロック
の新プログラムを格納する第2のメモリ手段と、 前記センタ装置から受信した新プログラムの指示情報を
前記第1のメモリ手段に記憶させると共に、同様にセン
タ装置から受信した複数ブロックの新プログラムを、前
記格納領域の指示情報に従い、前記第2のメモリ手段に
順次記憶させる第1のメモリ制御手段と、 常に時間を計数し、現在の日時情報を出力する時計手段
と、 前記第1のメモリ手段に記憶した新プログラムの起動日
時の指示情報と、前記時計手段の出力する現在の日時情
報とを比較し、両情報が一致したときに新プログラムへ
の切換指令を出力するプログラム切換制御手段と、 前記新プログラムへの切換指令に基づき、前記第2のメ
モリ手段に記憶した複数ブロックの新プログラムを、前
記格納領域の指示情報に従い、前記第1のメモリ手段へ
順次転送して記憶させる第2のメモリ制御手段とを備え
たことを特徴とするプログラムローディング装置。1. A device for loading a program from a center device to a terminal device by transmitting and receiving information between the center device and the terminal device via a communication path, wherein the center device has a plurality of new blocks. Program transmitting means for transmitting a program to the terminal device for each block, and instruction information generation for generating instruction information for instructing a start date and time of the new program to be transmitted and a storage area of each program block and transmitting the instruction information to the terminal device A first memory means for storing a program of a plurality of blocks currently operated and instruction information of the new program, and a plurality of blocks to be operated after the instructed start date and time Second memory means for storing the new program, and a finger for the new program received from the center device. First memory control in which information is stored in the first memory means and a plurality of blocks of new programs similarly received from the center device are sequentially stored in the second memory means according to the instruction information of the storage area. Means, clock means for constantly counting time and outputting current date and time information, instruction information for starting date and time of the new program stored in the first memory means, and current date and time information output by the clock means And a program switching control means for outputting a switching command to a new program when both information match, and a new program of a plurality of blocks stored in the second memory means based on the switching command to the new program. In accordance with the instruction information of the storage area, the second memory control means for sequentially transferring and storing the data in the first memory means. Program loading device.
第1のメモリ手段への転送、記憶が完了し、新プログラ
ムの運用が開始された時点で、該当プログラムに対応し
た運用開始情報を前記センタ装置へ送信する運用開始情
報送信手段を付加したことを特徴とする請求項1記載の
プログラムローディング装置。2. The terminal device, when the second memory control means completes transfer and storage of a new program to the first memory means and starts operation of the new program, 2. The program loading device according to claim 1, further comprising operation start information transmitting means for transmitting operation start information corresponding to a program to the center device.
を送信中に、前記端末装置設置場所における緊急異常の
発生を、検知するか又は端末装置より通報された場合
に、現在送信中のプログラムブロックの送信終了時点
で、前記プログラム送信手段に、以後のプログラムブロ
ックの送信を一時中断させる送信中断制御手段と、 前記プログラムの送信が一時中断され、センタ装置が、
前記緊急異常発生の通報に対する応答信号を端末装置に
送信した後か、または緊急異常発生の検知に基づく緊急
制御出力の指示情報を端末装置に送信してその応答信号
を受信した後に、前記プログラム送信手段に、前記一時
中断した後のプログラムブロックの送信を再開させる送
信再開制御手段とを付加し、 前記端末装置には、 前記センタ装置から複数ブロックの新プログラムを受信
中に、端末装置設置場所における緊急異常発生の検出信
号が入力した場合、現在受信中のプログラムブロックの
受信終了時点で、センタ装置へ緊急異常信号を送信して
通報する緊急異常通報手段と、 前記センタ装置が送信した緊急制御出力の指示情報を受
信した場合、該指示情報による緊急制御信号を、直ちに
端末装置設置場所における制御装置へ出力する制御信号
出力手段とを付加したことを特徴とする請求項1または
請求項2記載のプログラムローディング装置。3. The center device detects, when the program transmission means is transmitting a new program of a plurality of blocks, occurrence of an urgent abnormality at the installation location of the terminal device or when the terminal device reports to the center device. , At the end of transmission of the program block currently being transmitted, the program transmission means, transmission interruption control means for temporarily interrupting the transmission of the subsequent program block, the transmission of the program is temporarily interrupted, the center device,
After transmitting the response signal to the notification of the occurrence of the emergency abnormality to the terminal device, or after transmitting the instruction information of the emergency control output based on the detection of the occurrence of the emergency abnormality to the terminal device and receiving the response signal, the program transmission Means for restarting transmission of the program block after the temporary interruption is added to the terminal device, and the terminal device is installed in the terminal device installation place while receiving a new program of a plurality of blocks from the center device. When a detection signal of occurrence of an emergency abnormality is input, an emergency abnormality notification means for transmitting an emergency abnormality signal to the center device to notify when the reception of the program block currently being received ends, and an emergency control output transmitted by the center device. When receiving the instruction information of, the emergency control signal according to the instruction information is immediately output to the control device at the terminal device installation place. Program loading apparatus according to claim 1 or claim 2, wherein the added and control signal output means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5021421A JPH06236332A (en) | 1993-02-09 | 1993-02-09 | Program loading device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5021421A JPH06236332A (en) | 1993-02-09 | 1993-02-09 | Program loading device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06236332A true JPH06236332A (en) | 1994-08-23 |
Family
ID=12054541
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5021421A Pending JPH06236332A (en) | 1993-02-09 | 1993-02-09 | Program loading device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06236332A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6051223A (en) * | 1989-09-21 | 2000-04-18 | Mitsui Toatsu Chemicals Incorporated | Method of improving solubility of tissue plasminogen activator |
-
1993
- 1993-02-09 JP JP5021421A patent/JPH06236332A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6051223A (en) * | 1989-09-21 | 2000-04-18 | Mitsui Toatsu Chemicals Incorporated | Method of improving solubility of tissue plasminogen activator |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4455601A (en) | Cross checking among service processors in a multiprocessor system | |
| US5673036A (en) | Selective call receiver memory validation and acknowledgement and method therefor | |
| JPH06236332A (en) | Program loading device | |
| JPH0591226A (en) | Facsimile equipment | |
| JPH0537421A (en) | Transmission line switching control method and device thereof | |
| KR960020388A (en) | Broadcasting automatic control system | |
| JPS58141057A (en) | Loop network transmitter | |
| JP3170064B2 (en) | Slave station controller for distribution line switch | |
| JP3168039B2 (en) | Programmable controller | |
| JP3942045B2 (en) | Communication control device | |
| JPH0142198B2 (en) | ||
| JP2766061B2 (en) | Remote monitoring device | |
| JPH0272436A (en) | Redundant system for microcomputer | |
| JPH06153274A (en) | Remote monitoring controller | |
| JPH077770A (en) | Distant monitoring equipment | |
| JP2602821Y2 (en) | Remote control device | |
| JPH1118164A (en) | Remote supervisory control system | |
| JPS62226742A (en) | Polling transmission control system | |
| JPS62225031A (en) | Tdma terminal equipment for satellite communication | |
| EP1207706A1 (en) | Call control device | |
| JPH08228253A (en) | Image processing device | |
| JPS6174438A (en) | Test method of maximum load | |
| JP2001100811A (en) | Display device for control and recording medium with program recorded therein | |
| JPH05316206A (en) | Processing program/down-load system for remote control switchboard | |
| JPS5843942B2 (en) | Broadcast notification processing method |