JPH03135650A - File information transfer method - Google Patents

File information transfer method

Info

Publication number
JPH03135650A
JPH03135650A JP1273438A JP27343889A JPH03135650A JP H03135650 A JPH03135650 A JP H03135650A JP 1273438 A JP1273438 A JP 1273438A JP 27343889 A JP27343889 A JP 27343889A JP H03135650 A JPH03135650 A JP H03135650A
Authority
JP
Japan
Prior art keywords
cpu
file information
file
transfer
secondary storage
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
JP1273438A
Other languages
Japanese (ja)
Inventor
Mikio Okui
奥井 美喜雄
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 Holdings Corp
Original Assignee
Fuji Photo Film 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 Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP1273438A priority Critical patent/JPH03135650A/en
Publication of JPH03135650A publication Critical patent/JPH03135650A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the transfer processing load of file information for each CPU by securing such a constitution where a CPU of a transfer requester transfers the file information to a secondary storage independently and in an optional timing just by transferring the file control information to a CPU which controls the secondary storage. CONSTITUTION:A secondary storage 4 is provided to store the file information together with the CPU 1 - 3 which transfer the file information to the storage 4. Then the CPU 2 controls the storage 4. Meanwhile, the CPUs except the CPU 2 transfer the file information to the storage 4 just by transferring the control information on the file information to the CPU 2. Thus, the CPUs can transfer the file information to the storage 4 independently and in an optional timing. As a result, the transfer processing load of file information is reduced for the CPU 1 - 3 and the information transfer time is shortened.

Description

【発明の詳細な説明】 発明の目的; (産業上の利用分野) この発明は、例えば、高速に画像情報を処理することが
要求される画像処理システムに応用されるマルチCPU
システムにおけるファイル転送方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Purpose of the invention; (Industrial field of application)
Concerning file transfer methods in the system.

(従来の技術) 従来においては、複雑な処理システムになると複数のC
Pt1 (中央処理装置)を用いて個々に専用。
(Prior art) Conventionally, in a complex processing system, multiple C
Individually dedicated using Pt1 (Central Processing Unit).

分散処理を行なわせるという方法がよく行なわれている
。このような処理システムにおいて、各CPUからアク
セス可能な2次記憶装置等の資源(例えば、ハードディ
スク)を有している場合、そのアクセス方法の代表的な
ものとしては、CPUの1つに資源に対する管理機能を
持たせ、他のCPUはその管理CPUを介してその資源
を利用するという方法である。つまり、例えば資源がハ
ードディスクである場合に、あるCPUがそのハードデ
ィスク内のあるファイルをアクセスしようとしたとぎは
、−旦管理CPUを経由してデータの転送等が行なわれ
る。
A commonly used method is to perform distributed processing. In such a processing system, if each CPU has resources such as a secondary storage device (for example, a hard disk) that can be accessed, a typical access method is to assign one of the CPUs to the resource. In this method, a CPU is provided with a management function, and other CPUs use the resource via the management CPU. That is, for example, when the resource is a hard disk, when a certain CPU attempts to access a certain file in the hard disk, the data is first transferred via the management CPU.

第3図は、その従来における方法の例を示す図である。FIG. 3 is a diagram showing an example of the conventional method.

図において、CPII(A)1がハードディスク4から
ファイルデータをロードする場合は、CPU(八)1が
[:PU(It)2に対してファイル転送要求を行なう
、それによりCPU(B)2の制御のもとで指定された
ファイルは図中の矢印に示すように、−旦CPU (B
) 2に転送されて、その後にCPU (^)1に転送
される。
In the figure, when CPII (A) 1 loads file data from hard disk 4, CPU (8) 1 makes a file transfer request to [:PU (It) 2, which causes CPU (B) 2 to load file data. As shown by the arrow in the figure, the file specified under the control is
)2 and then to CPU (^)1.

(発明が解決しようとする課題) ところで、上述した従来の方法では、複数のCPUから
同時にファイル転送要求が発生した場合には、管理CP
Uにファイルデータが集中してしまい、そのために管理
CPUの負荷が大きくなり結果として各要求元CPII
への転送時間が長びくという問題点があった。
(Problem to be Solved by the Invention) By the way, in the conventional method described above, when file transfer requests are generated from multiple CPUs at the same time, the management CPU
File data is concentrated in U, which increases the load on the management CPU, and as a result, each request source CPII
There was a problem in that it took a long time to transfer the data.

また、同様にファイルデータが集中することから、各要
求元CPUへの転送のタイミングを相互に調節しなけれ
ばならず、転送制御が複雑になってしまうという問題点
があった。
Furthermore, since file data is similarly concentrated, the timing of transfer to each requesting CPU must be mutually adjusted, posing the problem that transfer control becomes complicated.

この発明は上述のような事情から成されたものであり、
この発明の目的は、2次記憶装置との間でファイル転送
を行なう際に、各CPUの転送処理負荷を軽減し、転送
時間を短縮することができるマルチCPUシステムにお
けるファイル転送方法を提供することにある。
This invention was made due to the circumstances mentioned above,
An object of the present invention is to provide a file transfer method in a multi-CPU system that can reduce the transfer processing load on each CPU and shorten the transfer time when transferring files to and from a secondary storage device. It is in.

発明の構成; (課題を解決するための手段) この発明は、例えば高速に画像情報を処理することが要
求される画像処理システムに応用されるマルチシステム
におけるファイル転送方法に関するものであり、この発
明の上記目的は、ファイル情報を記憶する2次記憶装置
と、その2次記憶装置とファイル情報のやりとりを行な
う複数のCPUとを有し、そのうちの1つのCPUが前
記2次記憶装置の管理を行なうマルチCPUシステムに
おいて、前記1つのCPU以外のCPUは、前記2次記
憶装置とファイル情報のやりとりを行なう際に、前記1
つのCPUとはそのファイル情報に係る管理情報をやり
とりするのみで、単独かつ任意のタイミングで前記2次
記憶装置とファイル情報のやりとりを行なうことによっ
て達成される。
Structure of the Invention; (Means for Solving the Problems) The present invention relates to a file transfer method in a multi-system that is applied, for example, to an image processing system that is required to process image information at high speed. The above-mentioned purpose is to have a secondary storage device that stores file information and a plurality of CPUs that exchange file information with the secondary storage device, and one of the CPUs manages the secondary storage device. In a multi-CPU system, when exchanging file information with the secondary storage device, the CPUs other than the one CPU
This is achieved by simply exchanging management information regarding the file information with the two CPUs, and exchanging file information with the secondary storage device independently and at arbitrary timing.

(作用) この発明にあっては、マルチCPUシステムにおいて、
1つのcPUが2次記憶装置の管理を行ない、他のCP
Uは、その管理を行なうCPUとはファイル情報に係る
管理情報をやりとりするのみで、A1独かつ任意のタイ
ミングで2次記憶装置とファイル情報のやりとりが行な
える。
(Function) In this invention, in a multi-CPU system,
One cPU manages the secondary storage, and the other CPU
U only exchanges management information related to file information with the CPU that manages the U, and can exchange file information with the secondary storage device at any timing in A1.

(実施例) 以下、図面に基づいてこの発明の実施例について詳細に
説明する。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は、この発明の方法を実現するための構成ブロッ
ク図である。
FIG. 1 is a block diagram of a configuration for implementing the method of the present invention.

図に示すように、CPII(A) 1 、 CPU(B
) 2 、及びCPt1(C)3が、SC5I(Sma
ll Computer SystemInterfa
ce)バスを介して共有の資源であるハードディスク4
に接続され、全体としてマルチcPu構成になっている
。また、CPU(A) 1とCPU (B) 2 及ヒ
(:Pt1([1)2とCPU((:)3は、それぞれ
デユア 7L/ポート(Dual Port)RAM 
(図示せず)を介して接続されている。
As shown in the figure, CPII (A) 1 , CPU (B
) 2 and CPt1(C)3 are SC5I(Sma
llComputer SystemInterfa
ce) Hard disk 4 which is a shared resource via the bus
The entire CPU is connected to a multi-CPU configuration. In addition, CPU (A) 1 and CPU (B) 2 and (:Pt1 ([1) 2 and CPU (:) 3 are respectively dual 7L/port (Dual Port) RAM
(not shown).

尚、CPII([1)2がハードディスク4を管理する
CPUであるとする。
It is assumed that CPII ([1) 2 is the CPU that manages the hard disk 4.

第2図は、この発明における実施例の動作手順を示す図
である。
FIG. 2 is a diagram showing the operating procedure of the embodiment of the present invention.

以下、第1図及び第2図に基づいて実施例の動作を説明
する。尚、第2図の動作手順は、CPU(A)!で作成
されたファイルをハードディスク4に格納する場合を示
している。
Hereinafter, the operation of the embodiment will be explained based on FIGS. 1 and 2. In addition, the operating procedure in FIG. 2 is based on the CPU (A)! This shows the case where the file created in is stored on the hard disk 4.

先ず、ファイルの転送元であるCPU(A)1は、ファ
イルデータをそのメモリ上に作成し、ファイル化の準備
を行なう(ステップSt)。そして、ハードディスク4
にそのファイルデータな格納するために格納要求コマン
ド、ファイル名、サイズの情報を作成しくステップS2
)、デュアルポートRAMを介して0PENコマンドと
してCPU (B) 2に通知する(ステップ53)。
First, the CPU (A) 1, which is the file transfer source, creates file data on its memory and prepares to create a file (step St). And hard disk 4
Step S2: Create a storage request command, file name, and size information to store the file data.
), and notifies the CPU (B) 2 as a 0PEN command via the dual port RAM (step 53).

0PENコマンドを受けたCPU(B)2は、そのコマ
ンドを受付けた旨をCPU(A)1に通知しくステップ
54) 、0PENコマンド内で要求されているデータ
格納エリアがハードディスク4上に確保できるか調べ、
確保できると判定されたら指定されたファイル名を登録
し、使用中クラブをオンにする(ステップS5)。そし
て、ハードディスク4上に確保したデータ格納エリアの
管理情報として、ドライブ番号、シリンダ番号、ヘッダ
番号をそのエリア分だけ作成しくステップS6)、デュ
アルポートRAMを介して0PENコマンドの応答コマ
ンドとしてCPt1(A) 1 ニ通知すル(ステップ
S7)。
Upon receiving the 0PEN command, the CPU (B) 2 notifies the CPU (A) 1 that the command has been accepted (Step 54), and checks whether the data storage area requested in the 0PEN command can be secured on the hard disk 4. Investigate,
If it is determined that the club can be secured, the specified file name is registered and the club in use is turned on (step S5). Then, as management information for the data storage area secured on the hard disk 4, drive numbers, cylinder numbers, and header numbers are created for that area (step S6), and CPt1 (A ) 1 Notify (Step S7).

0PENコマンドの応答コマンドを受けたCI’U(A
) 1は、そのコマンドを受付けた旨をCPt1 (I
I) 2に通知しくステップS8)、得られた管理情報
であるドライブ一番号、シリンダ番号、ヘッダ番号に基
づいて作成したファイルデータを5C5Iバスを介して
ハードディスク4に書込む(ステップS9)。ファイル
データの書込みが終了したら、 CPt1(八) 1は
書込み終了通知のためのコマンドを作成しくステップ5
10)、デュアルポートRAMを介してCLO5Eコマ
ンドとしてCPU(B)2に通知する(ステップ511
)。
CI'U (A
) 1 indicates that the command has been accepted by CPt1 (I
I) In step S8), the file data created based on the obtained management information, which is the drive number, cylinder number, and header number, is written to the hard disk 4 via the 5C5I bus (step S9). When writing of file data is completed, CPt1 (8) 1 creates a command to notify the completion of writing.Step 5
10), notifies the CPU (B) 2 as a CLO5E command via the dual port RAM (step 511
).

CLO5Eコマンドを受けた(:PU(B)2は、その
コマンドを受付けた旨をCPU (^)1に通知しくス
テップ512)、指定されたファイル名が登録されてい
ることを確認し、使用中フラグをオフにする(ステップ
513 )。そして、その後にデュアルポートRへMを
介してCLO5Eコマンドの応答コマンドをCPU (
八)1に返す。
Upon receiving the CLO5E command (step 512), PU (B) 2 notifies CPU (^) 1 that the command has been accepted, confirms that the specified file name is registered, and confirms that it is currently in use. The flag is turned off (step 513). Then, the response command of the CLO5E command is sent to the dual port R via M to the CPU (
8) Return to 1.

(:LO5Eコマンドの応答コマンドを受けたCPII
 (^)lは、そのコマンドを受付けた旨をCPU(B
)2に通知するとともに(ステップ515 ) 、ハー
ドディスク4にファイルが生成されたことを確認する(
ステップ516 )。
(: CPII that received the response command of the LO5E command
(^)l informs the CPU (B) that the command has been accepted.
) 2 (step 515), and confirms that the file has been generated on the hard disk 4 (step 515).
step 516).

以上のように、CPt1(A)1からハードディスク4
にファイルを転送する場合には、ファイル管理の情報の
みをCPU(A)1とCPU(B)2間でデュアルポー
トRAMを介してやりとりをし、ファイルデータはCI
’1J(B)2を介さず直接ハードディスク4に転送す
る。
As mentioned above, from CPt1(A)1 to hard disk 4
When transferring a file to the CPU, only file management information is exchanged between CPU (A) 1 and CPU (B) 2 via the dual port RAM, and the file data is transferred to the CI
'1J(B) Transfer directly to the hard disk 4 without going through 2.

(変形例) 尚、実施例にあフてはCPU (^)1からファイルデ
ータをハードディスク4に転送する場合で説明したが、
これ以外でも例えば逆にCPU (C) 3にハードデ
ィスク4内に格納されたファイルデータな転送する場合
も同様に説明できる。
(Modified example) In addition, in the embodiment, the case where file data is transferred from the CPU (^) 1 to the hard disk 4 was explained, but
In addition to this, for example, a case in which file data stored in the hard disk 4 is transferred to the CPU (C) 3 can be similarly explained.

また、管理を行なう(:PU(B)2との管理情報のや
りとりは、この実施例にあってはデュアルポートRAM
を介して行なフているが、この方法に限られルコトはな
く、例えば共通バスを介して行なってよい。
In addition, in this embodiment, the exchange of management information with the PU (B) 2, which performs management, is performed using the dual port RAM.
However, this method is not limited to this method; for example, it may be performed via a common bus.

発明の効果; 以上のようにこの発明のマルチCPUシステムにおける
ファイル転送方法によれば、転送要求元のCPUは、2
次記憶装荷の管理を行なうCPUにはファイル情報を経
由させることなく、それとはファイル管理情報をやりと
りするのみで、単独かつ任意のタイミングで2次記憶装
置とファイル情報のやりとりを行なうことにより、各C
PUにおける転送処理負荷を軽減させることができ、か
つ転送時間を短縮することができる。
Effects of the invention: As described above, according to the file transfer method in a multi-CPU system of the present invention, the transfer requesting CPU can
By exchanging file information with the secondary storage device independently and at arbitrary timing, each C
The transfer processing load on the PU can be reduced, and the transfer time can be shortened.

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

fS1図はこの発明の方法を実現するための構成ブロッ
ク図、第2図はこの発明における実施例の動作手順を示
す図、第3図は従来における方法の例を示す図である。 1 ・・・CPU (八)、  2 ・・・CPt1 
(B)、  3 ・・・CPU (c)、  4 ・・
・ハードディスク。
Fig. fS1 is a block diagram of a configuration for realizing the method of the present invention, Fig. 2 is a diagram showing an operating procedure of an embodiment of the invention, and Fig. 3 is a diagram showing an example of a conventional method. 1...CPU (8), 2...CPt1
(B), 3... CPU (c), 4...
·hard disk.

Claims (1)

【特許請求の範囲】[Claims] 1、ファイル情報を記憶する2次記憶装置と、その2次
記憶装置とファイル情報のやりとりを行なう複数のCP
Uとを有し、そのうちの1つのCPUが前記2次記憶装
置の管理を行なうマルチCPUシステムにおいて、前記
1つのCPU以外のCPUは、前記2次記憶装置とファ
イル情報のやりとりを行なう際に、前記1つのCPUと
はそのファイル情報に係る管理情報をやりとりするのみ
で、単独かつ任意のタイミングで前記2次記憶装置とフ
ァイル情報のやりとりを行なうようにしたことを特徴と
するファイル情報転送方法。
1. A secondary storage device that stores file information and multiple CPs that exchange file information with the secondary storage device
In a multi-CPU system in which one of the CPUs manages the secondary storage device, when exchanging file information with the secondary storage device, the CPUs other than the one CPU manage the secondary storage device. A file information transfer method characterized in that the one CPU only exchanges management information related to the file information, and the file information is exchanged with the secondary storage device independently and at an arbitrary timing.
JP1273438A 1989-10-20 1989-10-20 File information transfer method Pending JPH03135650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1273438A JPH03135650A (en) 1989-10-20 1989-10-20 File information transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1273438A JPH03135650A (en) 1989-10-20 1989-10-20 File information transfer method

Publications (1)

Publication Number Publication Date
JPH03135650A true JPH03135650A (en) 1991-06-10

Family

ID=17527914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1273438A Pending JPH03135650A (en) 1989-10-20 1989-10-20 File information transfer method

Country Status (1)

Country Link
JP (1) JPH03135650A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5441039A (en) * 1977-09-08 1979-03-31 Nec Corp Processing unit of high level language program
JPS626367A (en) * 1985-07-03 1987-01-13 Matsushita Electric Ind Co Ltd Network controller
JPS62267851A (en) * 1986-05-15 1987-11-20 Nec Corp Inter-processor data transfer system for multi-processor system
JPS6428735A (en) * 1987-07-24 1989-01-31 Hitachi Ltd Interruption control system
JPH01261772A (en) * 1988-04-08 1989-10-18 Cogent Res Inc Computer and operation thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5441039A (en) * 1977-09-08 1979-03-31 Nec Corp Processing unit of high level language program
JPS626367A (en) * 1985-07-03 1987-01-13 Matsushita Electric Ind Co Ltd Network controller
JPS62267851A (en) * 1986-05-15 1987-11-20 Nec Corp Inter-processor data transfer system for multi-processor system
JPS6428735A (en) * 1987-07-24 1989-01-31 Hitachi Ltd Interruption control system
JPH01261772A (en) * 1988-04-08 1989-10-18 Cogent Res Inc Computer and operation thereof

Similar Documents

Publication Publication Date Title
EP0790562B1 (en) Computer system data I/O by reference among CPUs and I/O devices
TW455775B (en) Buffer management for improved PCI-X or PCI bridge performance
US5852719A (en) System for transferring data over a network in which a data source sends only a descriptor which a data sink uses to retrieve data
JP2004252990A (en) Computer processor and processing device
EP0790564A2 (en) Computer system data I/O by reference among I/O devices and multiple memory units
US5941959A (en) System for transferring a data stream to a requestor without copying data segments to each one of multiple data source/sinks during data stream building
JPH03135650A (en) File information transfer method
US5931903A (en) Computer system data I/O by reference among multiple CPUS
JP2664827B2 (en) Real-time information transfer control method
EP0147656B1 (en) Multi-microprocessor for controlling shared memory
JP3307331B2 (en) Network file system data transfer method
JP2595332B2 (en) Network system data transfer method
JP3006527B2 (en) Client / server type database system
JPS60178566A (en) Access control system
JPS62209635A (en) Access system for system control file of asynchronous communication
JPS6041145A (en) Disc cache device
JPS6345669A (en) Multi-processor system
JPH06161951A (en) Bus control system
JPH0322053A (en) Move in buffer control system
JPH064494A (en) Plural file merging system
JP2000330949A (en) Method and device for paging control over virtual storage system
JPH05158859A (en) Information processor
JPH0236011B2 (en)
JPS61141051A (en) Buffer memory control system
JPS60136842A (en) Buffer storage control system