JP2000227884A - Download control system - Google Patents

Download control system

Info

Publication number
JP2000227884A
JP2000227884A JP11030485A JP3048599A JP2000227884A JP 2000227884 A JP2000227884 A JP 2000227884A JP 11030485 A JP11030485 A JP 11030485A JP 3048599 A JP3048599 A JP 3048599A JP 2000227884 A JP2000227884 A JP 2000227884A
Authority
JP
Japan
Prior art keywords
program
load
processing device
file
program file
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
JP11030485A
Other languages
Japanese (ja)
Inventor
Jun Sato
順 佐藤
Satoru Ono
哲 小野
Shunichi Ota
俊一 太田
Hidetoshi Kuramoto
秀俊 蔵本
Tetsuya Toi
哲也 戸井
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP11030485A priority Critical patent/JP2000227884A/en
Publication of JP2000227884A publication Critical patent/JP2000227884A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a download control system with which plural programs can be simultaneously downloaded and efficient loading is enabled without requiring a mass storage device for a device on the side of providing a program. SOLUTION: A first processor 30 is provided with a program file storage means 302 for storing a program file, for which a load program is made correspondent to a load destination ID code, a program file reading means 301 for reading the program file and a transfer means 303 for transferring the read program file. A second processor is provided with a receiving means 201 for receiving the program file, an extracting means 202 for extracting a load program addressed to the present device from the received program file and a download means 204 for downloading the extracted load program.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、第1の処理装置か
ら第2の処理装置へプログラムをダウンロードするダウ
ンロード制御システムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a download control system for downloading a program from a first processing device to a second processing device.

【0002】[0002]

【従来の技術】ダウンロードすべきプログラムは、CD
−ROMのように比較的大容量の記憶媒体から供給され
ることが多いが、CD−ROMドライブを有しない処理
装置では、ダウンロードすべきプログラムを通信回線を
介して入手しなければならない。また、通信回線を介し
て複数の処理装置にそれぞれ固有のプログラムをダウン
ロードさせる場合、間違ったプログラムがダウンロード
されてしまうと、これが暴走や誤動作の原因となり得
る。したがって、通信回線を介してプログラムをダウン
ロードする場合には、各処理装置に所定のプログラムの
みが確実にダウンロードされるよう、操作者には細心の
注意が要求される。
2. Description of the Related Art A program to be downloaded is a CD.
-A processing device without a CD-ROM drive, which is often supplied from a relatively large-capacity storage medium such as a ROM, must obtain a program to be downloaded via a communication line. In addition, when a plurality of processing apparatuses download their own programs via a communication line, if a wrong program is downloaded, this may cause runaway or malfunction. Therefore, when downloading a program via a communication line, the operator needs to be very careful to ensure that only a predetermined program is downloaded to each processing device.

【0003】このような問題点を解決するために、例え
ば特開平9−305409号公報では、第1の処理装置
から第2の処理装置へプログラムをダウンロードする
際、第1の処理装置では、ダウンロード対象のプログラ
ムごとにダウンロード先を指定するようにしている。
In order to solve such a problem, for example, in Japanese Patent Laid-Open No. 9-305409, when a program is downloaded from a first processing device to a second processing device, the first processing device downloads the program. The download destination is specified for each target program.

【0004】[0004]

【発明が解決しようとする課題】上記した従来技術で
は、以下のような問題点があった。 (1) 第1の処理装置が、ダウンロード対象のプログラム
とダウンロード先との対応付けを誤ると、間違ったプロ
グラムがダウンロードされてしまう。 (2) 第1の処理装置では、ダウンロード対象のプログラ
ムをダウンロード先と対応付け、ダウンロード先に対応
したプログラムのみを当該ダウンロード先へダウンロー
ドしなければならなので、そのための固有かつ複雑な処
理を実行しなければならず、汎用的な処理装置を用いる
ことができない。 (3) ダウンロード先の装置とダウンロード対象のプログ
ラムとが一義的に対応付けられるので、一つの装置に複
数のプログラムを同時にダウンロードすることができな
い。 (4) ロード先の各装置に提供するプログラムが部分的に
同一である類似したプログラムであっても、各プログラ
ムをそれぞれ完全な形で保存し、別々に転送しなければ
ならないので、上位装置は大容量の記憶装置を必要と
し、かつローディング効率が悪い。
The above-mentioned prior art has the following problems. (1) If the first processing device incorrectly associates the download target program with the download destination, the wrong program will be downloaded. (2) In the first processing device, since the program to be downloaded must be associated with the download destination and only the program corresponding to the download destination must be downloaded to the download destination, a unique and complicated process for that is executed. And a general-purpose processing device cannot be used. (3) Since the download destination device is uniquely associated with the download target program, a plurality of programs cannot be downloaded simultaneously to one device. (4) Even if the program provided to each device to be loaded is a similar program that is partially the same, since each program must be stored in the complete form and transferred separately, the host device must It requires a large-capacity storage device and has low loading efficiency.

【0005】本発明の目的は、上記した従来技術の問題
点を解決し、第1の処理装置として汎用機を利用でき、
かつ同時に複数のプログラムをダウンロードでき、さら
にプログラムを提供する側の装置が大容量の記憶装置を
必要とせず、効率のよいローディングを可能にしたダウ
ンロード制御システムを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art, and to use a general-purpose machine as a first processing device.
It is another object of the present invention to provide a download control system which can download a plurality of programs at the same time, and in which the program providing side does not require a large-capacity storage device and enables efficient loading.

【0006】[0006]

【課題を解決するための手段】上記した目的を達成する
ために、本発明は、第1の処理装置から第2の処理装置
へ所定のプログラムをダウンロードするダウンロード制
御システムにおいて、以下のような手段を講じた点に特
徴がある。
To achieve the above object, the present invention provides a download control system for downloading a predetermined program from a first processing device to a second processing device. There is a feature in taking the.

【0007】(1) 第2の処理装置が、複数のプログラム
を含むプログラムファイルを受信する受信手段と、受信
したプログラムファイルから、自装置に割り当てられた
ロードプログラムを選択的に抽出する抽出手段と、前記
抽出されたロードプログラムをダウンロードするダウン
ロード手段とを含むこと。
(1) A second processing device includes a receiving unit for receiving a program file including a plurality of programs, and an extracting unit for selectively extracting a load program assigned to the own device from the received program file. Download means for downloading the extracted load program.

【0008】上記した特徴(1) によれば、各第2の処理
装置はプログラムファイルに含まれる複数のロードプロ
グラムから、自装置宛てのロードプログラムを選択的に
全てダウンロードすることができる。
According to the above feature (1), each second processing device can selectively download all of the load programs addressed to itself from a plurality of load programs included in the program file.

【0009】(2) 第1の処理装置から転送されるプログ
ラムファイルは、複数のロードプログラム片に分割され
たロードプログラムを含み、第2の処理装置は、各ロー
ドプログラム片の少なくとも一部を合成する合成手段を
含むこと。
(2) The program file transferred from the first processing device includes a load program divided into a plurality of load program pieces, and the second processing device synthesizes at least a part of each load program piece. Including a synthesis means that performs

【0010】上記した特徴(2) によれば、複数のロード
プログラム片のいずれか同士を適宜に組み合わせること
で複数種のロードプログラムを構築できるようにすれ
ば、各ロードプログラムがプログラムの一部をロードプ
ログラム片として共用できるので、第1の処理装置は複
数種のロードプログラムを完全な状態で保持する必要が
なく、かつ完全な状態で転送する必要がない。
According to the above feature (2), if a plurality of types of load programs can be constructed by appropriately combining any of the plurality of load program pieces, each load program forms a part of the program. Since it can be shared as a load program piece, the first processing device does not need to hold a plurality of types of load programs in a complete state, and does not need to transfer them in a complete state.

【0011】[0011]

【発明の実施の形態】以下、図面を参照して本発明を詳
細に説明する。図1は、本発明の一実施形態であるダウ
ンロード制御システムの主要部のブロック図であり、こ
こでは、第1の処理装置30から複数の第2の処理装置
20(20A,20B,20C…)へ所定のプログラム
がダウンロードされる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a main part of a download control system according to an embodiment of the present invention. Here, a first processing device 30 converts a plurality of second processing devices 20 (20A, 20B, 20C...). A predetermined program is downloaded to.

【0012】第1の処理装置30は、少なくとも1つの
ロードプログラムが、そのロード先を特定するロード先
IDコードと対応付けられたプログラムファイルを記憶
するプログラムファイル格納手段302と、前記プログ
ラムファイル格納手段302からプログラムファイルを
読み出すプログラムファイル読み出し手段301と、読
み出されたプログラムファイルを、IEEE1284あ
るいはTCP/IP等の適宜の通信プロトコルを利用し
て転送する転送手段303とを含む。前記プログラムフ
ァイル格納手段302には複数の異なるプログラムファ
イルを格納することが可能であり、この場合、プログラ
ムファイル読み出し手段301は、所定のプログラムフ
ァイルのみを選択的に読み出して転送手段303へ供給
する。
The first processing device 30 comprises a program file storage means 302 for storing at least one load program in a program file associated with a load destination ID code for specifying the load destination, and the program file storage means. A program file reading means 301 for reading a program file from the memory 302 and a transfer means 303 for transferring the read program file using an appropriate communication protocol such as IEEE1284 or TCP / IP. The program file storage means 302 can store a plurality of different program files. In this case, the program file reading means 301 selectively reads only a predetermined program file and supplies it to the transfer means 303.

【0013】このように、本実施形態では、第1の処理
装置30は予め記憶されているプログラムファイルを読
み出して転送するだけ良く、複雑かつ固有な処理動作が
要求されることもないので、汎用機で代用することがで
きる。
As described above, in the present embodiment, the first processing device 30 only needs to read and transfer a program file stored in advance, and does not require complicated and unique processing operations. Can be replaced by a machine.

【0014】ここで、第1の処理装置30から第2の処
理装置10へ転送される前記プログラムファイルの構造
およびその生成方法について説明する。図9は、前記プ
ログラムファイルを予め生成して前記第1の処理装置3
0へ提供するファイル生成装置10の主要部のブロック
図である。
Here, the structure of the program file transferred from the first processing device 30 to the second processing device 10 and a method of generating the program file will be described. FIG. 9 shows the first processing device 3 which generates the program file in advance and
FIG. 2 is a block diagram of a main part of the file generation device 10 that provides the file generation unit 0 to the file generation unit 10;

【0015】ファイル生成装置10は、複数のロードプ
ログラム(LP)を保存するプログラム格納手段101
と、ロードプログラムを特定する識別情報としてのプロ
グラムIDコードや、ロード先の第2の処理装置を特定
する識別情報としてのロード先IDコードを入力する入
出力端末102と、入力された各識別情報を検知する識
別情報検知手段107と、ロードプログラムを特定する
プログラムIDコードに基づいて、前記プログラム格納
手段101からロードプログラムを選択するプログラム
選択手段103と、前記選択された少なくとも1つのロ
ードプログラムを、そのロード先を特定するロード先I
Dコードと対応付けてプログラムファイルを生成するプ
ログラムファイル生成手段104と、ライセンス契約を
必要とするロードプログラムにライセンス情報を付加す
るライセンス情報付加手段105と、生成されたプログ
ラムファイルを出力する出力手段106とを含む。
The file generating device 10 stores a plurality of load programs (LP) in a program storage unit 101.
An input / output terminal 102 for inputting a program ID code as identification information for specifying a load program and a load destination ID code as identification information for specifying a second processing device to be loaded; Information detecting means 107 for detecting a load program, a program selecting means 103 for selecting a load program from the program storage means 101 based on a program ID code for specifying a load program, and at least one selected load program. Load destination I that specifies the load destination
Program file generating means 104 for generating a program file in association with the D code; license information adding means 105 for adding license information to a load program requiring a license contract; output means 106 for outputting the generated program file And

【0016】前記プログラム格納手段101には、ロー
ドプログラム(LP)1、2…nのように、単独で実行
し得る完全な状態のロードプログラムと共に、複数のロ
ードプログラム片3(a) 、3(b1)、3(b2)に分割されて
保存されたロードプログラムも記憶されている。このロ
ードプログラムは、ロード先の第2の処理装置に応じ
て、プログラム片3(a) 、3(b1)の組み合わせか、ある
いはプログラム片3(a)、3(b2)の組み合わせで、それ
ぞれ完全なプログラム3a、3bとなる。
The program storage means 101 stores a plurality of load program pieces 3 (a), 3 () together with a complete load program that can be executed independently, such as load programs (LP) 1, 2,. Load programs divided and stored in b1) and 3 (b2) are also stored. This load program is either a combination of the program pieces 3 (a) and 3 (b1) or a combination of the program pieces 3 (a) and 3 (b2) depending on the second processing device to be loaded. Programs 3a and 3b.

【0017】このようなロードプログラム3a,3b
は、基本構成が同一であってオプション機能の有無等に
より仕様が若干異なる複数のロード先にロードプログラ
ムを提供する場合に用いられる。例えば、第2の処理装
置20A,20Bが基本仕様は同一であってソータ機能
の有無が異なるプリンタ装置であると、共通のプログラ
ム片3(a) には各装置の基本仕様に係る部分の制御アル
ゴリズムを登録し、各プログラム片3(b1)、3(b2)に
は、それぞれソータ機能の有無に応じて固有の制御アル
ゴリズムを登録する。
Such load programs 3a, 3b
Is used when a load program is provided to a plurality of load destinations having the same basic configuration and slightly different specifications depending on the presence or absence of an optional function. For example, if the second processing apparatuses 20A and 20B are printer apparatuses having the same basic specifications but different sorter functions, a common program piece 3 (a) includes a part for controlling the parts related to the basic specifications of each apparatus. An algorithm is registered, and a unique control algorithm is registered in each of the program pieces 3 (b1) and 3 (b2) according to the presence or absence of the sorter function.

【0018】そして、各第2の処理装置20A,20B
へロードプログラム3a,3bをそれぞれダウンロード
する際、3つのロードプログラム片3(a) 、3(b1)、3
(b2)を含むプログラムファイルを予めファイル生成装置
10で生成し、前記第1の処理装置30へ提供する。第
1の処理装置30は3つのロードプログラム片3(a)、
3(b1)、3(b2)を含むプログラムファイルを読み出して
送出し、第2の処理装置20Aはプログラム片3(a) 、
3(b1)を取り込み、第2の処理装置20Bはプログラム
片3(a) 、3(b2)を取り込むようにする。これにより、
第1の処理装置30は共通のプログラム片3(1) を重複
して保持する必要がないので記憶領域の有効利用が可能
になると同時に、転送データの量も減じることができ
る。
Then, each of the second processing units 20A, 20B
When each of the load programs 3a and 3b is downloaded, three load program pieces 3 (a), 3 (b1),
A program file including (b2) is generated in advance by the file generation device 10 and provided to the first processing device 30. The first processing device 30 includes three load program pieces 3 (a),
The second processing device 20A reads out and sends out a program file including 3 (b1) and 3 (b2), and the second processing device 20A executes the program pieces 3 (a),
3 (b1), and the second processing unit 20B takes in the program pieces 3 (a) and 3 (b2). This allows
Since the first processing device 30 does not need to hold the common program piece 3 (1) redundantly, the storage area can be effectively used and the amount of transfer data can be reduced.

【0019】図2は、上記したファイル生成装置10の
動作を示したフローチャートである。ステップS11、
12では、それぞれロードプログラムを特定するプログ
ラムIDコード、および前記ロードプログラムのロード
先を特定するロード先IDコードがオペレータにより入
出力端末102から入力される。ステップS13では、
前記入力されたプログラムIDコードに対応するロード
プログラムが、前記プログラム選択手段103によって
プログラム格納手段101から選択的に読み出される。
FIG. 2 is a flowchart showing the operation of the file generating apparatus 10 described above. Step S11,
At 12, a program ID code for specifying the load program and a load destination ID code for specifying the load destination of the load program are input from the input / output terminal 102 by the operator. In step S13,
The load program corresponding to the input program ID code is selectively read from the program storage unit 101 by the program selection unit 103.

【0020】なお、同一のロードプログラムを複数のロ
ード先へダウンロードしたい場合には、各ロード先のロ
ード先IDコードを全て入力する。また、複数のロード
プログラム片に分割されているロードプログラム3a
[ロードプログラム片3(a) +ロードプログラム片3(b
1)]を指定する場合でも、オペレータは各ロードプログ
ラム片3(a) 、3(b1)を別々に指定する必要はなく、ロ
ードプログラム3aに対応したプログラムIDコードを
入力すれば、ロードプログラム片3(a) 、3(b1)が同時
に指定される。同様に、ロードプログラム3b[ロード
プログラム片3(a) +ロードプログラム片3(b2)]を指
定する場合も、ロードプログラム3bに対応したプログ
ラムIDコードを入力すれば、ロードプログラム片3
(a) 、3(b2)が同時に指定される。
When the same load program is to be downloaded to a plurality of load destinations, all the load destination ID codes of each load destination are inputted. Also, the load program 3a divided into a plurality of load program pieces
[Load program fragment 3 (a) + load program fragment 3 (b
1)], it is not necessary for the operator to individually specify each of the load program pieces 3 (a) and 3 (b1). If the operator inputs the program ID code corresponding to the load program 3a, 3 (a) and 3 (b1) are specified at the same time. Similarly, when the load program 3b [load program piece 3 (a) + load program piece 3 (b2)] is designated, if the program ID code corresponding to the load program 3b is inputted, the load program piece 3
(a) and 3 (b2) are specified at the same time.

【0021】ステップS14では、他にダウンロードす
るプログラムの有無が判定され、他にもあれば、ステッ
プS11へ戻って上記した処理を繰り返し、それ以外は
ステップS15へ進む。ステップS15では、それまで
に選択されたロードプログラムおよびそのロード先に基
づいて、プログラムファイル生成手段104によりプロ
グラムファイルが生成される。
In step S14, it is determined whether there is another program to be downloaded. If there is another program, the process returns to step S11 to repeat the above-described processing. Otherwise, the process proceeds to step S15. In step S15, a program file is generated by the program file generating means 104 based on the load program selected so far and its load destination.

【0022】なお、各ロードプログラムのダウンロード
を、ライセンス契約の締結されている装置に対してのみ
許可したいのであれば、ステップS16において、ライ
センス情報付加手段105により、その旨の情報を各ロ
ードプログラムのヘッダー部等に付加する。
If the download of each load program is to be permitted only to the device for which a license contract has been concluded, in step S16, the license information adding means 105 transmits the information to that effect to the load program of each load program. It is added to the header, etc.

【0023】図3、4、5は、上記のようにファイル生
成装置10で生成され、その後、第1の処理装置30へ
提供されて格納されるプログラムファイルの構造を模式
的に示した図である。
FIGS. 3, 4, and 5 are diagrams schematically showing the structure of a program file generated by the file generation device 10 as described above and thereafter provided to the first processing device 30 and stored. is there.

【0024】図3は、初めにロードプログラム(LP)
1のプログラムIDコードおよび第2の処理装置20A
のロード先IDコードを入力し、次いで、ロードプログ
ラム2のプログラムIDコードおよび第2の処理装置2
0Bのロード先IDコードを入力し、さらに、ロードプ
ログラム4のプログラムIDコードおよび第2の処理装
置20Cのロード先IDコードを入力した場合に生成さ
れるプログラムファイルの構造を示している。
FIG. 3 shows a load program (LP) at the beginning.
1 program ID code and second processing device 20A
, And then the program ID code of the load program 2 and the second processing device 2
The figure shows the structure of a program file generated when a load destination ID code of 0B is input, and further a program ID code of the load program 4 and a load destination ID code of the second processing device 20C are input.

【0025】図4は、初めにロードプログラム1のプロ
グラムIDコードおよび第2の処理装置20A、20C
の各ロード先IDコードを入力し、次いで、ロードプロ
グラム2のプログラムIDコードおよび第2の処理装置
20Bのロード先IDコードを入力した場合に生成され
るプログラムファイルの構造を示している。これによ
り、同一のロードプログラム1を一回の転送動作で複数
の装置20A、20Bへ同時にダウンロードすることが
できる。
FIG. 4 shows the program ID code of the load program 1 and the second processing units 20A and 20C.
4 shows the structure of a program file generated when the load destination ID code is input, and then the program ID code of the load program 2 and the load destination ID code of the second processing device 20B are input. Thus, the same load program 1 can be simultaneously downloaded to a plurality of devices 20A and 20B by one transfer operation.

【0026】図5は、初めにロードプログラム3aのプ
ログラムIDコードおよび第2の処理装置20Aのロー
ド先IDコードを入力し、次いで、ロードプログラム3
bのプログラムIDコードおよび第2の処理装置20B
のロード先IDコードを入力した場合に生成されるプロ
グラムファイルの構造を示している。図5の例では、第
2の処理装置20Aにはロードプログラム3(a) 、3(b
1)がダウンロードされ、第2の処理装置20Bにはロー
ドプログラム3(a) 、3(b2)がダウンロードされること
になる。
FIG. 5 shows that the program ID code of the load program 3a and the load destination ID code of the second processing unit 20A are input first, and then the load program 3a is loaded.
b program ID code and second processing device 20B
3 shows the structure of a program file generated when the load destination ID code is input. In the example of FIG. 5, the load programs 3 (a) and 3 (b) are stored in the second processing device 20A.
1) is downloaded, and the load programs 3 (a) and 3 (b2) are downloaded to the second processing device 20B.

【0027】図1へ戻り、第2の処理装置20は、前記
第1の処理装置30から転送されたプログラムファイル
を受信するファイル受信手段201と、受信したプログ
ラムファイルから、自装置に割り当てられた装置IDコ
ードと一致するロード先IDコードに対応するロードプ
ログラムを選択的に抽出する抽出手段202と、抽出し
たロードプログラム片を合成してロードプログラムを再
生する合成手段205と、前記プログラムファイルから
抽出したロードプログラムおよびロードプログラム片の
正当性を判定する判定手段206と、プログラムファイ
ルに登録されているライセンス情報に基づいて、各ロー
ドプログラムが自装置とライセンス契約を結んでいるか
否かを判定するライセンス判定手段207と、抽出した
プログラムをプログラム記憶手段203へダウンロード
するダウンロード手段204とを含む。
Returning to FIG. 1, the second processing device 20 is assigned to its own device from the file receiving means 201 for receiving the program file transferred from the first processing device 30 and the received program file. Extracting means 202 for selectively extracting a load program corresponding to a load destination ID code matching the device ID code; synthesizing means 205 for synthesizing the extracted load program pieces to reproduce the load program; and extracting from the program file Determining means 206 for determining the validity of the loaded program and the load program fragment, and a license for determining whether or not each load program has a license contract with its own device based on the license information registered in the program file. The judgment means 207 and the extracted program And a download unit 204 to download the ram memory means 203.

【0028】図6は、上記した第2の処理装置20の動
作を示したフローチャートである。第2の処理装置20
では、ステップS21においてファイル受信手段201
がプログラムファイルを受信し、ステップS22におい
て受信を完了すると、ステップS23では、自装置の装
置IDに対応するロード先IDコードと対応付けられた
ロードプログラムが抽出手段202により抽出されて一
時記憶される。
FIG. 6 is a flowchart showing the operation of the second processing unit 20 described above. Second processing device 20
Then, in step S21, the file receiving unit 201
Receives the program file and completes the reception in step S22. In step S23, the extraction unit 202 extracts and temporarily stores the load program associated with the load destination ID code corresponding to the device ID of the own device. .

【0029】なお、プログラムやデータをメモリ上に張
り付ける場合には、張り付け後のサムチェック時にエラ
ーが生じないように、プログラム等の記憶範囲を越えた
サムチェック範囲を予め“0”のデータで満たしてから
張り付ける、いわゆる“ゼロ埋め”とよばれる前処理が
必要となる。この結果、第1の処理装置30から転送さ
れるデータ量も、前記埋められた“0”の分だけデータ
量が増えてしまう。そこで、本実施形態では、図7に示
したように、抽出したロードプログラムが張り付けられ
る抽出手段202上の一時記憶領域202aを予め
“0”で満たしてゼロフィル領域とし、このゼロフィル
領域内に前記ロードプログラムを張り付けることで、第
1の処理装置30側でのゼロ埋め処理を廃止している。
When a program or data is pasted on a memory, a sum check range exceeding a storage range of a program or the like is previously set to “0” data so that no error occurs during a sum check after pasting. Pre-processing called so-called “zero-filling” is required after filling and pasting. As a result, the amount of data transferred from the first processing device 30 also increases by the amount of the filled "0". Therefore, in this embodiment, as shown in FIG. 7, the temporary storage area 202a on the extracting means 202 to which the extracted load program is pasted is filled with "0" in advance to form a zero-fill area. By attaching the program, the zero padding process in the first processing device 30 is eliminated.

【0030】なお、自装置の装置IDと一致するロード
先IDコードと対応付けられたロードプログラムを抽出
することができず、これがステップS24において検知
されると、当該処理はステップS29へ進み、予定の異
常時処理を実行して当該処理を終了する。
If a load program associated with the load destination ID code that matches the device ID of the own device cannot be extracted, and this is detected in step S24, the process proceeds to step S29, and the process proceeds to step S29. Is executed and the process is terminated.

【0031】対応付けられたロードプログラムやロード
プログラム片が存在すると、ステップS25では、抽出
されたロードプログラム等に対して、判定手段206に
より転送エラー判定(サムチェック)が行われ、転送エ
ラーが認められると前記ステップS29へ進み、転送エ
ラーが認められなければステップS26へ進む。このよ
うに、本実施形態では、自装置宛てのプログラム、ある
いは自装置に必要なプログラム片に対してのみ選択的に
正当性を判定できるので、無駄な判定処理が不要にな
る。
If there is a load program and a load program piece associated with each other, in step S25, a transfer error determination (sum check) is performed on the extracted load program and the like by the determination unit 206, and a transfer error is recognized. If a transfer error is detected, the process proceeds to step S29. If no transfer error is found, the process proceeds to step S26. As described above, in the present embodiment, validity can be selectively determined only for a program addressed to the own device or a program piece necessary for the own device, so that useless determination processing is unnecessary.

【0032】ステップS26では、抽出されたロードプ
ログラムに対して合成の要否が判定され、複数のロード
プログラム片が抽出されている場合にはステップS27
へ進み、各ロードプログラム片が合成手段205により
合成されて一つのロードプログラムに構築される。ステ
ップS28では、以上のようにして抽出されたロードプ
ログラムが、ダウンロード手段204によりプログラム
記憶手段203へダウンロードされる。
In step S26, it is determined whether or not the extracted load program needs to be synthesized. If a plurality of load program pieces have been extracted, step S27 is executed.
Then, the respective load program pieces are combined by the combining means 205 to construct one load program. In step S28, the load program extracted as described above is downloaded to the program storage unit 203 by the download unit 204.

【0033】上記したように、本実施形態によれば、第
2の処理装置20はプログラムファイルに含まれる複数
のロードプログラムから、自装置宛てのロードプログラ
ムを選択的に全てダウンロードすることができるので、
一回のダウンロード操作で自装置宛ての複数のプログラ
ムを同時にダウンロードすることができる。
As described above, according to the present embodiment, the second processing device 20 can selectively download all of the load programs addressed to itself from the plurality of load programs included in the program file. ,
A plurality of programs addressed to the own device can be downloaded simultaneously by one download operation.

【0034】さらに、本実施形態によれば、上記した複
数のロードプログラム片3(a) 、3(b1),3(b1)を適宜
に組み合わせて複数のロードプログラム3a,3bを構
築できるようにすることで、各ロードプログラム3a,
3bがロードプログラム片3(a) を共用できる。したが
って、第1の処理装置30は複数種のロードプログラム
を完全な状態で保持する必要がないのでプログラムの重
複保存が防止されるのみならず、重複部分を繰り返し転
送する必要がないので転送時間の短縮が可能になる。
Further, according to the present embodiment, a plurality of load programs 3a, 3b can be constructed by appropriately combining the plurality of load program pieces 3 (a), 3 (b1), 3 (b1). By doing, each load program 3a,
3b can share the load program piece 3 (a). Therefore, the first processing device 30 does not need to hold a plurality of types of load programs in an intact state. This prevents not only duplicate storage of the programs, but also eliminates the need to repeatedly transfer the overlapping portions, thereby reducing the transfer time. Shortening is possible.

【0035】なお、上記した実施形態では、前記図6の
フローチャートを参照して説明したように、ステップS
21、22で全てのプログラムを受信した後に、自装置
宛てのプログラムを抽出(ステップS23)するものと
して説明したが、図8のフローチャートに示したよう
に、受信動作(ステップS21a)と抽出動作(ステッ
プS22b)とを実質上平行して行い、自装置宛て以外
のプログラムを破棄しながら抽出動作を進めるようにし
ても良い。
In the embodiment described above, as described with reference to the flowchart of FIG.
Although it has been described that the program destined for the own device is extracted (step S23) after all the programs are received in 21 and 22, the receiving operation (step S21a) and the extracting operation (step S21a) are performed as shown in the flowchart of FIG. Step S22b) may be performed substantially in parallel, and the extraction operation may proceed while discarding programs other than those destined for the own device.

【0036】[0036]

【発明の効果】本発明によれば、以下のような効果が達
成される。 (1) 請求項1の発明によれば、第2の処理装置はプログ
ラムファイルに含まれる複数のロードプログラムから、
自装置宛てのロードプログラムを選択的に全てダウンロ
ードすることができるので、一回のダウンロード操作で
自装置宛ての複数のプログラムを同時にダウンロードす
ることができる。しかも、第1の処理装置は、異なるロ
ードプログラムを必要とする複数の第2の処理装置に対
して、同一のプログラムファイルを転送するだけで良い
ので、第1の処理装置として汎用的な処理装置を用いる
ことができる。 (2) 請求項2の発明によれば、複数のロードプログラム
片のいずれか同士を適宜に組み合わせることで複数種の
ロードプログラムを構築できるようにすることにより、
各ロードプログラムがプログラムの一部をロードプログ
ラム片として共用できるので、第1の処理装置はプログ
ラムの共通部分を重複保存する必要がなく、かつ重複部
分を繰り返し転送する必要がなくなる。 (3) 請求項3の発明によれば、同一のプログラムを一回
の転送動作で複数の装置へ同時にダウンロードすること
ができる。 (4) 請求項4の発明によれば、自装置宛てのロードプロ
グラムに対してのみ選択的に正当性を判定できるので、
無駄な判定処理が不要になる。 (5) 請求項5の発明によれば、自装置に必要なロードプ
ログラム片に対してのみ選択的に正当性を判定できるの
で、無駄な判定処理が不要になる。 (6) 請求項6の発明によれば、ダウンロード対象のプロ
グラムの記憶範囲を越えたサムチェック範囲を予め
“0”のデータで満たしてから張り付ける必要がないの
で、ダウンロードするデータ量を減じることができる。 (7) 請求項7の発明によれば、ライセンス契約の結ばれ
ていないプログラムが不正にダウンロードされることを
防止できる。
According to the present invention, the following effects are achieved. (1) According to the first aspect of the present invention, the second processing device reads a plurality of load programs included in the program file
Since all of the load programs addressed to the own device can be selectively downloaded, a plurality of programs addressed to the own device can be simultaneously downloaded by one download operation. Moreover, the first processing device only needs to transfer the same program file to a plurality of second processing devices that require different load programs. Can be used. (2) According to the invention of claim 2, a plurality of types of load programs can be constructed by appropriately combining any of the plurality of load program pieces.
Since each load program can share a part of the program as a load program piece, the first processing device does not need to duplicately store the common portion of the program and does not need to repeatedly transfer the duplicated portion. (3) According to the invention of claim 3, the same program can be simultaneously downloaded to a plurality of devices by one transfer operation. (4) According to the invention of claim 4, the validity can be selectively determined only for the load program addressed to the own device.
Useless determination processing becomes unnecessary. (5) According to the fifth aspect of the present invention, the validity can be selectively determined only for the load program piece necessary for the own device, so that unnecessary determination processing is unnecessary. (6) According to the invention of claim 6, since it is not necessary to fill the sum check range beyond the storage range of the program to be downloaded with the data of "0" in advance and then paste it, the amount of data to be downloaded can be reduced. Can be. (7) According to the invention of claim 7, it is possible to prevent a program without a license contract from being illegally downloaded.

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

【図1】本発明の一実施形態であるダウンロード制御シ
ステムのブロック図である。
FIG. 1 is a block diagram of a download control system according to an embodiment of the present invention.

【図2】ファイル生成装置の動作を示したフローチャー
トである。
FIG. 2 is a flowchart illustrating an operation of the file generation device.

【図3】プログラムファイルの構造を模式的に表現した
図(その1)である。
FIG. 3 is a diagram (part 1) schematically showing the structure of a program file.

【図4】プログラムファイルの構造を模式的に表現した
図(その2)である。
FIG. 4 is a diagram (part 2) schematically showing the structure of a program file.

【図5】プログラムファイルの構造を模式的に表現した
図(その3)である。
FIG. 5 is a diagram (part 3) schematically showing the structure of a program file.

【図6】本実施形態における第2の処理装置の動作を示
したフローチャートである。
FIG. 6 is a flowchart illustrating an operation of a second processing device according to the present embodiment.

【図7】抽出したプログラムの張り付け方法を示した図
である。
FIG. 7 is a diagram showing a method of attaching an extracted program.

【図8】第2の処理装置の他の動作例を示したフローチ
ャートである。
FIG. 8 is a flowchart illustrating another operation example of the second processing apparatus.

【図9】ファイル生成装置のブロック図である。FIG. 9 is a block diagram of a file generation device.

【符号の説明】[Explanation of symbols]

10…ファイル生成手段,20…第2の処理装置,30
…第1の処理装置,101…プログラム格納手段,10
2…入出力端末,103…プログラム選択手段,104
…プログラムファイル生成手段,105…ライセンス情
報付加手段,106…転送手段,107…識別情報検知
手段,201…ファイル受信手段,202…抽出手段,
203…プログラム記憶手段,204…ダウンロード手
段,205…合成手段,206…判定手段,207…ラ
イセンス判定手段
10: file generation means, 20: second processing device, 30
... First processing device, 101 ... Program storage means, 10
2 ... I / O terminal, 103 ... Program selection means, 104
... program file generating means, 105 ... license information adding means, 106 ... transfer means, 107 ... identification information detecting means, 201 ... file receiving means, 202 ... extracting means,
203: program storage means, 204: download means, 205: synthesis means, 206: determination means, 207: license determination means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 太田 俊一 埼玉県岩槻市本町3丁目1番1号 WAT SUビル西館4F 富士ゼロックス株式会 社内 (72)発明者 蔵本 秀俊 埼玉県岩槻市本町3丁目1番1号 WAT SUビル西館4F 富士ゼロックス株式会 社内 (72)発明者 戸井 哲也 埼玉県岩槻市本町3丁目1番1号 WAT SUビル西館4F 富士ゼロックス株式会 社内 Fターム(参考) 5B076 BB06 CA01 5B089 GA11 GA21 GB02 JA32 JB07 KA04 KA08 KA17 KB06 KB13 KC27 KC34 KE02 KE03 MD08 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Shunichi Ota 3-1-1 Honcho, Iwatsuki-shi, Saitama WAT SU Building West Building 4F Fuji Xerox Co., Ltd. In-house (72) Inventor Hidetoshi Kuramoto 3-1-1 Honcho, Iwatsuki-shi, Saitama No. 1 WAT SU Building West Building 4F Fuji Xerox Co., Ltd. In-house (72) Inventor Tetsuya Toi 3-1-1 Honcho, Iwatsuki-shi, Saitama Prefecture WAT SU Building West Building 4F Fuji Xerox Co., Ltd. In-house F-term (reference) 5B076 BB06 CA01 5B089 GA11 GA21 GB02 JA32 JB07 KA04 KA08 KA17 KB06 KB13 KC27 KC34 KE02 KE03 MD08

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 第1の処理装置から第2の処理装置へ所
定のプログラムをダウンロードするダウンロード制御シ
ステムにおいて、 前記第1の処理装置は、 少なくとも1つのロードプログラムが、そのロード先を
特定する固有のロード先識別情報と対応付けられたプロ
グラムファイルを転送し、 前記第2の処理装置は、 前記プログラムファイルを受信する受信手段と、 受信したプログラムファイルから、前記ロード先識別情
報に基づいて自装置に割り当てられたロードプログラム
を選択的に抽出する抽出手段と、 前記抽出されたロードプログラムをダウンロードするダ
ウンロード手段とを含むことを特徴とするダウンロード
制御システム。
1. A download control system for downloading a predetermined program from a first processing device to a second processing device, wherein the first processing device is configured such that at least one load program has a unique program for specifying a load destination of the program. Transferring the program file associated with the load destination identification information, the second processing device receives the program file, and receives the program file from the received program file based on the load destination identification information. A download control system comprising: an extraction unit for selectively extracting a load program assigned to a program; and a download unit for downloading the extracted load program.
【請求項2】 前記第1の処理装置から転送されるプロ
グラムファイルは、複数のロードプログラム片に分割さ
れたロードプログラムを含み、 前記第2の処理装置は、各ロードプログラム片の少なく
とも一部を合成して前記ロードプログラムを再生する合
成手段を含むことを特徴とする請求項1に記載のダウン
ロード制御システム。
2. The program file transferred from the first processing device includes a load program divided into a plurality of load program pieces, and the second processing device stores at least a part of each load program piece. 2. The download control system according to claim 1, further comprising a synthesizing unit for synthesizing and reproducing the load program.
【請求項3】 前記第1の処理装置から転送されるプロ
グラムファイルは、複数のロード先識別情報と対応付け
られたロードプログラムを含み、当該ロードプログラム
は複数の第2の処理装置へダウンロードされることを特
徴とする請求項1または2に記載のダウンロード制御シ
ステム。
3. The program file transferred from the first processing device includes a load program associated with a plurality of load destination identification information, and the load program is downloaded to a plurality of second processing devices. The download control system according to claim 1 or 2, wherein:
【請求項4】 前記第2の処理装置は、前記プログラム
ファイルから抽出したロードプログラムの正当性を判定
する判定手段を具備したことを特徴とする請求項1ない
し3のいずれかに記載のダウンロード制御システム。
4. The download control according to claim 1, wherein the second processing device includes a determination unit that determines the validity of the load program extracted from the program file. system.
【請求項5】 前記判定手段は、前記プログラムファイ
ルから抽出したロードプログラム片の正当性を判定する
ことを特徴とする請求項4に記載のダウンロード制御シ
ステム。
5. The download control system according to claim 4, wherein said determining means determines the validity of a load program fragment extracted from said program file.
【請求項6】 前記抽出手段は、前記プログラムファイ
ルから抽出したロードプログラムを一時的に張り付ける
一時記憶領域を具備し、前記一時記憶領域を予めゼロで
満たしたのち、抽出したロードプログラムを張り付ける
ことを特徴とする請求項1ないし5のいずれかに記載の
ダウンロード制御システム。
6. The extraction means includes a temporary storage area for temporarily attaching a load program extracted from the program file, and after filling the temporary storage area with zeros in advance, attaches the extracted load program. The download control system according to any one of claims 1 to 5, wherein:
【請求項7】 前記第1の処理装置は、各ロードプログ
ラムにライセンス契約に関する情報を付加し、 前記抽出手段は前記ライセンス契約に関する情報を参照
し、自装置とライセンス契約のないロードプログラムを
抽出しないことを特徴とする請求項1ないし6のいずれ
かに記載のダウンロード制御システム。
7. The first processing device adds information related to a license contract to each load program, and the extraction unit refers to the information related to the license contract, and does not extract a load program having no license contract with its own device. The download control system according to any one of claims 1 to 6, wherein:
JP11030485A 1999-02-08 1999-02-08 Download control system Pending JP2000227884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11030485A JP2000227884A (en) 1999-02-08 1999-02-08 Download control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11030485A JP2000227884A (en) 1999-02-08 1999-02-08 Download control system

Publications (1)

Publication Number Publication Date
JP2000227884A true JP2000227884A (en) 2000-08-15

Family

ID=12305149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11030485A Pending JP2000227884A (en) 1999-02-08 1999-02-08 Download control system

Country Status (1)

Country Link
JP (1) JP2000227884A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004005417A (en) * 2002-02-07 2004-01-08 Hewlett Packard Co <Hp> Software management through bundling
JP2011113435A (en) * 2009-11-30 2011-06-09 Fujitsu Ltd Data distribution device, data distribution method, and information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004005417A (en) * 2002-02-07 2004-01-08 Hewlett Packard Co <Hp> Software management through bundling
JP2011113435A (en) * 2009-11-30 2011-06-09 Fujitsu Ltd Data distribution device, data distribution method, and information processor

Similar Documents

Publication Publication Date Title
US6354489B2 (en) IC card reading/writing apparatus and an IC card system
US7865575B2 (en) Methods and apparatus to perform file transfers in distributed file systems
KR101412173B1 (en) Direct scatter loading of executable software image from a primary processor to one or more secondary processor in a multi―processor system
US7213052B2 (en) Data communication apparatus capable of rewriting firmware
JP2002232634A (en) Communication apparatus, image data transmission program, recording medium recorded with transmission program and method for transmitting image data
JP4829932B2 (en) Apparatus and method for upgrading firmware in embedded systems
CN100474248C (en) Method and data processing device for updating computer programs by data transmission
JPH07262156A (en) Multi-down load system
US20030043634A1 (en) Semiconductor memory device with block-unit erase type nonvolatile memory
JP2000227884A (en) Download control system
CN114025032A (en) Transmission protocol method, system, equipment and storage medium of EMS and BMS
JP2011087180A (en) Service providing system and method
JP2004341728A (en) Printer, printing system and cancellation method
US20070022095A1 (en) System and method for facilitating cross-compatibility of address books
CN101841431B (en) Upgrade method for communication device and communication device thereof
US20050038895A1 (en) Method and apparatus for sending data from one protocol layer to another
KR101461698B1 (en) Method of sending an executable code to a reception device and method of executing this code
JP4665574B2 (en) Network system, information processing apparatus, and program
CN111679799A (en) Voucher printing method and device
US20070070439A1 (en) Image processing apparatus
JP4044974B2 (en) Form data processing method and form processing apparatus
JP2007230133A (en) Image forming device
JP2000267860A (en) Method and device for optimizing assembler
CN116633915A (en) Data acquisition method, device, electronic equipment and computer readable storage medium
JP2000285109A (en) Method and device for deciding external character code of kanji and medium storing program for the same method