JP2009025899A - MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM - Google Patents
MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM Download PDFInfo
- Publication number
- JP2009025899A JP2009025899A JP2007186068A JP2007186068A JP2009025899A JP 2009025899 A JP2009025899 A JP 2009025899A JP 2007186068 A JP2007186068 A JP 2007186068A JP 2007186068 A JP2007186068 A JP 2007186068A JP 2009025899 A JP2009025899 A JP 2009025899A
- Authority
- JP
- Japan
- Prior art keywords
- content
- content data
- group
- host device
- write status
- 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
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
【課題】関連のある複数のコンテンツデータ間の整合性チェックを簡素化することができ、さらには、ホスト機器側がコンテンツ管理を意識する必要がなく、ユーザに共通GUIを提供することが可能となるメモリーコントローラ、不揮発性記憶装置、不揮発性記憶装置システムを提供すること。
【解決手段】書き込み中であるコンテンツグループを識別する書き込みステータス情報を保持する書き込みステータス保持手段211と、コンテンツデータとメタデータの管理を行うコンテンツ管理手段204と、を備え、コンテンツ管理手段204は、書き込みステータス情報(コンテンツグループID)に基づき関連のある複数のコンテンツデータ間の不整合を解消する。さらに、ホスト機器101からのコンテンツデータに対する要求処理に応じ、画面表示内容を記述したスクリプトを生成するGUIスクリプト生成手段208を備える。
【選択図】図2Consistency check between a plurality of related content data can be simplified, and further, a host device does not need to be aware of content management, and a common GUI can be provided to users. To provide a memory controller, a nonvolatile memory device, and a nonvolatile memory device system.
A write status holding unit 211 that holds write status information for identifying a content group that is being written, and a content management unit 204 that manages content data and metadata, the content management unit 204 includes: Based on the write status information (content group ID), inconsistency between a plurality of related content data is eliminated. In addition, a GUI script generation unit 208 that generates a script describing the screen display contents in response to a request process for content data from the host device 101 is provided.
[Selection] Figure 2
Description
本発明は、不揮発性メモリを備えた半導体メモリカード等の不揮発性記憶装置、これを制御するメモリコントローラ、及び前記不揮発性記憶装置にアクセス装置を構成要件として加えた不揮発性記憶装置システムに関する。 The present invention relates to a nonvolatile memory device such as a semiconductor memory card provided with a nonvolatile memory, a memory controller for controlling the nonvolatile memory device, and a nonvolatile memory device system in which an access device is added as a component to the nonvolatile memory device.
近年、技術の進展により、画像、音声等のコンテンツをデジタルデータとして取り扱うようになってきた。画像、音声を有するデジタルデータを可搬するために、記憶媒体として、半導体メモリ、磁気ディスク、光磁気ディスク、ハードディスクなどの不揮発性記憶装置を用いる。従来、半導体メモリや、磁気ディスク、光磁気ディスクなどの不揮発性記憶装置の情報記録領域に格納されたデータの管理は、ファイルシステムにより実現されている。ファイルシステムでは、情報記録領域を最小アクセス単位であるセクタ、及びセクタの集合であるクラスタに分割して管理し、1つ以上のクラスタをファイルとして管理する。また、画像、音声コンテンツに関連するタイトル名やアーティスト名、時間検索テーブル、画像・音声などのコンテンツデータ間の相互関係をメタデータと呼ぶ。ファイルシステムでは、これらのメタデータもコンテンツデータもファイルシステム上のファイルとして取り扱われる。記憶媒体の中におけるコンテンツのフォーマットやメタデータのファイルの内容を規定するために、アプリケーション規格が規定されてきた。たとえば、SD(セキュアデジタル)メモリカードの場合は、SDA(SD Association)において規格化などが推進されている。 In recent years, with the development of technology, content such as images and sounds has been handled as digital data. In order to carry digital data having images and sounds, a nonvolatile storage device such as a semiconductor memory, a magnetic disk, a magneto-optical disk, or a hard disk is used as a storage medium. Conventionally, management of data stored in an information recording area of a nonvolatile storage device such as a semiconductor memory, a magnetic disk, or a magneto-optical disk has been realized by a file system. In the file system, the information recording area is divided into sectors that are the minimum access unit and clusters that are a set of sectors, and one or more clusters are managed as files. The interrelationship between content data such as title names and artist names related to images and audio contents, time search tables, images and audio is called metadata. In the file system, both the metadata and the content data are handled as files on the file system. Application standards have been defined in order to define the content format and metadata file contents in a storage medium. For example, in the case of an SD (Secure Digital) memory card, standardization and the like are promoted in SDA (SD Association).
このような、不揮発性記憶装置をデジタルスチルカメラやカムコーダなどのホスト機器に装着して使用する不揮発性記憶装置システムは、例えば、特許文献1等に開示されている。
しかしながら、コンテンツデータのフォーマットなどのコンテンツ管理部分を、各種アプリケーション規格に基づいて、あるいはホスト機器メーカの都合に応じて個別に開発していたため、ホスト機器間においてコンテンツの表示や操作性に差が生じていた。 However, content management parts such as the content data format have been developed individually based on various application standards or at the convenience of the host device manufacturer, resulting in differences in content display and operability between host devices. It was.
また、デジタルスチルカメラにおいて、1回の写真撮影において、光をCCD(電荷結合素子)やCMOS(相補形金属酸化膜半導体)などの素子を用いて電気的な映像信号に変換するイメージセンサから得られた映像信号をそのまま記録するRAWデータと呼ばれる静止画像と、上記映像信号に映像処理を施した上で画像圧縮を加えたJPEG(Joint Photographic Experts Group)データと呼ばれる静止画像の2種類のコンテンツデータを記録する場合、これら2つの静止画コンテンツデータを2つのファイルとして格納し、アプリケーション規格の一つであるDCF(Design rule for Camera File system)規格において、ファイル名の先頭8文字が同一であることを用いて該2つのコンテンツデータを関連づけていた。そのため、さまざまなホスト機器に挿入される不揮発性記憶装置において、2つのコンテンツデータを2つのファイルとして分離格納すると、PC(パーソナルコンピュータ)など自由にコンテンツデータを削除することが可能な機器によって片方のコンテンツデータを削除されてしまう、あるいは2つのコンテンツデータを不揮発性記憶装置に記録する際の電源遮断などのエラーにより、2つのコンテンツデータ間に不整合が生じることがある。不整合が生じると、たとえば映像をデジタルカメラ上のディスプレーに表示する際に、RAWデータしかないために静止画像が表示されない問題があった。また、本整合性を確認するために撮影モードから映像表示モードの遷移時などに整合性チェックのために多くの時間を要してしまい、撮影した映像がすぐに表示できないといった問題があった。 Also, in a digital still camera, it is obtained from an image sensor that converts light into an electrical video signal using an element such as a CCD (Charge Coupled Device) or CMOS (Complementary Metal Oxide Semiconductor) in a single photo shoot. Two types of content data: still image called RAW data for recording the received video signal as it is, and still image called JPEG (Joint Photographic Experts Group) data obtained by subjecting the video signal to video processing and image compression When these two still image content data are stored as two files, the first eight characters of the file name must be the same in the DCF (Design rule for Camera File system) standard, which is one of the application standards. For The two contents data are associated with each other. Therefore, when two content data are separately stored as two files in a non-volatile storage device inserted into various host devices, one of the devices such as a PC (personal computer) capable of freely deleting the content data is used. The content data may be deleted, or an error may occur between the two content data due to an error such as a power shutdown when recording the two content data in the nonvolatile storage device. When inconsistency occurs, for example, when displaying an image on a display on a digital camera, there is a problem that a still image is not displayed because there is only RAW data. In addition, in order to confirm the consistency, a long time is required for the consistency check at the time of transition from the photographing mode to the video display mode, and there is a problem that the captured video cannot be displayed immediately.
ここで、図12に示す従来の不揮発性記憶装置システムについて、前述した不整合に関する問題点について詳述する。まず、メモリカード1230がホスト機器1200に装着されて使用された後に、ホスト機器1220に装着されて使用されるケースについて考える。ここで、コンテンツ管理部1201は、2つの関係づけられたコンテンツデータ、すなわちコンテンツデータAとコンテンツデータBを関連づけて記録・再生・削除などの操作を行う機能を有するものとする。一方、コンテンツ管理部1221は、ひとつのコンテンツデータ(例えばコンテンツデータA)も記録・再生・削除などの操作が可能であるとする。
Here, the above-described problems related to inconsistency will be described in detail in the conventional nonvolatile memory device system shown in FIG. First, consider a case where the
メモリカード1230がホスト機器1200に装着されて、ホスト機器1200がメモリカード1230にコンテンツデータを書き込む場合、コンテンツ管理部1201がメモリカード1230内のメモリ領域1231とメモリ領域1232にそれぞれコンテンツデータAとコンテンツデータBを書き込む。この時、コンテンツデータAとコンテンツデータBの整合性は保たれている。その後、メモリカード1230がホスト機器1220に装着され、ホスト機器1220がメモリカード1230内のコンテンツデータを消去する場合、コンテンツ管理部1221によりメモリ領域1231内のコンテンツデータAのみが消去される事がある。このため、コンテンツデータAとコンテンツデータBとの関連づけが保証されなくなってしまう。その後また、メモリカード1230がホスト機器1200に装着されて使用される場合、ホスト機器1200は、コンテンツデータAとコンテンツデータBの両方が記録されているか、すなわちそれらの整合性が保たれているか否かを知り得ない。このため、ホスト機器1200は、ホスト機器1220によって整合性が壊されなかった場合を含め、必ずメモリカード1230に記憶された全てのコンテンツデータの関連性について整合性チェックを行う必要がある。
When the
次に、メモリカード1230がホスト機器1200に装着されて使用された後に、ホスト機器1210に装着されて使用されるケースについて考える。ここで、コンテンツ管理部1201、1211は、共にコンテンツデータの書き込みにおいて、コンテンツデータAとそれに関連するコンテンツデータBをペアでメモリカード1230に書き込む機能を有するものとする。但し、コンテンツ管理部1201は、例えば電源遮断等のエラーを確実に対策できる、すなわちエラー時にもコンテンツとメタデータの不整合が生じない実装になっているものとする。一方、コンテンツ管理部1211は、該エラーを確実に対策できない実装になっているものとする。
Next, consider a case where the
メモリカード1230がホスト機器1200に装着されて、ホスト機器1200がメモリカード1230にコンテンツデータを書き込む場合、コンテンツ管理部1201がメモリカード1230内のメモリ領域1231とメモリ領域1232にそれぞれコンテンツデータAとコンテンツデータBを書き込む。この時、電源遮断などのエラーが発生した場合、コンテンツ管理部1201は、コンテンツデータAとそれに関連するコンテンツデータBのペアを有効として正しく書き込むか、もしくは、該ペアを無効にするかのいずれかの対策を行った状態、すなわち該ペアの整合性が保たれた状態で書き込みを終了する。その後、メモリカード1230がホスト機器1210に装着されて、コンテンツデータAとコンテンツデータBの書き換え時に電源遮断などのエラーが発生した場合、コンテンツデータAとコンテンツデータBの整合性が保たれていない場合がある。その後また、メモリカード1230がホスト機器1200に装着されて使用される場合、ホスト機器1200は、整合性が保たれていないコンテンツデータのペアがメモリカード1230内に存在することを知り得ない。このため、必ずメモリカード1230に記憶された全てのコンテンツデータの関連性について整合性チェックを行う必要がある。
When the
このように、ホスト機器側にコンテンツ管理機能を備えると、ホスト機器の種類によってコンテンツデータの記録方法やエラー対策方法などが異なるため、整合性チェックの必要のない場合においても整合性チェックを行う時間が必要となり、映像表示モードへの遷移が遅くなるといった問題があった。 As described above, when the host device has a content management function, the content data recording method and error countermeasure method differ depending on the type of host device, so the time for performing the consistency check even when the consistency check is not required. Is required, and the transition to the video display mode is delayed.
本発明では上記問題点、特に整合性チェック時間の問題に鑑み、関連のあるコンテンツデータ間の整合性チェックを簡素化し整合性チェックにかかる時間を短縮することができ、さらには、ホスト機器毎に異なるコンテンツ管理方法を意識する必要がなくユーザに共通GUIを提供することが可能となるメモリコントローラ、不揮発性記憶装置、不揮発性記憶装置システムを提供する。 In the present invention, in view of the above problems, particularly the consistency check time, it is possible to simplify the consistency check between related content data and reduce the time required for the consistency check. Provided are a memory controller, a nonvolatile storage device, and a nonvolatile storage device system that can provide a common GUI to users without having to be aware of different content management methods.
前記目的を達成するため、本発明においては以下の技術的手段を講じた。 In order to achieve the above object, the present invention takes the following technical means.
すなわち、本発明における技術的手段は、不揮発性メモリに接続され、外部のホスト機器からのアクセス指示に応じてコンテンツデータの読み出し及び書き込みを行うメモリコントローラであって、前記コンテンツデータの管理を行うコンテンツ管理手段を備え、前記コンテンツ管理手段は、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するとともに、前記不揮発性メモリに保持された、書き込み中である前記コンテンツグループを識別する書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする。 That is, the technical means in the present invention is a memory controller that is connected to a nonvolatile memory and reads and writes content data in accordance with an access instruction from an external host device, and manages the content data. Management means, wherein the content management means manages a plurality of related content data as a content group, and stores in the write status information identifying the content group being written, which is held in the nonvolatile memory Based on the above, the inconsistency in the content group is resolved.
また、本発明における技術的手段は、不揮発性メモリに接続され、外部のホスト機器からのアクセス指示に応じてコンテンツデータ及び前記コンテンツデータに係るメタデータの読み出し及び書き込みを行うメモリコントローラであって、前記コンテンツデータの管理を行うとともに、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するコンテンツ管理手段と、書き込み中である前記コンテンツグループを識別する書き込みステータス情報を保持する書き込みステータス保持手段と、を備え、前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする。 The technical means in the present invention is a memory controller that is connected to a nonvolatile memory and reads and writes content data and metadata related to the content data in accordance with an access instruction from an external host device. A content management unit that manages the content data and manages a plurality of related content data as a content group; a write status holding unit that holds write status information that identifies the content group that is being written; The content management means eliminates inconsistencies in the content group based on the write status information.
なお、前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおいて不整合の可能性があると判断した場合、既に書き込まれた前記コンテンツグループに属するコンテンツデータを削除しても構わない。 If the content management unit determines that there is a possibility of inconsistency in the content group based on the write status information, the content management unit may delete the already written content data belonging to the content group.
前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおいて不整合の可能性があると判断した場合、前記ホスト機器が再送可能なときは、再送要求し、再送された前記コンテンツグループに属するコンテンツデータを書き込み、前記ホスト機器が再送不可能なときは、既に書き込まれた前記コンテンツグループに属するコンテンツデータを削除しても構わない。 If the content management unit determines that there is a possibility of inconsistency in the content group based on the write status information, if the host device can retransmit, the content management unit requests retransmission and sends the content group to the retransmitted content group. When the content data to which the content belongs belongs and the host device cannot retransmit, the content data that has already been written and belongs to the content group may be deleted.
なお、前記書き込みステータス情報は、前記ホスト機器を一意に識別するための識別子であるデバイスIDを含んでも構わない。 The write status information may include a device ID that is an identifier for uniquely identifying the host device.
なお、前記ホスト機器からのコンテンツデータに対する要求処理に応じ、画面表示内容を記述したスクリプトを生成するGUIスクリプト生成手段をさらに備えても構わない。 Note that GUI script generation means for generating a script describing the screen display content may be further provided in response to a request process for content data from the host device.
なお、前記書き込みステータス情報は、コンテンツグループIDを含むものであってもよい。 The write status information may include a content group ID.
また、本発明における技術的手段は、外部のホスト機器からのアクセス指示に応じてコンテンツデータの読み出し及び書き込みを行う不揮発性記憶装置であって、前記コンテンツデータ、関連のある複数の前記コンテンツデータをコンテンツグループとして識別するコンテンツグループID及び書き込み中である前記コンテンツグループを識別する書き込みステータス情報を記憶する不揮発性メモリと、前記不揮発性メモリに該コンテンツデータを読み書きするメモリコントローラと、を備え、前記メモリコントローラは、前記コンテンツデータの管理を行うコンテンツ管理手段を備え、前記コンテンツ管理手段は、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するとともに、前記不揮発性メモリに保持された、書き込み中である前記コンテンツグループを識別する書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする。 The technical means in the present invention is a nonvolatile storage device that reads and writes content data in response to an access instruction from an external host device, and stores the content data and a plurality of related content data. A non-volatile memory that stores a content group ID that identifies the content group and write status information that identifies the content group that is being written, and a memory controller that reads and writes the content data to and from the non-volatile memory. The controller includes content management means for managing the content data, the content management means manages a plurality of related content data as a content group, and is held in the nonvolatile memory. Based the content group is being included come to write status information for identifying, characterized in that to eliminate the inconsistency in the content group.
また、本発明における技術的手段は、外部のホスト機器からのアクセス指示に応じてコンテンツデータの読み出し及び書き込みを行う不揮発性記憶装置であって、前記コンテンツデータ及び関連のある複数の前記コンテンツデータをコンテンツグループとして識別するコンテンツグループIDを記憶する不揮発性メモリと、前記不揮発性メモリに該コンテンツデータ及び該コンテンツグループIDを読み書きするメモリコントローラと、を備え、前記メモリコントローラは、前記コンテンツデータの管理を行うとともに、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するコンテンツ管理手段と、書き込み中である前記コンテンツグループを識別する書き込みステータス情報を保持する書き込みステータス保持手段と、を備え、前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする。 The technical means in the present invention is a non-volatile storage device that reads and writes content data in response to an access instruction from an external host device, and stores the content data and a plurality of related content data. A nonvolatile memory that stores a content group ID that is identified as a content group; and a memory controller that reads and writes the content data and the content group ID in the nonvolatile memory, and the memory controller manages the content data. Content management means for managing a plurality of related content data as a content group and write status holding means for holding write status information for identifying the content group being written , Wherein the controller (35) based on the write status information, characterized in that to eliminate the inconsistency in the content group.
なお、前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおいて不整合の可能性があると判断した場合、既に書き込まれた前記コンテンツグループに属するコンテンツデータを削除しても構わない。 If the content management unit determines that there is a possibility of inconsistency in the content group based on the write status information, the content management unit may delete the already written content data belonging to the content group.
前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおいて不整合の可能性があると判断した場合、前記ホスト機器が再送可能なときは、再送要求し、再送された前記コンテンツグループに属するコンテンツデータを書き込み、前記ホスト機器が再送不可能なときは、既に書き込まれた前記コンテンツグループに属するコンテンツデータを削除しても構わない。 If the content management unit determines that there is a possibility of inconsistency in the content group based on the write status information, if the host device can retransmit, the content management unit requests retransmission and sends the content group to the retransmitted content group. When the content data to which the content belongs belongs and the host device cannot retransmit, the content data that has already been written and belongs to the content group may be deleted.
なお、前記書き込みステータス情報は、前記ホスト機器を一意に識別するための識別子であるデバイスIDを含んでも構わない。 The write status information may include a device ID that is an identifier for uniquely identifying the host device.
なお、前記ホスト機器からのコンテンツデータに対する要求処理に応じ、画面表示内容を記述したスクリプトを生成するGUIスクリプト生成手段をさらに備えても構わない。 Note that GUI script generation means for generating a script describing the screen display content may be further provided in response to a request process for content data from the host device.
なお、前記書き込みステータス情報は、コンテンツグループIDを含むものであってもよい。 The write status information may include a content group ID.
また、本発明における技術的手段は、ホスト機器と、前記ホスト機器からのアクセス指示に応じてコンテンツデータの読み出し及び書き込みを行う不揮発性記憶装置と、を備えた不揮発性記憶装置システムであって、前記不揮発性記憶装置は、前記コンテンツデータ、関連のある複数の前記コンテンツデータをコンテンツグループとして識別するコンテンツグループID及び書き込み中である前記コンテンツグループを識別する書き込みステータス情報を記憶する不揮発性メモリと、前記不揮発性メモリに該コンテンツデータを読み書きするメモリコントローラと、を備え、前記メモリコントローラは、前記コンテンツデータの管理を行うコンテンツ管理手段を備え、前記コンテンツ管理手段は、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するとともに、前記不揮発性メモリに保持された、書き込み中である前記コンテンツグループを識別する書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする。 The technical means in the present invention is a nonvolatile storage device system comprising a host device and a nonvolatile storage device that reads and writes content data in response to an access instruction from the host device, The non-volatile storage device stores the content data, a content group ID that identifies the related content data as a content group, and write status information that identifies the content group that is being written, and A memory controller that reads / writes the content data from / to the non-volatile memory, the memory controller comprising content management means for managing the content data, wherein the content management means includes a plurality of related content data The With managed as Ceiling group, wherein held in the nonvolatile memory based on the write status information for identifying the content group is being written, characterized in that to eliminate the inconsistency in the content group.
また、本発明における技術的手段は、ホスト機器と、前記ホスト機器からのアクセス指示に応じてコンテンツデータの読み出し及び書き込みを行う不揮発性記憶装置と、を備えた不揮発性記憶装置システムであって、前記不揮発性記憶装置は、前記コンテンツデータ及び関連のある複数の前記コンテンツデータをコンテンツグループとして識別するコンテンツグループIDを記憶する不揮発性メモリと、前記不揮発性メモリに該コンテンツデータ及び該コンテンツグループIDを読み書きするメモリコントローラと、を備え、前記メモリコントローラは、前記コンテンツデータの管理を行うとともに、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するコンテンツ管理手段と、書き込み中である前記コンテンツグループを識別する書き込みステータス情報を保持する書き込みステータス保持手段と、を備え、前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする。 The technical means in the present invention is a nonvolatile storage device system comprising a host device and a nonvolatile storage device that reads and writes content data in response to an access instruction from the host device, The nonvolatile storage device stores a content group ID for identifying the content data and a plurality of related content data as a content group, and stores the content data and the content group ID in the nonvolatile memory. A memory controller for reading and writing, the memory controller managing the content data and managing a plurality of related content data as a content group and the content group being written. Comprising a write status holding means for holding the write status information identifying the flop, wherein the controller (35) based on the write status information, characterized in that to eliminate the inconsistency in the content group.
なお、前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおいて不整合の可能性があると判断した場合、既に書き込まれた前記コンテンツグループに属するコンテンツデータを削除しても構わない。 If the content management unit determines that there is a possibility of inconsistency in the content group based on the write status information, the content management unit may delete the already written content data belonging to the content group.
前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおいて不整合の可能性があると判断した場合、前記ホスト機器が再送可能なときは、再送要求し、再送された前記コンテンツグループに属するコンテンツデータを書き込み、前記ホスト機器が再送不可能なときは、既に書き込まれた前記コンテンツグループに属するコンテンツデータを削除しても構わない。 If the content management unit determines that there is a possibility of inconsistency in the content group based on the write status information, if the host device can retransmit, the content management unit requests retransmission and sends the content group to the retransmitted content group. When the content data to which the content belongs belongs and the host device cannot retransmit, the content data that has already been written and belongs to the content group may be deleted.
なお、前記書き込みステータス情報は、前記ホスト機器を一意に識別するための識別子であるデバイスIDを含んでも構わない。 The write status information may include a device ID that is an identifier for uniquely identifying the host device.
なお、前記ホスト機器からのコンテンツデータに対する要求処理に応じ、画面表示内容を記述したスクリプトを生成するGUIスクリプト生成手段をさらに備えても構わない。 Note that GUI script generation means for generating a script describing the screen display content may be further provided in response to a request process for content data from the host device.
なお、前記書き込みステータス情報は、コンテンツグループIDを含むものであってもよい。 The write status information may include a content group ID.
本発明によれば、メモリコントローラ内にコンテンツ管理手段を備えることにより、従来ホスト機器側に備えられたコンテンツ管理手段の記録方法やエラー対策方法の差異が要因となる、本来必要のない整合性チェックを削減することが可能となる。さらには、書き込みステータス保持手段に保持されたコンテンツグループIDに基づき、該コンテンツグループIDで関連づけられる複数のコンテンツデータ間の整合性チェックを行うようにしたので、電源遮断などのエラー発生時に書き込んでいたコンテンツデータが属するコンテンツグループを特定することが可能となり、該コンテンツグループに属する複数のコンテンツデータ間の不整合を解消することが可能となる。また、ホスト機器毎に異なるコンテンツ管理を意識する必要がなくユーザに共通GUIを提供することが可能となる。また、アプリケーション毎に必要なコンテンツ管理を機器側で開発・実装する必要がなくなり、低価格で画像・音声を取り扱う機器開発を可能とする。 According to the present invention, by including content management means in the memory controller, consistency check that is not necessary originally due to differences in the recording method and error countermeasure method of the content management means provided on the host device side in the past. Can be reduced. Furthermore, based on the content group ID held in the write status holding means, a consistency check between a plurality of pieces of content data associated with the content group ID is performed, so writing was performed when an error such as a power shutdown occurred. The content group to which the content data belongs can be specified, and inconsistencies among the plurality of content data belonging to the content group can be eliminated. Further, it is not necessary to be aware of different content management for each host device, and it is possible to provide a common GUI to the user. It also eliminates the need to develop and implement the content management required for each application on the device side, enabling device development that handles images and audio at a low price.
以下に、本発明の実施の形態について、図面を参照しながら説明する。なお、以下の各実施の形態において、同じ構成要素については同じ番号を付している。 Embodiments of the present invention will be described below with reference to the drawings. In the following embodiments, the same constituent elements are given the same numbers.
(第1の実施の形態)
本発明の第1の実施の形態は、メモリカードの内部に、コンテンツを管理するコンテンツ管理手段と、コンテンツ管理GUIスクリプト生成手段を設ける。これらの手段が、コンテンツ及び当該コンテンツに付随するメタデータの追加及び削除、コンテンツに対する動作を規定するUsageRule等のメタデータ内のデータの書き換え、コンテンツ情報表示スクリプト生成を司る。本発明の第1の実施の形態は、これにより、メモリカードと接続される外部のホスト機器が、メモリカードに格納されているコンテンツに関するデータ管理を意識せず利用できることを、最も主要な特徴とする。
(First embodiment)
In the first embodiment of the present invention, content management means for managing content and content management GUI script generation means are provided inside the memory card. These means control the addition and deletion of content and metadata accompanying the content, the rewriting of data in metadata such as UsageRule that defines the operation for the content, and the generation of a content information display script. In the first embodiment of the present invention, the main feature is that an external host device connected to the memory card can be used without being aware of data management related to contents stored in the memory card. To do.
以下、本発明の第1の実施の形態について、図面を用いて説明する。 Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
図1は、本発明の不揮発性記憶装置システムのシステム構成を示したものであり、記録媒体であるメモリカードに静止画などのコンテンツデータを記録及び再生を行うシステムを示したものである。 FIG. 1 shows a system configuration of a nonvolatile storage device system according to the present invention, and shows a system for recording and reproducing content data such as still images on a memory card as a recording medium.
図1において、101はホスト機器であるデジタルスチルカメラ、102は不揮発性記憶装置(ここでは、メモリカード)であり、これらが不揮発性記憶装置システムの主要構成要素である。ここで、ホスト機器101は、1回の静止画撮影において、JPEG形式で圧縮された静止画と、映像信号をそのまま記録した静止画の2つの静止画を記録したり再生したりすることができるものとする。また、メモリカード102は、前記静止画をコンテンツデータとして、それに付随するメタデータとともに保存するための記憶媒体である。
In FIG. 1, 101 is a digital still camera which is a host device, 102 is a nonvolatile storage device (here, a memory card), and these are the main components of the nonvolatile storage device system. Here, in one still image shooting, the
ホスト機器101は、メモリカード102をメモリカードスロット105に装着可能である。ホスト機器101は、光をレンズを経由してCCDセンサやCMOSセンサなどのイメージセンサを用いて電気的な映像信号に変換する撮像手段220と、メモリカード102に保存した静止画を表示するための表示手段103と、ユーザの操作入力を行うための入力手段104を含む。ユーザは表示手段103に表示された内容によりメモリカード102に格納されたコンテンツの内容を確認できる。
The
図2は、本発明の第1の実施の形態における不揮発性記憶装置システムを示すブロック図である。 FIG. 2 is a block diagram showing the nonvolatile memory device system according to the first embodiment of the present invention.
図2において、メモリカード102は、画像や音声などのコンテンツデータを格納するコンテンツデータ記憶手段206と、コンテンツデータに付随する撮影日時、撮影場所、コンテンツ製作者、コンテンツ再生順序、さらにはコンテンツデータ間の関係性に係る情報をメタデータとして格納するメタデータ記憶手段205と、上記コンテンツデータ及び上記メタデータに対して、ホスト機器101からの要求処理に応じて、コンテンツに付随するメタデータの内容変更等の管理を行うと共に、書き込みステータス保持手段211にコンテンツグループIDを書き込むコンテンツ管理手段204と、コンテンツの内容を一覧表示等するための表示スクリプトを生成するコンテンツ管理GUIスクリプト生成手段208と、ホスト機器101が持っている処理能力を記憶するホスト機器能力記憶手段209と、ホスト機器101との通信を行うためのコマンドに変換を行うプロトコル制御・監視手段203と、コンテンツデータをコンテンツデータ記憶手段206に書き込む際に、該コンテンツデータが属するコンテンツグループID等を一時保持するための書き込みステータス保持手段211から構成される。プロトコル制御・監視手段203と、コンテンツ管理手段204と、コンテンツ管理GUIスクリプト生成手段208をまとめたものをメモリコントローラ210とする。また、ホスト機器能力記憶手段209、メタデータ記憶手段205、コンテンツデータ記憶手段206、書き込みステータス保持手段211は、フラッシュメモリなどの不揮発性メモリ内に割り当てられた記憶領域とする。なお書き込みステータス保持手段211は、FeRAM(強誘電体メモリ)などの不揮発性RAMとしてメモリコントローラ210内に組み込んでも構わない。
In FIG. 2, the
ホスト機器101は、メモリカード102との通信を行うためのコマンドに変換を行うプロトコル制御・監視手段202と、表示手段103と、入力手段104と、入力手段104によってユーザから入力された情報をメモリカード102へ伝達したり、メモリカード102からの内容を表示手段103に通知するコンテンツ表示・入力制御手段201と、撮像手段220と、撮像手段220によって生成された映像信号に映像処理を施した上で所望の圧縮形式にエンコードし、エンコード結果をコンテンツデータとしてプロトコル制御・監視手段202に転送するエンコード手段221と、プロトコル制御・監視手段202によってメモリカード102から読み出されたコンテンツデータの圧縮を解き表示手段103に出力するデコード手段207とから構成される。
The
ホスト機器101及びメモリカード102には、その他多くの構成部を有しているが、本発明と直接関係しないので説明を省略する。
Although the
図5は、メタデータ記憶手段205に格納された、コンテンツデータに付随するメタデータについて示した一例である。コンテンツデータを特定するための情報であるコンテンツID(CID)、コンテンツデータ名(NAME)、コンテンツデータのエンコーディングタイプを記載するタイプ情報(TYPE)、関連のあるコンテンツデータをグルーピングするための識別情報であるコンテンツグループID(GID)の一覧からなっている。たとえば、コンテンツIDが1のコンテンツデータは、コンテンツデータ名がPhoto001、RAWタイプすなわちイメージセンサから得られた映像信号をそのまま記録した静止画、コンテンツIDが2のコンテンツデータと同一グループである。またコンテンツIDが2のコンテンツデータは、コンテンツデータ名がPhoto001、JPEGタイプ、すなわちJPEG形式で圧縮された静止画であり、コンテンツIDが1のコンテンツデータと同一グループであることを示している。
FIG. 5 is an example showing metadata associated with content data stored in the
図6は、図5で示されたメタデータ記憶手段205に格納されたメタデータの内容に基づき、コンテンツ管理GUIスクリプト生成手段208が生成し、ホスト機器101が表示手段103に出力する画面上でコンテンツデータの内容を表示するためのスクリプトの一例を記載したものである。スクリプトは<タグ名 アトリビュート=“”>と</タグ名>で表現される階層化された構造をとり、本例では、GIDが1であるコンテンツの動作を記載している。
FIG. 6 shows a screen generated by the content management GUI
図7は、図6で示されたコンテンツ表示スクリプトをコンテンツ表示・入力制御手段201が解釈を行い、表示手段103に表示を行う場合の一例である。図6に示されたスクリプトに従うと、GIDが1のコンテンツは削除(DELETE)・変名(RENAME)・コピー(COPY)・印刷(PRINT)の4つの動作が可能であることを示している。これらの動作は表示手段103を通じて動作ボタン702として表示される。ユーザが表示された動作ボタンに対して入力手段104を通じて押下すると、onClickアトリビュートに記載の動作を実行する。また、thumbnailタグ、textタグの内容から各コンテンツデータのサムネイル701、ファイル名などが表示される。
FIG. 7 shows an example in which the content display /
ここで、入力手段104を通じて、Photo001のPRINTボタン(702)が押下されると、コンテンツID(CID)が1のRAWタイプの静止画が選択され、外部のプリンターにPhoto001のRAWタイプ(図5のコンテンツIDが1)の静止画が転送され、印刷されることとなる。一方Photo001のサムネイル(701)が押下されて再生要求がなされると、thumbnailタグのonClickアトリビュートに記載のコンテンツID=2に基づき、JPEGタイプ(図5のコンテンツIDが2)が選択され、表示手段103にPhoto001のJPEGタイプの静止画が表示されることとなる。
Here, when the Photo001 PRINT button (702) is pressed through the input means 104, a RAW type still image with a content ID (CID) of 1 is selected, and the Photo001 RAW type (FIG. 5) is selected. The still image with the content ID 1) is transferred and printed. On the other hand, when the thumbnail of the Photo001 (701) is pressed and a reproduction request is made, the JPEG type (
図3は、メモリカード102をホスト機器101のメモリカードスロット105に挿入後、ユーザがメモリカード102内に記憶されたコンテンツの内容を一覧表示で確認するまでの手順を表したものである。
FIG. 3 shows the procedure from when the
図3において、ユーザがホスト機器101のメモリカードスロット105にカードを挿入する(ステップ301)と、ホスト機器側のプロトコル制御・監視手段202は挿入を検知する(ステップ302)。挿入検知後、コンテンツ表示・入力制御手段201は、ホスト機器101の能力(Capability:実施可能な機能やパフォーマンス)をメモリカード102に対して通知する(ステップ303)。メモリカード102は、ホスト機器101の能力をホスト機器能力記憶手段209に記憶する(ステップ304)。次に、ホスト機器101のコンテンツ表示・入力制御手段201はメモリカード102に格納されているコンテンツの一覧表示を要求する(ステップ305)。メモリカード102のコンテンツ管理手段204はメタデータ記憶手段205に格納されたコンテンツのメタデータの中から、ホスト機器能力記憶手段209に記憶したホスト機器101側の能力に基づき、ホスト機器101の再生可能なコンテンツを選別する。そして、コンテンツ管理GUIスクリプト生成手段208は図6で記載した一覧表示スクリプトを生成し(ステップ306)、生成されたスクリプトの結果をホスト機器101側に通知する(ステップ307)。ホスト機器101側は、コンテンツ表示・入力制御手段201において、通知されたスクリプトに基づいた画面生成処理を行い(ステップ308)、表示手段103に一覧画面を表示する(ステップ309)。
In FIG. 3, when the user inserts a card into the
上記の処理により、ホスト機器101がメタデータのファイルフォーマットを意識することなく、メモリカード102内に記憶されたコンテンツの内容を一覧表示することが可能となる。
With the above processing, the
また、図4は、図7で示されたような一覧画面表示からユーザが選択したコンテンツ(Photo001)を表示手段103に再生する手順を表したものである。なおユーザ操作としてPhoto001のサムネイルを押下、すなわちJPEGタイプのコンテンツ表示を選択をしたものとする。 FIG. 4 shows a procedure of reproducing the content (Photo001) selected by the user from the list screen display as shown in FIG. It is assumed that the thumbnail of Photo001 is pressed as a user operation, that is, a JPEG type content display is selected.
図4において、ユーザが入力手段104を用いて、表示手段103に表示されたコンテンツ一覧から、所望のコンテンツ(ここでは、Photo001とする)のサムネイル701を押下し、表示を要求する(ステップ401)。ホスト機器101はコンテンツ表示・入力制御手段201を通じて、メモリカード102に対して、コンテンツIDが2のコンテンツ(Photo001のJPEGタイプ)の表示を要求する(ステップ402)。メモリカード102のコンテンツ管理手段204はコンテンツデータ記憶手段206内のコンテンツデータをホスト機器101側に転送する(ステップ403)。ホスト機器101はデコード手段207において、転送されたコンテンツデータをデコードし(ステップ404)、表示手段103に結果を出力する(ステップ405)。
In FIG. 4, the user presses a
次に図8において、ユーザが写真を撮影すると(ステップ801)、撮像手段220から取り込んだ静止画は、エンコード手段221によってエンコード処理されるとともに(ステップ802)、ホスト機器101からメモリカード102にPhoto記録指示がなされ、まずコンテンツグループIDなどのメタデータが転送される(ステップ803)。なおコンテンツデータ名をPhoto001などとする。
Next, in FIG. 8, when the user takes a picture (step 801), the still image captured from the
コンテンツ管理手段204は、コンテンツグループIDなどのメタデータ(図5)をメタデータ記憶手段205に記憶させ(ステップ804)、撮像手段220から得られた映像信号をそのまま記録するRAWタイプの静止画、すなわち図5のコンテンツIDが1のコンテンツデータがメモリカード102に転送され(ステップ805)、コンテンツ管理手段204によってコンテンツデータ記憶手段206に書き込まれる(ステップ806)。その後、エンコード手段221内でJPEG形式に圧縮されたJPEGタイプの静止画、すなわち図5のコンテンツIDが2のコンテンツデータがメモリカード102に転送され(ステップ807)、コンテンツ管理手段204によってコンテンツデータ記憶手段206に書き込まれる(ステップ808)。その後、なお、図8において、JPGはJPEGの略号である。
The
以上のように、メモリコントローラ210内にコンテンツ管理手段204を備え、前述した処理を行うことにより、ホスト機器側に備えられたコンテンツ管理手段の記録方法やエラー対策方法の差異が要因となる、本来必要のない整合性チェックを削減することが可能となる。
As described above, since the
次に、例えば図5のコンテンツID1とコンテンツID2、すなわちPhoto001のRAWタイプとJPEGタイプのように、関連のあるコンテンツデータをメモリカード102に書き込んでいる最中に電源遮断が発生した時のエラー解消方法について図9と図10を用いて説明する。なお以下の説明において、関連のあるコンテンツデータとして、コンテンツデータRAW、コンテンツデータJPGという2つの名称を用いる。
Next, for example,
コンテンツ管理手段204は、図9のフローチャートに従ってコンテンツデータの書き込み処理を行い、電源投入時の初期化処理において図10のフローチャートに従ってエラー解消処理を行う。また、書き込みステータス保持手段211には、コンテンツデータの書き込み処理中に、該コンテンツデータが属するコンテンツグループを識別するためのコンテンツグループIDが一時的に書き込まれるものとする。
The
図9において、ホスト機器101から書き込みコマンドに伴って、コンテンツIDと、コンテンツデータと、コンテンツグループIDを含むメタデータが転送されると(S900)、コンテンツ管理手段204は、該コンテンツグループIDを書き込みステータス保持手段211に書き込む(S901)。次に、コンテンツデータRAWをコンテンツデータ記憶手段206に書き込むと共に、該コンテンツデータRAWに伴ってホスト機器101から転送されたメタデータRAWをメタデータ記憶手段205に書き込む(S902)。次に、コンテンツデータJPGをコンテンツデータ記憶手段206に書き込むと共に、該コンテンツデータJPGに伴ってホスト機器101から転送されたメタデータJPGをメタデータ記憶手段205に書き込む(S903)。最後に、書き込みステータス保持手段211に保持されたコンテンツグループIDを消去し(S904)、書き込みコマンド待機状態(S900)に戻る。なお、書き込みステータス保持手段211に保持されるコンテンツIDは、0以外の整数値をとるものとする。
In FIG. 9, when a content ID, content data, and metadata including a content group ID are transferred from the
このように一連のコンテンツデータの書き込み処理が正常終了したときは、コンテンツグループIDがS904において消去されるので、値が0となっている。一方、電源遮断などにより、一連のコンテンツデータの書き込み処理が異常終了したときは、コンテンツグループIDが残っている。 In this way, when the series of content data writing processing is normally completed, the content group ID is deleted in S904, and thus the value is 0. On the other hand, when a series of content data write processing is terminated abnormally due to power interruption or the like, the content group ID remains.
以上の書き込み処理において、電源遮断などのエラーが発生した場合は、次の電源投入時の初期化処理において、図10に示すエラー解消処理がなされる。図10において、コンテンツ管理手段204は、まず、書き込みステータス保持手段211に保持されたコンテンツグループIDを読み出す(S1000)。該コンテンツIDが0か否かを判断し(S1001)、該コンテンツIDが0の場合は(S1001でYes)、前述した図9のS904の処理がなされた、すなわちコンテンツデータJPGとコンテンツデータRAWの両者が共に正しく書き込まれたと判断し、エラー解消処理を終了する。
In the above writing process, when an error such as power interruption occurs, the error elimination process shown in FIG. 10 is performed in the initialization process at the next power-on. In FIG. 10, the
一方、該コンテンツグループIDが0以外の場合は(S1001でNo)、電源遮断などにより前述した図9のS904の処理がなされなかった、すなわちコンテンツデータJPGとコンテンツデータRAWが共に正しく書き込まれなかったと判断する。この場合、コンテンツデータ記憶手段206に記憶されたコンテンツデータRAWとメタデータ記憶手段205に記憶されたメタデータRAWを消去した後(S1002)、コンテンツデータ記憶手段206に記憶されたコンテンツデータJPGとメタデータ記憶手段205に記憶されたメタデータJPGを消去し(S1003)、コンテンツデータRAW(及びメタデータRAW)とコンテンツデータJPG(及びメタデータJPG)の両者を共に無効にする。その後、書き込みステータス保持手段211に保持されたコンテンツグループIDを消去し(S1004)、エラー解消処理を終了する。
On the other hand, if the content group ID is other than 0 (No in S1001), the processing of S904 in FIG. 9 described above was not performed due to power shutdown or the like, that is, the content data JPG and the content data RAW were not written correctly. to decide. In this case, after erasing the content data RAW stored in the content
以上のように、メモリカード102のコンテンツ管理手段204が、書き込みステータス保持手段211に保持されたコンテンツグループIDに基づき、コンテンツデータRAWとコンテンツデータJPGの両者の書き込み中に電源遮断などのエラーが発生したか否かを判断し、エラーが発生していた場合は、コンテンツデータRAWとコンテンツデータJPGの間に整合性が保たれていない可能性があるとして、既にメモリカード102に記憶されたコンテンツデータRAW(及びメタデータRAW)とコンテンツデータJPG(及びメタデータJPG)の両者を消去(無効に)することにより、コンテンツデータRAWとメタデータJPGの整合性を保つことが可能となる。
As described above, the
(第2の実施の形態)
本発明の不揮発性記憶装置システムの別の実施形態を説明する。本実施の形態の不揮発性記憶装置システムの構成は、第1の実施の形態の不揮発性記憶装置システムの構成と同様であるため説明を省略する。
(Second Embodiment)
Another embodiment of the nonvolatile memory device system of the present invention will be described. The configuration of the nonvolatile memory device system according to the present embodiment is the same as the configuration of the nonvolatile memory device system according to the first embodiment, and thus the description thereof is omitted.
本実施の形態の不揮発性記憶装置システムの動作について説明する。なお、基本的な動作は、第1の実施の形態の不揮発性記憶装置システムと同様である。よってここでは、第1の実施の形態の不揮発性記憶装置システムとの差異である、コンテンツデータの一連の書き込み中に電源遮断が発生した時のエラー解消方法について説明する。 The operation of the nonvolatile memory device system of this embodiment will be described. The basic operation is the same as that of the nonvolatile memory device system according to the first embodiment. Therefore, here, an error solving method when a power interruption occurs during a series of writing of content data, which is a difference from the nonvolatile storage device system of the first embodiment, will be described.
第1の実施の形態の不揮発性記憶装置システムは、エラーのとき、コンテンツデータとメタデータの両者を共に消去し、無効にする。これに対して、本実施による形態の不揮発性記憶装置システムは、エラーのとき、ホスト機器101が再送可能な場合には、再送データにより関連のあるコンテンツデータ、すなわちコンテンツデータRAW(及びメタデータRAW)とコンテンツデータJPG(及びメタデータJPG)の両者を共に書き込み、有効にする一方、ホスト機器101が再送不可能な場合には、前述した無効化処理を行うことを特徴とする。
The nonvolatile storage device system according to the first embodiment erases and invalidates both content data and metadata when an error occurs. On the other hand, in the case of an error, the nonvolatile storage device system according to the present embodiment, when the
コンテンツ管理手段204は、図9のフローチャートに従ってコンテンツデータの書き込み処理を行い、電源投入時の初期化処理において図11のフローチャートに従ってエラー解消処理を行う。また、書き込みステータス保持手段211には、コンテンツデータなどの書き込み処理中に、関連のあるコンテンツデータを識別するためのコンテンツグループIDが一時的に書き込まれるとともに、初期化処理におけるエラー解消処理の最後に(後述するS1109において)、ホスト機器101から取得した、ホスト機器101を識別するためのデバイスIDが一時的に書き込まれるものとする。コンテンツデータの書き込み処理は、第1の実施の形態のフローチャートと同様であるため説明を省略する。
The
図11において、コンテンツ管理手段204は、まず、ホスト機器101から取得したデバイスIDを新デバイスIDとして自分自身のレジスタにラッチする(S1100)。次に、書き込みステータス保持手段211に保持されたコンテンツグループIDを読み出す(S1101)。該コンテンツグループIDが0か否かを判断し(S1102)、該コンテンツグループIDが0の場合は(S1102でYes)、前述した図9のS904の処理がなされた、すなわちコンテンツデータJPGとコンテンツデータRAWの両者が共に正しく書き込まれたと判断し、S1109に移行する。なお、書き込みステータス保持手段211に保持されるコンテンツグループIDは、0以外の整数値をとるものとする。
In FIG. 11, the
一方、該コンテンツグループIDが0以外の場合は(S1102でNo)、電源遮断などにより前述した図9のS904の処理がなされなかった、すなわちコンテンツデータJPGとコンテンツデータRAWが正しく書き込まれなかったと判断する。この場合、コンテンツ管理手段204は、読み出したコンテンツグループIDに基づき、エラーを解消すべきコンテンツグループを特定する。
On the other hand, if the content group ID is other than 0 (No in S1102), it is determined that the processing of S904 in FIG. To do. In this case, the
ホスト機器101がエラーを解消すべきコンテンツデータやそのメタデータを再送可能であるか否かを判断する(S1103)。具体的には、(a)ホスト機器101が電源遮断前のホスト機器と同一であり、且つ、(b)ホスト機器101がバッファを有し、且つ、(c)ホスト機器101の電源状態がOFFされていないか、上記一時保持するバッファがホスト機器内の不揮発性記憶メモリに蓄積されている、あるいは、片方のコンテンツからもう一方のコンテンツが生成可能な場合(コンテンツデータRAWだけが残っている場合、コンテンツデータJPGをエンコード手段221を用いて生成する。)、ホスト機器101が再送可能であると判断する。より具体的には、(a)は、コンテンツ管理手段204は、レジスタにラッチされた新デバイスIDと、後述するS1109においてステータス保持手段211に保持された、電源遮断前のホスト機器のデバイスIDを比較して判断する。(b)は、コンテンツ管理手段204は、メモリカード側プロトコル制御・監視手段203を介してホスト機器101に、ホスト機器101が既に転送したコンテンツデータなどを一時保持するバッファ(SRAMなどで構成)を有するか否かを問い合わせ、この応答により判断する。(c)は、(b)と同様に、ホスト機器101に、ホスト機器101の前記バッファ内に保存されたコンテンツデータなどが電源遮断などのエラー発生後も揮発せずに残っているか否かを問い合わせ、この応答により判断する。
It is determined whether or not the
再送可能な場合は(S1103でYes)、コンテンツ管理手段204は、ホスト機器101にコンテンツデータRAWとメタデータRAWの再送を要求し、再送されたコンテンツデータRAWをコンテンツデータ記憶手段206に書き込むと共に再送されたメタデータRAWをメタデータ記憶手段205に書き込む(S1104)。さらに、コンテンツ管理手段204は、ホスト機器101にコンテンツデータJPGとメタデータJPGの再送を要求し、再送されたコンテンツデータJPGをコンテンツデータ記憶手段206に書き込むと共に再送されたメタデータJPGをメタデータ記憶手段205に書き込む(S1105)。一方、再送不可能な場合は(S1103でNo)、コンテンツデータ記憶手段206に記憶されたコンテンツデータRAWとメタデータ記憶手段205に記憶されたメタデータRAWを消去した後(S1106)、コンテンツデータ記憶手段206に記憶されたコンテンツデータJPGとメタデータ記憶手段205に記憶されたメタデータJPGを消去し(S1107)、コンテンツデータRAW(及びメタデータRAW)とコンテンツデータJPG(及びメタデータJPG)の両者を共に無効にする。
If retransmission is possible (Yes in S1103), the
S1105及びS1107の処理の後、書き込みステータス保持手段211に保持されているコンテンツグループIDを消去し(S1108)、コンテンツ管理手段204のレジスタにラッチされた新デバイスIDをデバイスIDとして、書き込みステータス保持手段211に書き込み(S1109)、エラー解消処理を終了する。
After the processing of S1105 and S1107, the content group ID held in the write
以上のように、メモリカード102のコンテンツ管理手段204が、書き込みステータス保持手段211に保持されたコンテンツグループIDに基づき、一連のコンテンツデータの書き込み中に電源遮断などのエラーが発生したか否かを判断し、エラーが発生していた場合は、コンテンツデータRAWとコンテンツデータJPGの整合性が保たれていない可能性があるとして、ホスト機器101にコンテンツデータRAW(及びメタデータRAW)とコンテンツデータJPG(及びメタデータJPG)の再送を要求し、それらを記録する、もしくは、既にメモリカード102に記憶されたコンテンツデータRAW(及びメタデータRAW)とコンテンツデータJPG(及びメタデータJPG)の両者を消去(無効に)することにより、コンテンツデータRAWとコンテンツデータJPGとの整合性を保つことが可能となる。
As described above, based on the content group ID held in the write
なお、前述した第1及び第2の実施の形態では、書き込みステータス保持手段211は、コンテンツデータ記憶手段206と同様に、フラッシュメモリなどの不揮発性メモリ内に割り当てられた記憶領域であったが、該フラッシュメモリとは別の不揮発性メモリであってもよい。また、書き込みステータス保持手段211は、メモリコントローラ210内にあってもよい。
In the first and second embodiments described above, the write
なお、前述した第1及び第2の実施の形態では、書き込みステータス保持手段211に保持されるコンテンツIDは、0以外の整数値をとるものとしたが、文字列やバイナリデータなどコンテンツを一意に識別できる形態であればよい。
In the first and second embodiments described above, the content ID held in the write
なお、前述した第1及び第2の実施の形態では、コンテンツグループIDがホスト機器101から送られてくることとしたが、コンテンツ管理手段204がメモリカード102内で一意となるようにコンテンツグループIDを付与してもよい。
In the first and second embodiments described above, the content group ID is sent from the
なお、前述した第1及び第2の実施の形態では、メモリカード内のデータの一覧表示や、コンテンツデータの書き込みや削除あるいは印刷などを例にあげたが、メタデータに基づくコンテンツデータの検索など、従来ホスト機器側で対応していたデータ管理にも適用してもよい。 In the first and second embodiments described above, the list display of data in the memory card and the writing, deleting or printing of content data are given as examples. However, content data search based on metadata, etc. The present invention may also be applied to data management that is conventionally supported on the host device side.
なお、前述した第1及び第2の実施の形態では、静止画に関する応用例であったが、動画やオーディオにも適応することが可能である。 In the first and second embodiments described above, the application example is related to a still image, but it can also be applied to moving images and audio.
なお、前述した第1及び第2の実施の形態では、JPEGタイプとRAWタイプの2種類のタイプに固定したシステムを例に説明したが、他の圧縮形式のタイプに適用することも可能である。また、撮影時にユーザが圧縮形式のタイプを選択しても構わない。コンテンツのタイプが2種類の例で説明したが、3以上の複数種類に同一のコンテンツグループIDをつけることで、3以上の複数種類のコンテンツのタイプに適用することも可能である。また、圧縮形式のタイプだけでなく、JPEGファイルとその縮小画であるサムネイルファイルや、動画ファイルとその代表画像ファイルであってもかまわない。また、AVCHD規格やBD−ROM、BD−RE規格で用いられているような、映像データファイルと映像データに関する高速シークのためのタイムサーチテーブルなどを格納したクリップ管理情報ファイルなどメタデータを格納したファイルに用いることも可能である。 In the first and second embodiments described above, the system fixed to two types of the JPEG type and the RAW type has been described as an example. However, the system can be applied to other types of compression formats. . Also, the user may select the type of compression format at the time of shooting. Although two types of content have been described above, the same content group ID can be assigned to three or more types, so that it can be applied to three or more types of content. In addition to the type of compression format, a JPEG file and a thumbnail file that is a reduced image thereof, a moving image file and a representative image file thereof may be used. Also, metadata such as a clip management information file that stores a video data file and a time search table for high-speed seek related to the video data as used in the AVCHD standard, the BD-ROM, and the BD-RE standard are stored. It can also be used for files.
なお、前述した第2の実施の形態のエラー解消処理のS1104及びS1105において、コンテンツ管理手段204は、再送されたデータを最初から最後まで全て書き換えてもよいし、また異常な部分のみ書き足してもよい。
In S1104 and S1105 of the error elimination processing of the second embodiment described above, the
第2の実施の形態の不揮発性記憶装置システムは、コンテンツデータJPGとコンテンツデータRAWの両者を共に有効にするか無効にするかというエラー解消処理を行っている。さらに、図9のS902やS903において、コンテンツデータJPGとコンテンツデータRAWそれぞれ独立に書き込み完了を識別するフラグなどを書き込みステータス保持手段211に保持させることにより、コンテンツデータJPGとコンテンツデータRAWそれぞれ独立にチェック及びエラー解消を行うことも可能となる。これにより、さらにホスト機器101からの再送処理に係る時間的オーバーヘッドを軽減することができる。
The non-volatile storage device system according to the second embodiment performs an error elimination process for enabling or disabling both the content data JPG and the content data RAW. Further, in S902 and S903 of FIG. 9, the content status JPG and the content data RAW are independently checked by causing the write status holding means 211 to hold a flag for identifying the completion of writing independently in the content data JPG and the content data RAW. It is also possible to eliminate errors. Thereby, the time overhead concerning the retransmission processing from the
以上のように、メモリコントローラ210内にコンテンツ管理手段204を備えることにより、従来ホスト機器101側に備えられたコンテンツ管理手段の記録方法やエラー対策方法の差異が要因となる、本来必要のない整合性チェックを削減することが可能となる。さらに、書き込みステータス保持手段211に保持されたコンテンツグループIDに基づき、該コンテンツグループIDに対応する関連のある複数のコンテンツデータ間の整合性チェックを行う。これにより、書き込みステータス保持手段211に保持された1つのコンテンツグループIDを読み出すだけで、電源遮断などのエラーの有無を判定できる。さらに、エラーが発生していた場合でも、コンテンツグループIDによりエラー発生時に書き込んでいた、不整合が生じている可能性が高いコンテンツグループを特定できるので、短時間でエラーを解消することができる。その結果、電源立ち上げから撮影開始に至るまでの起動時間を短縮することが可能となる。また、書き込みステータス保持手段211にデバイスIDを保持することにより、エラーが発生した場合にコンテンツデータ等を再送してエラーを解消することもできるので、貴重なデータがなくなる可能性が低くなり、撮影し直しなどの余計な手間がかからなくなる。
As described above, by providing the
本発明にかかる不揮発性記憶装置システムは、整合性チェックにかかる時間が短くかつユーザに共通GUIを提供することが可能な方法を提案したものであり、半導体メモリカード等の不揮発性記憶装置を使用した静止画記録再生装置や動画記録再生装置、あるいは携帯電話において有益である。 The nonvolatile memory device system according to the present invention proposes a method that can provide a common GUI to a user with a short time required for consistency check, and uses a nonvolatile memory device such as a semiconductor memory card. This is useful in a still image recording / reproducing apparatus, a moving image recording / reproducing apparatus, or a mobile phone.
101 ホスト機器
102 メモリカード
103 表示手段
104 入力手段
105 メモリカードスロット
201 コンテンツ表示・入力制御手段
202 ホスト機器側のプロトコル制御・監視手段
203 メモリカード側のプロトコル制御・監視手段
204 コンテンツ管理手段
205 メタデータ記憶手段
206 コンテンツデータ記憶手段
207 デコード手段
208 コンテンツ管理GUIスクリプト生成手段
209 ホスト機器能力記憶手段
210 メモリコントローラ
211 書き込みステータス保持手段
220 撮像手段
221 エンコード手段
DESCRIPTION OF
Claims (21)
前記コンテンツデータの管理を行うコンテンツ管理手段を備え、
前記コンテンツ管理手段は、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するとともに、前記不揮発性メモリに保持された、書き込み中である前記コンテンツグループを識別する書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とするメモリコントローラ。 A memory controller connected to a non-volatile memory and reading and writing content data in response to an access instruction from an external host device,
Content management means for managing the content data;
The content management means manages a plurality of related content data as a content group, and the content group is stored on the nonvolatile memory based on write status information for identifying the content group being written. A memory controller that eliminates inconsistencies in the memory.
前記コンテンツデータの管理を行うとともに、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するコンテンツ管理手段と、
書き込み中である前記コンテンツグループを識別する書き込みステータス情報を保持する書き込みステータス保持手段と、を備え、
前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とするメモリコントローラ。 A memory controller that is connected to a nonvolatile memory and reads and writes content data and metadata related to the content data in response to an access instruction from an external host device,
Content management means for managing the content data and managing a plurality of related content data as a content group;
Write status holding means for holding write status information for identifying the content group being written,
The memory controller according to claim 1, wherein the content management means resolves inconsistencies in the content group based on the write status information.
前記コンテンツデータ、関連のある複数の前記コンテンツデータをコンテンツグループとして識別するコンテンツグループID及び書き込み中である前記コンテンツグループを識別する書き込みステータス情報を記憶する不揮発性メモリと、
前記不揮発性メモリに該コンテンツデータを読み書きするメモリコントローラと、を備え、
前記メモリコントローラは、
前記コンテンツデータの管理を行うコンテンツ管理手段を備え、
前記コンテンツ管理手段は、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するとともに、前記不揮発性メモリに保持された、書き込み中である前記コンテンツグループを識別する書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする不揮発性記憶装置。 A non-volatile storage device that reads and writes content data in response to an access instruction from an external host device,
A nonvolatile memory for storing the content data, a content group ID for identifying the plurality of related content data as a content group, and write status information for identifying the content group being written;
A memory controller that reads and writes the content data to and from the nonvolatile memory,
The memory controller is
Content management means for managing the content data;
The content management means manages a plurality of related content data as a content group, and the content group is stored on the nonvolatile memory based on write status information for identifying the content group being written. A non-volatile memory device characterized in that inconsistency is eliminated.
前記コンテンツデータ及び関連のある複数の前記コンテンツデータをコンテンツグループとして識別するコンテンツグループIDを記憶する不揮発性メモリと、
前記不揮発性メモリに該コンテンツデータ及び該コンテンツグループIDを読み書きするメモリコントローラと、を備え、
前記メモリコントローラは、
前記コンテンツデータの管理を行うとともに、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するコンテンツ管理手段と、
書き込み中である前記コンテンツグループを識別する書き込みステータス情報を保持する書き込みステータス保持手段と、を備え、
前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする不揮発性記憶装置。 A non-volatile storage device that reads and writes content data in response to an access instruction from an external host device,
A non-volatile memory for storing a content group ID for identifying the content data and a plurality of related content data as a content group;
A memory controller that reads and writes the content data and the content group ID in the nonvolatile memory,
The memory controller is
Content management means for managing the content data and managing a plurality of related content data as a content group;
Write status holding means for holding write status information for identifying the content group being written,
The non-volatile storage device according to claim 1, wherein the content management means resolves inconsistency in the content group based on the write status information.
し及び書き込みを行う不揮発性記憶装置と、を備えた不揮発性記憶装置システムであって、
前記不揮発性記憶装置は、前記コンテンツデータ、関連のある複数の前記コンテンツデータをコンテンツグループとして識別するコンテンツグループID及び書き込み中である前記コンテンツグループを識別する書き込みステータス情報を記憶する不揮発性メモリと、前記不揮発性メモリに該コンテンツデータを読み書きするメモリコントローラと、を備え、
前記メモリコントローラは、
前記コンテンツデータの管理を行うコンテンツ管理手段を備え、
前記コンテンツ管理手段は、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するとともに、前記不揮発性メモリに保持された、書き込み中である前記コンテンツグループを識別する書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする不揮発性記憶装置システム。 A nonvolatile storage device system comprising: a host device; and a nonvolatile storage device that reads and writes content data in response to an access instruction from the host device,
The nonvolatile storage device stores the content data, a content group ID for identifying the plurality of related content data as a content group, and write status information for identifying the content group being written, and A memory controller that reads and writes the content data to and from the nonvolatile memory,
The memory controller is
Content management means for managing the content data;
The content management means manages a plurality of related content data as a content group, and the content group is stored on the nonvolatile memory based on write status information for identifying the content group being written. A non-volatile storage device system that eliminates inconsistencies in
前記不揮発性記憶装置は、前記コンテンツデータ及び関連のある複数の前記コンテンツデータをコンテンツグループとして識別するコンテンツグループIDを記憶する不揮発性メモリと、前記不揮発性メモリに該コンテンツデータ及び該コンテンツグループIDを読み書きするメモリコントローラと、を備え、
前記メモリコントローラは、
前記コンテンツデータの管理を行うとともに、関連のある複数の前記コンテンツデータをコンテンツグループとして管理するコンテンツ管理手段と、
書き込み中である前記コンテンツグループを識別する書き込みステータス情報を保持する書き込みステータス保持手段と、を備え、
前記コンテンツ管理手段は、前記書き込みステータス情報に基づき、前記コンテンツグループにおける不整合を解消することを特徴とする不揮発性記憶装置システム。 A nonvolatile storage device system comprising: a host device; and a nonvolatile storage device that reads and writes content data in response to an access instruction from the host device,
The nonvolatile storage device stores a content group ID for identifying the content data and a plurality of related content data as a content group, and stores the content data and the content group ID in the nonvolatile memory. A memory controller for reading and writing,
The memory controller is
Content management means for managing the content data and managing a plurality of related content data as a content group;
Write status holding means for holding write status information for identifying the content group being written,
The non-volatile storage device system, wherein the content management means eliminates inconsistency in the content group based on the write status information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007186068A JP2009025899A (en) | 2007-07-17 | 2007-07-17 | MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007186068A JP2009025899A (en) | 2007-07-17 | 2007-07-17 | MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2009025899A true JP2009025899A (en) | 2009-02-05 |
Family
ID=40397674
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007186068A Pending JP2009025899A (en) | 2007-07-17 | 2007-07-17 | MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009025899A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009148095A1 (en) | 2008-06-04 | 2009-12-10 | 株式会社神戸製鋼所 | Tire shape inspection method and tire shape inspection device |
| KR20170130180A (en) * | 2016-05-18 | 2017-11-28 | 에스케이텔레콤 주식회사 | Method and Apparatus for Processing Data Using Non-Volatile Memory |
-
2007
- 2007-07-17 JP JP2007186068A patent/JP2009025899A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009148095A1 (en) | 2008-06-04 | 2009-12-10 | 株式会社神戸製鋼所 | Tire shape inspection method and tire shape inspection device |
| KR20170130180A (en) * | 2016-05-18 | 2017-11-28 | 에스케이텔레콤 주식회사 | Method and Apparatus for Processing Data Using Non-Volatile Memory |
| KR102134905B1 (en) | 2016-05-18 | 2020-08-26 | 에스케이 텔레콤주식회사 | Method and Apparatus for Processing Data Using Non-Volatile Memory |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101097577B (en) | File management device and electronic equipment | |
| US7457827B2 (en) | Information file recording apparatus | |
| CN102227136B (en) | Imaging apparatus | |
| KR20080060155A (en) | Information processing device, information processing method, program | |
| JPWO2007052531A1 (en) | File recording apparatus and imaging apparatus | |
| US20220269716A1 (en) | File processing device, file processing method, and program | |
| JP2007179435A (en) | Information processing apparatus, information processing method, and program | |
| KR100601682B1 (en) | A method for moving a media file, a device, and a storage medium storing a program for performing the method | |
| JP5027805B2 (en) | MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM | |
| JP2009025899A (en) | MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM | |
| US8279726B2 (en) | Recording device for recording a content into a plurality of recording media and control method thereof | |
| JP2008310889A (en) | Recording / playback device | |
| JP4405860B2 (en) | Control device for controlling image processing apparatus | |
| JP4595936B2 (en) | Information processing apparatus, information processing method, and program | |
| JP2002024060A (en) | File storage device | |
| JP2000092440A (en) | Electronic still camera and automatic maintenance method for consistency between thumbnail image and recorded image | |
| US20090169185A1 (en) | Optical disk playback apparatus and method for managing data in optical disk playback apparatus | |
| US7868941B2 (en) | Data transfer apparatus, image capturing apparatus, and data transfer system | |
| JP4677373B2 (en) | Imaging apparatus, system, control method therefor, program, and storage medium | |
| JP2005269333A (en) | Copy program | |
| JP7475930B2 (en) | Imaging device and control method thereof | |
| JP4693735B2 (en) | Still image file recording and editing device | |
| JP5258419B2 (en) | Image processing device | |
| JP2024099141A (en) | Video recording device, video recording device control method, and program | |
| JP4957498B2 (en) | Recording apparatus, recording method, and program |