JP2012085866A - Endoscopic apparatus and endoscopic apparatus control method - Google Patents
Endoscopic apparatus and endoscopic apparatus control method Download PDFInfo
- Publication number
- JP2012085866A JP2012085866A JP2010235731A JP2010235731A JP2012085866A JP 2012085866 A JP2012085866 A JP 2012085866A JP 2010235731 A JP2010235731 A JP 2010235731A JP 2010235731 A JP2010235731 A JP 2010235731A JP 2012085866 A JP2012085866 A JP 2012085866A
- Authority
- JP
- Japan
- Prior art keywords
- program
- storage unit
- scope
- processor
- control unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000002950 deficient Effects 0.000 abstract 2
- 238000005286 illumination Methods 0.000 description 7
- 239000000835 fiber Substances 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 4
- 238000003780 insertion Methods 0.000 description 4
- 230000037431 insertion Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Images
Landscapes
- Instruments For Viewing The Inside Of Hollow Bodies (AREA)
- Endoscopes (AREA)
Abstract
Description
本発明は、更新可能なファームウェアを有する内視鏡装置及びその制御方法に関する。 The present invention relates to an endoscope apparatus having updatable firmware and a control method thereof.
内視鏡装置は、被験者の体内に挿入されるスコープと被験者の体外に設けられて画像処理を行うビデオプロセッサとを備える。スコープの動作を制御するMPUと、MPUのファームウェアを記録するメモリとがスコープの内部に設けられる。 The endoscope apparatus includes a scope that is inserted into a subject's body and a video processor that is provided outside the subject's body and performs image processing. An MPU that controls the operation of the scope and a memory that records the firmware of the MPU are provided inside the scope.
ユーザは、外部とのインターフェースを介して、メモリに記憶されたファームウェアを書き換え可能である(特許文献1)。ファームウェアは、画像やプログラムなど様々な情報を含み、スコープの性能を向上させ、かつ機能を追加するために書き換えられる。 The user can rewrite the firmware stored in the memory via an interface with the outside (Patent Document 1). The firmware includes various information such as images and programs, and is rewritten to improve the scope performance and add functions.
ファームウェアをスコープに書き込むとき、ファームウェアの破損、あるいは突然の電源断等の原因により書き込みを失敗することがある。書き込みを失敗するとスコープが正常に動作しなくなる虞がある。さらに、一度正常に動作しなくなったスコープに再度ファームウェアを書き込んで正常な状態にすることは一般ユーザにとって困難である。 When writing firmware to the scope, writing may fail due to firmware corruption or sudden power interruption. If writing fails, the scope may not operate normally. Furthermore, it is difficult for a general user to write firmware again to a scope that has once failed to operate normally to make it normal.
本発明はこれらの問題に鑑みてなされたものであり、ファームウェアをメモリに書き込み損じてもスコープが正常に機能する内視鏡装置及びその制御方法を得ることを目的とする。 The present invention has been made in view of these problems, and an object of the present invention is to obtain an endoscope apparatus in which a scope functions normally even if the firmware is not written in a memory and a control method thereof.
本願第1の発明による内視鏡装置は、プログラムを記憶するプロセッサ記憶部と、プロセッサ記憶部に対してプログラムを読み書きするプロセッサ制御部とを備えるプロセッサと、プログラムを記憶するスコープ記憶部と、スコープ記憶部に対してプログラムを読み書きするスコープ制御部とを備えるスコープとを備え、プロセッサ制御部は、外部から第1のプログラムを読み込んでプロセッサ記憶部に書き込み、かつスコープ記憶部に記憶されている第2のプログラムをスコープ制御部を介して読み出してプロセッサ記憶部に書き込んだ後に、第1のプログラムをスコープ制御部に送信し、スコープ制御部は、第1のプログラムを受信してスコープ記憶部に書き込み、そしてスコープ記憶部に書き込まれている第1のプログラムを検査し、これによりエラーが見つかった場合には、プロセッサ制御部は、第1のプログラムをスコープ制御部に送信し、スコープ制御部は、第1のプログラムを受信してスコープ記憶部に書き込むことを特徴とする。 An endoscope apparatus according to a first aspect of the present invention includes a processor including a processor storage unit that stores a program, a processor control unit that reads and writes a program from and to the processor storage unit, a scope storage unit that stores the program, and a scope A scope including a scope control unit that reads and writes programs from and to the storage unit, and the processor control unit reads the first program from the outside, writes the first program to the processor storage unit, and stores the first program stored in the scope storage unit After the second program is read through the scope control unit and written to the processor storage unit, the first program is transmitted to the scope control unit, and the scope control unit receives the first program and writes it to the scope storage unit , And inspect the first program written in the scope storage, When an error is found by this, the processor control unit transmits the first program to the scope control unit, and the scope control unit receives the first program and writes it in the scope storage unit. .
スコープ制御部は、スコープ記憶部に書き込まれている第1のプログラムを検査し、これによりエラーが見つからなかった場合には、プロセッサ制御部は、プロセッサ記憶部に記憶されている第2のプログラムを消去することが好ましい。 The scope control unit inspects the first program written in the scope storage unit, and if no error is found by this, the processor control unit executes the second program stored in the processor storage unit. It is preferable to erase.
プロセッサ制御部は、第1のプログラムをスコープ制御部に送信した後に、プロセッサ記憶部に記憶されている第1のプログラムを消去してもよい。 The processor control unit may delete the first program stored in the processor storage unit after transmitting the first program to the scope control unit.
プロセッサ記憶部は、第1の記憶部と第2の記憶部とを備え、第1の記憶部は、外部から読み込まれた第1のプログラムを記憶し、第2の記憶部は、スコープ記憶部に記憶されている第2のプログラムを記憶することが好ましい。 The processor storage unit includes a first storage unit and a second storage unit, the first storage unit stores a first program read from the outside, and the second storage unit is a scope storage unit. Preferably, the second program stored in is stored.
第1のプログラムは、バージョン情報及び対応するスコープの識別情報を有し、プロセッサ制御部は、第1のプログラムの識別情報がスコープの識別情報と一致し、かつ第1のプログラムのバージョン情報が第2のプログラムのバージョン情報よりも新しい場合に、第1のプログラムをスコープ制御部に送信してもよい。 The first program has version information and identification information of the corresponding scope, and the processor control unit matches the identification information of the first program with the identification information of the scope and the version information of the first program is the first information. If the version information of the second program is newer, the first program may be transmitted to the scope control unit.
第1のプログラムは、バージョン情報及び対応するスコープの識別情報を有し、プロセッサ制御部は、第1のプログラムの識別情報がスコープの識別情報と一致し、かつ第2のプログラムのバージョン情報が第1のプログラムのバージョン情報よりも新しい場合に、スコープ記憶部に記憶されている第2のプログラムをスコープ制御部を介して読み出してプロセッサ記憶部に書き込んでもよい。 The first program has version information and corresponding scope identification information, and the processor control unit matches the first program identification information with the scope identification information, and the second program version information is the first information. If it is newer than the version information of one program, the second program stored in the scope storage unit may be read out via the scope control unit and written into the processor storage unit.
本願第2の発明による内視鏡装置の制御方法は、プロセッサ記憶部に記憶されているプログラムをスコープ記憶部に書き込む内視鏡装置の制御方法であって、外部から第1のプログラムを読み込んでプロセッサ記憶部に書き込み、かつスコープ記憶部に記憶されている第2のプログラムをスコープ制御部を介して読み出してプロセッサ記憶部に書き込むステップと、第1のプログラムをスコープ記憶部に書き込むステップと、スコープ記憶部に書き込まれている第1のプログラムを検査するステップと、検査するステップにおいて第1のプログラムにエラーが見つからなかった場合に、プロセッサ記憶部に記憶されている第2のプログラムを消去するステップと、検査するステップにおいて第1のプログラムにエラーが見つかった場合に、第1のプログラムをスコープ記憶部に書き込むステップと、プロセッサ記憶部に記憶されている第1のプログラムを消去するステップとを備えることを特徴とする。 An endoscope apparatus control method according to a second invention of the present application is an endoscope apparatus control method for writing a program stored in a processor storage section into a scope storage section, and reads the first program from the outside. Writing to the processor storage unit and reading the second program stored in the scope storage unit via the scope control unit and writing to the processor storage unit; writing the first program to the scope storage unit; A step of inspecting the first program written in the storage unit, and a step of erasing the second program stored in the processor storage unit when no error is found in the first program in the step of inspecting And if an error is found in the first program during the checking step, And writing a program in the scope storing unit, characterized in that it comprises a step of erasing the first program stored in the processor memory unit.
第1のプログラムが、バージョン情報及び対応するスコープの識別情報を有するステップと、第1のプログラムの識別情報がスコープの識別情報と一致し、かつ第2のプログラムのバージョン情報が第1のプログラムのバージョン情報よりも新しい場合に、スコープ記憶部に記憶されている第2のプログラムをスコープ制御部を介して読み出してプロセッサ記憶部に書き込むステップとをさらに備えてもよい。 A step in which the first program has version information and identification information of the corresponding scope; the identification information of the first program matches the identification information of the scope; and the version information of the second program is If the version information is newer than the version information, a step of reading the second program stored in the scope storage unit via the scope control unit and writing the second program in the processor storage unit may be further included.
本発明によれば、ファームウェアをメモリに書き込み損じてもスコープが正常に機能する内視鏡装置及びその制御方法を得る。 According to the present invention, it is possible to obtain an endoscope apparatus and a control method for the endoscope apparatus in which the scope functions normally even if the firmware is not written in the memory.
以下、本発明の第1の実施形態による内視鏡装置100について添付図面を参照して説明する。
Hereinafter, an
図1を用いて内視鏡装置100の構成について説明する。内視鏡装置100は、被験者の体内に挿入されるスコープ200と、被験者の体外に設けられて画像処理を行うビデオプロセッサ300とを主に備える。
The configuration of the
スコープ200は、被験者の体内に挿入される挿入部210と、術者が保持する操作部220と、スコープ記憶部222とを主に備える。図示しないコネクタにより操作部220がスコープ200と接続される。
The
挿入部210は、可撓性の管状体であって、被写体に接近する遠位端部211と操作部220に接続される近位端部212とを有する。遠位端部211には、撮像レンズ213、照明レンズ214、及び撮像素子であるCCD215が設けられる。
The
撮像レンズ213はCCD215に被写体像を結像させる。CCD215は結像した被写体像を撮像し、アナログ信号出力線216を介してアナログ画像信号を出力する。
The
操作部220から挿入部210に渡ってライトガイドファイバ218が設けられる。ライトガイドファイバ218は、ビデオプロセッサ300が生成した照明光を照明レンズ214まで運び、照明レンズ214は、照明光を被写体に向けて照射する。
A
操作部220は、アナログ信号処理部223、制御部を成す内視鏡MPU221、及び不揮発性メモリから成るスコープ記憶部222を有する。
The
アナログ信号処理部223は、アナログ信号出力線216を介してCCD215からアナログ画像信号を受信する。そして、アナログ画像信号を画像処理して画像信号を生成した後、画像信号線219を介して画像信号をビデオプロセッサ300に送信する。
The analog
内視鏡MPU221は、CCD制御信号線217を介してCCD制御信号をCCD215に送信し、CCD215の動作を制御する。内視鏡MPU221が実行するファームウェアは、スコープ記憶部222に記憶される。スコープ200の電源が入れられると、内視鏡MPU221はスコープ記憶部222からファームウェアを読み出して実行する。
The
操作部220は、図示しない複数のスイッチ等を有する。ユーザは、これらのスイッチを操作して内視鏡装置100及びビデオプロセッサ300の動作を制御する。これらのスイッチをユーザが操作すると、スイッチが操作された旨を示す操作信号が内視鏡MPU221に送信される。内視鏡MPU221は、操作信号に応じてスコープ200の動作を制御する。また、ビデオプロセッサ300が行う動作に対応するスイッチが操作されると、内視鏡MPU221は、操作信号をビデオプロセッサMPU301に送信する。ビデオプロセッサMPU301は、操作信号に応じてスコープ200の動作を制御する。
The
ビデオプロセッサ300は、プロセッサ制御部を成すビデオプロセッサMPU301、不揮発性メモリから成る第1のプロセッサ記憶部306及び第2のプロセッサ記憶部307、外部インターフェース302、フロントパネル303、画像信号処理部304、光源305を主に有する。
The
ビデオプロセッサMPU301は、ビデオプロセッサ300の動作を制御する。内視鏡MPU221とビデオプロセッサ300は、UARTを各々有し、制御信号線312を介して互いに接続される。
The video processor MPU 301 controls the operation of the
第1のプロセッサ記憶部306及び第2のプロセッサ記憶部307は、ビデオプロセッサMPU301に接続され、ビデオプロセッサMPU301及び画像信号処理部304等のファームウェアを記憶する。
The first
外部インターフェース302は、例えばUSBであって、内視鏡装置100の外部に設けられるUSBメモリとビデオプロセッサ300とを接続する。USBメモリに記憶されているデータファイルは、外部インターフェース302を介してビデオプロセッサMPU301に送信される。ビデオプロセッサMPU301は、制御信号線312を介してデータファイルを第1のプロセッサ記憶部306及び第2のプロセッサ記憶部307に記憶し、あるいは内視鏡MPU221に送信する。
The
フロントパネル303は、ビデオプロセッサ300の外面に露出し、内視鏡装置100の動作状況を表示する。画像信号処理部304は、スコープ200から受信した画像信号を画像処理して、モニタ400に出力する。光源305はビデオプロセッサ300に制御され、ライトガイドファイバ218に照明光を供給する。
The
次に、図2及び図3を用いて第1のアップデート処理について説明する。第1のアップデート処理は、外部から受信したファームウェアをスコープ記憶部222に書き込む処理であって、スコープ200の電源が投入されたときに、ビデオプロセッサMPU301及び内視鏡MPU221により実行される。具体的には、現在内視鏡MPU221が使用しているファームウェアであるAプログラムをBプログラムに書き換える処理である。
Next, the first update process will be described with reference to FIGS. The first update process is a process of writing firmware received from the outside into the
ステップS201では、内視鏡装置100の外部に設けられたメモリ(外部メモリ)からBプログラムをビデオプロセッサMPU301が読み込み、ステップS202では、Bプログラムを第2のプロセッサ記憶部(第2のメモリ)307に記憶する。
In step S201, the
図3のステップS31は、ステップS201及びS202における動作が完了した後における第1のプロセッサ記憶部(第1のメモリ)306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。第1のプロセッサ記憶部306は何も記憶せず、第2のプロセッサ記憶部307はAプログラム、Bプログラム、及びCプログラムを記憶し、スコープ記憶部222はAプログラム及びユーザ情報を記憶している。ここで、Aプログラム、Bプログラム、及びCプログラムは、内視鏡MPU221のファームウェアであって、Aプログラムは現在スコープ記憶部222に記憶されて内視鏡MPU221の動作に使用されている。そして、Bプログラムは、Aプログラムよりも新しいファームウェアである。
Step S31 in FIG. 3 shows the states of the first processor storage unit (first memory) 306, the second
ステップS203では、スコープ記憶部222(スコープメモリ)からAプログラムを読み出し、次のステップS204では、読み出したAプログラムを第1のプロセッサ記憶部306に書き込む。すなわち、Aプログラムがスコープ記憶部222から第1のプロセッサ記憶部306にコピーされる。
In step S203, the A program is read from the scope storage unit 222 (scope memory), and in the next step S204, the read A program is written in the first
図3のステップS32は、ステップS203及びS204における動作が完了した後における第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。第1のプロセッサ記憶部306はAプログラムを記憶し、第2のプロセッサ記憶部307及びスコープ記憶部222はステップS31から変化しない。
Step S32 in FIG. 3 shows the states of the first
ステップS205では、第2のプロセッサ記憶部307からBプログラムを読み出し、読み出したBプログラムをスコープ記憶部222に書き込む。
In step S <b> 205, the B program is read from the second
図3のステップS33は、ステップS205における動作が完了した後における第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。第1のプロセッサ記憶部306及び第2のプロセッサ記憶部307はステップS32から変化せず、スコープ記憶部222はBプログラム及びユーザ情報を記憶する。
Step S33 in FIG. 3 shows the states of the first
ステップS206では、スコープ記憶部222に書き込まれたBプログラムが正しく動作するか否かを確認する。そして、正しく動作しない場合、処理はステップS207においてステップS208に進み、正しく動作する場合、処理はステップS209に進む。
In step S206, it is confirmed whether or not the B program written in the
スコープ記憶部222に書き込まれたBプログラムが正しく動作しない場合について説明する。処理がステップS207からステップS208に進むと、ステップS208では、第1のプロセッサ記憶部306からAプログラムを読み出し、読み出したAプログラムをスコープ記憶部222に書き込む。すなわち、Aプログラムが第1のプロセッサ記憶部306からスコープ記憶部222にコピーされる。これにより、動作しないBプログラムがスコープ記憶部222から削除され、正しく動作するAプログラムがスコープ記憶部222に書き込まれる。
A case where the B program written in the
図3のステップS34は、ステップS208における動作が完了した後における第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。第1のプロセッサ記憶部306及び第2のプロセッサ記憶部307はステップS33から変化せず、スコープ記憶部222はAプログラム及びユーザ情報を記憶する。
Step S34 in FIG. 3 shows the states of the first
ステップS209では、第2のプロセッサ記憶部307からBプログラムを消去し、次のステップS210では、第1のプロセッサ記憶部306からAプログラムを消去する。そして、処理が終了する。
In step S209, the B program is deleted from the second
図3のステップS35は、Bプログラムが正しく動作しない場合においてステップS209及びS210が完了した後の第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。第1のプロセッサ記憶部306は何も記憶せず、第2のプロセッサ記憶部307はAプログラム及びCプログラムを記憶し、スコープ記憶部222はAプログラム及びユーザ情報を記憶する。
Step S35 in FIG. 3 shows the state of the first
スコープ記憶部222に書き込まれたBプログラムが正しく動作する場合について説明する。処理がステップS207からステップS209に進むと、ステップS209では、第2のプロセッサ記憶部307からBプログラムを消去し、次のステップS210では、第1のプロセッサ記憶部306からAプログラムを消去する。そして、処理が終了する。
A case where the B program written in the
図3のステップS36は、Bプログラムが正しく動作する場合にステップS209及びS210が完了した後の第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。第1のプロセッサ記憶部306及び第2のプロセッサ記憶部307はステップS35と同様であるが、スコープ記憶部222はBプログラム及びユーザ情報を記憶する。
Step S36 in FIG. 3 shows the states of the first
本実施形態によれば、スコープ200を正しく動作させることができないプログラムがスコープ記憶部222に書き込まれた場合であっても、正しく動作していたプログラムを用いてスコープ200を動かすことができる。
According to the present embodiment, even if a program that cannot operate the
次に、第2の実施形態について説明する。第1の実施形態と同様の構成については同じ符号を付して説明を省略する。第2の実施形態による内視鏡装置100は、第1のアップデート処理の代わりに第2のアップデート処理を実行する。また、本実施形態では、スコープ200の型式毎に決定されるスコープ識別情報、ファームウェアのバージョン、及びファームウェアがデータファイルに格納される。
Next, a second embodiment will be described. The same components as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted. The
図4及び図5を用いて第2のアップデート処理について説明する。第2のアップデート処理は、外部から受信したファームウェアをスコープ記憶部222に書き込む処理であって、ビデオプロセッサMPU301及び内視鏡MPU221により実行される。具体的には、現在内視鏡MPU221が使用しているAプログラムをBプログラムに書き換える処理である。
The second update process will be described with reference to FIGS. The second update process is a process for writing firmware received from the outside into the
図5のステップS51は、第2のアップデート処理を実行する前の第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。スコープ記憶部222は、現在使用中のファームウェアであるAプログラム、Aプログラムが対応するスコープのスコープ識別情報、そしてAプログラムのバージョンを1つのデータファイルとして記憶している。第2のプロセッサ記憶部307は、ファームウェアであるBプログラム、Bプログラムが対応するスコープのスコープ識別情報、そしてBプログラムのバージョン情報を1つのデータファイルとして記憶している。第1のプロセッサ記憶部306は、何も記憶していない。以下、スコープ識別情報とバージョン情報を併せてプログラムの固有情報と呼ぶ。なお、スコープ記憶部222に記憶されているスコープ識別情報は、スコープ200に固有の情報であるため、本処理において書き換えられない。
Step S51 in FIG. 5 shows the states of the first
図4を参照すると、初めのステップS401では、スコープ200がビデオプロセッサ300に接続される。次のステップS402では、スコープ記憶部222が記憶するAプログラムの固有情報を、第2のプロセッサ記憶部307が記憶するBプログラムの固有情報と比較する。図5のステップS52を参照すると、第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態はステップS51から変更されない。
Referring to FIG. 4, in the first step S 401, the
次のステップS403では、現在接続されているスコープ200の型式がBプログラムのスコープ識別情報と一致し、かつBプログラムのバージョンがAプログラムのバージョンよりも新しいか否かを確認する。そして、スコープ識別情報が一致し、かつバージョンが新しい場合、処理はステップS404に進み、そうでない場合、処理はステップS406に進む。
In the next step S403, it is confirmed whether or not the type of the currently connected
スコープ識別情報が一致し、かつバージョンが新しい場合について説明する。処理がステップS403からステップS404に進むと、ステップS404において第1のアップデート処理が実行される。第1の実施形態ではプログラムだけが各記憶部に書き込まれたが、本実施形態ではプログラムのバージョン情報も同時に各記憶部へ書き込まれる。これにより、スコープ記憶部222にBプログラムのバージョン情報及びBプログラムが書き込まれる。また本実施形態では、第1のアップデート処理におけるステップS209は実行されない。そのため、ステップS404終了後であっても、第2のプロセッサ記憶部307はBプログラムのバージョン情報及びBプログラムを記憶している。そして、次のステップS405において、スコープ記憶部222に記憶されているプログラムを再度エラーチェックしたのち、処理が終了する。
A case where the scope identification information matches and the version is new will be described. When the process proceeds from step S403 to step S404, the first update process is executed in step S404. In the first embodiment, only the program is written in each storage unit. However, in this embodiment, the version information of the program is also written in each storage unit at the same time. As a result, the version information of the B program and the B program are written in the
図5のステップS53は、ステップS404における動作が完了した後における第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。第1のプロセッサ記憶部306はAプログラムのバージョン情報及びAプログラムを記憶し、第2のプロセッサ記憶部307はステップS52から変化せず、スコープ記憶部222はスコープ識別情報、Bプログラムのバージョン情報、及びBプログラムを記憶する。
Step S53 in FIG. 5 shows the states of the first
スコープ識別情報が一致せず、及び/又はバージョンが新しくない場合について説明する。処理がステップS403からステップS406に進むと、ステップS406において、第2のプロセッサ記憶部307に記憶されているBプログラムのバージョン情報及びBプログラムが削除される。そして次のステップS407において、Aプログラムのバージョン情報及びAプログラムをスコープ記憶部222から読み出して、第2のプロセッサ記憶部307に書き込む。そして、処理を終了する。
A case where the scope identification information does not match and / or the version is not new will be described. When the process proceeds from step S403 to step S406, the version information of the B program and the B program stored in the second
図5のステップS54は、ステップS407における動作が完了した後における第1のプロセッサ記憶部306、第2のプロセッサ記憶部307、及びスコープ記憶部222の状態を示す。第1のプロセッサ記憶部306及びスコープ記憶部222はステップS52から変化しないが、第2のプロセッサ記憶部307はスコープ識別情報、Aプログラムのバージョン情報、及びAプログラムを記憶する。これにより、常に最新のプログラムが第2のプロセッサ記憶部307に記憶される。
Step S54 in FIG. 5 shows the state of the first
本実施形態によれば、常に最新のプログラムが第2のプロセッサ記憶部307に記憶されるとともに、第1の実施形態と同様の効果を得る。
According to the present embodiment, the latest program is always stored in the second
いずれの実施形態においても、外部に設けられたコンピュータに制御信号線312を直接接続することによって、スコープ200とコンピュータとを接続し、コンピュータからスコープ200にデータファイルを直接送信しても良い。
In either embodiment, the
また、撮像素子はCCD215に限定されない。
Further, the image sensor is not limited to the
外部インターフェース302は、例えばRS−232Cであってもよく、内視鏡装置100の外部に設けられるコンピュータとビデオプロセッサ300とを接続する。この場合、外部に設けられたコンピュータは、外部インターフェース302を介してファームウェアをビデオプロセッサMPU301に送信する。
The
ファームウェアは圧縮されて内視鏡装置100に送信されても良い。送受信時間を短縮し、第1のプロセッサ記憶部306及び第2のプロセッサ記憶部307の記憶領域を節約できる。圧縮アルゴリズムとしてランレングス符号化等が用いられる。
The firmware may be compressed and transmitted to the
100 内視鏡装置
200 スコープ
210 挿入部
211 遠位端部
212 近位端部
213 撮像レンズ
214 照明レンズ
215 CCD
216 アナログ信号出力線
217 CCD制御信号線
218 ライトガイドファイバ
219 画像信号線
220 操作部
221 内視鏡MPU
222 スコープ記憶部
223 アナログ信号処理部
300 ビデオプロセッサ
301 ビデオプロセッサMPU
302 外部インターフェース
303 フロントパネル
304 画像信号処理部
305 光源
306 第1のプロセッサ記憶部
307 第2のプロセッサ記憶部
312 制御信号線
400 モニタ
DESCRIPTION OF
216 Analog
222
302
Claims (8)
プログラムを記憶するスコープ記憶部と、前記スコープ記憶部に対してプログラムを読み書きするスコープ制御部とを備えるスコープとを備え、
前記プロセッサ制御部は、外部から第1のプログラムを読み込んで前記プロセッサ記憶部に書き込み、かつ前記スコープ記憶部に記憶されている第2のプログラムを前記スコープ制御部を介して読み出して前記プロセッサ記憶部に書き込んだ後に、前記第1のプログラムを前記スコープ制御部に送信し、
前記スコープ制御部は、前記第1のプログラムを受信して前記スコープ記憶部に書き込み、そして前記スコープ記憶部に書き込まれている前記第1のプログラムを検査し、これによりエラーが見つかった場合には、前記プロセッサ制御部は、前記第1のプログラムを前記スコープ制御部に送信し、前記スコープ制御部は、前記第1のプログラムを受信して前記スコープ記憶部に書き込む内視鏡装置。 A processor comprising a processor storage unit for storing a program, and a processor control unit for reading and writing the program from and to the processor storage unit;
A scope storage unit that stores a program; and a scope that includes a scope control unit that reads and writes a program from and to the scope storage unit;
The processor control unit reads the first program from the outside, writes the first program in the processor storage unit, and reads the second program stored in the scope storage unit via the scope control unit to read the processor storage unit And writing the first program to the scope control unit,
The scope control unit receives the first program, writes it to the scope storage unit, and checks the first program written in the scope storage unit, and if an error is found by this, The processor control unit transmits the first program to the scope control unit, and the scope control unit receives the first program and writes it to the scope storage unit.
前記プロセッサ制御部は、前記第1のプログラムの前記識別情報が前記スコープの識別情報と一致し、かつ前記第1のプログラムの前記バージョン情報が前記第2のプログラムのバージョン情報よりも新しい場合に、前記第1のプログラムを前記スコープ制御部に送信する請求項1に記載の内視鏡装置。 The first program has version information and identification information of a corresponding scope,
The processor control unit, when the identification information of the first program matches the identification information of the scope, and the version information of the first program is newer than the version information of the second program, The endoscope apparatus according to claim 1, wherein the first program is transmitted to the scope control unit.
前記プロセッサ制御部は、前記第1のプログラムの前記識別情報が前記スコープの識別情報と一致し、かつ前記第2のプログラムの前記バージョン情報が前記第1のプログラムのバージョン情報よりも新しい場合に、前記スコープ記憶部に記憶されている第2のプログラムを前記スコープ制御部を介して読み出して前記プロセッサ記憶部に書き込む請求項1に記載の内視鏡装置。 The first program has version information and identification information of a corresponding scope,
The processor control unit, when the identification information of the first program matches the identification information of the scope, and the version information of the second program is newer than the version information of the first program, The endoscope apparatus according to claim 1, wherein the second program stored in the scope storage unit is read out via the scope control unit and written into the processor storage unit.
外部から第1のプログラムを読み込んで前記プロセッサ記憶部に書き込み、かつ前記スコープ記憶部に記憶されている第2のプログラムを前記スコープ制御部を介して読み出して前記プロセッサ記憶部に書き込むステップと、
前記第1のプログラムを前記スコープ記憶部に書き込むステップと、
前記スコープ記憶部に書き込まれている前記第1のプログラムを検査するステップと、
前記検査するステップにおいて前記第1のプログラムにエラーが見つからなかった場合に、前記プロセッサ記憶部に記憶されている前記第2のプログラムを消去するステップと、
前記検査するステップにおいて前記第1のプログラムにエラーが見つかった場合に、前記第1のプログラムを前記スコープ記憶部に書き込むステップと、
前記プロセッサ記憶部に記憶されている前記第1のプログラムを消去するステップとを備える内視鏡装置の制御方法。 An endoscopic device control method for writing a program stored in a processor storage unit to a scope storage unit,
Reading the first program from the outside and writing it to the processor storage unit, and reading the second program stored in the scope storage unit via the scope control unit and writing it to the processor storage unit;
Writing the first program into the scope storage unit;
Inspecting the first program written in the scope storage unit;
Erasing the second program stored in the processor storage unit when no error is found in the first program in the checking step;
A step of writing the first program to the scope storage unit when an error is found in the first program in the checking step;
A method of controlling the endoscope apparatus, comprising: erasing the first program stored in the processor storage unit.
前記第1のプログラムの前記識別情報が前記スコープの識別情報と一致し、かつ前記第2のプログラムの前記バージョン情報が前記第1のプログラムのバージョン情報よりも新しい場合に、前記スコープ記憶部に記憶されている第2のプログラムを前記スコープ制御部を介して読み出して前記プロセッサ記憶部に書き込むステップとをさらに備える請求項7に記載の内視鏡装置の制御方法。 The first program has version information and identification information of a corresponding scope;
When the identification information of the first program matches the identification information of the scope, and the version information of the second program is newer than the version information of the first program, stored in the scope storage unit The endoscopic apparatus control method according to claim 7, further comprising: reading the second program being read via the scope control unit and writing the second program in the processor storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010235731A JP5511623B2 (en) | 2010-10-20 | 2010-10-20 | Endoscope apparatus and control method of endoscope apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010235731A JP5511623B2 (en) | 2010-10-20 | 2010-10-20 | Endoscope apparatus and control method of endoscope apparatus |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2012085866A true JP2012085866A (en) | 2012-05-10 |
JP2012085866A5 JP2012085866A5 (en) | 2013-06-27 |
JP5511623B2 JP5511623B2 (en) | 2014-06-04 |
Family
ID=46258158
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010235731A Active JP5511623B2 (en) | 2010-10-20 | 2010-10-20 | Endoscope apparatus and control method of endoscope apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5511623B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018066380A1 (en) * | 2016-10-07 | 2018-04-12 | オリンパス株式会社 | Processing device |
JP2018075405A (en) * | 2017-12-21 | 2018-05-17 | Hoya株式会社 | Endoscope system |
-
2010
- 2010-10-20 JP JP2010235731A patent/JP5511623B2/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018066380A1 (en) * | 2016-10-07 | 2018-04-12 | オリンパス株式会社 | Processing device |
JPWO2018066380A1 (en) * | 2016-10-07 | 2018-10-04 | オリンパス株式会社 | Endoscope processing device |
JP2018075405A (en) * | 2017-12-21 | 2018-05-17 | Hoya株式会社 | Endoscope system |
Also Published As
Publication number | Publication date |
---|---|
JP5511623B2 (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090290016A1 (en) | Endoscope system | |
TWI516917B (en) | Nonvolatile memory controller and method for writing data to nonvolatile memory | |
JP2008149125A (en) | Endoscope and endoscope system | |
JPWO2016121464A1 (en) | Signal processing apparatus and endoscope system | |
JP4636224B2 (en) | Electronic endoscope apparatus and program transfer method | |
JP5511623B2 (en) | Endoscope apparatus and control method of endoscope apparatus | |
JP2012248031A (en) | Electronic apparatus, endoscopic device, and program module update method of electronic apparatus | |
JP4586469B2 (en) | MEMORY CONTROL DEVICE, MEMORY CONTROL METHOD, PROGRAM | |
JP2009254513A (en) | Method of updating electronic endoscope firmware | |
JP6334832B2 (en) | Battery powered medical device | |
JP2017097576A (en) | Rewrite system | |
JP2009279060A (en) | Endoscope system | |
JP5439263B2 (en) | Electronic endoscope and system | |
US7795908B2 (en) | Electronic device, method for configuring reprogrammable logic element, computer-readable medium, computer data signal and image forming apparatus | |
JP5273780B2 (en) | Memory access control method, memory control device, and computer program | |
CN111052075B (en) | Method and device for improving in-place firmware updating robustness | |
JP4127307B2 (en) | Data storage device, data processing system, data processing method, and data processing device | |
JP4973270B2 (en) | Camera accessory equipment and camera system | |
JP5624943B2 (en) | Electronic device and method for updating program module of electronic device | |
JP2011197702A (en) | Data writing method and data writing device | |
JP2006260158A (en) | Information processing apparatus, information processing method and program | |
JP2009279074A (en) | Endoscope system | |
JP2011085977A (en) | Signal processing apparatus | |
TW201939282A (en) | System code management apparatus and management method thereof | |
KR100462620B1 (en) | Methods for storing and recovering data in image processing apparatus having hard disk drive, and the image processing apparatus for processing the methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130509 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130826 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140207 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140304 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140325 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5511623 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |