JPH10124400A - Data processor and method for accessing data recording medium - Google Patents

Data processor and method for accessing data recording medium

Info

Publication number
JPH10124400A
JPH10124400A JP8299373A JP29937396A JPH10124400A JP H10124400 A JPH10124400 A JP H10124400A JP 8299373 A JP8299373 A JP 8299373A JP 29937396 A JP29937396 A JP 29937396A JP H10124400 A JPH10124400 A JP H10124400A
Authority
JP
Japan
Prior art keywords
data
management
management area
area
recording medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8299373A
Other languages
Japanese (ja)
Inventor
Toshiharu Kobayashi
稔治 小林
Yuichi Suzuki
雄一 鈴木
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP8299373A priority Critical patent/JPH10124400A/en
Publication of JPH10124400A publication Critical patent/JPH10124400A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it possible to access recorded data even when a recording medium is removed during the period of updating by recording management data by successively using plural management areas. SOLUTION: A central processing unit(CPU) 2 reads out management data from a recording information managing area. Then the CPU 2 checks a free area in an IC memory card 5 based on the read management data and records picture data in the free area. Then the CPU 2 adds the management data for the recorded picture data to management data read out from a valid management area and records the data in an invalid management area. Finally the CPU 2 sets up the leading address of the invalid management area to a significant value and then sets up the invalid management area in the valid management area. A management area set up in the valid management area is updated by a prescribed value and data in the management area are erased.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ処理装置及
びデータ記録媒体のアクセス方法に関し、例えばICメ
モリカードをアクセスするコンピュータに適用すること
ができる。本発明は、複数の管理領域を順次使用して管
理用のデータを記録することにより、更新中に記録媒体
が取り外された場合でも、それまでに記録されていたデ
ータについては、アクセスできるようにする。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing apparatus and a data recording medium access method, and can be applied to, for example, a computer accessing an IC memory card. The present invention records management data by sequentially using a plurality of management areas, so that even if a recording medium is removed during updating, data that has been recorded so far can be accessed. I do.

【0002】[0002]

【従来の技術】従来、ICカード等の記録媒体において
は、記録領域の一部に管理用データを記録することによ
り、この管理用データを基準にして種々のデータをアク
セスできるようになされている。
2. Description of the Related Art Conventionally, in a recording medium such as an IC card, by recording management data in a part of a recording area, various data can be accessed based on the management data. .

【0003】すなわち図5は、この種の記録媒体の記録
領域を示す略線図であり、例えば先頭アドレスより所定
範囲が記録情報管理領域に割り当てられ、残りがユーザ
ーエリアに割り当てられる。この種の記録媒体をアクセ
スする、例えばコンピュータは、ユーザーが書き込みを
指示すると、記録情報管理領域をアクセスし、この記録
された管理用データよりユーザーエリアの空き領域を検
出する。
FIG. 5 is a schematic diagram showing a recording area of this type of recording medium. For example, a predetermined range from a head address is allocated to a recording information management area, and the rest is allocated to a user area. When a user instructs this type of recording medium, for example, a user instructs writing, the computer accesses the recording information management area and detects a free area in the user area from the recorded management data.

【0004】さらにコンピュータは、この空き領域をア
クセスして所望のデータを書き込むと、その後書き込ん
だデータのアドレスをそのファイル名と共に記録情報管
理領域に記録する。このときコンピュータは、それまで
記録情報管理領域に記録された管理用データに対して、
新たに管理用データを付加して、この記録情報管理領域
の全部又は一部を更新する。これによりこの種の記録媒
体においては、他のコンピュータに装填した場合でも、
この記録情報管理領域に記録された管理用データを基準
にして自由にアクセスできるようになされている。
Further, when the computer accesses the empty area and writes the desired data, the computer records the address of the written data together with the file name in the recording information management area. At this time, the computer responds to the management data recorded in the recording information management area until then.
The management data is newly added, and all or part of the recording information management area is updated. As a result, even if this type of recording medium is loaded into another computer,
It can be freely accessed based on the management data recorded in the recording information management area.

【0005】[0005]

【発明が解決しようとする課題】ところでこのような記
録媒体においては、着脱可能なことにより、記録情報管
理領域の更新中に、コンピュータから誤って取り外され
る場合がある。この場合従来の記録媒体においては、そ
れまで記録情報管理領域に記録された管理用データに対
して、新たに管理用データを付加して、この記録情報管
理領域の全部又は一部を更新することにより、ユーザー
エリアにファイルが残っているにも係わらずアクセスす
ることが困難になる問題がある。
However, such a recording medium is detachable, so that it may be erroneously removed from the computer while the recording information management area is being updated. In this case, in the conventional recording medium, the management data previously recorded in the recording information management area is newly added with management data, and all or a part of the recording information management area is updated. Therefore, there is a problem that it becomes difficult to access the file even though the file remains in the user area.

【0006】このような場合でも、少なくともそれまで
に記録されていたデータについて、アクセスすることが
できれば、この種の記録媒体の使い勝手を向上すること
ができる。
Even in such a case, if at least the data recorded up to that time can be accessed, the usability of this type of recording medium can be improved.

【0007】本発明は以上の点を考慮してなされたもの
で、更新中に記録媒体が取り外された場合でも、それま
でに記録されたデータについては、アクセスすることが
できるデータ処理装置及びデータ記録媒体のアクセス方
法を提案しようとするものである。
The present invention has been made in view of the above points, and even if a recording medium is removed during updating, a data processing apparatus and a data processing apparatus capable of accessing data recorded up to that time. It is intended to propose a method of accessing a recording medium.

【0008】[0008]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、データ処理装置及びデータ記録媒
体のアクセス方法に関し、記録媒体に有効な管理領域及
び無効な管理領域を設定し、データを記録すると、無効
な管理領域に管理用データを記録した後、無効な管理領
域及び有効な管理領域をそれぞれ有効な管理領域及び無
効な管理領域に設定する。
According to the present invention, there is provided a data processing apparatus and a method for accessing a data recording medium, the method comprising: setting a valid management area and an invalid management area on a recording medium; After the recording, the management data is recorded in the invalid management area, and then the invalid management area and the valid management area are set as the valid management area and the invalid management area, respectively.

【0009】また有効な管理領域に記録された管理用の
データに従って、記録媒体に記録されたデータをアクセ
スする。
In addition, the data recorded on the recording medium is accessed according to the management data recorded in the effective management area.

【0010】無効な管理領域に管理用データを記録した
後、無効な管理領域及び有効な管理領域をそれぞれ有効
な管理領域及び無効な管理領域に設定すれば、この管理
領域を更新している際に記録媒体が取り外された場合、
それまでの無効の管理領域及び有効の管理領域は、その
ままの状態で保持されることになる。従って記録直後の
データを除いて記録媒体に記録されたデータについて
は、この有効管理領域に記録された管理用データを基準
にしてアクセスすることができる。
After recording the management data in the invalid management area, if the invalid management area and the valid management area are set as the valid management area and the invalid management area, respectively, the management area is updated. If the recording medium is removed at
The invalid management area and the valid management area up to that time are kept as they are. Therefore, the data recorded on the recording medium except for the data immediately after recording can be accessed based on the management data recorded in the effective management area.

【0011】[0011]

【発明の実施の形態】以下、適宜図面を参照しながら本
発明の実施の形態を詳述する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0012】図2は、本発明の実施の形態に係るデータ
処理装置を示すブロック図である。このデータ処理装置
1は、画像データを中央処理ユニット2により処理す
る。このとき中央処理ユニット2は、メインメモリ3に
ワークエリアを確保して一連の画像処理を実行する。さ
らにユーザーの操作に応動して、バスBUSを介して、
このメインメモリ3に保持した画像データをカードイン
ターフェース(IF)4に出力し、カードインターフェ
ース4を介してICメモリカード5に記録する。また必
要に応じてこのICメモリカード5に記録された画像デ
ータを読み出して処理する。
FIG. 2 is a block diagram showing a data processing apparatus according to the embodiment of the present invention. The data processing device 1 processes image data by a central processing unit 2. At this time, the central processing unit 2 secures a work area in the main memory 3 and executes a series of image processing. Furthermore, in response to the user's operation, via the bus BUS,
The image data held in the main memory 3 is output to a card interface (IF) 4 and recorded on an IC memory card 5 via the card interface 4. Further, the image data recorded on the IC memory card 5 is read and processed as needed.

【0013】ここでICメモリカード5は、不揮発性の
メモリを保持してカード形状に形成され、このデータ処
理装置1に着脱可能に保持される。これによりICメモ
リカード5は、このデータ処理装置1において画像デー
タ記録した後、他のデータ処理装置にてこの画像データ
を処理できるようになされている。
Here, the IC memory card 5 is formed in a card shape while holding a non-volatile memory, and is detachably held by the data processing device 1. Thus, the IC memory card 5 can record the image data in the data processing device 1 and then process the image data in another data processing device.

【0014】図3は、このICメモリカード5の記録領
域を示す略線図であり、このICメモリカード5は、先
頭アドレスより所定の領域を2等分し、それぞれ記録情
報管理領域A及びBに設定する。ここでこの2つの記録
情報管理領域A及びBは、交互に有効及び無効の管理領
域に設定され、有効の管理領域に設定された場合は、ユ
ーザーエリアに記録されたデータの管理用データが記録
されるようになされている。具体的に、この管理用デー
タは、ユーザーエリアに記録されたファイル名、アドレ
ス、ファイルの属性情報により構成される。これに対し
て無効の管理領域に設定された場合は、00hのデータ
が記録され、これによりデータが消去された状態に保持
される。ICメモリカード5は、残る記録領域をユーザ
ーエリアに割り当て、この実施の形態では画像データに
より構成されるファイルを順次記録するようになされて
いる。
FIG. 3 is a schematic diagram showing a recording area of the IC memory card 5. In the IC memory card 5, a predetermined area is divided into two equal parts from a head address, and recording information management areas A and B are respectively provided. Set to. Here, the two recording information management areas A and B are alternately set as valid and invalid management areas. If the two recording information management areas are set as valid management areas, management data of data recorded in the user area is recorded. It has been made to be. More specifically, the management data includes a file name, an address, and file attribute information recorded in the user area. On the other hand, when the area is set to the invalid management area, the data of 00h is recorded, and the data is kept in the erased state. The IC memory card 5 allocates a remaining recording area to a user area, and in this embodiment, sequentially records files composed of image data.

【0015】中央処理ユニット2は、このICメモリカ
ード5に画像データを記録する場合、図1に示す処理手
順を実行し、この2つの記録情報管理領域A及びBをそ
れぞれ有効及び無効の管理領域に設定する。
When recording image data on the IC memory card 5, the central processing unit 2 executes the processing procedure shown in FIG. 1, and sets the two recording information management areas A and B as valid and invalid management areas, respectively. Set to.

【0016】すなわち中央処理ユニット2は、ファイル
名を指定してユーザーが書き込みの指示を入力すると、
ステップSP1からステップSP2に移り、ここで記録
情報管理領域Aの先頭番地を読み出す。続いて中央処理
ユニット2は、ステップSP3に移り、この記録情報管
理領域Aの先頭番地が00hが否か判断することによ
り、この記録情報管理領域Aが無効な管理領域か否か判
断する。ここでこの記録情報管理領域Aが有効な管理領
域に設定されている場合、否定結果が得られることによ
り、中央処理ユニット2は、ステップSP4に移り、こ
の記録情報管理領域Aより管理用データを読み出す。
That is, the central processing unit 2 specifies a file name and when a user inputs a write instruction,
The process moves from step SP1 to step SP2, where the head address of the recording information management area A is read. Subsequently, the central processing unit 2 proceeds to step SP3, and determines whether or not the start address of the recording information management area A is 00h, thereby determining whether or not the recording information management area A is an invalid management area. Here, if the recording information management area A is set as a valid management area, a negative result is obtained, and the central processing unit 2 proceeds to step SP4, where management data is transferred from the recording information management area A. read out.

【0017】続いて中央処理ユニット2は、ステップS
P5に移り、ここでこの読み出した管理用データを基準
にしてICメモリカード5の空き領域を確認し、この空
き領域に画像データを記録する。続いて中央処理ユニッ
ト2は、ステップSP6に移り、この記録した画像デー
タの管理用データを、有効な管理領域より読み出した管
理用データに付加し、無効な管理領域に記録する。さら
に中央処理ユニット2は、最後に、この無効な管理領域
の先頭番地を値00h以外の有意な値にセットし、これ
によりこの無効な管理領域を有効な管理領域にセットす
る。
Subsequently, the central processing unit 2 executes step S
The process proceeds to P5, where the empty area of the IC memory card 5 is confirmed based on the read management data, and the image data is recorded in this empty area. Subsequently, the central processing unit 2 proceeds to step SP6, adds the management data of the recorded image data to the management data read from the valid management area, and records the management data in the invalid management area. Further, the central processing unit 2 finally sets the start address of the invalid management area to a significant value other than the value 00h, thereby setting the invalid management area to a valid management area.

【0018】続いて中央処理ユニット2は、ステップS
P7に移り、それまで有効な管理領域に設定されていた
管理領域を値00hのデータで更新し、これによりこの
管理領域のデータを消去してこの管理領域を無効の管理
領域に設定する。
Subsequently, the central processing unit 2 executes step S
The process moves to P7, where the management area that has been set as the valid management area is updated with the data of the value 00h, thereby erasing the data in this management area and setting this management area as an invalid management area.

【0019】これにより中央処理ユニット2は、記録情
報管理領域Aが有効な管理領域に設定されている場合、
この記録情報管理領域Aより得られた管理用データに基
づいて画像データを記録した後、記録情報管理領域Bを
更新し、記録情報管理領域Bを有効な管理領域に、記録
情報管理領域Aを無効な管理領域に設定する。
Thus, when the recording information management area A is set as an effective management area, the central processing unit 2
After recording the image data based on the management data obtained from the recording information management area A, the recording information management area B is updated, the recording information management area B is set as an effective management area, and the recording information management area A is set as an effective management area. Set to an invalid management area.

【0020】これに対してステップSP3において肯定
結果が得られると、中央処理ユニット2は、ステップS
P9に移り、ここで記録情報管理領域Bより管理用デー
タを読み出し、ステップSP5に移る。
On the other hand, if a positive result is obtained in step SP3, the central processing unit 2 proceeds to step S3.
The process moves to P9, where management data is read from the recording information management area B, and the process moves to step SP5.

【0021】これにより中央処理ユニット2は、記録情
報管理領域Aが無効な管理領域に設定されている場合、
この記録情報管理領域Bより管理用データを取得し、こ
の管理用データに基づいて画像データを記録すると共に
記録情報管理領域Bを更新し、記録情報管理領域Aを有
効な管理領域に、記録情報管理領域Bを無効な管理領域
に設定する。
Thus, when the recording information management area A is set to an invalid management area, the central processing unit 2
The management data is acquired from the recording information management area B, the image data is recorded based on the management data, the recording information management area B is updated, and the recording information management area A is changed to the effective management area. The management area B is set as an invalid management area.

【0022】これにより中央処理ユニット2は、2つの
管理領域を交互に使用して、管理用データを記録するよ
うになされている。なお中央処理ユニット2は、管理用
データを更新するだけの処理により、ユーザーエリアに
記録されたファイルを消去するようになされ、この場合
同様に2つの管理領域を交互に使用して、管理用データ
を更新するようになされている。
Accordingly, the central processing unit 2 records the management data by alternately using the two management areas. The central processing unit 2 deletes the file recorded in the user area only by processing for updating the management data. In this case, similarly, the two management areas are used alternately, and the management data is deleted. Has been made to update.

【0023】これに対して中央処理ユニット2は、IC
メモリカードに記録された画像データを読み出す場合、
図4に示す処理手順を実行する。
On the other hand, the central processing unit 2 has an IC
When reading image data recorded on a memory card,
The processing procedure shown in FIG. 4 is executed.

【0024】すなわち中央処理ユニット2は、ファイル
名を指定してユーザーが読み出しの指示を入力すると、
ステップSP10からステップSP11に移り、ここで
記録情報管理領域Aの先頭番地を読み出す。続いて中央
処理ユニット2は、ステップSP12に移り、この記録
情報管理領域Aの先頭番地が00hか否か判断すること
により、この記録情報管理領域Aが無効な管理領域か否
か判断する。ここでこの記録情報管理領域Aが有効な管
理領域に設定されている場合、否定結果が得られること
により、中央処理ユニット2は、ステップSP3に移
り、この記録情報管理領域Aより管理用データを読み出
した後、ステップSP14に移る。
That is, the central processing unit 2 designates a file name, and when a user inputs a readout instruction,
The process moves from step SP10 to step SP11, where the head address of the recording information management area A is read. Subsequently, the central processing unit 2 proceeds to step SP12, and determines whether or not the start address of the recording information management area A is 00h, thereby determining whether or not the recording information management area A is an invalid management area. Here, if the recording information management area A is set as a valid management area, a negative result is obtained, and the central processing unit 2 proceeds to step SP3, where management data is transferred from the recording information management area A. After reading, the process moves to step SP14.

【0025】これに対して記録情報管理領域Aが無効な
管理領域に設定されている場合、ステップSP12にお
いて否定結果が得られることにより、中央処理ユニット
2は、ステップSP15に移り、記録情報管理領域Bよ
り管理用データを読み出した後、ステップSP14に移
る。
On the other hand, if the recording information management area A is set to an invalid management area, a negative result is obtained in step SP12, and the central processing unit 2 proceeds to step SP15, where the recording information management area A is set. After reading the management data from B, the process moves to step SP14.

【0026】これにより中央処理ユニット2は、有効な
管理領域より管理用データを読み出した後、この読み出
した管理用データに基づいて、ICメモリカード5のユ
ーザーエリアをアクセスし、ユーザーの指定したファイ
ルについて画像データを読み出した後、ステップSP1
6に移ってこの処理手順を終了する。
Thus, the central processing unit 2 reads the management data from the effective management area, accesses the user area of the IC memory card 5 based on the read management data, and reads the file specified by the user. After reading the image data for step SP1,
Then, the procedure goes to 6 to end this processing procedure.

【0027】以上の構成において、画像データにより構
成されるファイルの書き込み、消去をユーザーが指示す
ると、ICメモリカード5においては、始めに記録情報
管理領域Aがアクセスされ、この記録情報管理領域Aの
先頭番地を基準にして、有効な管理領域が検出される。
さらにICメモリカード5は、この検出された有効な管
理領域より管理用データが読み出され、この管理用デー
タに従ってユーザーエリアが更新される。さらにこのユ
ーザーエリアの更新に対応するように、無効な管理領域
に管理用データが記録された後、それまでの無効な管理
領域が有効な管理領域に、それまでの有効な管理領域が
無効な管理領域に設定され、一連の処理が完了する。
In the above configuration, when the user instructs writing or erasing of a file composed of image data, the recording information management area A is first accessed in the IC memory card 5, and the recording information management area A An effective management area is detected based on the start address.
Further, in the IC memory card 5, management data is read from the detected effective management area, and the user area is updated according to the management data. Furthermore, after the management data is recorded in the invalid management area so as to correspond to the update of the user area, the invalid management area is invalidated in the valid management area. The management area is set, and a series of processing is completed.

【0028】これによりこの一連の処理が完了した後に
おいては、新たに設定された有効な管理領域の管理用デ
ータを基準にして、ユーザーエリアを更新することがで
きる。すなわちユーザーが改めてファイルの書き込み、
消去をユーザーが指示すると、同様に、有効な管理領域
が検出され、この有効な管理領域の管理用データに従っ
てユーザーエリアが更新される。さらにこのユーザーエ
リアの更新に対応するように、無効な管理領域に管理用
データが記録された後、それまでの無効な管理領域が有
効な管理領域に、それまでの有効な管理領域が無効な管
理領域に設定され、一連の処理が完了する。
Thus, after this series of processing is completed, the user area can be updated based on the newly set effective management area management data. That is, the user writes the file again,
When the user instructs erasure, a valid management area is similarly detected, and the user area is updated according to the management data of the valid management area. Furthermore, after the management data is recorded in the invalid management area so as to correspond to the update of the user area, the invalid management area is invalidated in the valid management area. The management area is set, and a series of processing is completed.

【0029】また例えばユーザーが読み出しを指示する
と、同様に、有効な管理領域が検出され、この有効な管
理領域の管理用データに従ってユーザーエリアがアクセ
スされる。
For example, when the user instructs reading, a valid management area is similarly detected, and the user area is accessed according to the management data of the valid management area.

【0030】これに対してファイルの書き込み中に、さ
らには管理用データを更新している際に、ユーザーがI
Cメモリカード5を取り外すと、最後に実施される、有
効な管理領域及び無効な管理領域の設定処理が実行され
ないことにより、記録情報管理領域A及びBは、ユーザ
ーエリアを更新する前の状態に保持される。これにより
有効な管理領域を基準にしてアクセスして、このユーザ
ーエリアを更新する直前のファイルについては、自由に
アクセスすることができる。
On the other hand, while the file is being written and the management data is being updated, the user
When the C memory card 5 is removed, the setting processing of the valid management area and the invalid management area, which is performed last, is not executed, so that the recording information management areas A and B return to the state before updating the user area. Will be retained. As a result, the user can access the file immediately before updating the user area by accessing based on the effective management area, and can freely access the file.

【0031】以上の構成によれば、有効な管理領域に記
録された管理用データに従ってユーザーエリアを更新し
た後、無効な管理領域に管理用データを設定し、この無
効な管理領域を有効な管理領域に、それまでの有効な管
理領域を無効な管理領域に設定することにより、更新中
にICメモリカードが取り外された場合でも、それまで
に記録されたデータについては、元の有効な管理領域を
基準にしてアクセスすることができ、ユーザーの誤操作
による重大なデータの損失を有効に回避することができ
る。
According to the above configuration, after updating the user area according to the management data recorded in the effective management area, the management data is set in the invalid management area, and the invalid management area is set to the effective management area. By setting the previously valid management area to the invalid management area in the area, even if the IC memory card is removed during the update, the data recorded so far remains the same as the original valid management area. , And significant data loss due to user's erroneous operation can be effectively avoided.

【0032】なお上述の実施の形態においては、ICメ
モリカードの先頭領域を第1及び第2の管理領域に設定
する場合について述べたが、本発明はこれに限らず、必
要に応じて種々の領域に設定することができる。また更
新の毎に領域を変更してもよく、この場合は書き換え回
数が有限なフラッシュEEPROMに適用して、一定箇
所を管理領域に設定する場合に比して、ICメモリカー
ドの寿命を延長することができる。
In the above-described embodiment, the case where the head area of the IC memory card is set to the first and second management areas has been described. However, the present invention is not limited to this, and various types of data may be set as necessary. Can be set in the area. In addition, the area may be changed every time the update is performed. In this case, the life of the IC memory card is extended as compared with a case where a certain place is set as the management area by applying to a flash EEPROM having a limited number of rewrites. be able to.

【0033】さらに上述の実施の形態においては、2つ
の管理領域を交互に使用する場合について述べたが、本
発明はこれに限らず、3つ以上の管理領域を順次使用し
てよい。
Further, in the above-described embodiment, the case where two management areas are used alternately has been described. However, the present invention is not limited to this, and three or more management areas may be used sequentially.

【0034】また上述の実施の形態においては、値00
hのデータを記録して管理領域のデータを消去すること
により、この管理領域を無効の領域に設定する場合につ
いて述べたが、本発明はこれに限らず、フラグ、IDの
設定により有効無効を設定してもよい。
In the above embodiment, the value 00
h, the management area is set as an invalid area by recording the data of the management area and erasing the data of the management area. However, the present invention is not limited to this. May be set.

【0035】さらに上述の実施の形態においては、IC
メモリカードに画像データを記録する場合について述べ
たが、本発明はこれに限らず、オーディオデータ、テキ
ストデータ等、種々のデータを記録する場合に広く適用
することができる。
Further, in the above embodiment, the IC
Although the case where image data is recorded on the memory card has been described, the present invention is not limited to this, and can be widely applied to various types of data such as audio data and text data.

【0036】さらに上述の実施の形態においては、記録
媒体としてICメモリカードを使用する場合について述
べたが、本発明はこれに限らず、光ディスク、フロッピ
ディスク等、種々の記録媒体をアクセスする場合に広く
適用することができる。
Further, in the above-described embodiment, the case where an IC memory card is used as a recording medium has been described. However, the present invention is not limited to this, and it is possible to access various recording media such as an optical disk and a floppy disk. Can be widely applied.

【0037】[0037]

【発明の効果】上述のように本発明によれば、複数の管
理領域を順次使用して管理用のデータを記録することに
より、更新中に記録媒体が取り外された場合でも、それ
までに記録されたデータについては、アクセスすること
ができる。
As described above, according to the present invention, a plurality of management areas are sequentially used to record management data, so that even if a recording medium is removed during updating, the data is recorded by that time. The data can be accessed.

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

【図1】本発明の実施の形態に係るデータ処理装置にお
ける中央処理ユニットの処理手順を示すフローチャート
である。
FIG. 1 is a flowchart showing a processing procedure of a central processing unit in a data processing device according to an embodiment of the present invention.

【図2】図1の全体構成を示すブロック図である。FIG. 2 is a block diagram showing the entire configuration of FIG.

【図3】ICメモリカードの記録領域を示す略線図であ
る。
FIG. 3 is a schematic diagram illustrating a recording area of an IC memory card.

【図4】データ読み出し時の中央処理ユニットの処理手
順を示すフローチャートである。
FIG. 4 is a flowchart illustrating a processing procedure of a central processing unit when reading data.

【図5】従来の記録媒体の記録領域を示す略線図であ
る。
FIG. 5 is a schematic diagram illustrating a recording area of a conventional recording medium.

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

1……データ処理装置、2……中央処理ユニット、5…
…ICメモリカード
1. Data processing device 2. Central processing unit 5.
… IC memory card

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 着脱可能な記録媒体に所望のデータを記
録するデータ処理装置において、 前記記録媒体に第1及び第2の管理領域を形成し、 前記第1及び第2の管理領域の一方を有効な管理領域に
設定し、他方を無効な管理領域に設定し、 前記記録媒体にデータを記録すると、前記有効な管理領
域に記録された管理用データに前記記録媒体に記録した
データの管理用データを付加して、前記無効な管理領域
に記録した後、前記無効な管理領域及び前記有効な管理
領域をそれぞれ有効な管理領域及び無効な管理領域に設
定することを特徴とするデータ処理装置。
1. A data processing apparatus for recording desired data on a removable recording medium, wherein first and second management areas are formed on the recording medium, and one of the first and second management areas is formed. When a valid management area is set and the other is set to an invalid management area, and data is recorded on the recording medium, the management data recorded on the valid management area is used for managing data recorded on the recording medium. A data processing apparatus, wherein after adding data and recording the invalid management area, the invalid management area and the valid management area are set as a valid management area and an invalid management area, respectively.
【請求項2】 着脱可能な記録媒体をアクセスして前記
記録媒体に記録されたデータを再生するデータ処理装置
において、 前記記録媒体に形成された第1及び第2の管理領域よ
り、有効な管理領域を検出し、前記有効な管理領域に記
録された管理用のデータに従って、前記記録媒体に記録
されたデータをアクセスすることを特徴とするデータ処
理装置。
2. A data processing apparatus for accessing a removable recording medium and reproducing data recorded on the recording medium, wherein a more effective management is performed than first and second management areas formed on the recording medium. A data processing device for detecting an area and accessing data recorded on the recording medium according to management data recorded in the valid management area.
【請求項3】 着脱可能に保持された記録媒体をアクセ
スするデータ記録媒体のアクセス方法において、 前記記録媒体に第1及び第2の管理領域を形成し、 前記第1及び第2の管理領域の一方を有効な管理領域に
設定し、他方を無効な管理領域に設定し、 前記記録媒体にデータを記録すると、前記有効な管理領
域に記録された管理用データに前記記録媒体に記録した
データの管理用データを付加して、前記無効な管理領域
に記録した後、前記無効な管理領域及び前記有効な管理
領域をそれぞれ有効な管理領域及び無効な管理領域に設
定することを特徴とするデータ記録媒体のアクセス方
法。
3. A data recording medium access method for accessing a recording medium held detachably, wherein a first and a second management area are formed in the recording medium, and the first and second management areas are When one is set as a valid management area and the other is set as an invalid management area, and data is recorded on the recording medium, the data recorded on the recording medium is added to the management data recorded on the valid management area. Data recording, wherein after adding management data and recording in the invalid management area, the invalid management area and the valid management area are set as a valid management area and an invalid management area, respectively. Media access method.
【請求項4】 着脱可能に保持された記録媒体をアクセ
スするデータ記録媒体のアクセス方法において、 前記記録媒体に形成された第1及び第2の管理領域よ
り、有効な管理領域を検出し、前記有効な管理領域に記
録された管理用のデータに従って、前記記録媒体に記録
されたデータをアクセスすることを特徴とするデータ記
録媒体のアクセス方法。
4. A data recording medium access method for accessing a recording medium held detachably, wherein a valid management area is detected from first and second management areas formed on the recording medium, and An access method for a data recording medium, comprising accessing data recorded on the recording medium according to management data recorded in a valid management area.
JP8299373A 1996-10-23 1996-10-23 Data processor and method for accessing data recording medium Pending JPH10124400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8299373A JPH10124400A (en) 1996-10-23 1996-10-23 Data processor and method for accessing data recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8299373A JPH10124400A (en) 1996-10-23 1996-10-23 Data processor and method for accessing data recording medium

Publications (1)

Publication Number Publication Date
JPH10124400A true JPH10124400A (en) 1998-05-15

Family

ID=17871734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8299373A Pending JPH10124400A (en) 1996-10-23 1996-10-23 Data processor and method for accessing data recording medium

Country Status (1)

Country Link
JP (1) JPH10124400A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005235028A (en) * 2004-02-23 2005-09-02 Sony Corp Information processor, information processing method, and computer program
JP2010102738A (en) * 2002-11-01 2010-05-06 Bluearc Uk Ltd Apparatus and method for hardware-based file system
US9767120B2 (en) 2008-01-16 2017-09-19 Hitachi Data Systems Engineering UK Limited Multi-way checkpoints in a data storage system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04145596A (en) * 1990-10-08 1992-05-19 Fuji Photo Film Co Ltd Memory card and data management system therefor
JPH0651927U (en) * 1991-07-15 1994-07-15 横河電機株式会社 Non-volatile memory controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04145596A (en) * 1990-10-08 1992-05-19 Fuji Photo Film Co Ltd Memory card and data management system therefor
JPH0651927U (en) * 1991-07-15 1994-07-15 横河電機株式会社 Non-volatile memory controller

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102738A (en) * 2002-11-01 2010-05-06 Bluearc Uk Ltd Apparatus and method for hardware-based file system
US9542310B2 (en) 2002-11-01 2017-01-10 Hitachi Data Systems Engineering UK Limited File server node with non-volatile memory processing module coupled to cluster file server node
US9753848B2 (en) 2002-11-01 2017-09-05 Hitachi Data Systems Engineering UK Limited Apparatus for managing a plurality of root nodes for file systems
JP2005235028A (en) * 2004-02-23 2005-09-02 Sony Corp Information processor, information processing method, and computer program
US8756384B2 (en) 2004-02-23 2014-06-17 Sony Corporation Information processing device and information processing method for data recovery after failure
US9767120B2 (en) 2008-01-16 2017-09-19 Hitachi Data Systems Engineering UK Limited Multi-way checkpoints in a data storage system

Similar Documents

Publication Publication Date Title
JP3485938B2 (en) Nonvolatile semiconductor memory device
US6081878A (en) Increasing the memory performance of flash memory devices by writing sectors simultaneously to multiple flash memory devices
JP2883791B2 (en) Storage medium and control method thereof
JP3421581B2 (en) Storage device using nonvolatile semiconductor memory
JP2001147855A (en) Method for writing data in non-volatile memory and information processor and recording medium
JPH04307644A (en) Memory card storage control system
JPH10124400A (en) Data processor and method for accessing data recording medium
JPH04157699A (en) Preliminary writing method for flash erasure-type e2 prom
JPH0793101A (en) Data backup device
JP4178822B2 (en) Recording method
JPH03222158A (en) Additionally writing method for data
JP2549155Y2 (en) Optical filing system
JPH07160439A (en) Data storage device and main controller
JP4403338B2 (en) Information processing apparatus and information processing method
JP3471838B2 (en) How to manage circular sequential files
JP2701372B2 (en) Magneto-optical disk drive
JPS6390088A (en) Recording information managing system for optical disk
JPH06266587A (en) File management system for flash memory
JP2003346106A (en) Recording/editing device
JP2002007204A (en) Device and method for information processing
JPH01255028A (en) Method for making access to external storage device
JPH04369057A (en) Magneto-optical disk device
JPH04111030A (en) Information recorder
JPS6346553A (en) File copying method
JPH11134880A (en) Apparatus and method of controlling memory

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040528

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040712

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050125