JP2007251316A - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP2007251316A
JP2007251316A JP2006068725A JP2006068725A JP2007251316A JP 2007251316 A JP2007251316 A JP 2007251316A JP 2006068725 A JP2006068725 A JP 2006068725A JP 2006068725 A JP2006068725 A JP 2006068725A JP 2007251316 A JP2007251316 A JP 2007251316A
Authority
JP
Japan
Prior art keywords
memory
image
digital camera
image transmission
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006068725A
Other languages
Japanese (ja)
Inventor
Sadao Oba
節生 大庭
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006068725A priority Critical patent/JP2007251316A/en
Publication of JP2007251316A publication Critical patent/JP2007251316A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital camera with a high recycle efficiency. <P>SOLUTION: A flowchart associated with image transmission and erasure processing of a first memory includes: a step S21 of executing confirmation of the number of photographed images; a step S22 of transferring image files one by one; a step S23 of repeating the transfer of images by the number of confirmed files as above until the transfer is finished; a step S24 of erasing contents of a second memory storing image data when image transmission is finished and confirmation of normal reception of the image is informed from an external device via an external I/F (Yes in a processing S23); a step S25 of copying a program part for erasing the first memory to a RAM and expanded therein after the erasure of the second memory; and a step S26 wherein a CPU executes the program expanded in the RAM, executes an erasure command of the first memory and erases the contents of the first memory. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、デジタルカメラに関し、特に、リサイクル率の高い使い捨てデジタルカメラに関するものである。   The present invention relates to a digital camera, and more particularly to a disposable digital camera with a high recycling rate.

従来のデジタルカメラにおいては、例えば特許文献1に記載されるように、筐体が分解されたことを検知するフォトセンサを内部に持ち、内部画像データを画像データベースに転送時に分解されたことを通知し、画像閲覧時に警告通知を行うようにして、リサイクル率を上げる提案がされている。また、その実施例にはデジタルカメラの画像を画像データベースに転送し、インターネットを介して画像を見られるビジネスモデルが提案されている。しかしながら、分解されたデジタルカメラ画像を何の支障もなく閲覧可能なサービスを提供する海賊業者が現れた場合、十分なリサイクル率が得られない可能性がある。   In a conventional digital camera, for example, as described in Patent Document 1, a photo sensor that detects that the housing has been disassembled is provided inside, and notification that the internal image data has been disassembled when transferred to the image database is provided. However, a proposal has been made to raise the recycling rate by issuing a warning notice when viewing an image. In the embodiment, a business model is proposed in which an image of a digital camera is transferred to an image database and the image can be viewed via the Internet. However, when a pirate who provides a service capable of browsing the decomposed digital camera image without any trouble appears, there is a possibility that a sufficient recycling rate cannot be obtained.

また、特許文献2ではデジタルカメラ内で暗号化した画像データを保持し、暗号化データの復調機能は店舗のデータ復調機のみとしてリサイクルを図るものが提案されている。しかしながら、暗号化データを保持するため、通常の画像データよりもデータ量が多いため、高価なメモリの容量を増やすかあるいは撮影枚数を減らすなどの処置が必要となる。また枚数が多い場合に、データ転送に時間を要するため、撮影枚数が多い場合には使用者にストレスを感じさせることになってしまう。また、不正使用を目的として違法に使用される可能性がある。   Japanese Patent Application Laid-Open No. 2004-228561 proposes a technique in which image data encrypted in a digital camera is held, and the demodulating function of the encrypted data is recycled only as a store data demodulator. However, since the encrypted data is held, the amount of data is larger than that of normal image data, and thus it is necessary to take measures such as increasing the capacity of an expensive memory or reducing the number of shots. Also, when the number of images is large, it takes time to transfer data, and when the number of images is large, the user feels stressed. It may also be used illegally for illegal use.

また、特許文献3では、デジタルカメラが接続される装置からの暗号入力が適正であれば画像データを消去して、リサイクル効率を上げる提案がされている。しかしながら、暗号データの漏えいや違法解析等により十分なリサイクル率が得られない可能性がある。また、工場等で暗号入力を行わない限り、画像が消去できないため、失敗した撮影画像を使用者が消去できず、デジタルカメラの利点である、その場で確認し、駄目な写真を消すという恩恵を受けることができない。
特許第3605008号公報 特開2000−196931号公報 特開2003−319318号公報
Japanese Patent Application Laid-Open No. 2004-26883 proposes to increase the recycling efficiency by erasing image data if the encryption input from the device to which the digital camera is connected is appropriate. However, there is a possibility that a sufficient recycling rate cannot be obtained due to leakage of encrypted data or illegal analysis. In addition, since the image cannot be erased unless cryptographic input is performed at the factory, etc., the user cannot erase the failed photographed image. Can not receive.
Japanese Patent No. 3605008 JP 2000-196931 A JP 2003-319318 A

本発明は、いわゆる使い捨てカメラと呼ばれるリサイクルデジタルカメラに関するものであり、前記技術の不具合を解決しながらリサイクル効率の高いデジタルカメラを提供することを目的とする。すなわち、従来例のごとく画像データの容量を増やすことなく、また店舗側の装置に特殊な機能を持たせずに、海賊業者によるリサイクル率の低下を防ぎ、かつ使用者が画像削除することを阻害せずにリサイクル率を上げるデジタルカメラを提供することを目的とする。   The present invention relates to a recycle digital camera called a so-called disposable camera, and an object of the present invention is to provide a digital camera with high recycle efficiency while solving the problems of the technology. That is, without increasing the volume of image data as in the conventional example, and without having a special function in the store side device, it prevents the pirates from reducing the recycling rate and prevents users from deleting images. The purpose is to provide a digital camera that can increase the recycling rate without doing so.

前記の目的を達成するために、本発明に係る請求項1に記載したデジタルカメラは、レンズを含む光学系により集光された被写体像からの反射光を電気信号に変換する固体撮像素子と、固体撮像素子からの信号をデジタル化および画像処理する画像処理部と、各デバイスの動作を制御するCPUと、CPUのプログラムを保持する第1メモリと、画像処理された画像データを保持する第2メモリと、第2メモリに保持された画像データを外部インターフェースを介して送出する送出手段と、画像データを送出後に第1メモリもしくは第1メモリと第2メモリの両方の内容を消去する消去手段とを備えた構成によって、画像送出後は店舗を介して返却することになり、また不正使用を目的として他への流出を防ぐことができる。   In order to achieve the above object, a digital camera according to claim 1 of the present invention includes: a solid-state imaging device that converts reflected light from an object image collected by an optical system including a lens into an electrical signal; An image processing unit that digitizes and processes an image from a solid-state image sensor, a CPU that controls the operation of each device, a first memory that stores a program of the CPU, and a second that stores image data that has undergone image processing A memory, a sending means for sending image data held in the second memory via an external interface, and an erasing means for erasing the contents of the first memory or both the first memory and the second memory after sending the image data With this configuration, after the image is sent out, it will be returned through the store, and it is possible to prevent outflow to others for the purpose of unauthorized use.

また、請求項2〜4に記載したデジタルカメラは、請求項1のデジタルカメラにおいて、送出手段の画像データの送出時に、第1メモリもしくは第2メモリの一部に画像送出フラグを書き込むこと、さらに、画像送出フラグにより画像送出の実行を検知した場合に、第1メモリもしくは第1メモリと第2メモリの両方を消去すること、さらに、画像フラグにより画像送出の実行を検知し、かつ第2メモリに画像が残っている場合に、画像送出の実行のみ可能とした構成によって、画像送出後の第1メモリの消去が実施される前に、デジタルカメラのシステムを停止されたとしても、その後の動作で本体プログラムが消去されて機能しないため、不正使用を目的として他への流出を防ぐことができる。   Further, in the digital camera according to claim 2, in the digital camera according to claim 1, the image transmission flag is written in a part of the first memory or the second memory when the image data is transmitted by the transmission means. When the execution of the image transmission is detected by the image transmission flag, the first memory or both the first memory and the second memory are deleted, the execution of the image transmission is detected by the image flag, and the second memory Even if the system of the digital camera is stopped before the first memory is erased after the image transmission by the configuration that can only execute the image transmission when the image remains in Since the main program is erased and does not function, it is possible to prevent leakage to others for the purpose of unauthorized use.

また、請求項5,6に記載したデジタルカメラは、請求項1〜4のデジタルカメラにおいて、第1メモリに対して直接書き込みを行う書込手段を備えたこと、また、筐体が開かれたことを検知する検知手段を備え、検知手段が筐体が開かれたことを検知すると、第1メモリに保持するプログラムを消去する構成によって、プログラムを消去した第1メモリに、新しくメモリを交換することなく本体プログラムを書き込みができ、交換によるコストおよび不良発生を防ぎ、また筐体が開かれた場合、本体プログラムを消去して本体プログラムの複製等を含み違法な再利用を回避でき、リサイクル効率を上げることができる。   The digital camera described in claims 5 and 6 is the digital camera according to claims 1 to 4, further comprising writing means for directly writing to the first memory, and the housing is opened. When detecting that the housing has been opened, the memory is replaced with a first memory from which the program has been erased by a configuration for erasing the program held in the first memory. It is possible to write the main program without any trouble, prevent the cost and failure due to replacement, and if the case is opened, the main program can be deleted to avoid illegal reuse including duplication of the main program, etc., and recycling efficiency Can be raised.

本発明によれば、外部機器への画像送出後に本体プログラムを消去することでデジタルカメラの機能を停止し、これによりデジタルカメラの不正使用を回避し、かつリサイクル効率を高めることができるという効果を奏する。   According to the present invention, it is possible to stop the function of the digital camera by erasing the main body program after sending the image to the external device, thereby preventing unauthorized use of the digital camera and increasing the recycling efficiency. Play.

以下、図面を参照して本発明における実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は本発明の実施の形態におけるデジタルカメラの概略構成を示すブロック図である。なお、図1に示すブロック図は一般的なデジタルカメラと同様な構成であり、本発明に特有の構成ではない。   FIG. 1 is a block diagram showing a schematic configuration of a digital camera according to an embodiment of the present invention. The block diagram shown in FIG. 1 has the same configuration as a general digital camera, and is not a configuration specific to the present invention.

以下に、図1のブロック図を参照しながらデジタルカメラの構成について説明する。被写体からの光は光学系1を介して撮像素子2に入射される。なお、光学系は一般的に焦点距離や画角を調整可能するための撮像レンズ1a、絞り機能とシャッター機能を兼ねる絞り兼用シャッター1b、赤外光等を除去する光学フィルタ1cで構成される。撮像レンズ1aや絞り兼用シャッター1bはメカ系駆動回路3によって駆動される。被写体からの反射光は光学系1を介して撮像素子2によって電気信号に変換される。   The configuration of the digital camera will be described below with reference to the block diagram of FIG. Light from the subject enters the image sensor 2 via the optical system 1. The optical system generally includes an imaging lens 1a for adjusting the focal length and angle of view, an aperture / shutter 1b having both an aperture function and a shutter function, and an optical filter 1c for removing infrared light and the like. The imaging lens 1a and the diaphragm / shutter 1b are driven by a mechanical drive circuit 3. Reflected light from the subject is converted into an electrical signal by the image sensor 2 via the optical system 1.

タイミング信号発生回路4(TG)は撮像素子2を動作させるために必要なタイミング信号を発生し、撮像素子2を駆動可能なレベルまで撮像素子駆動回路5で増幅され撮像素子2に供給される。撮像素子2の出力は前置処理回路6に入力され、撮像素子2の出力ノイズ除去のためのCDS(相関二重サンプリング)回路や信号増幅のためのAGC回路によりアナログ処理され、A/D変換器7に入力される。A/D変換によりデジタル化された信号はいったん記憶するためのメモリとその信号を処理する撮像信号処理する回路を有する撮像信号処理回路8に入力される。   The timing signal generation circuit 4 (TG) generates a timing signal necessary for operating the image sensor 2, is amplified by the image sensor drive circuit 5 to a level at which the image sensor 2 can be driven, and is supplied to the image sensor 2. The output of the image sensor 2 is input to the pre-processing circuit 6 and is analog processed by a CDS (correlated double sampling) circuit for removing output noise of the image sensor 2 or an AGC circuit for signal amplification, and A / D conversion is performed. Is input to the device 7. A signal digitized by A / D conversion is input to an imaging signal processing circuit 8 having a memory for temporarily storing and an imaging signal processing circuit for processing the signal.

信号処理されたデータは媒体I/F9を通して、不揮発性メモリである第2メモリ10に保存される。一般的には第2メモリ10としてはSDメモリカード(登録商標)等に広く採用されているNAND型FlashROMが使われる。   The signal-processed data is stored in the second memory 10 which is a nonvolatile memory through the medium I / F 9. Generally, as the second memory 10, a NAND flash ROM widely used in an SD memory card (registered trademark) or the like is used.

これらのブロックはシステム制御を行うCPU11によって制御される。CPU11は第1メモリ12に記録された動作プログラムによって動作し、演算処理等はバス上に接続されたRAM13をワーク領域として使用する。また、使用者の操作補助のための表示やデジタルカメラの状態を表す表示部14への書き込みや、デジタルカメラの撮影開始を撮影者が制御するための撮影ボタンであるレリーズスイッチ15を監視する。   These blocks are controlled by the CPU 11 that performs system control. The CPU 11 operates according to an operation program recorded in the first memory 12, and the arithmetic processing and the like use the RAM 13 connected on the bus as a work area. Also, a release switch 15 that is a photographing button for the photographer to control the display for the user's operation assistance, the writing to the display unit 14 indicating the state of the digital camera, and the photographing start of the digital camera is monitored.

なおレリーズスイッチ15は、一般的に被写体に焦点を合わせるAF(Auto-Focus)動作を実行させる第1ストロークSW1と本撮影を行う第2ストロークSW2の2段階操作が可能である。第1ストロークSW1が押されるところまでレリーズスイッチ15を押した状態を半押し、第2ストロークSW2が押されるところまでレリーズスイッチ15を押し切った状態を全押しと言ったりする。   Note that the release switch 15 can generally be operated in two steps: a first stroke SW1 for executing an AF (Auto-Focus) operation for focusing on a subject and a second stroke SW2 for performing main photographing. A state where the release switch 15 is pressed halfway until the first stroke SW1 is pressed is half-pressed, and a state where the release switch 15 is fully pressed until the second stroke SW2 is pressed is called full press.

電源ブロック16はすべてのブロックに電源を供給するブロックで、電源スイッチ(図示せず)のオンにより各ブロックに電源を供給し、電源スイッチのオフまたは非使用状態が続くとCPU11によってオフされたりする。また、測距センサ17は光学系1の焦点調整のために撮像素子2と被写体の明るさを測定する測距のセンサおよび回路で構成される。また、測光センサ18は被写体の明るさを測定するための測光のセンサおよび回路で構成される。   The power block 16 is a block that supplies power to all the blocks. When a power switch (not shown) is turned on, power is supplied to each block, and the power supply block 16 is turned off by the CPU 11 when the power switch continues to be turned off or not used. . The distance measuring sensor 17 is composed of an image sensor 2 and a distance measuring sensor and circuit for measuring the brightness of the subject for focus adjustment of the optical system 1. The photometric sensor 18 includes a photometric sensor and a circuit for measuring the brightness of the subject.

第2メモリ10に蓄えられた画像データは、外部I/F19を介して送出手段により外部装置20に送信される。外部I/F19は汎用のインターフェース、例えばUSBインターフェースやシリアルATAインターフェースやRS232Cインターフェースや無線のBlueTooth(登録商標)等の公知のインターフェースで良い。もちろん、各社オリジナルの特殊インターフェースであっても良い。   The image data stored in the second memory 10 is transmitted to the external device 20 by the sending means via the external I / F 19. The external I / F 19 may be a general-purpose interface, for example, a known interface such as a USB interface, a serial ATA interface, an RS232C interface, or wireless BlueTooth (registered trademark). Of course, each company's original special interface may be used.

なお、図1では第1メモリ12と第2メモリ10を別個に記載しているが、1つのメモリデバイスのメモリ空間を分割して、第1メモリ12の領域と第2メモリ10の領域を割り当てても良い。   In FIG. 1, the first memory 12 and the second memory 10 are described separately, but the memory space of one memory device is divided and the areas of the first memory 12 and the second memory 10 are allocated. May be.

また、図2は本発明の実施形態1におけるデジタルカメラの動作を示すフローチャートであり、図1を参照しながら説明する。   FIG. 2 is a flowchart showing the operation of the digital camera according to the first embodiment of the present invention, which will be described with reference to FIG.

まず、電源投入時に、CPU11内部のタイマーが初期化される(S1)。このタイマーは非使用状態になった際に電源オフするためのタイマーである。次に、レリーズスイッチ15が押されているかどうかの判定を行う(S2)。押されている場合(処理S2のYes)、後述する撮像処理(S10)を実行する。   First, when the power is turned on, a timer in the CPU 11 is initialized (S1). This timer is a timer for turning off the power when it is not in use. Next, it is determined whether or not the release switch 15 is pressed (S2). When the button is pressed (Yes in process S2), an imaging process (S10) described later is executed.

レリーズスイッチ15が押されていない場合(処理S2のNo)、外部I/F19を介して画像の送出要求があるか否か確認する(S3)。一般的にはPC等の外部装置20からデジタルカメラの外部I/F19に対して、ステータス要求等が送られ、デジタルカメラ側がレディステータス等を外部装置20に返答した場合に、画像要求コマンド等を受け取るが、ここではこの一連動作を画像送出要求という。   If the release switch 15 has not been pressed (No in step S2), it is confirmed whether there is an image transmission request via the external I / F 19 (S3). Generally, when an external device 20 such as a PC sends a status request or the like to the external I / F 19 of the digital camera, and the digital camera returns a ready status or the like to the external device 20, an image request command or the like is sent. Here, this series of operations is called an image transmission request.

送出要求がある場合(処理S3のYes)、後述する画像送出と第1メモリ12の消去処理(S20)を実行する。また、送出要求がない場合(処理S3のNo)、最初に初期化したタイマーがタイムアウトになっているか否かを判定する(S4)。タイムアウトになっていない場合(処理S4のNo)、再度レリーズスイッチ15の確認を行う処理S2から実行し、タイムアウトの場合(処理S4のYes)は処理を終了する。なお、この処理の終了直前に電源ブロック16を制御し、電源オフ、あるいは各素子をスタンバイ状態にするスタンバイモードに移行するのが一般的である。   When there is a transmission request (Yes in process S3), an image transmission and an erasure process (S20) of the first memory 12 described later are executed. If there is no transmission request (No in process S3), it is determined whether or not the initially initialized timer has timed out (S4). If not timed out (No in process S4), the process is executed again from process S2 for confirming the release switch 15, and if timed out (Yes in process S4), the process is terminated. In general, the power supply block 16 is controlled immediately before the end of the process, and the power supply is turned off or a standby mode is set in which each element is in a standby state.

また、撮像処理(S10)や画像送出と第1メモリ12の消去処理(S20)への移行は割り込みによって実施しても良い。   Further, the transition to the imaging process (S10), the image transmission, and the erasure process (S20) of the first memory 12 may be performed by interruption.

図3は本実施形態1の図2に示す撮像処理(S10)のフローチャートであり、その動作について図1を参照しながら以下に説明する。なお、図3に示す動作は一般的な処理方法であり本発明に特有の方法ではない。   FIG. 3 is a flowchart of the imaging process (S10) shown in FIG. 2 of the first embodiment, and the operation will be described below with reference to FIG. The operation shown in FIG. 3 is a general processing method and is not a method specific to the present invention.

操作者が操作部の撮影開始としてレリーズスイッチ15の第1ストロークSW1を操作することにより本処理が開始される(S11)。まず、測距センサ17が動作を開始し、その出力がシステム制御を行うCPU11に入力される(S12)。CPU11は測距センサ17の出力により焦点レンズの移動量を導出し、メカ系駆動回路3を介して撮像レンズ1aの焦点調整用レンズを移動し合焦状態とする(S13)。レンズの移動が完了したらAFLock状態とし、以降焦点調整レンズは移動しない。   This process is started when the operator operates the first stroke SW1 of the release switch 15 to start photographing of the operation unit (S11). First, the distance measuring sensor 17 starts operating, and its output is input to the CPU 11 that performs system control (S12). The CPU 11 derives the amount of movement of the focus lens from the output of the distance measuring sensor 17, and moves the focus adjustment lens of the imaging lens 1a through the mechanical system drive circuit 3 to bring it into focus (S13). When the movement of the lens is completed, the AFLock state is set, and thereafter the focus adjustment lens does not move.

その後、第2ストロークSW2が押されたことを検出するまでの間は測光センサ18の出力を、システム制御を行うCPU11に入力する(S14)。第2ストロークSW2が押されたことを検出したら(S15)測光センサ18の出力より被写体の明るさを検出し、その検出値に対する絞り値とシャッタースピードを導出する(S16)。導出された露出条件により絞りとタイミング信号発生回路4の電子シャッタータイミングを設定して(S17)撮像素子2の本露出撮像を行い(S18)、撮像素子2の出力を読み出す(S19)。   Thereafter, until it is detected that the second stroke SW2 is pressed, the output of the photometric sensor 18 is input to the CPU 11 that performs system control (S14). When it is detected that the second stroke SW2 is pressed (S15), the brightness of the subject is detected from the output of the photometric sensor 18, and the aperture value and shutter speed for the detected value are derived (S16). The aperture and the electronic shutter timing of the timing signal generation circuit 4 are set according to the derived exposure conditions (S17), the main exposure imaging of the image sensor 2 is performed (S18), and the output of the image sensor 2 is read (S19).

この読み出した撮像出力に対して前置処理回路6でCDS(相関二重サンプリング)処理やゲインコントロール等の信号処理を行い、A/D変換器7によりデジタル信号に変換されて、撮像信号処理回路8に入力され、撮像信号処理回路8およびシステム制御を行うCPU11により撮像出力から露出条件が再確認され、適正露出との誤差分を検出してシャッタースピードの設定を変更する。そして、変更後の露出条件により再度撮像素子2を露出し出力を読み出す。撮像素子2の出力はデジタル信号に変換され、撮像信号処理回路8によって特定フォーマットへの変換処理がされた後、媒体I/F9を介して第2メモリ10に撮像画像信号が記録される。   The read out imaging output is subjected to signal processing such as CDS (correlated double sampling) processing and gain control in the pre-processing circuit 6, converted into a digital signal by the A / D converter 7, and imaged signal processing circuit The exposure condition is reconfirmed from the imaging output by the imaging signal processing circuit 8 and the CPU 11 that performs system control, and the setting of the shutter speed is changed by detecting an error from the appropriate exposure. Then, the imaging device 2 is exposed again according to the changed exposure condition, and the output is read out. The output of the image sensor 2 is converted into a digital signal, and after being converted into a specific format by the image signal processing circuit 8, the captured image signal is recorded in the second memory 10 via the medium I / F 9.

また、図4は本実施形態1の図2に示す画像送出と第1メモリの消去処理(S20)のフローチャートであり、その動作について図1を参照しながら以下に説明する。本処理では従来の画像送出の実行以外に本発明の特徴である画像転送後に第1メモリ12の消去手段による消去処理が追加されている。   FIG. 4 is a flowchart of the image sending and first memory erasing process (S20) shown in FIG. 2 of the first embodiment, and the operation will be described below with reference to FIG. In this process, in addition to the conventional image transmission, an erasing process by the erasing means of the first memory 12 is added after the image transfer, which is a feature of the present invention.

図4に示すフローチャートでは、まず画像枚数の確認を実施している(S21)。これは図1の媒体I/F9を介して第2メモリ10のファイル数を確認し、バスを介してシステム制御のCPU11にファイル数を送出することにより行う。   In the flowchart shown in FIG. 4, first, the number of images is confirmed (S21). This is done by checking the number of files in the second memory 10 via the medium I / F 9 of FIG. 1 and sending the number of files to the CPU 11 of the system control via the bus.

次に、画像ファイルを1つずつ転送し(S22)、転送が終わるまで前述の確認したファイル数の回数、画像転送を繰り返す(S23)。これは媒体I/F9からいったんバス上のRAM13に転送し、外部I/F19を介して外部装置20に転送しても良いし、CPU11からの命令により媒体I/F9と外部I/F19をダイレクトにDMA転送により画像を送出させても良い。   Next, the image files are transferred one by one (S22), and the image transfer is repeated for the number of confirmed files until the transfer is completed (S23). This may be transferred once from the medium I / F 9 to the RAM 13 on the bus and then transferred to the external device 20 via the external I / F 19, or the medium I / F 9 and the external I / F 19 may be directly transferred by an instruction from the CPU 11. The image may be transmitted by DMA transfer.

なお、本実施形態1では最初に画像数を確認し、画像数が完了するまで画像転送を繰り返す構成としたが、一画像送出ごとに残画像確認を実施し、残画像があれば送出を実行し、残画像がなくなった場合に処理を終了するようにしても良い。   In the first embodiment, the number of images is checked first, and the image transfer is repeated until the number of images is completed. However, the remaining image is checked every time one image is sent, and if there is a remaining image, the sending is executed. However, the processing may be terminated when there are no remaining images.

画像送出が完了し(処理S23のYes)、外部装置20側から画像正常受領確認を外部I/F19を介して通知されると、CPU11の命令により媒体I/F9を介して、画像データの蓄積されていた第2メモリ10の内容を消去する(S24)。   When the image transmission is completed (Yes in step S23) and the normal image reception confirmation is notified from the external device 20 side via the external I / F 19, accumulation of the image data is performed via the medium I / F 9 according to a command of the CPU 11 The stored contents of the second memory 10 are erased (S24).

なお、本実施形態1では、全ての画像送出後、一括して第2メモリ10を消去する構成としたが、一画像送出毎に送出した画像ファイルの消去を実施しても良い。また、ここでは画像データを送出後に消去するフローチャートとしたが、工場に返却後に画像を消去しても良い。   In the first embodiment, the configuration is such that the second memory 10 is erased collectively after all the images are transmitted. However, the image file transmitted every time the image is transmitted may be deleted. Further, here, the flowchart is shown in which the image data is deleted after being sent out, but the image may be deleted after being returned to the factory.

第2メモリ10の消去後、さらに第1メモリ12を消去するために、第1メモリ12の消去を行うプログラム部分をRAM13にコピーし展開させている(S25)。CPU11は一般にベクタアドレスに書かれたアドレスの命令を順次実行していくが、メモリに展開後、ベクタアドレスをRAM13のアドレスにしてやればCPU11はRAM13上に展開されたプログラムを実行していく。RAM13上には第1メモリ12を消去するプログラムが展開されているため、CPU11は第1メモリ12の消去コマンドを実行し、第1メモリ12を消去する(S26)。   After erasing the second memory 10, in order to further erase the first memory 12, the program portion for erasing the first memory 12 is copied to the RAM 13 and developed (S25). In general, the CPU 11 sequentially executes instructions at addresses written in vector addresses. If the vector address is changed to the address of the RAM 13 after development in the memory, the CPU 11 executes the program developed on the RAM 13. Since a program for erasing the first memory 12 is developed on the RAM 13, the CPU 11 executes an erasure command for the first memory 12 and erases the first memory 12 (S26).

なお、これを実現するために第1メモリ12はFlashROM等の電気的に消去,書き込みが可能な半導体素子とする。また、第1メモリ12の消去後本処理を終了としているが、電池のリサイクルという観点では終了前に電源をオフまたは各デバイスをスタンバイモードにしても良い。   In order to realize this, the first memory 12 is a semiconductor element that can be electrically erased and written, such as a Flash ROM. In addition, although the present process is terminated after erasing the first memory 12, from the viewpoint of battery recycling, the power may be turned off or each device may be set in a standby mode before the termination.

本処理をすることにより画像転送後、実行プログラムが消去されるため、デジタルカメラとして機能しなくなり海賊業者に流出することなく、デジタルカメラはユーザーから店舗を介して工場へと返却される確率が高くなる。   Since the execution program is erased after image transfer by this processing, the digital camera does not function as a digital camera and does not leak to pirates, and there is a high probability that the digital camera will be returned to the factory via the store. Become.

また、図5に示すフローチャートは、前述した図4のフローチャートに対して画像枚数の確認後、画像送出フラグを立てる処理S27が追加されている。具体的には図1に示すCPU11が第1メモリ12のフラグ書き込み領域、または第2メモリ10のフラグ書き込み領域にデータ書き込みを行う。最も単純な方法としては出荷時にフラグ書き込み領域を「0」にしておき、フラグ書き込み時は、これを「1」に書き換える。   Further, in the flowchart shown in FIG. 5, processing S27 for setting an image transmission flag after confirming the number of images is added to the flowchart of FIG. 4 described above. Specifically, the CPU 11 shown in FIG. 1 writes data to the flag writing area of the first memory 12 or the flag writing area of the second memory 10. As the simplest method, the flag writing area is set to “0” at the time of shipment, and this is rewritten to “1” when writing the flag.

なお、ビット不良等がある場合もあるので1ビットでなく、数ビットを割り当てても良い。なお、第1メモリ12もしくは第2メモリ10にフラグ書き込み領域を設けたが、例えばデジタルカメラの調整データを蓄えておく、EEPROM等の不揮発性メモリを第1,第2メモリ12,10とは別に持っている場合は、その不揮発性メモリにフラグを書き込んでも良い。   Since there may be a bit defect or the like, several bits may be assigned instead of one bit. Although the flag writing area is provided in the first memory 12 or the second memory 10, for example, a nonvolatile memory such as an EEPROM for storing adjustment data of the digital camera is provided separately from the first and second memories 12 and 10. If so, a flag may be written to the nonvolatile memory.

以上のように、画像送出フラグを不揮発性メモリに保持することにより、不正使用を目的としたユーザーによって第1メモリ12の消去前に電源を切断されても、次回起動時に画像送出が実行されたか否かが判別可能となり、第1メモリ12の消去処理が開始可能となる。   As described above, by holding the image transmission flag in the non-volatile memory, whether or not the image transmission was executed at the next startup even if the user intended for unauthorized use turned off the power before erasing the first memory 12 It becomes possible to determine whether or not, and the erasing process of the first memory 12 can be started.

図6は本発明の実施形態2におけるデジタルカメラの動作を示すフローチャートであり、図1を参照しながら説明する。また、本実施形態2においては、図6に示すように、前述の図2に示すフローチャートにおいて最初にCPU11は画像フラグ領域から画像フラグの読み込みを実施し(S31)、読み込んだ画像送出フラグから画像送出が実行されたか否かを判定する(S32)。本判定により画像送出が実行されていた場合(処理S32Yes)、直ちに第1メモリ12の消去用のプログラムをRAM13に展開し(S35)、前述と同様にRAM13上に展開したプログラムを実行し、第1メモリ12の消去処理を実施する(S36)。   FIG. 6 is a flowchart showing the operation of the digital camera according to Embodiment 2 of the present invention, and will be described with reference to FIG. Further, in the second embodiment, as shown in FIG. 6, in the flowchart shown in FIG. 2, the CPU 11 first reads the image flag from the image flag area (S31), and then reads the image from the read image transmission flag. It is determined whether or not sending has been executed (S32). If the image transmission is executed by this determination (Yes at step S32), the erasure program in the first memory 12 is immediately expanded in the RAM 13 (S35), and the program expanded in the RAM 13 is executed in the same manner as described above. One memory 12 is erased (S36).

画像送出フラグが立っていない場合(処理S32のNo)、図2に示すフローチャートと同様に通常のレリーズスイッチ15の操作、あるいは画像送出要求の指示をタイムアウトが発生するまで待ちつづけ(処理S1〜処理S4)、レリーズスイッチ15の操作が行われた場合(処理S2のYes)、図3に示す撮像処理を、画像送出要求を受けた場合(処理S3のYes)、図4に示す画像送出と第1メモリ12の消去処理を実行する。   When the image transmission flag is not set (No in process S32), the normal release switch 15 operation or the image transmission request instruction is kept waiting until a time-out occurs (process S1 to process S1) as in the flowchart shown in FIG. S4) When the operation of the release switch 15 is performed (Yes in process S2), when the imaging process shown in FIG. 3 is received (Yes in process S3), the image transmission shown in FIG. One memory 12 is erased.

このように画像送出後は、不正使用を目的とした操作あるいは異常な動作により第1メモリ12が正常に消去されなかった場合でもシステム制御を行う本体プログラムを消去可能なので、デジタルカメラが工場に返却される確率をより高くすることができる。   Thus, after the image is sent, the main body program for system control can be deleted even if the first memory 12 is not normally deleted due to an operation intended for illegal use or an abnormal operation, so the digital camera is returned to the factory. The probability of being done can be made higher.

また、図7に示すフローチャートは、前述した図6のフローチャートにおいて画像送出フラグが立っていた場合(S32のYes)、第1メモリ12の消去処理(S35)を行う前に、以下の処理を追加したものである。すなわち、媒体I/F9を介して第2メモリ10の画像ファイルの有無確認を実施し(S33)、残画像があるか否かを確認し(S34)、残画像がない場合(処理S34のNo)は、第1メモリ12の消去処理を実施する。   Further, in the flowchart shown in FIG. 7, when the image transmission flag is set in the flowchart of FIG. 6 described above (Yes in S32), the following processing is added before the erasure processing (S35) of the first memory 12 is performed. It is a thing. That is, whether or not there is an image file in the second memory 10 is checked via the medium I / F 9 (S33), whether or not there is a remaining image (S34), and if there is no remaining image (No in processing S34) ) Performs an erasing process of the first memory 12.

しかし、残画像がある場合(処理S34のYes)は、画像送出要求の有無を確認する処理を実行する(S37)。画像送出の有無の確認により画像送出要求がある場合(処理S37のYes)、画像送出と第2メモリ10の消去処理を実行して終了すると、第1メモリ12の消去処理を行う(S20)。また、画像送出の要求がない場合(処理S37のNo)、そのまま処理を終了する。したがって、最初の画像送出フラグの判定により画像送出が実施された場合は、撮像処理は実施されない。   However, when there is a remaining image (Yes in process S34), a process of confirming the presence / absence of an image transmission request is executed (S37). If there is an image transmission request based on confirmation of the presence or absence of image transmission (Yes in process S37), the image transmission and the erasure process of the second memory 10 are executed and finished, and then the erasure process of the first memory 12 is performed (S20). If there is no request for image transmission (No in process S37), the process ends. Therefore, when the image transmission is performed by the determination of the first image transmission flag, the imaging process is not performed.

以上のように、停電や故障等のトラブルで外部装置20への画像送出が途中で終了してしまった場合でも、残画像を送出可能となるので、正規な使用者への被害を防ぐことができる。   As described above, even when the image transmission to the external device 20 is terminated in the middle due to a trouble such as a power failure or a failure, the remaining image can be transmitted, so that damage to a legitimate user can be prevented. it can.

なお、本実施形態2は、第1メモリ12に保持された、画像送出以外の本体プログラム部分を消去する構成として、海賊業者からの不正な不揮発性メモリの内容読み出しを防ぐ構成としても良い。すなわち、残画像ありと判断された後で画像送出要求の有無判別前に、画像送出以外の本体プログラム部分を消去実行するプログラムをRAM13に展開し、画像送出以外の本体プログラム部分を消去する構成としても良い。   The second embodiment may be configured to prevent unauthorized reading of the contents of the non-volatile memory from pirates as a configuration for deleting the main body program portion other than the image transmission held in the first memory 12. In other words, after determining that there is a remaining image and before determining whether or not there is an image transmission request, a program for erasing and executing the main body program portion other than the image transmission is developed in the RAM 13 and the main body program portion other than the image transmission is deleted. Also good.

図8は本発明の実施形態3におけるデジタルカメラの一部分の概略構成を示すブロック図であり、図8では図1に示したブロック図の撮像関連の構成は省略し、第1メモリ12に直接書き込みを行う書込手段のオンボード書き込みI/F21に関連する部分のみの記述している。   FIG. 8 is a block diagram showing a schematic configuration of a part of the digital camera according to Embodiment 3 of the present invention. In FIG. 8, the imaging-related configuration in the block diagram shown in FIG. Only the part related to the on-board writing I / F 21 of the writing means for performing the above is described.

図8において、オンボード書き込みI/F21はCPU11や第1メモリ12やRAM13の持つ、アドレスバス幅およびデータバス幅で決定する本数のバス信号ラインとチップセレクト信号,ライト信号,リード信号等の制御信号をオンボードFROM書き込み装置22と接続するためのコネクタまたは端子と、タイミング発生装置23から送出される第1メモリKILL信号と接続するためのコネクタまたは端子と、デジタルカメラの電源投入時システムをリセットするためのリセットIC24から出力されるリセット信号をオンボードFROM書き込み装置22に供給するコネクタまたは端子と、CPU11のポートから出力されるROMセレクト信号をオンボードFROM書き込み装置22に供給するコネクタまたは端子から構成される。   In FIG. 8, an on-board write I / F 21 controls the number of bus signal lines and chip select signals, write signals, read signals, etc. determined by the address bus width and data bus width of the CPU 11, the first memory 12, and the RAM 13. A connector or terminal for connecting a signal to the on-board FROM writer 22, a connector or terminal for connecting a first memory KILL signal sent from the timing generator 23, and resetting the system when the digital camera is turned on From a connector or terminal that supplies a reset signal output from the reset IC 24 to the on-board FROM writing device 22 and a connector or terminal that supplies a ROM select signal output from the port of the CPU 11 to the on-board FROM writing device 22 Composed That.

以下の説明では第1メモリ12およびオンボードFROM書き込み装置22のマスターROM25はリセット状態でバスラインおよび制御信号がハイインピーダンス(以下、Hi−Zという)状態になるデバイスとする。   In the following description, the first memory 12 and the master ROM 25 of the on-board FROM writing device 22 are devices in which the bus line and the control signal are in a high impedance (hereinafter referred to as Hi-Z) state in the reset state.

なお、前述した以外の不揮発性メモリを使用する場合には、不揮発性メモリをバスからHi−Z状態で切り離せるように不揮発性メモリとバスの間に3ステートのバッファを設けて実現しても良い。   When a non-volatile memory other than those described above is used, a 3-state buffer may be provided between the non-volatile memory and the bus so that the non-volatile memory can be separated from the bus in the Hi-Z state. good.

まず、デジタルカメラの電源投入時、デジタルカメラのリセットIC24から一定期間リセット信号が出力され、全ての図8に示すデバイスはリセット状態となる。電源投入後、数ミリ〜数10ミリ秒経過後にリセット出力は解除される。なお、第1メモリ12およびマスターROM25にはORゲートを介してリセット信号が供給され、リセットIC24のリセット信号またはタイミング発生装置23のROMKILL信号(マスターKILL信号、第1メモリKILL信号)の一方が出力された場合にリセット状態つまりバスラインおよび制御信号はHi−Z状態となり、信号的に接続されていない状態となる。   First, when the power of the digital camera is turned on, a reset signal is output from the reset IC 24 of the digital camera for a certain period, and all the devices shown in FIG. 8 are in a reset state. After the power is turned on, the reset output is canceled after a few milliseconds to several tens of milliseconds have elapsed. A reset signal is supplied to the first memory 12 and the master ROM 25 via an OR gate, and one of the reset signal of the reset IC 24 or the ROMKILL signal (master KILL signal, first memory KILL signal) of the timing generator 23 is output. In this case, the reset state, that is, the bus line and the control signal are in the Hi-Z state, and are not connected in a signal manner.

リセットIC24の出力が解除されると、まずタイミング発生装置23は第1メモリKILL信号を出力し第1メモリ12を接続していない状態にする。これによりCPU11はアドレスバス,データバスからHi−Z状態により切り離された第1メモリ12ではなくマスターROM25のプログラムを実行する。   When the output of the reset IC 24 is cancelled, the timing generator 23 first outputs the first memory KILL signal so that the first memory 12 is not connected. Thereby, the CPU 11 executes the program of the master ROM 25 instead of the first memory 12 separated from the address bus and the data bus by the Hi-Z state.

マスターROM25には図9に示すフローチャートを実行するプログラムが書かれており、マスターROM25内に保持されている「第1メモリ書き込み用プログラム」が第1メモリ12に書き込まれる。   A program for executing the flowchart shown in FIG. 9 is written in the master ROM 25, and the “first memory writing program” held in the master ROM 25 is written in the first memory 12.

以下に、図9に示すフローチャートについて、図8を参照しながら説明する。マスターROM25内の「第1メモリ書き込み用プログラム」保持領域のプログラムをデジタルカメラ内のRAM13に展開する(S41)。次に、マスターROM25内の「RAM→第1メモリ転送プログラム」保持領域のプログラムをデジタルカメラ内のRAM13に展開する(S42)。この時点で2つのプログラムがRAM13内に展開されている。   The flowchart shown in FIG. 9 will be described below with reference to FIG. The program in the “first memory writing program” holding area in the master ROM 25 is expanded in the RAM 13 in the digital camera (S41). Next, the program in the “RAM → first memory transfer program” holding area in the master ROM 25 is expanded in the RAM 13 in the digital camera (S42). At this point, two programs are expanded in the RAM 13.

次に、CPU11が実行するベクタアドレスをRAM13に展開した「RAM→第1メモリ転送プログラム」の開始アドレスに設定し、以降RAM13上に展開されたプログラムが実行される(S43)。次に、ROMセレクト信号をオンにする(S44)。ここまでタイミング発生装置23からは第1メモリKILL信号が出力されているが、ROMセレクト信号をオンにすることでマスターKILL信号が出力され、第1メモリ12はHi−Z状態からバス接続状態へ、またマスターROM25はバス接続状態からHi−Z状態となる。これによりCPU11は第1メモリ12の書き込みが実行できる状態になる。そして、CPU11はRAM13に展開されている「第1メモリ書き込み用のプログラム」を第1メモリ12に書き込み(S45)、この書き込みの完了により処理を終了する。   Next, the vector address executed by the CPU 11 is set to the start address of “RAM → first memory transfer program” expanded in the RAM 13, and the program expanded on the RAM 13 is subsequently executed (S43). Next, the ROM select signal is turned on (S44). Up to this point, the first memory KILL signal has been output from the timing generator 23. However, when the ROM select signal is turned on, the master KILL signal is output, and the first memory 12 changes from the Hi-Z state to the bus connection state. In addition, the master ROM 25 changes from the bus connection state to the Hi-Z state. As a result, the CPU 11 is in a state where writing to the first memory 12 can be executed. Then, the CPU 11 writes the “first memory writing program” expanded in the RAM 13 to the first memory 12 (S45), and ends the processing when the writing is completed.

以上のことにより、使用者によって画像が送出され、第1メモリ12の内容が消去されたデジタルカメラが店舗を介して工場へ送付された際、デジタルカメラ内の基板に実装された第1メモリ12を取り外し、プログラム書き込み済みの別の第1メモリ12を再度取り付けることなく、第1メモリ12にプログラムの再書き込みを行って、出荷できるので、リサイクルの経費を少なくし、また取り外し取り付け工程による不良の発生を抑えることができる。   As described above, when the digital camera from which an image is sent out by the user and the contents of the first memory 12 are erased is sent to the factory via the store, the first memory 12 mounted on the board in the digital camera. The program can be rewritten and shipped to the first memory 12 without re-installing and re-installing another first memory 12 that has already been programmed. Occurrence can be suppressed.

図10は本発明の実施形態4におけるデジタルカメラの解体を検知する構成の概略を示す模式図であり、図11は解体を検知する回路例を示す図である。
図10,図11を参照しながら本実施形態4を説明する。
FIG. 10 is a schematic diagram showing an outline of a configuration for detecting disassembly of a digital camera according to Embodiment 4 of the present invention, and FIG. 11 is a diagram showing a circuit example for detecting disassembly.
The fourth embodiment will be described with reference to FIGS.

図10に示すように、筐体解体検知スイッチ31はデジタルカメラの裏蓋29を閉じると押され、裏蓋29を開くと開放されるように、デジタルカメラ内部に配置されている。本実施形態4では回路基板30上に位置し、かつ裏蓋29で押される位置に配置しているが、筐体が開かれたことが検知できればどこに配置しても良い。   As shown in FIG. 10, the housing disassembly detection switch 31 is arranged inside the digital camera so that it is pushed when the back cover 29 of the digital camera is closed and opened when the back cover 29 is opened. In the fourth embodiment, it is disposed on the circuit board 30 and pressed by the back cover 29, but may be disposed anywhere as long as it can be detected that the housing is opened.

また、図11に示す回路例のように、筐体解体検知スイッチ31は抵抗によりプルアップされており、筐体が閉じられ筐体解体検知スイッチ31が押された状態では「Low」レベルがCPU11に入力されている。いったん筐体が開かれるとCPU11の入力はGNDからの接続が切り離されるため、抵抗を介して電源電圧まで引っ張られ、「High」レベルがCPU11に入力される。CPU11の割り込み入力は一般に入力信号のエッジを検出するため、「High」に切り替わると同時に図12に示す筐体解体検知割り込み処理が開始される。   Further, as in the circuit example shown in FIG. 11, the casing disassembly detection switch 31 is pulled up by a resistor, and the “Low” level is set to the CPU 11 when the casing is closed and the casing disassembly detection switch 31 is pressed. Has been entered. Once the housing is opened, the input of the CPU 11 is disconnected from the GND, so that it is pulled to the power supply voltage through the resistor, and the “High” level is input to the CPU 11. Since the interrupt input of the CPU 11 generally detects the edge of the input signal, the case disassembly detection interrupt process shown in FIG.

なお、本実施形態4では「High」に切り変わる瞬間としたが、「Low」に切り替わる瞬間に動作するCPU11を使用する場合には筐体解体検知スイッチ31の接続された電源とGNDを逆としてやれば良い。   In the fourth embodiment, the moment of switching to “High” is used. However, when the CPU 11 that operates at the moment of switching to “Low” is used, the power source connected to the housing disassembly detection switch 31 and GND are reversed. Just do it.

また、最近のデジタルカメラは一般的に電源スイッチ操作後、撮影できるまでの時間を高速にするため、電源スイッチでオフしても実際にはIDLEモード(CPU11のシステムクロックを維持または低速にして動作させたまま、それ以外のシステム全体を停止し、電源オン割り込みですぐにシステム全体を復帰させる、高速復帰可能かつ超低消費電力の待機状態)に移行する構成のものがある。本実施形態4では、このようなシステムを想定して、割り込み入力に筐体解体検知スイッチ31を接続しているが、完全に装置の電源をオフしてしまう構成の場合は、本筐体解体検知スイッチ31または電源スイッチでシステム電源をオンする構成とし、本筐体解体検知スイッチ31が押された場合は、図12に示す割り込み処理の内容を実施してやれば良い。また、本実施形態4では筐体解体検知スイッチ31により解体を検出しているが、受光素子を筐体内部に配置し、光を検知した場合に割り込み処理を実行する構成としても良い。   Also, since recent digital cameras generally speed up the time until shooting is possible after the power switch is operated, even if the power switch is turned off, the IDLE mode (the system clock of the CPU 11 is maintained or operated at a low speed). There is a configuration in which the entire system is stopped and the entire system is immediately restored by a power-on interrupt, and a high-speed recovery and ultra-low power consumption standby state) is entered. In the fourth embodiment, assuming such a system, the case disassembly detection switch 31 is connected to the interrupt input. However, in the case where the apparatus is completely turned off, the case disassembly is performed. The system power is turned on with the detection switch 31 or the power switch, and when the case disassembly detection switch 31 is pressed, the contents of the interrupt process shown in FIG. 12 may be performed. In the fourth embodiment, the disassembly is detected by the casing disassembly detection switch 31. However, a configuration may be adopted in which a light receiving element is arranged inside the casing and an interrupt process is executed when light is detected.

次に、図12に示す筐体解体検知割り込み処理について説明する。まず、IDLEモードか否かの判断を実施し(S46)、IDLEモードの場合(処理S46のYes)、通常モード(システムクロックを通常速度に復帰し、かつ停止させていたシステム全体を復帰)に復帰させる(S47)。ここで前述したIDLEモードを使用した装置を例として示しているが、前述したように筐体解体検知スイッチ31によりシステム電源をオンする構成の場合は、本フローチャートの処理S46,処理S47は必要ない。   Next, the housing disassembly detection interrupt process shown in FIG. 12 will be described. First, it is determined whether or not the IDLE mode is set (S46). If the IDLE mode is selected (Yes in step S46), the normal mode (the system clock is returned to the normal speed and the entire system that has been stopped is restored) is set. Return (S47). Here, the apparatus using the IDLE mode described above is shown as an example. However, when the system power is turned on by the casing disassembly detection switch 31 as described above, the processes S46 and S47 of this flowchart are not necessary. .

次に、図1に示す第1メモリ12のプログラム領域の第1メモリ消去プログラム部分をRAM13に展開し(S48)、ベクタアドレスをRAM13上に展開したアドレスとし、第1メモリ12の消去を実行し(S49)、終了する。   Next, the first memory erase program portion of the program area of the first memory 12 shown in FIG. 1 is developed in the RAM 13 (S48), and the vector address is set as the address developed on the RAM 13, and the first memory 12 is erased. (S49), the process ends.

なお、工場での生産時に筐体開放状態において電源を投入する場合は、最初に第1メモリ12の消去プログラムが実行されないように、出荷時まで本割り込みが機能しないように、最初に裏蓋が閉じられた時に、筐体を閉じたことを示す初期フラグを不揮発性メモリに書き込み、本初期フラグが立てられている時のみ、第1メモリ12の消去が行われるように、第1メモリ12の消去処理前に初期フラグの検出を実施し、初期フラグが検出されない場合は割り込み処理を実施しない処理を追加しても良い。   When turning on the power when the housing is open at the time of production at the factory, the back cover is first installed so that this interrupt does not function until shipment so that the erase program for the first memory 12 is not executed first. When it is closed, an initial flag indicating that the casing is closed is written to the nonvolatile memory, and the first memory 12 is erased only when the initial flag is set. An initial flag may be detected before the erasure process, and if the initial flag is not detected, a process that does not execute the interrupt process may be added.

以上の構成により、筐体が開かれた場合、本体プログラムを消去して、海賊業者による、不揮発性メモリの取り外しによる本体プログラムの複製、および本体プログラムを消去したデジタルカメラへの複製プログラムの書き込み等による、違法な再利用を回避して、リサイクル効率を上げることができる。   With the above configuration, when the housing is opened, the main body program is deleted, and the pirate trader copies the main body program by removing the non-volatile memory, and writes the copying program to the digital camera from which the main body program has been deleted. Can avoid illegal reuse and increase recycling efficiency.

本発明に係るデジタルカメラは、外部機器への画像送出後に本体プログラムを消去してデジタルカメラの機能を停止し、これによりデジタルカメラの不正使用を回避し、かつリサイクル効率を高めることができ、リサイクル率の高い使い捨てデジタルカメラとして有用である。   The digital camera according to the present invention erases the main body program after image transmission to an external device and stops the function of the digital camera, thereby preventing unauthorized use of the digital camera and improving the recycling efficiency. It is useful as a high-rate disposable digital camera.

本発明の実施の形態におけるデジタルカメラの概略構成を示すブロック図1 is a block diagram showing a schematic configuration of a digital camera according to an embodiment of the present invention. 本発明の実施形態1におけるデジタルカメラの動作を示すフローチャートThe flowchart which shows operation | movement of the digital camera in Embodiment 1 of this invention. 本実施形態1の図2に示す撮像処理(S10)のフローチャートFlowchart of the imaging process (S10) shown in FIG. 本実施形態1の図2に示す画像送出と第1メモリの消去処理(S20)のフローチャートFlowchart of image transmission and first memory erasing process (S20) shown in FIG. 本実施形態1の図4に示す画像枚数の確認後の画像送出フラグを立てる処理S27を追加したフローチャート4 is a flowchart in which processing S27 for setting an image transmission flag after confirming the number of images shown in FIG. 本発明の実施形態2におけるデジタルカメラの動作を示すフローチャートThe flowchart which shows operation | movement of the digital camera in Embodiment 2 of this invention. 本実施形態2の図6に示す動作に残画像の有無を確認する処理を追加したフローチャートThe flowchart which added the process which confirms the presence or absence of a remaining image to the operation | movement shown in FIG. 本発明の実施形態3におけるデジタルカメラの一部分の概略構成を示すブロック図FIG. 9 is a block diagram showing a schematic configuration of a part of a digital camera according to Embodiment 3 of the present invention. 本実施形態3における消去したメモリ書き込み用プログラムの再書き込み処理を示すフローチャート10 is a flowchart showing rewriting processing of an erased memory writing program according to the third embodiment. 本発明の実施形態4におけるデジタルカメラの解体を検知する構成の概略を示す模式図The schematic diagram which shows the outline of the structure which detects the disassembly of the digital camera in Embodiment 4 of this invention. 本実施形態4におけるデジタルカメラの解体を検知する回路例を示す図The figure which shows the example of a circuit which detects the disassembly of the digital camera in this Embodiment 4. 本実施形態4におけるデジタルカメラの筐体解体検知割り込み処理を示すフローチャートThe flowchart which shows the housing | casing disassembly detection interruption process of the digital camera in this Embodiment 4.

符号の説明Explanation of symbols

1 光学系
2 撮像素子
3 メカ系駆動回路
4 タイミング信号発生回路
5 撮像素子駆動回路
6 前置処理回路
7 A/D変換器
8 撮像信号処理回路
9 媒体I/F
10 第2メモリ
11 CPU
12 第1メモリ
13 RAM
14 表示部
15 レリーズスイッチ
16 電源ブロック
17 測距センサ
18 測光センサ
19 外部I/F
20 外部装置
21 オンボード書き込みI/F
22 オンボードFROM書き込み装置
23 タイミング発生装置
24 リセットIC
25 マスターROM
29 裏蓋
30 回路基板
31 筐体解体検知スイッチ
DESCRIPTION OF SYMBOLS 1 Optical system 2 Image pick-up element 3 Mechanical system drive circuit 4 Timing signal generation circuit 5 Image pick-up element drive circuit 6 Pre-processing circuit 7 A / D converter 8 Image pick-up signal processing circuit 9 Medium I / F
10 Second memory 11 CPU
12 First memory 13 RAM
14 Display unit 15 Release switch 16 Power supply block 17 Distance sensor 18 Photometric sensor 19 External I / F
20 External device 21 On-board writing I / F
22 On-board FROM writer 23 Timing generator 24 Reset IC
25 Master ROM
29 Back cover 30 Circuit board 31 Case disassembly detection switch

Claims (6)

レンズを含む光学系により集光された被写体像からの反射光を電気信号に変換する固体撮像素子と、前記固体撮像素子からの信号をデジタル化および画像処理する画像処理部と、各デバイスの動作を制御するCPUと、前記CPUのプログラムを保持する第1メモリと、前記画像処理された画像データを保持する第2メモリと、前記第2メモリに保持された画像データを外部インターフェースを介して送出する送出手段と、前記画像データを送出後に前記第1メモリもしくは前記第1メモリと前記第2メモリの両方の内容を消去する消去手段とを備えたことを特徴とするデジタルカメラ。   A solid-state imaging device that converts reflected light from an object image collected by an optical system including a lens into an electrical signal, an image processing unit that digitizes and processes an image from the solid-state imaging device, and the operation of each device A first memory for holding the CPU program, a second memory for holding the image processed image data, and sending the image data held in the second memory via an external interface A digital camera comprising: sending means for sending and erasing means for erasing the contents of the first memory or both the first memory and the second memory after sending the image data. 前記送出手段の画像データの送出時に、第1メモリもしくは第2メモリの一部に画像送出フラグを書き込むことを特徴とする請求項1記載のデジタルカメラ。   2. The digital camera according to claim 1, wherein an image sending flag is written in a part of the first memory or the second memory when the sending means sends the image data. 前記画像送出フラグにより画像送出の実行を検知した場合に、第1メモリもしくは前記第1メモリと第2メモリの両方を消去することを特徴とする請求項2記載のデジタルカメラ。   3. The digital camera according to claim 2, wherein when the execution of image transmission is detected by the image transmission flag, the first memory or both the first memory and the second memory are deleted. 前記画像送出フラグにより画像送出の実行を検知し、かつ第2メモリに画像が残っている場合に、前記画像送出の実行のみ可能としたことを特徴とする請求項2記載のデジタルカメラ。   3. The digital camera according to claim 2, wherein execution of image transmission is enabled only when image transmission execution is detected by the image transmission flag and an image remains in the second memory. 前記第1メモリに対して直接書き込みを行う書込手段を備えたことを特徴とする請求項1〜4のいずれか1項に記載のデジタルカメラ。   The digital camera according to claim 1, further comprising a writing unit that directly writes data to the first memory. 筐体が開かれたことを検知する検知手段を備え、前記検知手段が筐体が開かれたことを検知すると、前記第1メモリに保持するプログラムを消去することを特徴とする請求項1〜5のいずれか1項に記載のデジタルカメラ。   2. The apparatus according to claim 1, further comprising detection means for detecting that the housing is opened, and erasing the program held in the first memory when the detection means detects that the housing is opened. 6. The digital camera according to any one of 5 above.
JP2006068725A 2006-03-14 2006-03-14 Digital camera Pending JP2007251316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006068725A JP2007251316A (en) 2006-03-14 2006-03-14 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006068725A JP2007251316A (en) 2006-03-14 2006-03-14 Digital camera

Publications (1)

Publication Number Publication Date
JP2007251316A true JP2007251316A (en) 2007-09-27

Family

ID=38595189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006068725A Pending JP2007251316A (en) 2006-03-14 2006-03-14 Digital camera

Country Status (1)

Country Link
JP (1) JP2007251316A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011166723A (en) * 2010-02-11 2011-08-25 Win-How Chen Single use digital camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011166723A (en) * 2010-02-11 2011-08-25 Win-How Chen Single use digital camera

Similar Documents

Publication Publication Date Title
US20100197348A1 (en) Electronic device, method of controlling the same, and program
JP4387559B2 (en) Imaging device
US8077221B2 (en) Image capturing apparatus and control method therefor with determination whether storage medium is limited-rewriteable storage medium
JP2006119996A (en) Battery-driven device and its nonvolatile memory updating method
JP5304458B2 (en) Electronic camera
JP2004104601A (en) Method for controlling image pickup device, its recording medium and its program
US11985412B2 (en) Detachable device and control method thereof
JP2007251316A (en) Digital camera
JP2006314050A (en) Image processing apparatus and its control method, and computer program and storage medium
JP2006325148A (en) Apparatus and method for imaging
JP4836233B2 (en) Image processing apparatus, control method therefor, computer program, and storage medium
JP2008103886A (en) Imaging apparatus and digital camera
JP4878456B2 (en) Recording medium and imaging apparatus
JP2006227822A (en) Information retrieval device and information retrieval method, program and recording medium
JP2007304774A (en) Electronic apparatus and upgrade method
JP2008236692A (en) Imaging apparatus and picked-up image data processing method therefor
JP4701297B2 (en) Image processing apparatus, method, and recording medium
JP4902512B2 (en) Imaging apparatus, control method thereof, and program
JP4785778B2 (en) Imaging device, control method thereof, and program
JP2011085977A (en) Signal processing apparatus
JP2006202051A (en) Data processor and data processing method
JP2007143065A (en) Imaging device and activation control method
JP2006303962A (en) Data processing device and its method
JP2008066967A (en) Image processor, its control method, and computer program
JP2006345188A (en) Image sensing device and method of controlling the same