JP4184709B2 - Data processing system, data processing method, and data processing program - Google Patents

Data processing system, data processing method, and data processing program Download PDF

Info

Publication number
JP4184709B2
JP4184709B2 JP2002145359A JP2002145359A JP4184709B2 JP 4184709 B2 JP4184709 B2 JP 4184709B2 JP 2002145359 A JP2002145359 A JP 2002145359A JP 2002145359 A JP2002145359 A JP 2002145359A JP 4184709 B2 JP4184709 B2 JP 4184709B2
Authority
JP
Japan
Prior art keywords
data
recording medium
storage device
data processing
stored
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.)
Expired - Fee Related
Application number
JP2002145359A
Other languages
Japanese (ja)
Other versions
JP2003339008A (en
Inventor
稔 川端
博彦 坂下
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2002145359A priority Critical patent/JP4184709B2/en
Publication of JP2003339008A publication Critical patent/JP2003339008A/en
Application granted granted Critical
Publication of JP4184709B2 publication Critical patent/JP4184709B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、デジタルスチルカメラ、半導体音楽プレーヤー、デジタルテレビなどのデータ出力装置に対してデータ授受を行う、メモリカードなどのデータ記録媒体およびデータ処理装置およびデータ保存装置により構成されたデータ処理システム、データ処理方法およびデータ処理プログラムに関する。
【0002】
【従来の技術】
近年、不揮発性メモリであるフラッシュメモリの高密度化、低価格化などにより、メモリカードを応用した機器が急増している。例えば、スチルカメラの分野においては、入力画像を電気信号に変換する撮像素子の高画質化によりデジタルスチルカメラの普及率が、急速に増加している。このデジタルスチルカメラのデータ保存媒体にも、各種メモリカードが用いられている。
【0003】
デジタルスチルカメラにおいては、撮像素子により電気信号に変換された画像データが、メモリカードに書き込まれる。そのメモリカードをデジタルスチルカメラから取り出し、パーソナルコンピュータなどのデータ処理装置に接続することにより、画像データがメモリカードからデータ処理装置に転送される。転送された画像データは、データ処理装置による各種処理が可能となる。
【0004】
以下、図面を参照しながら、メモリカードを用いた従来のデータ処理システムの一例について説明を行う。
【0005】
図5は、メモリカードを用いた従来のデータ処理システムの構成を示したブロック図である。
【0006】
図5において、メモリカード11は、内部にフラッシュメモリなどの不揮発性メモリ、もしくはSRAM(スタティックランダムアクセスメモリ)などの揮発性メモリおよびそのデータを保持するためのデータ保持用電源を備え、またはそれ以外のデータ保存のための手段を備えている。以下、メモリカード11内部の不揮発性メモリ、揮発性メモリなどのデータ保存手段を内部メモリと呼ぶ。
【0007】
メモリカード11の端面に装備したコネクタを、デジタルスチルカメラなどの外部機器と接続することにより、メモリカード11の内部メモリに格納されたデータは外部機器へ出力され、外部機器からのデータはメモリカード11の内部メモリに格納される。
【0008】
このようにメモリカード11においては、データが内部メモリに格納および内部メモリから出力されることにより、外部機器とのデータ授受が行われている。
【0009】
外部機器は、メモリカード11のコネクタに接続可能なコネクタを有する。メモリカード11は、コネクタを介して外部機器への着脱が可能であり、データが書き込まれた状態で外部機器から分離して携帯することが可能である。
【0010】
データ処理装置12は、上述のメモリカード11のコネクタに接続可能なコネクタを有する。メモリカード11とデータ処理装置12との接続により、データ処理装置12は、メモリカード11内部のデータa1の読み出しおよび処理を行い、処理のなされたデータb1を入出力装置13に出力する。
【0011】
入出力装置13は、データ処理装置12から出力されたデータb1を様々な方法により出力する。例えば、音楽データはスピーカから再生され、映像データは画面に表示され、または印刷される。また、入出力装置13は、データ処理装置12にデータb2を入力する。
【0012】
データ処理装置12は、入出力装置13からのデータb2を入力および処理し、処理のなされたデータa2をメモリカード11へ書き込む。例えば、マイクからの音声データや撮像素子からの映像データなどの種々のデータb2が、データ処理装置12に対して入力および処理され、メモリカード11へデータa2として書き込まれる。
【0013】
このようにして、入出力装置13とメモリカード11との間でデータ処理装置12を介してデータの授受が行われる。
【0014】
【発明が解決しようとする課題】
上記のデータ処理システムでは、メモリカード11をデータ処理装置12および外部機器から分離して携帯できる。しかしながら、メモリカード11が外部機器から分離して携帯されているとき、人体などに帯電した静電気がメモリカード11に装備されたコネクタにおいて放電すると、メモリカード11内部のデータが破損する場合がある。
【0015】
また、メモリカード11がデータ処理装置12に接続され、各種データの読み書きがされているときに、メモリカード11が誤操作などにより抜き取られてしまい、あるいは、データ処理装置12に不具合が生じた場合にも、メモリカード内部のデータが破損するおそれがある。
【0016】
本発明の目的は、携帯可能な記録媒体内部のデータの破損を容易かつ確実に修復することができるデータ処理システム、データ処理方法およびデータ処理プログラムを提供することである。
【0017】
【課題を解決するための手段】
(1)第1の発明
第1の発明に係るデータ処理システムは、データの読み書きが可能である携帯可能な記録媒体に記録されるデータを処理するデータ処理システムであって、記録媒体と接続可能な接続部を有し、接続部に接続された記録媒体との間でデータ授受を行うとともにデータ処理を行うデータ処理装置と、データ処理装置から与えられるデータを保存するデータ保存装置とを備え、データ処理装置は、接続部に記録媒体が接続されたことを検知する検知手段と、検知手段による接続の検知に応答して記録媒体からデータを入力するデータ入力手段と、データ入力手段により入力されたデータをデータ保存装置に保存されたデータと比較する比較手段と、比較手段によりデータ保存装置に名称および記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別された場合にデータ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータを記録媒体に再格納する再格納手段とを含むものである。
【0018】
本発明に係るデータ処理システムにおいては、データ処理装置の接続部に記録媒体が接続されたことが検知手段により検知され、検知手段による接続の検知に応答してデータ入力手段により記録媒体からデータが入力される。そして、データ入力手段により入力されたデータは、比較手段によりデータ保存装置に保存されたデータと比較され、比較手段によりデータ保存装置に名称および記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別されたとき、再格納手段によりデータ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータが記録媒体に再格納される。
【0019】
この場合、記録媒体内部のデータが常にデータ保存装置に保存されたデータと比較されるため、ユーザによる保存作業時の誤操作や保存作業忘れにより記録媒体内部のデータが破損したときに、記録媒体内の破損したデータはデータ保存装置に保存されたデータにより修復される
【0020】
(2)第2の発明
第2の発明に係るデータ処理システムは、第1の発明に係るデータ処理システムの構成において、データ処理装置は、比較手段によりデータ保存装置に名称が同一のデータが存在しないと判別された場合に、入力手段により入力されたデータをデータ保存装置に保存させる保存処理手段とを含むものである。
【0021】
この場合、検知手段による接続の検知に応答してデータ入力手段により記録媒体からデータが入力される。また、データ入力手段により入力されたデータは、比較手段によりデータ保存装置に保存されたデータと比較され、比較手段によりデータ保存装置に名称が同一のデータが存在しないと判別されたとき、データ入力手段により入力されたデータが保存処理手段によりデータ保存装置に保存される。したがって、ユーザが指示することなく新しい名称のデータが記録媒体内部からデータ保存装置へ自動的に保存される。
【0024】
)第の発明
の発明に係るデータ処理システムは、第の発明に係るデータ処理システムの構成において、再格納手段は、比較手段によりデータ保存装置に名称および記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別された場合にデータ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータを記録媒体に再格納するか否かの指令を受け付け、再格納する旨の指令を受け取った場合にデータ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータを記録媒体に再格納するものである。
【0025】
この場合、比較手段によりデータ保存装置に名称および記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別されたときに、再格納手段はデータ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータを記録媒体に再格納するか否かの指令を受け付け再格納する旨の指令を受け取ることにより、データ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータを記録媒体に再格納する。したがって、ユーザにより修復すべきデータの選別を行うことができ、必要なデータのみを記録媒体に再格納することができる。
【0026】
)第の発明
の発明に係るデータ処理システムは、第の発明に係るデータ処理システムの構成において、再格納手段は、再格納する旨の指令を受け取らない場合にデータ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータを記録媒体に再格納しないものである。
【0027】
この場合、再格納する旨の指令を受け取らないときに、再格納手段はデータ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータを記録媒体に再格納しない。したがって、ユーザは修復すべきデータの選別を行うことができ、必要のないデータを記録媒体に再格納することはない。
【0028】
)第の発明
の発明に係るデータ処理システムは、第2〜第のいずれかの発明に係るデータ処理システムの構成において、保存処理手段は、比較手段によりデータ保存装置に名称が同一で記録媒体に対するデータの作成日時が異なるデータが存在すると判別された場合に、入力手段により入力されたデータをデータ保存装置に保存させるものである。
【0029】
この場合、比較手段によりデータ保存装置に名称が同一で記録媒体に対するデータの作成日時が異なるデータが存在すると判別されたとき、保存処理手段は入力手段により入力されたデータをデータ保存装置に保存させる。したがって、記録媒体において更新されたデータが常に最新のデータとしてデータ保存装置に保存される。
【0030】
)第の発明
の発明に係るデータ処理システムは、第の発明に係るデータ処理システムの構成において、保存処理手段は、比較手段によりデータ保存装置に名称が同一で記録媒体に対するデータの作成日時が異なるデータが存在すると判別された場合に、データ入力手段により入力されたデータをデータ保存装置に保存された同一名称のデータに上書きするか否かの指令を受け付け、上書きする旨の指令を受け取った場合にデータ入力手段により入力されたデータをデータ保存装置に保存された同一名称のデータに代えて保存させるものである。
【0031】
比較手段によりデータ保存装置に名称が同一で記録媒体に対するデータの作成日時が異なるデータが存在すると判別された場合に、保存処理手段は、データ入力手段により入力されたデータをデータ保存装置に保存された同一名称のデータに上書きするか否かの指令を受け付け、上書きする旨の指令を受け取ったときに、データ入力手段により入力されたデータをデータ保存装置に保存された同一名称のデータに代えて保存させる。したがって、記録媒体において更新されたデータが常に最新のデータとしてデータ保存装置に保存される。
【0032】
)第の発明
の発明に係るデータ処理システムは、第の発明に係るデータ処理システムの構成において、保存処理手段は、上書きする旨の指令を受け取らない場合に、データ入力手段により入力されたデータをデータ保存装置に保存された同一名称のデータに上書きしないものである。
【0033】
この場合、保存処理手段は上書きする旨の指令を受け取らないときに、データ入力手段により入力されたデータをデータ保存装置に保存された同一名称のデータに上書きしない。したがって、ユーザは更新する前のデータをデータ保存装置に残すことができる。
【0034】
)第の発明
の発明に係るデータ処理システムは、第1〜第の発明に係るデータ処理システムの構成において、記録媒体は、メモリカードである。
【0035】
この場合、記録媒体がメモリカードであり、これによりメモリカードを用いた各種外部機器への適用が可能である。
【0036】
)第の発明
の発明に係るデータ処理方法は、データの読み書きが可能である携帯可能な記録媒体を接続可能な接続部を有するデータ処理装置によりデータ保存装置とデータを処理するデータ処理方法であって、接続部に記録媒体が接続されたことを検知するステップと、接続の検知に応答して記録媒体からデータを入力するステップと、前記データの入力により入力されたデータを前記データ保存装置に保存されたデータと比較するステップと、前記データの比較により前記データ保存装置に名称および前記記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別された場合に前記データ保存装置に保存された名称および前記記録媒体に対するデータの作成日時が同一のデータを前記記録媒体に再格納する再格納させるステップとを含むものである。
【0037】
の発明に係るデータ処理方法においては、データの読み書きが可能である携帯可能な記録媒体を接続可能な接続部を有するデータ処理装置によりデータ保存装置とデータを処理するデータ処理方法であって、接続部に記録媒体が接続されたことを検知し、接続の検知に応答して記録媒体からデータを入力する。そして、入力されたデータは、データ保存装置に保存されたデータと比較され、比較によりデータ保存装置に名称および記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別されたとき、データ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータが記録媒体に再格納させる。
【0038】
この場合、記録媒体内部のデータが常にデータ保存装置に保存されたデータと比較されるため、ユーザによる保存作業時の誤操作や保存作業忘れにより記録媒体内部のデータが破損したときに、記録媒体内の破損したデータはデータ保存装置に保存されたデータにより修復される
【0039】
10)第10の発明
10の発明に係るデータ処理プログラムは、データの読み書きが可能である携帯可能な記録媒体を接続可能な接続部を有するデータ処理装置によりデータ保存装置とデータを処理するデータ処理プログラムであって、接続部に記録媒体が接続されたことを検知する処理と、接続の検知に応答して記録媒体からデータを入力する処理と、前記データの入力により入力されたデータを前記データ保存装置に保存されたデータと比較する処理と、前記データの比較により前記データ保存装置に名称および前記記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別された場合に前記データ保存装置に保存された名称および前記記録媒体に対するデータの作成日時が同一のデータを前記記録媒体に再格納する再格納させる処理とをデータ処理装置に実行させるものである。第10の発明に係るデータ処理プログラムにおいては、データの読み書きが可能である携帯可能な記録媒体を接続可能な接続部を有するデータ処理装置によりデータを処理するデータ処理プログラムであって、これによりデータ処理装置は、接続部に記録媒体が接続されたことを検知する処理および接続の検知に応答して記録媒体からデータを入力する。そして、入力されたデータは、データ保存装置に保存されたデータと比較され、比較によりデータ保存装置に名称および記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別されたとき、データ保存装置に保存された名称および記録媒体に対するデータの作成日時が同一のデータが記録媒体に再格納させる処理を実行すべき指令を受けて実行する。
【0040】
この場合、記録媒体内部のデータが常にデータ保存装置に保存されたデータと比較されるため、ユーザによる保存作業時の誤操作や保存作業忘れにより記録媒体内部のデータが破損したときに、記録媒体内の破損したデータはデータ保存装置に保存されたデータにより修復される
【0041】
【発明の実施の形態】
以下、本発明の実施の形態を、図1〜図4に基づいて説明する。
【0042】
(第1の実施の形態)
図1は、本発明の第1の実施の形態におけるデータ処理システムの構成を示すブロック図である。
【0043】
図1において、メモリカード1は、内部にフラッシュメモリなどの不揮発性メモリ、もしくはSRAM(スタティックランダムアクセスメモリ)などの揮発性メモリおよびそのデータを保持するためのデータ保持用電源を備え、またはそれ以外のデータ保存のための手段を備えている。以下、メモリカード1内部の不揮発性メモリ、揮発性メモリなどのデータ保存手段を内部メモリと呼ぶ。
【0044】
メモリカード1の端面に装備したコネクタを、デジタルスチルカメラなどの外部機器と接続することにより、メモリカード1の内部メモリに格納されたデータは外部機器へ出力され、外部機器からのデータはメモリカード1の内部メモリに格納される。
【0045】
このようにメモリカード1においては、データが内部メモリに格納および内部メモリから出力されることにより、外部機器とのデータ授受が行われている。外部機器は、メモリカード1のコネクタに接続可能なコネクタを有する。メモリカード1は、コネクタを介して外部機器への着脱が可能であり、データが書き込まれた状態で外部機器から分離して携帯することが可能である。
【0046】
データ処理装置2は、例えば、パーソナルコンピュータからなり、上述のメモリカード1のコネクタに接続可能なコネクタを有する。データ処理装置2には、入出力装置3およびデータ保存装置4が接続されている。
【0047】
メモリカード1とデータ処理装置2との接続により、データ処理装置2は、メモリカード1内部のデータa1の読み込みおよび処理を行い、処理のなされたデータb1を入出力装置3に出力する。
【0048】
入出力装置3は、データ処理装置2から出力されたデータb1を様々な方法により出力する。例えば、音楽データはスピーカから再生され、映像データは画面に表示され、または印刷される。
【0049】
また、入出力装置3は、データ処理装置2にデータb2を入力する。データ処理装置2は、入出力装置3からのデータb2を入力および処理し、処理のなされたデータa2をメモリカード1へ書き込む。例えば、マイクからの音声データや撮像素子からの映像データなどの種々のデータb2が、データ処理装置2に対して入力および処理され、メモリカード1へデータa2として書き込まれる。
【0050】
このようにして、入出力装置3とメモリカード1との間でデータ処理装置2を介してデータの授受が行われる。
【0051】
図1におけるデータ保存装置4は、後述するようにデータ処理装置2から与えられるデータc1を保存し、メモリカード1のデータ修復時にデータc2をデータ処理装置2に与える。
【0052】
ここで、データ処理装置2の構成および動作について、図2のブロック図に基づき説明する。
【0053】
図2は、主としてデータ処理装置2の構成を示すブロック図である。
データ処理装置2は、CPU(中央演算処理装置)100、ROM(リードオンリメモリ)101、RAM(ランダムアクセスメモリ)102、メモリカード専用インターフェイス103、コネクタ1Bおよび記録媒体駆動装置104を含む。メモリカード1はコネクタ1Aを有する。
【0054】
ROM101にはシステムプログラムが記憶される。メモリカード専用インターフェイス103は、コネクタ1Aおよび1Bを介してメモリカード1のデータの読み書きを行い、メモリカード1の接続の際には、接続の検知を示す検知信号をCPU100へ出力する。
【0055】
記録媒体駆動装置104は、CD−ROMドライブ、フロッピイディスクドライブなどからなり、CD−ROM、フロッピイディスクなどの記録媒体105に対してデータの読み書きを行う。記録媒体105には、データ処理を行うためのデータ処理プログラムが記録されている。このデータ処理プログラムは、後述する自動バックアップ機能を実行する。
【0056】
データ保存装置4はハードディスク装置などからなり、記録媒体駆動装置104を介して記録媒体105から読み込まれたデータ処理プログラムを記憶するとともに、メモリカード1から読み込まれたデータを保存する。CPU100は、データ保存装置4に記憶されたデータ処理プログラムを、RAM102上で実行する。
【0057】
なお、データ処理プログラムを記録する記録媒体105としては、ROMなどの半導体メモリやハードディスクなどの種々の記録媒体を用いることができる。また、データ処理プログラムを通信回線などの通信媒体を介してデータ保存装置4にダウンロードし、RAM102上で実行してもよい。
【0058】
次に、メモリカード1内部のデータを自動的に保存する自動バックアップ機能について、図1および図3に基づき以下に説明する。
【0059】
図3は、図2のCPU100により実行されるデータ処理プログラムの処理を示すフローチャートである。
【0060】
メモリカード1とデータ処理装置2との接続により、メモリカード専用インターフェイス103からCPU100に検知信号が与えられる。それにより、CPU100は、メモリカード1が接続されたことを検知し(ステップS1)、自動的にメモリカード1内部のデータa1を読み込む(ステップS2)。そのデータa1を保存するデータc1に変換し(ステップS3)、データ保存装置4に出力する(ステップS4)。データ保存装置4には、データ処理装置2から出力されたデータc1がメモリカード1のバックアップデータとして保存される。
【0061】
本実施の形態によれば、メモリカード1をデータ処理装置2へ接続すると、メモリカード1の接続が検知され、メモリカード1内部のデータa1が自動的にデータ保存装置4へバックアップデータとして保存される。そのため、ユーザーがデータの保存操作などのわずらわしさから解放されると同時に、ユーザーによる保存操作ミスや保存し忘れによるデータ損失が防止できる。
【0062】
(第2の実施の形態)
次に、本発明の第2の実施の形態におけるデータ処理システムについて説明する。本実施の形態のデータ処理システムの構成は、図1に示した構成と同様である。本実施の形態においては、データ処理プログラムの処理が、第1の実施の形態と異なる。
【0063】
以下の説明において、本実施の形態のデータ処理システムが扱うデータa1,a2,c1,c2には、作成日時情報(データa1がメモリーカード1に記録された作成日時の情報)が付帯されている。これにより、本実施の形態に係るデータ処理装置2は、メモリーカード1内部のデータa1を読み込む際に、データa1とともに作成日時情報も読み込む。
【0064】
データ処理装置2は、メモリカード1より読み込んだデータa1をデータc1に変換してデータ保存装置4に出力するとともに、データc1にデータa1の作成日時情報を付帯させてデータ保存装置4に出力する。そして、データ保存装置4には、作成日時情報が付帯されたデータc2が保存される。
【0065】
データ処理装置2は、メモリカード1との接続時に、データa1およびデータc2のデータ名とデータ内容とを比較する。また、同時にデータ処理装置2は、データa1に付帯された作成日時情報とデータc2に付帯された作成日時情報とを比較する。データ処理装置2は、上記に示す比較動作において、データa1とデータc2との間で、または、データa1に付帯された作成日時情報とデータc2に付帯された作成日時情報との間で差異が生じた場合は、自動もしくは手動でデータc2をメモリカード1へ書き込むといった修復処理を行う。
【0066】
図4は、メモリカード1内部のデータを保護するために、図2のCPU100により実行されるデータ処理プログラムの処理を示すフローチャートである。
【0067】
メモリカード1とデータ処理装置2との接続により、メモリカード専用インターフェイス103からCPU100に検知信号が与えられる。それにより、CPU100は、メモリカード1が接続されたことを検知し(ステップS10)、メモリカード1内部のデータa1と、前回保存したデータ保存装置4内部のデータc2とを比較する(ステップS11)。
【0068】
まず、データa1およびデータc2のデータ名が同一か否かを判別する(ステップS12)。データ名が同一でない場合は、メモリカード1からのデータa1をデータ保存装置4に保存する(ステップS13)。その後、後述のステップS20に進む。
【0069】
一方、データ名が同一の場合は、データa1に付帯された作成日時情報とデータc2に付帯された作成日時情報とが同一か否かを判別する(ステップS14)。データ名が同一であってもデータa1に付帯された作成日時情報とデータc2に付帯された作成日時情報とが異なっている場合、そのデータa1は、内容が更新されているものと判別される。
【0070】
そこで、CPU100は、データa1をデータ保存装置4へバックアップデータとして保存する際に、現在の保存されているデータc2に上書きするかどうかをユーザに問い合わせ、ユーザが上書きを指定したか否かを判別する(ステップS15)。ユーザが上書きを指定した場合には、CPU100は、メモリカード1からのデータa1をデータ保存装置4に保存する(ステップS13)。そして、後述のステップS20に進む。また、ステップS15において、ユーザが上書きを指定しない場合には、保存処理を行わずに後述のステップS20に進む。
【0071】
また、ステップS14においてデータa1とデータc2とが同一データ名であって、データa1に付帯された作成日時情報とデータc2に付帯された作成日時情報とが同一である場合、CPU100は、データa1およびデータb1のデータ内容が同一であるか否かを判別する(ステップS16)。ここでデータ内容が同一である場合は、CPU100は、データa1とデータc2は何も更新されていない全く同一のデータであると判断し、保存処理を行わずに後述のステップS20に進む。
【0072】
一方、データa1とデータc2とが同一データ名で、かつデータa1に付帯された作成日時情報とデータc2に付帯された作成日時情報とが同一であって、データa1とデータc2とのデータの中身のみが異なっている場合、CPU100は、前回保存した後にメモリカード1内部のデータa1が破損していると判別する(ステップS17)。その場合、前回バックアップされているデータc2をメモリカード1に書き込み、破損したデータa1に正常なデータc2を上書きすることにより、破損したデータa1を修復する(ステップS19)。その後、ステップS20に進む。
【0073】
修復の処理は自動的に行えるが、本データ処理システムは、メモリカード1のデータaについて修復を行うか否かをユーザに指定させることもできる(ステップS18)。ユーザが修復しないと指定した場合は、ステップS20へ進む。
【0074】
なお、データ保存装置にデータc2が存在しない場合、第1の実施の形態に示す動作と同様にCPU100は、自動的にメモリカード1のデータa1についてバックアップデータをデータ保存装置4へ保存する処理を行う。ステップS20においては、各種処理工程の後さらにステップS11へ戻り再処理を行うか、または終了するかをユーザが指定できる。
【0075】
本実施の形態によれば、データ処理装置2は、メモリカード1をデータ処理装置2へ接続すると、メモリカード1の接続が検知され、メモリカード1内部のデータa1が自動的にデータ保存装置4へバックアップデータとして保存される。そのため、ユーザーがデータの保存操作などのわずらわしさから解放されると同時に、ユーザーによる保存操作ミスや保存のし忘れによるデータ損失が防止できる。また、携帯されていたメモリカード1内部のデータa1と保存されていたデータc2の内容の比較により、データa1が、破損しているか否かがチェックされ、破損している場合には自動もしくは手動でデータc2を用いて破損しているデータが修復される。
【0076】
なお、以上の説明では映像信号処理や音声信号処理についてメモリカードを用いたデータ処理システム、データ処理方法およびデータ処理プログラムについて述べたが、本データ処理システムは、これら以外のデータ処理においても同様の効果が得られるものである。またデータ保存装置4についてのデータ保存手段においては、揮発性メモリ、不揮発性メモリ、ハードディスク、データ保存テープなど、どのような手段を用いても本データ処理システムは、同様の効果を得ることができる。上記実施の形態では、携帯可能な記録媒体がメモリカードである場合について説明したが、携帯可能な記録媒体はこれに限定されず、CD−ROM(コンパクトディスクリードオンリメモリ)やフロッピィディスクなどの他の記録媒体を用いることもできる。
【0077】
【発明の効果】
本発明によれば、記録媒体内部のデータが常にデータ保存装置に保存されるため、ユーザによる保存作業時の誤操作や保存作業忘れにより記録媒体内部のデータが破損したときに、データ保存装置に保存されたデータを用いてこの破損を修復することができる。
【図面の簡単な説明】
【図1】本発明の第1、第2の実施の形態におけるデータ処理システムのブロック図
【図2】データ処理装置の構成を示したデータ処理システムのブロック図
【図3】本発明の第1の実施の形態によるデータ処理システムの処理フローチャート
【図4】本発明の第2の実施の形態によるデータ処理システムの処理フローチャート
【図5】メモリカードを用いた従来のデータ処理システムのブロック図
【符号の説明】
1,11 メモリカード
2 データ処理装置
3 入出力装置
4 データ保存装置
12 データ処理装置
13 入出力装置
100 CPU
101 ROM
102 RAM
103 メモリカード専用インターフェイス
104 記録媒体駆動装置
105 記録媒体
1A,1B コネクタ
a1,a2,b1,b2,c1,c2 データ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing system including a data recording medium such as a memory card, a data processing device, and a data storage device, which exchange data with a data output device such as a digital still camera, a semiconductor music player, and a digital television. The present invention relates to a data processing method and a data processing program.
[0002]
[Prior art]
In recent years, devices using memory cards are rapidly increasing due to the high density and low price of flash memory which is a nonvolatile memory. For example, in the field of still cameras, the prevalence of digital still cameras is rapidly increasing due to the high image quality of image sensors that convert input images into electrical signals. Various memory cards are also used as a data storage medium of the digital still camera.
[0003]
In a digital still camera, image data converted into an electric signal by an image sensor is written to a memory card. The memory card is taken out from the digital still camera and connected to a data processing device such as a personal computer, whereby image data is transferred from the memory card to the data processing device. The transferred image data can be variously processed by the data processing apparatus.
[0004]
Hereinafter, an example of a conventional data processing system using a memory card will be described with reference to the drawings.
[0005]
FIG. 5 is a block diagram showing a configuration of a conventional data processing system using a memory card.
[0006]
In FIG. 5, the memory card 11 includes a nonvolatile memory such as a flash memory or a volatile memory such as SRAM (Static Random Access Memory) and a data holding power source for holding the data, or otherwise. Means for data storage. Hereinafter, data storage means such as a nonvolatile memory and a volatile memory in the memory card 11 are referred to as an internal memory.
[0007]
By connecting a connector provided on the end face of the memory card 11 to an external device such as a digital still camera, the data stored in the internal memory of the memory card 11 is output to the external device, and the data from the external device is stored in the memory card. 11 internal memory.
[0008]
As described above, in the memory card 11, data is transferred to and from an external device by storing data in the internal memory and outputting the data from the internal memory.
[0009]
The external device has a connector that can be connected to the connector of the memory card 11. The memory card 11 can be attached to and detached from an external device via a connector, and can be carried separately from the external device in a state where data is written.
[0010]
The data processing device 12 has a connector that can be connected to the connector of the memory card 11 described above. By connecting the memory card 11 and the data processing device 12, the data processing device 12 reads and processes the data a 1 inside the memory card 11 and outputs the processed data b 1 to the input / output device 13.
[0011]
The input / output device 13 outputs the data b1 output from the data processing device 12 by various methods. For example, music data is reproduced from a speaker, and video data is displayed on a screen or printed. Further, the input / output device 13 inputs the data b2 to the data processing device 12.
[0012]
The data processing device 12 inputs and processes the data b2 from the input / output device 13, and writes the processed data a2 to the memory card 11. For example, various data b2 such as audio data from a microphone and video data from an image sensor is input to the data processing device 12, processed, and written to the memory card 11 as data a2.
[0013]
In this manner, data is exchanged between the input / output device 13 and the memory card 11 via the data processing device 12.
[0014]
[Problems to be solved by the invention]
In the above data processing system, the memory card 11 can be carried separately from the data processing device 12 and external devices. However, when the memory card 11 is carried away from an external device, if the static electricity charged on the human body or the like is discharged at a connector provided in the memory card 11, the data inside the memory card 11 may be damaged.
[0015]
In addition, when the memory card 11 is connected to the data processing device 12 and various data is being read / written, the memory card 11 is removed due to an erroneous operation or the like, or when the data processing device 12 is defective. However, the data inside the memory card may be damaged.
[0016]
An object of the present invention is to provide a data processing system, a data processing method, and a data processing program capable of easily and reliably repairing damage to data inside a portable recording medium.
[0017]
[Means for Solving the Problems]
(1) First invention
A data processing system according to a first aspect of the present invention is a data processing system for processing data recorded on a portable recording medium capable of reading and writing data, and has a connection portion connectable to the recording medium, The data processing apparatus includes a data processing device that performs data processing with a recording medium connected to the connection unit and performs data processing, and a data storage device that stores data provided from the data processing device. Detecting means for detecting that the recording medium is connected to the recording medium, and inputting data from the recording medium in response to detection of the connection by the detecting means. The data input means, the comparison means for comparing the data input by the data input means with the data stored in the data storage device, and the name and the data creation date and time for the recording medium are the same in the data storage device by the comparison means and the contents Storage means for re-storing in the recording medium data having the same name and data creation date and time stored in the data storage device when it is determined that there is different data Is included.
[0018]
In the data processing system according to the present invention, the detection means detects that the recording medium is connected to the connection portion of the data processing apparatus, and responds to the detection of the connection by the detection means. Data is input from the recording medium by the data input means. Then, the data input by the data input means is compared with the data stored in the data storage device by the comparison means, and the name and the date and time of creation of the data for the recording medium are the same and the contents differ in the data storage device by the comparison means. When it is determined that the data exists, the data stored in the data storage device by the re-storage means and the data having the same data creation date / time are re-stored in the recording medium. Is done.
[0019]
In this case, the data inside the recording medium is always stored in the data storage device. Compared to the data Therefore, when the data inside the recording medium is damaged due to an erroneous operation during storage work by the user or forgetting the storage work, Corrupted data in the recording medium is repaired by data stored in the data storage device .
[0020]
(2) Second invention
A data processing system according to a second invention is the configuration of the data processing system according to the first invention. Data processing equipment And a storage processing unit that stores data input by the input unit in the data storage unit when the comparison unit determines that there is no data having the same name in the data storage unit.
[0021]
In this case, data is input from the recording medium by the data input means in response to detection of the connection by the detection means. The data input by the data input means is compared with the data stored in the data storage device by the comparison means, and the data input is performed when the comparison means determines that there is no data having the same name in the data storage device. The data input by the means is stored in the data storage device by the storage processing means. Therefore, data with a new name is automatically saved from the inside of the recording medium to the data storage device without an instruction from the user.
[0024]
( 3 No. 3 Invention
First 3 The data processing system according to the invention is 1 In the configuration of the data processing system according to the invention, the re-storing means stores the data when it is determined by the comparing means that data having the same name and the creation date and time of the data for the recording medium and different contents exist in the data storage device. It accepts a command whether or not data with the same name and data creation date for the recording medium stored in the device should be re-stored in the recording medium, and is stored in the data storage device when a command to re-store is received The data having the same name and the same data creation date and time are re-stored in the recording medium.
[0025]
In this case, when it is determined by the comparison means that the data storage device has data having the same name and the same data creation date and time but different contents, the re-storage means stores the name and the record stored in the data storage device. Creating a name stored in the data storage device and the data for the recording medium by receiving an instruction to accept and restore the data whether or not the data with the same date and time is created in the recording medium Re-store data with the same date and time on the recording medium. Therefore, data to be repaired can be selected by the user, and only necessary data can be re-stored in the recording medium.
[0026]
( 4 No. 4 Invention
First 4 The data processing system according to the invention is 3 In the configuration of the data processing system according to the invention, the re-storing means records the data having the same name stored in the data storage device and the same data creation date and time with respect to the recording medium when the re-storing instruction is not received. Is not stored again.
[0027]
In this case, when a command for re-storing is not received, the re-storing unit does not re-stor the data having the same name stored in the data storage device and the same data creation date / time for the recording medium in the recording medium. Therefore, the user can select data to be restored, and does not re-store unnecessary data in the recording medium.
[0028]
( 5 No. 5 Invention
First 5 The data processing system according to the invention of the second to second 4 In the configuration of the data processing system according to any one of the above, the storage processing means inputs the data when the comparison means determines that data having the same name and different data creation dates for the recording medium exists in the data storage device. The data input by the means is stored in the data storage device.
[0029]
In this case, when it is determined by the comparison means that there is data having the same name and different data creation date / time for the recording medium, the storage processing means causes the data storage apparatus to store the data input by the input means. . Therefore, the data updated in the recording medium is always stored in the data storage device as the latest data.
[0030]
( 6 No. 6 Invention
First 6 The data processing system according to the invention is 5 In the configuration of the data processing system according to the invention, the storage processing means uses the data input means when the comparison means determines that there is data having the same name and different data creation dates for the recording medium in the data storage device. Accepts a command whether or not to overwrite the data with the same name stored in the data storage device with the input data, and when the data overwriting command is received, the data input by the data input means is stored in the data storage device. Instead of the saved data having the same name, the data is saved.
[0031]
When it is determined by the comparing means that data having the same name and different data creation date / time for the recording medium exists in the data storage apparatus, the storage processing means stores the data input by the data input means in the data storage apparatus. In response to a command for whether or not to overwrite data with the same name, when the command for overwriting is received, the data input by the data input means is replaced with the data with the same name stored in the data storage device. Save. Therefore, the data updated in the recording medium is always stored in the data storage device as the latest data.
[0032]
( 7 No. 7 Invention
First 7 The data processing system according to the invention is 6 In the configuration of the data processing system according to the invention, the storage processing means does not overwrite the data having the same name stored in the data storage device with the data input by the data input means when it does not receive an overwriting command. Is.
[0033]
In this case, when the storage processing unit does not receive a command to overwrite, the data input by the data input unit does not overwrite the data having the same name stored in the data storage device. Therefore, the user can leave the data before updating in the data storage device.
[0034]
( 8 No. 8 Invention
First 8 The data processing system according to the present invention includes the first to the first. 7 In the configuration of the data processing system according to the invention, the recording medium is a memory card.
[0035]
In this case, the recording medium is a memory card, which can be applied to various external devices using the memory card.
[0036]
( 9 No. 9 Invention
First 9 The data processing method according to the invention includes a data processing device having a connection portion to which a portable recording medium capable of reading and writing data can be connected. With data storage device A data processing method for processing data, the step of detecting that a recording medium is connected to a connection unit, and inputting data from the recording medium in response to detection of connection Comparing the data input by inputting the data with the data stored in the data storage device, and comparing the data with the name of the data storage device and the date of creation of the data for the recording medium are the same In addition, when it is determined that there is data having different contents, the data stored in the data storage device and the data having the same data creation date / time for the recording medium are stored again in the recording medium. And a step of causing
[0037]
First 9 In the data processing method according to the invention, the data processing apparatus includes a connection unit to which a portable recording medium capable of reading and writing data can be connected. With data storage device A data processing method for processing data, which detects that a recording medium is connected to a connection unit, and inputs data from the recording medium in response to detection of connection . The input data is compared with the data stored in the data storage device, and when it is determined by comparison that the data storage device has data with the same name and the date and time of data creation for the recording medium but with different contents , Data stored in the data storage device and data with the same creation date and time for the recording medium are re-stored in the recording medium Let
[0038]
In this case, the data inside the recording medium is always stored in the data storage device. Compared to the data Therefore, when the data inside the recording medium is damaged due to an erroneous operation during storage work by the user or forgetting the storage work, Corrupted data in the recording medium is repaired by data stored in the data storage device .
[0039]
( 10 No. 10 Invention
First 10 A data processing program according to the invention is provided by a data processing apparatus having a connection portion to which a portable recording medium capable of reading and writing data can be connected. With data storage device A data processing program for processing data, a process for detecting that a recording medium is connected to a connection unit, and inputting data from the recording medium in response to detection of the connection The processing, the processing for comparing the data input by the input of the data with the data stored in the data storage device, and the comparison of the data have the same name in the data storage device and the creation date of the data for the recording medium In addition, when it is determined that there is data having different contents, the data stored in the data storage device and the data having the same data creation date / time for the recording medium are stored again in the recording medium. The data processing device executes the processing to be performed. First 10 The data processing program according to the present invention is a data processing program for processing data by a data processing device having a connection portion to which a portable recording medium capable of reading and writing data can be connected. Responds to the process of detecting that the recording medium is connected to the connection unit and the detection of the connection, and inputs data from the recording medium. . The input data is compared with the data stored in the data storage device, and when it is determined by comparison that the data storage device has data with the same name and the same data creation date and time for the recording medium but with different contents , Data stored in the data storage device and data with the same creation date and time for the recording medium are re-stored in the recording medium The process to be executed is received and executed.
[0040]
In this case, the data inside the recording medium is always stored in the data storage device. Compared to the data Therefore, when the data inside the recording medium is damaged due to an erroneous operation during storage work by the user or forgetting the storage work, Corrupted data in the recording medium is repaired by data stored in the data storage device .
[0041]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to FIGS.
[0042]
(First embodiment)
FIG. 1 is a block diagram showing a configuration of a data processing system according to the first embodiment of the present invention.
[0043]
In FIG. 1, a memory card 1 includes a nonvolatile memory such as a flash memory or a volatile memory such as SRAM (Static Random Access Memory) and a data holding power source for holding the data, or otherwise. Means for data storage. Hereinafter, data storage means such as a nonvolatile memory and a volatile memory inside the memory card 1 are referred to as an internal memory.
[0044]
By connecting the connector provided on the end face of the memory card 1 to an external device such as a digital still camera, the data stored in the internal memory of the memory card 1 is output to the external device, and the data from the external device is the memory card. 1 in the internal memory.
[0045]
As described above, in the memory card 1, data is transferred to and from an external device by storing data in the internal memory and outputting the data from the internal memory. The external device has a connector that can be connected to the connector of the memory card 1. The memory card 1 can be attached to and detached from an external device via a connector, and can be carried separately from the external device in a state where data is written.
[0046]
The data processing device 2 is composed of, for example, a personal computer and has a connector that can be connected to the connector of the memory card 1 described above. An input / output device 3 and a data storage device 4 are connected to the data processing device 2.
[0047]
By connecting the memory card 1 and the data processing device 2, the data processing device 2 reads and processes the data a 1 inside the memory card 1, and outputs the processed data b 1 to the input / output device 3.
[0048]
The input / output device 3 outputs the data b1 output from the data processing device 2 by various methods. For example, music data is reproduced from a speaker, and video data is displayed on a screen or printed.
[0049]
Further, the input / output device 3 inputs the data b2 to the data processing device 2. The data processing device 2 inputs and processes the data b2 from the input / output device 3, and writes the processed data a2 to the memory card 1. For example, various data b2 such as audio data from a microphone and video data from an image sensor is input to the data processing device 2 and processed, and written to the memory card 1 as data a2.
[0050]
In this manner, data is exchanged between the input / output device 3 and the memory card 1 via the data processing device 2.
[0051]
The data storage device 4 in FIG. 1 stores the data c1 given from the data processing device 2 as will be described later, and gives the data c2 to the data processing device 2 when the memory card 1 is restored.
[0052]
Here, the configuration and operation of the data processing apparatus 2 will be described based on the block diagram of FIG.
[0053]
FIG. 2 is a block diagram mainly showing the configuration of the data processing device 2.
The data processing device 2 includes a CPU (Central Processing Unit) 100, a ROM (Read Only Memory) 101, a RAM (Random Access Memory) 102, a memory card dedicated interface 103, a connector 1B, and a recording medium driving device 104. The memory card 1 has a connector 1A.
[0054]
The ROM 101 stores a system program. The memory card dedicated interface 103 reads / writes data from / to the memory card 1 via the connectors 1A and 1B, and outputs a detection signal indicating detection of connection to the CPU 100 when the memory card 1 is connected.
[0055]
The recording medium driving device 104 includes a CD-ROM drive, a floppy disk drive, and the like, and reads / writes data from / to the recording medium 105 such as a CD-ROM or a floppy disk. In the recording medium 105, a data processing program for performing data processing is recorded. This data processing program executes an automatic backup function described later.
[0056]
The data storage device 4 includes a hard disk device or the like, stores a data processing program read from the recording medium 105 via the recording medium driving device 104, and stores data read from the memory card 1. The CPU 100 executes a data processing program stored in the data storage device 4 on the RAM 102.
[0057]
As the recording medium 105 for recording the data processing program, various recording media such as a semiconductor memory such as a ROM and a hard disk can be used. Alternatively, the data processing program may be downloaded to the data storage device 4 via a communication medium such as a communication line and executed on the RAM 102.
[0058]
Next, an automatic backup function for automatically storing data in the memory card 1 will be described below with reference to FIGS.
[0059]
FIG. 3 is a flowchart showing the processing of the data processing program executed by the CPU 100 of FIG.
[0060]
By connecting the memory card 1 and the data processing device 2, a detection signal is given to the CPU 100 from the memory card dedicated interface 103. Thereby, the CPU 100 detects that the memory card 1 is connected (step S1), and automatically reads the data a1 in the memory card 1 (step S2). The data a1 is converted into data c1 to be stored (step S3) and output to the data storage device 4 (step S4). In the data storage device 4, the data c <b> 1 output from the data processing device 2 is stored as backup data for the memory card 1.
[0061]
According to the present embodiment, when the memory card 1 is connected to the data processing device 2, the connection of the memory card 1 is detected, and the data a1 inside the memory card 1 is automatically stored as backup data in the data storage device 4. The As a result, the user is freed from the trouble of storing data and the like, and at the same time, it is possible to prevent data loss due to a user's mistake in storing operation or forgetting to save.
[0062]
(Second Embodiment)
Next, a data processing system according to the second embodiment of the present invention will be described. The configuration of the data processing system of this embodiment is the same as the configuration shown in FIG. In the present embodiment, the processing of the data processing program is different from that of the first embodiment.
[0063]
In the following description, data a1, a2, c1, c2 handled by the data processing system according to the present embodiment is accompanied by creation date information (information of creation date when data a1 is recorded on the memory card 1). . Thereby, when the data processing device 2 according to the present embodiment reads the data a1 in the memory card 1, the data processing device 2 also reads the creation date information together with the data a1.
[0064]
The data processing device 2 converts the data a1 read from the memory card 1 into data c1 and outputs it to the data storage device 4, and attaches the creation date / time information of the data a1 to the data c1 and outputs it to the data storage device 4. . The data storage device 4 stores data c2 attached with creation date and time information.
[0065]
When connected to the memory card 1, the data processing device 2 compares the data names of the data a1 and the data c2 with the data contents. At the same time, the data processing device 2 compares the creation date information attached to the data a1 and the creation date information attached to the data c2. In the comparison operation shown above, the data processing device 2 has a difference between the data a1 and the data c2, or between the creation date information attached to the data a1 and the creation date information attached to the data c2. If it occurs, a repair process is performed in which the data c2 is automatically or manually written to the memory card 1.
[0066]
FIG. 4 is a flowchart showing the processing of the data processing program executed by the CPU 100 of FIG. 2 in order to protect the data inside the memory card 1.
[0067]
By connecting the memory card 1 and the data processing device 2, a detection signal is given to the CPU 100 from the memory card dedicated interface 103. Thereby, the CPU 100 detects that the memory card 1 is connected (step S10), and compares the data a1 in the memory card 1 with the data c2 in the data storage device 4 stored last time (step S11). .
[0068]
First, it is determined whether or not the data names of the data a1 and the data c2 are the same (step S12). If the data names are not the same, the data a1 from the memory card 1 is stored in the data storage device 4 (step S13). Then, it progresses to below-mentioned step S20.
[0069]
On the other hand, if the data names are the same, it is determined whether the creation date information attached to the data a1 is the same as the creation date information attached to the data c2 (step S14). Even if the data name is the same, if the creation date information attached to the data a1 is different from the creation date information attached to the data c2, it is determined that the content of the data a1 is updated. .
[0070]
Therefore, when storing the data a1 as backup data in the data storage device 4, the CPU 100 inquires of the user whether to overwrite the currently stored data c2, and determines whether the user has specified overwriting. (Step S15). When the user designates overwriting, the CPU 100 stores the data a1 from the memory card 1 in the data storage device 4 (step S13). And it progresses to below-mentioned step S20. In step S15, if the user does not designate overwriting, the process proceeds to step S20 described later without performing the saving process.
[0071]
In step S14, if the data a1 and the data c2 have the same data name and the creation date information attached to the data a1 and the creation date information attached to the data c2 are the same, the CPU 100 determines that the data a1 It is determined whether or not the data contents of the data b1 are the same (step S16). If the data contents are the same, the CPU 100 determines that the data a1 and the data c2 are completely the same data that has not been updated, and proceeds to step S20 described later without performing the saving process.
[0072]
On the other hand, the data a1 and the data c2 have the same data name, and the creation date information attached to the data a1 and the creation date information attached to the data c2 are the same, and the data a1 and the data c2 If only the contents are different, the CPU 100 determines that the data a1 in the memory card 1 has been damaged after the previous save (step S17). In that case, the damaged data a1 is repaired by writing the data c2 backed up last time to the memory card 1 and overwriting the damaged data a1 with the normal data c2 (step S19). Thereafter, the process proceeds to step S20.
[0073]
Although the repair process can be performed automatically, the data processing system can also allow the user to specify whether or not to repair the data a of the memory card 1 (step S18). If the user specifies not to repair, the process proceeds to step S20.
[0074]
If the data c2 does not exist in the data storage device, the CPU 100 automatically stores the backup data for the data a1 of the memory card 1 in the data storage device 4 as in the operation described in the first embodiment. Do. In step S20, the user can specify whether to return to step S11 after various processing steps to perform reprocessing or to end the processing.
[0075]
According to the present embodiment, when the data processing device 2 connects the memory card 1 to the data processing device 2, the connection of the memory card 1 is detected, and the data a1 in the memory card 1 is automatically stored in the data storage device 4. Saved as backup data. As a result, the user is freed from the troublesome task of storing data, and at the same time, it is possible to prevent data loss due to an error in saving operation by the user or forgetting to save. Further, by comparing the contents of the data a1 in the memory card 1 carried and the data c2 stored, it is checked whether or not the data a1 is damaged. The data c2 is repaired using the data c2.
[0076]
In the above description, a data processing system using a memory card, a data processing method, and a data processing program have been described for video signal processing and audio signal processing. However, the data processing system is similar in data processing other than these. An effect is obtained. In addition, the data storage system for the data storage device 4 can achieve the same effect regardless of the means used such as a volatile memory, a nonvolatile memory, a hard disk, and a data storage tape. . In the above embodiment, the case where the portable recording medium is a memory card has been described. However, the portable recording medium is not limited to this, and other CD-ROM (compact disk read only memory), floppy disk, and the like. These recording media can also be used.
[0077]
【The invention's effect】
According to the present invention, the data inside the recording medium is always stored in the data storage device. Therefore, when the data inside the recording medium is damaged due to an erroneous operation during the storage operation by the user or forgetting the storage operation, the data is stored in the data storage device. This data can be used to repair this corruption.
[Brief description of the drawings]
FIG. 1 is a block diagram of a data processing system according to first and second embodiments of the present invention.
FIG. 2 is a block diagram of the data processing system showing the configuration of the data processing apparatus.
FIG. 3 is a process flowchart of the data processing system according to the first embodiment of the present invention.
FIG. 4 is a process flowchart of a data processing system according to the second embodiment of the present invention.
FIG. 5 is a block diagram of a conventional data processing system using a memory card.
[Explanation of symbols]
1,11 memory card
2 Data processing device
3 I / O devices
4 Data storage device
12 Data processing device
13 Input / output devices
100 CPU
101 ROM
102 RAM
103 Dedicated interface for memory card
104 Recording medium driving device
105 Recording medium
1A, 1B connector
a1, a2, b1, b2, c1, c2 data

Claims (10)

データの読み書きが可能である携帯可能な記録媒体に記録されるデータを処理するデータ処理システムであって、
前記記録媒体と接続可能な接続部を有し、前記接続部に接続された前記記録媒体との間でデータ授受を行うとともにデータ処理を行うデータ処理装置と、
前記データ処理装置から与えられるデータを保存するデータ保存装置とを備え、
前記データ処理装置は、
前記接続部に前記記録媒体が接続されたことを検知する検知手段と、
前記検知手段による接続の検知に応答して前記記録媒体からデータを入力するデータ入力手段と、
前記データ入力手段により入力されたデータを前記データ保存装置に保存されたデータと比較する比較手段と、
前記比較手段により前記データ保存装置に名称および前記記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別された場合に前記データ保存装置に保存された名称および前記記録媒体に対するデータの作成日時が同一のデータを前記記録媒体に再格納する再格納手段とを含むことを特徴とするデータ処理システム。
A data processing system for processing data recorded on a portable recording medium capable of reading and writing data,
A data processing device having a connection unit connectable to the recording medium, and performing data processing while performing data exchange with the recording medium connected to the connection unit;
A data storage device for storing data provided from the data processing device,
The data processing device includes:
Detecting means for detecting that the recording medium is connected to the connection unit;
Data input means for inputting data from the recording medium in response to detection of connection by the detection means;
A comparison means for comparing the data input by the data input means with the data stored in the data storage device;
The name stored in the data storage device and the data for the recording medium when it is determined by the comparison means that the data storage device has data having the same name and the same data creation date and time but different contents A data processing system comprising: a re-storing unit for re-storing data having the same creation date and time in the recording medium .
前記データ処理装置は、
前記比較手段により前記データ保存装置に名称が同一のデータが存在しないと判別された場合に前記入力手段により入力されたデータを前記データ保存装置に保存させる保存処理手段とをさらに含むことを特徴とする請求項1記載のデータ処理システム。
The data processing device includes:
The data storage device further includes storage processing means for storing the data input by the input means when the comparison means determines that there is no data having the same name in the data storage device. The data processing system according to claim 1.
前記再格納手段は、
前記比較手段により前記データ保存装置に名称および前記記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別された場合に前記データ保存装置に保存された名称および前記記録媒体に対するデータの作成日時が同一のデータを前記記録媒体に再格納するか否かの指令を受け付け、再格納する旨の指令を受け取った場合に前記データ保存装置に保存された名称および前記記録媒体に対するデータの作成日時が同一のデータを前記記録媒体に再格納することを特徴とする請求項記載のデータ処理システム。
The re-storing means includes
The name stored in the data storage device and the data for the recording medium when it is determined by the comparison means that the data storage device has data having the same name and the same data creation date and time but different contents Accepts a command as to whether or not data having the same creation date and time is to be re-stored in the recording medium, and when a command to re-store is received, the name stored in the data storage device and the data for the recording medium data processing system according to claim 1, wherein the creation date and time, characterized in that the re-storing the same data in the recording medium.
前記再格納手段は、
前記再格納する旨の指令を受け取らない場合に前記データ保存装置に保存された名称および前記記録媒体に対するデータの作成日時が同一のデータを前記記録媒体に再格納しないことを特徴とする請求項記載のデータ処理システム。
The re-storing means includes
Claim 3, wherein the creation date of the data for the stored names and said recording medium to said data storage device when not receiving instruction to re-store is not stored again the same data on the recording medium The data processing system described.
前記保存処理手段は、
前記比較手段により前記データ保存装置に名称が同一で前記記録媒体に対するデータの作成日時が異なるデータが存在すると判別された場合に前記入力手段により入力されたデータを前記データ保存装置に保存させることを特徴とする請求項2〜のいずれかに記載のデータ処理システム。
The storage processing means includes
The data storage device stores data input by the input device when it is determined by the comparison unit that there is data having the same name and different data creation date and time for the recording medium in the data storage device. The data processing system according to any one of claims 2 to 4 , wherein the data processing system is characterized in that:
前記保存処理手段は、
前記比較手段により前記データ保存装置に名称が同一で前記記録媒体に対するデータの作成日時が異なるデータが存在すると判別された場合に前記データ入力手段により入力されたデータを前記データ保存装置に保存された同一名称のデータに上書きするか否かの指令を受け付け、上書きする旨の指令を受け取った場合に前記データ入力手段により入力されたデータを前記データ保存装置に保存された同一名称のデータに代えて保存させることを特徴とする請求項記載のデータ処理システム。
The storage processing means includes
The data input by the data input unit is stored in the data storage device when it is determined by the comparison unit that the data storage device has the same name but different data creation date and time for the recording medium. Accepts a command whether or not to overwrite data with the same name, and replaces the data input by the data input means with the data with the same name stored in the data storage device when a command to overwrite is received. 6. The data processing system according to claim 5 , wherein the data processing system is stored.
前記保存処理手段は、
前記上書きする旨の指令を受け取らない場合に前記データ入力手段により入力されたデータを前記データ保存装置に保存された同一名称のデータに上書きしないことを特徴とする請求項記載のデータ処理システム。
The storage processing means includes
7. The data processing system according to claim 6 , wherein when the overwriting instruction is not received, the data input by the data input means is not overwritten on the data having the same name stored in the data storage device.
前記記録媒体は、
メモリカードであることを特徴とする請求項1〜のいずれかに記載のデータ処理システム。
The recording medium is
Data processing system according to any one of claims 1 to 7, characterized in that a memory card.
データの読み書きが可能である携帯可能な記録媒体を接続可能な接続部を有するデータ処理装置によりデータ保存装置とデータを処理するデータ処理方法であって、
前記接続部に前記記録媒体が接続されたことを検知するステップと、
前記接続の検知に応答して前記記録媒体からデータを入力するステップと、
前記データの入力により入力されたデータを前記データ保存装置に保存されたデータと比較するステップと、
前記データの比較により前記データ保存装置に名称および前記記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別された場合に前記データ保存装置に保存された名称および前記記録媒体に対するデータの作成日時が同一のデータを前記記録媒体に再格納する再格納させるステップとを含むことを特徴とするデータ処理方法。
A data processing method for processing data with a data storage device by a data processing device having a connection unit capable of connecting a portable recording medium capable of reading and writing data,
Detecting that the recording medium is connected to the connection unit;
Inputting data from the recording medium in response to detection of the connection ;
Comparing the data input by the input of the data with the data stored in the data storage device;
When it is determined by comparison of the data that there is data having the same name and the date and time of creation of data for the recording medium in the data storage device and different contents, the name stored in the data storage device and the recording medium And re-storing data having the same data creation date and time on the recording medium .
データの読み書きが可能である携帯可能な記録媒体を接続可能な接続部を有するデータ処理装置によりデータ保存装置とデータを処理するデータ処理プログラムであって、
前記接続部に前記記録媒体が接続されたことを検知する処理と、
前記接続の検知に応答して前記記録媒体からデータを入力する処理と、
前記データの入力により入力されたデータを前記データ保存装置に保存されたデータと比較する処理と、
前記データの比較により前記データ保存装置に名称および前記記録媒体に対するデータの作成日時が同一でかつ内容が異なるデータが存在すると判別された場合に前記データ保存装置に保存された名称および前記記録媒体に対するデータの作成日時が同一のデータを前記記録媒体に再格納する再格納させる処理とを前記データ処理装置に実行させることを特徴とするデータ処理プログラム。
A data processing program for processing data with a data storage device by a data processing device having a connection unit capable of connecting a portable recording medium capable of reading and writing data,
Processing for detecting that the recording medium is connected to the connection unit;
Processing to input data from the recording medium in response to detection of the connection ;
A process of comparing the data input by the input of the data with the data stored in the data storage device;
When it is determined by comparison of the data that there is data having the same name and the date and time of creation of data for the recording medium in the data storage device and different contents, the name stored in the data storage device and the recording medium A data processing program that causes the data processing apparatus to execute a process of re-storing data having the same data creation date and time in the recording medium .
JP2002145359A 2002-05-20 2002-05-20 Data processing system, data processing method, and data processing program Expired - Fee Related JP4184709B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002145359A JP4184709B2 (en) 2002-05-20 2002-05-20 Data processing system, data processing method, and data processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002145359A JP4184709B2 (en) 2002-05-20 2002-05-20 Data processing system, data processing method, and data processing program

Publications (2)

Publication Number Publication Date
JP2003339008A JP2003339008A (en) 2003-11-28
JP4184709B2 true JP4184709B2 (en) 2008-11-19

Family

ID=29704715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002145359A Expired - Fee Related JP4184709B2 (en) 2002-05-20 2002-05-20 Data processing system, data processing method, and data processing program

Country Status (1)

Country Link
JP (1) JP4184709B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7337358B2 (en) 2004-12-20 2008-02-26 Microsoft Corporation Method and computer-readable medium for verifying and saving an electronic document
JP4606301B2 (en) * 2005-10-24 2011-01-05 三洋電機株式会社 Content processing device
JP2009288963A (en) * 2008-05-28 2009-12-10 Sanyo Electric Co Ltd Data writing device and program
JP6056769B2 (en) * 2011-12-19 2017-01-11 富士通株式会社 Storage system, data rebalancing program, and data rebalancing method
JP6249661B2 (en) * 2013-07-31 2017-12-20 任天堂株式会社 Information processing apparatus, information processing system, information processing method, and computer program

Also Published As

Publication number Publication date
JP2003339008A (en) 2003-11-28

Similar Documents

Publication Publication Date Title
US7133599B2 (en) Realtime data recording method
JP4184709B2 (en) Data processing system, data processing method, and data processing program
JPH0695979A (en) Memory card management system
JP6451102B2 (en) Movie restoration device, movie restoration method, and program for movie restoration device
JP2002033902A (en) Image signal processor
JP2002024060A (en) File storage device
JP3392173B2 (en) Storage management method for IC memory card
JPH05265739A (en) Program changing method for magnetic tape device
JPH10207788A (en) Information recording device and method for managing the data and recording medium
JP4470350B2 (en) Removable memory removable electronic device and file system inspection method
US20080267579A1 (en) Recording and reproducing apparatus with improved video editing function
KR20060045500A (en) Data recording device
JP3076078B2 (en) Electronic still camera and backup check device for recording medium
JP3471827B2 (en) IC memory card control method and device
JP4112688B2 (en) Image imaging device, device setting method of the same, and media information recording method
JP2001126039A (en) Recording device
JP2859205B2 (en) Data recording device and data recording method for flash memory of portable information processing system
JPH07160589A (en) Memory backup device
JP2001238112A (en) Imaging apparatus, information recorder, these control method and storage medium
JPH06121267A (en) Camcorder
JP4407014B2 (en) Electronic camera
JP3147798B2 (en) Image input device
WO2002061739A1 (en) Method for storing/reproducing information and information recorder and digital camera
JPH0820933B2 (en) Data writing method and device
JP2003259270A (en) Data recorder, image recorder, and data recording method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080109

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080812

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080904

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130912

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees