JPH05100975A - Program loading system - Google Patents
Program loading systemInfo
- Publication number
- JPH05100975A JPH05100975A JP3261542A JP26154291A JPH05100975A JP H05100975 A JPH05100975 A JP H05100975A JP 3261542 A JP3261542 A JP 3261542A JP 26154291 A JP26154291 A JP 26154291A JP H05100975 A JPH05100975 A JP H05100975A
- Authority
- JP
- Japan
- Prior art keywords
- program
- station
- primary
- primary station
- program loading
- 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
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 program loading system, and more particularly to a program loading system between a primary station and a secondary station in data communication for providing an open system connection service.
【0002】[0002]
【従来の技術】従来のこの種のプログラムローディング
方式は、二次局が1つの場合の1対1通信回線上で実現
していたか、又は一次局から二次局へ或いは二次局から
一次局へのどちらか一方向の起動でプログラムローディ
ングを行っていた。2. Description of the Related Art A conventional program loading system of this kind has been realized on a one-to-one communication line in the case of one secondary station, or from a primary station to a secondary station or from a secondary station to a primary station. The program was being loaded by starting in either direction.
【0003】[0003]
【発明が解決しようとする課題】上述した従来のプログ
ラムローディング方式では、一次局のプログラムを持っ
ている二次局が1つの場合の1対1通信回線上で実現し
ていた為、二次局1つに障害が発生するとプログラムの
転送が出来ず、一次局も動作不可となるという問題点が
あった。In the above-mentioned conventional program loading method, since the secondary station having the program of the primary station is realized on the one-to-one communication line, the secondary station is realized. If one fails, the program cannot be transferred and the primary station also becomes inoperable.
【0004】また、一次局から二次局へ或いは二次局か
ら一次局へのどちらか一方向からの起動でプログラムロ
ーディングを行っていた為、起動をかける側の局で起動
をかけるタイミングがずれるとプログラムのローディン
グが出来なくなるという問題点があった。Further, since the program loading is performed by activating from one direction from the primary station to the secondary station or from the secondary station to the primary station, the timing of activation at the activating station is deviated. And there was a problem that the program could not be loaded.
【0005】[0005]
【課題を解決するための手段】本発明の方式は、開放型
システム間接続サービスをし、電源投入時又は初期設定
時に二次局からプログラムをロードする必要のある1つ
の一次局に、一次局のプログラムを持っている1つ以上
の二次局と、一次局のプログラムを持っていない0又は
1つ以上の二次局を接続している通信回線におけるプロ
グラムローディング方式において、電元投入時又は初期
設定時に、一次局が認識している二次局に対しプログラ
ム転送要求を出すとともに、一次局のプログラムを持っ
ている全ての二次局が一次局へプログラムローディング
動作開始指示を出し、一次局からのプログラム転送要求
を受けた二次局がプログラムを持っていて、そのプログ
ラムを転送出来る場合はプログラムを転送し、又一局が
プログラムローディング動作開始指示を受けた時に未だ
プログラムローディングを開始していなければ、そのプ
ログラムローディング動作開始指示を最初に送った二次
局へプログラム転送要求を出し、その後に一次局からプ
ログラム転送要求を受けた二次局は一次局へプログラム
を転送し、一次局はプログラムローディング完了後に一
次局が認識しているすべての二次局に対しプログラムロ
ーディング完了報告を出し、各二次局とメッセージデー
タの通信を開始する手段を有することを特徴とする。SUMMARY OF THE INVENTION The system of the present invention provides an open type inter-system connection service to one primary station which requires a program to be loaded from the secondary station at the time of power-on or initialization. In the program loading method in the communication line connecting one or more secondary stations having the program of 0 and one or more secondary stations not having the program of the primary station, at the time of turning on the power source or At the time of initial setting, the primary station issues a program transfer request to the secondary station, and all secondary stations that have the program of the primary station issue a program loading operation start instruction to the primary station. If the secondary station that received the program transfer request from the computer has the program and can transfer the program, the program is transferred. If the program loading request has not been started when the commanding operation start instruction is received, a program transfer request is issued to the secondary station that first sent the program loading operation start instruction, and then the program transfer request is received from the primary station. The secondary station transfers the program to the primary station, and after the program loading is completed, the primary station issues a program loading completion report to all secondary stations recognized by the primary station, and communicates message data with each secondary station. It is characterized by having means for starting.
【0006】[0006]
【実施例】次に、本発明について図面を参照して説明す
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.
【0007】図1は本発明が実施される装置の構成図で
ある。FIG. 1 is a block diagram of an apparatus in which the present invention is implemented.
【0008】図において、一次局1はイニシャライズ動
作中に二次局へプログラム転送要求を出し、二次局から
プログラムをロードする必要のある被ローディング局で
ある。二次局2と二次局3は同じ一次局のプログラムを
持つ。二次局2は、一次局1とデータリンクが確立後、
一次局1へプログラムローディング動作開始指示を出
し、一次局1のプログラムを転送する局であり、二次局
3は一次局1とデータリンクが確立後、一次局1からの
プログラム転送要求により一次局1のプログラムを転送
出来ない局である。二次局4は一次局1のプログラムを
持たない局である。In the figure, a primary station 1 is a loaded station that needs to issue a program transfer request to the secondary station during the initialization operation and load the program from the secondary station. Secondary station 2 and secondary station 3 have the same primary station program. After the data link is established with the primary station 1, the secondary station 2
The secondary station 3 is a station that issues a program loading operation start instruction to the primary station 1 and transfers the program of the primary station 1. The secondary station 3 is a primary station in response to a program transfer request from the primary station 1 after a data link is established with the primary station 1. It is a station that cannot transfer the 1st program. The secondary station 4 is a station that does not have the program of the primary station 1.
【0009】次に動作について説明する。Next, the operation will be described.
【0010】データリンクが確立すると、一次局1は認
識した二次局の中からプログラムローディング動作開始
指示を受けていないことを確認し、認識した二次局すべ
てにプログラム転送要求を出す。もし、ここで、プログ
ラムローディング動作開始指示を受けていたらそのプロ
グラムローディング動作開始指示を最初に出した二次局
に対してのみプログラム転送要求を出す。When the data link is established, the primary station 1 confirms that it has not received a program loading operation start instruction from the recognized secondary stations, and issues a program transfer request to all the recognized secondary stations. If the program loading operation start instruction is received, the program transfer request is issued only to the secondary station that first issued the program loading operation start instruction.
【0011】二次局4はプログラム転送要求を受けても
転送するプログラムが無いので何も応答は返さず、一次
局1からのプログラムローディング完了報告を待つ。Even if the secondary station 4 receives a program transfer request, since there is no program to be transferred, no response is returned and the secondary station 4 waits for a program loading completion report from the primary station 1.
【0012】二次局3は転送するプログラムを持ってい
るが転送不可状態なので何も応答は返さず、一次局1か
らのプログラムローディング完了報告を待つ。The secondary station 3 has a program to be transferred, but since it is in a transfer-disabled state, no response is returned and the secondary station 3 waits for a program loading completion report from the primary station 1.
【0013】二次局2はプログラム転送要求を一次局1
より受けるとプログラムを一次局1へ転送する。また、
二次局2は一次局1とのデータリンク確立後、一次局1
からのプログラム転送要求が無ければそれを待たずに一
次局1ヘプログラムローディング動作開始指示を出し、
プログラム転送要求が一次局1から転送されるのを待ち
プログラムを一次局1へ転送する。The secondary station 2 sends a program transfer request to the primary station 1.
When it receives more, the program is transferred to the primary station 1. Also,
After the secondary station 2 establishes a data link with the primary station 1, the secondary station 1
If there is no program transfer request from, send a program loading operation start instruction to the primary station 1 without waiting for it.
Wait for the program transfer request to be transferred from the primary station 1 and transfer the program to the primary station 1.
【0014】一次局1は二次局2からのプログラムをロ
ーディングすると認識している二次局2〜4すべてにプ
ログラムローディング完了報告を出し、各二次局とのメ
ッセージ通信を開始する。The primary station 1 issues a program loading completion report to all the secondary stations 2 to 4 that it recognizes that the program from the secondary station 2 is loaded, and starts message communication with each secondary station.
【0015】[0015]
【発明の効果】以上説明したように本発明は、開放型シ
ステム間相互接続サービスを行う通信回線上において、
同一の一次局のプログラムを持っている二次局を数局置
き、一次局と各二次局の双方からプログラムローディン
グの起動をかけることにより、一次局と各二次局との間
でのプログラムローディングの起動をかけるタイミング
のずれによるプログラムローディング動作が出来なくな
るのを防ぐことが出来るという効果を有する。As described above, according to the present invention, on a communication line for providing an open system interconnection service,
By placing several secondary stations that have the same primary station program and activating the program loading from both the primary station and each secondary station, the program between the primary station and each secondary station There is an effect that it is possible to prevent the program loading operation from being disabled due to the timing difference when the loading is activated.
【図1】本発明が実施される装置の構成図である。1 is a block diagram of an apparatus in which the present invention is implemented.
1 一次局 2 二次局 3 二次局 4 二次局 1 Primary station 2 Secondary station 3 Secondary station 4 Secondary station
Claims (1)
源投入時又は初期設定時に二次局からプログラムをロー
ドする必要のある1つの一次局に、一次局のプログラム
を持っている1つ以上の二次局と、一次局のプログラム
を持っていない0又は1つ以上の二次局を接続している
通信回線におけるプログラムローディング方式におい
て、 電元投入時又は初期設定時に、一次局が認識している二
次局に対しプログラム転送要求を出すとともに、一次局
のプログラムを持っている全ての二次局が一次局へプロ
グラムローディング動作開始指示を出し、 一次局からのプログラム転送要求を受けた二次局がプロ
グラムを持っていて、そのプログラムを転送出来る場合
はプログラムを転送し、 又一局がプログラムローディング動作開始指示を受けた
時に未だプログラムローディングを開始していなけれ
ば、そのプログラムローディング動作開始指示を最初に
送った二次局へプログラム転送要求を出し、 その後に一次局からプログラム転送要求を受けた二次局
は一次局へプログラムを転送し、 一次局はプログラムローディング完了後に一次局が認識
しているすべての二次局に対しプログラムローディング
完了報告を出し、各二次局とメッセージデータの通信を
開始する手段を有するプログラムローディング方式。1. One or more primary stations that have an open system connection service and require a program to be loaded from the secondary station when the power is turned on or when initialization is performed. In the program loading method in the communication line connecting the secondary station and 0 or more secondary stations that do not have the program of the primary station, the primary station recognizes when the power is turned on or at the initial setting. The secondary station that has the program of the primary station, all secondary stations that have the program of the primary station issue a program loading operation start instruction to the primary station, and the secondary station that receives the program transfer request from the primary station If the station has a program and can transfer the program, transfer the program, or when one station receives a program loading operation start instruction. If program loading has not started yet, a program transfer request is issued to the secondary station that first sent the program loading operation start instruction, and then the secondary station that received the program transfer request from the primary station sends the program to the primary station. The program loading method in which the primary station issues a program loading completion report to all secondary stations that the primary station recognizes after the program loading is completed, and starts communication of message data with each secondary station. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3261542A JPH05100975A (en) | 1991-10-09 | 1991-10-09 | Program loading system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3261542A JPH05100975A (en) | 1991-10-09 | 1991-10-09 | Program loading system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05100975A true JPH05100975A (en) | 1993-04-23 |
Family
ID=17363346
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3261542A Pending JPH05100975A (en) | 1991-10-09 | 1991-10-09 | Program loading system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05100975A (en) |
-
1991
- 1991-10-09 JP JP3261542A patent/JPH05100975A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05100975A (en) | Program loading system | |
| JPH04256051A (en) | Program loading system | |
| JPS58207750A (en) | Data communication system | |
| JP2522847B2 (en) | Programmable controller system | |
| JPH04365238A (en) | Device and method for duplexing communication processing | |
| JP2001217838A (en) | Network load test method | |
| JPS62159549A (en) | Data transfer system | |
| JPS61271555A (en) | Transferring system for direct memory access | |
| JPH04124933A (en) | Sequential multi-address data verifying system | |
| JPH04238433A (en) | Transmission system for event data | |
| JPS63283344A (en) | Electronic switching system | |
| JPH0683224B2 (en) | Polling method | |
| JPH0438618Y2 (en) | ||
| JP2943193B2 (en) | Satellite communication system | |
| JPH04268852A (en) | Communication equipment | |
| JPH05282225A (en) | Intra-terminal data communication equipment | |
| JPH0310310A (en) | Automatic power source disconnection system for online terminal | |
| JPS62271590A (en) | Remote supervisory and controlling equipment | |
| JPS58222635A (en) | Polling transmission system | |
| JPH11191025A (en) | Infrared data communication system | |
| JPS59121535A (en) | Load processing system of registered fixed information | |
| JPH0395654A (en) | Relaying system for control message | |
| JPH07210483A (en) | Network control method | |
| JPH02185145A (en) | Communication control system | |
| JPS6229339A (en) | Data communication system |