JP2004193692A - Photographing initializing method, and imaging apparatus and image server usable for the method - Google Patents

Photographing initializing method, and imaging apparatus and image server usable for the method Download PDF

Info

Publication number
JP2004193692A
JP2004193692A JP2002356086A JP2002356086A JP2004193692A JP 2004193692 A JP2004193692 A JP 2004193692A JP 2002356086 A JP2002356086 A JP 2002356086A JP 2002356086 A JP2002356086 A JP 2002356086A JP 2004193692 A JP2004193692 A JP 2004193692A
Authority
JP
Japan
Prior art keywords
image
hash value
current information
imaging device
storage destination
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.)
Granted
Application number
JP2002356086A
Other languages
Japanese (ja)
Other versions
JP4141239B2 (en
Inventor
Yoshinao Hiranuma
義直 平沼
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2002356086A priority Critical patent/JP4141239B2/en
Publication of JP2004193692A publication Critical patent/JP2004193692A/en
Application granted granted Critical
Publication of JP4141239B2 publication Critical patent/JP4141239B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus and an image server for relieving a processing load imposed on a network storage type camera, reducing a required communication volume and simplifying or increasing the processing speed of initializing processing at start. <P>SOLUTION: The imaging apparatus 20 in a network photographing system 10 stores a photographed image to a storage area of the image server 14 through an access point 18 by wireless communication. In the case of interrupting power, the imaging apparatus 20 writes current information denoting a directory configuration and a free capacity or the like with respect to the storage area of the image server 14 and a hash value summarizing the information to a flash memory. When the imaging apparatus 20 is started next, the imaging apparatus 20 receives the hash value from the image server 14, compares the hash value with a hash value on the flash memory and utilizes the current information on the flash memory when they are coincident or retries the reception of the hash value from the image server 14 when they are dissident. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、撮影初期化方法、撮像装置、および画像サーバに関する。本発明は特に、撮影した画像を無線通信経由で保存する技術に関する。
【0002】
【従来の技術】
現在市販されているデジタルスチルカメラは、電源がオンにされて起動する際に所定の初期化処理を実行する。その初期化処理には、次に撮影する画像を記録媒体上のどの位置にどのようなファイル名で書き込むべきかを設定するなどの工程が含まれる。初期化処理は、主に前回の終了時の状態を復元する工程であり、情報機器全般に欠かせない。特にコンピュータにおいてはその初期化処理が複雑であり、工程時間の長さが作業効率を阻害することもある。コンピュータにおける初期化処理を短縮するために、周辺機器の構成やネットワーク構成をあらかじめ記憶しておく技術が知られている(例えば、特許文献1参照)。
【0003】
【特許文献1】
特開平5−333962号公報 (全文)
【特許文献2】
特開平10−276391号公報 (全文)
【0004】
【発明が解決しようとする課題】
ここで、デジタルスチルカメラによって撮影された画像の保存先である記録媒体は、通常メモリカードなどの着脱自在な媒体である。したがって、起動時に必ずしも前回と同じ記録媒体が装着されているとは限らず、単に終了時の状態を復元するだけの初期化処理は適さない。そのため、記録媒体の格納領域に関する情報を起動するたびに検出している。一方、撮影直後に画像をネットワーク経由でファイルサーバ上に保存するネットワーク保存型のデジタルスチルカメラの場合、ファイルサーバ上の格納領域に関する様々な情報を起動のたびに取得するのはダウンロードの負荷が大きく、初期化処理に遅れが生じる。また、ファイルサーバ上のファイルはデジタルスチルカメラ以外の情報機器、例えばPC(パーソナルコンピュータ)からもアクセス可能なため、人為的にファイル構成が変更される可能性もあり、やはり単に終了時の状態を復元するだけの初期化処理は適さない。
【0005】
本発明はこうした状況に鑑みなされたものであり、その目的はネットワーク保存型のカメラにかかる処理の負担を軽減させる点にある。本発明の別の目的は、ネットワーク保存型のカメラに必要な通信量を低減させる点にある。さらに別の目的は、ネットワーク保存型のカメラにおける起動時の初期化処理を簡素化または高速化する点にある。
【0006】
【課題を解決するための手段】
本発明のある態様は撮影初期化方法である。この方法は、撮影する画像を通信経由で保存する場合のその保存先を指定するときに参照すべき保存先の現在情報を記憶し、現在情報を要約することにより生成されるハッシュ値を撮像装置の電源終了時に通信経由で取得して記憶し、次回の撮像装置の起動時における現在情報を要約したハッシュ値と記憶したハッシュ値とを比較し、それらのハッシュ値が一致したときは現在情報の通信経由でのあらたな取得を回避する代わりに、記憶した現在情報を参照して保存先を指定する。
【0007】
「通信」は、主に無線通信を想定するが、これに限定されない。ケーブルを介したIPネットワークなどの有線通信でもよい。無線通信としては、IEEE802.11a/bなどの無線LAN通信やBluetooth(商標)などの通信方式がある。「保存先」は、ネットワーク上の画像サーバにおける格納領域を主に想定する。「現在情報」は、撮影画像の保存先および保存ファイル名を示すファイルパスを決定するために必要な情報であって、例えば現時点における保存先の空き容量、保存先のディレクトリ構成、最新の画像番号などの情報が含まれる。例えば空き容量に応じて保存の可否が判断され、ディレクトリ構成および画像番号によってファイルパスが定まる。
【0008】
「ハッシュ値」は、所定のハッシュ関数によって生成される値であり、例えばユーザのディレクトリ内にある全ファイルのファイル名やエントリを所定バイトずつ足し込んだ固定バイト数の値であってもよい。
【0009】
以上の方法により、比較的データ量の小さいハッシュ値を取得するだけでファイルサーバの状態を把握でき、通信経由でのデータ送受信の回数およびデータ量を低減できる。また、通信料の低減によって、撮像装置の起動時における初期化処理の簡素化と時間短縮を実現できる。
【0010】
本発明の別の態様は撮像装置である。この装置は、被写体の画像を取得する撮像部と、画像を通信経由で保存する場合のその保存先を指定するときに参照すべき保存先の現在情報をメモリに格納する管理部と、現在情報を参照して保存先を指定し、取得した画像を指定した保存先に通信経由で転送する転送処理部と、を有する。転送処理部は、本撮像装置の終了時に現在情報を要約したハッシュ値を通信経由で取得してメモリに格納する。管理部は、次回の撮像装置の起動時における現在情報を要約したハッシュ値と終了時のハッシュ値とが一致したときは前記格納した現在情報を参照して保存先を指定する。
【0011】
この撮像装置は、主にデジタルスチルカメラを想定するが、静止画だけでなく動画や音声をさらに記録できる装置であってもよいし、カメラ付きPDAやカメラ付き携帯電話でもよい。本明細書では、これらの記録対象を包括的に「画像」と表現する。「メモリ」は、揮発性メモリであるメインメモリと不揮発性メモリであるフラッシュメモリの双方を含む。例えば撮像装置の電源がオンである間に一時的に保持する画像などのデータはメインメモリに格納してもよく、撮像装置の電源がオフである間も保持すべき現在情報やハッシュ値などのデータはフラッシュメモリに格納してもよい。この装置においても、通信経由でのデータ送受信の回数およびデータ量を低減でき、また撮像装置の起動時における初期化処理の簡素化と時間短縮を実現できる。
【0012】
起動時のハッシュ値と終了時のハッシュ値は、管理部によって比較してもよいし、画像の保存先であるサーバ側で比較してもよい。管理部で比較する場合、転送処理部は撮像装置に起動時にサーバからその時点でのハッシュ値をあらためて取得してもよい。サーバ側で比較する場合、転送処理部は撮像装置の起動時に前記記憶したハッシュ値をサーバへ転送してもよい。
【0013】
管理部は、現在情報として、保存先の空き容量、保存先のディレクトリ構成、および最新の画像番号のうち、少なくともいずれかを格納してもよい。転送処理部は、保存先の空き容量、保存先のディレクトリ構成、および最新の画像番号のうち、少なくともいずれかが反映された形で生成されたハッシュ値を取得してもよい。管理部は、本撮像装置において再生する画像を指定するときに参照すべき情報を現在情報の一部として格納してもよい。転送処理部は、ハッシュ値が一致した場合に前記格納した現在情報に基づいて指定した画像を通信経由で取得してもよい。
【0014】
本発明のさらに別の態様は画像サーバである。この画像サーバは、撮像装置から通信経由で転送された画像を、その撮像装置によって指定された位置に保持する格納領域と、撮像装置が前記位置を指定するために参照すべき前記格納領域の状態を示す現在情報を要約してハッシュ値を生成する要約処理部と、現在情報およびハッシュ値のうちいずれかを、要求に応じて撮像装置へ転送する応答処理部と、を有する。要約処理部は、格納領域の空き容量、格納領域のディレクトリ構成、および最新の画像番号のうち、少なくともいずれかを反映させる形でハッシュ値を生成してもよい。
【0015】
この画像サーバは、ネットワーク上に設置されたファイルサーバにより実現され、無線通信などの通信手段を介して接続可能であってもよい。撮像装置から接続可能なだけでなく、インターネットまたはイントラネットを介してPCから接続可能であってもよい。画像サーバは、画像保管サービス業者が提供するファイルサーバであってもよいし、家庭内の情報機器や家電製品を統括的に管理可能ないわゆるホームサーバであってもよい。
【0016】
画像サーバにより、撮像装置から通信経由でデータ送受信する回数およびデータ量を低減でき、また撮像装置の起動時における初期化処理の簡素化と時間短縮を実現できる。
【0017】
なお、以上の構成要素の任意の組合せや、本発明の構成要素や表現を方法、装置、システム、コンピュータプログラム、プログラムを格納した記録媒体、データ構造などの間で相互に置換したものもまた、本発明の態様として有効である。
【0018】
【発明の実施の形態】
(第1実施形態)
本実施形態においては、撮像装置の電源終了時に現在情報とその要約であるハッシュ値を不揮発性メモリに記録し、次回の起動時にその現在情報を読み出すか否かを判断する。その基準として、画像サーバからあらためてハッシュ値をダウンロードし、不揮発性メモリに記録したハッシュ値と比較する。一致すれば画像サーバ上のディレクトリ構成およびファイル構成に変化のないことがわかるので、不揮発性メモリに記録された現在情報を利用する。こうして現在情報そのものを画像サーバからダウンロードすることを回避し、通信量を低減させる。なお、画像サーバで生成されたハッシュ値は撮像装置側で比較される。
【0019】
図1は、ネットワーク撮影システムの基本的な構成を示す。ネットワーク撮影システム10において、画像サーバ14、アクセスポイント18、ユーザ端末12がネットワーク16を介して接続される。撮像装置20はアクセスポイント18を介して画像サーバ14との間でデータを送受信する。撮像装置20とアクセスポイント18の間では、無線LAN技術を用いた通信が行われる。アクセスポイント18は、例えば街頭や特定の建物内に設置される公衆無線LANの基地局である。
【0020】
ユーザは、撮像装置20で撮影した画像をアクセスポイント18およびネットワーク16経由で画像サーバ14に保存する。その後、ユーザ端末12を用いて画像サーバ14に保存された画像をダウンロードまたは閲覧する。
【0021】
撮像装置20および画像サーバ14の構成は、ハードウエア的には、CPU、メモリ、通信モジュール、その他のLSIなどで実現でき、ソフトウエア的にはメモリにロードされたデータ送受信機能やデータ管理機能のあるプログラムなどによって実現されるが、以下の図3ではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。
【0022】
図2は、撮像装置の構成を示す機能ブロック図である。撮像装置20は、撮像部30、メインメモリ40、フラッシュメモリ44、管理部42、転送処理部50、表示処理部60、LCD62、通信部64、および電源ユニット66を有する。撮像部30は、被写体からの光を取り込んで結像するレンズ32と、結像された像を電気信号に変換するCCD34と、電気信号をA/D変換して圧縮処理する画像処理部36と、を含む。
【0023】
メインメモリ40は、JPEG形式やMPEG形式などで圧縮された静止画または動画のデータを一時的に記憶するRAMである。表示処理部60は、メインメモリ40が記憶する画像を復号してLCD62に表示させる。表示処理部60は、メインメモリ40をビデオメモリとしても利用する。通信部64は、無線LANの通信モジュールを含み、アンテナを介してアクセスポイント18経由の通信を処理する。転送処理部50は通信部64を介して外部と通信する。フラッシュメモリ44は、不揮発性メモリであり、書き込まれた内容を電源オフの間も保持する。
【0024】
転送処理部50は、画像送受信部52、現在情報取得部54、ハッシュ値取得部56、およびファイルパス生成部58を含む。画像送受信部52は、メインメモリ40が記憶する撮影画像を画像サーバ14へアップロードする。また画像再生が指示された場合、画像送受信部52は画像サーバ14に保存された画像をダウンロードし、これをメインメモリ40に書き込む。画像サーバ14のネットワークアドレスはフラッシュメモリ44に格納されていてもよい。
【0025】
現在情報取得部54は、画像サーバ14から現在情報をダウンロードする。現在情報は、例えば画像サーバ14の空き容量、ディレクトリ構成、最新の画像番号などの情報であり、これをメインメモリ40に格納する。ファイルパス生成部58は、画像サーバ14へ撮影画像をアップロードするときの保存先の指定としてファイルパスを生成する。ファイルパスは、メインメモリ40に書き込まれた現在情報を参照して決定される。例えば、フォルダパスを現在のディレクトリ構成にしたがって生成し、ファイル名を最新の画像番号に1を足した数字と所定の文字列をもとに生成する。これらフォルダパスとファイル名を結合してファイルパスを生成する。ファイルパス生成部58は、画像再生時に画像サーバ14からダウンロードする画像を指定するときにも同様の方法でファイルパスを生成する。
【0026】
ハッシュ値取得部56は、撮像装置20が電源オフにされるとき、すなわち電源終了時において画像サーバ14からハッシュ値をダウンロードしてフラッシュメモリ44へ書き込む。ハッシュ値取得部56は、撮像装置20が電源オンされるとき、すなわち起動時において画像サーバ14からあらためてハッシュ値をダウンロードしてハッシュ値比較部48へ送る。
【0027】
管理部42は、現在情報更新部46およびハッシュ値比較部48を含む。現在情報更新部46は、撮影画像のアップロードまたはダウンロードがなされるたびにメインメモリ40上の現在情報を更新する。例えば、現在情報に含まれる最新の画像番号をインクリメントする。現在情報更新部46は、撮像装置20の電源終了時に、現在情報をメインメモリ40から読み出してフラッシュメモリ44へ書き込む。
【0028】
ハッシュ値比較部48は、撮像装置20の起動時にハッシュ値取得部56が取得したハッシュ値と、撮像装置20の電源終了時にフラッシュメモリ44に書き込まれたハッシュ値を比較する。これらハッシュ値が一致した場合、現在情報更新部46はフラッシュメモリ44から現在情報を読み出してメインメモリ40に書き込む。ハッシュ値が一致しなかった場合、現在情報取得部54は画像サーバ14から現在情報をダウンロードしてメインメモリ40に書き込む。
【0029】
電源ユニット66は、電源供給部69および通知部68を含む。電源供給部69は、撮像装置20に含まれる各部に電力を供給する。通知部68は、電源オンまたは電源オフの指示があったときにその旨を管理部42および転送処理部50へ通知する。
【0030】
図3は、画像サーバの構成14を示す機能ブロック図である。画像サーバ14は、通信部70、格納領域72、認証部74、データ処理部76、応答処理部82、現在情報検出部84、および要約処理部86を有する。認証部74、データ処理部76、および応答処理部82は、通信部70を介して撮像装置20との間でデータを送受信する。
【0031】
認証部74は、撮像装置20との間で画像データを送受信するに先立ち、撮像装置20からIDおよびパスワードを受信してこれを認証する。データ処理部76は、正規なユーザであることが認証された後、撮像装置20との間で画像データの送受信を開始する。データ処理部76は、書込処理部78および読出処理部80を含む。書込処理部78は、撮像装置20から撮影画像を受け取り、指定されたファイルパスに基づいて格納領域72に撮影画像を格納する。読出処理部80は、撮像装置20から指定されたファイルパスに基づいて格納領域72から画像を読み出し、これを撮像装置20へ転送する。
【0032】
格納領域72は、所定のファイルシステムの下で使用されるハードディスクなどの記録媒体であり、例えばユーザ別に使用領域が区別されている。現在情報検出部84は、ユーザの使用領域における空き容量、ディレクトリ構成、最新の画像番号などの情報を格納領域72から検出する。
【0033】
応答処理部82は、撮像装置20の起動時にその撮像装置20から現在情報の転送要求があったとき、現在情報検出部84によって検出された現在情報を撮像装置20へ転送する。要約処理部86は、現在情報を要約したハッシュ値を生成する。このハッシュ値は、ユーザ領域における全ファイルのファイルパス名を1バイトずつ足し込んだ値でもよいし、それら全ファイルのエントリを1バイトずつ足し込んだ値でもよい。これにより、ディレクトリ構成が少しでも変更されればハッシュ値も変化する。応答処理部82は、撮像装置20の電源終了時または起動時にその撮像装置20からハッシュ値の転送要求があったとき、ハッシュ値を撮像装置20へ転送する。
【0034】
図4は、画像サーバの格納領域におけるユーザ領域の階層構造を示す。図示する通り、ユーザ領域において画像などのファイルおよびフォルダは階層的に格納される。「ROOT」は、ユーザ領域における最上位階層であり、その一つ下位のフォルダ「DCIM」に複数の静止画または動画が格納される。フォルダ「DCIM」のさらに一つ下位フォルダ「100SANDS」には、ファイル名「SANY0001.jpg」から「SANY0999.jpg」までの静止画データが格納される。例えば静止画ファイル「0999.jpg」のファイルパスは「/ROOT/DCIM/100SANDS/SANY0999.jpg」のように、フォルダ名とファイル名を結合した形になる。
【0035】
ファイル名に含まれる「0001」や「0999」の文字列は、各静止画に対してユニークな数字として割り当てられる静止画の画像番号であり、撮影順で1ずつ増加される通し番号である。フォルダ「100SANDS」に格納された静止画の数が999個に達したとき、新たなフォルダ「101SANDS」が生成され、以降の撮影画像は「101SANDS」に順次格納される。フォルダ名に含まれる「100」や「101」の文字列はフォルダ番号であり、撮影順で1ずつ増加される通し番号である。フォルダ「101SANDS」に格納される静止画番号が「1001」から「1999」まで増加された後、新たなフォルダ「102SANDS」が生成される。
【0036】
フォルダ「100SANDS」の下位に位置するフォルダ「VCLP」には、ファイル名「VCLP0001.mov」と「VCLP0002.mov」の動画が格納される。これらのファイル名に含まれる「0001」「0002」の文字列は、各動画に対してユニークな数字として割り当てられる動画の画像番号であり、撮影順で1ずつ増加される通し番号である。
【0037】
図5は、現在情報に含まれる各情報が格納されたテーブルを示す。現在情報テーブル100において、空き容量欄102には、ユーザ領域の未使用領域の容量として「21560KB」といった値が格納される。静止画フォルダ欄104には、次に撮影された静止画を格納すべきフォルダパスとして「/DCIM/102SANDS」といった文字列が格納される。動画フォルダ欄106には、次に撮影された動画を格納すべきフォルダパスとして「/DCIM/100SANDS/VCLP」といった文字列が格納される。
【0038】
保存静止画番号欄108には、最後に保存された最新の静止画の画像番号として数値「2002」が格納され、保存動画番号欄110には、最後に保存された最新の動画の画像番号として数値「2」が格納される。再生静止画番号欄112には、最後に再生された最新の静止画の画像番号として数値「20」が格納され、再生動画番号欄114には、最後に再生された最新の動画の画像番号として数値「1」が格納される。
【0039】
図6は、撮像装置の電源をオフにしたときの終了処理の過程を示すフローチャートである。電源オフの指示とともに終了処理が開始され、画像サーバ14からハッシュ値を取得し(S10)、これをフラッシュメモリ44に書き込むとともに(S12)、現在情報もまたフラッシュメモリ44に書き込む(S14)。その後に電源がオフになり(S16)、終了処理が完了する。
【0040】
図7は、撮像装置の電源をオンにしたときの起動処理の過程を示すフローチャートである。電源オンの指示とともに起動処理が開始され、フラッシュメモリ44に現在情報が格納されていない場合は(S20N)、画像サーバ14から現在情報を取得する(S28)。現在情報が格納されていた場合は(S20Y)、画像サーバ14からハッシュ値を取得する(S22)。そのハッシュ値がフラッシュメモリ44に格納されたハッシュ値と一致しなかった場合は(S24N)、画像サーバ14からあらためて現在情報を取得する(S28)。ハッシュ値が一致した場合は(S24Y)、フラッシュメモリ44から現在情報を読み出してメインメモリ40に書き込む(S26)。こうして起動処理が完了する。
【0041】
図8は、撮像装置の起動処理において画像サーバとの間で送受信されるデータフローを時系列的に示す図である。電源がオンにされると(S30)、撮像装置20は画像サーバ14に対して接続要求のパケットを送信する(S32)。画像サーバ14がACK応答を返信すると(S34)、撮像装置20は認証要求とともにIDおよびパスワードを送信し(S36)、認証をパスすれば画像サーバ14はACK応答とともにハッシュ値を返信する(S38)。なお、ここではS36の認証要求がハッシュ値送信要求を兼ねる。
【0042】
撮像装置20はハッシュ値を比較して一致した場合は(S40Y)、S42〜S68の処理を回避してフラッシュメモリ44から現在情報を読み出す(S41)。ハッシュ値が一致しなかった場合は(S40N)、S42〜S68の処理を開始する。まず撮像装置20は空き容量の問い合わせを送信し(S42)、画像サーバ14は空き容量の情報を返信する(S44)。撮像装置20は静止画フォルダの有無の問い合わせを送信し(S46)、画像サーバ14はその有無を示す情報を返信する(S48)。撮像装置20は静止画フォルダ内に含まれる全ファイル名の問い合わせを送信し(S50)、画像サーバ14は全ファイル名を返信する(S52)。撮像装置20は最新の静止画番号の問い合わせを送信し(S54)、画像サーバ14は静止画番号を返信する(S56)。撮像装置20は動画フォルダの有無の問い合わせを送信し(S58)、画像サーバ14はその有無を示す情報を返信する(S60)。撮像装置20は動画フォルダ内に含まれる全ファイル名の問い合わせを送信し(S62)、画像サーバ14は全ファイル名を返信する(S64)。撮像装置20は最新の動画番号の問い合わせを送信し(S66)、画像サーバ14は動画番号を返信する(S68)。
【0043】
以上、S42〜S68において少なくとも14回にわたってパケットの送受信がなされる。1パケットは例えば1500バイトの固定長であり、全ファイル名など比較的情報量が多い場合は数パケットにわたってデータが送信される。これらの複数ステップの処理は、撮像装置20の電源オンオフ前後でユーザ領域に変更がない限り、たった1個のハッシュ値を送信するだけで代替できる。特に無線通信のように通信状態が必ずしも一定でない場合でも撮像装置20の初期化処理を高速化させることが期待できる。
【0044】
図9は、現在情報を画像サーバから取得する処理を示すフローチャートである。本図に示されるフローは、図8におけるS42〜S68の処理に相当する。まず空き容量の情報を取得した後(S70)、静止画フォルダが存在する場合は(S72Y)、そのフォルダ内のファイル構成を示す情報を取得するとともに(S74)、最後に保存および再生した静止画番号を取得する(S76)。静止画フォルダが存在しなかった場合は(S72N)、画像サーバ14が静止画フォルダを作成し(S78)、次に保存および再生する静止画番号を初期値、例えば「1」に設定する(S80)。
【0045】
動画フォルダが存在する場合は(S82Y)、そのフォルダ内のファイル構成を示す情報を取得するとともに(S84)、最後に保存および再生した動画番号を取得する(S86)。動画フォルダが存在しなかった場合は(S82N)、画像サーバ14が動画フォルダを作成し(S88)、次に保存および再生する動画番号を初期値、例えば「1」に設定する(S90)。以上、本図に示される処理は、ハッシュ値が一致した場合はその実行が回避され、初期化処理の簡素化と時間短縮が実現される。
【0046】
図10は、撮像装置による画像撮影の過程において画像サーバとの間で送受信されるデータフローを時系列的に示す図である。撮像装置20が画像を撮影し(S100)、その画像をメインメモリ40に書き込む(S102)。ファイルパス生成部58は現在情報を参照して(S104)、保存先のファイルパスを生成する(S106)。撮像装置20は画像書込要求を送信し(S108)、画像サーバ14がACK応答を返信した後(S110)、撮像装置20は画像データを送信する(S112)。画像サーバ14がACK応答を返信すると(S114)、撮像装置20はファイルクローズ要求を送信し(S116)、画像サーバ14がACK応答を返信したとき(S118)、撮像装置20は現在情報の内容を更新する(S120)。
【0047】
図11は、撮像装置による画像再生の過程において画像サーバとの間で送受信されるデータフローを時系列的に示す図である。撮像装置20に画像再生の指示があったとき(S120)、ファイルパス生成部58は現在情報を参照して(S122)、取得すべき画像のファイルパスを生成する(S124)。撮像装置20はファイルオープン要求を送信し(S126)、画像サーバ14がACK応答を返信した後(S128)、撮像装置20は画像のダウンロード要求を送信する(S130)。画像サーバ14はACK応答とともに、要求のあった画像データを送信する(S132)。撮像装置20はファイルクローズ要求を送信し(S134)、画像サーバ14がACK応答を返信する(S136)。撮像装置20は受信した画像を再生し(S138)、現在情報を更新する(S140)。次の画像を再生する指示があったときは(S142Y)、S122〜S140のフローを繰り返す。
【0048】
(第2実施形態)
本実施形態においては、ハッシュ値の比較を撮像装置20ではなく画像サーバ14において実行する点で第1実施形態と異なる。その他の構成、機能、処理内容は基本的に第1実施形態と同様であるため、相違点を中心に説明する。図2において、ハッシュ値取得部56は、電源終了時に画像サーバ14からハッシュ値を取得するが、起動時には画像サーバ14からハッシュ値を取得しない。画像送受信部52は、起動時にフラッシュメモリ44からハッシュ値を読み出して画像サーバ14へ送信するとともに、画像サーバ14からハッシュ値の比較結果を受信してハッシュ値比較部48へ送る。ハッシュ値比較部48は、ハッシュ値の比較結果に応じて現在情報をフラッシュメモリ44と画像サーバ14のいずれから取得すべきかを判断する。図3において、応答処理部82は撮像装置20からハッシュ値を受信し、要約処理部86が生成したハッシュ値と比較し、その比較結果を撮像装置20へ送信する。
【0049】
図12は、撮像装置の起動処理において画像サーバとの間で送受信されるデータフローを時系列的に示す図である。図8との相違は、S156〜S160である。S156において、撮像装置20は認証要求とIDおよびパスワードとともにハッシュ値を送信する。画像サーバ14は、撮像装置20から受信したハッシュ値と要約処理部86が生成したハッシュ値とを比較し(S158)、ACK応答と比較結果を返信する(S160)。その他、S150〜S154、S162〜S190は、図8におけるS30〜S34、S40〜S68と同じである。
【0050】
以上、本発明を実施の形態をもとに説明した。この実施の形態は例示であり、その各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。以下、変形例を挙げる。
【0051】
第1実施形態における図8のS38では、ACK応答とハッシュ値を一度に送信するが、変形例においてはこれらを別々のパケットで送信してもよい。同様に、第2実施形態における図12のS156では認証要求とIDおよびパスワードとハッシュ値を同時に送信するが、変形例においてはこれらを別々のパケットで送信してもよい。
【0052】
【発明の効果】
本発明によれば、カメラの起動時における初期化処理を簡素化できる。
【図面の簡単な説明】
【図1】ネットワーク撮影システムの基本的な構成を示す図である。
【図2】撮像装置の構成を示す機能ブロック図である。
【図3】画像サーバの構成を示す機能ブロック図である。
【図4】画像サーバの格納領域におけるユーザ領域の階層構造を示す図である。
【図5】現在情報に含まれる各情報が格納されたテーブルを示す図である。
【図6】撮像装置の電源をオフにしたときの終了処理の過程を示すフローチャートである。
【図7】撮像装置の電源をオンにしたときの起動処理の過程を示すフローチャートである。
【図8】撮像装置の起動処理において画像サーバとの間で送受信されるデータフローを時系列的に示す図である。
【図9】現在情報を画像サーバから取得する処理を示すフローチャートである。
【図10】撮像装置による画像撮影の過程において画像サーバとの間で送受信されるデータフローを時系列的に示す図である。
【図11】撮像装置による画像再生の過程において画像サーバとの間で送受信されるデータフローを時系列的に示す図である。
【図12】第2実施形態に係る撮像装置の起動処理において画像サーバとの間で送受信されるデータフローを時系列的に示す図である。
【符号の説明】
14 画像サーバ、 20 撮像装置、 30 撮像部、 40 メインメモリ、 42 管理部、 44 フラッシュメモリ、 50 転送処理部、 72格納領域、 86 要約処理部、 88 応答処理部。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a photographing initialization method, an imaging device, and an image server. The present invention particularly relates to a technique for storing captured images via wireless communication.
[0002]
[Prior art]
A digital still camera currently on the market executes a predetermined initialization process when the power is turned on and started. The initialization processing includes a step of setting a position on the recording medium and a file name to be used for writing an image to be captured next. The initialization process is mainly a process of restoring the state at the time of the previous end, and is indispensable for all information devices. Particularly in a computer, the initialization process is complicated, and the length of the process time may hinder the work efficiency. 2. Description of the Related Art In order to shorten the initialization process in a computer, there is known a technique in which a configuration of a peripheral device and a network configuration are stored in advance (for example, see Patent Document 1).
[0003]
[Patent Document 1]
JP-A-5-333962 (full text)
[Patent Document 2]
JP-A-10-276391 (full text)
[0004]
[Problems to be solved by the invention]
Here, the recording medium that is the storage destination of the image captured by the digital still camera is usually a removable medium such as a memory card. Therefore, the same recording medium as the previous recording medium is not always mounted at the time of startup, and the initialization processing of simply restoring the state at the time of termination is not suitable. For this reason, information about the storage area of the recording medium is detected every time it is started. On the other hand, in the case of a network-storing digital still camera that saves images on a file server via the network immediately after shooting, acquiring a variety of information about the storage area on the file server every time it is started requires a large download load. Then, a delay occurs in the initialization processing. Also, since the files on the file server can be accessed from information devices other than the digital still camera, for example, a PC (personal computer), the file structure may be changed artificially. Initialization processing for restoring is not suitable.
[0005]
The present invention has been made in view of such a situation, and an object of the present invention is to reduce a processing load on a network storage type camera. Another object of the present invention is to reduce the amount of communication required for a network storage type camera. Still another object is to simplify or speed up the initialization process at the time of startup in a network storage type camera.
[0006]
[Means for Solving the Problems]
One embodiment of the present invention relates to an imaging initialization method. This method stores the current information of a storage destination to be referred to when designating the storage destination when an image to be captured is stored via communication, and obtains a hash value generated by summarizing the current information. When the power is turned off, the information is acquired and stored via communication, and the hash value that summarizes the current information at the time of starting the next imaging device is compared with the stored hash value. When the hash values match, the current information is stored. Instead of avoiding a new acquisition via communication, the storage destination is specified by referring to the stored current information.
[0007]
“Communication” mainly assumes wireless communication, but is not limited to this. Wired communication such as an IP network via a cable may be used. Examples of wireless communication include wireless LAN communication such as IEEE802.11a / b and communication methods such as Bluetooth (trademark). The “storage destination” mainly assumes a storage area in the image server on the network. The “current information” is information necessary for determining a storage destination of a captured image and a file path indicating a storage file name, and includes, for example, a free space of the storage destination at the present time, a directory configuration of the storage destination, and a latest image number. Such information is included. For example, whether or not storage is possible is determined according to the free space, and the file path is determined by the directory structure and the image number.
[0008]
The “hash value” is a value generated by a predetermined hash function, and may be, for example, a value of a fixed number of bytes obtained by adding the file names and entries of all the files in the user's directory by a predetermined number of bytes.
[0009]
According to the above method, the state of the file server can be grasped only by obtaining a hash value having a relatively small data amount, and the number of times of data transmission / reception via communication and the data amount can be reduced. Further, by reducing the communication fee, simplification of initialization processing and time reduction at the time of starting the imaging device can be realized.
[0010]
Another embodiment of the present invention relates to an imaging device. The apparatus includes: an imaging unit that acquires an image of a subject; a management unit that stores, in a memory, current information of a storage destination to be referred to when designating the storage destination when the image is stored via communication; And a transfer processing unit for designating a storage destination by referring to, and transferring the acquired image to the specified storage destination via communication. The transfer processing unit acquires a hash value summarizing current information via communication at the time of termination of the imaging apparatus, and stores the hash value in a memory. When the hash value summarizing the current information at the time of starting the imaging apparatus next time matches the hash value at the time of termination, the management unit refers to the stored current information and specifies a storage destination.
[0011]
This imaging device is mainly assumed to be a digital still camera, but may be a device capable of recording not only a still image but also a moving image or sound, or may be a PDA with a camera or a mobile phone with a camera. In this specification, these recording targets are generically referred to as “images”. “Memory” includes both a main memory that is a volatile memory and a flash memory that is a nonvolatile memory. For example, data such as an image temporarily held while the power of the imaging apparatus is on may be stored in the main memory, and current information or a hash value to be held even when the power of the imaging apparatus is off. Data may be stored in flash memory. Also in this device, the number of times of data transmission / reception via communication and the amount of data can be reduced, and the initialization process at the time of starting the imaging device can be simplified and the time can be reduced.
[0012]
The hash value at the time of activation and the hash value at the time of termination may be compared by the management unit, or may be compared by the server which is the storage destination of the image. When the comparison is performed by the management unit, the transfer processing unit may newly acquire the hash value at that time from the server when the imaging device is activated. When performing the comparison on the server side, the transfer processing unit may transfer the stored hash value to the server when the imaging device is activated.
[0013]
The management unit may store, as the current information, at least one of the free space of the storage destination, the directory configuration of the storage destination, and the latest image number. The transfer processing unit may acquire a hash value generated in a form in which at least one of the free space of the storage destination, the directory configuration of the storage destination, and the latest image number is reflected. The management unit may store, as a part of the current information, information to be referred to when specifying an image to be reproduced in the imaging device. The transfer processing unit may acquire, via communication, the specified image based on the stored current information when the hash values match.
[0014]
Still another embodiment of the present invention relates to an image server. The image server includes a storage area for holding an image transferred from the imaging device via communication at a position specified by the imaging device, and a state of the storage area to be referred to by the imaging device for specifying the position. And a response processing unit that transfers one of the current information and the hash value to the imaging device in response to a request. The summarization processing unit may generate the hash value by reflecting at least one of the free space of the storage area, the directory configuration of the storage area, and the latest image number.
[0015]
This image server may be realized by a file server installed on a network, and may be connectable via communication means such as wireless communication. In addition to being connectable from the imaging device, it may be connectable from a PC via the Internet or an intranet. The image server may be a file server provided by an image storage service provider, or may be a so-called home server capable of comprehensively managing home information devices and home electric appliances.
[0016]
The image server can reduce the number of times of data transmission / reception from the imaging device via communication and the amount of data, and can also simplify the initialization process and reduce the time when the imaging device is started.
[0017]
In addition, any combination of the above-described components and the components and expressions of the present invention, methods, devices, systems, computer programs, recording media storing the programs, and those which are mutually replaced among data structures, This is effective as an aspect of the present invention.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
(1st Embodiment)
In the present embodiment, when the power of the imaging apparatus is turned off, the current information and a hash value as a summary thereof are recorded in the non-volatile memory, and it is determined whether or not the current information is read at the next startup. As a criterion, a hash value is newly downloaded from the image server and compared with the hash value recorded in the nonvolatile memory. If they match, it is known that there is no change in the directory structure and file structure on the image server, so the current information recorded in the nonvolatile memory is used. In this way, it is possible to avoid downloading the current information itself from the image server, and reduce the amount of communication. The hash value generated by the image server is compared on the imaging device side.
[0019]
FIG. 1 shows a basic configuration of a network imaging system. In the network imaging system 10, an image server 14, an access point 18, and a user terminal 12 are connected via a network 16. The imaging device 20 transmits and receives data to and from the image server 14 via the access point 18. Communication using the wireless LAN technology is performed between the imaging device 20 and the access point 18. The access point 18 is, for example, a public wireless LAN base station installed on a street or in a specific building.
[0020]
The user saves the image captured by the imaging device 20 in the image server 14 via the access point 18 and the network 16. Thereafter, the user saves or browses the image stored in the image server 14 using the user terminal 12.
[0021]
The configuration of the imaging device 20 and the image server 14 can be realized in terms of hardware by a CPU, a memory, a communication module, and other LSIs, and can be realized by software such as a data transmission / reception function and a data management function loaded into the memory. It is realized by a certain program or the like, but FIG. 3 below shows functional blocks realized by their cooperation. Therefore, it is understood by those skilled in the art that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.
[0022]
FIG. 2 is a functional block diagram illustrating a configuration of the imaging device. The imaging device 20 includes an imaging unit 30, a main memory 40, a flash memory 44, a management unit 42, a transfer processing unit 50, a display processing unit 60, an LCD 62, a communication unit 64, and a power supply unit 66. The imaging unit 30 includes a lens 32 that captures light from a subject and forms an image, a CCD 34 that converts the formed image into an electric signal, an image processing unit 36 that performs A / D conversion of the electric signal and performs compression processing. ,including.
[0023]
The main memory 40 is a RAM for temporarily storing still image or moving image data compressed in the JPEG format or the MPEG format. The display processing unit 60 decodes the image stored in the main memory 40 and causes the LCD 62 to display the decoded image. The display processing unit 60 also uses the main memory 40 as a video memory. The communication unit 64 includes a communication module of a wireless LAN, and processes communication via the access point 18 via an antenna. The transfer processing unit 50 communicates with the outside via the communication unit 64. The flash memory 44 is a non-volatile memory, and retains the written contents even while the power is off.
[0024]
The transfer processing unit 50 includes an image transmission / reception unit 52, a current information acquisition unit 54, a hash value acquisition unit 56, and a file path generation unit 58. The image transmitting / receiving unit 52 uploads the captured image stored in the main memory 40 to the image server 14. When image reproduction is instructed, the image transmission / reception unit 52 downloads the image stored in the image server 14 and writes it in the main memory 40. The network address of the image server 14 may be stored in the flash memory 44.
[0025]
The current information acquisition unit 54 downloads current information from the image server 14. The current information is, for example, information such as the free space of the image server 14, the directory structure, and the latest image number, and is stored in the main memory 40. The file path generation unit 58 generates a file path as a designation of a storage destination when uploading a captured image to the image server 14. The file path is determined with reference to the current information written in the main memory 40. For example, a folder path is generated according to the current directory structure, and a file name is generated based on a number obtained by adding 1 to the latest image number and a predetermined character string. The file path is generated by combining the folder path and the file name. The file path generation unit 58 also generates a file path by the same method when specifying an image to be downloaded from the image server 14 during image reproduction.
[0026]
The hash value acquiring unit 56 downloads the hash value from the image server 14 and writes the hash value to the flash memory 44 when the power of the imaging device 20 is turned off, that is, when the power is turned off. When the power of the imaging device 20 is turned on, that is, at the time of activation, the hash value acquiring unit 56 downloads a hash value from the image server 14 again and sends it to the hash value comparing unit 48.
[0027]
The management unit 42 includes a current information update unit 46 and a hash value comparison unit 48. The current information updating unit 46 updates the current information on the main memory 40 every time a captured image is uploaded or downloaded. For example, the latest image number included in the current information is incremented. The current information updating unit 46 reads the current information from the main memory 40 and writes the current information into the flash memory 44 when the power of the imaging device 20 is turned off.
[0028]
The hash value comparison unit 48 compares the hash value acquired by the hash value acquisition unit 56 when the imaging device 20 is activated with the hash value written to the flash memory 44 when the imaging device 20 is turned off. When these hash values match, the current information updating unit 46 reads the current information from the flash memory 44 and writes the current information into the main memory 40. If the hash values do not match, the current information acquisition unit 54 downloads the current information from the image server 14 and writes it to the main memory 40.
[0029]
The power supply unit 66 includes a power supply unit 69 and a notification unit 68. The power supply unit 69 supplies power to each unit included in the imaging device 20. The notification unit 68 notifies the management unit 42 and the transfer processing unit 50 of the instruction to turn on or turn off the power.
[0030]
FIG. 3 is a functional block diagram showing the configuration 14 of the image server. The image server 14 includes a communication unit 70, a storage area 72, an authentication unit 74, a data processing unit 76, a response processing unit 82, a current information detection unit 84, and a summary processing unit 86. The authentication unit 74, the data processing unit 76, and the response processing unit 82 transmit and receive data to and from the imaging device 20 via the communication unit 70.
[0031]
The authentication unit 74 receives an ID and a password from the imaging device 20 and authenticates the image data before transmitting and receiving image data to and from the imaging device 20. The data processing unit 76 starts transmission and reception of image data with the imaging device 20 after being authenticated as an authorized user. Data processing section 76 includes a write processing section 78 and a read processing section 80. The write processing unit 78 receives the captured image from the imaging device 20, and stores the captured image in the storage area 72 based on the specified file path. The read processing unit 80 reads an image from the storage area 72 based on the file path designated by the imaging device 20 and transfers the image to the imaging device 20.
[0032]
The storage area 72 is a recording medium such as a hard disk used under a predetermined file system. For example, the use area is distinguished for each user. The current information detection unit 84 detects information such as a free space in the user's use area, a directory configuration, and the latest image number from the storage area 72.
[0033]
The response processing unit 82 transfers the current information detected by the current information detection unit 84 to the imaging device 20 when the imaging device 20 receives a request to transfer current information when the imaging device 20 is activated. The summarization processing unit 86 generates a hash value summarizing the current information. This hash value may be a value obtained by adding the file path names of all the files in the user area by one byte, or a value obtained by adding the entries of all the files by one byte. As a result, if the directory structure is slightly changed, the hash value also changes. The response processing unit 82 transfers the hash value to the imaging device 20 when the imaging device 20 receives a hash value transfer request when the imaging device 20 is powered off or activated.
[0034]
FIG. 4 shows the hierarchical structure of the user area in the storage area of the image server. As illustrated, files and folders such as images are stored hierarchically in the user area. “ROOT” is the highest hierarchy in the user area, and a plurality of still images or moving images are stored in a folder “DCIM” one level below. Still image data from the file name “SANY0001.jpg” to “SANY0999.jpg” is stored in the folder “100SANDS” one level lower than the folder “DCIM”. For example, the file path of the still image file “0999.jpg” is a form in which the folder name and the file name are combined as in “/ROOT/DCIM/100SANDS/SANY0999.jpg”.
[0035]
The character strings “0001” and “0999” included in the file name are the image numbers of the still images assigned as unique numbers to the respective still images, and are serial numbers that are incremented by one in the shooting order. When the number of still images stored in the folder “100SANDS” reaches 999, a new folder “101SANDS” is generated, and the subsequent captured images are sequentially stored in “101SANDS”. The character strings “100” and “101” included in the folder name are folder numbers, which are serial numbers that are incremented by one in the order of shooting. After the still image number stored in the folder “101SANDS” is increased from “1001” to “1999”, a new folder “102SANDS” is generated.
[0036]
In a folder “VCLP” located below the folder “100SANDS”, moving images with file names “VCLP0001.mov” and “VCLP0002.mov” are stored. The character strings “0001” and “0002” included in these file names are the image numbers of the moving images assigned as unique numbers to the respective moving images, and are serial numbers that are incremented by one in the shooting order.
[0037]
FIG. 5 shows a table in which each piece of information included in the current information is stored. In the current information table 100, the free space column 102 stores a value such as "21560 KB" as the capacity of the unused area of the user area. In the still image folder column 104, a character string such as "/ DCIM / 102SANDS" is stored as a folder path in which a next captured still image is to be stored. In the moving image folder field 106, a character string such as “/ DCIM / 100SANDS / VCLP” is stored as a folder path where the next moving image to be shot is to be stored.
[0038]
The stored still image number column 108 stores a numerical value “2002” as the image number of the latest still image stored last, and the stored moving image number column 110 stores the image number of the latest stored latest moving image. The numerical value “2” is stored. The reproduction still image number column 112 stores a numerical value “20” as the image number of the latest still image reproduced last, and the reproduction moving image number column 114 stores the image number of the latest reproduction moving image as the image number. A numerical value “1” is stored.
[0039]
FIG. 6 is a flowchart illustrating a process of a termination process when the power of the imaging apparatus is turned off. End processing is started with the power-off instruction, and a hash value is obtained from the image server 14 (S10), and this is written into the flash memory 44 (S12), and the current information is also written into the flash memory 44 (S14). Thereafter, the power is turned off (S16), and the end processing is completed.
[0040]
FIG. 7 is a flowchart illustrating a process of a startup process when the power of the imaging apparatus is turned on. The boot process is started with the power-on instruction. If the current information is not stored in the flash memory 44 (S20N), the current information is acquired from the image server 14 (S28). If the current information is stored (S20Y), a hash value is obtained from the image server 14 (S22). If the hash value does not match the hash value stored in the flash memory 44 (S24N), the current information is acquired again from the image server 14 (S28). If the hash values match (S24Y), the current information is read from the flash memory 44 and written to the main memory 40 (S26). Thus, the activation process is completed.
[0041]
FIG. 8 is a diagram showing, in chronological order, a data flow transmitted / received to / from the image server in the startup processing of the imaging device. When the power is turned on (S30), the imaging device 20 transmits a connection request packet to the image server 14 (S32). When the image server 14 returns an ACK response (S34), the imaging device 20 transmits an ID and a password together with the authentication request (S36). If the authentication is passed, the image server 14 returns a hash value together with the ACK response (S38). . Here, the authentication request in S36 also serves as a hash value transmission request.
[0042]
If the hash values are compared and the hash values match (S40Y), the imaging device 20 reads the current information from the flash memory 44 by bypassing the processing of S42 to S68 (S41). If the hash values do not match (S40N), the processing of S42 to S68 is started. First, the imaging device 20 transmits a free space inquiry (S42), and the image server 14 returns free space information (S44). The imaging device 20 transmits an inquiry about the presence / absence of a still image folder (S46), and the image server 14 returns information indicating the presence / absence (S48). The imaging device 20 transmits an inquiry about all file names included in the still image folder (S50), and the image server 14 returns all file names (S52). The imaging device 20 transmits an inquiry about the latest still image number (S54), and the image server 14 returns a still image number (S56). The imaging device 20 transmits an inquiry about the presence / absence of a moving image folder (S58), and the image server 14 returns information indicating the presence / absence (S60). The imaging device 20 transmits an inquiry about all file names included in the moving image folder (S62), and the image server 14 returns all file names (S64). The imaging device 20 transmits an inquiry about the latest moving image number (S66), and the image server 14 returns the moving image number (S68).
[0043]
As described above, transmission and reception of packets are performed at least 14 times in S42 to S68. One packet has a fixed length of, for example, 1500 bytes. If the amount of information is relatively large, such as all file names, data is transmitted over several packets. As long as there is no change in the user area before and after the power of the imaging apparatus 20 is turned on and off, the processing of these multiple steps can be replaced by transmitting only one hash value. In particular, even when the communication state is not always constant as in the case of wireless communication, it can be expected that the initialization processing of the imaging device 20 can be sped up.
[0044]
FIG. 9 is a flowchart illustrating a process of acquiring current information from the image server. The flow shown in this figure corresponds to the processing of S42 to S68 in FIG. First, after obtaining the information of the free space (S70), if a still image folder exists (S72Y), the information indicating the file configuration in the folder is obtained (S74), and the still image stored and played back last is obtained. The number is obtained (S76). If the still image folder does not exist (S72N), the image server 14 creates a still image folder (S78), and sets the still image number to be saved and played back to an initial value, for example, "1" (S80). ).
[0045]
If there is a moving image folder (S82Y), information indicating the file configuration in the folder is obtained (S84), and the number of the last saved and played moving image is obtained (S86). If the moving image folder does not exist (S82N), the image server 14 creates a moving image folder (S88), and sets a moving image number to be next stored and played back to an initial value, for example, “1” (S90). As described above, when the hash values match, execution of the processing shown in this drawing is avoided, and simplification of initialization processing and time reduction are realized.
[0046]
FIG. 10 is a diagram showing, in a time-series manner, a data flow transmitted / received to / from the image server in the process of capturing an image by the imaging device. The imaging device 20 captures an image (S100), and writes the image in the main memory 40 (S102). The file path generation unit 58 refers to the current information (S104) and generates a file path of the storage destination (S106). The imaging device 20 transmits an image writing request (S108), and after the image server 14 returns an ACK response (S110), the imaging device 20 transmits image data (S112). When the image server 14 returns an ACK response (S114), the imaging device 20 transmits a file close request (S116). When the image server 14 returns an ACK response (S118), the imaging device 20 displays the contents of the current information. Update (S120).
[0047]
FIG. 11 is a time-series diagram illustrating a data flow transmitted and received between the image server and the image server in the process of reproducing an image by the imaging apparatus. When the imaging device 20 is instructed to reproduce an image (S120), the file path generating unit 58 refers to the current information (S122) and generates a file path of an image to be acquired (S124). The imaging device 20 transmits a file open request (S126), and after the image server 14 returns an ACK response (S128), the imaging device 20 transmits an image download request (S130). The image server 14 transmits the requested image data together with the ACK response (S132). The imaging device 20 transmits a file close request (S134), and the image server 14 returns an ACK response (S136). The imaging device 20 reproduces the received image (S138) and updates the current information (S140). When there is an instruction to reproduce the next image (S142Y), the flow of S122 to S140 is repeated.
[0048]
(2nd Embodiment)
The present embodiment is different from the first embodiment in that the hash value comparison is performed in the image server 14 instead of the imaging device 20. Other configurations, functions, and processing contents are basically the same as those of the first embodiment, and therefore, the description will focus on the differences. In FIG. 2, the hash value acquisition unit 56 acquires a hash value from the image server 14 when the power is turned off, but does not acquire a hash value from the image server 14 at the time of startup. The image transmitting / receiving unit 52 reads the hash value from the flash memory 44 at the time of activation and transmits the hash value to the image server 14, and receives the comparison result of the hash value from the image server 14 and sends the result to the hash value comparing unit 48. The hash value comparison unit 48 determines whether the current information should be obtained from the flash memory 44 or the image server 14 according to the comparison result of the hash values. 3, the response processing unit 82 receives the hash value from the imaging device 20, compares the hash value with the hash value generated by the summarization processing unit 86, and transmits the comparison result to the imaging device 20.
[0049]
FIG. 12 is a diagram showing, in chronological order, a data flow transmitted / received to / from the image server in the startup processing of the imaging device. The differences from FIG. 8 are S156 to S160. In S156, the imaging device 20 transmits the hash value together with the authentication request, the ID, and the password. The image server 14 compares the hash value received from the imaging device 20 with the hash value generated by the digest processing unit 86 (S158), and returns an ACK response and a comparison result (S160). In addition, S150 to S154 and S162 to S190 are the same as S30 to S34 and S40 to S68 in FIG.
[0050]
The present invention has been described based on the embodiments. This embodiment is an exemplification, and it is understood by those skilled in the art that various modifications can be made to the combination of each component and each processing process, and that such modifications are also within the scope of the present invention. . Hereinafter, modified examples will be described.
[0051]
In S38 of FIG. 8 in the first embodiment, the ACK response and the hash value are transmitted at once, but in a modified example, they may be transmitted in separate packets. Similarly, in S156 of FIG. 12 in the second embodiment, the authentication request, the ID, the password, and the hash value are transmitted at the same time, but in a modified example, these may be transmitted in separate packets.
[0052]
【The invention's effect】
According to the present invention, it is possible to simplify the initialization processing at the time of starting the camera.
[Brief description of the drawings]
FIG. 1 is a diagram showing a basic configuration of a network imaging system.
FIG. 2 is a functional block diagram illustrating a configuration of an imaging device.
FIG. 3 is a functional block diagram illustrating a configuration of an image server.
FIG. 4 is a diagram showing a hierarchical structure of a user area in a storage area of the image server.
FIG. 5 is a diagram showing a table in which information included in current information is stored.
FIG. 6 is a flowchart illustrating a process of a termination process when the power of the imaging apparatus is turned off.
FIG. 7 is a flowchart illustrating a process of a startup process when the power of the imaging apparatus is turned on.
FIG. 8 is a diagram showing a time-series data flow transmitted / received to / from the image server in the startup processing of the imaging apparatus.
FIG. 9 is a flowchart illustrating a process of acquiring current information from an image server.
FIG. 10 is a diagram showing a time-series data flow transmitted and received between the image server and the image server in the process of capturing an image by the imaging apparatus.
FIG. 11 is a diagram showing a time series of a data flow transmitted and received between the image server and the image server in a process of reproducing an image by the imaging apparatus.
FIG. 12 is a diagram showing, in a time-series manner, a data flow transmitted / received to / from an image server in a startup process of the imaging apparatus according to the second embodiment.
[Explanation of symbols]
14 image server, 20 imaging device, 30 imaging unit, 40 main memory, 42 management unit, 44 flash memory, 50 transfer processing unit, 72 storage area, 86 summary processing unit, 88 response processing unit.

Claims (6)

撮影する画像を通信経由で保存する場合のその保存先を指定するときに参照すべき前記保存先の現在情報を記憶し、
前記現在情報を要約することにより生成されるハッシュ値を撮像装置の電源終了時に通信経由で取得して記憶し、
次回の撮像装置の起動時における現在情報を要約したハッシュ値と前記記憶したハッシュ値とを比較し、
それらのハッシュ値が一致したときは前記現在情報の通信経由でのあらたな取得を回避する代わりに、前記記憶した現在情報を参照して前記保存先を指定することを特徴とする撮影初期化方法。
Store the current information of the storage destination to be referred to when specifying the storage destination when saving the image to be captured via communication,
A hash value generated by summarizing the current information is obtained and stored via communication when the power of the imaging apparatus is turned off, and stored.
Compare the hash value summarizing the current information and the stored hash value at the time of starting the next imaging device,
When the hash values match, instead of avoiding a new acquisition of the current information via communication, the storage destination is specified by referring to the stored current information, .
被写体の画像を取得する撮像部と、
画像を通信経由で保存する場合のその保存先を指定するときに参照すべき前記保存先の現在情報をメモリに格納する管理部と、
前記現在情報を参照して前記保存先を指定し、前記取得した画像を前記指定した保存先に通信経由で転送する転送処理部と、を有し、
前記転送処理部は、本撮像装置の終了時に前記現在情報を要約したハッシュ値を通信経由で取得してメモリに格納し、
前記管理部は、次回の撮像装置の起動時における現在情報を要約したハッシュ値と前記終了時のハッシュ値とが一致したときは前記格納した現在情報を参照して前記保存先を指定することを特徴とする撮像装置。
An imaging unit for acquiring an image of a subject;
A management unit for storing in a memory the current information of the storage destination to be referred to when specifying the storage destination when the image is stored via communication,
A transfer processing unit that specifies the storage destination by referring to the current information, and transfers the obtained image to the specified storage destination via communication,
The transfer processing unit, at the time of termination of the present imaging device, obtains a hash value summarizing the current information via communication and stores it in a memory,
The management unit may specify the storage destination by referring to the stored current information when the hash value summarizing the current information at the time of starting the next imaging device and the hash value at the time of termination match. An imaging device characterized by the following.
前記管理部は、前記現在情報として、前記保存先の空き容量、前記保存先のディレクトリ構成、および最新の画像番号のうち、少なくともいずれかを格納し、
前記転送処理部は、前記保存先の空き容量、前記保存先のディレクトリ構成、および最新の画像番号のうち、少なくともいずれかが反映された形で生成されたハッシュ値を取得することを特徴とする請求項2に記載の撮像装置。
The management unit stores, as the current information, at least one of the free space of the storage destination, the directory configuration of the storage destination, and the latest image number,
The transfer processing unit acquires a hash value generated in a form reflecting at least one of the free space of the storage destination, the directory configuration of the storage destination, and the latest image number. The imaging device according to claim 2.
前記管理部は、本撮像装置において再生する画像を指定するときに参照すべき情報を前記現在情報の一部として格納し、
前記転送処理部は、前記ハッシュ値が一致した場合に前記格納した現在情報に基づいて指定した画像を通信経由で取得することを特徴とする請求項2または3に記載の撮像装置。
The management unit stores information to be referred to when specifying an image to be reproduced in the imaging device as a part of the current information,
4. The imaging device according to claim 2, wherein the transfer processing unit obtains, via communication, a specified image based on the stored current information when the hash values match. 5.
撮像装置から通信経由で転送された画像を、その撮像装置によって指定された位置に保持する格納領域と、
前記撮像装置が前記位置を指定するために参照すべき前記格納領域の状態を示す現在情報を要約してハッシュ値を生成する要約処理部と、
前記現在情報およびハッシュ値のうちいずれかを、要求に応じて前記撮像装置へ転送する応答処理部と、
を有することを特徴とする画像サーバ。
A storage area for holding an image transferred from the imaging device via communication at a position designated by the imaging device,
A summary processing unit that summarizes current information indicating a state of the storage area to be referred to by the imaging device to specify the position and generates a hash value;
A response processing unit that transfers any of the current information and the hash value to the imaging device in response to a request,
An image server comprising:
前記要約処理部は、前記格納領域の空き容量、前記格納領域のディレクトリ構成、および最新の画像番号のうち、少なくともいずれかを反映させる形で前記ハッシュ値を生成することを特徴とする請求項5に記載の画像サーバ。6. The hash value generating unit according to claim 5, wherein the summarizing unit generates the hash value by reflecting at least one of a free space of the storage area, a directory configuration of the storage area, and a latest image number. An image server according to claim 1.
JP2002356086A 2002-12-06 2002-12-06 Imaging initialization method, imaging apparatus and image server usable in this method Expired - Fee Related JP4141239B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002356086A JP4141239B2 (en) 2002-12-06 2002-12-06 Imaging initialization method, imaging apparatus and image server usable in this method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002356086A JP4141239B2 (en) 2002-12-06 2002-12-06 Imaging initialization method, imaging apparatus and image server usable in this method

Publications (2)

Publication Number Publication Date
JP2004193692A true JP2004193692A (en) 2004-07-08
JP4141239B2 JP4141239B2 (en) 2008-08-27

Family

ID=32756512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002356086A Expired - Fee Related JP4141239B2 (en) 2002-12-06 2002-12-06 Imaging initialization method, imaging apparatus and image server usable in this method

Country Status (1)

Country Link
JP (1) JP4141239B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092543A (en) * 2006-09-07 2008-04-17 Canon Inc Recording apparatus, control method therefor, and program
WO2011111837A1 (en) * 2010-03-11 2011-09-15 楽天株式会社 Information processing method, information processing device, program, and recording medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092543A (en) * 2006-09-07 2008-04-17 Canon Inc Recording apparatus, control method therefor, and program
WO2011111837A1 (en) * 2010-03-11 2011-09-15 楽天株式会社 Information processing method, information processing device, program, and recording medium
CN102782659A (en) * 2010-03-11 2012-11-14 乐天株式会社 Information processing method, information processing device, program, and recording medium
JP5129409B2 (en) * 2010-03-11 2013-01-30 楽天株式会社 Information processing method, information processing apparatus, program, and recording medium
US8812568B2 (en) 2010-03-11 2014-08-19 Rakuten, Inc. Information processing method, information processing device, program, and recording medium

Also Published As

Publication number Publication date
JP4141239B2 (en) 2008-08-27

Similar Documents

Publication Publication Date Title
JP4029390B2 (en) Information processing system, information processing apparatus and method, program storage medium, and program
JP5632012B2 (en) Memory card and method for data storage and wire restaurant sheaving
JP5378378B2 (en) Coded removable storage device that allows change detection
JP5992664B2 (en) Method and apparatus for transferring media over a network using a network interface device
EP2249254A2 (en) Storage device having direct user access
US7272641B2 (en) Image information managing system
US20120102076A1 (en) Information processing apparatus, information processing method, and program
US8296272B2 (en) Information processing apparatus, information processing method, and program
US20110047278A1 (en) Data synchronisation
KR101438345B1 (en) Memory system capable of controlling wireless communication function
US8319837B2 (en) Method for sharing file between control point and media server in a DLNA system, and system thereof
JP4141239B2 (en) Imaging initialization method, imaging apparatus and image server usable in this method
US20070078859A1 (en) Method, system, apparatus, and software product for an intelligent transfer log
US20120262585A1 (en) Recording control device, information device, information recording system and program
JP2006115024A (en) Digital camera
KR20070028960A (en) Mobile communication terminal transmitting data and its operating method
US9052989B2 (en) Storage control apparatus and storage method therefor
JP2003259281A (en) Digital camera and digital picture file generating device
JP5489590B2 (en) Information processing apparatus, control method thereof, and program
JP2006245748A (en) System of collecting and distributing digital camera data
JP2007179436A (en) Information processor, information processing method and program
JP5460164B2 (en) Information processing apparatus, control method, and program
KR20040104793A (en) Data manage method using storage media in mobile communication terminal
KR100975093B1 (en) Multimedia Storage System for executing multimedia management and multimedia play separately
JP5582797B2 (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080414

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: 20080513

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: 20080610

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

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 3

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080414

LAPS Cancellation because of no payment of annual fees