[go: up one dir, main page]

JP2014211665A - Optical device and program update system - Google Patents

Optical device and program update system

Info

Publication number
JP2014211665A
JP2014211665A JP2013086205A JP2013086205A JP2014211665A JP 2014211665 A JP2014211665 A JP 2014211665A JP 2013086205 A JP2013086205 A JP 2013086205A JP 2013086205 A JP2013086205 A JP 2013086205A JP 2014211665 A JP2014211665 A JP 2014211665A
Authority
JP
Japan
Prior art keywords
program
accessory
lens
unique identification
identification data
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
JP2013086205A
Other languages
Japanese (ja)
Inventor
正実 市瀬
Masami Ichise
正実 市瀬
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2013086205A priority Critical patent/JP2014211665A/en
Publication of JP2014211665A publication Critical patent/JP2014211665A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

【課題】アクセサリーのファームウェアを容易に更新すること【解決手段】レンズCPU12と、レンズCPUの制御に使用されるプログラムを格納する第1のフラッシュメモリ14と、を有するレンズ装置10が取り外し可能に装着されるカメラ本体20は、レンズCPU12と通信可能なカメラCPU22を有し、カメラCPU22は、レンズ装置がカメラ本体に装着されるとアクセサリーの固有識別データをレンズCPUから受信して第2のフラッシュメモリ24または外部メモリ26に記録し、第2のフラッシュメモリ24または外部メモリに記録された前記固有識別データのプログラムのバージョンよりも、第2のフラッシュメモリ24または外部メモリに記録されたプログラムのバージョンが新しい場合には第1のフラッシュメモリに記憶されたプログラムをリムーバブルメモリに記録されたプログラムで更新することを特徴とする。【選択図】図1PROBLEM TO BE SOLVED: To easily update an accessory firmware. SOLUTION: A lens device 10 having a lens CPU 12 and a first flash memory 14 for storing a program used for controlling the lens CPU is detachably attached. The camera body 20 is provided with a camera CPU 22 capable of communicating with the lens CPU 12, and the camera CPU 22 receives the unique identification data of the accessory from the lens CPU when the lens device is attached to the camera body, and receives a second flash memory. The version of the program recorded in the second flash memory 24 or the external memory is larger than the version of the program of the unique identification data recorded in the second flash memory 24 or the external memory recorded in the 24 or the external memory 26. When new, the program stored in the first flash memory is updated with the program recorded in the removable memory. [Selection diagram] Fig. 1

Description

本発明は、アクセサリーのプログラムを更新するプログラム更新システムに関する。   The present invention relates to a program update system for updating an accessory program.

従来から、アクセサリー(レンズ装置やストロボ装置など)、及び外部メモリ(不揮発性メモリ)が取り外し可能なカメラ本体は知られている。ファームウェアの記録装置に不揮発性メモリ、及び不揮発性メモリを搭載したCPUを用い、パーソナルコンピュータ(PC)と接続可能なカメラ本体のファームウェアを、インターネットとPCを介してバージョンアップすることは既知である。一方、外部メモリにカメラ本体のバージョンアッププログラムを内蔵し、カメラ本体との接続時にカメラ本体のファームウェアを変更する方法も提案されている。更に、外部メモリに、アクセサリーのバージョンアッププログラムを内蔵し、外部メモリが内蔵されたカメラ本体とアクセサリーとの接続時に、アクセサリーのファームウェアを変更する方法も提案されている(特許文献1)。   2. Description of the Related Art Conventionally, camera bodies from which accessories (such as a lens device and a strobe device) and an external memory (nonvolatile memory) can be removed are known. It is known to upgrade the firmware of a camera body that can be connected to a personal computer (PC) via the Internet and a PC using a nonvolatile memory and a CPU equipped with the nonvolatile memory as a firmware recording device. On the other hand, a method has been proposed in which an upgrade program for a camera body is built in an external memory, and the firmware of the camera body is changed when connected to the camera body. In addition, a method has been proposed in which an accessory upgrade program is built in the external memory, and the firmware of the accessory is changed when the camera body with the built-in external memory is connected to the accessory (Patent Document 1).

特開2000−56375号公報JP 2000-56375 A

しかしながら、アクセサリーには同一機能であっても性能が異なる複数の種類があるため、ネットワーク接続可能なカメラ本体、及びリムーバルメモリによりアクセサリーのバージョンアップを行う際には、ファームウェアを煩雑にも確認しなければならない。誤ったファームウェアをダウンロードすると更新ができない場合もある。   However, since there are multiple types of accessories that have the same function but different performance, when updating the version of the accessory with a camera body that can be connected to the network and a removable memory, the firmware must be checked complicatedly. I must. If you download the wrong firmware, you may not be able to update it.

本発明の目的は、アクセサリーのファームウェアを容易に更新することが可能な光学機器を提供することである。   An object of the present invention is to provide an optical apparatus that can easily update the firmware of an accessory.

本発明の光学機器は、第1の制御手段と、前記第1の制御手段の制御に使用されるプログラムを格納する第1の記憶手段と、を有するアクセサリーが取り外し可能に装着される光学機器であって、前記第1の制御手段と通信可能な第2の制御手段を有し、前記第2の制御手段は、前記アクセサリーが前記光学機器に装着されると前記アクセサリーの固有識別データを前記第1の制御手段から受信して第2の記憶手段に記録し、ネットワークを通じて取得可能な更新プログラムのバージョンが、前記第2の記憶手段に記録された前記固有識別データのプログラムのバージョンよりも新しい場合には、前記更新プログラムをダウンロードして前記第2の記憶手段に記録することを特徴とする。   An optical apparatus of the present invention is an optical apparatus to which an accessory having first control means and first storage means for storing a program used for control of the first control means is detachably mounted. And having a second control means capable of communicating with the first control means, wherein the second control means receives the unique identification data of the accessory when the accessory is attached to the optical device. When the version of the update program received from the first control unit and recorded in the second storage unit and obtainable through the network is newer than the program version of the unique identification data recorded in the second storage unit Is characterized in that the update program is downloaded and recorded in the second storage means.

本発明によれば、アクセサリーのファームウェアを容易に更新することができる。   According to the present invention, the accessory firmware can be easily updated.

本実施形態のプログラム更新システムのブロック図である。(実施例1、2)It is a block diagram of the program update system of this embodiment. (Examples 1 and 2) 図1に示すプログラム更新システムの動作を説明する図である。(実施例1)It is a figure explaining operation | movement of the program update system shown in FIG. Example 1 図1に示すプログラム更新システムの動作を説明するフローチャートである。(実施例1)It is a flowchart explaining operation | movement of the program update system shown in FIG. Example 1 図1に示すプログラム更新システムの動作を説明する図である。(実施例2)It is a figure explaining operation | movement of the program update system shown in FIG. (Example 2) 図1に示すプログラム更新システムの動作を説明するフローチャートである。(実施例2)It is a flowchart explaining operation | movement of the program update system shown in FIG. (Example 2)

図1は、本実施形態のアクセサリーのファームウェア(プログラム)の更新を行うプログラム更新システムのブロック図である。プログラム更新システムは、アクセサリー10と、アクセサリー10が取り外し可能に装着されるカメラ本体(光学機器、撮像装置)20、パーソナルコンピュータ(PC)30、インターネット40、サーバー50を有する。   FIG. 1 is a block diagram of a program update system that updates the firmware (program) of an accessory according to this embodiment. The program update system includes an accessory 10, a camera main body (optical device, imaging device) 20 to which the accessory 10 is detachably mounted, a personal computer (PC) 30, the Internet 40, and a server 50.

アクセサリー10は、本実施形態ではレンズ装置(交換レンズ)であるが、ストロボユニットなど他のアクセサリーでもよい。レンズ装置は、物体の光学像を形成する不図示の撮影光学系と、レンズCPU12(第1の制御手段)、第1のフラッシュメモリ(第1の記憶手段)14を有する。   The accessory 10 is a lens device (interchangeable lens) in the present embodiment, but may be another accessory such as a strobe unit. The lens apparatus includes a photographing optical system (not shown) that forms an optical image of an object, a lens CPU 12 (first control unit), and a first flash memory (first storage unit) 14.

撮影光学系は、フォーカスレンズ、変倍レンズ、補正レンズなど各種のレンズを有する。フォーカスレンズは光軸方向に移動されて焦点調節を行い、変倍レンズは、光軸方向に移動されて焦点距離を変更し、補正レンズは光軸に直交する方向に移動されて像ぶれを補正する。   The photographing optical system includes various lenses such as a focus lens, a variable power lens, and a correction lens. The focus lens is moved in the optical axis direction to adjust the focus, the variable power lens is moved in the optical axis direction to change the focal length, and the correction lens is moved in the direction orthogonal to the optical axis to correct image blur. To do.

レンズCPU12はレンズ装置10の各部を制御する(例えば、各種レンズや絞りを駆動するアクチュエータを制御する)と共にカメラ本体20と通信する制御手段であり、マイクロコンピュータとして構成される。   The lens CPU 12 is a control unit that controls each part of the lens device 10 (for example, controls actuators that drive various lenses and diaphragms) and communicates with the camera body 20, and is configured as a microcomputer.

第1のフラッシュメモリ14は、レンズCPU12とバス接続されているが、カメラCPU22内部のフラッシュメモリ領域であってもよい。第1のフラッシュメモリ14は、レンズ装置10の識別情報、全アクチュエータを制御し、カメラ本体20と通信する制御プログラム(バージョン番号も含む)、各種の制御で使用されるパラメータや調整データ、を記憶する不揮発性メモリである。   The first flash memory 14 is connected to the lens CPU 12 by a bus, but may be a flash memory area inside the camera CPU 22. The first flash memory 14 stores identification information of the lens device 10, control programs (including version numbers) that control all actuators and communicate with the camera body 20, and parameters and adjustment data used in various controls. This is a non-volatile memory.

レンズ装置10はカメラ本体20に不図示のマウント介して取り付けられ、不図示のコネクタを介してレンズCPU12はカメラ本体20と通信可能に構成され、レンズ装置10はカメラ本体20から電源を供給される。   The lens device 10 is attached to the camera body 20 via a mount (not shown), and the lens CPU 12 is configured to be able to communicate with the camera body 20 via a connector (not shown). The lens device 10 is supplied with power from the camera body 20. .

カメラ本体20は、不図示の撮像素子、カメラCPU(第2の制御手段)22、第2のフラッシュメモリ(第2の記憶手段)24、外部メモリ(第2の記憶手段)26を有する。   The camera body 20 includes an image sensor (not shown), a camera CPU (second control means) 22, a second flash memory (second storage means) 24, and an external memory (second storage means) 26.

撮像素子は撮影光学系が形成した光学像を光電変換し、不図示の画像処理を経た画像データが外部メモリ26に保存される。   The image sensor photoelectrically converts an optical image formed by the photographing optical system, and image data that has undergone image processing (not shown) is stored in the external memory 26.

カメラCPU22はカメラ本体20の各部を制御する制御手段であり、マイクロコンピュータとして構成される。また、カメラCPU22は、レンズCPU12と通信して第1のフラッシュメモリ14に保存された情報や撮影光学系の状態に関する情報を取得し、レンズCPU12に制御命令を送信する。更に、カメラCPU22は、後述するように、第1のフラッシュメモリ14に保存された制御プログラムを更新する。   The camera CPU 22 is a control unit that controls each part of the camera body 20 and is configured as a microcomputer. Further, the camera CPU 22 communicates with the lens CPU 12 to acquire information stored in the first flash memory 14 and information regarding the state of the photographing optical system, and transmits a control command to the lens CPU 12. Further, the camera CPU 22 updates the control program stored in the first flash memory 14 as will be described later.

第2のフラッシュメモリ24は、カメラCPU22とバス接続されているが、カメラCPU22内部のフラッシュメモリ領域であってもよい。第2のフラッシュメモリ24は、露出、ホワイトバランス、画質制御の各種パラメータ、調整データ、カメラ本体20を制御する制御プログラム、制御データ、及びカメラ本体20を識別する識別情報を格納する不揮発性メモリである。第2のフラッシュメモリ24は、レンズ装置10との通信により得られる、レンズ識別データ、レンズ制御データ、レンズ調整データ、更にレンズCPU12を制御するレンズ制御プログラムも格納が可能である。レンズ制御データは、レンズ装置10とカメラ本体20の組み合わせごとのフランジバックを調整したフランジバック調整データを含む。   The second flash memory 24 is connected to the camera CPU 22 via a bus, but may be a flash memory area inside the camera CPU 22. The second flash memory 24 is a non-volatile memory that stores exposure, white balance, various parameters for image quality control, adjustment data, a control program for controlling the camera body 20, control data, and identification information for identifying the camera body 20. is there. The second flash memory 24 can store lens identification data, lens control data, lens adjustment data, and a lens control program for controlling the lens CPU 12 obtained by communication with the lens device 10. The lens control data includes flange back adjustment data obtained by adjusting the flange back for each combination of the lens device 10 and the camera body 20.

外部メモリ26はカードやスティック状のリムーバブルメモリであって、カメラ本体20に対して取り外し可能に装着される。外部メモリ26はカメラCPU22に接続され、撮影された画像データ、カメラ本体20を制御する制御プログラム、及びレンズ装置10を制御する制御プログラムを格納可能である。外部メモリ26に格納されているデータは、カメラCPU22によって読み出し、及び書き込みが行われる。   The external memory 26 is a card or stick-shaped removable memory, and is detachably attached to the camera body 20. The external memory 26 is connected to the camera CPU 22 and can store captured image data, a control program for controlling the camera body 20, and a control program for controlling the lens device 10. Data stored in the external memory 26 is read and written by the camera CPU 22.

PC30にはディスプレイ32、リーダライタ34、インターネット40が接続され、ネットワーク機器として機能する。PC30は、有線(USBケーブル)や無線通信などを介してカメラ本体20自体にも接続可能である。PC30はインターネット40を介してサーバー(更新プログラム配布装置)50に接続されている。インターネット40の代わりに他のネットワーク(LAN、WANなど)が使用されてもよい。ディスプレイ32は、外部メモリ26の内容を表示したり、プログラムのバージョンや更新プログラムの有無を表示したりする。リーダライタ34には外部メモリ26が取り外し可能であり、リーダライタ34は外部メモリ26から情報を読み取ったり、外部メモリ26に情報を書き込んだりする。リーダライタ34はPC30と一体のネットワーク機器とみなすことができる。   A display 32, a reader / writer 34, and the Internet 40 are connected to the PC 30 and function as a network device. The PC 30 can also be connected to the camera body 20 itself via wired (USB cable) or wireless communication. The PC 30 is connected to a server (update program distribution device) 50 via the Internet 40. Instead of the Internet 40, other networks (LAN, WAN, etc.) may be used. The display 32 displays the contents of the external memory 26, and displays the program version and the presence / absence of an update program. The external memory 26 can be removed from the reader / writer 34, and the reader / writer 34 reads information from the external memory 26 and writes information to the external memory 26. The reader / writer 34 can be regarded as a network device integrated with the PC 30.

さらに、カメラ本体20を直接ネットワークに接続する構成としてもよい。   Further, the camera body 20 may be directly connected to the network.

以下、実施例1のプログラム更新システムによるレンズ装置10のファームウェアの更新方法について説明する。   Hereinafter, a method for updating the firmware of the lens apparatus 10 by the program update system of the first embodiment will be described.

図2(a)は、レンズ装置10が初めてカメラ本体20に装着される前の第1のフラッシュメモリ14、第2のフラッシュメモリ24、及び外部メモリ26に格納されている情報を示す図である。第1のフラッシュメモリ14には、レンズAを制御する制御プログラム、データが記録されており、第2のフラッシュメモリ24には、カメラAを制御する制御プログラム、及びデータが記録されている。外部メモリ26には画像データ、これまでに記録されたアクセサリー固有識別データが記録されている。更にアクセサリーの制御プログラムが格納される領域もある。アクセサリー固有識別データは、制御プログラムのバージョン情報や、アクセサリーの識別情報、アクセサリーの種類および性能を示す情報の少なくとも一つを含む。   FIG. 2A is a diagram illustrating information stored in the first flash memory 14, the second flash memory 24, and the external memory 26 before the lens apparatus 10 is first attached to the camera body 20. . A control program and data for controlling the lens A are recorded in the first flash memory 14, and a control program and data for controlling the camera A are recorded in the second flash memory 24. The external memory 26 stores image data and accessory unique identification data recorded so far. There is also an area for storing accessory control programs. The accessory unique identification data includes at least one of version information of the control program, accessory identification information, and information indicating the type and performance of the accessory.

図3は、実施例1のプログラム更新システム(主としてカメラCPU22)による更新方法を説明するためのフローチャートであり、「S」は「ステップ(工程)」の略である。図3に示す更新方法はコンピュータに各ステップの機能を実現させるためのプログラムとして具現化が可能である。   FIG. 3 is a flowchart for explaining an update method by the program update system (mainly the camera CPU 22) of the first embodiment, and “S” is an abbreviation of “step (process)”. The update method shown in FIG. 3 can be embodied as a program for causing a computer to realize the function of each step.

カメラCPU22は、カメラ本体20に外部メモリ26が挿入されたこと(S101)、レンズ装置10がカメラ本体20に装着されたこと(S102のY)を認識し、レンズCPU12と通信を開始して必要な情報の送信を要求する。これに応答して、カメラCPU22は、第1のフラッシュメモリ14が保存するアクセサリー固有識別データをレンズCPU12から受信する(S103)。   The camera CPU 22 recognizes that the external memory 26 has been inserted into the camera body 20 (S101), and that the lens apparatus 10 has been attached to the camera body 20 (Y in S102), and starts communication with the lens CPU 12 to be necessary. Request transmission of correct information. In response to this, the camera CPU 22 receives accessory unique identification data stored in the first flash memory 14 from the lens CPU 12 (S103).

次に、カメラCPU22は、外部メモリ26に記録されたアクセサリー固有識別データを読み出し、S103で受信した固有識別データと比較する(S104)。受信したアクセサリー固有識別データが、既に記録されているアクセサリー固有識別データよりも最新のものであれば、外部メモリ26に記載されたデータを更新する。もし記録されていない場合は新規に記録する(S105)。ここで、各メモリの記録データは図2(b)に示すようになる。外部メモリ26のアクセサリー固有識別データ内にレンズAのアクセサリー固有識別データが格納されていることが分かる。   Next, the camera CPU 22 reads out the accessory unique identification data recorded in the external memory 26 and compares it with the unique identification data received in S103 (S104). If the received accessory unique identification data is more recent than the accessory unique identification data already recorded, the data described in the external memory 26 is updated. If not recorded, it is newly recorded (S105). Here, the recording data of each memory is as shown in FIG. It can be seen that the accessory unique identification data of the lens A is stored in the accessory unique identification data of the external memory 26.

次に、カメラCPU22は、外部メモリ26に記録されたアクセサリープログラムのバージョンと、外部メモリ26に記録されているアクセサリー固有識別データに記録されている、アクセサリープログラムのバージョンを比較する(S106)。この時点では、図2(b)に示すように、外部メモリ26のプログラムデータ領域にはデータが入っていない。そのため、カメラCPU22は、第1のフラッシュメモリ14のファームウェアの更新(ファームアップ)は行わない。   Next, the camera CPU 22 compares the accessory program version recorded in the external memory 26 with the accessory program version recorded in the accessory unique identification data recorded in the external memory 26 (S106). At this time, no data is stored in the program data area of the external memory 26 as shown in FIG. For this reason, the camera CPU 22 does not update the firmware of the first flash memory 14 (firmware upgrade).

次に、撮影等が終わって、外部メモリ26をカメラ本体20から取り出してリーダライタ34に挿入すると(S107)、PC30は、外部メモリ26に記録されている画像データを取り出し、サーバー50にアクセスして取得可能な更新プログラムをチェックする。PC30(又はサーバー50)は、サーバー50内のアクセサリー固有識別データのアクセサリーの最新プログラムバージョンと、外部メモリ26に記録されたアクセサリー固有識別データのプログラムバージョンを比較する(S108)。PC30(又はサーバー50)は、ダウンロードが必要なプログラムがあればそれをダウンロードする(S109)。   Next, when shooting is completed and the external memory 26 is taken out from the camera body 20 and inserted into the reader / writer 34 (S107), the PC 30 takes out the image data recorded in the external memory 26 and accesses the server 50. Check for available updates. The PC 30 (or the server 50) compares the latest program version of the accessory unique identification data in the server 50 with the program version of the accessory unique identification data recorded in the external memory 26 (S108). If there is a program that needs to be downloaded, the PC 30 (or server 50) downloads it (S109).

ダウンロード後の各メモリの記録データは図2(c)に示すようになる。サーバー50よりレンズAとレンズDのプログラムを外部メモリ26にダウンロードする。この後、外部メモリ26をカメラ本体20に挿入し、レンズ装置10(レンズA)を装着する(S101)。   The recorded data in each memory after downloading is as shown in FIG. The lens 50 and lens D programs are downloaded from the server 50 to the external memory 26. Thereafter, the external memory 26 is inserted into the camera body 20, and the lens device 10 (lens A) is mounted (S101).

この後は前記と同様にS101からS104まで進む。S104において、装着されたレンズ装置10(レンズA)に関しては最新のアクセサリー固有識別データが記録されているため、S106に進む。S106において、カメラCPU22は、レンズ装置10(レンズA)の第1のフラッシュメモリ14に記録されているプログラムバージョンと、外部メモリ26に記録されているレンズ装置10(レンズA)のプログラムバージョンを比較する。その結果、外部メモリ26に記録されているプログラムバージョンの方が新しいため、第1のフラッシュメモリ14のプログラムをバージョンアップする(S110)。   Thereafter, the process proceeds from S101 to S104 as described above. In S104, since the latest accessory unique identification data is recorded for the mounted lens apparatus 10 (lens A), the process proceeds to S106. In S106, the camera CPU 22 compares the program version recorded in the first flash memory 14 of the lens apparatus 10 (lens A) with the program version of the lens apparatus 10 (lens A) recorded in the external memory 26. To do. As a result, since the program version recorded in the external memory 26 is newer, the program in the first flash memory 14 is upgraded (S110).

この結果、各メモリの記録データは図2(d)に示すようになり、レンズ装置10のファームアップが行われる。ファームアップ後は外部メモリ26に格納されていたレンズAに関する最新プログラムは自動削除されてもよい。   As a result, the recorded data in each memory is as shown in FIG. 2D, and the lens apparatus 10 is upgraded. After updating the firmware, the latest program related to the lens A stored in the external memory 26 may be automatically deleted.

更に、外部メモリ26の画像データをカメラ本体102より消去する際には、アクセサリー固有識別データ領域は消去されず、画像データ領域のみ消去、または画像データ領域とプログラム領域が消去される。アクセサリー固有識別データ領域を消去する場合には、カメラ本体102より全データ初期化を行うか、PC30により消去する。従って、固有識別データは消去可能である。   Furthermore, when erasing image data in the external memory 26 from the camera body 102, the accessory unique identification data area is not erased, but only the image data area is erased, or the image data area and the program area are erased. When deleting the accessory unique identification data area, all data is initialized from the camera body 102 or deleted by the PC 30. Therefore, the unique identification data can be erased.

以下、実施例2のプログラム更新システムによるレンズ装置10のファームウェアの更新方法について説明する。実施例2は外部メモリを光学機器に装着した状態で、ファームウェアを更新する点で実施例1と異なる。   Hereinafter, a method for updating the firmware of the lens apparatus 10 by the program update system of the second embodiment will be described. The second embodiment is different from the first embodiment in that the firmware is updated while the external memory is mounted on the optical device.

図4(a)は、レンズ装置10が初めてカメラ本体20に装着される前の第1のフラッシュメモリ14と第2のフラッシュメモリ24に格納されている情報を示す図である。第1のフラッシュメモリ14には、レンズAを制御する制御プログラム、データが記録されており、第2のフラッシュメモリ24には、カメラAを制御する制御プログラム、データ、及びこれまでに記録されたアクセサリー固有識別データが記録されている。更にアクセサリーの制御プログラムが格納される領域もある。   FIG. 4A is a diagram illustrating information stored in the first flash memory 14 and the second flash memory 24 before the lens apparatus 10 is first attached to the camera body 20. A control program and data for controlling the lens A are recorded in the first flash memory 14, and a control program and data for controlling the camera A are recorded in the second flash memory 24. Accessory unique identification data is recorded. There is also an area for storing accessory control programs.

図5は、実施例1のプログラム更新システム(主としてカメラCPU22)による更新方法を説明するためのフローチャートであり、「S」は「ステップ(工程)」の略である。図5に示す更新方法はコンピュータに各ステップの機能を実現させるためのプログラムとして具現化が可能である。   FIG. 5 is a flowchart for explaining an update method by the program update system (mainly the camera CPU 22) of the first embodiment, and “S” is an abbreviation of “step (process)”. The update method shown in FIG. 5 can be embodied as a program for causing a computer to realize the function of each step.

カメラCPU22は、レンズ装置10がカメラ本体20に装着されたこと(S201のY)を認識し、レンズCPU12と通信を開始して必要な情報の送信を要求する。これに応答して、カメラCPU22は、第1のフラッシュメモリ14が保存するアクセサリー固有識別データをレンズCPU12から受信する(S202)。   The camera CPU 22 recognizes that the lens apparatus 10 is attached to the camera body 20 (Y in S201), starts communication with the lens CPU 12, and requests transmission of necessary information. In response to this, the camera CPU 22 receives accessory unique identification data stored in the first flash memory 14 from the lens CPU 12 (S202).

次に、カメラCPU22は、第2のフラッシュメモリ24に記録されたアクセサリー固有識別データを読み出し、S202で受信した固有識別データと比較する(S203)。受信したアクセサリー固有識別データが、既に記録されているアクセサリー固有識別データよりも最新のものであれば、第2のフラッシュメモリ24に記載されたデータを更新する。もし記録されていない場合は新規に記録する(S204)。ここで、各メモリの記録データは図4(b)に示すようになる。外部メモリ26のアクセサリー固有識別データ内にレンズAのアクセサリー固有識別データが格納されていることが分かる。   Next, the camera CPU 22 reads out the accessory unique identification data recorded in the second flash memory 24 and compares it with the unique identification data received in S202 (S203). If the received accessory unique identification data is more recent than the accessory unique identification data already recorded, the data described in the second flash memory 24 is updated. If not recorded, it is newly recorded (S204). Here, the recording data of each memory is as shown in FIG. It can be seen that the accessory unique identification data of the lens A is stored in the accessory unique identification data of the external memory 26.

次に、カメラCPU22は、第2のフラッシュメモリ24に記録されたアクセサリープログラムのバージョンとそのアクセサリー固有識別データに記録されている、アクセサリープログラムのバージョンを比較する(S105)。この時点では、図4(b)に示すように、第2のフラッシュメモリ24のプログラムデータ領域には最新プログラムデータが入っていない。そのため、カメラCPU22は、第1のフラッシュメモリ14のファームウェアの更新(ファームアップ)は行わない。   Next, the camera CPU 22 compares the accessory program version recorded in the second flash memory 24 with the accessory program version recorded in the accessory unique identification data (S105). At this time, as shown in FIG. 4B, the latest program data is not stored in the program data area of the second flash memory 24. For this reason, the camera CPU 22 does not update the firmware of the first flash memory 14 (firmware upgrade).

次に、撮影等が終わって、カメラ本体20をPC30にUSBケーブルなどで接続すると(S206)、PC30は、外部メモリ26に記録されている画像データを取り出し、サーバー50にアクセスして更新プログラムをチェックする。PC30(又はサーバー50)は、サーバー50内のアクセサリー固有識別データのアクセサリーの最新プログラムバージョンと、第2のフラッシュメモリ24に記録されたアクセサリー固有識別データのプログラムバージョンを比較する(S207)。PC30(又はサーバー50)は、ダウンロードが必要なプログラムあればそれをダウンロードする(S208)。   Next, when shooting is completed and the camera body 20 is connected to the PC 30 with a USB cable or the like (S206), the PC 30 retrieves the image data recorded in the external memory 26, accesses the server 50, and executes the update program. To check. The PC 30 (or the server 50) compares the latest program version of the accessory of the accessory unique identification data in the server 50 with the program version of the accessory unique identification data recorded in the second flash memory 24 (S207). The PC 30 (or server 50) downloads a program that needs to be downloaded (S208).

ダウンロード後の各メモリの記録データは図4(c)に示すようになる。サーバー50よりレンズAとレンズDのプログラムを第2のフラッシュメモリ24にダウンロードする。ダウンロードが終了したら、カメラ本体20をネットワークから切断し(S209)、レンズ装置10(レンズA)を装着する(S201)。   The recorded data in each memory after downloading is as shown in FIG. The lens 50 and lens D programs are downloaded from the server 50 to the second flash memory 24. When the download is completed, the camera body 20 is disconnected from the network (S209), and the lens device 10 (lens A) is attached (S201).

この後は前記と同様にS201からS203まで進む。S203において、装着されたレンズ装置10(レンズA)に関しては最新のアクセサリー固有識別データが記録されているため、S205に進む。S205において、カメラCPU22は、レンズ装置10(レンズA)の第1のフラッシュメモリ14に記録されているプログラムバージョンと、第2のフラッシュメモリ24に記録されているレンズ装置10(レンズA)のプログラムバージョンを比較する。その結果、第2のフラッシュメモリ24に記録されているプログラムバージョンの方が新しいため、第1のフラッシュメモリ14のプログラムをバージョンアップする(S210)。   Thereafter, the process proceeds from S201 to S203 as described above. In S203, since the latest accessory unique identification data is recorded for the attached lens apparatus 10 (lens A), the process proceeds to S205. In S205, the camera CPU 22 determines the program version recorded in the first flash memory 14 of the lens apparatus 10 (lens A) and the program of the lens apparatus 10 (lens A) recorded in the second flash memory 24. Compare versions. As a result, since the program version recorded in the second flash memory 24 is newer, the program in the first flash memory 14 is upgraded (S210).

この結果、各メモリの記録データは図4(d)に示すようになり、レンズ装置10のファームアップが行われる。ファームアップ後は第2のフラッシュメモリ24に格納されていたレンズAに関する最新プログラムは自動削除されてもよい。   As a result, the recorded data in each memory is as shown in FIG. 4D, and the lens apparatus 10 is upgraded. After the firmware upgrade, the latest program related to the lens A stored in the second flash memory 24 may be automatically deleted.

以上、実施例1、2によれば、適切なプログラムで第1のフラッシュメモリ14のファームウェアが自動的に更新されるので更新作業が容易になる。   As described above, according to the first and second embodiments, the firmware of the first flash memory 14 is automatically updated with an appropriate program, so that the update operation is facilitated.

以上、本実施形態について説明したが、本発明は本実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although this embodiment was described, this invention is not limited to this embodiment, A various deformation | transformation and change are possible within the range of the summary.

本発明の光学機器は、デジタル一眼レフカメラやミラーレスカメラに適用することができる。   The optical apparatus of the present invention can be applied to a digital single lens reflex camera or a mirrorless camera.

10…レンズ装置(アクセサリー)、12…レンズCPU(第1の制御手段)、14…第1のフラッシュメモリ(第1の記憶手段)、20…カメラ本体(光学機器)、22…カメラCPU(第2の制御手段)、24…第2のフラッシュメモリ(第2の記憶手段)、26…外部メモリ(第2の記憶手段) DESCRIPTION OF SYMBOLS 10 ... Lens apparatus (accessory), 12 ... Lens CPU (1st control means), 14 ... 1st flash memory (1st storage means), 20 ... Camera body (optical apparatus), 22 ... Camera CPU (1st) 2), 24... Second flash memory (second storage means), 26... External memory (second storage means)

Claims (10)

第1の制御手段と、前記第1の制御手段の制御に使用されるプログラムを格納する第1の記憶手段と、を有するアクセサリーが取り外し可能に装着される光学機器であって、
前記第1の制御手段と通信可能な第2の制御手段を有し、
前記第2の制御手段は、前記アクセサリーが前記光学機器に装着されると前記アクセサリーの固有識別データを前記第1の制御手段から受信して第2の記憶手段に記録し、
前記第2の制御手段は、ネットワークを通じて取得可能な更新プログラムのバージョンが、前記第2の記憶手段に記録された前記固有識別データのプログラムのバージョンよりも新しい場合には、前記更新プログラムをダウンロードして前記第2の記憶手段に記録することを特徴とする光学機器。
An optical device to which an accessory having first control means and first storage means for storing a program used for control of the first control means is detachably mounted,
Having second control means capable of communicating with the first control means;
When the accessory is mounted on the optical device, the second control means receives the unique identification data of the accessory from the first control means and records it in the second storage means,
The second control unit downloads the update program when the version of the update program that can be acquired through the network is newer than the version of the program of the unique identification data recorded in the second storage unit. And recording in the second storage means.
前記第2の記憶手段はリムーバブルメモリであり、前記光学機器に取り外し可能に構成されていることを特徴とする請求項1に記載の光学機器。   The optical apparatus according to claim 1, wherein the second storage unit is a removable memory, and is configured to be removable from the optical apparatus. 前記光学機器は、光学像を光電変換する撮像素子を更に有し、
前記リムーバブルメモリは、前記撮像素子によって撮像された画像データを保存することを特徴とする請求項2に記載の光学機器。
The optical apparatus further includes an image sensor that photoelectrically converts an optical image,
The optical device according to claim 2, wherein the removable memory stores image data picked up by the image pickup device.
前記リムーバブルメモリの画像データを前記光学機器より消去する際に、前記リムーバブルメモリに記録されている前記固有識別データは消去されないことを特徴とする請求項3に記載の光学機器。   4. The optical apparatus according to claim 3, wherein when the image data in the removable memory is erased from the optical apparatus, the unique identification data recorded in the removable memory is not erased. 前記リムーバブルメモリに記録された前記固有識別データを消去可能であることを特徴とする請求項3に記載の光学機器。   The optical apparatus according to claim 3, wherein the unique identification data recorded in the removable memory is erasable. 前記第2の制御手段が前記光学機器の全データを初期化する際に前記リムーバブルメモリに記録されている前記固有識別データは消去されることを特徴とする請求項2乃至5のいずれか1項に記載の光学機器。   6. The unique identification data recorded in the removable memory is erased when the second control means initializes all data of the optical device. The optical apparatus described in 1. 前記光学機器は前記ネットワークに接続および切断が可能であることを特徴とする請求項1乃至6のいずれか1項に記載の光学機器。   The optical apparatus according to claim 1, wherein the optical apparatus can be connected to and disconnected from the network. 前記固有識別データは、プログラムのバージョン情報や、前記アクセサリーの識別情報、前記アクセサリーの種類および性能を示す情報の少なくとも一つを含むことを特徴とする請求項1乃至7のいずれか1項に記載の光学機器。   The unique identification data includes at least one of program version information, identification information of the accessory, and information indicating the type and performance of the accessory. Optical equipment. 第1の制御手段と、前記第1の制御手段の制御に使用されるプログラムを格納する第1の記憶手段と、を有するアクセサリーと、前記アクセサリーが取り外し可能に装着される光学機器と、を有するプログラム更新システムであって、
前記光学機器は、前記第1の制御手段と通信可能な第2の制御手段を有し、
前記第2の制御手段は、前記アクセサリーが前記光学機器に装着されると前記アクセサリーの固有識別データを前記第1の制御手段から受信して第2の記憶手段に記録し、
前記第2の制御手段は、ネットワークを通じて取得可能な更新プログラムのバージョンが、前記第2の記憶手段に記録された前記固有識別データのプログラムのバージョンよりも新しい場合には、前記更新プログラムをダウンロードして前記第2の記憶手段に記録することを特徴とするプログラム更新システム。
An accessory having first control means and first storage means for storing a program used for control of the first control means; and an optical device to which the accessory is detachably mounted. A program update system,
The optical apparatus has second control means capable of communicating with the first control means,
When the accessory is mounted on the optical device, the second control means receives the unique identification data of the accessory from the first control means and records it in the second storage means,
The second control unit downloads the update program when the version of the update program that can be acquired through the network is newer than the version of the program of the unique identification data recorded in the second storage unit. And recording the program in the second storage means.
前記第2の記憶手段はリムーバブルメモリであり、前記光学機器に取り外し可能に構成されていることを特徴とする請求項9に記載のプログラム更新システム。   The program update system according to claim 9, wherein the second storage unit is a removable memory, and is configured to be removable from the optical device.
JP2013086205A 2013-04-17 2013-04-17 Optical device and program update system Pending JP2014211665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013086205A JP2014211665A (en) 2013-04-17 2013-04-17 Optical device and program update system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013086205A JP2014211665A (en) 2013-04-17 2013-04-17 Optical device and program update system

Publications (1)

Publication Number Publication Date
JP2014211665A true JP2014211665A (en) 2014-11-13

Family

ID=51931410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013086205A Pending JP2014211665A (en) 2013-04-17 2013-04-17 Optical device and program update system

Country Status (1)

Country Link
JP (1) JP2014211665A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502863A (en) * 2016-10-25 2017-03-15 杭州昆海信息技术有限公司 A kind of software version reminding method and device
JP2019033423A (en) * 2017-08-09 2019-02-28 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN112114837A (en) * 2019-06-19 2020-12-22 杭州海康威视数字技术股份有限公司 Firmware updating method and camera

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502863A (en) * 2016-10-25 2017-03-15 杭州昆海信息技术有限公司 A kind of software version reminding method and device
JP2019033423A (en) * 2017-08-09 2019-02-28 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US10568157B2 (en) 2017-08-09 2020-02-18 Canon Kabushiki Kaisha Communication apparatus that carries out communications with external apparatuses, control method therefor, and storage medium
JP7009110B2 (en) 2017-08-09 2022-01-25 キヤノン株式会社 Communication equipment, communication methods and programs
CN112114837A (en) * 2019-06-19 2020-12-22 杭州海康威视数字技术股份有限公司 Firmware updating method and camera
CN112114837B (en) * 2019-06-19 2023-07-21 杭州海康威视数字技术股份有限公司 Firmware update method and camera

Similar Documents

Publication Publication Date Title
JP5248980B2 (en) Imaging apparatus, control method thereof, and program
JP6786937B2 (en) Information processing system, client terminal and program
JP4827693B2 (en) Optical equipment
JP2014211665A (en) Optical device and program update system
JP6468996B2 (en) Lens device, imaging device
JP7286597B2 (en) Intermediate accessory device, imaging device, imaging system, imaging method, and program
CN102971669A (en) Camera body and interchangeable lens
KR20120110869A (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
CN110088677A (en) Picture pick-up device and its control method and program
JP2018146672A (en) Imaging device, control method therefor, and external device
JP5304458B2 (en) Electronic camera
JP2005278076A (en) Digital camera
JP7392072B2 (en) Communication device, control method and program
CN104168816A (en) Endoscope device and endoscope system
JP2009279060A (en) Endoscope system
JP5197214B2 (en) Information registration system, information registration method, and registration apparatus
US8266332B2 (en) Image capturing transfer apparatus that sends a flash on/off parameter instruction for a flash unit connected to the image capturing apparatus
JP2009279074A (en) Endoscope system
US10979616B2 (en) Wireless communication between a lens assembly and a camera
JP2016015056A (en) Optical equipment
JP5257049B2 (en) Update data acquisition device and imaging device
JP6404076B2 (en) Processor and endoscope system
JP2005128334A (en) Camera system
JP2019008178A (en) Imaging device and control method of the same
JP5723467B2 (en) program