JP2003111723A - Electronic endoscope register method for database for electronic endoscope, and database system for electronic endoscope - Google Patents

Electronic endoscope register method for database for electronic endoscope, and database system for electronic endoscope

Info

Publication number
JP2003111723A
JP2003111723A JP2002182253A JP2002182253A JP2003111723A JP 2003111723 A JP2003111723 A JP 2003111723A JP 2002182253 A JP2002182253 A JP 2002182253A JP 2002182253 A JP2002182253 A JP 2002182253A JP 2003111723 A JP2003111723 A JP 2003111723A
Authority
JP
Japan
Prior art keywords
electronic endoscope
database
electronic
endoscope
registered
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.)
Withdrawn
Application number
JP2002182253A
Other languages
Japanese (ja)
Other versions
JP2003111723A5 (en
Inventor
Tadashi Takahashi
正 高橋
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.)
Pentax Corp
Original Assignee
Pentax Corp
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 Pentax Corp filed Critical Pentax Corp
Priority to JP2002182253A priority Critical patent/JP2003111723A/en
Publication of JP2003111723A publication Critical patent/JP2003111723A/en
Publication of JP2003111723A5 publication Critical patent/JP2003111723A5/ja
Withdrawn legal-status Critical Current

Links

Landscapes

  • Endoscopes (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically and precisely obtain the utilization state of an electronic endoscope in an electronic endoscope register method for a database for the electronic endoscope for newly registering the electronic endoscope to the database for the electronic endoscope in which data on the characteristic value, management information, or the like of the electronic endoscope are recorded for every electronic endoscope. SOLUTION: It is discriminated whether the number of electronic endoscopes registered in the database amounts to a prescribed value. When the number of electronic endoscopes registered in the database amounts to the prescribed value, registering of data on a prescribed electronic endoscope among the electronic endoscopes already registered in the database is deleted. When the number of electronic endoscopes registered in the database amounts to the prescribed value in the case of recording data on the electronic endoscope to be registered newly in the database, data on the electronic endoscope to be newly registered is recorded in a storage area on the database whose registering is deleted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、電子内視鏡の特性
値や管理情報等のデータを電子内視鏡毎に記録した電子
内視鏡用データベースに電子内視鏡を新規登録する、電
子内視鏡用データベースの電子内視鏡登録方法および、
電子内視鏡用データベースを管理する電子内視鏡用デー
タベースシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention newly registers an electronic endoscope in an electronic endoscope database in which data such as characteristic values and management information of the electronic endoscope are recorded for each electronic endoscope. Electronic endoscope registration method of database for endoscope, and
The present invention relates to a database system for electronic endoscopes that manages a database for electronic endoscopes.

【0002】[0002]

【従来の技術】CCDなどの固体撮像素子を先端に備え
た電子内視鏡は、一般に前記固体撮像素子からの電気信
号を処理してモニタやビデオプリンタ等の出力手段に出
力する、内視鏡用プロセッサと共に利用される。
2. Description of the Related Art An electronic endoscope having a solid-state image sensor such as a CCD at its tip generally processes an electric signal from the solid-state image sensor and outputs it to an output means such as a monitor or a video printer. It is used together with a processor.

【0003】電子内視鏡はこの内視鏡用プロセッサに着
脱自在に接続される。また、通常は内視鏡用プロセッサ
は、複数種類の電子内視鏡と接続可能であり、従って、
観察/処置を行う部位に適した電子内視鏡を適宜この内
視鏡用プロセッサに接続して使用することにより、複数
種類の電子内視鏡を使用する場合においても内視鏡用プ
ロセッサの台数は1台で済む。
The electronic endoscope is detachably connected to the endoscope processor. In addition, the endoscope processor is usually connectable to multiple types of electronic endoscopes, and therefore,
Even if multiple types of electronic endoscopes are used, the number of endoscope processors can be increased by connecting and using an electronic endoscope suitable for the site to be observed / treated appropriately. Needs only one.

【0004】また、一般に電子内視鏡はEEPROM等の記憶
素子を有している。この記憶素子には、その電子内視鏡
の種類、シリアルナンバー、ホワイトバランス値などが
記憶されている。電子内視鏡が内視鏡用プロセッサに接
続されると、内視鏡用プロセッサは記憶素子に記憶され
た各種データを読み出し、モニタに電子内視鏡の種類を
表示したり、ホワイトバランスをその電子内視鏡に適し
た値に設定している。
In general, an electronic endoscope has a storage element such as an EEPROM. The storage element stores the type of electronic endoscope, serial number, white balance value, and the like. When the electronic endoscope is connected to the endoscope processor, the endoscope processor reads various data stored in the storage element, displays the type of the electronic endoscope on the monitor, and displays the white balance. It is set to a value suitable for electronic endoscopes.

【0005】なお、内視鏡用プロセッサの生成する、モ
ニタ出力用の映像信号は各内視鏡用プロセッサごとに若
干のばらつきがあるため、記憶素子に記憶された内視鏡
内のホワイトバランス値をそのまま設定すると、ホワイ
トバランスが多少ずれる場合がある。従って、電子内視
鏡を内視鏡用プロセッサに装着するたびにホワイトバラ
ンス値を手動で再設定するのを避けるため、内視鏡用プ
ロセッサが一度設定された電子内視鏡の種類およびシリ
アルナンバーごとのホワイトバランス値を記憶している
必要がある。すなわち、電子内視鏡が再接続されたとき
は内視鏡用プロセッサに記憶されたホワイトバランス値
を用いる。このような方法でホワイトバランス値を自動
的に再設定する場合、内視鏡用プロセッサは電子内視鏡
の種類およびシリアルナンバーから適切なホワイトバラ
ンス値を参照する一種のデータベースを備えている。
Since the video signals for monitor output, which are generated by the endoscope processors, vary slightly among the endoscope processors, the white balance value in the endoscope stored in the storage element. If is set as is, the white balance may shift slightly. Therefore, in order to avoid manually resetting the white balance value each time the electronic endoscope is attached to the endoscope processor, the endoscope processor sets the electronic endoscope type and serial number once set. It is necessary to store the white balance value for each. That is, when the electronic endoscope is reconnected, the white balance value stored in the endoscope processor is used. When the white balance value is automatically reset in this way, the endoscope processor has a kind of database that refers to an appropriate white balance value based on the type and serial number of the electronic endoscope.

【0006】また、内視鏡用プロセッサが、電子内視鏡
が内視鏡用プロセッサに装着された回数をカウントする
ことにより、内視鏡用プロセッサで使われる電子内視鏡
の使用頻度を判断することができる。この使用頻度は、
例えば内視鏡の保守等に利用することができる。
Further, the endoscope processor counts the number of times the electronic endoscope is attached to the endoscope processor to determine the frequency of use of the electronic endoscope used in the endoscope processor. can do. This frequency of use
For example, it can be used for maintenance of an endoscope.

【0007】このような内視鏡用プロセッサにおいて、
その記憶容量いっぱいまで電子内視鏡がデータベースに
登録された状態では、新たな電子内視鏡を登録すること
はできない。従って、従来は不要な電子内視鏡のデータ
を手動で削除したうえで、新しい電子内視鏡を登録して
いた。
In such an endoscope processor,
A new electronic endoscope cannot be registered in a state where the electronic endoscope is registered in the database up to the full storage capacity. Therefore, conventionally, a new electronic endoscope has been registered after manually deleting unnecessary electronic endoscope data.

【0008】[0008]

【発明が解決しようとする課題】本発明は上記の問題に
鑑み、内視鏡用プロセッサに電子内視鏡を登録する作業
をより平易かつ迅速に実施可能な電子内視鏡用データベ
ースの電子内視鏡登録方法および電子内視鏡用データベ
ースシステムを提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above problems, the present invention provides an electronic endoscope database that allows an electronic endoscope to be registered in an endoscope processor more easily and quickly. An object is to provide an endoscope registration method and a database system for an electronic endoscope.

【0009】[0009]

【課題を解決するための手段】上記の問題を解決するた
め、本発明の電子内視鏡用データベースの電子内視鏡登
録方法は、データベースに登録された電子内視鏡の数が
所定数に達しているかどうかを判断する計数ステップ
と、データベースに登録された電子内視鏡の数が所定数
に達していたときはデータベースに登録済みの電子内視
鏡のうち所定の電子内視鏡に関するデータを登録抹消す
る登録抹消ステップと、新規登録する電子内視鏡のデー
タをデータベースに記録する記録ステップとを有し、デ
ータベースに登録された電子内視鏡の数が所定数に達し
ていたときは記録ステップは登録抹消ステップにて登録
抹消されたデータベース上の記憶領域に新規登録する電
子内視鏡のデータを記録する。
In order to solve the above problems, in the electronic endoscope registration method of the database for electronic endoscopes of the present invention, the number of electronic endoscopes registered in the database is set to a predetermined number. If the number of electronic endoscopes registered in the database has reached a predetermined number, the counting step to determine whether or not it has been reached, and the data related to the predetermined electronic endoscope among the electronic endoscopes registered in the database When the number of electronic endoscopes registered in the database has reached a predetermined number, there is a deregistration step of deregistering the electronic endoscope and a recording step of recording the data of the electronic endoscope newly registered in the database. In the recording step, the data of the electronic endoscope to be newly registered is recorded in the storage area on the database that was deregistered in the deregistration step.

【0010】したがって、新しい電子内視鏡をデータベ
ースに登録するときに記憶容量いっぱいまで電子内視鏡
がデータベースに登録された状態であっても、不要な電
子内視鏡のデータを手動で登録抹消する必要なく自動的
に新しい電子内視鏡が登録される。
Therefore, when a new electronic endoscope is registered in the database, even if the electronic endoscope has been registered in the database up to the storage capacity, unnecessary electronic endoscope data can be manually deleted. A new electronic endoscope is automatically registered without the need to do so.

【0011】ここで、所定の電子内視鏡に関するデータ
は、データベースに登録済みの電子内視鏡のうち、最初
に登録された電子内視鏡に関するデータである構成とし
てもよい。
Here, the data regarding the predetermined electronic endoscope may be data regarding the first registered electronic endoscope among the electronic endoscopes registered in the database.

【0012】このような構成とすることにより、新しい
電子内視鏡をデータベースに登録するときに記憶容量い
っぱいまで電子内視鏡がデータベースに登録された状態
であれば、最も登録日時が古い電子内視鏡に関するデー
タが自動的に登録抹消される。
With such a structure, when a new electronic endoscope is registered in the database, if the electronic endoscope is registered in the database up to the full storage capacity, the electronic endoscope with the oldest registration date and time is registered. The data about the endoscope is automatically deregistered.

【0013】同様に、所定の電子内視鏡に関するデータ
は、データベースに登録済みの電子内視鏡のうち最後に
使用された日時が最も古い電子内視鏡に関するデータで
ある構成としてもよい。
Similarly, the data relating to the predetermined electronic endoscope may be data relating to the electronic endoscope registered in the database and having the earliest date and time of last use.

【0014】このような構成とすることにより、新しい
電子内視鏡をデータベースに登録するときに記憶容量い
っぱいまで電子内視鏡がデータベースに登録された状態
であれば、最も使われていない電子内視鏡に関するデー
タが自動的に登録抹消される。
With this configuration, when a new electronic endoscope is registered in the database, if the electronic endoscope is registered in the database up to the full storage capacity, the most unused electronic endoscope will be used. The data about the endoscope is automatically deregistered.

【0015】なお、データベースを管理する電子内視鏡
用データベースシステムが、電子内視鏡が内視鏡用プロ
セッサに接続されているかどうかを判別する内視鏡挿抜
検知手段を有し、更新手段は電子内視鏡が内視鏡用プロ
セッサに接続され続けたときにそのときの時刻を電子内
視鏡が最後に使用された日時としてデータベースに記録
する構成としてもよい。
It should be noted that the electronic endoscope database system for managing the database has an endoscope insertion / extraction detecting means for determining whether or not the electronic endoscope is connected to the endoscope processor, and the updating means is When the electronic endoscope is continuously connected to the endoscope processor, the time at that time may be recorded in the database as the date and time when the electronic endoscope was last used.

【0016】このような構成とすることにより、あやま
って不要な(データベースから削除しても構わない)電
子内視鏡を内視鏡用プロセッサに装着した場合であって
も、所定時間以内にこの電子内視鏡を内視鏡用プロセッ
サより抜去すれば、データベースのその電子内視鏡に関
する「最後に使用された日時」は更新されない。
With such a structure, even if an unnecessary electronic endoscope (which may be deleted from the database) is mounted on the endoscope processor, it is possible to set the electronic endoscope within a predetermined time. If the electronic endoscope is removed from the endoscope processor, the “last used date and time” of the electronic endoscope in the database is not updated.

【0017】なお、データベースを管理する電子内視鏡
用データベースシステムが、内視鏡用プロセッサに内蔵
される構成としてもよい。
The electronic endoscope database system for managing the database may be incorporated in the endoscope processor.

【0018】[0018]

【発明の実施の形態】以下に、本発明の実施の形態を図
面を用いて詳細に説明する。図1は、本発明の第1の実
施の形態による電子内視鏡システムの全体図を模式的に
示したブロック図である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram schematically showing an overall view of an electronic endoscope system according to a first embodiment of the present invention.

【0019】電子内視鏡システム1は電子内視鏡100
と、この電子内視鏡100が着脱自在に装着される内視
鏡用プロセッサ200とを有する。
The electronic endoscope system 1 is an electronic endoscope 100.
And an endoscope processor 200 to which the electronic endoscope 100 is detachably attached.

【0020】電子内視鏡100は、対物光学系101
と、この電子内視鏡の各種情報が記憶されているEEP
ROM102と、CCD104と、ライトガイド103
を有している。
The electronic endoscope 100 includes an objective optical system 101.
And EEP in which various information of this electronic endoscope is stored
ROM 102, CCD 104, light guide 103
have.

【0021】内視鏡用プロセッサ200はCPU20
1、光源203、前段信号処理回路204、後段信号処
理回路205、CRTC206、操作パネル207、メ
モリ208、RTC(Real Time Clock)209、絞り21
0、絞り制御回路211、入力機器インターフェース2
12を有している。後段信号処理回路205、CRTC
206、操作パネル207、メモリ208、RTC20
9、絞り制御回路211、入力機器インターフェース2
12のそれぞれはCPU201と接続されている。ここ
で後段信号処理回路205、CRTC206、RTC20
9、絞り制御回路211、入力機器インターフェース2
12はCPU201によって制御される。
The endoscope processor 200 is a CPU 20.
1, light source 203, front stage signal processing circuit 204, rear stage signal processing circuit 205, CRTC 206, operation panel 207, memory 208, RTC (Real Time Clock) 209, diaphragm 21
0, aperture control circuit 211, input device interface 2
Have twelve. Rear signal processing circuit 205, CRTC
206, operation panel 207, memory 208, RTC20
9, aperture control circuit 211, input device interface 2
Each of 12 is connected to the CPU 201. Here, the post-stage signal processing circuit 205, the CRTC 206, and the RTC 20
9, aperture control circuit 211, input device interface 2
12 is controlled by the CPU 201.

【0022】CPU201に制御される入力機器インタ
ーフェース212にはキーボード400などの外部入力
装置が接続され、その入力を元に、CPU201は電子
内視鏡100および内視鏡用プロセッサ200等の制御
を行う。同様に、内視鏡用プロセッサ200の操作パネ
ル207には操作ボタンが配置されており、これらの操
作ボタンを押すことにより発せられる操作ボタン信号は
CPU201に入力され、この信号を元に内視鏡用プロ
セッサ200や電子内視鏡100等の制御が行われる。
An external input device such as a keyboard 400 is connected to the input device interface 212 controlled by the CPU 201, and the CPU 201 controls the electronic endoscope 100 and the endoscope processor 200 based on the input. . Similarly, operation buttons are arranged on the operation panel 207 of the endoscope processor 200, and operation button signals generated by pressing these operation buttons are input to the CPU 201, and the endoscope is based on these signals. The processor 200, the electronic endoscope 100, and the like are controlled.

【0023】内視鏡用プロセッサ200の光源部203
は絞り210を経由して電子内視鏡100のライトガイ
ド103の入射端に光を入射させる。ライトガイド10
3の入射端に入射された光はライトガイド103を通っ
て電子内視鏡100の挿入管の先端に露出するライトガ
イド103の射出端に達し、電子内視鏡100の挿入管
の周囲の体腔内を照らす。絞り210の開度は絞り制御
回路211によってコントロールされる。ここで、内視
鏡システム1のオペレータはキーボード400または内
視鏡用プロセッサ200の操作パネル207を操作する
ことにより、絞り210の開度を任意に設定可能であ
る。
The light source unit 203 of the endoscope processor 200
Causes light to enter the incident end of the light guide 103 of the electronic endoscope 100 via the diaphragm 210. Light guide 10
The light incident on the incident end of the light source 3 passes through the light guide 103 to reach the exit end of the light guide 103 exposed at the tip of the insertion tube of the electronic endoscope 100, and the body cavity around the insertion tube of the electronic endoscope 100. Illuminate the inside. The opening degree of the diaphragm 210 is controlled by the diaphragm control circuit 211. Here, the operator of the endoscope system 1 can arbitrarily set the opening degree of the diaphragm 210 by operating the keyboard 400 or the operation panel 207 of the endoscope processor 200.

【0024】電子内視鏡100の対物光学系による像は
CCD104の受光面上で結像する。CCD104はこ
の結像された映像を映像信号に変換する。この映像信号
は、内視鏡用プロセッサ200内の前段信号処理回路2
04に伝達される。前段信号処理回路204はこの映像
信号を取り出し、後段信号処理回路205に転送する。
後段信号処理回路205は映像信号を処理してNTSC
信号等のモニタに出力可能なビデオ信号に変換する。ま
た、後段信号処理回路205はCPU201からの制御
信号に基づき、ホワイトバランスの調整を行う。後段信
号処理回路205によって変換された信号は、内視鏡用
プロセッサ200に接続されたモニタ300上で画像と
して表示される。なお、本実施形態においてはCCD1
04で撮像された映像をモニタ300に出力する構成と
しているが、出力先はモニタに制限されるものではな
く、例えばビデオプリンタ等の他の出力機器に出力する
構成としても構わない。
An image formed by the objective optical system of the electronic endoscope 100 is formed on the light receiving surface of the CCD 104. The CCD 104 converts the formed image into an image signal. This video signal is the pre-stage signal processing circuit 2 in the endoscope processor 200.
04 is transmitted. The front stage signal processing circuit 204 takes out this video signal and transfers it to the rear stage signal processing circuit 205.
The post-stage signal processing circuit 205 processes the video signal to
Converts video signals into video signals that can be output to the monitor. The post-stage signal processing circuit 205 also adjusts the white balance based on the control signal from the CPU 201. The signal converted by the post-stage signal processing circuit 205 is displayed as an image on the monitor 300 connected to the endoscope processor 200. In the present embodiment, the CCD 1
Although the image captured in 04 is output to the monitor 300, the output destination is not limited to the monitor, and may be output to another output device such as a video printer.

【0025】また、キーボード400の入力を元に、C
PU201は電子内視鏡100および内視鏡用プロセッ
サ200の動作を切り替えたり、映像信号に文字情報を
スーパーインポーズさせることが出来る。同様に、操作
パネル207を操作して、電子内視鏡100および内視
鏡用プロセッサ200の動作を切り替えたり、映像信号
に文字情報をスーパーインポーズさせることが出来る。
Based on the input from the keyboard 400, C
The PU 201 can switch the operations of the electronic endoscope 100 and the endoscope processor 200, and can superimpose character information on a video signal. Similarly, by operating the operation panel 207, the operations of the electronic endoscope 100 and the endoscope processor 200 can be switched, and text information can be superimposed on the video signal.

【0026】CRTC206は文字情報をスーパーイン
ポーズするために使用される。CRTC206で生成さ
れたビデオ信号は後段信号処理回路205で生成された
ビデオ信号と同期を取ってモニタ300に向けて出力さ
れ、CRTC206による画像は、後段信号処理回路2
05による画像にスーパーインポーズされる。CPU2
01はCRTC206を制御して任意の文字情報を後段
信号処理回路205による画像(すなわち、電子内視鏡
100のCCD104によって撮像された画像)にスー
パーインポーズさせることができる。
The CRTC 206 is used to superimpose character information. The video signal generated by the CRTC 206 is output to the monitor 300 in synchronization with the video signal generated by the post-stage signal processing circuit 205, and the image by the CRTC 206 is the post-stage signal processing circuit 2.
Superimposed on the image by 05. CPU2
01 can control the CRTC 206 to superimpose arbitrary character information on the image by the subsequent signal processing circuit 205 (that is, the image captured by the CCD 104 of the electronic endoscope 100).

【0027】例えば、電子内視鏡100のCCD104
によって撮像された画像に、電子内視鏡100のEEP
ROM102に記憶された情報を表示させることが可能
である。
For example, the CCD 104 of the electronic endoscope 100
The EEP of the electronic endoscope 100 is added to the image captured by the
It is possible to display the information stored in the ROM 102.

【0028】本実施形態におけるCPU201は、電子
内視鏡100および内視鏡用プロセッサ200を制御す
ると共に、電子内視鏡100を管理するデータベースを
メモリ208内に構築している。本実施形態におけるデ
ータベースの一例を図2に示す。本実施形態において
は、データベースに電子内視鏡を39本まで登録可能と
なっている。このデータベースは内視鏡毎にレコードが
割り当てられ、各レコードは"register no."、"scope n
ame"、"serial no."、"white balance"(R Gain/ B Gai
n)、"registered date"、"used date"および"counter"
の各項目を有する。
The CPU 201 in the present embodiment controls the electronic endoscope 100 and the endoscope processor 200, and builds a database for managing the electronic endoscope 100 in the memory 208. An example of the database in this embodiment is shown in FIG. In this embodiment, up to 39 electronic endoscopes can be registered in the database. This database is assigned a record for each endoscope, and each record is "register no.", "Scope n.
ame "," serial no. "," white balance "(R Gain / B Gai
n), "registered date", "used date" and "counter"
It has each item of.

【0029】"register no."は、レコードを識別するた
めに使用される、1から39までの通し番号である。"s
cope name"および"serial no."は、それぞれ電子内視鏡
の種類および電子内視鏡のシリアルナンバーを示すデー
タであり、これらは電子内視鏡100のEEPROM1
02に記憶されている情報と同一である。"scope name"
および"serial no."は、その電子内視鏡が最初に内視鏡
用プロセッサ200に接続されたときにEEPROM1
02より読み出され、データベースに記録される。
"Register no." Is a serial number from 1 to 39 used to identify a record. "s
“Cope name” and “serial no.” are data indicating the type of electronic endoscope and the serial number of the electronic endoscope, respectively, and these are the EEPROM 1 of the electronic endoscope 100.
The information stored in 02 is the same. "scope name"
And "serial no." Means that when the electronic endoscope is first connected to the endoscope processor 200, the EEPROM 1
02 and recorded in the database.

【0030】"white balance"はホワイトバランス値を
示す。R Gain は赤色成分の補正値であり、B Gainは青
色成分の補正値である。これらの値は電子内視鏡システ
ム1のオペレータによって設定される値である。すなわ
ち、オペレータは電子内視鏡100を内視鏡用プロセッ
サ200に装着し、モニタ300で画像を観察しながら
キーボード400または操作パネル207を操作して適
切なホワイトバランス値を設定する。電子内視鏡を内視
鏡用プロセッサ200に装着すると、CPU201はE
EPROM102に記憶された電子内視鏡の種類および
シリアルナンバーと、データベースに登録された電子内
視鏡の"scope name"および"serial no."を比較し、この
電子内視鏡がデータベースに登録済みであるならば、そ
の電子内視鏡に対応するデータベース上のホワイトバラ
ンス値を後段信号処理回路205に対して設定する。
"White balance" indicates a white balance value. R Gain is the correction value for the red component, and B Gain is the correction value for the blue component. These values are values set by the operator of the electronic endoscope system 1. That is, the operator mounts the electronic endoscope 100 on the endoscope processor 200 and operates the keyboard 400 or the operation panel 207 while observing an image on the monitor 300 to set an appropriate white balance value. When the electronic endoscope is attached to the endoscope processor 200, the CPU 201 causes E
The type and serial number of the electronic endoscope stored in the EPROM 102 is compared with the "scope name" and "serial no." Of the electronic endoscope registered in the database, and this electronic endoscope has already been registered in the database. If so, the white balance value on the database corresponding to the electronic endoscope is set to the post-stage signal processing circuit 205.

【0031】"registered date"は6けたの日付データ
と4桁の時刻データから構成されている。日付データの
上2桁は西暦年号の下2桁であり、日付データの続く2
桁は月、さらに続く2桁は日をあらわしている。すなわ
ち、"971213.1313"は「1997年12月13日午後1
時13分」を、"001015.0924"は「2000年10月1
5日午前9時24分」を示す。なお、"registered dat
e"は、電子内視鏡が最初に内視鏡用プロセッサ200に
接続されたときの日時である。
The "registered date" is composed of 6-digit date data and 4-digit time data. The first two digits of the date data are the last two digits of the year number, and the two digits following the date data
The digit represents the month, and the following two digits represent the day. In other words, "971213.1313" means "December 13, 1997 1 pm
"13 hours", "001015.0924" is "October 1, 2000
9:24 am on the 5th ". Note that "registered dat
e "is the date and time when the electronic endoscope was first connected to the endoscope processor 200.

【0032】"used date"は"scope name"および"serial
no."で特定される電子内視鏡が最後に内視鏡用プロセ
ッサ200に接続されたときの日時である。なお、"use
d date"の書式は"registered date"の書式と同じであ
る。
"Used date" means "scope name" and "serial"
This is the date and time when the electronic endoscope specified by "no." was last connected to the endoscope processor 200. Note that "use"
The format of "d date" is the same as that of "registered date".

【0033】"counter"は"scope name"および"serial n
o."で特定される電子内視鏡が内視鏡用プロセッサ20
0に接続された回数である。
"Counter" is "scope name" and "serial n"
The electronic endoscope identified by "o." is the endoscope processor 20.
It is the number of times it was connected to zero.

【0034】本実施形態においては、内視鏡用プロセッ
サ200の電源が投入されると、初期設定が行われた
後、操作パネル207またはキーボード400からの入
力を受け付けて入力結果を所定の変数に保存する「設定
変更ルーチン」、データベースの"used date"データを
更新する「時計処理ルーチン」、データベースに登録さ
れていない電子内視鏡が内視鏡用プロセッサ200に装
着された時にデータベースの更新を行う「データベース
処理ルーチン」、および上記のルーチンの処理結果に基
づいて各信号処理回路を制御してモニタ300に向けて
出力される画像信号を生成する「画像処理ルーチン」の
それぞれが並行して実行される。なお、「設定変更ルー
チン」「時計処理ルーチン」「データベース処理ルーチ
ン」「画像処理ルーチン」は、メモリ208に記憶さ
れ、CPU201によって実行されるプログラムであ
る。
In the present embodiment, when the power of the endoscope processor 200 is turned on, after initialization is performed, the input from the operation panel 207 or the keyboard 400 is accepted and the input result is set to a predetermined variable. "Setting change routine" to save, "clock processing routine" to update "used date" data in the database, update the database when an electronic endoscope not registered in the database is attached to the endoscope processor 200. The "database processing routine" to be executed and the "image processing routine" for controlling each signal processing circuit based on the processing result of the above routine to generate an image signal output to the monitor 300 are executed in parallel. To be done. The “setting change routine”, “clock processing routine”, “database processing routine”, and “image processing routine” are programs stored in the memory 208 and executed by the CPU 201.

【0035】上記の各ルーチンにおいては、変数Curren
t_Scope, Last_Used, R_Gain, B_Gain, Apartureをグロ
ーバル変数として使用している。なお、前述の初期設定
によって変数Current_Scopeの初期値は0に設定されてい
る。
In each of the above routines, the variable Curren
t_Scope, Last_Used, R_Gain, B_Gain, Aparture are used as global variables. The initial value of the variable Current_Scope is set to 0 by the above-mentioned initial setting.

【0036】図3は「設定変更ルーチン」のフローであ
る。本フローが開始すると、最初にステップS101が
実行される。ステップS101では、操作パネル207
またはキーボード400の所定のボタンまたはコマンド
が入力され、絞り210の開度の変更がリクエストされ
ているかどうかの判断をしている。絞り210の開度の
変更がリクエストされていれば(S101:Yes)、
ステップS102に進み、リクエストされていなければ
(S101:No)ステップS104に進む。
FIG. 3 is a flow chart of the "setting change routine". When this flow starts, step S101 is first executed. In step S101, the operation panel 207
Alternatively, it is determined whether or not a predetermined button or command on the keyboard 400 has been input and a change in the aperture of the aperture 210 is requested. If it is requested to change the opening of the aperture 210 (S101: Yes),
The process proceeds to step S102, and if not requested (S101: No), the process proceeds to step S104.

【0037】ステップS102では操作パネル207ま
たはキーボード400から開度が入力されるまで(S1
02:Yes)待機する(S102:No)。次いでス
テップS103に進む。ステップS103ではステップ
S102にて操作パネル207またはキーボード400
から入力された開度の値を変数Apertureに代入する。次
いで、ステップS104に進み。ホワイトバランス値の
設定作業を行う。
In step S102, the opening is input from the operation panel 207 or the keyboard 400 (S1
02: Yes) Standby (S102: No). Then, the process proceeds to step S103. In step S103, the operation panel 207 or keyboard 400 is used in step S102.
The opening value input from is substituted into the variable Aperture. Then, the process proceeds to step S104. Perform white balance value setting work.

【0038】ステップS104では変数Current_Scope
の値が0であるかどうかを判断している。Current_Scop
eの値が0の時は内視鏡用プロセッサ200に電子内視
鏡が接続されていないということなので(S104:Y
es)、ホワイトバランスの設定は行わずに、ステップ
S101に戻る。Current_Scopeの値が0でなければ
(S104:No)、ステップS105に進む。
In step S104, the variable Current_Scope
It is determined whether the value of is 0. Current_Scop
When the value of e is 0, it means that the electronic endoscope is not connected to the endoscope processor 200 (S104: Y
es), and returns to step S101 without setting the white balance. If the value of Current_Scope is not 0 (S104: No), the process proceeds to step S105.

【0039】ステップS105では、操作パネル207
またはキーボード400の所定のボタンまたはコマンド
が入力され、ホワイトバランス値の変更がリクエストさ
れているかどうかの判断をしている。ホワイトバランス
値の変更がリクエストされていれば(S105:Ye
s)、ステップS106に進み、リクエストされていな
ければ(S105:No)ステップS101に進む。
In step S105, the operation panel 207
Alternatively, it is determined whether or not a predetermined button or command on the keyboard 400 has been input to request a change in the white balance value. If the change of the white balance value is requested (S105: Ye
s), the process proceeds to step S106, and if not requested (S105: No), the process proceeds to step S101.

【0040】ステップS106では操作パネル207ま
たはキーボード400から入力されるまで(S106:
Yes)待機する(S106:No)。次いでステップ
S107に進む。ステップS107ではステップS10
6にて操作パネル207またはキーボード400から入
力されたホワイトバランス値(赤色成分の補正値および
青色成分の補正値)をデータベースの"register no."=C
urrent_Scopeであるレコードの"R Gain"および"B Gain"
に代入する。次いで、ステップS101にもどる。
In step S106, until input is made from the operation panel 207 or the keyboard 400 (S106:
Yes) Standby (S106: No). Then, the process proceeds to step S107. In step S107, step S10
6, the white balance value (correction value of red component and correction value of blue component) input from the operation panel 207 or the keyboard 400 is stored in the database "register no." = C.
"R Gain" and "B Gain" for records that are urrent_Scope
To. Then, the process returns to step S101.

【0041】以上のルーチンによって操作パネル207
またはキーボード400から入力された、絞りの開度や
ホワイトバランス値は変数Apertureおよびデータベース
に記録される。本ルーチンで設定された値は「画像処理
ルーチン」(後述)から参照され、「画像処理ルーチ
ン」はこの値をもとに絞り210の開度の変更やホワイ
トバランスの調整等を行う。
Through the above routine, the operation panel 207
Alternatively, the aperture opening and the white balance value input from the keyboard 400 are recorded in the variable Aperture and the database. The value set in this routine is referred to from the "image processing routine" (described later), and the "image processing routine" changes the aperture of the diaphragm 210 and adjusts the white balance based on this value.

【0042】図4は「時計処理ルーチン」のフローであ
る。本ルーチンが開始すると、最初にステップS201
が実行される。ステップS201では変数Current_Scope
の値が0であるかどうかの判断が行われる。Current_Sc
opeの値が0でなければ、ステップS202に進む。Curr
ent_Scopeの値が0ならば、ステップS201に戻る。
FIG. 4 is a flow chart of the "clock processing routine". When this routine starts, first, step S201.
Is executed. In step S201, the variable Current_Scope
A determination is made as to whether the value of is 0. Current_Sc
If the value of ope is not 0, the process proceeds to step S202. Curr
If the value of ent_Scope is 0, the process returns to step S201.

【0043】ステップS202では、データベースの"r
egister no."=Current_Scopeであるレコードの"used_da
te"とRTC209から得られる現在の日時および時刻
との比較が行われる。すなわち、現在の日時および時刻
が"used_date"より3分以上進んでいるならば(S20
2:Yes)ステップS203に進み、そうでなければ
(S202:No)ステップS201に戻る。
In step S202, "r" of the database
egister no. "=" used_da "of the record with Current_Scope
te "is compared with the current date and time and time obtained from the RTC 209. That is, if the current date and time is more than 3 minutes ahead of" used_date "(S20
2: Yes) The process proceeds to step S203, and if not (S202: No), the process returns to step S201.

【0044】ステップS203では、"register no."=Cu
rrent_Scopeであるレコードの"used_date"に現在の日時
が代入される。次いで、ステップS201に戻る。
In step S203, "register no." = Cu
The current date and time is assigned to "used_date" of the record that is rrent_Scope. Then, the process returns to step S201.

【0045】図5は「データベース処理ルーチン」のフ
ローである。本ルーチンが開始すると、最初にステップ
S301が実行される。ステップS301では電子内視
鏡100が内視鏡用プロセッサ200に装着されている
かどうかの判定が行われる。すなわち、電子内視鏡10
0が内視鏡用プロセッサ200に装着されていれば(S
301:Yes)ステップS302に進み、装着されて
いなければ(S301:No)ステップS301を引き
続き実行する。すなわち、本ルーチン開始時に内視鏡用
プロセッサ200に電子内視鏡100が接続されていな
ければ、電子内視鏡100が接続されるまで待機する。
FIG. 5 is a flow chart of the "database processing routine". When this routine starts, the first step
S301 is executed. In step S301, it is determined whether the electronic endoscope 100 is attached to the endoscope processor 200. That is, the electronic endoscope 10
If 0 is attached to the endoscope processor 200 (S
301: Yes) The process proceeds to step S302, and if not attached (S301: No), step S301 is continuously executed. That is, if the electronic endoscope 100 is not connected to the endoscope processor 200 at the start of this routine, the process waits until the electronic endoscope 100 is connected.

【0046】ステップS302では電子内視鏡100の
EEPROM102に記憶された内視鏡のデータ(電子
内視鏡の種類、シリアルナンバー、ホワイトバランス
値)がメモリ208に読み込まれる。次いでステップS
303に進む。
In step S302, the endoscope data (type of electronic endoscope, serial number, white balance value) stored in the EEPROM 102 of the electronic endoscope 100 is read into the memory 208. Then step S
Proceed to 303.

【0047】ステップS303ではステップS302で読
込まれたデータとデータベースとの比較が行われ、現在
装着されている電子内視鏡100がデータベースに登録
済みであるかどうかの判定が行われる。すなわち、ステ
ップS302で読込まれた電子内視鏡の種類およびシリ
アルナンバーを含むレコードがデータベース中に存在す
るかどうかの判定が行われる。ここで、電子内視鏡10
0がデータベースに未登録であれば(S303:No)
ステップS304に進む。一方、電子内視鏡100がデ
ータベースに登録済みであれば(S303:Yes)ス
テップS330に進む。
In step S303, the data read in step S302 is compared with the database, and it is determined whether or not the currently mounted electronic endoscope 100 has been registered in the database. That is, it is determined whether or not a record including the type and serial number of the electronic endoscope read in step S302 exists in the database. Here, the electronic endoscope 10
If 0 is not registered in the database (S303: No)
It proceeds to step S304. On the other hand, if the electronic endoscope 100 is already registered in the database (S303: Yes), the process proceeds to step S330.

【0048】ステップS304では、データベースに空
白("regiter no."以外のデータが記録されていない)
のレコードがあるかどうかの判定を行う。空白のレコー
ドが無ければ(S304:No)、ステップS305に
進む。一方、空白のレコードがあれば(S304:Ye
s)、ステップS320に進む。
In step S304, the database is blank (no data other than "regiter no." Is recorded).
It is determined whether there is a record of. If there is no blank record (S304: No), the process proceeds to step S305. On the other hand, if there is a blank record (S304: Yes
s), and proceeds to step S320.

【0049】ステップS305では最も"registered dat
e"の古いレコードの"register no."の値が変数Delete_n
oに代入される。次いでステップS306に進む。ステッ
プS306では、"register no."=Delete_noであるレコ
ードの、"register no."以外の値がクリアされる。次い
でステップS307に進む。
In step S305, the most "registered dat
The value of "register no." of the old record of e "is the variable Delete_n
assigned to o. Then, the process proceeds to step S306. In step S306, a value other than "register no." In the record in which "register no." = Delete_no is cleared. Then, the process proceeds to step S307.

【0050】ステップS307では変数Current_Scopeに
Delete_noの値が代入される。次いでステップS308
に進む。
In step S307, the variable Current_Scope is set to
The value of Delete_no is assigned. Then in step S308
Proceed to.

【0051】一方、ステップS320では変数Current_S
copeに空白のレコードの"registerno."の値が代入され
る。なお、空白のレコードが複数ある場合は、各空白レ
コードの"register no."のうち、最も値の小さいものが
Current_Scopeに代入される。次いでステップS308
に進む。
On the other hand, in step S320, the variable Current_S
The value of "register no." of a blank record is assigned to cope. If there are multiple blank records, the one with the smallest value among the "register no."
Substituted for Current_Scope. Then in step S308
Proceed to.

【0052】ステップS308では"register no."=Curr
ent_Scopeであるレコードの"scopename"、"serial n
o."、"white balance"に、ステップS302で読み出さ
れたEEPROM102に記憶された内視鏡のデータの
電子内視鏡の種類、シリアルナンバーおよびホワイトバ
ランス値のそれぞれが代入される。次いでステップS3
09に進む。
In step S308, "register no." = Curr
"scope name" for records that are ent_Scope, "serial n"
o. "and" white balance "are respectively substituted with the electronic endoscope type, serial number and white balance value of the endoscope data stored in the EEPROM 102 read in step S302. S3
Go to 09.

【0053】ステップS309では、"register no."=C
urrent_Scopeであるレコードの"registered date"に現
在の日時が記録される。なお、現在の日時はRTC20
9より得られる。次いでステップS310に進む。
In step S309, "register no." = C
The current date and time is recorded in the "registered date" of the record that is urrent_Scope. The current date and time is RTC20.
It is obtained from 9. Then, the process proceeds to step S310.

【0054】一方、ステップS330では、ステップS
302で得られた電子内視鏡の種類およびシリアルナン
バーが"scope name"および"serial no."とそれぞれ一致
するレコードの"register no."の値が、変数Current_Sc
opeに代入される。次いでステップS310に進む。
On the other hand, in step S330, step S
The value of "register no." Of the record in which the type and serial number of the electronic endoscope obtained in 302 match "scope name" and "serial no.", Respectively, is the variable Current_Sc.
assigned to ope. Then, the process proceeds to step S310.

【0055】ステップS310では"register no."=Cur
rent_Scopeであるレコードの"useddate"に現在の日時が
記録される。なお、現在の日時はRTC209より得ら
れる。次いでステップS311に進む。
In step S310, "register no." = Cur
The current date and time is recorded in the "used date" of the record that is rent_Scope. The current date and time is obtained from the RTC 209. Then, the process proceeds to step S311.

【0056】ステップS311では、"register no."=C
urrent_Scopeであるレコードの"counter"に1が加算さ
れる。次いでステップS312に進む。ステップS31
2では、電子内視鏡100が内視鏡用プロセッサ200
から取り外されるまで(S312:No)待機する(S
312:Yes)。次いでステップS313に進む。
In step S311, "register no." = C
1 is added to the "counter" of the record that is urrent_Scope. Then, the process proceeds to step S312. Step S31
2, the electronic endoscope 100 is the endoscope processor 200.
Wait until it is removed (S312: No) (S312)
312: Yes). Then, the process proceeds to step S313.

【0057】ステップS313ではCurrent_Scopeに0が
代入される。次いでステップS301に戻る。
In step S313, 0 is assigned to Current_Scope. Then, the process returns to step S301.

【0058】以上のような「データベース処理ルーチ
ン」によれば、データベースに未登録の電子内視鏡10
0が内視鏡用プロセッサ200に装着されかつデータベ
ースに空きレコードが存在しない場合は、最も登録日時
の古いレコードに上書きすることによって、この電子内
視鏡はデータベースに登録される。
According to the "database processing routine" as described above, the electronic endoscope 10 not registered in the database is used.
When 0 is attached to the endoscope processor 200 and there is no empty record in the database, the electronic endoscope is registered in the database by overwriting the record with the oldest registration date and time.

【0059】図6は「画像処理ルーチン」のフローであ
る。本ルーチンが開始すると、最初にステップS401
が実行される。ステップS401ではRTC209から
得られる現在の日時および時刻が変数Current_Timeに代
入される。次いでステップS402に進む。
FIG. 6 is a flow chart of the "image processing routine". When this routine starts, first step S401
Is executed. In step S401, the current date and time and time obtained from the RTC 209 are substituted into the variable Current_Time. Then, the process proceeds to step S402.

【0060】ステップS402においては、CPU20
1はCRTC206を制御してCurrent_Timeの値を例え
ば「2001年3月2日15時20分」のようなテキス
トの形式に変換して、モニタ300にスーパーインポー
ズする。次いでステップS403に進む。
In step S402, the CPU 20
1 controls the CRTC 206 to convert the value of Current_Time into a text format such as “15:20 on March 2, 2001” and superimposes it on the monitor 300. Then, the process proceeds to step S403.

【0061】ステップS403では、CPU201は絞
り制御回路211を制御して、絞り210の開度を「設
定変更ルーチン」で設定された変数Apartureに設定す
る。次いでステップS404に進む。
In step S403, the CPU 201 controls the aperture control circuit 211 to set the aperture of the aperture 210 to the variable Aparture set in the "setting change routine". Then, the process proceeds to step S404.

【0062】ステップS404では変数Current_Scope
が0であるかどうかの判断を行っている。Current_Scope
=0、すなわち内視鏡用プロセッサ200に電子内視鏡が
装着されていないのであれば(S404:Yes)、ス
テップS407に進む。一方、Current_Scope=0でなけ
れば(S404:No)、ステップS405に進む。
In step S404, the variable Current_Scope
Judges whether or not is 0. Current_Scope
= 0, that is, when the electronic endoscope is not attached to the endoscope processor 200 (S404: Yes), the process proceeds to step S407. On the other hand, if Current_Scope = 0 is not satisfied (S404: No), the process proceeds to step S405.

【0063】ステップS405ではCPU201はCR
TC206を制御して、"registerno."=Current_Scope
であるレコードの"scope name"をモニタ300にスーパ
ーインポーズする。次いでステップS406に進む。
In step S405, the CPU 201 sets CR.
Control TC206, "register no." = Current_Scope
The "scope name" of the record is superimposed on the monitor 300. Then, the process proceeds to step S406.

【0064】ステップS406では、CPU201は後
段信号処理回路205を制御して、ホワイトバランスの
調整を行う。ここで、ホワイトバランスの補正値は"reg
ister no."=Current_Scopeであるレコードの"white bal
ance"の値である。次いでステップS407に進む。
In step S406, the CPU 201 controls the post-stage signal processing circuit 205 to adjust the white balance. Here, the white balance correction value is "reg
ister no. "=" white bal "of the record with Current_Scope
value of “ance”. Then, the process proceeds to step S407.

【0065】ステップS407では変数Current_Timeと
RTC209から得られる現在の日時および時刻との比
較が行われる。すなわち、現在の日時および時刻がCurr
ent_Timeよりも一秒以上進んでいれば、ステップS40
1に戻る。一方、現在の日時および時刻とCurrent_Time
との差が一秒未満であればステップS403に戻る。従
って、現在の日時および時刻がCurrent_Timeよりも一秒
以上進んでいればCurrent_Timeを更新した上でモニタ上
に表示される時刻が再表示される。
In step S407, the variable Current_Time is compared with the current date and time obtained from the RTC 209. That is, the current date and time is Curr
If it is more than 1 second ahead of ent_Time, step S40
Return to 1. On the other hand, the current date and time and the Current_Time
If it is less than 1 second, the process returns to step S403. Therefore, if the current date and time and time are ahead of Current_Time by one second or more, Current_Time is updated and the time displayed on the monitor is displayed again.

【0066】なお、本実施形態においては、データベー
スに空白("regiter no."以外のデータが記録されてい
ない)のレコードが無いとき(すなわち既に39種類の
電子内視鏡が登録されているとき)に、新たに電子内視
鏡を登録する場合、その電子内視鏡の登録データを最
も"registered date"の古いレコードに上書きする構成
としているが、本発明はこの構成に限定されるものでは
ない。例えば、新たに電子内視鏡を登録する場合、その
電子内視鏡の登録データを最も"used date"の古いレコ
ードに上書きする構成としてもよい。このような構成と
することにより、新たに電子内視鏡を登録する場合、そ
の電子内視鏡の登録データは最も長い期間利用されてい
ない電子内視鏡の登録データと差し替えられる。
In this embodiment, when there is no blank record (data other than "regiter no." Is not recorded) in the database (that is, when 39 types of electronic endoscopes are already registered). ), When newly registering an electronic endoscope, the registration data of the electronic endoscope is overwritten on the oldest record of the "registered date", but the present invention is not limited to this configuration. Absent. For example, when a new electronic endoscope is registered, the registration data of the electronic endoscope may be overwritten on the oldest record of “used date”. With this configuration, when a new electronic endoscope is registered, the registration data of the electronic endoscope is replaced with the registration data of the electronic endoscope that has not been used for the longest period.

【0067】また、本実施形態においては、データベー
スに空白("regiter no."以外のデータが記録されてい
ない)のレコードが無いとき(すなわち既に39種類の
電子内視鏡が登録されているとき)に、新たに電子内視
鏡を登録する場合、最も"registered date"の古いレコ
ードの内容を一旦消去して、データが消去されたレコー
ドに新しい電子内視鏡の登録データを記録する構成とし
ているが、本発明はこの構成に限定されるものではな
い。すなわち、最も"registered date"の古いレコード
の内容を消去せず、そのレコードにそのまま新しい電子
内視鏡の登録データを上書きする構成としてもよい。上
記のような手順で電子内視鏡の登録を行う電子内視鏡シ
ステムである本発明の第2の実施の形態を以下に説明す
る。なお、本実施形態は「データベース処理ルーチン」
以外の構成は本発明の第1の実施の形態と同様であるた
め、「データベース処理ルーチン」以外の説明は省略す
る。
Further, in the present embodiment, when there is no blank record (data other than "regiter no." Is not recorded) in the database (that is, when 39 types of electronic endoscopes are already registered). ), When registering a new electronic endoscope, the contents of the oldest record with the "registered date" are deleted once, and the registration data of the new electronic endoscope is recorded in the record where the data has been deleted. However, the present invention is not limited to this configuration. In other words, the oldest record of the "registered date" may not be erased, but the record may be overwritten with the registration data of the new electronic endoscope. A second embodiment of the present invention, which is an electronic endoscope system for registering an electronic endoscope in the above procedure, will be described below. In addition, this embodiment is a “database processing routine”.
Since the configuration other than that is the same as that of the first embodiment of the present invention, description other than the "database processing routine" is omitted.

【0068】図7は本実施形態の電子内視鏡システムの
「データベース処理ルーチン」のフローである。本ルー
チンが開始すると、最初にステップS301が実行され
る。ステップS301では電子内視鏡100が内視鏡用
プロセッサ200に装着されているかどうかの判定が行
われる。すなわち、電子内視鏡100が内視鏡用プロセ
ッサ200に装着されていれば(S301:Yes)ス
テップS302に進み、装着されていなければ(S30
1:No)ステップS301を引き続き実行する。すな
わち、本ルーチン開始時に内視鏡用プロセッサ200に
電子内視鏡100が接続されていなければ、電子内視鏡
100が接続されるまで待機する。
FIG. 7 is a flow chart of the "database processing routine" of the electronic endoscope system of this embodiment. When this routine starts, step S301 is first executed. In step S301, it is determined whether the electronic endoscope 100 is attached to the endoscope processor 200. That is, if the electronic endoscope 100 is attached to the endoscope processor 200 (S301: Yes), the process proceeds to step S302, and if not attached (S30).
1: No) Step S301 is continuously executed. That is, if the electronic endoscope 100 is not connected to the endoscope processor 200 at the start of this routine, the process waits until the electronic endoscope 100 is connected.

【0069】ステップS302では電子内視鏡100の
EEPROM102に記憶された内視鏡のデータ(電子
内視鏡の種類、シリアルナンバー、ホワイトバランス
値)がメモリ208に読み込まれる。次いでステップS
303に進む。
In step S 302, the endoscope data (type of electronic endoscope, serial number, white balance value) stored in the EEPROM 102 of the electronic endoscope 100 is read into the memory 208. Then step S
Proceed to 303.

【0070】ステップS303ではステップS302で読
込まれたデータとデータベースとの比較が行われ、現在
装着されている電子内視鏡100がデータベースに登録
済みであるかどうかの判定が行われる。すなわち、ステ
ップS302で読込まれた電子内視鏡の種類およびシリ
アルナンバーを含むレコードがデータベース中に存在す
るかどうかの判定が行われる。ここで、電子内視鏡10
0がデータベースに未登録であれば(S303:No)
ステップS304に進む。一方、電子内視鏡100がデ
ータベースに登録済みであれば(S303:Yes)ス
テップS330に進む。
In step S303, the data read in step S302 is compared with the database, and it is determined whether or not the currently mounted electronic endoscope 100 has been registered in the database. That is, it is determined whether or not a record including the type and serial number of the electronic endoscope read in step S302 exists in the database. Here, the electronic endoscope 10
If 0 is not registered in the database (S303: No)
It proceeds to step S304. On the other hand, if the electronic endoscope 100 is already registered in the database (S303: Yes), the process proceeds to step S330.

【0071】ステップS304では、データベースに空
白("regiter no."以外のデータが記録されていない)
のレコードがあるかどうかの判定を行う。空白のレコー
ドが無ければ(S304:No)、ステップS3050
に進む。一方、空白のレコードがあれば(S304:Y
es)、ステップS320に進む。
In step S304, the database is blank (data other than "regiter no." Is not recorded).
It is determined whether there is a record of. If there is no blank record (S304: No), step S3050
Proceed to. On the other hand, if there is a blank record (S304: Y
es), and proceeds to step S320.

【0072】ステップS3050では最も"registered d
ate"の古いレコードの"register no."の値が変数Curren
t_Scopeに代入される。次いでステップS308に進む。
In step S3050, the most "registered d
The value of "register no." of the old record of "ate" is the variable Curren
It is assigned to t_Scope. Then, the process proceeds to step S308.

【0073】一方、ステップS320では変数Current_S
copeに空白のレコードの"registerno."の値が代入され
る。なお、空白のレコードが複数ある場合は、各空白レ
コードの"register no."のうち、最も値の小さいものが
Current_Scopeに代入される。次いでステップS308
に進む。
On the other hand, in step S320, the variable Current_S
The value of "register no." of a blank record is assigned to cope. If there are multiple blank records, the one with the smallest value among the "register no."
Substituted for Current_Scope. Then in step S308
Proceed to.

【0074】ステップS308では"register no."=Curr
ent_Scopeであるレコードの"scopename"、"serial n
o."、"white balance"に、ステップS302で読み出さ
れたEEPROM102に記憶された内視鏡のデータの
電子内視鏡の種類、シリアルナンバーおよびホワイトバ
ランス値のそれぞれが代入される。次いでステップS3
09に進む。
In step S308, "register no." = Curr
"scope name" for records that are ent_Scope, "serial n"
o. "and" white balance "are respectively substituted with the electronic endoscope type, serial number and white balance value of the endoscope data stored in the EEPROM 102 read in step S302. S3
Go to 09.

【0075】ステップS309では、"register no."=C
urrent_Scopeであるレコードの"registered date"に現
在の日時が記録される。なお、現在の日時はRTC20
9より得られる。次いでステップS310に進む。
In step S309, "register no." = C
The current date and time is recorded in the "registered date" of the record that is urrent_Scope. The current date and time is RTC20.
It is obtained from 9. Then, the process proceeds to step S310.

【0076】一方、ステップS330では、ステップS
302で得られた電子内視鏡の種類およびシリアルナン
バーが"scope name"および"serial no."とそれぞれ一致
するレコードの"register no."の値が、変数Current_Sc
opeに代入される。次いでステップS310に進む。
On the other hand, in step S330, step S
The value of "register no." Of the record in which the type and serial number of the electronic endoscope obtained in 302 match "scope name" and "serial no.", Respectively, is the variable Current_Sc.
assigned to ope. Then, the process proceeds to step S310.

【0077】ステップS310では"register no."=Cur
rent_Scopeであるレコードの"useddate"に現在の日時が
記録される。なお、現在の日時はRTC209より得ら
れる。次いでステップS311に進む。
In step S310, "register no." = Cur
The current date and time is recorded in the "used date" of the record that is rent_Scope. The current date and time is obtained from the RTC 209. Then, the process proceeds to step S311.

【0078】ステップS311では、"register no."=C
urrent_Scopeであるレコードの"counter"に1が加算さ
れる。次いでステップS312に進む。ステップS31
2では、電子内視鏡100が内視鏡用プロセッサ200
から取り外されるまで(S312:No)待機する(S
312:Yes)。次いでステップS313に進む。
In step S311, "register no." = C
1 is added to the "counter" of the record that is urrent_Scope. Then, the process proceeds to step S312. Step S31
2, the electronic endoscope 100 is the endoscope processor 200.
Wait until it is removed (S312: No) (S312)
312: Yes). Then, the process proceeds to step S313.

【0079】ステップS313ではCurrent_Scopeに0が
代入される。次いでステップS301に戻る。
In step S313, 0 is assigned to Current_Scope. Then, the process returns to step S301.

【0080】以上のように本実施形態においても、本発
明の第1の実施の形態と同様、データベースに未登録の
電子内視鏡100が内視鏡用プロセッサ200に装着さ
れかつデータベースに空きレコードが存在しない場合
は、最も登録日時の古いレコードに上書きすることによ
って、この電子内視鏡はデータベースに登録される。
As described above, also in the present embodiment, as in the first embodiment of the present invention, the electronic endoscope 100 not registered in the database is attached to the endoscope processor 200 and the empty record is stored in the database. If does not exist, this electronic endoscope is registered in the database by overwriting the record with the oldest registration date and time.

【0081】なお、本実施形態においては、データベー
スに空白("regiter no."以外のデータが記録されてい
ない)のレコードが無いとき(すなわち既に39種類の
電子内視鏡が登録されているとき)に、新たに電子内視
鏡を登録する場合、その電子内視鏡の登録データを最
も"registered date"の古いレコードに上書きする構成
としているが、本発明はこの構成に限定されるものでは
ない。例えば、新たに電子内視鏡を登録する場合、その
電子内視鏡の登録データを最も"used date"の古いレコ
ードに上書きする構成としてもよい。このような構成と
することにより、新たに電子内視鏡を登録する場合、そ
の電子内視鏡の登録データは最も長い期間利用されてい
ない電子内視鏡の登録データと差し替えられる。
In this embodiment, when there is no blank record (data other than "regiter no." Is not recorded) in the database (that is, when 39 kinds of electronic endoscopes are already registered). ), When newly registering an electronic endoscope, the registration data of the electronic endoscope is overwritten on the oldest record of the "registered date", but the present invention is not limited to this configuration. Absent. For example, when a new electronic endoscope is registered, the registration data of the electronic endoscope may be overwritten on the oldest record of “used date”. With this configuration, when a new electronic endoscope is registered, the registration data of the electronic endoscope is replaced with the registration data of the electronic endoscope that has not been used for the longest period.

【0082】[0082]

【発明の効果】以上のように、本発明の電子内視鏡の管
理方法および電子内視鏡システムによれば、内視鏡用プ
ロセッサに電子内視鏡を登録する作業をより平易かつ迅
速に実施可能な電子内視鏡システムが実現できる。
As described above, according to the electronic endoscope management method and the electronic endoscope system of the present invention, the work of registering the electronic endoscope in the endoscope processor can be performed more easily and quickly. A feasible electronic endoscope system can be realized.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施の形態による電子内視鏡シ
ステムの全体図を模式的に示したブロック図である。
FIG. 1 is a block diagram schematically showing an overall view of an electronic endoscope system according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態におけるデータベー
スの一例である。
FIG. 2 is an example of a database according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態における「設定変更
ルーチン」のフローである。
FIG. 3 is a flow chart of a “setting change routine” according to the first embodiment of this invention.

【図4】本発明の第1の実施の形態における「時計処理
ルーチン」のフローである。
FIG. 4 is a flow of a “clock processing routine” according to the first embodiment of this invention.

【図5】本発明の第1の実施の形態における「データベ
ース処理ルーチン」のフローである。
FIG. 5 is a flow chart of a “database processing routine” according to the first embodiment of this invention.

【図6】本発明の第1の実施の形態における「画像処理
ルーチン」のフローである。
FIG. 6 is a flow of an “image processing routine” according to the first embodiment of the present invention.

【図7】本発明の第2の実施の形態における「データベ
ース処理ルーチン」のフローである。
FIG. 7 is a flow chart of a “database processing routine” according to the second embodiment of this invention.

【符号の説明】[Explanation of symbols]

1 電子内視鏡システム 100 電子内視鏡 101 対物光学系 102 EEPROM 103 ライトガイド 104 CCD 200 内視鏡用プロセッサ 201 CPU 203 光源 204 前段信号処理回路 205 後段信号処理回路 206 CRTC 207 操作パネル 208 メモリ 209 RTC 210 絞り 211 絞り制御回路 212 入力機器インターフェース 300 モニタ 400 キーボード 1 Electronic endoscope system 100 electronic endoscope 101 Objective Optical System 102 EEPROM 103 Light guide 104 CCD 200 Endoscope processor 201 CPU 203 light source 204 Pre-stage signal processing circuit 205 Rear signal processing circuit 206 CRTC 207 Operation panel 208 memory 209 RTC 210 aperture 211 Aperture control circuit 212 Input device interface 300 monitors 400 keyboard

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 電子内視鏡の特性値や管理情報等のデー
タを電子内視鏡毎に記録した電子内視鏡用データベース
に電子内視鏡を新規登録する、電子内視鏡用データベー
スの電子内視鏡登録方法であって、 前記データベースに登録された電子内視鏡の数が所定数
に達しているかどうかを判断する、計数ステップと、 前記データベースに登録された電子内視鏡の数が所定数
に達していたときは、前記データベースに登録済みの電
子内視鏡のうち、所定の電子内視鏡に関するデータを登
録抹消する、登録抹消ステップと、 新規登録する電子内視鏡のデータを前記データベースに
記録する、記録ステップとを有し、 前記データベースに登録された電子内視鏡の数が所定数
に達していたときは、記録ステップは、登録抹消ステッ
プにて登録抹消されたデータベース上の記憶領域に新規
登録する電子内視鏡のデータを記録することを特徴とす
る、電子内視鏡用データベースの電子内視鏡登録方法。
1. A database for an electronic endoscope for newly registering an electronic endoscope in a database for an electronic endoscope in which data such as characteristic values and management information of the electronic endoscope are recorded for each electronic endoscope. An electronic endoscope registration method, determining whether the number of electronic endoscopes registered in the database has reached a predetermined number, a counting step, the number of electronic endoscopes registered in the database When the number has reached a predetermined number, among the electronic endoscopes registered in the database, deregistration of data relating to a predetermined electronic endoscope, deregistration step, and data of newly registered electronic endoscope Is recorded in the database, a recording step is performed, and when the number of electronic endoscopes registered in the database has reached a predetermined number, the recording step is deregistered in the deregistration step. Wherein the recording data of the electronic endoscope to be newly registered in the storage area of the database, an electronic endoscope register a database for the electronic endoscope.
【請求項2】 前記所定の電子内視鏡に関するデータ
は、前記データベースに登録済みの電子内視鏡のうち、
最初に登録された電子内視鏡に関するデータであること
を特徴とする、請求項1に記載の電子内視鏡用データベ
ースの電子内視鏡登録方法。
2. The data relating to the predetermined electronic endoscope, among the electronic endoscopes registered in the database,
The electronic endoscope registration method of the database for electronic endoscopes according to claim 1, wherein the data is data relating to the electronic endoscope registered first.
【請求項3】 前記所定の電子内視鏡に関するデータ
は、前記データベースに登録済みの電子内視鏡のうち、
最後に使用された日時が最も古い電子内視鏡に関するデ
ータであることを特徴とする、請求項1に記載の電子内
視鏡用データベースの電子内視鏡登録方法。
3. The data relating to the predetermined electronic endoscope, among the electronic endoscopes registered in the database,
2. The electronic endoscope registration method of the database for electronic endoscopes according to claim 1, wherein the date and time of the last use is data relating to the oldest electronic endoscope.
【請求項4】 少なくとも請求項1から請求項3のいず
れかの方法を、CPUが処理可能なプログラムとして格
納した記録媒体。
4. A recording medium storing at least the method according to claim 1 as a program that can be processed by a CPU.
【請求項5】 電子内視鏡の特性値や管理情報等のデー
タを電子内視鏡毎に記録した電子内視鏡用データベース
を管理する、電子内視鏡用データベースシステムであっ
て、 データベースが記憶されるメモリ手段と、 前記データベースに登録された電子内視鏡の数が所定数
に達しているかどうかを判断する、計数手段と、 前記データベースに登録された電子内視鏡の数が所定数
に達していたときは、前記データベースに登録済みの電
子内視鏡のうち、所定の電子内視鏡に関するデータを登
録抹消する、登録抹消手段と、 新規登録する電子内視鏡のデータを前記データベースに
記録する、記録手段とを有する電子内視鏡用データベー
スシステムであって、 前記データベースに登録された電子内視鏡の数が所定数
に達していたときは、記録手段は、前記登録抹消手段に
て登録抹消されたデータベース上の記憶領域に新規登録
する電子内視鏡のデータを記録することを特徴とする、
電子内視鏡用データベースシステム。
5. A database system for an electronic endoscope for managing a database for the electronic endoscope in which data such as characteristic values and management information of the electronic endoscope are recorded for each electronic endoscope, wherein the database is Memory means to be stored, determining means for determining whether the number of electronic endoscopes registered in the database has reached a predetermined number, counting means, the number of electronic endoscopes registered in the database is a predetermined number When it has reached, the data of the electronic endoscope to be newly registered and the registration deletion means for deregistering the data relating to a predetermined electronic endoscope among the electronic endoscopes registered in the database are stored in the database. In the database system for an electronic endoscope having a recording means for recording in, the recording means, when the number of electronic endoscopes registered in the database has reached a predetermined number, Wherein the recording data of the electronic endoscope to be newly registered in the storage area in the database that has been deregistered by the deregistration means,
Database system for electronic endoscope.
【請求項6】 前記データベースシステムが、現在の日
時を計測するタイマ手段を有し、 前記記録手段は、電子内視鏡を新規登録したときの日時
を前記データベースに電子内視鏡毎に記録し、 前記所定の電子内視鏡に関するデータは、前記データベ
ースに登録済みの電子内視鏡のうち、前記電子内視鏡を
新規登録したときの日時がもっとも古い電子内視鏡に関
するデータであることを特徴とする、請求項5に記載の
電子内視鏡用データベースシステム。
6. The database system includes timer means for measuring the current date and time, and the recording means records the date and time when the electronic endoscope is newly registered in the database for each electronic endoscope. The data relating to the predetermined electronic endoscope is data relating to the electronic endoscope having the oldest date and time when the electronic endoscope is newly registered among the electronic endoscopes registered in the database. The database system for electronic endoscopes according to claim 5, which is characterized in that:
【請求項7】 前記データベースシステムが、現在の日
時を計測するタイマ手段と、電子内視鏡が最後に使用さ
れた日時を電子内視鏡ごとに前記データベースに記録す
る更新手段とを有し、 前記所定の電子内視鏡に関するデータは、前記データベ
ースに登録済みの電子内視鏡のうち、前記電子内視鏡が
最後に使用された日時が最も古い電子内視鏡に関するデ
ータであることを特徴とする、請求項5に記載の電子内
視鏡用データベースシステム。
7. The database system includes timer means for measuring the current date and time, and updating means for recording the date and time when the electronic endoscope was last used in the database for each electronic endoscope. The data relating to the predetermined electronic endoscope is data relating to an electronic endoscope registered in the database and having the earliest date and time when the electronic endoscope was last used. The database system for an electronic endoscope according to claim 5.
【請求項8】 前記電子内視鏡用データベースシステム
は、電子内視鏡が内視鏡用プロセッサに接続されている
かどうかを判別する、内視鏡挿抜検知手段を有し、 前記更新手段は、電子内視鏡が内視鏡用プロセッサに接
続され続けたときに、そのときの時刻を前記電子内視鏡
が最後に使用された日時として前記データベースに記録
することを特徴とする、請求項7に記載の電子内視鏡用
データベースシステム。
8. The electronic endoscope database system includes endoscope insertion / extraction detection means for determining whether or not the electronic endoscope is connected to the endoscope processor, and the updating means includes: 8. When the electronic endoscope is continuously connected to the endoscope processor, the time at that time is recorded in the database as the date and time when the electronic endoscope was last used. The database system for an electronic endoscope described in.
【請求項9】 前記電子内視鏡用データベースシステム
が、内視鏡用プロセッサに内蔵されることを特徴とす
る、請求項5から請求項8のいずれかに記載の電子内視
鏡用データベースシステム。
9. The database system for an electronic endoscope according to claim 5, wherein the database system for an electronic endoscope is built in a processor for an endoscope. .
JP2002182253A 2001-06-29 2002-06-21 Electronic endoscope register method for database for electronic endoscope, and database system for electronic endoscope Withdrawn JP2003111723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002182253A JP2003111723A (en) 2001-06-29 2002-06-21 Electronic endoscope register method for database for electronic endoscope, and database system for electronic endoscope

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001200209 2001-06-29
JP2001-200209 2001-06-29
JP2002182253A JP2003111723A (en) 2001-06-29 2002-06-21 Electronic endoscope register method for database for electronic endoscope, and database system for electronic endoscope

Publications (2)

Publication Number Publication Date
JP2003111723A true JP2003111723A (en) 2003-04-15
JP2003111723A5 JP2003111723A5 (en) 2005-09-22

Family

ID=26617954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002182253A Withdrawn JP2003111723A (en) 2001-06-29 2002-06-21 Electronic endoscope register method for database for electronic endoscope, and database system for electronic endoscope

Country Status (1)

Country Link
JP (1) JP2003111723A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005118074A (en) * 2003-10-14 2005-05-12 Olympus Corp Method and device for controlling inspection device
JP2012070935A (en) * 2010-09-28 2012-04-12 Fujifilm Corp Endoscopic image display apparatus
WO2017188386A1 (en) * 2016-04-27 2017-11-02 Hoya株式会社 Endoscope management system, endoscope device, management device for managing endoscope device, and method for managing endoscope device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005118074A (en) * 2003-10-14 2005-05-12 Olympus Corp Method and device for controlling inspection device
JP2012070935A (en) * 2010-09-28 2012-04-12 Fujifilm Corp Endoscopic image display apparatus
WO2017188386A1 (en) * 2016-04-27 2017-11-02 Hoya株式会社 Endoscope management system, endoscope device, management device for managing endoscope device, and method for managing endoscope device
JPWO2017188386A1 (en) * 2016-04-27 2018-05-10 Hoya株式会社 Endoscope management system, endoscope apparatus, management apparatus for managing endoscope apparatus, and management method for endoscope apparatus

Similar Documents

Publication Publication Date Title
US7033316B2 (en) Endoscope system
JP4504339B2 (en) Endoscope device
JP3732865B2 (en) Endoscope device
US8264571B2 (en) Image capture device and image processing device
JP4125309B2 (en) Imaging device
US20030063188A1 (en) Method and apparatus for selective registration of endoscopes with database
US20030004398A1 (en) Endoscope system
JP2002345726A (en) Electronic endoscopic system and its utilization recording method for electronic endoscopic system
US20010002842A1 (en) Electronic endoscope system
JPH07171089A (en) Endoscope device
JP5751869B2 (en) Electronic endoscope apparatus, processor for electronic endoscope, and electronic endoscope system
US20210219817A1 (en) Measurement apparatus, measurement method, and recording medium
JP2003111723A (en) Electronic endoscope register method for database for electronic endoscope, and database system for electronic endoscope
JP2003265410A (en) Endoscope apparatus
JP4206247B2 (en) Electronic endoscope registration method and electronic endoscope system for database for electronic endoscope
JP4495374B2 (en) Electronic endoscope registration method for electronic endoscope database system, database system management means for electronic endoscope, electronic endoscope system, and storage medium
JP2010286765A (en) Endoscopic device and program
JP4321843B2 (en) Electronic endoscope and electronic endoscope system
JP2003070732A (en) Method to register electronic endoscope in electronic endoscope database and electronic endoscope system
JP3923601B2 (en) Endoscope system
JP2003070720A (en) Measurement software
US7283160B2 (en) Electronic device, control method therefor and storage medium
JP2003319905A (en) Electronic endoscope apparatus including video processor
JP3727990B2 (en) Imaging device
JP2002306407A (en) Image recorder for electronic endoscope

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050407

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050407

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070925

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080430

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080520

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20080702