JP2006174099A - Electronic apparatus, method for recording date therein and photographing device - Google Patents
Electronic apparatus, method for recording date therein and photographing device Download PDFInfo
- Publication number
- JP2006174099A JP2006174099A JP2004363921A JP2004363921A JP2006174099A JP 2006174099 A JP2006174099 A JP 2006174099A JP 2004363921 A JP2004363921 A JP 2004363921A JP 2004363921 A JP2004363921 A JP 2004363921A JP 2006174099 A JP2006174099 A JP 2006174099A
- Authority
- JP
- Japan
- Prior art keywords
- date
- time
- file
- clock
- recorded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Electric Clocks (AREA)
- Camera Data Copying Or Recording (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、電子装置、撮影装置、及び電子装置の日時記録方法にかかり、特に、デジタルカメラ、携帯電話、パーソナルコンピュータ、PDA等の電子装置、デジタルカメラ等の撮影装置、及び当該電子装置の日時記録方法に関する。 The present invention relates to an electronic device, a photographing device, and a date and time recording method for the electronic device, and in particular, a digital camera, a mobile phone, a personal computer, an electronic device such as a PDA, a photographing device such as a digital camera, and the date and time of the electronic device. It relates to a recording method.
近年、日時を計時するデジタルカメラや携帯情報端末等の電子装置が普及している。このような電子装置では、各種情報をメモリ等に記録する際の記録日時として使用される日時情報や、撮影した画像情報に関連する付属情報として使用される日時情報が装置内部にて生成され、ファイル記録の際のタイムスタンプや撮影情報として、主情報と共に記録される。このような電子装置としては、例えば、特許文献1〜3に記載の技術が提案されている。
In recent years, electronic devices such as digital cameras and portable information terminals that measure the date and time have become widespread. In such an electronic device, date and time information used as recording date and time when recording various information in a memory and the like and date and time information used as attached information related to captured image information are generated inside the device, It is recorded together with the main information as a time stamp and shooting information at the time of file recording. As such an electronic device, for example, techniques described in
特許文献1に記載の技術では、時差がある地点での撮影データに対して、地域名に基づく時差データを保持して、保持した時差データに基づいて時刻の修正を行うことが提案されている。
In the technique described in
また、特許文献2に記載の技術では、機種情報をメディアから読出して、装置の発売日を特定し、撮影日付が発売日以前である場合に、不正日時と判断する技術が提案されている。
In the technique described in
また、特許文献3に記載の技術では、バッテリの交換を検出する交換検出手段と、バッテリの交換が検出されると、記録日時の記録を禁止し、時計の日付及び時刻が再設定されると、記録日時の記録の禁止を解除することが提案されている。
デジタルカメラなどの電子装置では、バッテリが消耗し内蔵時計の日時がリセットされた後などでは、撮影開始時に時計の再設定が必要となり、時計の再設定を行わずに撮影を行うと不正日時が記録されてしまう、という問題がある。 In an electronic device such as a digital camera, after the battery is depleted and the date / time of the built-in clock is reset, it is necessary to reset the clock when shooting starts. There is a problem of being recorded.
従来の技術では、上述のように時刻の修正を行うことや、不正日時を判断すること、バッテリ交換時に日時の記録を禁止することなどが提案されているが、不正日時のまま記録して日時が設定された時に修正するような技術は提案されていない。 In the prior art, it has been proposed to correct the time as described above, determine the incorrect date and time, and prohibit recording of the date and time when replacing the battery. No technology has been proposed for correcting when is set.
本発明は、上記事実を考慮して成されたもので、既に記録された日時が不正な場合でも日時が設定されたときに正確な日時の記録更新を可能とすることを目的とする。 The present invention has been made in consideration of the above-described facts, and an object of the present invention is to make it possible to accurately update the date and time when the date and time is set even when the date and time already recorded is incorrect.
上記目的を達成するために請求項1に記載の発明は、予め定めた初期状態日時からの経過時間を計時することにより日時を計時する時計手段と、電源投入時に前記時計手段によって計時された日時が不正日時か否かを判定する判定手段と、ファイル毎に前記時計手段によって計時された日時を記録する記録手段と、前記判定手段によって不正日時と判定された場合に、不正日時を表す不正日時状態フラグと共に前記時計手段によって計時された日時をファイル毎に記録するように前記記録手段を制御する制御手段と、を備えることを特徴としている。
In order to achieve the above object, the invention described in
請求項1に記載の電子装置によれば、時計手段では、予め定めた初期状態からの経過時間を計時することにより日時が計時され、判定手段では、電源投入時に時計手段によって計時された日時が不正日時か否か判定される。例えば、判定手段は、時計手段によって計時された日時が初期状態か否かを判定することによって不正日時か否かを判定することができる。 According to the electronic device of the first aspect, the clock means measures the date and time by measuring the elapsed time from a predetermined initial state, and the determination means determines the date and time counted by the clock means when the power is turned on. It is determined whether the date is invalid. For example, the determination unit can determine whether or not the date and time counted by the clock unit is an incorrect date and time by determining whether or not the date and time is an initial state.
また、記録手段では、ファイル毎に時計手段によって計時された日時が記録される。この時、制御手段では、判定手段によって不正日時と判定された場合に、不正日時を表す不正日時状態フラグと共に、時計手段によって計時された日時(不正日時)をファイル毎に記録するように記録手段が制御される。 The recording means records the date and time counted by the clock means for each file. At this time, in the control unit, when the determination unit determines that the date / time is invalid, the recording unit records the date / time (incorrect date / time) measured by the clock unit together with the incorrect date / time state flag indicating the illegal date / time. Is controlled.
すなわち、不正日時がファイルに記録された場合でも、不正日時状態フラグがあるか否かを確認することによって、ファイルに記録された日時が不正か否か判断することができる。 That is, even when an invalid date / time is recorded in the file, it can be determined whether the date / time recorded in the file is invalid by checking whether there is an invalid date / time status flag.
また、不正日時が記録されたファイルには不正日時状態フラグの他に、時計手段によって計時された不正日時が記録されるので、新たに現在の日時が設定された場合に、時計手段によって計時されている現在の日時(不正日時)、ファイルに記録された日時、及び新たな現在の日時に基づいて、正しい日時を計算して記録することが可能となる。 In addition to the illegal date / time status flag, the illegal date / time counted by the clock means is recorded in the file in which the illegal date / time is recorded. Therefore, when the current date / time is newly set, the time is counted by the clock means. The correct date and time can be calculated and recorded based on the current date and time (illegal date and time), the date and time recorded in the file, and the new current date and time.
従って、既に記録された日時が不正な場合でも日時が設定されたときに正確な日時の記録更新が可能となる。 Accordingly, even when the date and time already recorded is incorrect, the date and time can be accurately updated when the date and time is set.
なお、請求項2に記載の発明のように、保持手段を更に備えて、保持手段によって、判定手段の判定結果を日時状態フラグとして保持し、制御手段が保持手段に保持された日時状態フラグに基づいて制御を行うようにしてもよい。 As in the second aspect of the present invention, the holding means further includes a holding means that holds the determination result of the determining means as a date / time state flag, and the control means stores the date / time state flag held in the holding means. Control may be performed based on this.
正確な日時の記録更新は、例えば、請求項3に記載の発明のように、現在の日時を入力する入力手段と、制御手段の制御によって不正日時状態フラグが記録されたファイルについて、入力手段によって入力された現在の日時、ファイルに記録されている日時、及び時計手段によって計時されている現在の日時(不正日時)に基づいて、ファイルに記録されている日時を修正する修正手段と、を備えることで実現可能である。 For example, according to the third aspect of the present invention, the accurate date and time record update is performed by the input unit for the input unit for inputting the current date and time, and for the file in which the incorrect date and time status flag is recorded by the control of the control unit. Correction means for correcting the date and time recorded in the file based on the input current date and time, the date and time recorded in the file, and the current date and time (illegal date and time) timed by the clock means. This is possible.
請求項4に記載の撮影装置は、請求項1乃至請求項3の何れか1項に記載の電子装置を備え、被写体を撮影して被写体像を表す画像データを取得し、該画像データをファイルとして記録することを特徴としている。 A photographing apparatus according to a fourth aspect includes the electronic device according to any one of the first to third aspects, obtains image data representing a subject image by photographing the subject, and stores the image data as a file. It is characterized by recording as.
請求項4に記載の発明によれば、被写体を撮影して被写体像を表す画像データを取得して、ファイルに記録する撮影装置に、請求項1乃至請求項3の何れか1項に記載の電子装置を備えている。 According to a fourth aspect of the present invention, the photographing apparatus according to any one of the first to third aspects of the present invention provides a photographing apparatus that photographs a subject, acquires image data representing the subject image, and records the data in a file. Equipped with electronic devices.
従って、上述したように、既に記録された日時が不正な場合でも日時が設定されたときに正確な日時を記録更新すること可能となる。 Therefore, as described above, even when the already recorded date and time are incorrect, it is possible to record and update the correct date and time when the date and time is set.
請求項5に記載の電子装置の日時記録方法は、予め定めた初期状態日時からの経過時間を計時することにより日時を計時する時計ステップと、電源投入時に前記時計ステップで計時する日時が不正日時か否かを判定する判定ステップと、ファイル毎に前記時計ステップで計時した日時を記録する記録ステップと、前記判定ステップで不正日時と判定された場合に、不正日時を表す不正日時状態フラグと共に前記時計ステップで計時した日時をファイル毎に記録するように前記記録ステップを制御する制御ステップと、を含むことを特徴としている。 The date and time recording method for an electronic device according to claim 5 is a clock step for measuring the date and time by counting an elapsed time from a predetermined initial state date and time, and the date and time measured by the clock step at power-on is an incorrect date and time. A determination step for determining whether or not, a recording step for recording the date and time counted in the clock step for each file, and an incorrect date and time status flag indicating an incorrect date and time when the determination step determines an incorrect date and time And a control step for controlling the recording step so as to record the date and time measured in the clock step for each file.
請求項5に記載の発明によれば、時計ステップでは、予め定めた初期状態からの経過時間を計時することにより日時を計時し、判定ステップでは、電源投入時に時計ステップで計時した日時が不正日時か否か判定する。例えば、判定ステップは、時計ステップで計時した日時が初期状態か否かを判定することによって不正日時か否かを判定することができる。 According to the invention described in claim 5, in the clock step, the date and time is measured by measuring the elapsed time from a predetermined initial state, and in the determination step, the date and time counted in the clock step at power-on is an incorrect date and time. It is determined whether or not. For example, the determination step can determine whether or not the date and time measured at the clock step is an incorrect date and time by determining whether or not the date and time is an initial state.
また、記録ステップでは、ファイル毎に時計ステップで計時した日時を記録する。この時、制御ステップでは、判定ステップで不正日時と判定した場合に、不正日時を表す不正日時状態フラグと共に、時計ステップで計時した日時(不正日時)を記録するように記録ステップを制御する。 In the recording step, the date and time counted in the clock step is recorded for each file. At this time, the control step controls the recording step to record the date and time (illegal date and time) measured in the clock step together with the illegal date and time status flag indicating the illegal date and time when it is determined that the date and time is invalid.
すなわち、不正日時がファイルに記録された場合でも、不正日時状態フラグがあるか否かを確認することによって、ファイルに記録された日時が不正か否か判断することができる。 That is, even when an invalid date / time is recorded in the file, it can be determined whether the date / time recorded in the file is invalid by checking whether there is an invalid date / time status flag.
また、不正日時が記録されたファイルには不正日時状態フラグの他に、時計ステップで計時した不正日時が記録されるので、新たに日時が設定された場合に、時計ステップで計時している現在の日時(不正日時)、ファイルに記録した日時、及び新たな現在の日時に基づいて、正しい日時を計算して記録することが可能となる。 In addition to the illegal date / time status flag, the illegal date / time counted in the clock step is recorded in the file in which the illegal date / time is recorded. Therefore, when a new date / time is set, the current time measured in the clock step is recorded. The correct date and time can be calculated and recorded based on the date and time (incorrect date and time), the date and time recorded in the file, and the new current date and time.
従って、既に記録された日時が不正な場合でも日時が設定されたときに正確な日時の記録更新が可能となる。 Accordingly, even when the date and time already recorded is incorrect, the date and time can be accurately updated when the date and time is set.
なお、請求項6に記載の発明のように、保持ステップを更に含み、判定ステップの判定結果を日時状態フラグとして保持ステップで保持し、制御ステップが保持ステップで保持した日時状態フラグに基づいて制御を行うようにしてもよい。
In addition, as in the invention described in
正確な日時の記録更新は、例えば、請求項7に記載の発明のように、現在の日時を入力する入力ステップと、制御ステップの制御によって不正日時状態フラグが記録されたファイルについて、入力ステップで入力した現在の日時、ファイルに記録されている日時、及び時計ステップで計時している現在の日時(不正日時)に基づいて、ファイルに記録されている日時を修正する修正ステップと、を備えることで実現可能である。 For example, as shown in the invention according to claim 7, the accurate date and time record update is performed in the input step for an input step for inputting the current date and time, and for a file in which an illegal date and time status flag is recorded by the control of the control step. A correction step for correcting the date and time recorded in the file based on the input current date and time, the date and time recorded in the file, and the current date and time (illegal date and time) measured in the clock step. It is feasible.
以上説明したように本発明によれば、電源投入時に計時された日時が不正日時か否かを判定し、不正日時と判定された場合に、不正日時を表す不正日時状態フラグと共に日時をファイル毎に記録することで、新たに日時が設定された場合に、現在の日時、ファイルに記録した日時、及び新たな現在の日時に基づいて、正しい日時を計算して記録することができるので、既に記録された日時が不正な場合でも日時が設定されたときに正確な日時の記録更新が可能となる、という効果がある。 As described above, according to the present invention, it is determined whether or not the date and time counted when the power is turned on is an illegal date and time. When a new date and time is set, the correct date and time can be calculated and recorded based on the current date and time, the date and time recorded in the file, and the new current date and time. Even when the recorded date and time are incorrect, there is an effect that the recording and updating of the accurate date and time can be performed when the date and time is set.
以下、図面を参照して本発明の実施の形態の一例を詳細に説明する。本実施の形態では、本発明をデジタルカメラに適用した例を説明するが、携帯電話、パーソナルコンピュータ、PDA等のその他の電子装置に本発明を適用するようにしてもよい。 Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings. In this embodiment, an example in which the present invention is applied to a digital camera will be described. However, the present invention may be applied to other electronic devices such as a mobile phone, a personal computer, and a PDA.
図1は、本発明の実施の形態に係わるデジタルカメラの外観を示す図である。 FIG. 1 is a diagram showing an external appearance of a digital camera according to an embodiment of the present invention.
本発明の実施の形態に係わるデジタルカメラ10は、図1(A)に示すように、カメラ本体12の前面にレンズ14、上面にレリーズボタン16を備えている。
As shown in FIG. 1A, the
また、図1(B)に示すように、本体12の裏面には、電源ボタン18、指示キー20、入力ボタン22等の各種スイッチが設けられていると共に、撮影画像を表示するための液晶ディスプレイ(以下、LCDという)24が設けられている。
As shown in FIG. 1B, various switches such as a power button 18, an
図2は、本発明の実施の形態に係わるデジタルカメラ10の電気系の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of the electrical system of the
本発明の実施の形態に係わるデジタルカメラ10は、制御部26、メディアインタフェース(I/F)28、撮像系30、LCD24、内蔵メモリ32、内蔵時計34、状態記録装置36、指示キー20、入力ボタン22、電源ボタン18、及びUSBインタフェース(I/F)38を備え、バス40を介して接続されている。
The
撮像系30は、画像データの取り込みを行うと共に、画像データに基づく画像ファイルの作成を行い、デジタルカメラ10内に画像データを取り込む。なお、画像ファイルは、撮影日時を表す日時データ及び画像データを含んで構成される。
The
内部メモリ32には、制御部26で実効される各種プログラムが記憶されており、画像ファイルの一時的な記憶も行われると共に、制御部26で行われる演算の作業領域としても使用される。
Various programs executed by the
制御部26は、内部メモリ32に記憶されている各種プログラムを読み出して、読み出したプログラムを実行することにより、デジタルカメラ10全体の制御を行う。
The
メディアI/F28は、外部メモリ42への画像ファイルの書き込み及び外部メモリ42からの画像ファイルの読み出しを行う。すなわち、撮像系30によってデジタルカメラ10内に取り込まれた画像データが画像ファイルとして外部メモリ42に書き込むことができる。
The media I /
LCD24は、撮像系30によって取り込まれた画像データに基づく画像の表示やデジタルカメラ10内の各種設定画面表示等を行う。なお、各種設定画面の操作は、指示キー20や入力ボタン22を用いて行うことができる。
The
内蔵時計34は、所定の間隔で日時を表す値を初期状態からカウントアップすることで経過時間を計時して日時を計時する。また、内蔵時計34は、初期状態では、例えば“0”等の特殊な値が予め設定される。初期状態は、バッテリが切れて内蔵時計34への電源供給がない状態が続いた後に、内蔵時計34へ電源供給が再開された時に初期状態が設定され、内蔵時計34への電源供給が続く限り、日時を表す値のカウントアップを行う。
The built-in
USBインタフェース38は、USBケーブルを介して、外部装置(例えば、パーソナルコンピュータ、他のデジタルカメラ、PDA、携帯電話等)と接続可能とされている。本実施の形態では、外部装置からUSBインタフェース38を介して内蔵時計34の日時を設定するための情報がデジタルカメラ10に入力される。なお、内蔵時計34への日時設定は、指示キー20や入力ボタン22等の操作によっても入力することができる。
The
状態記録装置36には、内蔵時計34に設定されている日時が正しいか、不正日時かを表す日時状態フラグが記録される。なお、日時が正しいか不正日時かの判断は、電源投入時に内蔵時計34の値が初期状態か否かを制御部26が判定することによってなされる。
The
状態記録装置36は、詳細には、図3に示すように、時計基準日時記憶ROM44及び状態フラグ記憶装置46を含んで構成されている。時計基準日時記憶ROM44には、予め定められた基準日時として特定の日時を表す値が記憶されており、当該基準日時を表す値と、内蔵時計34が計時した現在日時とを比較することで、上述の内蔵時計34の初期状態か否かを制御部26が判定し(例えば、現在日時が基準日時よりも前の場合に初期状態と判定する)、状態フラグ記憶装置46に、制御部26によって判定された判定結果が日時状態フラグとして記憶される。
Specifically, the
続いて、上述のように構成されたデジタルカメラ10の動作の一例について説明する。図4は、本発明の実施の形態に係わるデジタルカメラ10の制御部26で行われる処理の一例の流れを示すフローチャートである。
Next, an example of the operation of the
まず、デジタルカメラ10の電源が投入されると、ステップ100では、内蔵時計34起動処理が行われる。なお、内蔵時計起動処理は、図5に示すフローチャートに沿って行われる。
First, when the power of the
すなわち、ステップ200では、内蔵時計34から日時が制御部26に取得されてステップ202へ移行する。
That is, in
ステップ202では、内蔵時計34から取得した日時が初期状態か否か制御部26によって判定される。該判定は、状態記録装置36の時計基準日時記憶ROM44に記憶された基準日時を表す値を取得し、該取得の基準日時の値と内蔵時計34から取得した日時とを比較することによってなされ、内蔵時計の値が基準日時よりも前の日時を表す値である場合に、初期状態に戻ったと判断し、該判定が肯定された場合には、ステップ204へ移行し、否定された場合には、ステップ206へ移行する。
In
ステップ204では、状態記録装置36の状態フラグ記憶装置46に記憶する日時状態フラグが正常に設定されて、ステップ208へ移行する。
In
ステップ206では、状態記録装置36の状態フラグ記憶装置46に記憶する日時状態フラグが不正日時に設定されて、ステップ208へ移行する。
In
このように日時状態フラグが設定されると、ステップ208では、内蔵時計34に対して動作開始指示が制御部26から出力されて、図4のフローチャートのステップ102に戻る。これによって、内蔵時計34の動作が開始されて、日時のカウントアップが開始される。
When the date / time state flag is set in this way, in
続いて、図2のステップ102では、日時入力がなされたか否か制御部26によって判定される。該判定は、例えば、デジタルカメラ10に設けられた入力ボタン22や指示キー20が操作されて日時の入力が行われたか否かを判定したり、日時の取得が可能なパーソナルコンピュータ等の外部装置がUSBインタフェース38を介して接続されて日時が入力されたか否かを制御部26が判定することによってなされ、該否定が肯定された場合には、ステップ104へ移行する。
Subsequently, in
ステップ104では、撮影画像データが入力されたか否か制御部26によって判定される。該判定は、例えば、撮像系30による撮影によって撮影画像データを取得したか否かを制御部26が判定することによってなされ、該判定が肯定された場合には、ステップ106へ移行して、不正日時状態フラグが設定されているか否か制御部26によって判定される。該判定は、制御部26が状態記録装置36の状態フラグ記憶装置46に記憶された日時状態フラグを確認することによってなされ、該判定が肯定された場合には、ステップ108へ移行し、否定された場合には、ステップ110へ移行する。
In
ステップ108では、画像データ、日時、及び不正日時状態フラグがファイルとして外部メモリ42等に記録されて、ステップ132へ移行する。
In
また、ステップ110では、画像データと日時がファイルとして外部メモリ42等に記録されて、ステップ132へ移行する。 In step 110, the image data and date / time are recorded as files in the external memory 42 or the like, and the process proceeds to step 132.
一方、ステップ104の判定が否定された場合には、ステップ112へ移行して、画像データの読み出しか否か制御部26によって判定される。該判定は、例えば、指示キー20や入力ボタン22等が操作されて撮影画像のLCD24への表示が指示されたか否かを制御部26が判定することによってなされ、該判定が肯定された場合には、ステップ114へ移行して、画像データに基づく画像がLCD24に表示されるように制御部26によって制御されて、ステップ132へ移行する。なお、この時の表示画像の一例を図6(A)に示す。例えば、日時状態フラグが不正日時状態フラグと共に記憶されている画像データについては、図6(A)に示すように、「日時が不正です。設定する:(1)」等の表示を同時に表示するようにしてもよい。この場合には、(1)に対応する操作を行うことで日時設定を行うことが可能となる。
On the other hand, if the determination in
また、ステップ112の判定が否定された場合には、そのままステップ132へ移行する。 If the determination at step 112 is negative, the process proceeds to step 132 as it is.
一方、ステップ102の判定が肯定された場合には、ステップ116へ移行して、外部メモリ42等に記憶されたファイルに不正日時状態フラグが設定されているか否か制御部26によって判定される。該判定は、状態記録装置36の状態フラグ記憶装置46に不正日時状態フラグが設定されているか否かを制御部26が確認することによってなされ、該判定が肯定された場合には、ステップ118へ移行し、否定された場合には、ステップ130へ移行する。
On the other hand, when the determination in
ステップ118では、制御部26によって状態フラグ記憶装置46の日時状態フラグがリセット、すなわち、正常フラグに書き換えられてステップ120へ移行する。
In
ステップ120では、外部メモリ42等に記録されたファイルが制御部26の制御によって内蔵メモリ32等に読み出され、ステップ122へ移行する。
In
ステップ122では、読み出されたファイルが不正日時のファイルか否か制御部26によって判定される。すなわち、ステップ108で日時状態フラグとして不正日時状態フラグがファイルに記録されているか否か制御部26によって判定され、該判定が否定された場合には、ステップ120に戻って、他のファイルが読み出され、ステップ122の判定が肯定された場合には、ステップ124へ移行する。
In
ステップ124では、ファイルに記録された正確な日時が計算されてステップ126へ移行して、計算された日時にファイルに記録された日時が記録更新されてステップ128へ移行する。なお、日時の計算は、例えば、次のように計算できる。すなわち、内蔵時計34の現在の日時(不正日時)を表す値をTc、入力された更新日時(新たな現在の日時)を表す値をTr、ファイルに記録された不正日時を表す値をTeとすると、ファイルの新たな日時は、Tr−(Tc−Te)で計算することができる。
In
そして、ステップ128では、全ファイルについて日時修正が終了したか制御部26によって判定される。該判定は、外部メモリ42内に記録された全てのファイルについてステップ120〜126の処理が終了したか否かを制御部26が判定することによってなされ、該判定が否定された場合には、ステップ120に戻って上述の処理が繰り返され、ステップ128の判定が肯定されたところでステップ130へ移行して、内蔵時計34の日時が入力された日時に更新された後にステップ132へ移行する。
In step 128, the
そして、ステップ132では、電源ボタン18の操作等によって電源がオフされたか否か判定され、該判定が否定された場合には、ステップ102に戻って上述の処理が繰り返され、ステップ132の判定が肯定されたところで一連の処理を終了する。 In step 132, it is determined whether or not the power is turned off by operating the power button 18 or the like. If the determination is negative, the process returns to step 102 and the above-described processing is repeated. When affirmed, the series of processes is terminated.
なお、上記の実施の形態では、不正日時状態フラグが状態フラグ記憶装置46に設定されているとき(ステップ116の判定が肯定された場合)に、自動的にファイルの日時の修正を行うようにしたが、これに限るものではなく、例えば、図6(B)に示すように、ファイル毎に更新するか否かをユーザに適宜問い合わせる表示を行い、ユーザの指示に応じて日時の修正更新を行うようにしてもよい。図6(B)の場合には、表示する画像を修正する場合には、(1)に対応する操作を行い、全ての画像を修正する場合には、(2)に対応する操作をユーザが行うことで、日時の修正を行う場合の表示画像の一例を示す。
In the above embodiment, when the illegal date / time status flag is set in the status flag storage device 46 (when the determination in
10 デジタルカメラ
20 指示キー
22 入力ボタン
26 制御部
34 内蔵時計
36 状態記録装置
38 USB I/F
44 状態フラグ記憶装置
46 時計基準日時記憶ROM
DESCRIPTION OF
44 Status
Claims (7)
電源投入時に前記時計手段によって計時された日時が不正日時か否かを判定する判定手段と、
ファイル毎に前記時計手段によって計時された日時を記録する記録手段と、
前記判定手段によって不正日時と判定された場合に、不正日時を表す不正日時状態フラグと共に前記時計手段によって計時された日時をファイル毎に記録するように前記記録手段を制御する制御手段と、
を備えた電子装置。 Clock means for measuring the date and time by measuring the elapsed time from the predetermined initial state date and time,
Determination means for determining whether the date and time counted by the clock means at the time of power-on is an incorrect date and time;
Recording means for recording the date and time counted by the clock means for each file;
Control means for controlling the recording means to record, for each file, the date and time counted by the clock means together with an illegal date and time status flag indicating the illegal date and time when the determination means determines that the date and time is invalid;
An electronic device with
電源投入時に前記時計ステップで計時する日時が不正日時か否かを判定する判定ステップと、
ファイル毎に前記時計ステップで計時した日時を記録する記録ステップと、
前記判定ステップで不正日時と判定された場合に、不正日時を表す不正日時状態フラグと共に前記時計ステップで計時した日時をファイル毎に記録するように前記記録ステップを制御する制御ステップと、
を含む電子装置の日時記録方法。 A clock step for measuring the date and time by counting the elapsed time from a predetermined initial state date and time,
A determination step of determining whether or not the date and time counted by the clock step at power-on is an incorrect date and time;
A recording step for recording the date and time counted in the clock step for each file;
A control step for controlling the recording step so as to record, for each file, the date and time counted in the clock step together with an illegal date and time state flag representing the illegal date and time when it is determined as an illegal date and time in the determination step;
A date and time recording method for an electronic device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004363921A JP2006174099A (en) | 2004-12-16 | 2004-12-16 | Electronic apparatus, method for recording date therein and photographing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004363921A JP2006174099A (en) | 2004-12-16 | 2004-12-16 | Electronic apparatus, method for recording date therein and photographing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006174099A true JP2006174099A (en) | 2006-06-29 |
Family
ID=36674371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004363921A Pending JP2006174099A (en) | 2004-12-16 | 2004-12-16 | Electronic apparatus, method for recording date therein and photographing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006174099A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020161973A (en) * | 2019-03-26 | 2020-10-01 | ブラザー工業株式会社 | Optical scanning device, control method, and program |
-
2004
- 2004-12-16 JP JP2004363921A patent/JP2006174099A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020161973A (en) * | 2019-03-26 | 2020-10-01 | ブラザー工業株式会社 | Optical scanning device, control method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4125309B2 (en) | Imaging device | |
JP2008206138A (en) | Imaging apparatus and image processor | |
JP2012004899A (en) | Imaging device, and method and program for controlling the same | |
JP2019004500A (en) | Electronic device and program | |
JP2003209718A (en) | Electronic device | |
JP2009272844A (en) | Electronic appliance | |
JP2006174099A (en) | Electronic apparatus, method for recording date therein and photographing device | |
JP4646725B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
KR101983481B1 (en) | Electronic device and connection method | |
JP4498071B2 (en) | Imaging device, control method of the imaging device, control program, and storage medium | |
JP2007209131A (en) | Charger | |
JP4836233B2 (en) | Image processing apparatus, control method therefor, computer program, and storage medium | |
JP2011221582A (en) | Information processor, calibration method thereof, program and storage medium | |
JP4298534B2 (en) | Image display apparatus and method | |
JP4785778B2 (en) | Imaging device, control method thereof, and program | |
JP4679333B2 (en) | Digital camera | |
JP2010197710A (en) | Image display apparatus | |
JP2011130198A (en) | Imaging apparatus, control method thereof and program | |
JP2005115505A (en) | Electronic device | |
JP2015109567A (en) | Imaging device with file monitoring function and file monitoring method of imaging device, and file monitoring program of imaging device | |
JP4557463B2 (en) | Image processing device | |
JP5599037B2 (en) | Imaging apparatus, control method thereof, and program | |
JP5811398B2 (en) | Display device, photographing device, image storage device, display control method, image storage method, and program | |
JP5968086B2 (en) | Imaging apparatus and control method thereof | |
JP4383974B2 (en) | Imaging apparatus and image data management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20070221 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070302 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090825 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20091222 |