[go: up one dir, main page]

JP2006338350A - Data control system and program - Google Patents

Data control system and program Download PDF

Info

Publication number
JP2006338350A
JP2006338350A JP2005162538A JP2005162538A JP2006338350A JP 2006338350 A JP2006338350 A JP 2006338350A JP 2005162538 A JP2005162538 A JP 2005162538A JP 2005162538 A JP2005162538 A JP 2005162538A JP 2006338350 A JP2006338350 A JP 2006338350A
Authority
JP
Japan
Prior art keywords
management information
devices
virtual management
logical address
information
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.)
Withdrawn
Application number
JP2005162538A
Other languages
Japanese (ja)
Inventor
Michitaka Tateishi
道孝 立石
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005162538A priority Critical patent/JP2006338350A/en
Publication of JP2006338350A publication Critical patent/JP2006338350A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

【課題】複数のデバイスを認識させる場合において煩雑な処理を軽減し、小型の電子機器に対しても適用可能であるデータ制御システム及びプログラムを提供する。
【解決手段】データ制御システムは、バスを介したデータ転送の対象となる第1〜第nのデバイス50、80と、第1〜第nのデバイス50、80のパーティション管理情報から、第1〜第nのデバイス50、80を1つのデバイスとして認識させるための仮想管理情報を作成する仮想管理情報作成部62と、第1〜第nのデバイス50、80が、1つのデバイスの論理アドレスを指定してリード又はライトのアクセスが要求された場合に、仮想管理情報及び論理アドレスに基づいて、第1〜第nのデバイス50、80のいずれかを指定するデバイス指定情報と論理アドレスに対応する物理アドレスを算出して、デバイスに対するアクセス制御を行うデバイス制御部64と、を含む。
【選択図】図1
The present invention provides a data control system and a program that reduce complicated processing when a plurality of devices are recognized, and can be applied to a small electronic device.
A data control system includes first to n-th devices 50 and 80 that are targets of data transfer via a bus and partition management information of first to n-th devices 50 and 80 based on first to first devices. The virtual management information creation unit 62 that creates virtual management information for recognizing the nth devices 50 and 80 as one device, and the first to nth devices 50 and 80 specify the logical address of one device. When the read or write access is requested, the device designation information for designating one of the first to nth devices 50 and 80 and the physical corresponding to the logical address based on the virtual management information and the logical address A device control unit 64 that calculates an address and controls access to the device.
[Selection] Figure 1

Description

本発明は、データ制御システム及びプログラムに関する。   The present invention relates to a data control system and a program.

USB規格の上位層のプロトコルの1つに、外部記憶装置をサポートするための規格としてUSBマスストレージクラスが知られている。USBマスストレージクラスでは複数のデバイスのそれぞれを、プロトコル上で個々のデバイスとして認識させる。このため、複数のデバイスを例えばUSBマスストレージクラスで扱う場合は複数のデバイスの管理を行う必要があり、この管理に処理は煩雑であり、小型の電子機器では単一のデバイスしか扱えないものもある。   The USB mass storage class is known as a standard for supporting an external storage device as one of upper layer protocols of the USB standard. In the USB mass storage class, each of a plurality of devices is recognized as an individual device on the protocol. For this reason, when handling a plurality of devices in the USB mass storage class, for example, it is necessary to manage a plurality of devices. This management is complicated, and some small electronic devices can handle only a single device. is there.

他の機器と通信にて情報を送受信する通信手段と、他の機器によってリモート制御可能にするベンダーユニークの宣言及び前記他の機器の記録手段として機能するストレージクラスの宣言のうちのいずれか一方を設定する設定手段とを備える構成が知られている(特許文献1参照)。
特開2001−186395号公報
One of a communication means for transmitting / receiving information to / from other devices, a vendor-unique declaration that enables remote control by another device, and a storage class declaration that functions as a recording means for the other device. A configuration including setting means for setting is known (see Patent Document 1).
JP 2001-186395 A

しかしながら、上記のような構成においては、機能するストレージクラスの宣言のうちのいずれか一方を設定する必要があり、例えば複数の記憶装置を同時に認識させることができない。   However, in the above configuration, it is necessary to set one of declarations of a functioning storage class, and for example, a plurality of storage devices cannot be recognized simultaneously.

また、複数のデバイスを有する電子機器においては、プロトコル上で個々のデバイスとして認識させる場合には、USBマスストレージクラス上において複雑なデータ制御処理を行わなければならなかった。   In addition, in an electronic apparatus having a plurality of devices, complicated data control processing has to be performed on the USB mass storage class when it is recognized as an individual device on the protocol.

本発明は、以上のような技術的課題に鑑みてなされたものであり、その目的とするところは、複数のデバイスを認識させる場合において煩雑な処理を軽減し、小型の電子機器に対しても適用可能であるデータ制御システム及びプログラムを提供することにある。   The present invention has been made in view of the technical problems as described above. The object of the present invention is to reduce complicated processing when recognizing a plurality of devices, and also to a small electronic device. An object is to provide a data control system and a program that can be applied.

本発明は、バスを介したデータ転送の対象となる第1〜第n(nは2以上の整数)のデバイスと、前記第1〜第nのデバイスのパーティション管理情報から、前記第1〜第nのデバイスを1つのデバイスとして認識させるための仮想管理情報を作成する仮想管理情報作成部と、前記第1〜第nのデバイスが前記仮想管理情報に基づいて1つのデバイスとして認識され、前記1つのデバイスの論理アドレスを指定してリード又はライトのアクセスが要求された場合に、前記仮想管理情報及び前記論理アドレスに基づいて、前記第1〜第nのデバイスのいずれかを指定するデバイス指定情報と前記論理アドレスに対応する物理アドレスを算出して、デバイスに対するアクセス制御を行うデバイス制御部と、を含むデータ制御システムに関する。   According to the present invention, the first to n-th devices (n is an integer of 2 or more) to be transferred via the bus and the partition management information of the first to n-th devices, the first to first a virtual management information creating unit for creating virtual management information for recognizing n devices as one device, the first to nth devices are recognized as one device based on the virtual management information, and the 1 Device designation information for designating one of the first to nth devices based on the virtual management information and the logical address when a read or write access is requested by designating a logical address of one device And a device control unit that calculates a physical address corresponding to the logical address and controls access to the device.

本発明によれば、複数のデバイスを外部機器等に単一のデバイスとして認識させることができるので、複雑な処理を必要としないで外部機器等からの複数のデバイスに対するアクセスを可能にする。   According to the present invention, since a plurality of devices can be recognized as a single device by an external device or the like, it is possible to access the plurality of devices from the external device or the like without requiring complicated processing.

また、本発明では、前記仮想管理情報作成部は、前記第1〜第nのデバイスのいずれかの管理情報のブート情報を、前記仮想管理情報のブート情報にコピーして前記仮想管理情報を作成するようにしてもよい。   In the present invention, the virtual management information creation unit creates the virtual management information by copying the boot information of the management information of any of the first to nth devices into the boot information of the virtual management information. You may make it do.

また、本発明では、前記仮想管理情報作成部は、前記第1〜第nのデバイスのうちの前記第1のデバイスのパーティション管理情報を、前記仮想管理情報の第1パーティション情報にコピーして前記仮想管理情報を作成するようにしてもよい。   In the present invention, the virtual management information creation unit copies the partition management information of the first device among the first to nth devices to the first partition information of the virtual management information, and Virtual management information may be created.

これにより、第1のデバイスに対してアクセス制御する場合には、外部機器等からの論理アドレスをそのまま第1のデバイスの物理アドレスとして用いることができる。   Thereby, when controlling access to the first device, the logical address from the external device or the like can be used as it is as the physical address of the first device.

また、本発明では、前記仮想管理情報作成部は、前記第1〜第nのデバイスのうちの前記第2〜第nのデバイスのパーティション管理情報に対して、パーティションのスタートアドレスをオフセットする処理を施し、その結果を、前記仮想管理情報の第2〜第nパーティション情報に用いるようにしてもよい。   In the present invention, the virtual management information creation unit performs a process of offsetting a partition start address with respect to partition management information of the second to n-th devices among the first to n-th devices. And the result may be used for the second to n-th partition information of the virtual management information.

これにより、複数のデバイスを1つのデバイスとして認識させるための仮想管理情報を作成することができる。   Thereby, virtual management information for recognizing a plurality of devices as one device can be created.

また、本発明では、前記デバイス制御部は、指定された前記論理アドレスに基づいて、前記第1〜第nのデバイスのいずれかに特定する処理と、前記物理アドレスを算出する処理とを行い、前記論理アドレスに対応するデバイスが第k(kは2以上n以下)のデバイスである場合には、前記論理アドレスから第1〜第k―1のデバイスのパーティションのサイズの合計に相当する値を減算することで、前記物理アドレスを算出するようにしてもよい。   In the present invention, the device control unit performs a process of specifying any of the first to n-th devices based on the designated logical address, and a process of calculating the physical address, When the device corresponding to the logical address is a k-th device (k is 2 or more and n or less), a value corresponding to the total size of the partitions of the first to k-1 devices from the logical address is set. The physical address may be calculated by subtraction.

これにより、外部機器は仮想管理情報100における仮想アドレスを指定することによって、複数のデバイスのうちの任意のデバイスの物理アドレスにアクセスすることができる。   Thus, the external device can access the physical address of any device among the plurality of devices by designating the virtual address in the virtual management information 100.

また、本発明では、前記デバイス制御部は、前記論理アドレスに対応するデバイスが第1のデバイスである場合には、前記論理アドレスを前記物理アドレスとして用いるようにしてもよい。   In the present invention, when the device corresponding to the logical address is the first device, the device control unit may use the logical address as the physical address.

これにより、デバイス制御部の処理を単純化することができる。また、デバイス制御部の処理を軽減することができ、デバイス制御部の処理を行う処理部の負荷を軽減することができる。   Thereby, the process of a device control part can be simplified. In addition, the processing of the device control unit can be reduced, and the load on the processing unit that performs the processing of the device control unit can be reduced.

また、本発明は、バスを介したデータ転送の対象となる第1〜第n(nは2以上の整数)のデバイスのパーティション管理情報から、前記第1〜第nのデバイスを1つのデバイスとして認識させるための仮想管理情報を作成する仮想管理情報作成部と、前記第1〜第nのデバイスが前記仮想管理情報に基づいて1つのデバイスとして認識され、前記1つのデバイスの論理アドレスを指定してリード又はライトのアクセスが要求された場合に、前記仮想管理情報及び前記論理アドレスに基づいて、前記第1〜第nのデバイスのいずれかを指定するデバイス指定情報と前記論理アドレスに対応する物理アドレスを算出して、デバイスに対するアクセス制御を行うデバイス制御部と、を含むプログラムに関する。   Further, according to the present invention, the first to nth devices are defined as one device from the partition management information of the first to nth devices (n is an integer equal to or larger than 2) to be transferred via the bus. A virtual management information creating unit for creating virtual management information for recognition; and the first to nth devices are recognized as one device based on the virtual management information, and a logical address of the one device is designated. When the read or write access is requested, device designation information for designating one of the first to n-th devices and the physical corresponding to the logical address based on the virtual management information and the logical address And a device control unit that calculates an address and performs access control on the device.

また、本発明では、前記仮想管理情報作成部は、前記第1〜第nのデバイスのいずれかの管理情報のブート情報を、前記仮想管理情報のブート情報にコピーして前記仮想管理情報を作成するようにしてもよい。   In the present invention, the virtual management information creation unit creates the virtual management information by copying the boot information of the management information of any of the first to nth devices into the boot information of the virtual management information. You may make it do.

また、本発明では、前記仮想管理情報作成部は、前記第1〜第nのデバイスのうちの前記第1のデバイスのパーティション管理情報を、前記仮想管理情報の第1パーティション情報にコピーすることで前記仮想管理情報を作成するようにしてもよい。   In the present invention, the virtual management information creation unit may copy the partition management information of the first device among the first to nth devices to the first partition information of the virtual management information. The virtual management information may be created.

また、本発明では、前記仮想管理情報作成部は、前記第1〜第nのデバイスのうちの前記第2〜第nのデバイスのパーティション管理情報に対して、パーティションのスタートアドレスをオフセットする処理を施し、その結果を、前記仮想管理情報の第2〜第nパーティション情報に用いるようにしてもよい。   In the present invention, the virtual management information creation unit performs a process of offsetting a partition start address with respect to partition management information of the second to n-th devices among the first to n-th devices. And the result may be used for the second to n-th partition information of the virtual management information.

また、本発明では、前記デバイス制御部は、指定された前記論理アドレスに基づいて、前記第1〜第nのデバイスのいずれかに特定する処理と、前記物理アドレスを算出する処理とを行い、前記論理アドレスに対応するデバイスが第k(kは2以上n以下)のデバイスである場合には、前記論理アドレスから第1〜第k―1のデバイスのパーティションのサイズの合計に相当する値を減算することで、前記物理アドレスを算出するようにしてもよい。   In the present invention, the device control unit performs a process of specifying any of the first to n-th devices based on the designated logical address, and a process of calculating the physical address, When the device corresponding to the logical address is a k-th device (k is 2 or more and n or less), a value corresponding to the total size of the partitions of the first to k-1 devices from the logical address is set. The physical address may be calculated by subtraction.

また、本発明では、前記デバイス制御部は、前記論理アドレスに対応するデバイスが第1のデバイスである場合には、前記論理アドレスを前記物理アドレスとして用いるようにしてもよい。   In the present invention, when the device corresponding to the logical address is the first device, the device control unit may use the logical address as the physical address.

以下、本発明の一実施形態について、図面を参照して説明する。なお、以下に説明する実施の形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また以下で説明される構成のすべてが本発明の必須構成要件であるとは限らない。なお、以下の図において同符号のものは同様の意味を表す。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The embodiments described below do not unduly limit the contents of the present invention described in the claims. Also, not all of the configurations described below are essential constituent requirements of the present invention. In the following drawings, the same reference numerals have the same meaning.

1.構成
図1に本実施形態の情報処理システム及びこの情報処理システムが組み込まれる電子機器の構成例を示す。
1. Configuration FIG. 1 shows a configuration example of an information processing system according to the present embodiment and an electronic apparatus in which the information processing system is incorporated.

パーソナルコンピュータPCと電子機器10は、バス70(例えばUSB(USB1.1、USB2.0等)などのシリアルバス等)を介して接続される。なお、電子機器10としては、例えば携帯電話、携帯型オーディオ機器、携帯型映像機器、デジタルカメラ、デジタルビデオカメラ、携帯型情報端末、ICレコーダ、或いは電子手帳などの種々の機器が考えられる。またシリアルバスを介して電子機器10に接続されるデバイスは、パーソナルコンピュータPCに限定されず、ホスト機能を有する電子機器(プリンタ、ストレージデバイス等)であってもよい。また、シリアルバスは、USB以外のシリアルバス(例えばIEEE1394)であってもよいし、多チャンネルのシリアルバスであってもよい。またシリアルバスの少なくとも一部が無線バスであってもよい。また、バス70はシリアルバスでなくてもよく、パラレルバスでも良い
電子機器10は、入力デバイス20、表示デバイス30、サウンドデバイス40、メモリ50、処理部60、ストレージドライブ80、シリアルインターフェース90を含む。なお電子機器10はこれらの一部を省略した構成であってもよい。例えばアプリケーションデバイスである入力デバイス20、表示デバイス30、サウンドデバイス40のうちの一部を省略したり、他のアプリケーションデバイス(例えばCCDなどの画像取り込みデバイス)を設けたりするようにしてもよい。またストレージ82がメモリカードなどの取り外し可能な外部メディアである場合には電子機器10はストレージ82を含まない構成となる。
The personal computer PC and the electronic device 10 are connected via a bus 70 (for example, a serial bus such as USB (USB 1.1, USB 2.0, etc.)). Examples of the electronic device 10 include various devices such as a mobile phone, a portable audio device, a portable video device, a digital camera, a digital video camera, a portable information terminal, an IC recorder, and an electronic notebook. The device connected to the electronic device 10 via the serial bus is not limited to the personal computer PC, and may be an electronic device (printer, storage device, etc.) having a host function. The serial bus may be a serial bus other than USB (for example, IEEE 1394), or a multi-channel serial bus. Further, at least a part of the serial bus may be a wireless bus. The bus 70 may not be a serial bus but may be a parallel bus. The electronic apparatus 10 includes an input device 20, a display device 30, a sound device 40, a memory 50, a processing unit 60, a storage drive 80, and a serial interface 90. . The electronic device 10 may have a configuration in which some of these are omitted. For example, a part of the input device 20, the display device 30, and the sound device 40 that are application devices may be omitted, or another application device (for example, an image capturing device such as a CCD) may be provided. When the storage 82 is a removable external medium such as a memory card, the electronic device 10 does not include the storage 82.

入力デバイス20は、ユーザが種々の情報を入力するためのデバイスである。この入力デバイス20としては例えば操作ボタン、操作キー、スイッチ、キーボード、或いはマウスなどがある。   The input device 20 is a device for a user to input various information. Examples of the input device 20 include operation buttons, operation keys, switches, a keyboard, and a mouse.

表示デバイス30は、ユーザに情報を表示するためのデバイスである。この表示デバイス30としては、例えばLCD(液晶ディスプレイ)、或いは有機ELディスプレイなどがある。   The display device 30 is a device for displaying information to the user. Examples of the display device 30 include an LCD (Liquid Crystal Display) or an organic EL display.

サウンドデバイス40は、ユーザにサウンド(音声、音楽)を出力したり、サウンドを入力(録音)するためのデバイスである。このサウンドデバイス30としは、例えばスピーカ、マイクなどがある。   The sound device 40 is a device for outputting sound (voice, music) to a user and inputting (recording) sound. Examples of the sound device 30 include a speaker and a microphone.

メモリ50は、プログラムを記憶したり、データを一時的に記憶するものであり、ROM、RAM、EEPROM(電気的にデータの書き換えが可能な不揮発性メモリ)などである。また、本実施形態では、メモリ50上にRAMDISKを構築してRAM上に仮想のファイルシステムを構築することができる。   The memory 50 stores a program or temporarily stores data, and is a ROM, RAM, EEPROM (nonvolatile memory capable of electrically rewriting data), or the like. In the present embodiment, a RAM DISK can be constructed on the memory 50 to construct a virtual file system on the RAM.

処理部60は、本実施形態の情報処理システムとして機能するものであり、電子機器10の全体や各部の制御を行う。処理部60による処理は、CPU(プロセッサ)などのハードウェア回路とCPU上で動作するプログラム(ファームウェア)により実現でき、このプログラム(処理モジュール)は、例えばメモリ50(ROM、EEPROM)に格納される。但し処理部60が含むこれらの各部の一部又は全部を、専用のハードウェア回路(ASIC)により実現してもよい。   The processing unit 60 functions as the information processing system of this embodiment, and controls the entire electronic device 10 and each unit. The processing by the processing unit 60 can be realized by a hardware circuit such as a CPU (processor) and a program (firmware) that operates on the CPU, and this program (processing module) is stored in, for example, the memory 50 (ROM, EEPROM). . However, some or all of these units included in the processing unit 60 may be realized by a dedicated hardware circuit (ASIC).

ストレージドライブ80(ストレージインターフェース)は、ストレージ82へのアクセス制御を行うものであり、ストレージ82にアクセスして、ストレージ82からデータを読み出したり、ストレージ82にデータを書き込んだりするなどの制御を行う。ストレージ82は、各種データ(画像データ、音データ)のファイルシステム84(FAT12、FAT16、FAT32、NTFSなどのファイルシステム)を記憶(記録)する。ストレージ82としては、メモリカード(マルチメディアカード、メモリーカード)などの外部メディアや、ハードディスクなどの内蔵メディアがある。   The storage drive 80 (storage interface) controls access to the storage 82, and performs control such as accessing the storage 82, reading data from the storage 82, and writing data to the storage 82. The storage 82 stores (records) a file system 84 (file system such as FAT12, FAT16, FAT32, NTFS) of various data (image data, sound data). The storage 82 includes an external medium such as a memory card (multimedia card or memory card) and a built-in medium such as a hard disk.

また、図1にはストレージドライブ80は1つしか図示されていないが、これに限定されない。複数のストレージドライブ80が設けられても良い。   Further, FIG. 1 shows only one storage drive 80, but the present invention is not limited to this. A plurality of storage drives 80 may be provided.

シリアルインターフェース90は、シリアルバスを介したシリアル転送のためのインターフェースである。このシリアルインターフェース90は、物理層回路であるトランシーバや、データ転送(パケット転送)を制御する転送コントローラや、転送データを一時的に記憶するバッファ(パケットバッファ)や、バッファへのアクセス制御を行うバッファコントローラなどを含むことができる。なお、パーソナルコンピュータPCと電子機器10の接続はシリアルバス70に限定されず、パラレルのバスでも良い。   The serial interface 90 is an interface for serial transfer via a serial bus. The serial interface 90 includes a transceiver that is a physical layer circuit, a transfer controller that controls data transfer (packet transfer), a buffer that temporarily stores transfer data (packet buffer), and a buffer that controls access to the buffer. A controller or the like can be included. The connection between the personal computer PC and the electronic device 10 is not limited to the serial bus 70, and may be a parallel bus.

処理部60の仮想管理情報作成部62は、図2に示すように例えばメモリ50に構築されたRAMディスクのMBR情報(Master Boot Record、広義にはパーティション管理情報)と、ストレージドライブ80に接続されたストレージ82(例えば不揮発性メモリーカード等)のMBR情報から、複数のデバイスを1つのデバイスとして認識させるための仮想管理情報100を作成する。これにより、メモリ50に構築されたRAMディスクとストレージ82を1つのデバイスとしてパーソナルコンピュータPC等に認識させることができる。即ち、複数デバイスをパーソナルコンピュータPC等に認識させるために必要とした複雑な処理を省略することができる。   The virtual management information creation unit 62 of the processing unit 60 is connected to the storage drive 80 and MBR information (Master Boot Record, partition management information in a broad sense) of a RAM disk constructed in the memory 50, for example, as shown in FIG. Virtual management information 100 for recognizing a plurality of devices as one device is created from the MBR information of the storage 82 (for example, a nonvolatile memory card). Thereby, the personal computer PC or the like can recognize the RAM disk and the storage 82 constructed in the memory 50 as one device. That is, it is possible to omit complicated processing necessary for causing a personal computer PC or the like to recognize a plurality of devices.

処理部60のデバイス制御部64は、仮想管理情報100と外部機器等から指定される論理セクタ又は論理アドレス等に基づいて複数のデバイスから対応するデバイスを選択するためのデバイス指定情報を算出する。さらにデバイス制御部64は、その対応するデバイスの物理セクタ又は物理アドレスを算出し、デバイス指定情報に対応するデバイスに対して、該物理セクタ又は物理アドレスを用いてアクセス制御を行う。   The device control unit 64 of the processing unit 60 calculates device designation information for selecting a corresponding device from a plurality of devices based on the virtual management information 100 and a logical sector or logical address designated by an external device or the like. Furthermore, the device control unit 64 calculates the physical sector or physical address of the corresponding device, and performs access control using the physical sector or physical address for the device corresponding to the device designation information.

また、処理部60では、図3に示す処理が実行される。メイン60−1は複数のタスクの調停処理等を行い、その複数のタスクに、例えばUSB制御60−2、ファイルシステム制御60−3、表示制御60−4、入力制御60−5等があるが、これに限定されない。例えば表示の制御を行うタスクである表示制御60−4や入力制御を行うタスクである入力制御60−5が省略されても良い。USB制御60−2は、USBに対する制御を行うタスクである。   In the processing unit 60, the process shown in FIG. 3 is executed. The main 60-1 performs arbitration processing of a plurality of tasks, and the plurality of tasks include a USB control 60-2, a file system control 60-3, a display control 60-4, an input control 60-5, and the like. However, it is not limited to this. For example, the display control 60-4, which is a task for controlling display, and the input control 60-5, which is a task for performing input control, may be omitted. The USB control 60-2 is a task for controlling the USB.

また、ファイルシステム制御60−3は図4に示すように、メモリ50やストレージドライブ80に設定されたファイルシステムに対するアクセスを制御するタスクである。   The file system control 60-3 is a task for controlling access to the file system set in the memory 50 or the storage drive 80, as shown in FIG.

2.仮想管理情報
図5は、仮想管理情報100の論理アドレス空間を示す図である。仮想管理情報100によって、パーソナルコンピュータPC等の外部機器は複数のデバイス(例えばデバイス0としてRAMディスク、デバイス1としてメモリーカード)を一つのデバイスとして認識する。従って、外部機器からは仮想管理情報100による論理アドレスを指定することで、RAMディスク50(以下、メモリ50を説明の簡略化のためにRAMディスク50と呼ぶ)とメモリーカード82(以下、ストレージ82を説明の簡略化のためにメモリーカード82と呼ぶ)のいずれかにアクセスする。
2. Virtual Management Information FIG. 5 is a diagram showing a logical address space of the virtual management information 100. From the virtual management information 100, an external device such as a personal computer PC recognizes a plurality of devices (for example, a RAM disk as device 0 and a memory card as device 1) as one device. Therefore, by specifying a logical address based on the virtual management information 100 from an external device, the RAM disk 50 (hereinafter, the memory 50 is referred to as the RAM disk 50 for the sake of simplicity) and the memory card 82 (hereinafter, the storage 82). Is referred to as a memory card 82 for simplicity of explanation).

ここで、例えば、図5に示すように論理アドレス10〜論理アドレス99までがRAMディスク50に割り当てられ、論理アドレス100以降がメモリーカード82に割り当てられているとする。このとき、外部機器から例えば論理アドレス100を指定する要求があった場合、処理部60のファイルシステム制御60−3は、仮想管理情報100を参照して、論理アドレス100がメモリーカード82の物理アドレス1に対応するという情報を取得し、メモリーカード82のファイルシステムにアクセスする制御を行う。   Here, for example, as shown in FIG. 5, it is assumed that logical addresses 10 to 99 are assigned to the RAM disk 50 and logical addresses 100 and later are assigned to the memory card 82. At this time, for example, when there is a request for designating the logical address 100 from the external device, the file system control 60-3 of the processing unit 60 refers to the virtual management information 100 and the logical address 100 is the physical address of the memory card 82. 1 is acquired and control to access the file system of the memory card 82 is performed.

また、外部機器が論理アドレス10を指定する要求があった場合、ファイルシステム制御60−3は、仮想管理情報100からRAMディスク50の物理アドレス10を取得し、RAMディスクのファイルシステムにアクセスする制御を行う。   Further, when there is a request for the external device to specify the logical address 10, the file system control 60-3 acquires the physical address 10 of the RAM disk 50 from the virtual management information 100 and controls to access the RAM disk file system. I do.

このように、複数のデバイスの物理アドレスを仮想管理情報100に割り当てることで、外部機器は複数のデバイスに対して、1つのデバイスの論理アドレスを指定することでアクセスすることが可能である。   As described above, by assigning physical addresses of a plurality of devices to the virtual management information 100, an external device can access a plurality of devices by designating a logical address of one device.

図6は、具体的な仮想管理情報100の構成例を示す図である。図6は、例えば第1〜第4のデバイス(広義には第1〜第nのデバイス、nは2以上の整数)の4つのデバイスを1つのデバイスとして認識させるための仮想管理情報100である。論理アドレス000hから所定のサイズ(図6では446バイト)の領域にはBootStrapLoader(広義にはブート情報)が設定される。この情報は、管理情報作成部62によって、新たに設定するようにしても良いし、例えば4つのデバイスのいずれかのMBR情報のBootStrapLoaderからコピーして設定されるようにしても良い。   FIG. 6 is a diagram illustrating a specific configuration example of the virtual management information 100. FIG. 6 is virtual management information 100 for recognizing, for example, four devices of first to fourth devices (first to nth devices in a broad sense, n is an integer of 2 or more) as one device. . BootStrapLoader (boot information in a broad sense) is set in an area of a predetermined size (446 bytes in FIG. 6) from the logical address 000h. This information may be newly set by the management information creation unit 62, or may be set by copying from the BootStraploader of MBR information of any of the four devices, for example.

論理アドレス1BEhから所定のサイズ(図6では16バイト)の領域には、第1のパーティションテーブル(広義には管理情報)として、デバイス0(例えばRAMディスク50)の管理情報102が設定される。この管理情報102は、管理情報作成部62によって、デバイス0のMBR情報からコピーして設定される。   In the area of a predetermined size (16 bytes in FIG. 6) from the logical address 1BEh, the management information 102 of the device 0 (for example, the RAM disk 50) is set as the first partition table (management information in a broad sense). The management information 102 is set by being copied from the MBR information of the device 0 by the management information creation unit 62.

論理アドレス1CEhから所定のサイズ(図6では16バイト)の領域には、第2のパーティションテーブル(広義には管理情報)として、デバイス1(例えばメモリーカード82)の管理情報104が設定される。この管理情報104は、管理情報作成部62によって、デバイス1のMBR情報にオフセットが施されて設定される。   In the area of a predetermined size (16 bytes in FIG. 6) from the logical address 1CEh, the management information 104 of the device 1 (for example, the memory card 82) is set as the second partition table (management information in a broad sense). This management information 104 is set by the management information creation unit 62 with the MBR information of the device 1 being offset.

第3、第4のパーティションテーブル(広義には管理情報)においても、第2パーティションテーブルと同様に、対応するデバイスのMBR情報(例えば管理情報106及び108)に所定のオフセットが施されて設定される。   Also in the third and fourth partition tables (management information in a broad sense), the MBR information (for example, management information 106 and 108) of the corresponding device is set with a predetermined offset, as in the second partition table. The

図7は、各管理情報102〜108の詳細を示す図である。各管理情報102〜108は例えば16バイトで構成され、先頭から順に、ブートフラグBF(例えば1バイト)、スタートアドレスCHS1(例えば3バイト)、パーティションタイプ(例えば1バイト)、エンドアドレスCHS2(例えば3バイト)、スタートアドレスLBA1(例えば4バイト)、エリアサイズLBA2(例えば4バイト)を含む。   FIG. 7 is a diagram showing details of the management information 102 to 108. Each management information 102 to 108 is composed of, for example, 16 bytes, and in order from the top, a boot flag BF (for example, 1 byte), a start address CHS1 (for example, 3 bytes), a partition type (for example, 1 byte), and an end address CHS2 (for example, 3 bytes). Byte), start address LBA1 (for example, 4 bytes), and area size LBA2 (for example, 4 bytes).

ブートフラグBFはそのパーティション(管理情報に対応するデバイス)のブートのアクティブ、ノンアクティブを設定する情報である。スタートアドレスCHS1及びエンドアドレスCHS2はCHS(CylinderHeadSector)方式でのパーティション(管理情報に対応するデバイス)の仮想管理情報100におけるスタートアドレス又はエンドアドレスを示す情報である。   The boot flag BF is information for setting active / inactive booting of the partition (device corresponding to the management information). The start address CHS1 and the end address CHS2 are information indicating a start address or an end address in the virtual management information 100 of a partition (device corresponding to management information) in the CHS (Cylinder Head Sector) method.

スタートアドレスLBA1はパーティション(管理情報に対応するデバイス)の仮想管理情報100における論理ブロックの開始アドレスを示す情報であり、エリアサイズLBA2はパーティション(管理情報に対応するデバイス)の仮想管理情報100における論理ブロックのサイズを示す情報である。   The start address LBA1 is information indicating the start address of the logical block in the virtual management information 100 of the partition (device corresponding to the management information), and the area size LBA2 is the logical address in the virtual management information 100 of the partition (device corresponding to the management information). This is information indicating the size of the block.

なお、本実施形態では、CHS方式及びLBA方式の両方に対応すべく、各管理情報102〜108が構成されている。   In the present embodiment, each piece of management information 102 to 108 is configured to support both the CHS method and the LBA method.

3.仮想管理情報作成部
図8は仮想管理情報100の作成フローを示す図である。仮想管理情報作成部62では、ステップS1に示すようにまずRAMディスク50(広義には第1のデバイス)のMBR情報(広義には管理情報)が取得される。そして、ステップS2に示すようにメモリーカード82(広義には第2のデバイス)のMBR情報(広義には管理情報)が取得される。そして、ステップS3ではステップS1及びステップS2で取得されたMBR情報に基づいて仮想管理情報100を作成する。
3. Virtual Management Information Creation Unit FIG. 8 is a diagram showing a creation flow of the virtual management information 100. As shown in step S1, the virtual management information creation unit 62 first acquires MBR information (management information in a broad sense) of the RAM disk 50 (first device in a broad sense). Then, as shown in step S2, MBR information (management information in a broad sense) of the memory card 82 (second device in a broad sense) is acquired. In step S3, virtual management information 100 is created based on the MBR information acquired in steps S1 and S2.

なお、ステップS1、ステップS2の順番は逆でも良い。   Note that the order of step S1 and step S2 may be reversed.

図9は、例えば、仮想管理情報作成部62によって取得されたMBR情報のうち、LBA方式のパーティション情報に基づいて仮想管理情報100を作成した場合の仮想管理情報100の一例を示す図である。図9に示すように、RAMディスク50の物理セクタは、例えば1〜(RAMディスク50のセクタ数−1)であり、メモリーカード82の物理セクタは例えば1〜(メモリーカード82のセクタ数−1)である。   FIG. 9 is a diagram illustrating an example of the virtual management information 100 when the virtual management information 100 is created based on LBA partition information among the MBR information acquired by the virtual management information creation unit 62, for example. As shown in FIG. 9, the physical sector of the RAM disk 50 is, for example, 1 to (number of sectors of the RAM disk 50 −1), and the physical sector of the memory card 82 is, for example, 1 to (number of sectors of the memory card 82 −1. ).

なお、RAMディスク50のセクタ数及びメモリーカード82のセクタ数は、各MBR情報から取得される数である。   Note that the number of sectors of the RAM disk 50 and the number of sectors of the memory card 82 are numbers obtained from each MBR information.

仮想管理情報作成部62は、RAMディスク50及びメモリーカード82のMBR情報を用いて仮想管理情報100を作成する。仮想管理情報100によって外部機器に単一のデバイスとして認識させるときの単一のデバイスを仮想デバイス110とする。仮想管理情報100は仮想デバイス110のMBR情報に相当する。そして、仮想管理情報100は仮想デバイス110の仮想セクタ0に対応する。   The virtual management information creating unit 62 creates the virtual management information 100 using the MBR information of the RAM disk 50 and the memory card 82. A single device when the external device is recognized as a single device by the virtual management information 100 is referred to as a virtual device 110. The virtual management information 100 corresponds to the MBR information of the virtual device 110. The virtual management information 100 corresponds to the virtual sector 0 of the virtual device 110.

また、仮想管理情報作成部62は、RAMディスク50のMBR情報をコピーして仮想管理情報100の第1のパーティションテーブル(広義には管理情報)として用いる。具体的には、仮想セクタ1がRAMディスク50の物理セクタ1に対応し、仮想セクタ(RAMディスク50のセクタ数−1)がRAMディスク50の物理セクタ(RAMディスク50のセクタ数−1)に対応する。   The virtual management information creating unit 62 copies the MBR information of the RAM disk 50 and uses it as a first partition table (management information in a broad sense) of the virtual management information 100. Specifically, virtual sector 1 corresponds to physical sector 1 of RAM disk 50, and virtual sector (number of sectors of RAM disk 50-1) becomes physical sector of RAM disk 50 (number of sectors of RAM disk 50-1). Correspond.

また、仮想管理情報作成部62はメモリーカード82のMBR情報にオフセットを施す処理を行い、その結果を用いて仮想管理情報100の第2のパーティションテーブル(広義には管理情報)を作成する。具体的には、仮想セクタ(RAMディスク50のセクタ数)がメモリーカード82の物理セクタ1に対応し、仮想セクタ(RAMディスク50のセクタ数+メモリーカード82のセクタ数−2)がメモリーカード82の物理セクタ(メモリーカード82のセクタ数−1)に対応する。ここで、仮想セクタ(RAMディスク50のセクタ数)は、メモリーカード82の物理セクタ1にオフセット(RAMディスク50のセクタ数−1)が施されたものである。同様に、仮想セクタ(RAMディスク50のセクタ数+メモリーカード82のセクタ数−2)は、メモリーカード82の物理セクタ(メモリーカード82のセクタ数−1)にオフセット(RAMディスク50のセクタ数−1)が施されたものである。   Further, the virtual management information creating unit 62 performs processing for offsetting the MBR information of the memory card 82, and creates a second partition table (management information in a broad sense) of the virtual management information 100 using the result. Specifically, the virtual sector (the number of sectors of the RAM disk 50) corresponds to the physical sector 1 of the memory card 82, and the virtual sector (the number of sectors of the RAM disk 50 + the number of sectors of the memory card 82) is the memory card 82. Corresponds to the number of physical sectors (the number of sectors of the memory card 82). Here, the virtual sector (the number of sectors of the RAM disk 50) is obtained by offsetting the physical sector 1 of the memory card 82 (the number of sectors of the RAM disk 50 minus 1). Similarly, the virtual sector (the number of sectors of the RAM disk 50 + the number of sectors of the memory card 82−2) is offset to the physical sector of the memory card 82 (the number of sectors of the memory card 82−1) (the number of sectors of the RAM disk 50− 1).

4.アクセス制御
図10は、外部機器から例えば図9に示すように設定された仮想デバイス110の論理セクタx(仮想セクタx)を指定する要求が送られた場合の各デバイスに対するアクセス制御のフローを示す図である。
4). Access Control FIG. 10 shows a flow of access control for each device when a request for specifying the logical sector x (virtual sector x) of the virtual device 110 set as shown in FIG. 9 is sent from an external device. FIG.

まずステップS11では、その論理セクタxが0であるかどうかの判断が行われる。このとき、論理セクタxが0である場合には、ステップ12に示す処理が行われる。ステップ12では、仮想管理情報100として格納されているデータにアクセスする処理である。これにより、外部機器等は仮想管理情報100の例えば第1〜第4のパーティションテーブル等の情報を取得することができる。また、外部機器等から仮想管理情報100を書き換えることができるようにしても良い。   First, in step S11, it is determined whether or not the logical sector x is 0. At this time, if the logical sector x is 0, the processing shown in step 12 is performed. Step 12 is processing for accessing data stored as the virtual management information 100. Thereby, the external device or the like can acquire information such as the first to fourth partition tables of the virtual management information 100, for example. Further, the virtual management information 100 may be rewritten from an external device or the like.

一方、論理セクタxが0でない場合には、ステップ13の処理が行われる。ステップ13では、論理セクタxとRAMディスク50のセクタ数との大小比較が行われる。そして、論理セクタxがRAMディスク50のセクタ数よりも小さい場合には、ステップ14に示すようにRAMディスク50上の物理セクタxにアクセスする処理が行われる。この場合、論理セクタxの値がそのまま物理セクタxとして用いられる。   On the other hand, if the logical sector x is not 0, the process of step 13 is performed. In step 13, the size comparison between the logical sector x and the number of sectors of the RAM disk 50 is performed. If the logical sector x is smaller than the number of sectors of the RAM disk 50, a process of accessing the physical sector x on the RAM disk 50 is performed as shown in step 14. In this case, the value of the logical sector x is used as it is as the physical sector x.

また、ステップ13において論理セクタxがRAMディスク50のセクタ数よりも大きい場合は、ステップ15に示すように論理セクタxとRAMディスク50のセクタ数からメモリーカード82上の物理セクタを算出する処理と、メモリーカード82上の算出された物理セクタにアクセスする処理が行われる。具体的には、ステップ15では、論理セクタx−(RAMディスク50のセクタ数)+1が、メモリーカード82上の物理セクタとして算出され、メモリーカード82上の物理セクタ(論理セクタx−(RAMディスク50のセクタ数)+1)にアクセスする処理が行われる。   If the logical sector x is larger than the number of sectors in the RAM disk 50 in step 13, the process of calculating the physical sector on the memory card 82 from the logical sector x and the number of sectors in the RAM disk 50 as shown in step 15; Then, a process of accessing the calculated physical sector on the memory card 82 is performed. Specifically, in step 15, the logical sector x− (number of sectors of the RAM disk 50) +1 is calculated as a physical sector on the memory card 82, and the physical sector (logical sector x− (RAM disk 50) on the memory card 82 is calculated. The process of accessing 50 sectors + 1) is performed.

上記のような処理によってRAMディスク50やメモリーカード82にアクセスすることができる。なお、図10に示すアクセス制御の処理は、処理部60のデバイス制御部64で行われる。デバイス制御部64は、例えば図3のファイルシステム制御60−3に組み込まれても良いし、別途アクセス制御を行うモジュールとして設けても良い。   The RAM disk 50 and the memory card 82 can be accessed by the processing as described above. The access control process shown in FIG. 10 is performed by the device control unit 64 of the processing unit 60. The device control unit 64 may be incorporated, for example, in the file system control 60-3 of FIG. 3, or may be provided as a module for performing access control separately.

5.比較例との対比と効果
図11は、複数のデバイスを複数のデバイスとして外部機器(例えばパーソナルコンピュータPC)に認識させる比較例の電子機器11を示す図である。
5. Comparison and Effect with Comparative Example FIG. 11 is a diagram illustrating an electronic apparatus 11 of a comparative example that causes an external apparatus (for example, a personal computer PC) to recognize a plurality of devices as a plurality of devices.

比較例の場合、複数のデバイスを外部機器に認識させるために、複雑な処理を伴うファームウェア及びそれを処理する処理装置(例えばCPU等)が必要である。そのため、電子機器11の回路規模も大きくなり、例えば携帯電子機器などの小型電子機器に搭載することが難しい。   In the case of the comparative example, in order to make an external device recognize a plurality of devices, firmware with complicated processing and a processing device (for example, a CPU) that processes the firmware are necessary. Therefore, the circuit scale of the electronic device 11 also increases, and it is difficult to mount the electronic device 11 on a small electronic device such as a portable electronic device.

さらに、図11のように例えば2つのデバイスを外部機器に認識させるため、外部機器からどちらのデバイスにアクセスがあるか等の調停処理も複雑になり、さらに外部機器とのインターフェースの転送速度が高速になれば、電子機器11での処理装置の処理速度も高速なものが要求される。例えば、パーソナルコンピュータPCに接続させるようなカードリーダー等ならば、電子機器11のコストを多少犠牲にしても高機能な電子機器11として製品化することが可能である。   Furthermore, as shown in FIG. 11, for example, two devices are recognized by an external device, so that arbitration processing such as which device is accessed from the external device becomes complicated, and the transfer rate of the interface with the external device is high. If so, it is required that the processing speed of the processing apparatus in the electronic device 11 is also high. For example, a card reader or the like that is connected to a personal computer PC can be commercialized as a highly functional electronic device 11 at some cost of the electronic device 11.

しかしながら、小型電子機器に電子機器11を搭載させることは、回路規模の大きさ、高速な処理による消費電力等の課題があり、事実上困難である。その場合には、電子機器11のファームウェアを簡素化して、2つのデバイスのうち、どちらか一方を選択して外部機器に認識させる方法が考えられる。これならば電子機器11の処理装置の能力を下げることも可能であり、小型電子機器に搭載することも可能となる。但し、この方法では、認識させたいデバイスを何らかの方法で切り替える必要があり、不便である。   However, it is practically difficult to mount the electronic device 11 on a small electronic device due to problems such as a large circuit scale and power consumption due to high-speed processing. In that case, a method of simplifying the firmware of the electronic device 11 and selecting one of the two devices and causing the external device to recognize the device can be considered. If it is this, the capability of the processing apparatus of the electronic device 11 can also be lowered | hung and it becomes possible to mount in a small electronic device. However, this method is inconvenient because it is necessary to switch the device to be recognized by some method.

これらに対して、本願では、例えば図1に示すように仮想管理情報100を用いることによって、複数デバイスを単一のデバイスとして外部機器に認識させることができるため、結果として複数のデバイスを外部機器に認識させることができる。   In contrast, in the present application, for example, by using the virtual management information 100 as illustrated in FIG. 1, it is possible to cause an external device to recognize a plurality of devices as a single device. Can be recognized.

本願の実施形態では、仮想管理情報100を作成する仮想管理情報作成部62(例えばファームウェア)を電子機器10に実装するだけで、上記のような複数のデバイスの認識を可能にする。仮想管理情報作成部62の処理は、ファームウェア的にみても非常に軽い処理であるため、比較例の電子機器11に比べて、格段に軽いファームウェアを電子機器10に適用できる。このため、処理部60に必要な処理装置に要求される能力も低減され、回路規模縮小及び消費電力の低減が可能となる。   In the embodiment of the present application, it is possible to recognize a plurality of devices as described above only by mounting a virtual management information creating unit 62 (for example, firmware) that creates the virtual management information 100 in the electronic device 10. Since the processing of the virtual management information creating unit 62 is very light in terms of firmware, firmware that is significantly lighter than the electronic device 11 of the comparative example can be applied to the electronic device 10. For this reason, the capability required of the processing device required for the processing unit 60 is also reduced, and the circuit scale and power consumption can be reduced.

さらに、一度仮想管理情報100を作成すれば、ストレージ82の変更(記憶メディアの交換等)があるまで仮想管理情報作成部62は仮想管理情報100を作成しなくても良い。この点においても、電子機器11に比べて、実施形態の電子機器10は低消費電力化に有利である。   Furthermore, once the virtual management information 100 is created, the virtual management information creation unit 62 does not have to create the virtual management information 100 until the storage 82 is changed (such as replacement of storage media). Also in this point, the electronic device 10 according to the embodiment is advantageous in reducing power consumption as compared with the electronic device 11.

また、本実施形態では、電子機器10に複数のデバイスが実装された場合、仮想管理情報100のパーティションをデバイスの数だけ作成することで、容易に複数のデバイスを外部機器に認識させることができる。即ち、制御上のファームウェアの設計が簡単になり、設計コストの削減も可能である。   Further, in the present embodiment, when a plurality of devices are mounted on the electronic device 10, the plurality of devices can be easily recognized by an external device by creating as many partitions of the virtual management information 100 as the number of devices. . That is, the design of firmware for control is simplified and the design cost can be reduced.

また、デバイスの数が増えれば、比較例のような構成では、さらにファームウェアが複雑化する。ファームウェアが複雑化すれば、処理装置に要求される処理能力も増大し、小型電子機器に搭載する点においても非常に不利である。   Further, if the number of devices increases, the firmware becomes more complicated in the configuration as in the comparative example. If the firmware becomes complicated, the processing capability required for the processing apparatus increases, which is very disadvantageous in terms of mounting in a small electronic device.

しかしながら、本願では容易にデバイスの数に対応できるため、デバイスの数が増えても、ファームウェアは比較例に比べて非常に軽いため、処理装置に要求される処理能力もそれほど増大しない。即ち、デバイスの数が増える場合においても、本実施形態は処理装置による回路規模増大及び消費電力増大を低減できるので、比較例よりも小型電子機器に搭載する点において有利である。   However, in the present application, the number of devices can be easily accommodated. Therefore, even if the number of devices increases, the firmware is very light compared to the comparative example, so the processing capability required for the processing apparatus does not increase so much. That is, even when the number of devices increases, the present embodiment can reduce the increase in circuit scale and power consumption due to the processing apparatus, and is therefore advantageous in mounting in a small electronic device as compared with the comparative example.

上記のように、本発明の実施例について詳細に説明したが、本発明の新規事項及び効果から実体的に逸脱しない多くの変形が可能であることは当業者には容易に理解できるであろう。したがって、このような変形例はすべて本発明の範囲に含まれるものとする。例えば、明細書または図面において、少なくとも一度、より広義又は同義な異なる用語と共に記載された用語は、明細書または図面のいかなる箇所においても、その異なる用語に置き換えることができる。   As described above, the embodiments of the present invention have been described in detail. However, those skilled in the art can easily understand that many modifications can be made without departing from the novel matters and effects of the present invention. . Accordingly, all such modifications are intended to be included in the scope of the present invention. For example, a term described with a different term having a broader meaning or the same meaning at least once in the specification or the drawings can be replaced with the different term anywhere in the specification or the drawings.

本実施形態に係る電子機器の構成例。1 is a configuration example of an electronic device according to an embodiment. 本実施形態に係る電子機器と外部機器との接続を示す図。FIG. 3 is a diagram showing a connection between an electronic device and an external device according to the embodiment. 本実施形態に係る処理部で処理されるタスクの構成例。The structural example of the task processed by the process part which concerns on this embodiment. ファイルシステム制御の構成例。Configuration example of file system control. 本実施形態に係る仮想管理情報による論理アドレスの構成例。4 is a configuration example of a logical address by virtual management information according to the present embodiment. 本実施形態に係る仮想管理情報の構成例。3 is a configuration example of virtual management information according to the present embodiment. 本実施形態に係る仮想管理情報の一部の詳細の一例を示す図。The figure which shows an example of the detail of a part of virtual management information which concerns on this embodiment. 本実施形態に係る仮想管理情報の作成フローの一例を示す図。The figure which shows an example of the creation flow of the virtual management information which concerns on this embodiment. 本実施形態に係る仮想管理情報と各デバイスとの対応例を示す図。The figure which shows the example of a response | compatibility with the virtual management information which concerns on this embodiment, and each device. 本実施形態に係るデバイス制御部の処理の一例を示す図。The figure which shows an example of a process of the device control part which concerns on this embodiment. 本実施形態に係る比較例の電子機器を示す図。FIG. 6 is a view showing an electronic apparatus of a comparative example according to the embodiment.

符号の説明Explanation of symbols

10 電子機器、50 RAMディスク、62 仮想管理情報作成部、
64 デバイス制御部、82 メモリーカード、100 仮想管理情報
10 electronic devices, 50 RAM disks, 62 virtual management information creation unit,
64 device control unit, 82 memory card, 100 virtual management information

Claims (12)

バスを介したデータ転送の対象となる第1〜第n(nは2以上の整数)のデバイスと、
前記第1〜第nのデバイスのパーティション管理情報から、前記第1〜第nのデバイスを1つのデバイスとして認識させるための仮想管理情報を作成する仮想管理情報作成部と、
前記第1〜第nのデバイスが前記仮想管理情報に基づいて1つのデバイスとして認識され、前記1つのデバイスの論理アドレスを指定してリード又はライトのアクセスが要求された場合に、
前記仮想管理情報及び前記論理アドレスに基づいて、前記第1〜第nのデバイスのいずれかを指定するデバイス指定情報と前記論理アドレスに対応する物理アドレスを算出して、前記第1〜第nのデバイスの少なくとも1つに対するアクセス制御を行うデバイス制御部と、
を含むことを特徴とするデータ制御システム。
First to nth devices (n is an integer equal to or greater than 2) that are targets of data transfer via the bus;
A virtual management information creating unit for creating virtual management information for recognizing the first to nth devices as one device from the partition management information of the first to nth devices;
When the first to nth devices are recognized as one device based on the virtual management information, and a read or write access is requested by specifying a logical address of the one device,
Based on the virtual management information and the logical address, device designation information for designating any of the first to n-th devices and a physical address corresponding to the logical address are calculated, and the first to n-th devices are calculated. A device control unit for controlling access to at least one of the devices;
A data control system comprising:
請求項1において、
前記仮想管理情報作成部は、
前記第1〜第nのデバイスのいずれかの管理情報のブート情報を、前記仮想管理情報のブート情報にコピーして前記仮想管理情報を作成することを特徴とするデータ制御システム。
In claim 1,
The virtual management information creation unit
A data control system that creates the virtual management information by copying the boot information of the management information of any of the first to nth devices into the boot information of the virtual management information.
請求項1又は2において、
前記仮想管理情報作成部は、
前記第1〜第nのデバイスのうちの前記第1のデバイスのパーティション管理情報を、前記仮想管理情報の第1パーティション情報にコピーして前記仮想管理情報を作成することを特徴とするデータ制御システム。
In claim 1 or 2,
The virtual management information creation unit
A data control system for creating the virtual management information by copying the partition management information of the first device among the first to n-th devices to the first partition information of the virtual management information .
請求項3において、
前記仮想管理情報作成部は、
前記第1〜第nのデバイスのうちの前記第2〜第nのデバイスのパーティション管理情報に対して、パーティションのスタートアドレスをオフセットする処理を施し、その結果を、前記仮想管理情報の第2〜第nパーティション情報に用いることを特徴とするデータ制御システム。
In claim 3,
The virtual management information creation unit
The partition management information of the second to n-th devices among the first to n-th devices is subjected to processing for offsetting the start address of the partition, and the result is stored in the second to second virtual management information. A data control system used for n-th partition information.
請求項1乃至4のいずれかにおいて、
前記デバイス制御部は、
指定された前記論理アドレスに基づいて、前記第1〜第nのデバイスのいずれかに特定する処理と、前記物理アドレスを算出する処理とを行い、
前記論理アドレスに対応するデバイスが第k(kは2以上n以下)のデバイスである場合には、前記論理アドレスから第1〜第k―1のデバイスのパーティションのサイズの合計に相当する値を減算することで、前記物理アドレスを算出することを特徴とするデータ制御システム。
In any one of Claims 1 thru | or 4,
The device controller is
Based on the specified logical address, a process for specifying one of the first to n-th devices and a process for calculating the physical address are performed.
When the device corresponding to the logical address is a k-th device (k is 2 or more and n or less), a value corresponding to the total size of the partitions of the first to k-1 devices from the logical address is set. A data control system, wherein the physical address is calculated by subtraction.
請求項5において、
前記デバイス制御部は、
前記論理アドレスに対応するデバイスが第1のデバイスである場合には、前記論理アドレスを前記物理アドレスとして用いることを特徴とするデータ制御システム。
In claim 5,
The device controller is
When the device corresponding to the logical address is the first device, the logical address is used as the physical address.
バスを介したデータ転送の対象となる第1〜第n(nは2以上の整数)のデバイスのパーティション管理情報から、前記第1〜第nのデバイスを1つのデバイスとして認識させるための仮想管理情報を作成する仮想管理情報作成部と、
前記第1〜第nのデバイスが前記仮想管理情報に基づいて1つのデバイスとして認識され、前記1つのデバイスの論理アドレスを指定してリード又はライトのアクセスが要求された場合に、
前記仮想管理情報及び前記論理アドレスに基づいて、前記第1〜第nのデバイスのいずれかを指定するデバイス指定情報と前記論理アドレスに対応する物理アドレスを算出して、デバイスに対するアクセス制御を行うデバイス制御部と、
を含むことを特徴とするプログラム。
Virtual management for recognizing the first to n-th devices as one device from the partition management information of the first to n-th (n is an integer of 2 or more) devices to be transferred via the bus A virtual management information creation unit for creating information;
When the first to nth devices are recognized as one device based on the virtual management information, and a read or write access is requested by specifying a logical address of the one device,
A device that performs device access control by calculating device designation information for designating any of the first to nth devices and a physical address corresponding to the logical address based on the virtual management information and the logical address. A control unit;
The program characterized by including.
請求項7において、
前記仮想管理情報作成部は、
前記第1〜第nのデバイスのいずれかの管理情報のブート情報を、前記仮想管理情報のブート情報にコピーして前記仮想管理情報を作成することを特徴とするプログラム。
In claim 7,
The virtual management information creation unit
A program for creating virtual management information by copying boot information of management information of any of the first to nth devices into boot information of the virtual management information.
請求項7又は8において、
前記仮想管理情報作成部は、
前記第1〜第nのデバイスのうちの前記第1のデバイスのパーティション管理情報を、前記仮想管理情報の第1パーティション情報にコピーすることで前記仮想管理情報を作成することを特徴とするプログラム。
In claim 7 or 8,
The virtual management information creation unit
A program for creating the virtual management information by copying the partition management information of the first device among the first to n-th devices to the first partition information of the virtual management information.
請求項9において、
前記仮想管理情報作成部は、
前記第1〜第nのデバイスのうちの前記第2〜第nのデバイスのパーティション管理情報に対して、パーティションのスタートアドレスをオフセットする処理を施し、その結果を、前記仮想管理情報の第2〜第nパーティション情報用いることを特徴とするプログラム。
In claim 9,
The virtual management information creation unit
The partition management information of the second to n-th devices among the first to n-th devices is subjected to processing for offsetting the start address of the partition, and the result is stored in the second to second virtual management information. A program using the nth partition information.
請求項7乃至10のいずれかにおいて、
前記デバイス制御部は、
指定された前記論理アドレスに基づいて、前記第1〜第nのデバイスのいずれかに特定する処理と、前記物理アドレスを算出する処理とを行い、
前記論理アドレスに対応するデバイスが第k(kは2以上n以下)のデバイスである場合には、前記論理アドレスから第1〜第k―1のデバイスのパーティションのサイズの合計に相当する値を減算することで、前記物理アドレスを算出することを特徴とするプログラム。
In any of claims 7 to 10,
The device controller is
Based on the specified logical address, a process for specifying one of the first to n-th devices and a process for calculating the physical address are performed.
When the device corresponding to the logical address is a k-th device (k is 2 or more and n or less), a value corresponding to the total size of the partitions of the first to k-1 devices from the logical address is set. A program characterized in that the physical address is calculated by subtraction.
請求項11において、
前記デバイス制御部は、
前記論理アドレスに対応するデバイスが第1のデバイスである場合には、前記論理アドレスを前記物理アドレスとして用いることを特徴とするプログラム。
In claim 11,
The device controller is
When the device corresponding to the logical address is the first device, the program uses the logical address as the physical address.
JP2005162538A 2005-06-02 2005-06-02 Data control system and program Withdrawn JP2006338350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005162538A JP2006338350A (en) 2005-06-02 2005-06-02 Data control system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005162538A JP2006338350A (en) 2005-06-02 2005-06-02 Data control system and program

Publications (1)

Publication Number Publication Date
JP2006338350A true JP2006338350A (en) 2006-12-14

Family

ID=37558856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005162538A Withdrawn JP2006338350A (en) 2005-06-02 2005-06-02 Data control system and program

Country Status (1)

Country Link
JP (1) JP2006338350A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008204298A (en) * 2007-02-21 2008-09-04 Sony Corp Information processing apparatus, information recording medium, information processing method, and computer program
JP7754634B2 (en) 2021-03-30 2025-10-15 住友電気工業株式会社 Content providing device and content providing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008204298A (en) * 2007-02-21 2008-09-04 Sony Corp Information processing apparatus, information recording medium, information processing method, and computer program
JP7754634B2 (en) 2021-03-30 2025-10-15 住友電気工業株式会社 Content providing device and content providing system

Similar Documents

Publication Publication Date Title
JP4399021B1 (en) Disk array control device and storage device
US20080229046A1 (en) Unified support for solid state storage
JP5984118B2 (en) Storage device virtualization
KR101301840B1 (en) Method of data processing for non-volatile memory
US20100161884A1 (en) Nonvolatile Semiconductor Memory Drive, Information Processing Apparatus and Management Method of Storage Area in Nonvolatile Semiconductor Memory Drive
JP2010525453A (en) Remove-on-delete technology for solid-state drive optimization
EP2954400A1 (en) Readdressing memory for non-volatile storage devices
US20170322728A1 (en) Grouped trim bitmap
CN114371812B (en) Controllers and methods of operation
US20200241794A1 (en) Low latency swap device, system and method
CN112988060A (en) Key value storage device and method for operating key value storage device
EP2499572A2 (en) Flash memory file system
JP5325637B2 (en) Information processing program and information processing apparatus
JP4212811B2 (en) Information processing system, interface device, information processing device, information storage device
JP2006338350A (en) Data control system and program
WO2020241545A1 (en) Information processing device
KR100950936B1 (en) Solid state drive with multiple drives
CN101258460B (en) Method and apparatus for providing virtual flash memory device
CN116048414A (en) Device data reading method and electronic device
JP2006338597A (en) Data control system, program and electronic device
US20110106861A1 (en) Interface Techniques Providing Contiguous Storage For Files
JP4439385B2 (en) Buffering device and buffering method
JP4439384B2 (en) Buffering device and method of using memory device
CN111158582A (en) Storage device and electronic device
JP2014123295A (en) Setting method, program, and information processor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080805