JP2009059022A - Device for accumulation sharing system - Google Patents
Device for accumulation sharing system Download PDFInfo
- Publication number
- JP2009059022A JP2009059022A JP2007223569A JP2007223569A JP2009059022A JP 2009059022 A JP2009059022 A JP 2009059022A JP 2007223569 A JP2007223569 A JP 2007223569A JP 2007223569 A JP2007223569 A JP 2007223569A JP 2009059022 A JP2009059022 A JP 2009059022A
- Authority
- JP
- Japan
- Prior art keywords
- control unit
- request signal
- access request
- unit
- access
- 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
Images
Landscapes
- Bus Control (AREA)
Abstract
Description
この発明は、データ蓄積部を複数の装置で共有する蓄積共有システムに関する。 The present invention relates to a storage sharing system in which a data storage unit is shared by a plurality of devices.
図9は、ATA(Advanced Technology Attachment)仕様で相互接続された装置15とデータ蓄積部16との間のデータ転送方式を説明する図である(非特許文献1)。
FIG. 9 is a diagram for explaining a data transfer method between the
データ蓄積部16と装置15は、ATAバス8を介して接続されている。
The
装置15は、システムバス4と、システムバス4に接続された一時保存用の内部メモリ1と、システムバス4とATAバス8との間でデータの乗せ換えを行うATAブリッジ+DMA2と、システムバス4を制御すると共にデータ蓄積部16へのアクセスを制御する制御部(一般にはホストと呼ばれる場合がある)3とを備えている。
The
ここでは更に装置15は、図9の様に、システムバス4を外部出入力し、そのシステムバス4に、制御部3内のCPUの起動用ソフトウエアやアプリケーション用ソフトウエアを保存するためのROM(例えばフラッシュメモリ)6と、それらのソフトウエアを展開実行するためのメインメモリ(例えばSDRAM)7とが外部接続されている。
Here, as shown in FIG. 9, the
装置15(例えば内部メモリ1)からデータ蓄積部16へのデータ転送には、大別して、PIO(Programmed Input/Output)転送とウルトラDMA(Direct Memory Access)転送とがある。
Data transfer from the device 15 (for example, the internal memory 1) to the
PIO転送は、制御部3の制御により、データを内部メモリ1から読み出してATAブリッジ+DMA2に書き込む事で、ATAブリッジ+DMA2経由でデータ蓄積部16にデータ転送する転送方式である。この転送方式では、制御部3がデータ蓄積部16へのデータ転送を直接制御するので、制御部3からデータ蓄積部16へのデータ転送を容易に制御できる利点がある反面、制御部3はシステムバス4全体の制御も行うので、データ蓄積部16へのデータ転送の転送速度が遅くなる欠点がある。
PIO transfer is a transfer method in which data is read from the
他方、ウルトラDMA転送は、ATAブリッジ+DMA2の制御により、データを内部メモリ1から読み出してATAブリッジ+DMA2に書き込む事で、ATAブリッジ+DMA2経由でデータ蓄積部16に転送する転送方式である。この転送方式では、制御部3は、データ蓄積部16への転送設定(転送先アドレスや転送量の設定等)をPIO転送でATAブリッジ+DMA2に設定するだけで、データ蓄積部16へのデータ転送の制御は、ATAブリッジ+DMA2が行う。そのため、データ蓄積部16へのデータ転送の転送速度が速くなる利点がある。
On the other hand, the ultra DMA transfer is a transfer method in which data is read from the
図9では、装置15を1つだけ示したが、装置15が複数ある場合は、それら各装置15のデータ蓄積部16へのアクセスを調停する調停部(不図示)を更に備える必要がある。その場合の調停部は、以下の様にして各装置15のデータ蓄積部16へのアクセスを調停する(例えば特許文献1参照:従来例1)。
Although only one
即ち、一の装置15がデータ蓄積部16にアクセスする際は、その一の装置15の制御部3から調停部にアクセス要求が通知される。そして調停部は、そのアクセス要求を他の全ての装置15の制御部3に通知し、この通知に対して他の全ての装置15の制御部3からアクセス許可の通知を受信すると、その一の装置15の制御部3にアクセス権を付与する。これによりその一の装置15は、データ蓄積部16へのアクセスが可能となる。
That is, when one
従来では、調停部は、ATAバスを介して各装置15の制御部3と接続されており、各装置15の制御部3との間で、そのATAバスを介してアクセス調停のための上記の通知を行っている。
Conventionally, the arbitration unit is connected to the
上記の従来例1では、各装置15と調停部との間の上記のアクセス要求およびアクセス許可の通知にATAバスが使用されると共に、各装置15からデータ蓄積部16へのデータ転送にもATAバスが使用されている。そのため、各装置15の制御部3は、自身によるデータ蓄積部16へのデータ転送中は、ATAバスがそのデータ転送に使用されるため、そのデータ転送が終了するまで、上記のアクセス要求およびアクセス許可の通知が行えない。このため、上記の従来例1では、データ蓄積部16へのアクセスの調停の処理開始が遅くなり、その結果、アクセス権の付与が遅くなり、データ蓄積部15へのアクセス要求待ちによるシステム破綻が起こるという欠点がある。
In the above conventional example 1, the ATA bus is used for notification of the access request and access permission between each
また上記の従来例1では、各装置15の制御部3と調停部とはバス(ATAバス)を介して接続されるので、各装置15から調停部へのアクセスを可能とするには、例えば調停部側に一般的なバスアクセスに必要なアドレスデコーダ等のハードウエアが必要となり、ある程度のハードウエア容量を必要とする欠点がある。
Further, in the above-described conventional example 1, since the
また上記の従来例1では、各装置15の制御部3からのアクセス要求には優先度が設定されており、その優先度に応じてデータ蓄積部16の処理を途中で中断または強制終了をさせて、アクセス権をアクセス中の制御部3からアクセス要求元の制御部3に明け渡す事になっている。しかし、ATA仕様のデータ転送(特に高速データ転送であるウルトラDMA転送)では、データ蓄積部16の処理を途中で中断または強制終了する事は認められていないため、ATA仕様のデータ蓄積部16の処理を途中で中断または強制終了させると、正常なデータアクセスが保証できなくなる欠点がある。
Further, in the above conventional example 1, priority is set for the access request from the
この発明は、上記のような問題点を解決するためになされたものであり、より少ないハードウエア容量で、複数(例えば2個または3個程度の少ない個数)の装置からのデータ蓄積部へのアクセスを速やかに調停でき、データ蓄積部へのアクセス要求待ちによるシステム破綻を抑制できる蓄積共有システムで使用される前記装置を提供する事を目的とする。 The present invention has been made in order to solve the above-described problems, and with a smaller hardware capacity, a plurality of (for example, as few as two or three) devices can store data in a data storage unit. An object of the present invention is to provide the device used in a storage sharing system that can quickly arbitrate access and suppress system failure due to waiting for an access request to a data storage unit.
上記課題を解決する為に、本発明の第1の形態は、複数の装置が共用のデータ蓄積部に接続されてなる蓄積共有システムを構成する前記複数の装置のうちの1つであって、 前記データ蓄積部へのアクセスのためのアクセス要求信号を出力する制御部と、前記複数の装置の前記データ蓄積部へのアクセスを調停する調停部とを備え、前記調停部は、前記複数の装置のそれぞれに備えられた前記制御部と専用伝送路で接続され、前記複数の装置の前記制御部から前記データ蓄積部へのアクセスのために出力するアクセス要求信号に基づき、前記複数の装置の前記データ蓄積部へのアクセスを調停し、前記調停の結果を前記専用伝送路を介して出力するものである。 In order to solve the above problem, a first aspect of the present invention is one of the plurality of devices constituting a storage sharing system in which a plurality of devices are connected to a common data storage unit, A control unit that outputs an access request signal for accessing the data storage unit; and an arbitration unit that arbitrates access to the data storage unit of the plurality of devices, wherein the arbitration unit includes the plurality of devices. Each of the plurality of devices based on an access request signal output for access to the data storage unit from the control unit of the plurality of devices. Access to the data storage unit is arbitrated, and the result of the arbitration is output via the dedicated transmission path.
また本発明の第2の形態は、複数の装置が共用のデータ蓄積部に接続されてなる蓄積共有システムを構成する前記複数の装置のうちの1つであって、前記データ蓄積部へのアクセスのためのアクセス要求信号を前記蓄積共有システムが有する調停部に専用伝送路を介して出力する制御部を備え、前記制御部は、前記複数の装置から出力されたアクセス要求信号に基づき前記調停部が前記専用伝送路を介して出力する調停の結果に応じて、前記データ蓄積部へのアクセスを行うものである。 According to a second aspect of the present invention, there is provided one of the plurality of devices constituting a storage sharing system in which a plurality of devices are connected to a common data storage unit, wherein the data storage unit is accessed. A control unit that outputs an access request signal for the storage sharing system to a mediation unit included in the storage sharing system via a dedicated transmission path, and the control unit is configured to control the mediation unit based on the access request signals output from the plurality of devices. The access to the data storage unit is performed according to the result of arbitration output via the dedicated transmission path.
本発明の第1および2の形態によれば、複数の装置のそれぞれに備えられた前記制御部と調停部とは専用伝送路で接続されるので、(1)従来の様にバス(共用伝送路)で接続しない分、調停部側に一般的なバスアクセスに必要なアドレスデコーダが不要になり、その分ハードウエア容量を低減でき、(2)更に各制御部は、その装置がデータ蓄積部とアクセス中でも任意のタイミングでアクセス要求信号を調停部に出力でき、これにより調停部は、アクセス調停をデータ蓄積部の処理中から開始でき、その結果、データ蓄積部の処理終了後速やかにアクセス権を付与できる。これにより、より少ないハードウエア容量で、複数の装置からのデータ蓄積部へのアクセスを速やかに調停でき、これによりデータ蓄積部へのアクセス要求待ちによるシステム破綻を抑制できる。 According to the first and second aspects of the present invention, the control unit and the arbitrating unit provided in each of the plurality of devices are connected by a dedicated transmission path, so that (1) a bus (shared transmission) as in the prior art. Since there is no connection in the path), an address decoder necessary for general bus access is not required on the arbitration unit side, and the hardware capacity can be reduced by that amount. (2) Further, each control unit is a data storage unit. The access request signal can be output to the arbitration unit at any timing even during access, so that the arbitration unit can start access arbitration from the processing of the data storage unit. Can be granted. As a result, access to the data storage unit from a plurality of devices can be swiftly arbitrated with a smaller hardware capacity, thereby suppressing system failure due to waiting for an access request to the data storage unit.
実施の形態1.
この実施の形態に係る蓄積共有システムは、図1の様に、複数(ここでは2個)の装置15A,15Bと、複数の装置15A,15BとATAバス8で接続された共用のデータ蓄積部(例えばHDD(Hard disk drive))16と、各装置15A,15Bのデータ蓄積部16へのアクセスを調停する調停部14と、データ蓄積部16とのATAバス接続を複数の装置15A,15Bのうちのアクセス権の付与されたものに切り換える切換部17とを備えている。
As shown in FIG. 1, the storage and sharing system according to this embodiment includes a plurality of (here, two)
各装置15A,15Bは、従来同様、システムバス4と、システムバス4に接続された一時保存用の内部メモリ1と、システムバス4とATAバス8との間でデータの乗せ換えを行うATAブリッジ+DMA2と、システムバス4を制御すると共にデータ蓄積部16へのアクセスを制御する制御部(一般にはホストと呼ぶ場合もある)13A,13Bとを備えている。
Each of the
ここでは更に各装置15A,15Bのシステムバス4は、外部出入力されており、各装置15A,15Bには、そのシステムバス4に、制御部13A,13B内のCPUの起動用ソフトウエアやアプリケーション用ソフトウエアを保存するためのROM(例えばフラッシュメモリ)6と、それらのソフトウエアを実行するためのメインメモリ(例えばSDRAM)7とが外部接続されている。
Here, the
制御部13A(13B)は、CPUを核として構成されており、調停部14にデータ蓄積部16へのアクセス要求信号A_REQ(B_REQ)を出力する出力端子T1a(T1b)と、調停部14からのアクセス調停結果信号B_ACKを入力する入力端子T2a(T2b)と、データ蓄積部16からの処理終了信号HDD_INTRQを入力する入力端子T3a(T3b)とを有している。各端子T1a(T1b),T2a(T2b),T3a(T3b)には、システムバス4やATAバス8と無関係な汎用的に使用可能な独立したポートが使用される。これにより、特に任意のタイミングで、調停部14へのアクセス要求信号A_REQ(B_REQ)の出力が可能になる。
The
尚、出力端子T1a(T1b)は、調停部14の後述のアクセス要求信号入力用の入力端子T4(T5)に専用伝送路(即ち伝送先の固定された伝送路)で接続されている。また入力端子T2a(T2b)は、調停部14の後述のアクセス調停結果信号出力用の出力端子T6(T6)に専用伝送路で接続されている。また入力端子T3a(T3b)は、選択部17の入力端子T10および出力端子T9を介してデータ蓄積部16の後述の処理終了信号出力用の出力端子T11(T11)に専用伝送路で接続されている。
The output terminal T1a (T1b) is connected to an input terminal T4 (T5) for inputting an access request signal, which will be described later, of the arbitrating
そして制御部13A(13B)は、装置15A(15B)内の各機能ブロック(例えば内部メモリ1など)から発生するアクセス要求をまとめて、その結果をアクセス要求信号A_REQ(B_REQ)として調停部14に出力する。また制御部13A(13B)は、従来同様、装置15A(15B)内の各機能ブロックとデータ蓄積部16との間のバス4,8経由のPIO転送またはウルトラDMA転送によるデータ転送を制御する。
Then, the
調停部14は、各制御部13A,13Bからのアクセス要求信号A_REQ,B_REQを入力する上記の各入力端子T4,T5と、データ蓄積部16からの処理終了信号HDD_INTRQを入力する入力端子T7と、各制御部15A,15Bおよび切換部17にアクセス調停結果信号B_ACKを出力する出力端子T6とを有している。
The
尚、入力端子T7は、切換部17の入力端子T10および出力端子T9を介してデータ蓄積部16の後述の処理終了信号出力用の出力端子T11に専用伝送路に接続されている。また出力端子T6は、各制御部15A,15Bの上記の入力端子T2a,T2bおよび切換部17の後述のアクセス調停結果信号入力用の入力端子T8に専用伝送路で接続されている。
Note that the input terminal T7 is connected to a dedicated transmission line via an input terminal T10 and an output terminal T9 of the switching
そして調停部14は、各制御部13A,13Bからのアクセス要求信号A_REQ,B_REQと、データ蓄積部16からの処理終了信号HDD_INTRQとに基づき、各装置15A,15Bのデータ蓄積部16へのアクセスを調停する。より詳細には、調停部14は、データ蓄積部16の処理終了後一定期間経過した時、またはデータ蓄積部16の停止中に一の装置15Aまたは15Bの制御部13Aまたは13Bからのアクセス要求信号A_REQまたはB_REQを受信した時に、その時までにアクセス要求信号を受信した各装置15A,15Bの制御部13A,13Bのうち、一番早くアクセス要求信号を受信したものにアクセス権を付与する。そして調停部14は、その調停結果(どの装置15Aまたは15Bにアクセス権を付与したかの結果)をアクセス調停結果信号として各制御部13A,13Bおよび切換部17に出力する。
The
切換部17は、調停部14からのアクセス調停結果信号B_ACKを入力する上記の入力端子T8と、データ蓄積部16からの処理終了信号HDD_INTRQを入力する上記の入力端子T10と、その入力した処理終了信号HDD_INTRQを各制御部15A,15Bおよび調停部14に出力する上記の出力端子T9とを有している。
The switching
そして切換部17は、調停部14からのアクセス調停結果信号B_ACKに応じて、データ蓄積部16とのATAバス接続を複数の装置15A,15Bのうちのアクセス権の付与されたものに切り換える。
Then, in response to the access arbitration result signal B_ACK from the
データ蓄積部16は、処理終了信号出力用の上記の出力端子T11を有しており、各装置15A,15Bからのバス4,8経由のアクセスに応じた処理が終了すると、その旨を処理終了信号HDD_INTRQとしてその出力端子T11から切換部17を介して調停部14の入力端子T7および各制御部13A,13Bの入力端子T3a,T3bに出力する。
The
次に図1および図2に基づき、この蓄積共有システムの動作を説明する。 Next, the operation of the storage sharing system will be described with reference to FIGS.
図2の様に、装置15Aからのアクセスに応じてのデータ蓄積部16の処理中の任意の時刻t1に、装置15Bの制御部13Aからアクセス要求信号A_REQが出力された場合を考える。
Consider the case where an access request signal A_REQ is output from the
この場合、制御部13Bからアクセス要求信号B_REQが出力された時点t1では、データ蓄積部16は装置15Aからのアクセスに応じての処理作中のため、そのアクセス要求信号B_REQの出力は、そのまま継続される。
In this case, at the time t1 when the access request signal B_REQ is output from the
その後、データ蓄積部16は、その処理が終了すると(時刻t2)、その旨の処理終了信号HDD_INTRQを各制御部13A,13Bおよび調停部14に例えばパルス的に出力する。そしてこの信号HDD_INTRQを受信した制御部13Aは、そのアクセス要求信号A_REQの出力を停止する。尚この実施の形態では、装置15A,15Bがデータ蓄積部16にアクセス中は、その制御部13A,13Bはアクセス要求信号A_REQ,B_REQを出力し続けることになっている。
Thereafter, when the processing ends (time t2), the
他方、この信号HDD_INTRQを受信(時刻t2)した制御部13Bは、その出力するアクセス要求信号B_REQの出力を、その受信時t2から一時的(一定期間T1)に停止して再度出力する。尚この実施の形態で、各制御部13A,13Bは、そのアクセス要求信号A_REQ,B_REQを継続的に出力する場合は、その出力を、データ蓄積部16の処理終了毎に一時的(一定期間T1)に停止して再度出力にする様になっている。これにより、アクセス要求信号A_REQ,B_REQが継続的に出力された場合でも、そのアクセス要求信号が確実に調停部14により検知される様になる。尚、上記の継続的なアクセス要求信号の上記の一時的な出力の停止中に、調停部14が他の制御部13Aまたは13Bからアクセス要求信号を受信しても、その継続的なアクセス要求信号の調停部14による受信順位は変わらないものとして扱われる。
On the other hand, the
他方、この信号HDD_INTRQを受信(t2)した調停部14は、次のアクセス権付与の判定をするために、各制御部13A,13Bからのアクセス要求信号A_REQ,B_REQの受信の有無をチェックする。より詳細には、調停部14は、データ蓄積部16の停止中に一の装置15Aまたは15Bの制御部13Aまたは13Bからのアクセス要求信号A_REQまたはB_REQを受信した時t3で、またはその信号HDD_INTRQの受信時t2から一定期間T2経過した時t4(>t3)に、その時までにアクセス要求信号を受信した各制御部13A,13Bのうち、一番早くそのアクセス要求信号を受信したものにアクセス権を付与する。この場合は、調停部14は、制御部13Aからのアクセス要求信号A_REQのみを受信しているので、制御部13Aにアクセス権を付与する。そして調停部14は、上記の信号HDD_INTRQの受信時t2から一定期間T2経過時t4に、アクセス調停結果信号B_ACKをLレベルからHレベルに切り換えることで、その調停結果を各制御部13A,13Bおよび切換部17に出力する。即ち、各制御部13A,13Bおよび切換部17は、アクセス調停結果信号B_ACKの信号極性により、どの制御部13Aまたは13Bにアクセス権が付与されたかを判別する様になっている。
On the other hand, the
尚ここでは、アクセス調停結果信号B_ACKがHレベルの場合は、制御部13B(従って装置15B)にアクセス権を付与する旨を示し、アクセス調停結果信号B_ACKがHレベルの場合は、制御部13A(従って装置15A)にアクセス権を付与する旨を示している。尚、アクセス調停結果信号B_ACKのHレベルおよびLレベルの時分割的な組合せで、制御部13Bまたは13Aにアクセス権を付与する旨を示してもよい。
Here, when the access arbitration result signal B_ACK is at the H level, it indicates that the access right is given to the
そして、この信号B_ACKを受信した切換部17は、データ蓄積部16へのATAバス8接続を、装置15Aからアクセス権の付与された装置15Bに切り換える。他方、この信号B_ACKを受信した制御部13Bは、その信号によりアクセス権が付与された事を判別し、データ蓄積部16へのアクセスを開始し、これによりデータ蓄積部(HDD)16が、装置15Bからのアクセスに応じた処理を開始する(時刻t5)。以降、各装置15A,15Bの制御部13A,13Bからアクセス要求信号A_REQ,B_REQが出力される毎に、同様の処理が繰り返される。
Upon receiving this signal B_ACK, the switching
以上の様に構成された蓄積共有システムでは、複数の装置15A,15Bの制御部13A,13Bのそれぞれに備えられた制御部13A,13Bと調停部14とはバス4,8と無関係な専用伝送路で接続されるので、(1)従来の様にバス(共用伝送路)8で接続しない分、調停部14側に一般的なバスアクセスに必要なアドレスデコーダが不要になり、その分ハードウエア容量を低減でき、(2)更に各制御部13A,13Bは、その装置15A,15Bがデータ蓄積部16とアクセス中でも任意のタイミングでアクセス要求信号を調停部14に出力でき、これにより調停部14は、アクセス調停をデータ蓄積部16の処理中から開始でき、その結果、データ蓄積部16の処理終了後速やかにアクセス権を付与できる。これにより、より少ないハードウエア容量で、複数の装置15A,15Bからのデータ蓄積部16へのアクセスを速やかに調停でき、これによりデータ蓄積部16へのアクセス要求待ちによるシステム破綻を抑制できる。
In the storage and sharing system configured as described above, the
また調停部14は、データ蓄積部16の処理終了後一定期間T2経過した時、またはデータ蓄積部16の停止中に一の装置15Aまたは15Bの制御部13Aまたは13Bからのアクセス要求信号を受信した時に、その時までにアクセス要求信号を受信した各装置13A,13Bの制御部のうち、一番早くアクセス要求信号を受信したものにアクセス権を付与するので、調停部14は従来の様にアクセス要求した制御部(例えば13A)以外の他の制御部(例えば13B)からのアクセス許可の通知を待つ必要が無くなり、速やかにアクセス調停を行える。
Further, the
また制御部13A,13Bは、アクセス要求信号A_REQ,B_REQを継続的に出力する場合、データ蓄積部16の処理終了毎に、そのアクセス要求信号の出力を一時的に停止して再度出力するので、アクセス要求信号A_REQ,B_REQが継続的に出力される場合でも、調停部14にそのアクセス要求信号を確実に検知させる事ができ、適切且つ確実に調停部14にアクセス権付与の判定を行わせる事ができる。
Further, when the
尚、この実施の形態において更に、調停部14は、前回アクセス権を付与した装置と同じ装置(例えば15B)の制御部13Bからのアクセス要求信号B_REQを1番目に受信した場合において、他の装置(例えば15A)の制御部13Aからのアクセス要求信号A_REQを2番目に受信した場合は、その2番目の装置15Aの制御部13Aにアクセス権を優先的に付与する様にしてもよい。これにより同じ装置15Aまたは15Bが連続してデータ蓄積部16にアクセスする事を防止できる。
In this embodiment, the
実施の形態2.
この実施の形態に係る蓄積共有システムは、実施の形態1において更に、所定の制御部(例えば13A)からのアクセス要求信号A_REQには、そのアクセス要求信号毎に優先度情報を設定し、他の制御部(例えば13B)からのアクセス要求信号B_REQには、その制御部毎に同じ優先度情報を設定し、調停部14において、制御部13Aからのアクセス要求信号A_REQおよび制御部13Bからのアクセス要求信号B_REQが競合した場合に、制御部13Aからのアクセス要求信号A_REQの優先度情報と、制御部13Bからのアクセス要求信号B_REQの優先度情報とに基づき、優先順位の一番高いアクセス要求信号を出力した制御部13Aまたは13Bにアクセス権を付与する様にしたものである。以下、実施の形態1と異なる点を説明する。
The storage sharing system according to this embodiment further sets priority information for each access request signal in the access request signal A_REQ from the predetermined control unit (for example, 13A) in the first embodiment, In the access request signal B_REQ from the control unit (for example, 13B), the same priority information is set for each control unit, and in the arbitrating
制御部13Aからのアクセス要求信号A_REQに設定される上記の優先度情報には、そのアクセス要求信号で要求されるアクセスの処理内容(リードまたはライト)または/およびその転送方式(ウルトラDMA(以後UDMAと呼ぶ)またはPIO)に関する情報が使用される。具体的には、当該優先度情報は、例えば「UDMAライト」、「UDMAリード」、「PIO」という内容で設定される。
The priority information set in the access request signal A_REQ from the
また制御部13Bからのアクセス要求信号B_REQに設定される上記の優先度情報には、そのアクセス要求信号がどの制御部またはその装置から出力されたものかの情報が使用される。具体的には、当該優先度情報は、例えば「装置15B」という内容で設定される。
Further, as the priority information set in the access request signal B_REQ from the
この実施の形態では、図3の様に、制御部13Aは、調停部14とシステムバス4を介して接続されており、そのシステムバス4を介してアクセス要求信号A_REQの上記の優先度情報を調停部14に出力する。
In this embodiment, as shown in FIG. 3, the
また調停部14は、システムバス4を介して取得する制御部13Aからのアクセス要求信号A_REQの上記の優先度情報を書き換え・消去自在に保存する保存部(保存手段)18を備えている。この調停部14は、制御部13Aからのアクセス要求信号A_REQを受信する毎に、そのアクセス要求信号A_REQの上記の優先度情報をシステムバス4を介して取得し、取得時間順に保存部18の第1キュー,第2キュー,…,第nキュー(ここでは第3キューまで設定され、3つ分の優先度情報が保存可能になっている。)に順次保存する。
The
また調停部14は、アクセス調停する場合、制御部13Aからのアクセス要求信号A_REQに対しては、保存部18に保存された優先度情報のうち、取得時間の一番早いもの(即ち第1キューに保存されたもの)を用いてアクセス調停を行う。そして調停部14は、制御部13Aからのアクセス要求信号A_REQと制御部13Bからのアクセス要求信号B_REQとが競合する場合は、制御部13Aからのアクセス要求信号A_REQの上記の優先度情報(例えば「UDMAリード」など)と、予め設定された制御部13Bからのアクセス要求信号B_REQの上記の優先度情報「装置15B」と、予め設定された各優先度情報間の優先順位を規定する優先度判定情報(ここでは例えばUDMAリード>装置15B>UDMAライト>PIOという優先順位の優先度判定情報)とに基づき、優先順位の一番高い制御部13Aまたは13Bにアクセス権を付与する。尚、アクセス調停の結果、制御部13Aにアクセス権が付与された場合、制御部16Aは、第1キューに保存された優先度情報で指定されたアクセス処理(リードまたはライト)および転送方式(UDMAまたはPIO)でデータ蓄積部16にアクセスする様になっている。
Further, in the case of access arbitration, the
また調停部14は、保存部18の第1キューに保存された優先度情報を用いたアクセス要求にアクセス権を付与した場合に、そのアクセス権に応じたデータ蓄積部16の処理が終了すると、第1キューに保存された当該優先度情報を削除し、第2キューおよび第3キューに保存された優先度情報をそれぞれ第1キューおよび第2キューに繰り上げて保存する。これにより第3キューが空き状態になり、制御部13Aからの新たな優先度情報が保存可能になる。
Further, when the
次に図4に基づきこの蓄積共有システムの動作を説明する。以下では、実施の形態1と異なる点を説明する。 Next, the operation of the storage sharing system will be described with reference to FIG. Hereinafter, differences from the first embodiment will be described.
時刻t2で、既に制御部13A,13Bから調停部14にアクセス要求信号A_REQ,B_REQが出力されており、調停部14の保存部18の第1キュー、第2キューおよび第3キューにはそれぞれ、「UDMAリード」、「UDMAライト」および「PIOリード」が優先度情報として保存されており、第1キューに保存されたUDMAリードにアクセス権が付与され、そのアクセス権に基づく装置15Aからのアクセスに応じてデータ蓄積部16が処理を実行しており、時刻t3で、データ蓄積部16の上記の処理が終了した場合を考える。
At time t2, the access request signals A_REQ and B_REQ have already been output from the
この場合、調停部14は、データ蓄積部16からの処理終了信号HDD_INTRQを受信すると(時刻t3)、保存部18の各キューに保存された各優先度情報の順位を改訂する。即ち第1キューに保存された「UDMAリード」を削除すると共に、第2キューおよび第3キューに保存された「UDMAライト」および「PIOリード」をそれぞれ第1キューおよび第2キューに繰り上げて保存する。
In this case, when receiving the processing end signal HDD_INTRQ from the data storage unit 16 (time t3), the arbitrating
そして調停部14は、処理終了信号HDD_INTRQの受信時t3から一定期間T2経過時t4に、何れかの制御部13A,13Bへのアクセス権付与を行う。即ち調停部14は、制御部13Aからのアクセス要求信号A_REQに対しては第1キューに保存された優先度情報「UDMAライト」を用い、他方、制御部13Bからのアクセス要求信号B_REQに対しては予め設定された優先度情報「装置15B」を用い、予め設定された優先度判定情報(UDMAリード>装置15B>UDMAライト>PIO)に基づいてアクセス調停を行う。この場合、優先度情報「装置15B」の方が優先度情報「UDMAライト」よりも優先順位が高いので、制御部13Bにアクセス権を付与する。そしてこのアクセス権に基づく装置15Bからのアクセスに応じてデータ蓄積部16が処理開始する(時刻t5)。
Then, the arbitrating
そしてその後、制御部13Aから調停部14にシステムバス4を介して新たな優先度情報「UDMAリード」が出力されると(時刻t6)、調停部14は、その優先度情報「UDMAリード」を保存部18の空き状態の第3キューに保存する。そして以降、上記と同様の処理が繰り返される。
After that, when new priority information “UDMA read” is output from the
以上の様に構成された蓄積共有システムでは、所定の制御部13Aからのアクセス要求信号A_REQには、そのアクセス要求信号毎に優先度情報が設定されるので、アクセス調停の際、所定の制御部13Aに対しそのアクセス要求信号に応じて適切な優先度でアクセス権を付与できる。
In the storage / sharing system configured as described above, priority information is set for each access request signal in the access request signal A_REQ from the
また調停部14は、所定の制御部13Aから順次取得する優先度情報(例えば「UDMAリード」など)を取得時間順に保存する保存部18を更に備え、保存部18に保存された前記優先度情報のうち、取得時間の一番早いものを、制御部13Aから受信しているアクセス要求信号A_REQの優先度情報として使用して、アクセス調停(即ち一番高いアクセス要求信号を出力した制御部13Aまたは13Bへのアクセス権の付与)を行い、制御部13Aにアクセス権を付与した場合は、使用した前記優先度情報を保存部18から削除するので、優先度付きでアクセス要求の予約ができ、より適切な優先度でアクセス権を付与できる。
The
また所定の制御部13Aからのアクセス要求信号A_REQに設定される優先度情報として、そのアクセス要求信号で要求されるアクセスの処理内容(リードまたはライト)または/およびその転送方式(UDMAまたはPIO)に関する情報が使用されるので、そのアクセス要求信号で要求されるアクセスの処理内容やその転送方式に応じて適切な優先度でアクセス権を付与できる。
Further, as priority information set in the access request signal A_REQ from the
実施の形態3.
この実施の形態に係る蓄積共有システムは、実施の形態2において更に、調停部14に設定された前記優先度判定情報を、所定の制御部(例えば13A)から変更できる様にしたものである。以下、実施の形態2と異なる点を説明する。
In the storage and sharing system according to this embodiment, the priority determination information set in the
この実施の形態では、調停部14は、前記優先度判定情報を書き換え自在に保存するレジスタ(保存手段)(不図示)を更に備えている。制御部13Aは、装置15Aのシステムバス4を介しての制御により、調停部14の前記レジスタに保存された前記優先度判定情報を変更する事ができる様になっている。
In this embodiment, the
次に図5に基づき、この蓄積共有システムの動作を説明する。以下、実施の形態2と異なる点を説明する。 Next, the operation of this storage and sharing system will be described with reference to FIG. Hereinafter, differences from the second embodiment will be described.
調停部14の前記レジスタには、優先度判定情報(UDMAリード>装置15B>UDMAライト>PIO)S1が設定されており、任意の時刻(例えば時刻8)でその優先度判定情報S1が優先度判定情報(UDMAリード>UDMAライト>装置15B>PIO)S2に変更される場合を考える。この場合、この蓄積共有システムは、時刻t8までは、調停部14の前記レジスタに設定された優先度判定情報S1に基づき実施の形態2の場合と同じ動作が行われ、時刻t8以降は、変更された優先度判定情報S2に基づき実施の形態2の場合と同じ動作が行われる。尚、図5では、偶然にデータ蓄積部の処理終了時と優先度判定情報S1の変更時とが一致している。
In the register of the
即ち時刻t8に、制御部13Aからの装置15Aのシステムバス4を介しての制御により、調停部14の前記レジスタに設定された優先度判定情報S1が優先度判定情報S2に変更される。すると、調停部14は、次から、その変更された優先度判定情報S2に基づきアクセス権の付与を行う。即ち調停部14は、データ蓄積部16からの処理終了信号HDD_INTRQの受信時t8から一定期間経過時t9に、その変更された優先度判定情報S2に基づき、第1キューに保存された制御部13Aからのアクセス要求信号A_REQの優先度情報「UDMAライト」と、予め設定された制御部13Bからのアクセス要求信号B_REQの優先度情報「装置15B」とを比較し、この場合、優先度情報「UMDAライト」の方が優先度情報「装置15B」よりも優先順位が高いので、制御部13Aにアクセス権を付与する。
That is, at time t8, the priority determination information S1 set in the register of the
上記の場合では、優先度判定情報S1が変更されていなければ、制御部13Bにアクセス権を付与していたが、上記の様に優先度判定情報S2に変更されたことで、制御部13Aにアクセス権が付与されることになった。この様に調停部14の前記レジスタに設定された優先度判定情報を変更することで、次のアクセス権の付与時に所望の制御部13Aまたは13Bに優先的にアクセス権を付与できる様になる。
In the above case, if the priority determination information S1 is not changed, the access right is given to the
以上の様に構成された蓄積共有システムによれば、調停部14は、優先度判定情報S1,S2を書き換え自在に保存するレジスタ(保存手段)を有すると共に、所定の装置(例えば15A)の制御部13Aとバス4で接続されており、そのバスを介しての制御部13Aからの制御により前記レジスタに保存された前記優先度判定情報が変更可能であるので、一度優先度判定情報を設定した後でも、各制御部13A,13Bからのアクセス要求の頻度等を考慮してより適切な優先度判定情報を再設定できる。また優先度判定情報の変更後、次のアクセス権付与の時から、優先度判定情報の変更の効果を発揮できる。
According to the storage and sharing system configured as described above, the arbitrating
実施の形態4.
この実施の形態に係る蓄積共有システムは、実施の形態2において更に、制御部13Bからのアクセス要求信号B_REQに対しても、そのアクセス要求信号毎に優先度情報を設定できる様にしたものである。より詳細には、制御部13Aからのアクセス要求信号A_REQに対しては、その優先度情報を装置15Aのバス4を介して調停部14に出力し、他方、制御部13Bからのアクセス要求信号B_REQに対しては、その優先度情報をそのアクセス要求信号に付加して調停部14に出力する様にしたものである。以下、実施の形態2と異なる点を説明する。
The storage and sharing system according to this embodiment is configured such that priority information can be set for each access request signal for the access request signal B_REQ from the
この実施の形態では、制御部13Bは、その出力するアクセス要求信号B_REQにそのアクセス要求信号の優先度情報を付加することで、そのアクセス要求信号B_REQと共にその優先度情報を調停部14に出力する。
In this embodiment, the
より詳細には、制御部13Bは、その出力するアクセス要求信号B_REQで要求するアクセスの実行待ち時間(データ蓄積部16へのアクセスの待ち時間)からそのアクセス要求信号の優先度情報を作成して、その優先度情報をそのアクセス要求信号に付加して出力する。ここでは制御部13Bは、実行待ち時間が短いほど早急に実行する必要があるので、より高い優先度の優先度情報をそのアクセス要求信号に付加する。
More specifically, the
上記の優先度情報付きのアクセス要求信号(以後、B_REQ(1:0)と表記する)には、例えば2ビットの信号(例えば“00”,“01”,“11”など)が使用される。例えば、“00”は、アクセス要求なしを表すアクセス要求信号を表し、“01”は、低レベルアクセス要求(実行を急いでいないアクセス要求)を表すアクセス要求信号を表し、“11”は、高レベルアクセス要求(早急な実行を要求するアクセス要求)を表すアクセス要求信号を表すものとする。 For example, a 2-bit signal (for example, “00”, “01”, “11”, etc.) is used as the access request signal with priority information (hereinafter referred to as B_REQ (1: 0)). . For example, “00” represents an access request signal indicating no access request, “01” represents an access request signal representing a low-level access request (access request not urgently executed), and “11” represents a high level. It is assumed that an access request signal indicating a level access request (access request for requesting quick execution) is represented.
また調停部14は、実施の形態2の場合と同様、制御部13Aからのアクセス要求信号A_REQに対しては、調停部14の保存部18の第1キューに保存された優先度情報を用い、他方、制御部13Aからのアクセス要求信号A_REQに対しては、予め設定された優先度情報を用いて、上記の優先度判定情報に基づきアクセス権の付与を行うが、その際、制御部13Bからのアクセス要求信号B_REQ(1:0)が“11”の場合は、そのアクセス要求信号B_REQ(1:0)で要求する処理がデータ蓄積部16で処理されるまで、上記の優先度判定情報において優先度情報「装置15B」の優先順位を1ランク上げる変更を行って、その変更後の優先度判定情報を用いてアクセス権の付与を行い、他方、制御部13Bからのアクセス要求信号B_REQ(1:0)が“01”の場合は、そのアクセス要求信号B_REQ(1:0)で要求する処理がデータ蓄積部で処理されるまで、上記の優先度判定情報において優先度情報「装置15B」の優先順位を1ランク下げる変更を行って、その変更後の優先度判定情報を用いてアクセス権の付与を行い、他方、制御部13Bからのアクセス要求信号B_REQ(1:0)が“10”の場合は、上記の優先度判定情報において優先度情報「装置15B」の優先順位を変更せずに、そのままの優先度判定情報を用いてアクセス権の付与を行う。
Similarly to the second embodiment, the
以上の様に構成された蓄積要求システムによれば、所定の制御部(例えば13A)は、調停部14と装置15Aのバス4を介して接続され、そのバス4を介して、調停部14に出力したアクセス要求信号A_REQの優先度情報を調停部14に出力し、他の制御部(例えば13B)は、調停部14に出力するアクセス要求信号B_REQにその優先度情報を付加することで、そのアクセス要求信号と共にその優先度情報を調停部14に出力し、調停部14は、バス4を介して取得する制御部13Aからのアクセス要求信号A_REQの優先度情報と、他の制御部13Bからのアクセス要求信号B_REQに付加されて取得するそのアクセス要求信号の優先度情報と、それら各優先度情報間の優先順位を規定する優先度判定情報とに基づき、優先順位の一番高いアクセス要求信号を出力した制御部13Aまたは13Bにアクセス権を付与するので、所定の制御部13Aからのアクセス要求信号A_REQに対してだけでなく、他の制御部13Bからのアクセス要求信号B_REQに対しても、そのアクセス要求信号毎に優先度情報を設定でき、より最適な優先度でアクセス権の付与が行える。
According to the accumulation request system configured as described above, the predetermined control unit (for example, 13A) is connected to the
特に他の制御部(ここでは13B)からのアクセス要求信号B_REQの優先度情報をそのアクセス要求信号に付加して調停部14に出力するので、調停部14とバス接続できない他の制御部13Bからのアクセス要求信号に対しても、そのアクセス要求信号毎に優先度情報を設定できる。
In particular, since priority information of the access request signal B_REQ from another control unit (here 13B) is added to the access request signal and output to the
また、上記の優先度判定情報は、所定の制御部(ここでは13A)からのアクセス要求信号A_REQ毎の優先度情報(ここでは「UDMAライト」など)と、他の制御部毎(ここでは13B)の固有の優先度情報(ここでは「装置15B」)との間の優先順位を規定しており、調停部14は、他の制御部13Bからのアクセス要求信号B_REQ(1:0)に付加された優先度情報を取得すると、その優先度情報で指定された優先度に応じて上記の優先度判定情報における他の制御部13Bの固有の優先度情報「装置15B」の優先順位を変更し、その変更した他の制御部13Bの固有の優先度情報「装置15B」を他の制御部13Bからのアクセス要求信号B_REQ(1:0)の優先度情報と見なして、優先順位の一番高いアクセス要求信号を出力した制御部13Aまたは13Bへのアクセス権の付与を行うので、制御部13Aからのアクセス要求信号A_REQに対してだけでなく、制御部13Bからのアクセス要求信号B_REQに対しても、そのアクセス要求信号毎に優先度情報を設定する様にしても、上記の優先度判定情報を簡素な形で設定でき、メモリ容量を低減できる。
The priority determination information includes priority information (here, “UDMA write”) for each access request signal A_REQ from a predetermined control unit (here, 13A), and other control units (here, 13B). ) And the priority order with respect to the specific priority information (here, “
他の制御部(例えば13B)からのアクセス要求信号B_REQ(1:0)の優先度情報は、装置15Bからデータ蓄積部16へのアクセスの実行待ち時間が短いほど優先度が高いので、その実行待ち時間が短いものほど、アクセス権を付与され易くできる。
The priority information of the access request signal B_REQ (1: 0) from the other control unit (for example, 13B) has a higher priority as the execution waiting time for access from the
実施の形態5.
実施の形態1〜4の蓄積共有システムでは、データ蓄積部16は、例えばHDDで構成される場合を想定していたが、この実施の形態の蓄積共有システムでは、データ蓄積部16は、半導体メモリのみで構成された大規模メモリ(例えばSSD(Solid state drive))で構成される場合を想定する。以下、図8に基づき実施の形態1〜4と異なる点を説明する。
Embodiment 5 FIG.
In the storage and sharing systems of the first to fourth embodiments, it is assumed that the
この実施の形態では、データ蓄積部16は、例えばNAND型フラッシュメモリ等の半導体メモリのみで構成された大規模メモリ(例えばSSD)で構成されており、その特定エリアに各装置15A,15B用のアプリケーション用ソフトウエアが保存されている。
In this embodiment, the
また調停部14は、実施の形態1〜4の場合の動作に加えて、各装置15A,15Bの初期起動直後、自動的に順に各装置15A,15Bの制御部13A,13Bにデータ蓄積部16へのアクセス権を付与する事で、順に各装置15A,15Bにデータ蓄積部16に保存された上記のアプリケーション用ソフトウエアを取得させる様になっている。
In addition to the operations in the first to fourth embodiments, the
また装置15A(15B)のROM6には、制御部13A(13B)で使用されるOS(Operating system)等の初期起動時に必要なソフトウエアのみが保存されている。
The
SSDは、多くの場合、その外部とのインターフェイスがATA仕様に準拠され且つNAND型フラッシュメモリで構成されるので、実施の形態1〜4のデータ蓄積部(即ちHDDで構成されたデータ蓄積部)16の性能を改善するために、そのHDDの代わりに使用する事ができる。またSSDは、ディスク等の稼動部が無いので、HDDよりも高速アクセスが可能である。例えばSSDは、通常のHDDの転送速度に対して1.5〜2.5倍程度の転送速度を持ち、またHDDの転送効率の低下の要因となる、ヘッドを移動させるシーク時間や、ディスク回転数を高めるスピンアップ時間等のオーバーヘッド時間が無いため、非常に効率の良いデータ転送が可能である。 In many cases, an SSD has an interface with the outside that conforms to the ATA specification and is configured with a NAND flash memory. Therefore, the data storage unit according to the first to fourth embodiments (that is, a data storage unit configured with an HDD). In order to improve the performance of 16, it can be used instead of the HDD. Further, since the SSD does not have an operating unit such as a disk, it can be accessed at a higher speed than the HDD. For example, an SSD has a transfer speed of about 1.5 to 2.5 times the transfer speed of a normal HDD, and seek time for moving the head, which causes a reduction in HDD transfer efficiency, and disk rotation. Since there is no overhead time such as spin-up time for increasing the number, very efficient data transfer is possible.
これらの事を踏まえると、この実施の形態の様にデータ蓄積部16をSSDで構成する事で、データ蓄積部16の1回の動作期間(アクセス処理時間)をHDDの場合よりもかなり短縮でき、これにより図8の様に、データ蓄積部16がHDDで構成された場合(図8の上半分)よりも、この実施の形態の様にデータ蓄積部16がSSDで構成された場合(図8の下半分)の方が、同じ期間内であればアクセス要求をより多く処理できる様になり、従って比較的小規模のハードウエア構成でアクセス要求待ちを改善できる様になる。
Considering these things, by configuring the
また各装置15A(15B)は、それを制御するための制御部13A(13B)内にCPUを備えるので、そのCPUを起動するためのOS等の起動用ソフトウエアと、そのCPU起動後に各装置15A(15B)の各機能ブロックを制御するためのアプリケーション用ソフトウエアとを保有しておく必要がある。従来の蓄積共有システムでは、データ蓄積部16は、HDDで構成されるためにデバイスとしての信頼性が低く、そのため、上記の起動用ソフトウエアおよびアプリケーション用ソフトウエアは、各装置15A,15BのROM(フラッシュメモリ)6に保存する必要があった。
Each
SSDは、HDDと異なりディスク等の稼動部が無いので、そのデバイスとしての信頼性は、半導体メモリと同等と考えられる。そしてSSDは、それがNAND型フラッシュメモリで構成された場合、その転送速度や信頼性は、各装置15A,15BのROM(フラッシュメモリ)6と同等なので、各装置15A,15Bの起動用ソフトウエアおよびアプリケーション用ソフトウエアを保存するためのメモリとして使用する事ができる。
Unlike an HDD, an SSD does not have an operating unit such as a disk. Therefore, the reliability of the SSD is considered to be equivalent to that of a semiconductor memory. When the SSD is composed of a NAND flash memory, the transfer speed and reliability are equivalent to the ROM (flash memory) 6 of each
通常、各装置15A,15Bの初期起動時には、その制御部13A,13B内のCPUから、OS等の起動用ソフトウエアを保存するメモリに対してランダムアドレスアクセスが発生する。ランダムアドレスアクセスに対応可能なフラッシュメモリはNOR型なので、この実施の形態では、各装置15A,15Bの起動用ソフトウエアは、その各装置15A,15BのROM(フラッシュメモリ)6に保存する様にしている。一方、各装置15A,15Bのアプリケーション用ソフトウエアは、NAND型フラッシュメモリに保存しても構わないので、この実施の形態では、データ蓄積部(SSD)16の特定エリア(例では2つの特定エリア)に保存する様にしている。この様にアプリケーション用ソフトウエアをデータ蓄積部(SSD)16に保存する事で、各装置15A,15BのROM(フラッシュメモリ)6の容量を大幅に削減する事ができる。
Normally, at the time of initial startup of each
但し、データ蓄積部16は、複数の装置15A,15Bによって共有されるので、各装置15A,15Bが、データ蓄積部16からアプリケーション用ソフトウエアを取得する手順を決めておく必要がある。以下、その取得手順を説明する。
However, since the
まず各装置15A(15B)は、その制御部13A(13B)によりシステムバス4を介してそのROM6に保存された起動用ソフトウエアが取得されることで、互いに独立して初期起動する。
First, the
そしてこの実施の形態では、調停部14は、それを含む装置15Aが初期起動すると、各制御部13A,13Bからのアクセス要求信号A_REQ,B_REQの有無に関わらず自動的に、先ず制御部13Aにアクセス権を付与し(即ち調停部14からのアクセス調停結果信号B_ACKをLレベルにし)、次に制御部13Bにアクセス権を付与する様に(即ち調停部14からのアクセス調停結果信号B_ACKをHレベルにする様に)設定されており、この設定により、装置15Aは、その初期起動直後に調停部14からアクセス権が付与され、このアクセス権に基づきデータ蓄積部16にアクセスしてデータ蓄積部(SSD)16に保存された装置15A用のアプリケーション用ソフトウエアを取得して、装置15Aの起動を完了させて動作スタンバイ状態となる。
In this embodiment, when the
そしてその次に(例えば制御部13Aへのアクセス権付与後一定期間経過後自動的にまたは調停部14がデータ蓄積部16からの処理終了信号B_ACKを受信した時)に、調停部14から装置15Bにアクセス権が付与され、このアクセス権に基づき装置15Bがデータ蓄積部16にアクセスしてデータ蓄積部16に保存された装置15B用のアプリケーション用ソフトウエアを取得して、装置15Bはその起動を完了させて動作スタンバイ状態となる。そして調停部14は、各装置15A,15Bの起動完了後、実施の形態1〜4の様に通常のアクセス調停を行う様になる。この様にして各装置15A,15Bは、データ蓄積部16からアプリケーション用ソフトウエアを取得する。
Then (for example, automatically after a certain period of time has passed since the access right to the
この、各装置15A,15Bがデータ蓄積部16からアプリケーション用ソフトウエアを取得する一連の動作は、従来の動作(即ち各装置15A,15Bが互いに併行してそのROM6からアプリケーション用ソフトウエアを取得する動作)と比べて、時分割的に行われる分、従来の処理時間の2倍の処理時間が掛かる様に見えるが、データ蓄積部16がSSDで構成されることで、従来よりも速く処理可能になっているので、特に処理時間に関しては問題にはならない。
The series of operations in which the
以上の様に構成された蓄積共有システムによれば、データ蓄積部16に各装置15A,15B用のアプリケーション用ソフトウエアが保存されるので、各装置15A,15BのROM(記憶手段)6の容量を低減できる。
According to the storage and sharing system configured as described above, the application software for each of the
また調停部14は、各装置15A,15Bの初期起動後、自動的に順に各装置15A,15Bの制御部13A,13Bに対してデータ蓄積部16へのアクセス権を付与する事で、順に各装置15A,15Bにデータ蓄積部16に保存された各装置15A,15B用のアプリケーション用ソフトウエアを取得させるので、混乱無く、各装置に各装置15A,15B用のアプリケーション用ソフトウエアを取得させる事ができる。
Further, after the initial activation of the
データ蓄積部16は、半導体メモリ(SSD)で構成されるので、データ蓄積部16のアクセス処理時間を短縮でき、より多くのアクセス要求を処理でき、これにより比較的小規模なハードウエアで、データ蓄積部16へのアクセス要求待ちによるシステム破綻を抑制できる。
Since the
1 内部メモリ、2 ATAブリッジ+DMA、3 制御部(ホスト)、6 ROM(フラッシュメモリ)、7 メインメモリ(SDRAM)、13A,13B 制御部(ホスト)、14 調停部、15A,15B 装置、16 データ蓄積部、17 切換部、18 保存部。 1 internal memory, 2 ATA bridge + DMA, 3 control unit (host), 6 ROM (flash memory), 7 main memory (SDRAM), 13A, 13B control unit (host), 14 arbitration unit, 15A, 15B device, 16 Data storage unit, 17 switching unit, 18 storage unit.
Claims (15)
前記データ蓄積部へのアクセスのためのアクセス要求信号を出力する制御部と、
前記複数の装置の前記データ蓄積部へのアクセスを調停する調停部とを備え、
前記調停部は、前記複数の装置のそれぞれに備えられた前記制御部と専用伝送路で接続され、前記複数の装置の前記制御部から前記データ蓄積部へのアクセスのために出力するアクセス要求信号に基づき、前記複数の装置の前記データ蓄積部へのアクセスを調停し、前記調停の結果を前記専用伝送路を介して出力することを特徴とする蓄積共有システム用の装置。 One of the plurality of devices constituting a storage sharing system in which a plurality of devices are connected to a common data storage unit,
A control unit that outputs an access request signal for accessing the data storage unit;
An arbitration unit that arbitrates access to the data storage unit of the plurality of devices,
The arbitration unit is connected to the control unit provided in each of the plurality of devices through a dedicated transmission path, and is output for access from the control unit of the plurality of devices to the data storage unit. Based on the above, an apparatus for a storage and sharing system that arbitrates access to the data storage unit of the plurality of apparatuses and outputs the result of the arbitration through the dedicated transmission path.
前記データ蓄積部へのアクセスのためのアクセス要求信号を前記蓄積共有システムが有する調停部に専用伝送路を介して出力する制御部を備え、
前記制御部は、前記複数の装置から出力されたアクセス要求信号に基づき前記調停部が前記専用伝送路を介して出力する調停の結果に応じて、前記データ蓄積部へのアクセスを行うことを特徴とする蓄積共有システム用の装置。 One of the plurality of devices constituting a storage sharing system in which a plurality of devices are connected to a common data storage unit,
A control unit that outputs an access request signal for access to the data storage unit to an arbitration unit included in the storage sharing system via a dedicated transmission line;
The control unit accesses the data storage unit in accordance with an arbitration result output from the arbitration unit via the dedicated transmission path based on an access request signal output from the plurality of devices. A device for a storage sharing system.
前記所定の制御部は、前記調停部とバスを介して接続され、そのバスを介して前記調停部に出力したアクセス要求信号の優先度情報を前記調停部に出力し、
前記調停部は、前記バスを介して取得する前記所定の制御部からのアクセス要求信号の優先度情報と、予め設定された前記他の制御部からのアクセス要求信号の優先度情報と、それら各優先度情報間の優先順位を規定する優先度判定情報とに基づき、優先順位の一番高いアクセス要求信号を出力した制御部にアクセス権を付与することを特徴とする請求項1に記載の蓄積共有システム用の装置。 Among the control units of each device, priority information is set for each access request signal in an access request signal from a predetermined control unit, and the control unit is set in an access request signal from another control unit. The same priority information is set every time,
The predetermined control unit is connected to the arbitration unit via a bus, and outputs priority information of an access request signal output to the arbitration unit via the bus, to the arbitration unit,
The arbitration unit, the priority information of the access request signal from the predetermined control unit acquired via the bus, the priority information of the access request signal from the other control unit set in advance, each of them 2. The storage according to claim 1, wherein an access right is given to a control unit that outputs an access request signal having the highest priority based on priority determination information that defines a priority between priority information. A device for a shared system.
前記各装置の前記制御部のうち、所定の制御部は、前記調停部とバスを介して接続され、そのバスを介して、前記調停部に出力したアクセス要求信号の優先度情報を前記調停部に出力し、他の制御部は、前記調停部に出力するアクセス要求信号にその優先度情報を付加することでそのアクセス要求信号と共にその優先度情報を前記調停部に出力し、
前記調停部は、前記バスを介して取得する前記所定の制御部からのアクセス要求信号の優先度情報と、前記他の制御部からのアクセス要求信号に付加されて取得するそのアクセス要求信号の優先度情報と、それら各優先度情報間の優先順位を規定する優先度判定情報とに基づき、優先順位の一番高いアクセス要求信号を出力した制御部にアクセス権を付与することを特徴とする請求項1に記載の蓄積共有システム用の装置。 In the access request signal from the control unit of each device, priority information is set for each access request signal,
Among the control units of the devices, a predetermined control unit is connected to the arbitration unit via a bus, and the priority information of the access request signal output to the arbitration unit via the bus is transmitted to the arbitration unit. The other control unit outputs the priority information together with the access request signal to the arbitration unit by adding the priority information to the access request signal output to the arbitration unit,
The arbitration unit includes priority information of the access request signal from the predetermined control unit acquired via the bus, and priority of the access request signal acquired by adding to the access request signal from the other control unit. The access right is given to the control unit that has output the access request signal with the highest priority based on the degree information and the priority determination information that defines the priority order between the pieces of priority information. Item 2. The storage and sharing system device according to Item 1.
前記調停部は、前記他の制御部からのアクセス要求信号に付加された優先度情報を取得すると、その優先度情報で指定された優先度に応じて前記優先度判定情報における当該他の制御部の前記固有の優先度情報の優先順位を変更し、その変更した当該他の制御部の前記固有の優先度情報を当該他の制御部からの当該アクセス要求信号の優先度情報と見なして、前記のアクセス権の付与を行うことを特徴とする請求項10に記載の蓄積共有システム用の装置。 The priority determination information defines a priority order between the priority information for each access request signal from the predetermined control unit and unique priority information for each of the other control units,
When the arbitration unit acquires the priority information added to the access request signal from the other control unit, the other control unit in the priority determination information according to the priority specified by the priority information The priority of the unique priority information is changed, the unique priority information of the changed other control unit is regarded as the priority information of the access request signal from the other control unit, and The apparatus for storage and sharing system according to claim 10, wherein the access right is granted.
前記調停部は、前記各装置の初期起動後、自動的に順に前記各装置の前記制御部に対して前記データ蓄積部へのアクセス権を付与する事で、順に前記各装置に前記データ蓄積部に保存された前記各装置用のソフトウエアを取得させることを特徴とする請求項1〜13の何れかに記載の蓄積共有システム用の装置。 The data storage unit stores software for each device,
The arbitration unit automatically grants an access right to the data storage unit to the control unit of each device in order after the initial activation of each device, so that the data storage unit to each device in turn The apparatus for the storage and sharing system according to claim 1, wherein software for each of the apparatuses stored in the storage system is acquired.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007223569A JP2009059022A (en) | 2007-08-30 | 2007-08-30 | Device for accumulation sharing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007223569A JP2009059022A (en) | 2007-08-30 | 2007-08-30 | Device for accumulation sharing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009059022A true JP2009059022A (en) | 2009-03-19 |
Family
ID=40554736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007223569A Pending JP2009059022A (en) | 2007-08-30 | 2007-08-30 | Device for accumulation sharing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009059022A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6232162A (en) * | 1985-08-02 | 1987-02-12 | Yoshitomi Pharmaceut Ind Ltd | Rosin composition |
JPH02249054A (en) * | 1989-03-22 | 1990-10-04 | Mitsubishi Electric Corp | Data processor |
JPH0352052A (en) * | 1989-07-20 | 1991-03-06 | Meidensha Corp | Bus arbitration system for multi-cpu system |
JPH09179814A (en) * | 1995-12-26 | 1997-07-11 | Hitachi Ltd | Arbitration method |
JP2001184299A (en) * | 1999-12-27 | 2001-07-06 | Matsushita Electric Ind Co Ltd | Arbitration device |
JP2004178056A (en) * | 2002-11-25 | 2004-06-24 | Renesas Technology Corp | Adjustment circuit and data processor |
JP2004280677A (en) * | 2003-03-18 | 2004-10-07 | Nec Corp | Bus controller and method for controlling data access for same |
JP2005092780A (en) * | 2003-09-19 | 2005-04-07 | Matsushita Electric Ind Co Ltd | Real time processor system and control method |
JP2005215885A (en) * | 2004-01-28 | 2005-08-11 | Hitachi Ltd | Shared exclusive control system between sites having storage device systems shared by plurality of host devices, and computer system having the shared exclusive control system |
-
2007
- 2007-08-30 JP JP2007223569A patent/JP2009059022A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6232162A (en) * | 1985-08-02 | 1987-02-12 | Yoshitomi Pharmaceut Ind Ltd | Rosin composition |
JPH02249054A (en) * | 1989-03-22 | 1990-10-04 | Mitsubishi Electric Corp | Data processor |
JPH0352052A (en) * | 1989-07-20 | 1991-03-06 | Meidensha Corp | Bus arbitration system for multi-cpu system |
JPH09179814A (en) * | 1995-12-26 | 1997-07-11 | Hitachi Ltd | Arbitration method |
JP2001184299A (en) * | 1999-12-27 | 2001-07-06 | Matsushita Electric Ind Co Ltd | Arbitration device |
JP2004178056A (en) * | 2002-11-25 | 2004-06-24 | Renesas Technology Corp | Adjustment circuit and data processor |
JP2004280677A (en) * | 2003-03-18 | 2004-10-07 | Nec Corp | Bus controller and method for controlling data access for same |
JP2005092780A (en) * | 2003-09-19 | 2005-04-07 | Matsushita Electric Ind Co Ltd | Real time processor system and control method |
JP2005215885A (en) * | 2004-01-28 | 2005-08-11 | Hitachi Ltd | Shared exclusive control system between sites having storage device systems shared by plurality of host devices, and computer system having the shared exclusive control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4715801B2 (en) | Memory access control device | |
JP4855451B2 (en) | Storage device access method and apparatus | |
US8161234B2 (en) | Dynamically switching command types to a mass storage drive | |
US9244877B2 (en) | Link layer virtualization in SATA controller | |
JP5578713B2 (en) | Information processing device | |
EP3361388B1 (en) | Distribution of master device tasks among bus queues | |
US6665746B1 (en) | System and method for prioritized context switching for streaming data memory transfers | |
JP2016512361A (en) | Dual Host Embedded Shared Device Controller | |
US10719466B2 (en) | System and method for implementing a multi-threaded device driver in a computer system | |
KR20160112305A (en) | Method for arbitrating shared resource access and shared resource access arbitration apparatus and shared resource apparatus access arbitration system for performing the same | |
JP2008009817A (en) | Semiconductor device and data transfer method | |
KR102526104B1 (en) | Data storage device and operating method thereof | |
JP4642531B2 (en) | Arbitration of data requests | |
JP5911548B1 (en) | Apparatus, method, and computer program for scheduling access request to shared memory | |
JP4391200B2 (en) | Disk array device and disk array device control method | |
JP2009059022A (en) | Device for accumulation sharing system | |
JP2007264751A (en) | Data transfer controller | |
JP2005316781A (en) | Multiple host switching method for storage medium | |
US20160098306A1 (en) | Hardware queue automation for hardware engines | |
JP2007108858A (en) | Pin sharing device and pin sharing method | |
JP2010113414A (en) | Multicore system, thread scheduling method, program, and storage medium | |
JP2016154001A (en) | Image processor, data transfer control method for image processing, and data transfer control program for image processing | |
JPH11110342A (en) | Method and device for connecting bus | |
JP2005215953A (en) | Information processor | |
JPH0351943A (en) | Sharing system for high/low speed bus lines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Effective date: 20100514 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Effective date: 20100601 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A02 | Decision of refusal |
Effective date: 20101207 Free format text: JAPANESE INTERMEDIATE CODE: A02 |