JPH03252818A - Down load control system - Google Patents

Down load control system

Info

Publication number
JPH03252818A
JPH03252818A JP2051984A JP5198490A JPH03252818A JP H03252818 A JPH03252818 A JP H03252818A JP 2051984 A JP2051984 A JP 2051984A JP 5198490 A JP5198490 A JP 5198490A JP H03252818 A JPH03252818 A JP H03252818A
Authority
JP
Japan
Prior art keywords
blocks
input
block
host device
down load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2051984A
Other languages
Japanese (ja)
Inventor
Koichi Kondo
弘一 近藤
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 JP2051984A priority Critical patent/JPH03252818A/en
Publication of JPH03252818A publication Critical patent/JPH03252818A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically carry on a down loading operation with no interruption even if an error is generated in a down load mode by detecting the number of reception blocks in a down load state by informing a re-down load request through a block in order to carry on the down loading operation when the normal reception of blocks is impossible. CONSTITUTION:A program down loaded from a host device 1 is stored in a memory 6 of an input/output device 2 and at the same time the number of blocks are counted by a counter 7-1. When some abnormality occurs, a data request mechanism part 10 informs the device 1 of a re-down load request given from an abnormal block. Then a re-down loading operation is carried on. Therefore the number of received blocks is checked in a down load state. Then a re-down load request is informed from a block if the normal reception of blocks is impossible. Thus a down loading operation is carried on. By such constitution, the down loading operation is automatically carried on with no interruption despite an error generated in a down load mode.

Description

【発明の詳細な説明】 〔概要ゴ 上位装置からプログラムを入出力装置にダウンロードす
るダウンロード1111111方式に関し、ダウンロー
ド時に受信ブロック数を検出して正常に受信できなかっ
たときに当該ブロックから再ダウンロード要求を通知し
てダウンロードし、ダウンロード中にたとえエラーが発
生しても中断なく自動的に続行すると共にインタフェー
スの占有lIBを必要最小限にすることを目的とし、上
位装置から入出力装置にダウンロードされてきたプログ
ラムのブロック数を計数する受信カウンタを当該入出力
装置内に設け、上位装置からダウンロードされてきたプ
ログラムを入出力装置のメモリに格納すると共にそのブ
ロック数を上記受信カウンタで計数し、何らかの異常ガ
発生したときにi該受信カウンタを参照して異常が発生
したブロックからの再ダウンロード要求を上記上位装置
に遣短し、ダウンロードを続行するように構成する。
[Detailed Description of the Invention] [Summary] Regarding the download 1111111 method for downloading a program from a host device to an input/output device, the number of received blocks is detected at the time of download, and if the block cannot be received normally, a re-download request is issued from the block. It has been downloaded from a host device to an input/output device with the aim of notifying and downloading, and even if an error occurs during downloading, it continues automatically without interruption, and also to minimize the amount of space occupied by the interface. A reception counter that counts the number of blocks of the program is provided in the input/output device, and the program downloaded from the host device is stored in the memory of the input/output device, and the number of blocks is counted by the reception counter. When an abnormality occurs, the reception counter is referred to and a re-download request from the block in which the abnormality has occurred is sent to the higher-level device to continue downloading.

〔産業上の利用分野〕[Industrial application field]

本発明は、上位装置からプログラムを入出力装置にダウ
ンロードするダウンロード制御方式に関するものである
The present invention relates to a download control method for downloading a program from a host device to an input/output device.

〔従来の技術と発明が解決しようとする課題]従来、入
出力装置の電源投入時に上位装置から制御プログラムを
ダウンロードするようにしていた。この上位装置から入
出力装置へのダウンロード中にインタフェースの乱れな
どにより、正しいデータを受信できない場合、インタフ
ェースなどに異常が発生した旨を!!示し、ダウンロー
ドを中断していた。このため、オペレータが上位装置か
ら入出力装置にダウンロードを最初からやりなおしたり
、入出力装置のtmを再投入して最初からやりなおした
りする必要があり、オペレータに負担がかかると共に、
最初から再ダウンロードすることによって多くの時間が
必要となり、しかも同一インタフェースに複数の入出力
装置が接続されているとインタフェース占有による上位
装置から他の入出力装置に対するサポートが遅延してし
まうという問題があった。
[Prior Art and Problems to be Solved by the Invention] Conventionally, a control program has been downloaded from a host device when the input/output device is powered on. If correct data cannot be received due to interface disturbances while downloading from this host device to the input/output device, an error message will be sent indicating that an error has occurred in the interface, etc. ! and the download was interrupted. Therefore, it is necessary for the operator to restart the download from the host device to the input/output device from the beginning, or to reinsert the TM of the input/output device and start over from the beginning, which places a burden on the operator.
Re-downloading from the beginning requires a lot of time, and if multiple input/output devices are connected to the same interface, there is a problem that support from the host device to other input/output devices will be delayed due to interface occupancy. there were.

本発明は、ダウンロード時に受信ブロック数を検出して
正常に受信できなかったときに当該ブロックから再ダウ
ンロード要求を通知してダウンロードし、ダウンロード
中にたとえエラーが発生しても中断な(自#Ii的にt
&行すると共にインタフェースの占有時間を必要最小限
にすることを月的としている。
The present invention detects the number of received blocks at the time of downloading, and when it cannot be received normally, notifies a re-download request from the relevant block and downloads it, so that even if an error occurs during downloading, there is no interruption (self #Ii t
Our monthly goal is to minimize the amount of time occupied by the interface.

〔1IIWlを解決する手段〕 第1図を参照してv1!!を解決する手段を説明する。[Means to solve 1IIWl] Referring to Figure 1, v1! ! Explain the means to solve the problem.

第1図において、入出力装置2は、上位装置lからプロ
グラムをダウンロードしようとする対象の入出力装置で
ある。
In FIG. 1, an input/output device 2 is an input/output device from which a program is to be downloaded from a host device l.

受信カウンタ7−1は、上位装置lから入出大袋W2に
ダウンロードされてきたプログラムのブロック数を計数
するカウンタでおる。
The reception counter 7-1 is a counter that counts the number of program blocks downloaded from the host device 1 to the input/output bag W2.

データ要求機構部10は、異常が発生したブロックから
の再ダウンロード要求を上位装置tに通知するものであ
る。
The data request mechanism unit 10 notifies the higher-level device t of a re-download request from a block in which an abnormality has occurred.

〔作用〕[Effect]

本発明は、第1図に示すように〜上位装置tからダウン
ロードされてきたプログラムを入出力装置2のメモ’7
6に格納すると共にそのブロック数を受信カランタフ−
1で計数し、何らかの異常が発生したときに当該異常が
発生したブロックからの再ダウンロード要求をデータ要
求機構部10が上位*21に通知し、再ダウンロードを
続行するようにしている。
The present invention, as shown in FIG.
6 and receive the number of blocks.
1, and when some abnormality occurs, the data request mechanism unit 10 notifies the upper layer *21 of a re-download request from the block where the abnormality has occurred, and continues re-downloading.

従って、ダウンロード時に受信ブロック数を検出して正
常に受信できなかったときに当該ブロックから再ダウン
ロード要求を通知してダウンロードすることにより、ダ
ウンロード中にたとえエラーが発生しても中断なく自動
釣に続行すると共にインタフェースの占有時間を必要量
小屋にすることが可能となる。
Therefore, by detecting the number of received blocks at the time of downloading and notifying a re-download request from the relevant block when it cannot be received normally, automatic fishing will continue without interruption even if an error occurs during downloading. At the same time, it becomes possible to reduce the time occupied by the interface to the required amount.

〔実施例〕〔Example〕

次に、第1図および第2図を用いて本発明のl実施例の
構成および動作を順次詳細に説明する。
Next, the configuration and operation of an embodiment of the present invention will be explained in detail using FIGS. 1 and 2.

第1図において、上位装置1は、入出大袋f2に111
mプログラムをダウンロードする上位装置、例えばCH
(チエネル装置)である。
In FIG. 1, the host device 1 is located at 111 in the input/output large bag f2.
A host device that downloads m programs, such as CH
(Chanel device).

入出大袋N2は、上位装置flからプログラムをダウン
ロードしようとする対象の入出力装置であって、3ない
し10から構成されるものである。
The input/output bag N2 is an input/output device to which a program is to be downloaded from the host device fl, and is composed of 3 to 10 devices.

尚、入出力WfZ内でダウンロードするために必要最小
限のプログラムは、図示外のROMに格納しておく。
Note that the minimum program necessary for downloading within the input/output WfZ is stored in a ROM not shown.

入出力vsmma部3は、上位装置lとの間で入出力を
制御するものである。
The input/output vsmma unit 3 controls input/output with the host device l.

データ受信機構部4は、データを受信するものである。The data receiving mechanism section 4 is for receiving data.

データ書込み機構1r5は、上位装置lからダウンロー
ドされてきたプログラムなどをメモリ6に書き込むもの
である。
The data writing mechanism 1r5 writes programs and the like downloaded from the host device 1 into the memory 6.

メモリ6は、プログラムなどを書き込むものである。The memory 6 is used to write programs and the like.

ブロック数検出機構部7ば、上位装置1からダウンロー
ドされてきたプログラムのブロック数を検出するもので
ある。
The block number detection mechanism section 7 detects the number of blocks of the program downloaded from the host device 1.

受信カウンタ7−1は、上位装置lから入出力装置2に
送られてきたプログラムのブロック数(例えば256バ
イト単位のブロック数)を計数するものである。
The reception counter 7-1 counts the number of program blocks (for example, the number of blocks in units of 256 bytes) sent from the host device 1 to the input/output device 2.

エラー処理機構部8は、上位装置1から送られてきたプ
ログラムなどの転送エラーを検出したりなどするもので
ある。
The error processing mechanism section 8 detects transfer errors in programs sent from the host device 1, etc.

再ダウンロード指示機構部9は、再ダウンロードを指示
するものである。これは、上位装置1からインタフェー
スを介してダウンロードされてきたプログラムについで
、何らかのエラーが検出されたときに、告該エラーの発
生したブロックから再ダウンロード要求を通知するよう
に指示を行うものである。この際、崗−ブロックで所定
口数を超えてエラーが発生した場合、インタフェースが
復旧不可能と判断し、ダウンロードを中止し、その旨を
西面上に表示する。
The re-download instruction mechanism section 9 instructs re-download. This is to issue an instruction to notify a re-download request from the block where the error occurred when any error is detected in the program downloaded from the host device 1 via the interface. . At this time, if an error occurs in the block more than a predetermined number of times, it is determined that the interface cannot be restored, the download is stopped, and a message to that effect is displayed on the west side.

データ要求機構部10は、ダウンローY要求を上位装置
1に通知するものである。
The data request mechanism unit 10 notifies the host device 1 of a download Y request.

次に、第2図フローチャートを用いて第1図構成の動作
を#認に説明する。
Next, the operation of the configuration shown in FIG. 1 will be clearly explained using the flowchart shown in FIG.

第2図において、■は、ダウンロードおよびブロック数
のカウントを行う、これは、第1図上位装’11からダ
ウンロードされてきたプログラムを、入出力11111
1111111部3、データ受信機構部4、データ書込
み機構部5を介してメモリ6にプロ、り単位にロードす
ると共に、ブロック数検出機構部7によって検出したブ
ロックを受信カウンタ7−1でカウントする。
In FIG. 2, ■ performs downloading and counts the number of blocks. This means that the program downloaded from the host system '11 in FIG.
1111111 section 3, data receiving mechanism section 4, and data writing mechanism section 5, the blocks are loaded into the memory 6 in units of programs, and the blocks detected by the block number detection mechanism section 7 are counted by the reception counter 7-1.

@は一エラー発生か否かを判別する。これは、第1図エ
ラー処!!機構部8が、■で上位装置1から受信したプ
ログラムに何らかのエラーが発生したか否かを判別する
。YESの場合には、■で受信カウンタ値からダウンロ
ード要求を上位語Klに通知し、■で再ダウンロードす
る。一方、N。
@ determines whether an error has occurred. This is the error location in Figure 1! ! The mechanical unit 8 determines whether any error has occurred in the program received from the host device 1 in step (3). In the case of YES, a download request is notified to the hypernym Kl from the reception counter value in ■, and the download is performed again in ■. On the other hand, N.

の場合には、■で終了か否かを判別し、YESのときに
終了しくEND) 、Noのときに0を纜り返し行う。
In the case of , it is determined whether or not to end with (■), and when YES, the process is terminated (END), and when No, 0 is returned.

以上の処理によって、上位装置tからダウンロードされ
てきたプログラムを受信して入出力装置20メモリ6に
ロード中に、受信したプログラムからエラーを検出した
場合、エラーの発生したブロックからのダウンロード要
求を上位Wflに通知してダウンロードを続行すること
により、ダウンロード中にたとえエラーが発生してもオ
ペレータの介入なしに自動的に再ダウンロードを続行し
、しかも必要最小限の再ダウンロードによりインタフェ
ースの占有IIEを短縮することが回旋となる。
Through the above processing, if an error is detected in the received program while receiving the program downloaded from the higher-level device t and loading it into the input/output device 20 memory 6, the download request from the block where the error occurred is transferred to the higher-level device. By notifying Wfl and continuing the download, even if an error occurs during the download, the re-download will be automatically continued without operator intervention, and the IIE occupied by the interface will be shortened by re-downloading to the minimum necessary level. This is called rotation.

第3図は、ダウンロード時のブロック数検出説明図を示
す。
FIG. 3 shows an explanatory diagram of block number detection at the time of download.

第3は(イ)は、書き込みアドレスの上位ピントをブロ
ックアドレスとする様子を示す、これは、上位!21か
らダウンロードされてきた所定バイト数単位(例えば2
56バイト単位)のプログラムをメモリ6に書き込む際
に、上位のピントをブロック数(ブロックアドレス)と
して検出するようにしたものである。
The third example (a) shows how the upper focus of the write address is set to the block address.This is the upper! A predetermined number of bytes downloaded from 21 (for example, 2
When writing a program (in units of 56 bytes) to the memory 6, the upper focus is detected as the number of blocks (block address).

第3閃(C7)は、256 B <パイ) ) 41位
ニ上位装置1から入出力装置2にダウンロードされてき
た場合のブロックアドレスを示す、このようにメモリ6
にプログラムをライトする書き込みアドレスの上位ビッ
トによってブロック数を検出し、何らかのエラーが発生
したときに当該ブロック数(ブロックアドレス)のプロ
グラムからの再ダウンロード要求を上位装置1に通知す
るようにしてもよい。
The third flash (C7) is 256 B
The number of blocks may be detected based on the upper bits of the write address at which the program is written, and when an error occurs, a re-download request from the program of the block number (block address) may be notified to the host device 1. .

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、ダウンロード時
に受信ブロック数を検出して正常に受信できなかったと
きに5#Lブロツクから再ダウンロード要求を通知して
ダウンロードを続行する構成を採用しているため、ダウ
ンロード中にたとえエラーが発生しても中斯な(自動的
に続行すると共に、インタフェースの占有時間を必要最
小限にし、他の入出力装置への未サポート時間を短縮す
ることができる。
As explained above, according to the present invention, the number of received blocks is detected at the time of downloading, and when the block cannot be received normally, a re-download request is notified from the 5#L block and the download is continued. Therefore, even if an error occurs during downloading, it will automatically continue, minimize the time occupied by the interface, and reduce the time when other input/output devices are not supported. .

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

第1閃は本発明の1実lI例構成図、第2回は本発明の
動作説明フローチャート、第3図は本発明に係るダウン
ロー1時のブびツク数検出説明図を示す。 図中、1ば1位装置、2ば入出力装置、5はデータ書込
み@111部、6はメモリ、7はブロック数検出機構部
、7−1は受信カウンタ、8ばエラー燃理**部、9は
再ダウンロード指示機構部、10ばデータ要求a構部を
表す。
The first part shows a configuration diagram of one practical example of the present invention, the second part shows a flowchart explaining the operation of the present invention, and FIG. In the figure, 1 is the 1st place device, 2 is the input/output device, 5 is the data write @ 111 part, 6 is the memory, 7 is the block number detection mechanism part, 7-1 is the reception counter, 8 is the error fuel** part , 9 represents a re-download instruction mechanism section, and 10 represents a data request a structure section.

Claims (1)

【特許請求の範囲】[Claims] 上位装置からプログラムを入出力装置にダウンロードす
るダウンロード制御方式において、上位装置(1)から
入出力装置(2)にダウンロードされてきたプログラム
のブロツク数を計数する受信カウンタ(7−1)を当該
入出力装置(2)内に設け、上位装置(1)からダウン
ロードされてきたプログラムを入出力装置(2)のメモ
リに格納すると共にそのブロック数を上記受信カウンタ
(7−1)で計数し、何らかの異常が発生したときに当
該受信カウンタ(7−1)を参照して異常が発生したブ
ロックからの再ダウンロード要求を上記上位装置(1)
に通知し、ダウンロードを続行するように構成したこと
を特徴とするダウンロード制御方式。
In a download control method in which a program is downloaded from a host device to an input/output device, a reception counter (7-1) that counts the number of blocks of a program downloaded from a host device (1) to an input/output device (2) is set to the input/output device. Provided in the output device (2), the program downloaded from the host device (1) is stored in the memory of the input/output device (2), and the number of blocks is counted by the reception counter (7-1). When an error occurs, the host device (1) refers to the reception counter (7-1) and issues a re-download request from the block where the error occurred.
A download control method characterized in that the download control method is configured to notify the user and continue downloading.
JP2051984A 1990-03-02 1990-03-02 Down load control system Pending JPH03252818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2051984A JPH03252818A (en) 1990-03-02 1990-03-02 Down load control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2051984A JPH03252818A (en) 1990-03-02 1990-03-02 Down load control system

Publications (1)

Publication Number Publication Date
JPH03252818A true JPH03252818A (en) 1991-11-12

Family

ID=12902126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2051984A Pending JPH03252818A (en) 1990-03-02 1990-03-02 Down load control system

Country Status (1)

Country Link
JP (1) JPH03252818A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005332137A (en) * 2004-05-19 2005-12-02 Sony Corp Content data supply system, content data supply device and method, content data reproduction device and method, and program
US7280894B2 (en) 1999-01-18 2007-10-09 Fujitsu Ten Limited Communication system for communication between in-vehicle terminals and center, and in-vehicle terminal employed in communication system
US7756793B2 (en) 2004-05-19 2010-07-13 Sony Corporation Content data supply system, content data supply apparatus and method, content data reproduction apparatus and method, and program
US8245220B2 (en) 1999-09-06 2012-08-14 Fujitsu Limited Method and apparatus for updating software in radio terminal device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7280894B2 (en) 1999-01-18 2007-10-09 Fujitsu Ten Limited Communication system for communication between in-vehicle terminals and center, and in-vehicle terminal employed in communication system
US7286908B2 (en) 1999-01-18 2007-10-23 Fujitsu Ten Limited Communication system for communication between in-vehicle terminals and center, and in-vehicle terminal employed in communication system
US7349769B2 (en) 1999-01-18 2008-03-25 Fujitsu Ten Limited Communication system for communication between in-vehicle terminals and center, and in-vehicle terminal employed in communication system
US8245220B2 (en) 1999-09-06 2012-08-14 Fujitsu Limited Method and apparatus for updating software in radio terminal device
JP2005332137A (en) * 2004-05-19 2005-12-02 Sony Corp Content data supply system, content data supply device and method, content data reproduction device and method, and program
US7756793B2 (en) 2004-05-19 2010-07-13 Sony Corporation Content data supply system, content data supply apparatus and method, content data reproduction apparatus and method, and program
US8578438B2 (en) 2004-05-19 2013-11-05 Sony Corporation Content supply system, content supply apparatus and method, content playback apparatus and method, and program

Similar Documents

Publication Publication Date Title
JP2812189B2 (en) How to download the program
US4852092A (en) Error recovery system of a multiprocessor system for recovering an error in a processor by making the processor into a checking condition after completion of microprogram restart from a checkpoint
CN100524219C (en) Configuration synchronization for redundant processors executing different versions of software
WO2009046284A1 (en) Firmware image update and management
JP2002245022A (en) Multiprocessor system, its shared memory control method and shared memory control program,
JPH03252818A (en) Down load control system
JP2004213406A (en) Information communication unit for programmable controller, and remote management system and method for factory automation apparatus
JPH03132143A (en) Emergency restart processing system in exchange system
KR20000016777A (en) Data loading process
JPH0895614A (en) Controller
JP3550256B2 (en) Information processing equipment
EP1768411A1 (en) Television camera system and respective configuring method
JPH10133997A (en) Dma controller
JPH0973437A (en) Multi-cpu system
JP2000035889A (en) Radio base station device
JP2003140915A (en) Computer device, and download method of program
JPH10133958A (en) Communication device control circuit
JP2005128629A (en) Database update system
JPS6077252A (en) Input/output control device
JPH04308943A (en) Automatic backup system
JPH04352226A (en) Data copying system between disk devices
JP2001043072A (en) Device and method for managing control program
JPH0546418A (en) Table loading system for monitor and control device
JPH05189001A (en) Controller
JPS6143857A (en) Method for automatic blocking of terminal equipment