JPH10320508A - Card reader - Google Patents
Card readerInfo
- Publication number
- JPH10320508A JPH10320508A JP9131395A JP13139597A JPH10320508A JP H10320508 A JPH10320508 A JP H10320508A JP 9131395 A JP9131395 A JP 9131395A JP 13139597 A JP13139597 A JP 13139597A JP H10320508 A JPH10320508 A JP H10320508A
- Authority
- JP
- Japan
- Prior art keywords
- data
- program
- card reader
- card
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明はカード上に記録され
たデータを読み取るカードリーダに関する。[0001] 1. Field of the Invention [0002] The present invention relates to a card reader for reading data recorded on a card.
【0002】[0002]
【従来の技術】近年、体腔内に細長の挿入部を挿入する
ことにより、体腔内臓器を観察したり、処置具チャンネ
ル内に挿通した処置具を用いて各種治療処置のできる内
視鏡(スコープとも呼ぶ)が広く用いられている。ま
た、固体撮像素子を撮像手段に用いた電子スコープも種
々使用されており、この電子スコープによると、画像の
拡大やエンハンス等の画像処理を容易に行うことができ
る。2. Description of the Related Art In recent years, an endoscope (scope) capable of observing internal organs of a body cavity by inserting an elongated insertion portion into the body cavity or performing various treatments using a treatment tool inserted into a treatment tool channel. Is also widely used. Various electronic scopes using a solid-state imaging device as an imaging unit are also used. According to this electronic scope, image processing such as enlargement of an image and enhancement can be easily performed.
【0003】また、VTR、静止画記録装置等への電気
的画像記録も容易に行うことができる。静止画記録装置
としては、内視鏡画像ファイリングシステムが知られて
おり、電子スコープあるいはファイバースコープにTV
カメラ組み合わせたシステムの出力画像を、スコープか
らのリモート操作により静止画像として記録装置に記録
することができる。[0003] Further, electrical image recording on a VTR, a still image recording device, or the like can be easily performed. As a still image recording device, an endoscope image filing system is known.
An output image of the system combined with the camera can be recorded on the recording device as a still image by remote operation from a scope.
【0004】また、この画像記録の際に内視鏡検査を受
ける患者の氏名、生年月日、IDコード、検査日などの
データを、記録された画像と関連づけてデータベース管
理ができ、検査後に患者IDまたは検査日といった条件
によりデータを検索し、検索されたデータとそのデータ
に関連する画像を容易に特定し表示することができるの
で、内視鏡検査の記録や画像の管理が簡単化し利便性が
大幅に向上するものである。[0004] In addition, data such as the name, date of birth, ID code, and examination date of a patient who undergoes an endoscopy at the time of this image recording can be managed in a database by associating the data with the recorded image. Data can be searched according to conditions such as IDs or examination dates, and the searched data and images related to the data can be easily specified and displayed. Is greatly improved.
【0005】通常、内視鏡検査を開始するにあたって
は、患者のID、氏名、生年月日、その他のデータを入
力する必要があり、操作者がキーボードにより入力を行
っている。なお、キーボードで入力するかわりにデータ
を記録したカードとカードリーダを利用することにより
前述のデータの入力を行ってもよく、この場合は、入力
手間の削減、入力ミスの防止ができる。よって、データ
入力の際には、カードリーダも広く利用されるところと
なっている。Normally, when starting an endoscopy, it is necessary to input the patient's ID, name, date of birth, and other data, and the operator performs input using a keyboard. Note that the above-described data may be input by using a card on which data is recorded and a card reader instead of using the keyboard. In this case, it is possible to reduce input time and prevent input errors. Therefore, at the time of data input, a card reader is widely used.
【0006】[0006]
【発明が解決しようとする課題】内視鏡画像ファイリン
グシステムは電子スコープや、ファイバースコープにT
Vカメラ組み合わせたシステムの出力画像を記録するも
のであり、種々あるスコープとの接続が考えられる。そ
のために用意される画像のプロセス装置等も様々なもの
があり、その仕様は各々異なる。An endoscope image filing system is an electronic scope or a fiberscope.
It records an output image of a system combined with a V camera, and can be connected to various scopes. There are various types of image processing devices and the like prepared for that purpose, and their specifications are different.
【0007】患者データの入力にあたっては、カードリ
ーダが広く利用されるところであるが、カードリーダを
接続する側の仕様は前述したように種々異なる。例え
ば、電子スコープは画像ファイリングシステムの1ユニ
ットとして稼動可能なだけでなく、通常はそれ単体でも
使用可能な装置であり(観察や処置のみで画像記録はし
ない)、カードリーダとの接続の概念のないものも存在
し得る。カードリーダの接続に関しては、接続しようと
する装置の仕様にあわせて個々に設計、または改造が必
要となる場合が多い。For inputting patient data, a card reader is widely used, but the specifications of the side connected to the card reader are variously different as described above. For example, an electronic scope is a device that can operate not only as a unit of an image filing system but also can be used as a single unit (observation and treatment alone, but not image recording). Some may not exist. Regarding the connection of the card reader, it is often necessary to individually design or modify it according to the specifications of the device to be connected.
【0008】また、内視鏡検査の際、患者のデータはカ
ードリーダによって入力が行われることが多い。しか
し、同じカードリーダを使用する施設であっても、施設
毎に必要とするデータの種類や形式が異なる。[0008] In addition, during endoscopic examination, data of a patient is often input by a card reader. However, even in a facility that uses the same card reader, the type and format of required data differs for each facility.
【0009】例えば、患者のIDのみが入力できればよ
いという施設もあるであろうし、患者の氏名、生年月
日、性別、備考コメント等、数多くのデータをカードリ
ーダを利用して入力したいというユーザもいるであろ
う。このように、カードリーダは、使用される施設やユ
ーザ毎の要望に合わせて、データの取扱いを設定しなけ
ればならず、個々に設計、プログラムを行う必要があっ
た。For example, there may be facilities where only the patient's ID needs to be input, and some users who want to use a card reader to input a lot of data such as the patient's name, date of birth, gender, and remarks. Will be. As described above, the card reader has to set data handling in accordance with the facility used and the needs of each user, and has to individually design and program.
【0010】この個々に設計、プログラムを行う必要が
ある理由を図21を使用し、磁気カードの例で説明す
る。The reason why it is necessary to individually design and program each will be described using an example of a magnetic card with reference to FIG.
【0011】図21に示す磁気カード91の片面上には
磁気テープ部分92が設けられている。ここでの説明に
例示しているのは、JIS II型の磁気カードであり、
この磁気テープ部分92上には、データを69文字まで
記録可能である。69文字以内であれば、文字や数字を
どのような順序でどのような長さ分で記録するかは自由
である。A magnetic tape portion 92 is provided on one side of a magnetic card 91 shown in FIG. The example described here is a JIS II type magnetic card,
Data can be recorded up to 69 characters on the magnetic tape portion 92. As long as it is 69 characters or less, it is possible to freely record letters and numbers in any order and for any length.
【0012】このため、磁気カード上に記録されるデー
タは、磁気カードを使用する施設によって様々な様式が
存在する。図22は磁気テープ部分92上に記録されて
いるデータの状態を例示した図であり、図22(A),
(B),(C)は例えば施設A,B,Cで磁気テープ9
2上に記録されているデータを示す。Therefore, data recorded on the magnetic card has various formats depending on facilities using the magnetic card. FIG. 22 is a view showing an example of the state of data recorded on the magnetic tape portion 92.
(B) and (C) show magnetic tapes 9 at facilities A, B and C, for example.
2 shows the data recorded on FIG.
【0013】前述したように、磁気テープ92上には自
由にデータを記録することができ、同じ患者であって
も、図22(A),(B),(C)に示すように施設
A,B,Cが異なると、全く異なった内容でデータを記
録される場合が多い。As described above, data can be freely recorded on the magnetic tape 92, and even if the same patient, the facility A is used as shown in FIGS. 22 (A), (B) and (C). , B, and C, data is often recorded with completely different contents.
【0014】施設AとBとでは、データの記録位置やカ
ナ/ローマ字の差異があるし、施設Cでは、患者のID
番号のみしか記録されていない。The facilities A and B have different data recording positions and kana / roman characters, and the facility C has a patient ID.
Only numbers are recorded.
【0015】このように、自由に記録が行える磁気カー
ド91の記録様式は無限に近い数が存在すると言える
が、この無限数に近い様式が存在する記録データを正確
に読み取るためには、次のデータ様式が事前に読み取り
側の装置、すなわちカードリーダにて把握されている必
要がある。As described above, it can be said that there are nearly infinite numbers of recording modes of the magnetic card 91 on which recording can be freely performed. The data format must be known in advance by the reading device, that is, the card reader.
【0016】a.ID、名前、生年月日、性別等、各々
のデータの有無 b.各々のデータの開始位置 c.各々のデータの長さ d.各々のデータの変換タイプ(無変換/カナ、西暦/
和暦,M/F,0/1等 e.スペースの挿入、削除の有無 f.ハイフンの挿入、削除の有無 そのために、装置内のROMに格納されている動作プロ
グラムの書き換えが行われている。すなわち、使用施設
毎に異なるプログラムとなっている。A. Existence of each data such as ID, name, date of birth, gender, etc. b. Start position of each data c. Length of each data d. Conversion type of each data (No conversion / Kana, Year /
Japanese calendar, M / F, 0/1, etc. e. Whether a space is inserted or deleted f. Whether or not hyphens are inserted or deleted For that purpose, the operation program stored in the ROM in the apparatus is rewritten. In other words, the program is different for each use facility.
【0017】このように、使用施設毎に設定を変えて設
計、プログラムを行う際には、装置の筐体の開閉、RO
Mの基板からの抜き差し、ROM上のプログラムの消去
/書き込み作業が必要で多大な時間を必要とし、また、
これらの作業にはROM抜き工具やROMイレーサ、R
OMライタ等の一般には普及していない特殊工具や特殊
装置が必要となり、作業の効率が非常に悪かった。As described above, when designing and programming by changing the setting for each facility in use, opening and closing of the housing of the apparatus, RO,
M requires removal and insertion of the M from the board, erasing / writing of the program on the ROM, and requires a lot of time.
These tasks include ROM removal tools, ROM erasers, R
Special tools and special devices, such as an OM writer, which are not widely used, are required, and the work efficiency is very poor.
【0018】なお、本出願人は特開平8−314700
号でフラッシュメモリに書き込んだプログラムを通信ラ
インなどを介して外部から書換えできるようにして電気
機器を分解することなく、その動作を変更できるシステ
ムを開示している。しかし、このシステムではその書換
えを行う書換えプログラムに対する詳しい説明がない。The applicant of the present invention is disclosed in Japanese Patent Application Laid-Open No. 8-314700.
Discloses a system in which a program written in a flash memory can be rewritten from the outside via a communication line or the like so that the operation of the device can be changed without disassembling the electric device. However, in this system, there is no detailed description of the rewriting program that performs the rewriting.
【0019】(発明の目的)本発明は上述した点に鑑み
てなされたもので、プログラムの変更や、設定の変更が
容易で作業性、生産性のよいカードリーダを提供するこ
とを目的とする。(Object of the Invention) The present invention has been made in view of the above points, and has as its object to provide a card reader which can easily change programs and settings, and has high workability and productivity. .
【0020】[0020]
【課題を解決するための手段】カード上に記録されたデ
ータを読み取るデータ読み取り手段と、外部機器へデー
タを出力するデータ出力手段と、動作プログラムを記憶
するメモリ手段と、該メモリ手段に記憶されている動作
プログラムに基づき前記データ読み取り手段にて読み取
ったデータの解析および所定のフォーマット変換を行っ
た後、前記データ出力手段からデータ出力を行う制御手
段とを有するカードリーダにおいて、外部機器からデー
タを入力するデータ入力手段と、該データ入力手段から
入力されたデータで前記メモリ手段に記憶されている動
作プログラムの少なくとも1部を更新するプログラム更
新手段と、を設けることにより、動作プログラムの変更
を行う場合、カードリーダの筐体を開閉する等してメモ
リ手段を取り外す作業などしなくても、外部機器からデ
ータを入力することで簡単にプログラム更新ができ、カ
ードに記録されているデータのフォーマットが異なる場
合とか読み取ったデータを出力する場合にも接続される
機器の仕様に応じて出力する場合にも容易に対処でき
る。A data reading means for reading data recorded on a card, a data output means for outputting data to an external device, a memory means for storing an operation program, and a data stored in the memory means. After performing analysis and predetermined format conversion of the data read by the data reading unit based on the operation program, a card reader having a control unit for outputting data from the data output unit. The operation program is changed by providing data input means for inputting, and program updating means for updating at least a part of the operation program stored in the memory means with the data input from the data input means. In case, remove the memory means by opening and closing the case of the card reader You can easily update the program by inputting data from an external device, even if you do not have to perform operations such as when the format of the data recorded on the card is different or when you output the read data. The output can be easily dealt with according to the specification.
【0021】[0021]
【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。 (第1の実施の形態)図1ないし図15は本発明の第1
の実施の形態に係り、図1は第1の実施の形態を備えた
内視鏡画像ファイリングシステムの構成を示し、図2は
画像入力ユニットに含まれているビデオプロセッサと第
1の圧縮伸張装置の詳細構成を示し、図3はカードリー
ダの構成を示し、図4はモニタに表示される内視鏡画像
と関連データの表示例を示し、図5は患者データベース
ファイルと検査データベースファイルの内容を示し、図
6は内視鏡画像ファイリングシステムにおける撮像した
画像に患者データを合成して表示する機能の構成を示
し、図7は図1において、画像の記録、検索、表示の機
能を主に行う部分を示し、図8はカードリーダI/Fが
設けていないビデオプロセッサを用いて内視鏡画像ファ
イリングシステムを形成を示した場合の構成を示し、図
9は図8におけるビデオプロセッサと圧縮伸張装置の構
成を示し、図10は患者IDのみの入力が可能な仕様の
ビデオプロセッサを用いて内視鏡画像ファイリングシス
テムを形成を示した場合の構成を示し、図11は図10
におけるビデオプロセッサと圧縮伸張装置の構成を示
し、図12はカードリーダシステムの構成を示し、図1
3はメモリマップの構成を示し、図14はフロッピディ
スクに書換えプログラム等が記録された状態を示し、図
15はカードリーダの処理の手順を示す。Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIGS. 1 to 15 show a first embodiment of the present invention.
1 shows a configuration of an endoscope image filing system provided with a first embodiment, and FIG. 2 shows a video processor and a first compression / decompression device included in an image input unit. FIG. 3 shows a configuration of a card reader, FIG. 4 shows an example of display of an endoscope image and related data displayed on a monitor, and FIG. 5 shows contents of a patient database file and an examination database file. FIG. 6 shows a configuration of a function of synthesizing and displaying patient data with a captured image in the endoscope image filing system, and FIG. 7 mainly performs functions of recording, searching, and displaying an image in FIG. FIG. 8 shows a configuration in a case where an endoscope image filing system is formed using a video processor without a card reader I / F, and FIG. FIG. 10 shows a configuration in which an endoscope image filing system is formed using a video processor capable of inputting only a patient ID, and FIG. 10
1 shows a configuration of a video processor and a compression / expansion device in FIG. 1, FIG. 12 shows a configuration of a card reader system, and FIG.
3 shows a configuration of a memory map, FIG. 14 shows a state in which a rewrite program or the like is recorded on a floppy disk, and FIG. 15 shows a procedure of processing of a card reader.
【0022】図1に示す内視鏡画像ファイリングシステ
ム1は、画像の入力を行う画像入力ユニット2と、画像
の記録を行う画像記録ユニット3と、画像の検索を行う
画像検索ユニット4とから構成され、これらのユニット
2、3、4はネットワークとしてのLAN5で相互に接
続されている。An endoscope image filing system 1 shown in FIG. 1 comprises an image input unit 2 for inputting an image, an image recording unit 3 for recording an image, and an image search unit 4 for searching for an image. The units 2, 3, and 4 are interconnected by a LAN 5 as a network.
【0023】画像入力ユニット2は撮像素子を内蔵した
電子内視鏡(電子スコープともいう)6と、この電子ス
コープ6のライトガイドに照明光を供給する光源装置7
と、電子スコープ6の撮像素子に対する信号処理を行う
ビデオプロセッサ8と、このビデオプロセッサ8から出
力される映像信号を表示する第1のモニタ9と、画像の
圧縮と伸張の処理を行う第1の圧縮伸張装置10と、デ
ータの入力等を行う第1のキーボード11と、カードに
記録されたデータ等の読み取りを行うカードリーダ12
とから成り、電子スコープ6、光源装置7、第1のモニ
タ9、圧縮伸張装置10、キーボード11、カードリー
ダ12は各々がビデオプロセッサ8と信号線により接続
されている。The image input unit 2 includes an electronic endoscope (also referred to as an electronic scope) 6 having a built-in image pickup device, and a light source device 7 for supplying illumination light to a light guide of the electronic scope 6.
A video processor 8 that performs signal processing on an image sensor of the electronic scope 6; a first monitor 9 that displays a video signal output from the video processor 8; and a first monitor 9 that performs image compression and expansion processing. A compression / expansion device 10, a first keyboard 11 for inputting data and the like, and a card reader 12 for reading data and the like recorded on a card
The electronic scope 6, the light source device 7, the first monitor 9, the compression / expansion device 10, the keyboard 11, and the card reader 12 are each connected to the video processor 8 by a signal line.
【0024】また、画像記録ユニット3は、ホストコン
ピュータ13と、記録装置14とから成り、ホストコン
ピュータ13と記録装置14は信号線により接続されて
いる。The image recording unit 3 comprises a host computer 13 and a recording device 14, and the host computer 13 and the recording device 14 are connected by signal lines.
【0025】画像検索ユニット4は、検索を行う検索装
置15と、検索された画像を表示する第2のモニタ16
と、画像の圧縮と伸張の処理を行う第2の圧縮伸張装置
17と、第2のキーボード18と、マウス19とから成
り、第2のモニタ16、第2の圧縮伸張装置17、第2
のキーボード18、マウス19は各々が検索装置15と
信号線により接続されている。The image search unit 4 includes a search device 15 for searching and a second monitor 16 for displaying the searched image.
A second compression / decompression device 17 for performing image compression and decompression processing, a second keyboard 18 and a mouse 19, and a second monitor 16, a second compression / decompression device 17, a second
The keyboard 18 and the mouse 19 are connected to the search device 15 by signal lines.
【0026】また、画像入力ユニット2、画像検索ユニ
ット4は各々が有する圧縮伸張装置10、17を介し、
LAN5により画像記録ユニット3のホストコンピュー
タ13と接続されている。Further, the image input unit 2 and the image search unit 4 are connected via compression / decompression devices 10 and 17 respectively provided therein.
The LAN 5 is connected to the host computer 13 of the image recording unit 3.
【0027】電子スコープ6は細長の挿入部6Aとこの
挿入部6Aの後端に設けられた操作部6Bとを有し、操
作部6Bにはレリーズ指示を行うレリーズスイッチ20
が設けてある。図2は、画像入力ユニット2に含まれて
いるビデオプロセッサ8と第1の圧縮伸張装置10の詳
細な構成を示す。The electronic scope 6 has an elongated insertion portion 6A and an operation portion 6B provided at the rear end of the insertion portion 6A. The operation portion 6B has a release switch 20 for giving a release instruction.
Is provided. FIG. 2 shows a detailed configuration of the video processor 8 and the first compression / decompression device 10 included in the image input unit 2.
【0028】ビデオプロセッサ8は、電子スコープ6の
撮像素子に対する信号処理する画像プロセス部21と、
スーパインポーズ部22と、制御部23と、キーボード
I/F24と、カードリーダI/F25とから成り、画
像プロセス部21、スーパインポーズ部22、キーボー
ドI/F24、カードリーダI/F25は各々が制御部
23と信号線により接続されている。The video processor 8 includes an image processing unit 21 that performs signal processing on the image pickup device of the electronic scope 6,
The image processing unit 21, the superimpose unit 22, the keyboard I / F 24, and the card reader I / F 25 each include a superimpose unit 22, a control unit 23, a keyboard I / F 24, and a card reader I / F 25. Are connected to the control unit 23 by signal lines.
【0029】また、画像プロセス部21は電子スコープ
6と、スーパインポーズ部22は第1のモニタ9と、キ
ーボードI/F24は第1のキーボード11と、カード
リーダI/F25はカードリーダ12と信号線で接続さ
れている。The image processing unit 21 is the electronic scope 6, the superimposing unit 22 is the first monitor 9, the keyboard I / F 24 is the first keyboard 11, and the card reader I / F 25 is the card reader 12. They are connected by signal lines.
【0030】第1の圧縮伸張装置10は、圧縮伸張部2
6、制御部27、カードリーダI/F28から成り、圧
縮伸張部26、カードリーダI/F28は各々が制御部
27と信号線により接続されている。また、圧縮伸張部
26はビデオプロセッサ8の画像プロセス部21に、制
御部27はビデオプロセッサ8の制御部26に直接信号
線で接続されている。The first compression / expansion device 10 includes a compression / expansion unit 2
6, a control unit 27, and a card reader I / F 28. Each of the compression / expansion unit 26 and the card reader I / F 28 is connected to the control unit 27 by a signal line. The compression / decompression unit 26 is directly connected to the image processing unit 21 of the video processor 8, and the control unit 27 is directly connected to the control unit 26 of the video processor 8 by a signal line.
【0031】図3は、画像入力ユニット2に含まれてい
る第1の実施の形態のカードリーダ12の詳細な構成を
示す。FIG. 3 shows a detailed configuration of the card reader 12 of the first embodiment included in the image input unit 2.
【0032】このカードリーダ12は、このカードリー
ダ12各部を制御するCPU31、書換えプログラムを
記憶した読み出し専用のメモリとしてのROM32、カ
ードを読み取るプログラム等を記憶し、電気的に書換え
可能な読み出し専用のメモリとしてのフラッシュメモリ
33、作業領域等として使用されるRAM34、外部機
器とのデータの送受信(通信)を行う通信ポートとして
2つ設けられたシリアルI/F35、36、キーボード
I/F37、磁気ヘッドI/F38、LCD(液晶ディ
スプレイ)I/F39、LED・ブザーI/F40、デ
ータの入力等を行うキーボード41、カードの磁気テー
プ部分の磁気データを読み取る読み取り手段としての磁
気ヘッド42、LCD43、告知手段としてのLED4
4、ブザー45とより構成されている。The card reader 12 has a CPU 31 for controlling the components of the card reader 12, a ROM 32 as a read-only memory storing a rewriting program, a card reading program, and the like, and an electrically rewritable read-only memory. A flash memory 33 as a memory, a RAM 34 used as a work area, etc., two serial I / Fs 35 and 36 provided as communication ports for transmitting / receiving (communicating) data to / from an external device, a keyboard I / F 37, a magnetic head I / F 38, LCD (liquid crystal display) I / F 39, LED / buzzer I / F 40, keyboard 41 for inputting data, etc., magnetic head 42 as reading means for reading magnetic data of the magnetic tape portion of the card, LCD 43, notification LED4 as a means
4, and a buzzer 45.
【0033】CPU31は、コンピュータバス46によ
りROM32、フラッシュメモリ33、RAM34、シ
リアルI/F35、36、キーボードI/F37、磁気
ヘッドI/F38、LCD I/F39、LED・ブザ
ーI/F40とそれぞれ接続されており、キーボード4
1はキーボードI/F37に、磁気ヘッド42は磁気ヘ
ッドI/F38に、LCD43はLCD I/F39
に、LED44とブザー45はLED・ブザーI/F4
0に接続することにより、各種データの入出力、表示が
可能ないわゆるマイコン或いはパソコンとして機能する
よう構成されている。The CPU 31 is connected to the ROM 32, the flash memory 33, the RAM 34, the serial I / Fs 35 and 36, the keyboard I / F 37, the magnetic head I / F 38, the LCD I / F 39, and the LED / buzzer I / F 40 by a computer bus 46, respectively. Keyboard 4
1 is a keyboard I / F 37, a magnetic head 42 is a magnetic head I / F 38, and an LCD 43 is an LCD I / F 39.
The LED 44 and the buzzer 45 are LED / buzzer I / F4
By connecting to 0, it is configured to function as a so-called microcomputer or personal computer capable of inputting / outputting and displaying various data.
【0034】本実施の形態ではカードリーダ12を動作
させるためのプログラムを記憶させておくためのメモリ
には、読み出し専用のメモリとしてのROM32の他に
読み出し専用のメモリではあるが、実装された使用状態
で、電気的に書換え可能なEEPROMで形成されたフ
ラッシュメモリ33が使用されている。このフラッシュ
メモリ33に記憶されたデータは電気的に書換えが可能
となっているため、プログラムの一部を書換えることが
できる。In this embodiment, the memory for storing the program for operating the card reader 12 is a read-only memory in addition to the ROM 32 as the read-only memory. In this state, a flash memory 33 formed of an electrically rewritable EEPROM is used. Since the data stored in the flash memory 33 can be electrically rewritten, a part of the program can be rewritten.
【0035】ROM32上にはカードリーダとしての基
本動作である”カードの読みとり→送信”のためのプロ
グラムと、フラッシュメモリ33上のプログラムを書き
換えるための書換えプログラムが記憶されている。The ROM 32 stores a program for “reading and transmitting a card”, which is a basic operation as a card reader, and a rewriting program for rewriting a program on the flash memory 33.
【0036】そして、フラッシュメモリ33上のプログ
ラムを書き換えることで、シリアルI/F35、36の
うちのどちらからデータの送信を行うかを設定するため
の設定データを変更することにより様々なパターンのデ
ータ送信のポート選択が可能となるようにしている。Then, by rewriting the program on the flash memory 33, by changing the setting data for setting which of the serial I / Fs 35 and 36 to transmit data, various patterns of data can be obtained. Transmission port selection is made possible.
【0037】また、プログラム自体の変更を必要としな
いような小さな変更の場合には、フラッシュメモリ33
上のプログラムブロックと異なるブロックに書き込まれ
ているテーブルデータ部分の変更のみを書換えることも
できるようにしている。In the case of a small change that does not require a change in the program itself, the flash memory 33
It is also possible to rewrite only the change in the table data portion written in a block different from the above program block.
【0038】また、後述する変形例では、シリアルI/
F35、36を介して外部機器からデータを送り、この
データによりフラッシュメモリ33上のプログラムを書
き換えることで、記録されたデータのフォーマット等が
異なるカードの場合にも読み取ることができるようにし
ている。In a modified example described later, the serial I / O
Data is sent from an external device via F35 and F36, and the program in the flash memory 33 is rewritten with the data so that the data can be read even if the format of the recorded data is different from a card.
【0039】次に本実施の形態の作用を説明する。ま
ず、内視鏡画像ファイリングシステム1全体の基本動作
の概略を図1を用いて説明する。内視鏡画像ファイリン
グシステム1は、撮像した内視鏡画像の記録を行う機能
と、記録した画像の検索、表示を行う機能を有してい
る。Next, the operation of the present embodiment will be described. First, an outline of a basic operation of the entire endoscope image filing system 1 will be described with reference to FIG. The endoscope image filing system 1 has a function of recording a captured endoscope image, and a function of searching and displaying the recorded image.
【0040】内視鏡画像の撮像は画像入力ユニット2に
おいて、撮像した画像の記録は画像記録ユニット3にお
いて、記録した画像の検索、表示は画像検索ユニット4
において行われる。The endoscope image is captured by the image input unit 2, the captured image is recorded by the image recording unit 3, and the recorded image is searched and displayed by the image search unit 4.
It is performed in.
【0041】これら3つのユニット2、3、4は、LA
N5を介して接続されており、画像の記録、検索、表示
を行う際に必要となる画像データ、関連データの送受信
が各ユニット間で行われる。These three units 2, 3, and 4 are LA
It is connected via N5, and transmission and reception of image data and related data necessary for recording, searching, and displaying images are performed between the units.
【0042】また、LAN5を介し、1つの画像記録ユ
ニット3に対し、複数の画像入力ユニット2、画像検索
ユニット4を接続し、かつ動作させることも可能であ
り、離れた複数の場所から、瞬時に画像の記録、検索、
表示を行うことができる。It is also possible to connect a plurality of image input units 2 and image search units 4 to one image recording unit 3 via the LAN 5 and to operate them. Record, search,
Display can be performed.
【0043】電子スコープ6により撮像された内視鏡画
像は、第1のモニタ9上にリアルタイムで表示されるよ
うになっているが、記録したい所望の画像が表示されて
いる時点で電子スコープ6の操作部6Bに設けたレリー
ズスイッチ20を作動させることにより、その表示中の
内視鏡画像の記録が行われる。The endoscope image picked up by the electronic scope 6 is displayed on the first monitor 9 in real time. When the desired image to be recorded is displayed, the electronic scope 6 is displayed. By operating the release switch 20 provided on the operation unit 6B, the endoscope image being displayed is recorded.
【0044】この画像の記録の際には、患者のID番
号、氏名、生年月日等の患者データや、検査日、診療
科、検査結果等の検査データといった関連データもあわ
せて記録することができ、記録した関連データを基に画
像の検索、表示を行うことが可能である。When recording this image, it is also possible to record patient data such as the patient's ID number, name and date of birth, as well as related data such as examination data such as examination date, medical department and examination results. It is possible to search and display images based on the recorded related data.
【0045】モニタ9、16上に表示される画面構成を
図4に示す。画面の右半分には撮像された内視鏡画像が
表示され、残りのスペースに患者ID、生年月日、検査
日等の内視鏡画像の関連データが合成されて表示がされ
る。FIG. 4 shows a screen configuration displayed on the monitors 9 and 16. The captured endoscope image is displayed on the right half of the screen, and related data of the endoscope image such as the patient ID, date of birth, and examination date are combined and displayed in the remaining space.
【0046】次に、本システム1を構成する各部位の動
作について図1、図2を用いて説明する。電子スコープ
6は、図示しないライトガイド、固体撮像素子をその内
部に有しており、光源装置7により発せられる照明光を
ライトガイドにより伝送し、挿入部6Aの先端部の照明
窓に配置された先端面から伝送した照明光を出射する。
電子スコープ6の先端部の照明窓から出射された照明光
で照らされた被写体は、固体撮像素子に結像され、光電
変換された画像信号がビデオプロセッサ8に出力され
る。Next, the operation of each part constituting the system 1 will be described with reference to FIGS. The electronic scope 6 has a light guide and a solid-state imaging device (not shown) therein, transmits the illumination light emitted by the light source device 7 through the light guide, and is disposed in the illumination window at the distal end of the insertion section 6A. The transmitted illumination light is emitted from the tip surface.
The subject illuminated with the illumination light emitted from the illumination window at the tip of the electronic scope 6 is formed on a solid-state image sensor, and the photoelectrically converted image signal is output to the video processor 8.
【0047】電子スコープ6はさらに、その操作部6B
にレリーズスイッチ20が設けられており、レリーズス
イッチ20を操作した場合のレリーズ指示の制御信号も
ビデオプロセッサ8に出力されるようになっている。The electronic scope 6 further includes an operation unit 6B
A release switch 20 is provided, and a control signal of a release instruction when the release switch 20 is operated is also output to the video processor 8.
【0048】電子スコープ6からの画像信号は、ビデオ
プロセッサ8の画像プロセス部21に入力されて、信号
処理が行われ、いわゆるビデオ信号として出力される。
ビデオ信号は、圧縮伸張装置10の圧縮伸張部26に出
力されると共に、スーパインポーズ部22を経て第1の
モニタ9に出力される。The image signal from the electronic scope 6 is input to the image processing section 21 of the video processor 8, where it is subjected to signal processing and output as a so-called video signal.
The video signal is output to the compression / expansion unit 26 of the compression / expansion device 10 and is also output to the first monitor 9 via the superimposing unit 22.
【0049】電子スコープ6により撮像された内視鏡画
像は、前記スーパーインポーズ部22において、第1の
キーボード11から入力された関連データまたは、すで
に記録済みであって画像記録ユニット3側から送信され
てきた関連データと合成されてから第1のモニタ9に出
力される。The endoscope image picked up by the electronic scope 6 is transmitted from the superimposing section 22 to the related data input from the first keyboard 11 or the already recorded already recorded image from the image recording unit 3 side. The data is combined with the related data and output to the first monitor 9.
【0050】画像プロセス部21と画像合成手段として
のスーパインポーズ部22には制御部26から制御信号
が入力され、制御部26は圧縮伸張装置10の制御部2
7との間で制御信号と関連データの入出力が可能となっ
ている。また、制御部26には、第1のキーボード11
より患者ID、氏名、生年月日など図4に示した画面の
患者データが入力可能で、各患者データが入力されると
その内容が自動的に送出される他、レリーズスイッチ2
0の操作により「レリーズ」の制御信号の送信が、第1
のキーボード11からの「検査終了」の入力の信号送信
がそれぞれ行われるようになっている。A control signal is input from the control unit 26 to the image processing unit 21 and the superimposing unit 22 as an image synthesizing unit.
7, a control signal and related data can be input and output. The control unit 26 includes the first keyboard 11
The patient data on the screen shown in FIG. 4 such as a patient ID, a name, and a date of birth can be input, and when each patient data is input, the contents are automatically sent out.
By the operation of “0”, the transmission of the “release” control signal is changed to the first
Is transmitted from the keyboard 11 of the "examination end" signal.
【0051】画像データや関連データはビデオプロセッ
サ8とLAN5との間で圧縮伸張装置10を介するよう
になっており、LAN5上には圧縮伸張部26により圧
縮されたデータが伝送される。The image data and related data are arranged between the video processor 8 and the LAN 5 via the compression / expansion device 10, and the data compressed by the compression / expansion unit 26 is transmitted on the LAN 5.
【0052】圧縮伸張部26には制御信号が制御部27
から入力される様になっており、制御部27は、ビデオ
プロセッサ8の制御部26とLAN5との間で制御信号
と関連データの入出力が可能となっている。The compression / decompression unit 26 sends a control signal to the control unit 27.
The control unit 27 can input and output control signals and related data between the control unit 26 of the video processor 8 and the LAN 5.
【0053】LAN5上を伝送された各データは、画像
記録ユニット3のホストコンピュータ13に入力され、
記録装置14上に記録、管理される。この記録されたデ
ータは任意に読み出しが可能であり、画像検索ユニット
4の検索装置15に対しキーボード18やマウス19か
ら画像の特定情報を入力してやることで該当する画像デ
ータとその関連データが検索され、第2のモニタ16に
は検索で読み出されたものが表示される。Each data transmitted on the LAN 5 is input to the host computer 13 of the image recording unit 3 and
It is recorded and managed on the recording device 14. The recorded data can be arbitrarily read, and by inputting image specific information to the search device 15 of the image search unit 4 from the keyboard 18 or the mouse 19, the corresponding image data and its related data are searched. The second monitor 16 displays what is read out by the search.
【0054】読み出して表示する際には、画像記録ユニ
ット3側から送信されたデータは、圧縮伸張装置17を
介するようになっており、圧縮されていたデータはここ
で伸張されて圧縮前のデータが復元される。When the data is read out and displayed, the data transmitted from the image recording unit 3 passes through the compression / expansion device 17, and the compressed data is expanded here to obtain the data before compression. Is restored.
【0055】また、画像の検索、表示は画像入力ユニッ
ト2側で行うことも可能であり、その際には、ビデオプ
ロセッサ8に対し、第1のキーボード11やカードリー
ダ12により画像の特定情報を入力することで該当する
画像データが検索され、読み出されて関連データと共に
第1のモニタ9に表示される。The image search and display can also be performed on the image input unit 2 side. In this case, the first keyboard 11 or the card reader 12 transmits the image specific information to the video processor 8. By inputting, the corresponding image data is retrieved, read out, and displayed on the first monitor 9 together with the related data.
【0056】この読み出されて表示される際にも、画像
記録ユニット3側から送信されたデータは、圧縮伸張装
置10により圧縮状態から伸張復元されることは言うま
でもない。When the data is read out and displayed, it goes without saying that the data transmitted from the image recording unit 3 is expanded and restored from the compressed state by the compression and expansion device 10.
【0057】次に、関連データの記録形式について説明
する。画像記録ユニット3の記録装置14には、関連情
報としてのデータベースファイルが記録されている。図
5(A)(B)は記録されているデータベースファイル
の内容を示す。図5(A)は患者データファイルで、検
査を受けた患者それぞれのデータが記録されている。Next, the recording format of the related data will be described. The recording device 14 of the image recording unit 3 records a database file as related information. FIGS. 5A and 5B show the contents of the recorded database file. FIG. 5A shows a patient data file in which data of each patient who has undergone an examination is recorded.
【0058】「患者ID」は、各患者を識別できるよう
に各患者ごとに別個につけられた番号である。この「患
者ID」や、「氏名」や、「生年月日」等を特定するこ
とで一人の患者が特定される。次に、図5(B)は検査
データファイルであり、一人の患者に対して行われた1
回の検査を単位として記録が行われている。The "patient ID" is a number assigned to each patient so that each patient can be identified. One patient is specified by specifying the “patient ID”, “name”, “birth date”, and the like. Next, FIG. 5B shows an examination data file, which is obtained by performing 1 for one patient.
Recording is performed in units of inspections.
【0059】「検査ID」は検査が行われた順に付けら
れた番号である。この「検査ID」や、「検査日」や、
「診療科」等を特定することで1回の検査が特定され
る。また、検査データとしては、図5(B)に示したも
の以外にも次の{ }内の項目が考えられる。The “inspection ID” is a number assigned in the order in which the inspection was performed. This "inspection ID", "inspection date",
One examination is specified by specifying "medical department" or the like. Further, as the inspection data, items in the following {} can be considered in addition to those shown in FIG.
【0060】{検査時年齢、検査コメント、検査種別、
入院、外来、内視鏡機種、検査医、病変部位、診断名、
生検No.診断詳細、生検結果、特殊検査、フィルム種
別、フィルム番号、フィルムロケーション}これらの患
者データファイルと検査データファイルは患者IDをキ
ーとして管理されており、ひとりの患者に対し複数の検
査データを関連対応させて記録している。(6) Age at examination, examination comment, examination type,
Hospitalization, outpatient, endoscope model, physician, lesion site, diagnosis name,
Biopsy No. Diagnosis details, biopsy results, special tests, film type, film number, film location These patient data files and test data files are managed using the patient ID as a key, and multiple test data can be associated with one patient. It is recorded in correspondence.
【0061】また、記録された内視鏡画像は、検査デー
タと関連対応させて記録させている。このように患者−
検査−画像をそれぞれ関連づけて記録させているため、
情報の1片から所望の情報全てを検索することも可能と
なる。次に、撮像した画像と記録してある患者データと
を合成して表示を行うための動作について図6を用いて
説明する。The recorded endoscope image is recorded in association with examination data. Thus, the patient
Inspection-Because each image is associated and recorded,
It is also possible to retrieve all desired information from one piece of information. Next, an operation for synthesizing and displaying a captured image and recorded patient data will be described with reference to FIG.
【0062】本システム1では、図4に示すように、内
視鏡画像は患者ID、氏名、生年月日といった患者デー
タと合成されて表示が行われる。そのためには、患者デ
ータは全てキーボード11やカードリーダ12等により
事前に入力を行っておく必要がある。In the present system 1, as shown in FIG. 4, an endoscope image is displayed by being combined with patient data such as a patient ID, a name, and a date of birth. For that purpose, it is necessary to input all the patient data in advance using the keyboard 11, the card reader 12, or the like.
【0063】しかし、その必要があるのは初回の検査だ
けであり、一度入力を行い、記録が行われた患者データ
は、次回からは入力の必要はなく、例えばデータを特定
するために患者IDのみを入力するだけで、氏名や生年
月日といったその患者に対する他の患者データも自動的
に呼び出され画像と合成されるようになっている。However, only the first examination needs to be performed, and the patient data that has been entered once and recorded has no need to be entered again from the next time. For example, the patient ID is used to specify the data. By simply inputting only the information, other patient data for the patient, such as the name and the date of birth, are automatically called and combined with the image.
【0064】図6は患者データの画像への合成の為の構
成を機能ごとにまとめて表現した図である。符号48で
示すブロックは画像やデータの表示を行う側である画像
再生手段を示し、符号49で示すブロックはデータを管
理・記録する側の画像記録手段を示す。FIG. 6 is a diagram showing a configuration for synthesizing patient data to an image collectively for each function. A block denoted by reference numeral 48 indicates an image reproducing unit that displays images and data, and a block denoted by reference numeral 49 indicates an image recording unit that manages and records data.
【0065】画像再生手段48には、検索する関連デー
タを特定する特定情報入力手段50が設けられており、
この特定情報入力手段50はキーボード11等から入力
された特定情報を送信手段51に出力する。The image reproducing means 48 is provided with a specific information input means 50 for specifying related data to be searched.
The specific information input means 50 outputs the specific information input from the keyboard 11 or the like to the transmitting means 51.
【0066】また、この送信手段51は入力された特定
情報を画像記録手段49の受信手段54に出力するよう
になっている。さらに、画像再生手段48には画像記録
手段49から出力された関連データを受信する受信手段
53が設けてあり、この受信手段53は合成手段52に
関連データを出力するようになっている。合成手段52
は撮像した画像に関連データを合成してモニタ16等に
出力するようになっている。The transmitting means 51 outputs the input specific information to the receiving means 54 of the image recording means 49. Further, the image reproducing means 48 is provided with a receiving means 53 for receiving the relevant data output from the image recording means 49, and the receiving means 53 outputs the relevant data to the synthesizing means 52. Combining means 52
Is configured to combine related data with a captured image and output it to the monitor 16 or the like.
【0067】一方、画像記録手段49には前記の受信手
段54から特定情報が入力される関連情報検索手段55
が設けられている。この関連情報検索手段55には対象
画像に関連する情報を記録する関連情報記録手段57が
接続されており、関連情報検索手段55は関連情報記録
手段57に記録された関連情報を検索して、送信手段5
6に出力するようになっている。On the other hand, the related information searching means 55 to which the specific information is input from the receiving means 54 is stored in the image recording means 49.
Is provided. The related information searching means 55 is connected to a related information recording means 57 for recording information related to the target image. The related information searching means 55 searches for the related information recorded in the related information recording means 57, Transmission means 5
6 is output.
【0068】そして、送信手段56は画像再生手段48
の受信手段53に関連情報を出力するようになってい
る。このように、記録した関連情報が特定情報の入力に
より検索できるように構成されているため、一度記録さ
れた関連データを、2回目の検査からは自動で呼び出し
画像に合成することができる。The transmitting means 56 is connected to the image reproducing means 48.
The related information is output to the receiving means 53 of. As described above, since the recorded related information is configured to be searched by inputting the specific information, the related data once recorded can be automatically combined with the call image from the second examination.
【0069】次に、データの入力に利用されるカードリ
ーダ12の動作について説明する。カードリーダ12は
患者データの入力を行う際、第1のキーボード11の代
わりに使用されるものであり、特に患者IDの入力のた
めに利用されることが多い。データの書き込みがされて
いる磁気カードをカードリーダ12に通せば磁気カード
上のデータが読みとられ、そのデータはカードリーダ1
2が接続されたビデオプロセッサ8へ送信されるように
なっている。Next, the operation of the card reader 12 used for inputting data will be described. The card reader 12 is used instead of the first keyboard 11 when inputting patient data, and is often used particularly for inputting a patient ID. When the magnetic card on which the data is written is passed through the card reader 12, the data on the magnetic card is read, and the data is read from the card reader 1.
2 is transmitted to the connected video processor 8.
【0070】よって、カードリーダ12を使用すること
によってキーボード11のキーを操作してデータ入力す
る手間を大幅に削減することができる。図3に示すよう
に磁気ヘッド42によって読み取られた磁気カード上の
データは、磁気ヘッドI/F38を介しCPU31によ
りRAM34上に記憶される。Therefore, the use of the card reader 12 can greatly reduce the trouble of operating the keys of the keyboard 11 to input data. As shown in FIG. 3, data on the magnetic card read by the magnetic head 42 is stored on the RAM 34 by the CPU 31 via the magnetic head I / F 38.
【0071】RAM34上に記憶されたデータはCPU
31により所定のデータ処理が行われ、送信可能なデー
タ形式に変更されて、シリアルI/F35、または36
を介して、ビデオプロセッサ8に送信される。The data stored on the RAM 34 is a CPU
A predetermined data processing is performed by 31 and the data is changed to a transmittable data format, and the serial I / F 35 or 36
Is transmitted to the video processor 8.
【0072】前記のデータ読みとり時には、CPU31
は磁気ヘッド42より正常にデータの読みとりが行われ
たか否かを判断し、LED・ブザーI/F40を介して
LED44及びブザー45で、読みとりの正常、異常を
ユーザに通知する。When reading the data, the CPU 31
Determines whether data has been read normally from the magnetic head 42, and notifies the user of normal or abnormal reading by the LED 44 and the buzzer 45 via the LED / buzzer I / F 40.
【0073】また、カードリーダ12にはキーボード4
1が設けられており、磁気カード上に書き込みがなされ
ていないデータの追加をキーボード41から入力するこ
とができる。The keyboard 4 is attached to the card reader 12.
1 is provided, and addition of data not written on the magnetic card can be input from the keyboard 41.
【0074】また、カードリーダ12にはLCD43が
設けられており、データのキーボード入力の際には、L
CD43により、入力されるデータを確認しながら入力
操作を行うことができる。The card reader 12 is provided with an LCD 43, and when inputting data to the keyboard, L
With the CD 43, an input operation can be performed while checking input data.
【0075】また、カードリーダ12で読み取られてデ
ータ出力される際にLCD43にそのデータの表示も行
われる。また、ユーザへの操作指示やエラー通知等何ら
かの通知をLCD43を用いて行ってもよい。次に、カ
ードリーダ12の構成において工夫された点について説
明する。When the data is read by the card reader 12 and output, the data is also displayed on the LCD 43. Further, some notification such as an operation instruction or an error notification to the user may be performed using the LCD 43. Next, points devised in the configuration of the card reader 12 will be described.
【0076】上述のようにカードリーダ12を動作させ
るためのプログラムを記録したメモリには、ROM32
の他にフラッシュメモリ33が使用されている。フラッ
シュメモリ33に記憶されたデータは電気的に書換が可
能となっているため、プログラムの一部が書換えが可能
となっている。The memory storing the program for operating the card reader 12 as described above has a ROM 32
In addition, a flash memory 33 is used. Since the data stored in the flash memory 33 can be electrically rewritten, a part of the program can be rewritten.
【0077】ROM32上にはカードリーダとしての基
本動作である”カードの読みとり→送信”のためのプロ
グラムと、フラッシュメモリ33上のプログラム等を書
き換えるための書換えプログラムが記憶されている。The ROM 32 stores a program for “reading and transmitting a card”, which is a basic operation as a card reader, and a rewriting program for rewriting a program and the like in the flash memory 33.
【0078】フラッシュメモリ33上には、2つあるシ
リアルI/F35、36のうちのどちらからデータの送
信を行うか等を設定するための設定データが記憶されて
いるテーブルデータも書き込まれている。On the flash memory 33, table data in which setting data for setting which of the two serial I / Fs 35 and 36 to transmit data from is stored is also written. .
【0079】そして、フラッシュメモリ33上のテーブ
ルデータに書き込まれた設定データを変更することによ
りデータ送信のポート選択が可能となる。By changing the setting data written in the table data on the flash memory 33, the port for data transmission can be selected.
【0080】また、送信可能な状態にする最小限のプロ
グラムはROM32に記録されているが、その状態から
さらに複雑なパターンの送信動作を行うことができるよ
うにフラッシュメモリ33には設定データが書き込まれ
たテーブルデータ領域の他に、送信プログラムが書き込
まれたプログラム領域も設けてある。Although the minimum program for enabling transmission is recorded in the ROM 32, setting data is written to the flash memory 33 so that a more complicated pattern transmission operation can be performed from that state. In addition to the table data area, a program area in which a transmission program is written is also provided.
【0081】上記のように、単に1つのポートからデー
タを送信する場合には、テーブルデータ領域の設定デー
タを変更するのみでROM32に書き込まれた送信のた
めのプログラムでも対処できる。As described above, when data is simply transmitted from one port, the transmission program written in the ROM 32 can be used only by changing the setting data in the table data area.
【0082】一方、データの1部だけをシリアルI/F
35を介して送信し、残りのデータはもう1つのシリア
ルI/F36を介して送信するといった使用の場合には
送信プログラムを変更することにより対応できる。つま
り、送信プログラムも書換え可能にすることにより、特
殊な送信パターンで送信する場合にも対応できる。On the other hand, only a part of the data is
In the case where the data is transmitted via the serial interface 35 and the remaining data is transmitted via another serial I / F 36, the transmission program can be changed. That is, by making the transmission program rewritable, it is possible to cope with a case where transmission is performed in a special transmission pattern.
【0083】なお、フラッシュメモリ33上のデータ書
換えには、外部機器から書換データをシリアルI/F3
5、または36を介して送り込む場合の他に、キーボー
ド41により書き込みデータの入力を行うことでもプロ
グラムの書換えが可能である。When rewriting data in the flash memory 33, rewriting data from an external device is transferred to the serial I / F 3
The program can be rewritten by inputting the write data with the keyboard 41 in addition to the case where the program is sent via 5 or 36.
【0084】なお、このカードリーダ12による磁気カ
ードの読み取りの手順及びフラッシュメモリ33上のプ
ログラムの書換えの手順などは図15に示すフローチャ
ートと同様であり、その処理内容は後述する。The procedure for reading the magnetic card by the card reader 12 and the procedure for rewriting the program in the flash memory 33 are the same as those in the flowchart shown in FIG. 15, and the processing will be described later.
【0085】本実施の形態のカードリーダ12の送信ポ
ート或いは通信ポートとしてのシリアルI/F35、3
6を2つあるうちから選択できるようにしているのは、
ファイリングシステム1の様々な構成の違いに対応させ
るためである。このシステム構成の違いは、主に、使用
するビデオプロセッサ8の仕様の違いから生じるもので
ある。The serial I / Fs 35 and 3 as the transmission port or the communication port of the card reader 12 of this embodiment
The reason that you can choose from two of the six
This is for coping with various differences in the configuration of the filing system 1. This difference in the system configuration mainly arises from the difference in the specifications of the video processor 8 to be used.
【0086】図7を用いてその説明を行う。内視鏡画像
ファイリングシステム1を構成する各装置のうち点線内
の装置は、画像の記録、検索、表示が目的であるこのフ
ァイリングシステム用の装置である。しかし、点線外の
装置は、それ単体でも内視鏡検査を行うことができるも
ので、様々なタイプのものが存在する。The description will be made with reference to FIG. Among the devices constituting the endoscope image filing system 1, the devices within the dotted lines are devices for this filing system for recording, searching, and displaying images. However, devices outside the dotted line can perform endoscopy by themselves, and there are various types.
【0087】よって、点線外の部分の装置に関しては、
様々なタイプのものが使用されることになるが、この場
合、通信ポートが選択でき、接続の仕方等の変更が可能
なカードリーダ12が有用となる。下記、(a)〜
(e)に具体例をもって、カードリーダ12の通信ポー
トを選択使用する例を説明する。Therefore, regarding the device outside the dotted line,
Various types may be used. In this case, a card reader 12 capable of selecting a communication port and changing a connection method or the like is useful. The following (a)-
An example in which a communication port of the card reader 12 is selectively used will be described with a specific example in FIG.
【0088】(a)基本パターンP1(図1、2により
説明した前述のパターン)カードリーダ12はビデオプ
ロセッサ8と接続される。患者データは初回検査時に第
1のキーボード11により入力され、記録装置14に記
録される。2回目からの検査時には、患者IDのみがカ
ードリーダ12より入力され、残りの患者データは記録
装置14に記録してあるものが読み出され内視鏡画像と
合成され、モニタ9上に表示される。(A) Basic pattern P1 (the pattern described above with reference to FIGS. 1 and 2) The card reader 12 is connected to the video processor 8. The patient data is input by the first keyboard 11 at the time of the first examination, and is recorded in the recording device 14. At the time of the second and subsequent examinations, only the patient ID is input from the card reader 12, and the remaining patient data recorded in the recording device 14 is read out and combined with the endoscope image, and displayed on the monitor 9. You.
【0089】カードリーダ12から送信されるのは、患
者IDのみであるので、使用するシリアルI/Fは3
5、36のどちらか1つだけでよく、2つのどちらを使
用しても特に問題はない。Since only the patient ID is transmitted from the card reader 12, the serial I / F used is 3
Either one of 5, 36 may be used, and there is no problem in using either of them.
【0090】(b)パターンP2(カードリーダI/F
25が設けられていないビデオプロセッサ8を使用する
場合)図8、図9にカードリーダ12の接続状態を示
す。カードリーダ12は圧縮伸張装置10のカードリー
ダI/F28と接続される。(B) Pattern P2 (Card Reader I / F)
When using the video processor 8 not provided with 25) FIGS. 8 and 9 show the connection state of the card reader 12. FIG. The card reader 12 is connected to a card reader I / F 28 of the compression / decompression device 10.
【0091】図9に示すようにカードリーダI/F25
が設けられていないビデオプロセッサ8であるので、図
8に示すようにこのシステム1ではカードリーダ12は
圧縮伸張装置10に接続される。As shown in FIG. 9, the card reader I / F 25
, The card reader 12 is connected to the compression / decompression device 10 in this system 1 as shown in FIG.
【0092】この場合の動作は(a)の基本パターンP
1と同様であり、患者IDのみがカードリーダ12より
入力される。また、使用するシリアルI/F35、36
も(a)の基本パターンP1と同様に1つだけでよい。The operation in this case is similar to the operation of the basic pattern P shown in FIG.
As in the case of No. 1, only the patient ID is input from the card reader 12. Also, the serial I / Fs 35 and 36 used
As in the case of the basic pattern P1 in FIG.
【0093】(a)の基本パターンP1と(b)のパタ
ーンP2では、2つあるシリアルI/F35、36のど
ちらを使用してもよいが、この場合は、使用しない方の
ポートを接続してしまうといったユーザの接続ミスが起
こる可能性もある。In the basic pattern P1 of (a) and the pattern P2 of (b), either of the two serial I / Fs 35 and 36 may be used. In this case, the port not used is connected. There is a possibility that a user may make a connection error such as a connection error.
【0094】よって、例えば2つあるI/F35、36
のうちI/F35をビデオプロセッサ接続専用、I/F
36を圧縮伸張装置接続専用のポートとし、使用してい
ない側のポートを用いて接続するといったユーザの接続
ミスを防止するようにしてもよい。Therefore, for example, there are two I / Fs 35 and 36.
Of which is dedicated to video processor connection, I / F
The connection 36 may be a port dedicated to the connection of the compression / expansion device, and a connection error of the user such as connecting using a port not used may be prevented.
【0095】(c)パターンP3(カードリーダ12よ
り患者ID以外の患者データも入力する場合)(a)の
基本パターンP1、(b)のパターンP2は、患者ID
をカードリーダ12で入力するパターンであるが、その
他の患者データ(氏名、生年月日等)もカードリーダ1
2により入力を行ってよい。(C) Pattern P3 (when patient data other than the patient ID is also input from the card reader 12) The basic pattern P1 in (a) and the pattern P2 in (b) are the patient ID.
Is input by the card reader 12, but other patient data (name, date of birth, etc.) is also input to the card reader 1.
2 may be used for input.
【0096】この場合は、初回の検査時にもキーボード
11は使用されない。動作は(a)の基本パターンP
1、(b)のパターンP2と同様であるが、システムで
使用する装置の構成によっては、接続方法が異なる。次
のパターンP4、パターンP5にその1例を示す。In this case, the keyboard 11 is not used even during the first inspection. The operation is the basic pattern P in (a).
1, the pattern P2 is the same, but the connection method differs depending on the configuration of the device used in the system. An example is shown in the following patterns P4 and P5.
【0097】(d)パターンP4(ビデオプロセッサ8
が患者IDのみの入力が可能な仕様の場合)図10と図
11にカードリーダ12の接続状態を示す。カードリー
ダ12はビデオプロセッサ8のカードリーダI/F25
と圧縮伸張装置10のカードリーダI/F28に接続さ
れる。(D) Pattern P4 (video processor 8)
Is a specification that allows input of only the patient ID) FIGS. 10 and 11 show the connection state of the card reader 12. FIG. The card reader 12 is a card reader I / F 25 of the video processor 8.
And the card reader I / F 28 of the compression / expansion device 10.
【0098】2つの装置に接続するためカードリーダ1
2のシリアルI/F35、36の両方が使用される。カ
ードリーダ12からは患者IDの他に氏名、生年月日等
の患者データも送信されるが、ビデオプロセッサ8が患
者IDのみの入力が可能な仕様のため、患者IDのみを
ビデオプロセッサ8側に、残りの患者データを圧縮伸張
装置10側に送信するようにする。Card reader 1 for connecting to two devices
Both serial I / Fs 35 and 36 are used. The card reader 12 also transmits patient data such as name and date of birth in addition to the patient ID. However, since the video processor 8 is capable of inputting only the patient ID, only the patient ID is transmitted to the video processor 8 side. The remaining patient data is transmitted to the compression / decompression device 10.
【0099】圧縮伸張装置10に入力された患者データ
は制御部27を介してビデオプロセッサ8に送信され
る。この様に接続することで、ビデオプロセッサ8が患
者IDのみの入力が可能な仕様であったとしても、全て
の患者データを記録管理することができる。The patient data input to the compression / decompression device 10 is transmitted to the video processor 8 via the control unit 27. With such a connection, even if the video processor 8 has a specification that allows input of only the patient ID, all the patient data can be recorded and managed.
【0100】(e)パターンP5(ビデオプロセッサ8
にてデータの衝突が起こる場合)このパターンもカード
リーダ12から患者ID以外の患者データをも送信する
例であり、上記のパターンP4同様、カードリーダ12
はビデオプロセッサ8と圧縮伸張装置10の両方に接続
される。(E) Pattern P5 (video processor 8)
This pattern is also an example in which patient data other than the patient ID is transmitted from the card reader 12 as in the case of the pattern P4.
Is connected to both the video processor 8 and the compression / decompression device 10.
【0101】カードリーダ12を圧縮伸張装置10には
接続せず、ビデオプロセッサ8のみに患者IDとそれ以
外の患者データも送信した場合、使用する装置の仕様に
よってはデータの衝突が起こる場合があるためこのよう
な接続方法をとっている。When the card reader 12 is not connected to the compression / decompression device 10 and the patient ID and other patient data are transmitted only to the video processor 8, data collision may occur depending on the specifications of the device used. Therefore, such a connection method is adopted.
【0102】このデータ衝突について図2、図5を用い
て説明する。カードリーダ12を圧縮伸張装置10には
接続せず、ビデオプロセッサ8にのみ接続した場合、カ
ードリーダ12で読みとったデータの全てはビデオプロ
セッサ8に入力される。初回検査時は、この入力された
データを制御部26からスーパインポーズ部22に送信
し、画像との合成を行うのみなので特に問題はない。This data collision will be described with reference to FIGS. When the card reader 12 is not connected to the compression / decompression device 10 but is connected only to the video processor 8, all data read by the card reader 12 is input to the video processor 8. At the time of the first inspection, there is no particular problem because the input data is only transmitted from the control unit 26 to the superimposition unit 22 and is synthesized with the image.
【0103】しかし、2回目以降の検査時は、図6で前
述したように、1度、関連情報記録手段57に記録され
た患者データが送信されて自動的に画像と合成されるよ
うになっているため、合成手段52(制御部26、スー
パインポーズ部22)において、カードリーダ12から
送信された患者データと関連情報記録手段57から読み
だされた患者データが衝突することになり、正常に動作
しない場合も考えられる。However, during the second and subsequent examinations, the patient data recorded in the related information recording means 57 is transmitted once and automatically combined with the image, as described above with reference to FIG. Therefore, in the synthesizing unit 52 (the control unit 26 and the superimposing unit 22), the patient data transmitted from the card reader 12 and the patient data read from the related information recording unit 57 collide with each other. May not work.
【0104】例えば、2回目以降の検査かどうかを判断
し、片方の患者データをキャンセルする機能があれば問
題は解消されるが、ビデオプロセッサ8は様々な仕様の
ものが存在し、このような機能を有していないものも多
く、その場合は圧縮伸張装置10側の機能で対応する様
にしている。For example, if there is a function of judging whether or not the examination is the second or later examination and canceling one of the patient data, the problem can be solved. However, the video processor 8 has various specifications. Many do not have a function, and in such a case, the function of the compression / expansion device 10 is used to handle the problem.
【0105】よって、このパターンP5では、患者ID
以外の患者データはカードリーダ12から圧縮伸張装置
10に送信するようにし、患者データは検査が初回であ
るか2回目以降であるかに係わらず圧縮伸張装置10側
からビデオプロセッサ側に入力する様にし、データの衝
突を防いでいる。Therefore, in this pattern P5, the patient ID
The patient data other than the above is transmitted from the card reader 12 to the compression / expansion apparatus 10, and the patient data is input from the compression / expansion apparatus 10 to the video processor irrespective of the first or second examination. To prevent data collisions.
【0106】このようにカードリーダ12は複数の通信
ポートを有し、かつ複数の通信ポートの一方或いは両方
を用いて、データの送信を行う送信プログラム或いは設
定データをフラッシュメモリ33に書き込んでいるの
で、このフラッシュメモリ33の送信プログラムデータ
或いは設定データを書き換えることにより使用するビデ
オプロセッサ8等の機能が異なる等などの場合にも簡単
に対処できる。As described above, the card reader 12 has a plurality of communication ports, and writes a transmission program for transmitting data or setting data to the flash memory 33 using one or both of the plurality of communication ports. It is also possible to easily cope with a case where the function of the video processor 8 or the like to be used is different by rewriting the transmission program data or the setting data of the flash memory 33.
【0107】従って、本実施の形態は以下の効果を有す
る。カードリーダ12にはシリアルI/F35、36が
複数設けられており、また、磁気カードより読み込んだ
各データをどのシリアルI/F35、36を介して送信
するかパターンが可変設定できるので、様々なタイプの
ビデオプロセッサ8等を使用した内視鏡画像ファイリン
グシステム1に接続してデータの入力使用する可能とな
り、汎用性が高いカードリーダ12を提供できる。Therefore, the present embodiment has the following effects. The card reader 12 is provided with a plurality of serial I / Fs 35 and 36, and a pattern can be variably set as to which serial I / Fs 35 and 36 each data read from the magnetic card is transmitted. It becomes possible to input and use data by connecting to the endoscope image filing system 1 using the type video processor 8 and the like, and it is possible to provide the card reader 12 with high versatility.
【0108】前述のように、内視鏡画像ファイリングシ
ステム1には、様々なタイプのビデオプロセッサ8が使
用される可能性があるが、その使用の毎に個々にビデオ
プロセッサ8や圧縮伸張装置10等のハード及びソフト
を改造することは得策ではない。As described above, various types of video processors 8 may be used in the endoscope image filing system 1, and each time the video processors 8 are used, the video processor 8 and the compression / decompression device 10 are individually used. It is not advisable to modify hardware and software such as.
【0109】様々なタイプの接続が可能なように設定変
更が可能としておくのがよいのはもちろんであるが、そ
の際、比較的安価な装置であるカードリーダ12により
設定変更が可能な様にしておけば、安価なカードリーダ
12の追加だけで、新規に設定機能付きビデオプロセッ
サ等の高価な装置を購入する必要もなく、また、既存装
置を使用し続けることも可能であり、コストパフォーマ
ンスに優れる。It is, of course, preferable that the setting can be changed so that various types of connections can be made. At this time, the setting can be changed by the card reader 12 which is a relatively inexpensive device. If this is done, it is not necessary to purchase a new expensive device such as a video processor with a setting function simply by adding an inexpensive card reader 12, and it is also possible to continue using the existing device, and to reduce cost performance. Excellent.
【0110】なお、本実施の形態では、フラッシュメモ
リ33を使用してプログラムの1部が書き換えられるよ
うにし、様々な設定を可能としているが、書換えは行わ
ず、予め複数パターンのプログラムをメモリ上に用意し
ておき、使用の際に複数のパターンのうちから選択を行
う方式としてもよい。In this embodiment, a flash memory 33 is used to rewrite a part of a program so that various settings can be made. However, rewriting is not performed, and a program of a plurality of patterns is stored in the memory in advance. And a method of selecting from a plurality of patterns at the time of use may be used.
【0111】この様にすれば、プログラムの書換えの手
間は減少する。逆にいえば、フラッシュメモリ33を使
用した本実施の形態の場合は、用意されたパターンのみ
ならず、用意されたパターンに限らず、様々なパターン
設定で使用可能になるといえる。By doing so, the trouble of rewriting the program is reduced. Conversely, in the case of the present embodiment using the flash memory 33, it can be said that the flash memory 33 can be used not only with the prepared patterns but also with various pattern settings, not limited to the prepared patterns.
【0112】また、本実施の形態のように、フラッシュ
メモリ33を使用せずとも、ROM32のみを使用し、
プログラム全てをROM32上に記憶させてもデータ送
信のポートの選択設定の変更は不可能ではない。Further, as in the present embodiment, only the ROM 32 is used without using the flash memory 33, and
Even if the entire program is stored in the ROM 32, it is not impossible to change the data transmission port selection setting.
【0113】しかし、この場合は、ROM32上のプロ
グラムでは対応できないパターンで使用する場合には記
憶されているプログラム全てを新たに書き換えることが
必要になり、書換えの際には、カードリーダ12を1度
分解し、基板上のROM32を取りだした上で、ROM
イレーサ、ROMライタ等を使用し、ROM32上のプ
ログラムを書き換える必要がある。However, in this case, if the program stored in the ROM 32 is used in a pattern that cannot be handled, it is necessary to newly rewrite all the stored programs. After disassembling and taking out the ROM 32 on the board,
It is necessary to rewrite the program on the ROM 32 using an eraser, a ROM writer, or the like.
【0114】いわば、再設計、改造であり、その手間は
少ないものとはいえない。設定変更のためプログラムの
1部を書き換えるのであれば、本実施の形態のように、
フラッシュメモリ33のような電気的に記憶されるメモ
リ内容の書換えが可能(勿論消去も可能)なメモリを使
用するのがプログラムを容易に書き換えられるので、よ
り好ましい。In other words, redesign and remodeling are performed, and the time and effort are not small. If a part of the program is rewritten to change the setting, as in this embodiment,
It is more preferable to use a memory such as the flash memory 33 in which electrically stored memory contents can be rewritten (of course, erasable), since the program can be easily rewritten.
【0115】次に第1の実施の形態の変形例を説明す
る。第1の実施の形態ではフラッシュメモリ33上に記
録されているプログラムを書換えることによりシリアル
I/F35、36の選択、設定がシステムに応じた設定
にして使用できるようにしているが、この変形例では使
用する磁気カードに記録されているデータフォーマット
に対応した読み取りを行うことができるようにフラッシ
ュメモリ33上に記録されているプログラム等を書換え
るようにしている。Next, a modification of the first embodiment will be described. In the first embodiment, the selection and setting of the serial I / Fs 35 and 36 can be used according to the system by rewriting the program recorded on the flash memory 33. In the example, a program or the like recorded on the flash memory 33 is rewritten so that reading corresponding to a data format recorded on a magnetic card to be used can be performed.
【0116】磁気カードのデータフォーマットは使用す
る施設各々で記録されているフォーマットが異なるた
め、磁気カードリーダのプログラムは施設毎に用意する
のが通常である。Since the data format of the magnetic card is different in each facility used, the magnetic card reader program is usually prepared for each facility.
【0117】例えば、ID番号のみ使用する施設(図2
2(C)参照)や、患者の名前や、生年月日といった患
者個人のデータ(図22(A),(B)参照)までを含
めて使用する施設がある。また、使用する項目が同じ場
合であっても、それぞれのデータのデータ数や、記録順
序が異なるため、それぞれ異なったプログラムを用意す
る必要がある。For example, a facility using only ID numbers (FIG. 2)
2 (C)), and individual patient data such as the patient's name and date of birth (see FIGS. 22 (A) and (B)). Further, even when the items used are the same, it is necessary to prepare different programs because the number of data and the recording order of each data are different.
【0118】この変形例では磁気カードのデータフォー
マットが異なる場合にも読み取りができるようにフラッ
シュメモリ33,33′上の基本プログラムやテーブル
データを書き換えられるようにしている。In this modification, the basic programs and table data on the flash memories 33 and 33 'can be rewritten so that they can be read even when the data format of the magnetic card is different.
【0119】図12は変形例のカードリーダ62、6
2′を読み取り等ができる使用状態に設定するプログラ
ムを作成したり、作成したプログラムのデータなどを記
録した記録媒体からカードリーダ62、62′にそのデ
ータを送信して各フラッシュメモリ33,33′に書き
込む処理等を行うカードリーダシステム61を示す。FIG. 12 shows a modified card reader 62, 6
A program for setting the use state in which the 2 'can be read is created, or the data is transmitted to the card readers 62, 62' from a recording medium on which data of the created program is recorded, and the flash memories 33, 33 ' 1 shows a card reader system 61 that performs a process of writing data to a card reader.
【0120】このカードリーダシステム61は変形例の
カードリーダ62、62′と、これらのカードリーダ6
2、62′が磁気カード63上のデータを読み取り可能
な状態となるようにそのプログラムを書き込んだりする
例えばノート型のパーソナルコンピュータ(以下、パソ
コンと略記)64と、一方のカードリーダ62′に対し
てはそのROM32Aに書換えプログラムのデータを書
き込むROMライタ66とを有する。The card reader system 61 includes a modified card reader 62, 62 'and a card reader 6
For example, a notebook-type personal computer (hereinafter, abbreviated as a personal computer) 64 for writing a program so that the data on the magnetic card 63 can be read from the magnetic card 63 and a card reader 62 '. And a ROM writer 66 for writing rewrite program data into the ROM 32A.
【0121】なお、図12においてROM32AはRO
M32における書換えプログラムが書き込まれる前のも
のを示す。従って、書換えプログラムが書き込まれた状
態ではROM32で示す。Note that, in FIG.
This shows the state before the rewrite program in M32 is written. Therefore, the state in which the rewrite program is written is indicated by the ROM 32.
【0122】パソコン64は記録媒体としてフロッピデ
ィスク67とCDROM68を装着して使用可能なよう
にフロッピディスクドライブ及びCDROMドライブを
内蔵している。また、図示しないCPU、RAM、RO
M等も内蔵している。また、データ等の入力を行うキー
ボード64aと、表示を行うLCDディスプレイ64b
が設けられている。The personal computer 64 has a built-in floppy disk drive and CDROM drive so that a floppy disk 67 and a CDROM 68 can be used as recording media. In addition, CPU, RAM, RO (not shown)
M etc. are also built in. A keyboard 64a for inputting data and the like, and an LCD display 64b for displaying data.
Is provided.
【0123】このパソコン64は少なくとも1つのシリ
アルI/Fを有し、図12では一方のカードリーダ6
2′のシリアルI/Fとケーブル69で接続され、他方
のカードリーダ62のケーブル69及びROMライタ6
6のケーブル70とは接続されていない。This personal computer 64 has at least one serial I / F, and in FIG.
2 'is connected to the serial I / F by a cable 69, the cable 69 of the other card reader 62 and the ROM writer 6
6 is not connected to the cable 70.
【0124】カードリーダ62は第1の実施の形態のカ
ードリーダ12とハードウェア的には同じ構成である。
但し、図12の状態ではそのROM32は未装着で、R
OM32AがROMライタ66のROM書き込み基板の
ソケットに装着され、この何も書き込まれていないRO
M32Aに書換えプログラムが書き込まれた後にカード
リーダ62に実装される。The card reader 62 has the same hardware configuration as the card reader 12 of the first embodiment.
However, in the state of FIG.
The OM 32A is mounted on the socket of the ROM writing board of the ROM writer 66, and the unwritten RO
After the rewrite program is written in M32A, it is mounted on the card reader 62.
【0125】そして、後述するようにこの書換えプログ
ラムにより動作させてフラッシュメモリ33に基本プロ
グラムとテーブルデータを書き込み、製品として出荷さ
れる。Then, the basic program and the table data are written in the flash memory 33 by operating according to the rewriting program as described later, and the product is shipped as a product.
【0126】或いは、フラッシュメモリ33に基本プロ
グラムとテーブルデータを書き込まないでも、基本プロ
グラムとテーブルデータを書き込んだ記録媒体を添付し
て、製品として出荷し、ユーザ側でこの記録媒体を用い
てパソコン64等のシリアルI/Fを備え、記録媒体の
データを読み取り可能な外部機器によりそのデータをカ
ードリーダ62側に送信してフラッシュメモリ33に基
本プログラムとテーブルデータを書き込むこともでき
る。Alternatively, even if the basic program and the table data are not written in the flash memory 33, a recording medium in which the basic program and the table data are written is attached and shipped as a product, and the user uses the personal computer 64 by using this recording medium. The basic program and the table data can be written in the flash memory 33 by transmitting the data to the card reader 62 side by an external device having a serial I / F and the like, which can read the data of the recording medium.
【0127】一方、カードリーダ62′はメモリとして
ROM32を有しないで、そのメモリはフラッシュメモ
リ33′とRAM34とで構成されている。このフラッ
シュメモリ33′はROM32とフラッシュメモリ33
を合わせたメモリ領域を有し、ROM32とフラッシュ
メモリ33の両機能を有するようにしている。On the other hand, the card reader 62 'does not have the ROM 32 as a memory, and the memory is composed of a flash memory 33' and a RAM. This flash memory 33 'is composed of a ROM 32 and a flash memory 33.
And has both functions of the ROM 32 and the flash memory 33.
【0128】また、カードリーダ62′,62はその前
面にキーボード41とLCD43が設けてある。また、
上面には磁気カード63が挿入される挿入用溝59が設
けてある。The card readers 62 'and 62 are provided with a keyboard 41 and an LCD 43 on the front thereof. Also,
An insertion groove 59 into which the magnetic card 63 is inserted is provided on the upper surface.
【0129】図13(A)及び13(B)はカードリー
ダ62′及びカードリーダ62の各メモリ領域のアドレ
ス割り当て例(つまり、メモリマップ)を示し、パソコ
ン64を介して図示のように書換えプログラム等が書き
込まれることになる。FIGS. 13 (A) and 13 (B) show an example of address assignment (ie, a memory map) of each memory area of the card reader 62 'and the card reader 62. Etc. will be written.
【0130】カードリーダ62′の場合には、全メモリ
領域はフラッシュメモリ33′による領域とRAM34
による領域とからなり、一方カードリーダ62の場合に
は、全メモリ領域はROM32による領域とフラッシュ
メモリ33による領域とRAM34による領域とからな
る。In the case of the card reader 62 ', the entire memory area is the area of the flash memory 33' and the RAM 34 '.
On the other hand, in the case of the card reader 62, the entire memory area is composed of an area of the ROM 32, an area of the flash memory 33, and an area of the RAM.
【0131】また、フラッシュメモリ33′によるメモ
リ領域は書換えプログラムが格納される書換えプログラ
ム領域71と、テーブルデータ領域72と、基本プログ
ラムが格納される基本プログラム領域73とを有する。The memory area of the flash memory 33 'has a rewrite program area 71 for storing a rewrite program, a table data area 72, and a basic program area 73 for storing a basic program.
【0132】一方、カードリーダ62の場合には、RO
M32のメモリ領域が書換えプログラム領域71に使用
され、フラッシュメモリ33のメモリ領域はテーブルデ
ータ領域72と、基本プログラム領域73とを有する。On the other hand, in the case of the card reader 62, the RO
The memory area of M32 is used for the rewrite program area 71, and the memory area of the flash memory 33 has a table data area 72 and a basic program area 73.
【0133】ここで、書換えプログラムはフラッシュメ
モリ33′及び33におけるテーブルデータ領域72及
び基本プログラム領域73の各データを書き換えるプロ
グラムである。Here, the rewrite program is a program for rewriting each data in the table data area 72 and the basic program area 73 in the flash memories 33 'and 33.
【0134】また、基本プログラムは磁気カード63か
ら磁気ヘッド42で読み取ったデータをテーブルデータ
を参照等して解析し、所定のフォーマットに変換するな
どして出力する手順のプログラムである。The basic program is a program of a procedure for analyzing data read from the magnetic card 63 by the magnetic head 42 with reference to table data, converting the data into a predetermined format, and outputting.
【0135】またテーブルデータは基本プログラムによ
り磁気カード63の磁気データを読み取り解析する際に
その読み取られたデータからID情報、名前情報等を分
離するために磁気カード63のデータフォーマットに対
応して必要となる解析用或いは参照用データ等からな
る。The table data is required to correspond to the data format of the magnetic card 63 in order to separate ID information, name information, etc. from the read data when reading and analyzing the magnetic data of the magnetic card 63 by the basic program. And data for analysis or reference.
【0136】より具体的にはテーブルデータ領域72に
は、 a.ID、名前、生年月日、性別等、各々のデータの有
無 b.各々のデータの開始位置 c.各々のデータの長さ d.各々のデータの変換タイプ e.スペースの挿入、削除の有無 f.ハイプンの挿入、削除の有無 といった磁気カード上のデータの解析・把握をするため
の解析用或いは参照用データが記録される。More specifically, in the table data area 72, a. Existence of each data such as ID, name, date of birth, gender, etc. b. Start position of each data c. Length of each data d. Conversion type of each data e. Whether a space is inserted or deleted f. Data for analysis or reference for analyzing and grasping data on the magnetic card, such as presence or absence of hyphen insertion or deletion, is recorded.
【0137】また、RAM34のメモリ領域は磁気カー
ド63から読み取った患者データや計算上使用するデー
タを一時保管するための処理或いは作業に使用される作
業領域74として使用される。The memory area of the RAM 34 is used as a work area 74 used for processing or working for temporarily storing patient data read from the magnetic card 63 and data used for calculation.
【0138】なお、図13におけるフラッシュメモリ3
3′及び33によるアドレスA000からAFFFの領
域は未使用領域であり、基本プログラムを変更した場合
にそのサイズが大きくなった場合には、この未使用領域
を使用することで対応できるようにしている。The flash memory 3 shown in FIG.
The area from address A000 to AFFF by 3 'and 33 is an unused area, and when the size is increased when the basic program is changed, it is possible to cope by using this unused area. .
【0139】そして、書換えプログラム領域71に格納
された書換えプログラムにより図15に示すフローチャ
ートにおけるプログラムの書換え処理S3或いはテーブ
ルの書換え処理S5を行うことにより、施設毎に異なる
データフォーマットの磁気カード63の場合にも、その
データフォーマットの磁気カード63を読み取ることが
できるようにしている。Then, the program rewriting process S3 or the table rewriting process S5 in the flowchart shown in FIG. 15 is performed by the rewriting program stored in the rewriting program area 71, so that the magnetic card 63 having a data format different for each facility. Also, the magnetic card 63 of the data format can be read.
【0140】例えば、使用するデータのデータ数や順序
を変更するといった単純な変更であれば、テーブルデー
タ領域72のテーブルデータのみを変更するだけでよ
い。基本動作にかかわるような、大幅な変更が必要であ
る時は、基本プログラム自体を変更したり、基本プログ
ラムと共に、テーブルデータの変更を行う。For example, in the case of a simple change such as changing the number or order of data to be used, only the table data in the table data area 72 needs to be changed. When a significant change such as that relating to the basic operation is required, the basic program itself is changed or the table data is changed together with the basic program.
【0141】このように、施設の違いによって変更する
部分が異なってくるため、フラッシュメモリ33′或い
は33のメモリ領域は複数のブロック領域(符号71、
72、73等)に分かれており、必要な部分だけの変更
が可能となっている。As described above, since the part to be changed differs depending on the facility, the memory area of the flash memory 33 'or 33 is divided into a plurality of block areas (reference numeral 71,
72, 73, etc.), and only necessary parts can be changed.
【0142】図12のカードリーダシステム61ではカ
ードリーダ62′に対してはパソコン64により、パソ
コンのシリアルI/Fとカードリーダ62′のシリアル
I/F35又は36をケーブル69で接続し、カードリ
ーダ62′側のCPU31に書換えプログラムデータ等
を送り、フラッシュメモリ33′のメモリ領域に書き込
みを行い、図13(A)に示すような書換えプログラム
等が書き込まれるようにする。In the card reader system 61 shown in FIG. 12, a serial interface of the personal computer and a serial interface 35 or 36 of the card reader 62 'are connected to the card reader 62' by a personal computer 64 via a cable 69, and the card reader 62 'is connected. The rewriting program data and the like are sent to the CPU 31 on the 62 'side, and the rewriting program data and the like as shown in FIG. 13A are written in the memory area of the flash memory 33'.
【0143】この書き込みを行う場合、書換えプログラ
ムデータ、テーブルデータ、基本プログラムデータを
(パソコン64で読み取り可能な)記録媒体としてのフ
ロッピディスク67或いはCDROM68に書き込んで
おいて、パソコン64によりこれらのデータをカードリ
ーダ62′側に転送して書き込みを行うようにしても良
い。また、パソコン64内のハードディスクからこれら
のデータを転送して書き込みを行うようにしても良い。
図14(A)ではその1つの例として、フロッピディス
ク67に書換えプログラムデータ、テーブルデータ、基
本プログラムデータを記録した状態を示す。勿論、フロ
ッピディスク67の代わりに或いはフロッピディスク6
7と共に、CDROM68に書換えプログラムデータ等
を記録しても良い。When this writing is performed, the rewriting program data, table data, and basic program data are written to a floppy disk 67 or a CDROM 68 as a recording medium (readable by the personal computer 64), and these data are written by the personal computer 64. The data may be transferred to the card reader 62 'to perform writing. Alternatively, these data may be transferred from the hard disk in the personal computer 64 and written.
FIG. 14A shows a state in which rewrite program data, table data, and basic program data are recorded on a floppy disk 67 as one example. Of course, instead of the floppy disk 67 or the floppy disk 6
Along with 7, rewrite program data and the like may be recorded in the CDROM 68.
【0144】また、書換えプログラムデータを他のデー
タと分離して記録媒体に記録するようにしても良い。例
えば、1枚目のプロッピディスク67aには書換えプロ
グラムデータのみを記録し、2枚目のプロッピディスク
67bにはテーブルデータ及び基本プログラムデータを
記録しておく。図14(B)はこれらのフロッピディス
ク67a及び67bを示す。Further, the rewriting program data may be recorded on a recording medium separately from other data. For example, only the rewriting program data is recorded on the first proppy disc 67a, and table data and basic program data are recorded on the second proppy disc 67b. FIG. 14B shows these floppy disks 67a and 67b.
【0145】そして、まず、1枚目のフロッピディスク
67aの書換えプログラムデータのみをカードリーダ6
2′に(このカードリーダ62′の外部機器としての)
パソコン64を介して転送し、フラッシュメモリ33′
に書換えプログラムのみを書き込む。First, only the rewrite program data of the first floppy disk 67a is transferred to the card reader 6.
2 '(as an external device of the card reader 62')
Transfer via the personal computer 64 and the flash memory 33 '
Write only the rewrite program to.
【0146】そして、この書換えプログラムが書き込ま
れた状態で、カードリーダ62′を再始動してその書換
えプログラムにより動作させ、パソコン64を介して2
枚目のフロッピディスク67bに記録されたテーブルデ
ータ及び基本プログラムデータをカードリーダ62′側
に転送し、フラッシュメモリ33′のテーブルデータ領
域72及び基本プログラム領域73にそれぞれ書き込む
ようにしても良い。With the rewriting program written, the card reader 62 'is restarted and operated by the rewriting program.
The table data and the basic program data recorded on the second floppy disk 67b may be transferred to the card reader 62 'and written into the table data area 72 and the basic program area 73 of the flash memory 33'.
【0147】なお、2枚目のフロッピディスク67bに
テーブルデータ及び基本プログラムデータを記録した場
合で説明したが、2枚目のプロッピディスクにテーブル
データを記録し、3枚目のフロッピディスクに基本プロ
グラムデータを記録しておいて、2枚目のフロッピディ
スク及び3枚目のフロッピディスクを用いてフラッシュ
メモリ33′のテーブルデータ領域72及び基本プログ
ラム領域73に書き込むようにしても良い。Although the description has been made of the case where the table data and the basic program data are recorded on the second floppy disk 67b, the table data is recorded on the second floppy disk and the basic data is recorded on the third floppy disk. The program data may be recorded and written into the table data area 72 and the basic program area 73 of the flash memory 33 'using the second and third floppy disks.
【0148】このカードリーダ62′ではROM32を
設けていないでそのROM32に書き込まれるプログラ
ムを書換え可能なフラッシュメモリ33′に書き込むよ
うにしているので、製造メーカ側ではROMライタを用
いることなく、書換えプログラムを簡単にフラッシュメ
モリ33′に書き込み、製品として出荷できる。In this card reader 62 ', the ROM 32 is not provided and the program to be written in the ROM 32 is written in the rewritable flash memory 33'. Can be easily written in the flash memory 33 'and shipped as a product.
【0149】また、この書換えプログラムをフラッシュ
メモリ33′に書き込み、図14(A)或いは(B)の
ような記録媒体を添付して出荷し、ユーザ側で必要な基
本プログラムデータ及びテーブルデータを書き込むよう
にすることもできる。The rewriting program is written in the flash memory 33 ', shipped with a recording medium as shown in FIG. 14A or 14B, and the basic program data and table data required by the user are written. You can also do so.
【0150】或いは、書換えプログラムも書き込まない
状態で、図14(A)或いは(B)のような記録媒体を
添付して出荷し、ユーザ側で必要な書換えプログラム、
基本プログラムデータ及びテーブルデータを書き込むよ
うにすることもできる。Alternatively, a recording medium as shown in FIG. 14A or FIG. 14B is attached and shipped without writing the rewriting program, and the rewriting program required by the user is
Basic program data and table data can also be written.
【0151】なお、カードリーダ62′のフラッシュメ
モリ33′に少なくとも書換えプログラム領域71が形
成されるように書換えプログラムデータを転送して書換
えを行うには、カードリーダ62′を始動させた場合に
外部機器からシリアルにデータを受け取り、フラッシュ
メモリ33′の書換えプログラム領域71にデータを書
き込む動作を行う状態に設定することが必要となる。In order to transfer and rewrite the rewrite program data so that at least the rewrite program area 71 is formed in the flash memory 33 'of the card reader 62', an external device must be used when the card reader 62 'is started. It is necessary to set a state in which data is serially received from the device and an operation of writing data to the rewrite program area 71 of the flash memory 33 'is performed.
【0152】このためには、最初はカードリーダ62′
のキーボード41からコマンドデータを入力し、外部機
器からシリアルにデータを受け取り、フラッシュメモリ
33′の書換えプログラム領域71にデータを書き込む
動作を行うことができる状態に設定する。For this purpose, first, the card reader 62 'is used.
Command data is input from the keyboard 41 of the flash memory 33 ', the data is serially received from the external device, and the data is written to the rewrite program area 71 of the flash memory 33'.
【0153】或いは、このような動作を行うプログラム
(ここでは初期動作プログラムと呼ぶ)をフラッシュメ
モリ33′の書換えプログラム領域71に予め書き込ん
でおき、書換えプログラムデータを受け取った場合に
は、最初に書き込まれている初期動作プログラムを消去
して、書換えプログラムデータで書換えることにより書
換えプログラム領域71に書換えプログラムデータが形
成されるようにしても良い。Alternatively, a program for performing such an operation (hereinafter referred to as an initial operation program) is previously written in the rewrite program area 71 of the flash memory 33 ', and when rewrite program data is received, the program is written first. The rewriting program data may be formed in the rewriting program area 71 by erasing the initial operation program and rewriting the rewriting program data with the rewriting program data.
【0154】或いは、フラッシュメモリ33′にこのよ
うな初期動作プログラムを書き込んでおく代わりに最初
に予め書換えプログラム領域71が形成された状態のフ
ラッシュメモリ33′をカードリーダ62′に実装する
ようにしても良い。この場合にはこの書換えプログラム
により、テーブルデータ領域72及び基本プログラム領
域73にテーブルデータ及び基本プログラムを書き込む
ことができる。Alternatively, instead of writing such an initial operation program in the flash memory 33 ', the flash memory 33' in which the rewrite program area 71 is formed in advance is mounted on the card reader 62 '. Is also good. In this case, the table data and the basic program can be written in the table data area 72 and the basic program area 73 by the rewriting program.
【0155】或いは、カードリーダ62′にフロッピデ
ィスク等の記録媒体を装着することができるI/F(イ
ンタフェイス)を設け、記録媒体に記録した初期動作プ
ログラムの機能に相当するプログラムを起動するように
しても良い。そして、この記録媒体或いは他の記録媒体
に記録した書換えプログラム等をフラッシュメモリ3
3′に書き込むようにしても良い。Alternatively, the card reader 62 'is provided with an I / F (interface) on which a recording medium such as a floppy disk can be mounted, and a program corresponding to the function of the initial operation program recorded on the recording medium is started. You may do it. Then, the rewriting program or the like recorded on this recording medium or another recording medium is stored in the flash memory 3.
3 'may be written.
【0156】一方、カードリーダ62の場合にはパソコ
ン64とROMライタ66とをケーブル70で接続し、
パソコン64から書換えプログラムデータをROMライ
タ66に送り、ROM32Aに書換えプログラムデータ
を書き込む。On the other hand, in the case of the card reader 62, the personal computer 64 and the ROM writer 66 are connected by the cable 70,
The rewrite program data is sent from the personal computer 64 to the ROM writer 66, and the rewrite program data is written to the ROM 32A.
【0157】この場合にも、上述の例えば1枚目のフロ
ッピディスク67aに記録した書換えプログラムデータ
をROMライタ66に送り、ROM65にこの書換えプ
ログラムデータを書き込むようにしても良い。Also in this case, the rewriting program data recorded on the first floppy disk 67a, for example, may be sent to the ROM writer 66, and the rewriting program data may be written into the ROM 65.
【0158】そして、この書換えプログラムデータを書
き込まれたROM32をカードリーダ62に実装する。
そして、このROM32により、書換えプログラムを動
作させて、カードリーダ62′で説明したのと同様に、
フラッシュメモリ33のテーブルデータ領域72及び基
本プログラム領域73にそれぞれテーブルデータ及び基
本プログラムデータを書き込むことができる。このよう
にして図13(B)のメモリマップが形成される。Then, the ROM 32 in which the rewrite program data is written is mounted on the card reader 62.
Then, the rewriting program is operated by the ROM 32, and as described in the card reader 62 ',
The table data and the basic program data can be written in the table data area 72 and the basic program area 73 of the flash memory 33, respectively. Thus, the memory map of FIG. 13B is formed.
【0159】次に、図15のフローチャートを用いてフ
ラッシュメモリ33に書換えプログラムを書き込んだ
り、磁気カード63を読み取る処理の手順を説明する。
具体的にはカードリーダ62の場合で説明する(書換え
プログラムがROM32でなく、フラッシュメモリ3
3′の先頭側に形成されていることを除けば、カードリ
ーダ62′の場合も同様である)。Next, the procedure for writing a rewrite program in the flash memory 33 and reading the magnetic card 63 will be described with reference to the flowchart of FIG.
Specifically, the case of the card reader 62 will be described (the rewriting program is not the ROM 32 but the flash memory 3).
The same applies to the card reader 62 'except that it is formed at the head of 3').
【0160】まず、電源が投入された場合、ステップS
1のROM32内の書換えプログラムがスタートする。
つまり、この書換えプログラムに従ってCPU31は動
作し、ステップS2で基本プログラムを書き換えるプロ
グラム書換えモードであるか否かをキーボード41にお
ける特定のキー、ここでは指定キーAが押されているか
否かで判断する。First, when the power is turned on, step S
The rewriting program in one ROM 32 starts.
That is, the CPU 31 operates in accordance with the rewriting program, and determines in step S2 whether or not the current mode is the program rewriting mode for rewriting the basic program based on whether or not a specific key on the keyboard 41, here, the designation key A is pressed.
【0161】そして、この指定キーAが押されていると
判断した場合にはプログラム書換えモードの処理、つま
りプログラム書換え処理S3を実行する。一方、指定キ
ーAが押されていないと判断した場合にはステップS4
でテーブルデータを書き換えるテーブル書換えモードで
あるか否かをキーボード41における特定のキー、ここ
では指定キーBが押されているか否かで判断する。If it is determined that the designation key A has been pressed, the program rewriting mode process, that is, the program rewriting process S3 is executed. On the other hand, if it is determined that the designation key A has not been pressed, the process proceeds to step S4.
Is determined based on whether or not a specific key on the keyboard 41, here, the designation key B, is pressed.
【0162】そして、この指定キーBが押されていると
判断した場合にはテーブル書換えモードの処理、つまり
テーブル書換え処理S5を実行する。一方、指定キーB
が押されていないと判断した場合には通常モードの処
理、つまり通常読み取り処理S6を実行する。If it is determined that the designation key B has been pressed, processing in the table rewriting mode, that is, table rewriting processing S5 is executed. On the other hand, the designation key B
If it is determined that is not pressed, processing in the normal mode, that is, normal reading processing S6 is executed.
【0163】つまり図15のフローチャートでは、キー
ボード41上の指定キーA,Bが押されているか否かに
より書き換えモードであるか通常モードで有るかを判断
し、指定キーA又はBが押されている場合にはフラッシ
ュメモリ33の書換えを行い、押されていない場合には
通常モードの動作を行う。通常モードである場合は、磁
気カード63の磁気テープ75のデータを読み取るいわ
ゆる磁気カードリーダとしての動作が始まる。That is, in the flowchart of FIG. 15, it is determined whether the mode is the rewrite mode or the normal mode based on whether or not the designation keys A and B on the keyboard 41 are pressed. If it is, the flash memory 33 is rewritten, and if it is not pressed, the operation in the normal mode is performed. In the case of the normal mode, an operation as a so-called magnetic card reader for reading data on the magnetic tape 75 of the magnetic card 63 starts.
【0164】このように、ROM32には図15のステ
ップS1からS5までの処理を行うプログラムデータが
書き込まれている。一方、フラッシュメモリ33の基本
プログラム領域73にはステップS6の処理(少なくと
もステップS6におけるステップS17からS22の処
理)を行う基本プログラムが書き込まれている。上記モ
ードの判断には、キーボード41上の指定キーA,Bが
押されているか否かの判断による場合の他に、例えば次
のような手段で形成しても良い。As described above, the program data for performing the processing of steps S1 to S5 in FIG. 15 is written in the ROM 32. On the other hand, in the basic program area 73 of the flash memory 33, a basic program for performing the processing of step S6 (at least the processing of steps S17 to S22 in step S6) is written. The determination of the mode may be made by the following means, for example, in addition to the determination of whether or not the designation keys A and B on the keyboard 41 are pressed.
【0165】(1)電源投入後、データの入力が(磁気
ヘッドI/F38)と(シリアルI/F35、36)の
どちらかで発生するかを監視して決定する。 (2)データ入力を監視して所定のコマンドが入力され
た場合に、書換えモードに移行する(ポーリング)。 (3)データ入力を監視して所定のコマンドが入力され
た場合に、書換えモードに移行する(割り込み)。 (4)所定のスイッチが入力された場合はいつでも書換
えモードに移行する。 次に各モードでの処理を説明する。(1) After the power is turned on, it is monitored to determine which of the (magnetic head I / F 38) and the (serial I / F 35, 36) the data input occurs. (2) When data input is monitored and a predetermined command is input, the mode shifts to the rewrite mode (polling). (3) When data input is monitored and a predetermined command is input, the mode shifts to the rewrite mode (interrupt). (4) Whenever a predetermined switch is input, the mode shifts to the rewrite mode. Next, processing in each mode will be described.
【0166】ステップS3のプログラム書換えモードに
移行した場合には、CPU31はステップS7のフラッ
シュメモリ33の基本プログラム領域73のデータ消去
を行う。そして、シリアルI/F35又は36を介して
外部から送信されるデータの有無を判断し(ステップS
8参照)、送信されたデータが存在する場合にはステッ
プS9で消去が行われた基本プログラム領域73に対し
て、送信されたデータの書込み処理を行い、送信された
データがない場合には送信されるデータを待つ。When the program shifts to the program rewriting mode in step S3, the CPU 31 erases data in the basic program area 73 of the flash memory 33 in step S7. Then, it is determined whether there is data transmitted from the outside via the serial I / F 35 or 36 (step S).
8), the transmitted data is written to the basic program area 73 erased in step S9 when the transmitted data exists, and transmitted when there is no transmitted data. Wait for data to be sent.
【0167】データの書込み処理を行う場合シリアルI
/F35又は36を通して外部機器としてのパソコン6
4等から書換えに必要なデータを送り込み、データ受信
のチェックはカードリーダ62側のCPU31で行って
いる。When performing data write processing, the serial I
PC 6 as external device through / F 35 or 36
4 and the like, necessary data is sent for rewriting, and data reception is checked by the CPU 31 on the card reader 62 side.
【0168】そして、送られるデータの終わりか否かを
CPU31は判断し(ステップS10)、終わりで無け
れば、ステップS8に戻りデータの書込み処理を繰り返
す。そして、データの終わりと判断した場合にはステッ
プS11に移り、プログラム書換えを終了し、その完了
したことを通知する。Then, the CPU 31 determines whether or not the data to be sent is the end (step S10), and if not, returns to step S8 and repeats the data writing process. If it is determined that the data has ended, the process proceeds to step S11 to end the program rewriting and notify that the rewriting has been completed.
【0169】この通知はCPU31がLED44或いは
ブザー45で告知したり、LCD43で書換えが完了し
た表示で告知する。そして、ステップS6の通常モード
での動作を開始する。The notification is made by the CPU 31 by the LED 44 or the buzzer 45 or by the LCD 43 indicating that rewriting has been completed. Then, the operation in the normal mode of step S6 is started.
【0170】一方、ステップS4でテーブル書換えモー
ドと判断された場合には、ステップS12のフラッシュ
メモリ33のテーブルデータ領域73の消去を行う。そ
して、外部から送信されるデータの有無を判断し(ステ
ップS13参照)、送信されたデータがある場合にはス
テップS14で消去が行われたテーブルデータ領域72
に対し、送信されたデータの書込みを行う。On the other hand, if it is determined in step S4 that the mode is the table rewriting mode, the table data area 73 of the flash memory 33 is erased in step S12. Then, it is determined whether there is data transmitted from the outside (see step S13). If there is data transmitted, the table data area 72 deleted in step S14 is determined.
, The transmitted data is written.
【0171】データの書込みはシリアルI/F35又は
36を通してパソコン64等から必要なデータを送り込
み、データ受信のチェックはカードリーダ62側のCP
U31で行っている。For data writing, necessary data is sent from the personal computer 64 or the like through the serial I / F 35 or 36, and data reception is checked by the CP of the card reader 62 side.
It is done in U31.
【0172】そして、送られるデータの終わりか否かを
CPU31は判断し(ステップS15)、終わりで無け
れば、ステップS13に戻り、データの書込み処理を繰
り返す。そして、データの終わりと判断した場合にはス
テップS16でテーブル書換えを完了し、その完了した
ことを通知する。この通知はCPU31がLED44或
いはブザー45で告知したり、LCD43で書換えが完
了した表示で告知する。そして、ステップS6の通常モ
ードでの動作を開始する。Then, the CPU 31 determines whether or not the data to be sent is the end (step S15), and if not, returns to the step S13 to repeat the data writing process. If it is determined that the data has ended, the table rewriting is completed in step S16, and the completion is notified. This notification is notified by the CPU 31 by the LED 44 or the buzzer 45 or by a display on the LCD 43 that the rewriting is completed. Then, the operation in the normal mode of step S6 is started.
【0173】通常モードの処理ではCPU31はステッ
プS17の磁気ヘッド42により磁気カード63の磁気
テープ部分のデータ読み取りを行わせる。そして、次の
ステップS18で磁気ヘッド42で読み取られたデータ
が有るか否かを判断し、データが無い場合にはステップ
S17のデータ読み取りの処理に戻る。In the normal mode processing, the CPU 31 causes the magnetic head 42 in step S17 to read data from the magnetic tape portion of the magnetic card 63. Then, in the next step S18, it is determined whether or not there is data read by the magnetic head 42. If there is no data, the process returns to the data reading process in step S17.
【0174】データが有る場合には次のステップS19
でテーブルデータを参照するなどしてデータの解析及び
変換を行う。つまり、テーブルデータを参照することに
より、読み取られたデータのID番号、名前等のデータ
の順序とか、そのバイト数等の情報によりそれらを解析
してID番号、名前等を分離して所定のフォーマットの
データに変換する。If there is data, the next step S19
The data is analyzed and converted by referring to the table data. In other words, by referring to the table data, the order of the data such as the ID number and name of the read data and the information such as the number of bytes thereof are analyzed to separate the ID number and the name and the like to obtain a predetermined format. To the data.
【0175】また、次のステップS20で変換されたデ
ータがテーブルデータに書き込まれているデータと整合
しているか否かを判断する。そして、例えばID番号の
バイト数がテーブルデータの情報よりも多すぎたり少な
すぎる等で整合しないと判断した場合には、読み取りエ
ラーが発生したのでもう一度読み取るためにカードを挿
入して下さいという表示等のエラー処理を行い、ステッ
プS17に戻り、再度読み取りを行う。It is determined whether the data converted in the next step S20 is consistent with the data written in the table data. If the number of bytes of the ID number is determined to be inconsistent because the number of bytes is too large or small compared to the information in the table data, a reading error has occurred and a message such as inserting a card to read again is displayed. Is performed, the process returns to step S17, and reading is performed again.
【0176】一方、整合すると判断した場合には、ステ
ップS22に示すように変換されたデータを出力する処
理を行う。つまり、CPU31は読み取ったデータをL
CDI/F39を介してLCD43に出力し、ID番号
等を表示すると共に、カードリーダ62が接続されたビ
デオプロセッサ8等の機器に対してデータ出力を行う。On the other hand, if it is determined that they match, processing for outputting the converted data is performed as shown in step S22. That is, the CPU 31 sets the read data to L
The data is output to the LCD 43 via the CDI / F 39 to display the ID number and the like, and the data is output to a device such as the video processor 8 to which the card reader 62 is connected.
【0177】この際、ステップS23に示すようにデー
タ出力が正常に行われたか否かを判断する。つまり、接
続された機器から返されてくる受信信号を監視して出力
に成功したか、失敗したかを判断する。At this time, it is determined whether or not the data output is normally performed as shown in step S23. That is, the reception signal returned from the connected device is monitored to determine whether the output has succeeded or failed.
【0178】そして、成功した場合にはステップS18
に戻り、読み取ったデータを出力する処理を繰り返す。
一方、出力に失敗した場合は、成功するまで3回のデー
タ出力を繰り返す。つまり、ステップS24で出力失敗
の回数nが3か否かを判断し、2回までの場合にはnを
1つ増加させ(ステップS25)、ステップS22に戻
り、データ出力を繰り返す。If the operation is successful, step S18
And the process of outputting the read data is repeated.
On the other hand, if the output fails, the data output is repeated three times until the output succeeds. That is, in step S24, it is determined whether or not the number n of output failures is three. If the number n is two or less, n is incremented by one (step S25), and the process returns to step S22 to repeat data output.
【0179】3回の出力を行ってもデータの出力が失敗
である場合は、出力失敗の回数nを0の初期値に戻し
(ステップS26)、ステップS21のエラー処理を
し、再度ステップS17のデータ読み取りのチェックに
入る。If the data output fails even after performing the output three times, the number n of output failures is returned to the initial value of 0 (step S26), the error processing in step S21 is performed, and the error processing in step S17 is performed again. Check the data reading.
【0180】図15の具体的では、データ出力を繰り返
す回数を3回として説明したが、上述したように、フラ
ッシュメモリ33上のテーブルデータを書き換えること
により、その回数を変更可能である。In FIG. 15, the number of times data output is repeated is described as three times. However, as described above, the number of times can be changed by rewriting the table data in the flash memory 33.
【0181】このようにフラッシュメモリ33はブロッ
ク化された領域単位で消去、書き換えが可能であるた
め、図15のフローチャートに示すように、基本プログ
ラムのみの書き換え、又はテーブルデータのみの書き換
えが可能である。As described above, since the flash memory 33 can be erased and rewritten in units of blocks, it is possible to rewrite only the basic program or only the table data as shown in the flowchart of FIG. is there.
【0182】従って、カードリーダ62ではROM32
上に(カードリーダ62′ではフラッシュメモリ上に)
書き込んだ書換えプログラムにより、基本プログラムと
テーブルデータを更新可能としているので、膨大な数の
パターンが存在する各施設別の設定を行うことが可能と
なっている。Therefore, in the card reader 62, the ROM 32
Up (on flash memory for card reader 62 ')
Since the basic program and the table data can be updated by the written rewriting program, it is possible to perform setting for each facility where an enormous number of patterns exist.
【0183】また、カードリーダ62では書き換えプロ
グラムはROM32上に記録されており、この書き換え
プログラムのみは消去や更新が不可能な状態で記録され
ているので、メモリ内容消失による全くの動作不可能な
状態は起こり得ない(フラッシュメモリ33の基本プロ
グラムやテーブルデータの更新を行うことですぐに動作
可能な状態に復活する)。In the card reader 62, the rewriting program is recorded on the ROM 32, and only this rewriting program is recorded in a state in which erasing and updating cannot be performed. The state cannot occur (the basic program and the table data of the flash memory 33 are updated to be immediately operable by updating the table data).
【0184】なお、図12のROMライタ66はカード
リーダ62の製造メーカ側でROM32に書換えプログ
ラムを書き込むのに使用するもので、書換えプログラム
が書き込まれたROM32が実装されたカードリーダ6
2を使用するユーザ側では必要とされるものでない。The ROM writer 66 shown in FIG. 12 is used by the manufacturer of the card reader 62 to write a rewrite program in the ROM 32. The card writer 66 having the ROM 32 in which the rewrite program is written is mounted.
It is not required on the user side of using 2.
【0185】一方、カードリーダ62′の場合には書き
換えプログラムはフラッシュメモリ33′上に記録され
るので、誤操作等でその書換えプログラムを消失させる
等の可能性があるが、その場合でも、ROMライタ66
のような特殊な装置を用いることなく、図14等に示す
書換えプログラムを記録したフロッピディスク67,6
7a等の記録媒体を用いてパソコン64を介して送信す
ることにより再度書き込むことができる。On the other hand, in the case of the card reader 62 ', since the rewriting program is recorded on the flash memory 33', there is a possibility that the rewriting program is lost due to an erroneous operation or the like. 66
Floppy disks 67 and 6 storing the rewriting program shown in FIG.
The data can be written again by transmitting it through the personal computer 64 using a recording medium such as 7a.
【0186】なお、フラッシュメモリ33′として書換
えプログラムを記憶する第1のフラッシュメモリと基本
プログラム及びテーブルデータを記憶する第2のフラッ
シュメモリとを別体にして、第1のフラッシュメモリに
書換えプログラムを書き込んだ後には、第1のフラッシ
ュメモリを書換えを禁止するモードに設定する(例え
ば、ディップスイッチなどによる設定)ことにより、書
換えプログラムを消失させることを防止するようにして
も良い。The rewriting program is stored in the first flash memory separately from the first flash memory storing the rewriting program as the flash memory 33 'and the second flash memory storing the basic program and the table data. After writing, the first flash memory may be set to a mode in which rewriting is prohibited (for example, setting by a dip switch or the like) to prevent the rewriting program from being lost.
【0187】施設毎の設定を行うのであれば主にテーブ
ルデータを更新するのみで読み取り可能に設定できる
が、例えばデータの読み取り部分のハードウェアを追加
し、シリアルI/Fにバーコード読み取りセンサを接続
する等すれば、基本プログラムを更新することにより磁
気カードリーダとしてだけでなく、バーコードリーダと
して動作させることも可能である。If the setting is made for each facility, it can be set to be readable by mainly updating the table data. However, for example, hardware for the data reading portion is added, and a barcode reading sensor is provided for the serial I / F. If connected, the basic program can be updated to operate not only as a magnetic card reader but also as a barcode reader.
【0188】この変形例によれば磁気カード63のデー
タの記録フォーマットが異なる場合にもフラッシュメモ
リ33或いは33′上の読み取りの基本プログラムやテ
ーブルデータを書き換えることにより読み取ることがで
きる。According to this modification, even when the data recording format of the magnetic card 63 is different, the data can be read by rewriting the basic program and table data for reading on the flash memory 33 or 33 '.
【0189】従来は、プログラムを変更する場合は、R
OM上のプログラムの焼き直しを行っていたため、カー
ドリーダ筐体の開閉やねじの取りはずしが必要であり、
またROMの抜き差しも必要であるため物理的な交換時
間が非常に長かったが、本変形例ではシリアルI/F3
5又は36のコネクタ部を介して外部装置よりデータを
送信するだけでよいため作業時間を短縮できる。Conventionally, when a program is changed, R
Since the program on the OM was reworked, it was necessary to open and close the card reader housing and remove the screws.
Also, the physical replacement time was very long because it was necessary to remove and insert the ROM, but in this modification, the serial I / F3
Since it is only necessary to transmit data from an external device via the connector section 5 or 36, the work time can be reduced.
【0190】また、従来例ではROMを交換する場合
は、ROMにプログラムを書き込むための特別な装置
(ROMライタ)が必要であるが、本変形例によれば、
一般的に使用されているパソコン64などのデータ送受
が可能な装置があれば設定の変更が可能である。In the conventional example, when replacing the ROM, a special device (ROM writer) for writing a program to the ROM is required.
If there is a commonly used device such as a personal computer 64 capable of transmitting and receiving data, the setting can be changed.
【0191】従って、本実施の形態及びその変形例によ
れば、プログラムの変更とか設定の変更が容易で、作業
性及び生産性が良いカードリーダ12、62、62′を
提供できる。Therefore, according to the present embodiment and its modifications, it is possible to provide the card readers 12, 62, and 62 'which can easily change the program and the settings, and have good workability and productivity.
【0192】なお、図15のフローチャートにおいて、
基本プログラム書換え処理S3の後にテーブル書換え処
理S5を引き続いて行う書換え処理を行うモードを設け
るようにしても良い。Note that in the flowchart of FIG.
A mode may be provided in which a table rewriting process S5 is performed after the basic program rewriting process S3.
【0193】また、テーブルデータの書換えを行う場合
には1つのデータフォーマットに対しても読み取りがで
きるようにテーブルデータ領域72に書き込むデータを
選択できるようにしても良いが、複数の異なるデータフ
ォーマットに対しても読み取りができるようにテーブル
データ領域72に書き込むデータを選択できるようにし
ても良い。When the table data is rewritten, the data to be written in the table data area 72 may be selected so that the data can be read even in one data format. Alternatively, data to be written to the table data area 72 may be selected so that the data can be read.
【0194】例えば、同じ施設においても、最初の頃に
使用した古い磁気カードの場合とは異なるデータフォー
ッマトの磁気カードを新しく使用する場合も考えられる
ので、そのような場合にはいずれの磁気カードでもテー
ブルデータ等の書換えを行うことなく、読み取りができ
ることが望ましいためである。For example, even in the same facility, a new magnetic card of a data format different from the old magnetic card used at the beginning may be used. In such a case, any magnetic card is used. However, it is desirable to be able to read without rewriting the table data or the like.
【0195】このような場合はデータフォーッマトが異
なるとしてもデータ項目数が増えるような比較的単純な
変更であるので、大幅な変更を必要としないで対応する
ことが可能になる。Such a case is a relatively simple change that increases the number of data items even if the data format is different, and therefore can be dealt with without requiring a large change.
【0196】(第2の実施の形態)第1の実施の形態で
は図3に示すカードリーダ12のフラッシュメモリ33
上に記録されているプログラムの書換え機能を利用して
使用するシリアルI/Fの選択、設定が可能とし、その
変形例では使用する磁気カード63のデータフォーマッ
トが異なる場合にも対応できるようにした。(Second Embodiment) In the first embodiment, the flash memory 33 of the card reader 12 shown in FIG.
The serial I / F to be used can be selected and set by using the rewriting function of the program recorded above, and in a modified example, it is possible to cope with the case where the data format of the magnetic card 63 to be used is different. .
【0197】本実施の形態では使用するシリアルI/F
の選択、設定が可能とすると共に、磁気カード63のデ
ータフォーマットが異なる場合にも対応できるように
し、さらにこの他に、以下の(1)〜(4)の事項を設
定可能としている。In this embodiment, the serial I / F used
Can be selected and set, and it is possible to cope with the case where the data format of the magnetic card 63 is different. In addition, the following items (1) to (4) can be set.
【0198】(1)LED、ブザーによるユーザへの事
象通知方法 (2)LCDの表示方法 (3)データ送信のプロトコル (4)使用する磁気ヘッドのタイプ別設定 同様に、LEDやブザーなどのユーザへの通知方法やデ
ータ通信のプロトコルまたは使用する磁気ヘッドのタイ
プ別設定も変更が可能となっている。(1) Method of notifying an event to the user by LED and buzzer (2) Display method of LCD (3) Protocol of data transmission (4) Setting by type of magnetic head to be used It is also possible to change the notification method, the data communication protocol, and the setting for each type of magnetic head to be used.
【0199】上記(1)〜(4)の事項を設定可能にす
る事により以下の効果があり汎用性が高くなる。By making it possible to set the above items (1) to (4), the following effects are obtained and the versatility is improved.
【0200】(a)使用環境や好みにあわせて設定が行
うことができ、使用効率や使用効果を高めることができ
る。(A) Settings can be made in accordance with the use environment and preferences, and the use efficiency and use effect can be improved.
【0201】(b)使用する環境やユーザごとに必要な
情報のフォーマットが異なる可能性は高いが、これに合
わせた様々な形式のデータフォーマットに対応が可能で
ある。(c)様々な通信設定が可能であり、通信相手や
方法の限定が少なくなる。(B) There is a high possibility that the format of necessary information differs depending on the environment used and the user, but it is possible to cope with various data formats according to this. (C) Various communication settings are possible, and the limitation on communication partners and methods is reduced.
【0202】(d)磁気カードの規格は複数存在してお
り、使用する規格によって使用する磁気ヘッドも異なる
が、どのタイプの磁気ヘッドを使用しても対応が可能で
ある。(e)設定を変更する場合も、全てのプログラム
を変更せず、必要な部分のみの変更で済むため、書き換
えに必要な時間が短縮される。(D) There are a plurality of magnetic card standards, and the magnetic head to be used differs depending on the standard to be used, but any type of magnetic head can be used. (E) Even when the setting is changed, only the necessary parts need to be changed without changing all the programs, so that the time required for rewriting is reduced.
【0203】従来は、プログラムを変更する場合は、R
OM上のプログラムの焼き直しを行っていたため、筐体
の開閉やねじの取りはずしが必要であり、またROMの
抜き差しも必要であるため物理的な交換時間が非常に長
かったが、本実施の形態ではコネクタ部よりデータを送
信するだけでよいため作業時間が短縮される。Conventionally, when a program is changed, R
Although the program on the OM was reworked, it was necessary to open and close the housing and remove the screws, and it was necessary to insert and remove the ROM, so the physical replacement time was very long. In this case, it is only necessary to transmit data from the connector part, so that the work time is reduced.
【0204】従来のように、ROMを交換する場合は、
ROMにプログラムを書き込むための特別な装置(RO
Mライター)が必要であるが、本実施の形態では一般的
に使用されているノートパソコンなどのデータ送受が可
能な装置があれば設定の変更が可能である。When replacing the ROM as in the past,
Special device for writing programs to ROM (RO
M writer) is required, but in the present embodiment, the setting can be changed if there is a device that can transmit and receive data, such as a generally used notebook personal computer.
【0205】(第3の実施の形態)第1の実施の形態で
は、カードリーダ12は、図3において、キーボード4
1を有しており、数字、カナ文字、英字等データの入力
等が可能となっている。本実施の形態は、このキーボー
ド41に「レリーズ」キーと「検査終了」キーと「検
索」キーを設けた点で第1の実施の形態と異なる。(Third Embodiment) In the first embodiment, the card reader 12 shown in FIG.
1, which enables input of data such as numbers, kana characters, and English characters. This embodiment is different from the first embodiment in that the keyboard 41 is provided with a "release" key, an "examination end" key, and a "search" key.
【0206】図16にキーボード41のキー構成を示
す。キーボード41は4×4の16キーで構成されてお
り、41a〜41jの各キーには複数の文字が割り当て
られている。41kは確定入力キーであり、41mはカ
ナ/英/小文字選択キーであり、41nはバックスペー
スキーである。41o〜41qはファンクションキーで
あり、本実施の形態では3つのファンクションキー41
o〜41qにそれぞれ「レリーズ」「検査終了」「検
索」キーを設定している。その他は第1の実施の形態等
と同様の構成である。FIG. 16 shows the key configuration of the keyboard 41. The keyboard 41 is composed of 16 4 × 4 keys, and a plurality of characters are assigned to each of the keys 41a to 41j. 41k is a confirmation input key, 41m is a Kana / English / lowercase selection key, and 41n is a backspace key. 41o to 41q are function keys, and in the present embodiment, three function keys 41
“Release”, “Examination end”, and “Search” keys are set for o to 41q, respectively. Other configurations are the same as those of the first embodiment.
【0207】次に作用を説明する。まず、文字の入力動
作について説明する。このキーボード41はカードリー
ダ12を小型化するため、使用スペースを節約するよう
構成されたもので、カード電話帳などによく使用されて
いる形式のものである。Next, the operation will be described. First, the character input operation will be described. The keyboard 41 is configured to save space for use in order to reduce the size of the card reader 12, and is of a type often used for a card phone book or the like.
【0208】このキーボード41により、数字、カナ文
字、英字の入力が可能であり、所望の文字を選択するた
めには文字キー41a〜41jと、カナ/英/小文字選
択キー41mと、確定入力キー41kを使用する。With this keyboard 41, it is possible to input numbers, kana characters and alphabetic characters. To select a desired character, character keys 41a to 41j, kana / alphabet / lowercase selection key 41m, and a decision input key Use 41k.
【0209】例えば”シ”を入力したいのであれば、キ
ー41mによりカナを選択し、キー41cを2回押し、
最後に確定入力キー41kを押す。次に、ファンクショ
ンキーの説明をする。For example, if the user wants to input “shi”, he selects kana with the key 41m and presses the key 41c twice.
Finally, the enter key 41k is pressed. Next, the function keys will be described.
【0210】第1の実施の形態においては、検査時の画
像記録の際、電子スコープ6に設けられているレリーズ
スイッチ20を操作することで「レリーズ」を行い、ま
た、検査終了の際には、第1のキーボード11より「検
査終了」の入力を行っている。In the first embodiment, when an image is recorded at the time of inspection, a “release” is performed by operating a release switch 20 provided on the electronic scope 6. , An input of “examination of inspection” is made from the first keyboard 11.
【0211】また、第1のキーボード11やカードリー
ダ12により患者IDや氏名等の患者データを入力し、
第1のキーボード11より「検索」の入力を行うことに
より、画像記録ユニット3に記録されている画像や関連
データを検索、呼び出し表示も行うことができるように
なっている。Also, patient data such as a patient ID and a name is inputted by the first keyboard 11 and the card reader 12,
By inputting "search" from the first keyboard 11, images and related data recorded in the image recording unit 3 can be searched and called and displayed.
【0212】本実施の形態は、これらの「レリーズ」、
「検査終了」、「検索」の入力をカードリーダ12から
行うようにしたものであり、キーボード41上のファン
クションキー41o〜41qを押すことによって、ビデ
オプロセッサ8や圧縮伸張装置10に「レリーズ」、
「検査終了」、「検索」の信号入力を行うことができ
る。In the present embodiment, these “release”,
The input of “examination” and “search” is performed from the card reader 12. By pressing the function keys 41 o to 41 q on the keyboard 41, the “release”,
Signal input of "test completed" and "search" can be performed.
【0213】本実施の形態は以下の効果を有する。第1
の実施の形態の説明において図7を用いて前述したよう
に、単体での使用も可能ないわゆる内視鏡装置(図7の
点線外の装置)は様々なタイプのものが存在し、また、
使用される可能性がある。The present embodiment has the following effects. First
As described above with reference to FIG. 7 in the description of the embodiment, there are various types of so-called endoscope devices (devices outside the dotted line in FIG. 7) that can be used alone, and
May be used.
【0214】よって、内視鏡画像ファイリングシステム
1において画像の記録や検索を行う際に必須とされる
「レリーズ」、「検査終了」、「検索」入力のための機
構(スイッチ)が必ずしも設けられているとは限らな
い。Therefore, the endoscope image filing system 1 is not necessarily provided with a mechanism (switch) for inputting “release”, “end of examination”, and “search”, which are essential when recording and retrieving an image. Not necessarily.
【0215】しかし、本実施の形態のように、カードリ
ーダ12にこれらの入力機能をもたせておくことで様々
なタイプの内視鏡装置との組み合わせ使用が可能とな
る。内視鏡画像ファイリングシステム1を構成しようと
する場合、高価なビデオプロセッサ8や電子スコープ6
を新規で購入するより、現在手持ちの内視鏡装置を使用
し、比較的安価なカードリーダ12を追加するのみで同
じ機能を得ることができるためコストパフォーマンスに
優れる。However, by providing the card reader 12 with these input functions as in the present embodiment, the card reader 12 can be used in combination with various types of endoscope devices. When the endoscope image filing system 1 is to be configured, an expensive video processor 8 or an electronic scope 6 is required.
Rather than purchasing a new one, the same function can be obtained only by adding a relatively inexpensive card reader 12 using the endoscope apparatus currently on hand, and thus the cost performance is excellent.
【0216】(第4の実施の形態)次に本発明の第4の
実施の形態を説明する。本実施の形態の背景をまず、説
明する。内視鏡検査等、院内で使用される装置において
は、人体への危険が起こり得ないように安全対策がなさ
れたものが使用されるべきである。しかし、カードリー
ダには、通常、カード挿入用の溝が設けられるため、内
部の電気基板等を密封しにくい構造であり、液体が降り
かかった場合に対する電気的信頼性を確保することが行
い難い装置であった。本実施の形態はこれに対応するも
のである。(Fourth Embodiment) Next, a fourth embodiment of the present invention will be described. First, the background of the present embodiment will be described. Devices used in hospitals, such as endoscopy, should be used with safety measures so that no danger to the human body can occur. However, since a card reader is usually provided with a groove for inserting a card, it has a structure that is difficult to seal an internal electric board or the like, and it is difficult to secure electrical reliability when a liquid starts to fall. It was a device. The present embodiment corresponds to this.
【0217】図17、図18は第4の実施の形態のカー
ドリーダ82の筐体構造を示す。図17はカードリーダ
82を斜め前方からみた斜視図である。カードリーダ上
面82aには、磁気カード挿入用のカード挿入溝83が
設けられている。FIGS. 17 and 18 show a housing structure of a card reader 82 according to the fourth embodiment. FIG. 17 is a perspective view of the card reader 82 as viewed obliquely from the front. The card reader upper surface 82a is provided with a card insertion groove 83 for inserting a magnetic card.
【0218】また、上面82aは角度付けがなされてお
り、上面82aの前端側が後端側より低い位置となるよ
うに傾斜面にしている。The upper surface 82a is angled, and is inclined so that the front end of the upper surface 82a is lower than the rear end.
【0219】図18はカードリーダ82を真横から見た
場合の断面図である。カード挿入溝83と電気回路基板
等の電気部品が設置される電気部品設置位置84との間
には仕切板85が設けられている。FIG. 18 is a sectional view when the card reader 82 is viewed from the side. A partition plate 85 is provided between the card insertion groove 83 and an electric component installation position 84 where electric components such as an electric circuit board are installed.
【0220】仕切板85は上面82aと平行に取り付け
られており、カードリーダ下面の仕切板85の延長上部
分には、水抜き穴86が設けられている。また、上面8
2aのカード挿入溝83内の長手方向の中央付近には磁
気ヘッド87が設けられている。その他は第1の実施の
形態等と同様の構成である。The partition plate 85 is attached in parallel with the upper surface 82a, and a drain hole 86 is provided in an extended upper portion of the partition plate 85 on the lower surface of the card reader. Also, the upper surface 8
A magnetic head 87 is provided near the center in the longitudinal direction in the card insertion groove 83 of 2a. Other configurations are the same as those of the first embodiment.
【0221】次に本実施の形態の作用を説明する。カー
ドリーダ12により磁気カード上のデータを読みとる場
合は、上面82aのカード挿入用溝83に磁気カードを
挿入する。挿入した磁気カードを奥から手前に引く操作
により、磁気カード上に設けられた磁気テープ上のデー
タが磁気ヘッド87により読みとられる。Next, the operation of the present embodiment will be described. When data on the magnetic card is read by the card reader 12, the magnetic card is inserted into the card insertion groove 83 on the upper surface 82a. By pulling the inserted magnetic card from the back to the front, the data on the magnetic tape provided on the magnetic card is read by the magnetic head 87.
【0222】データ読みとりの際、挿入された磁気カー
ドの下端は仕切板85に接するようになっており、仕切
板85は磁気カードを引く動作のためのガイドの役目を
果たすようになっている。At the time of reading data, the lower end of the inserted magnetic card is in contact with the partition 85, and the partition 85 serves as a guide for the operation of drawing the magnetic card.
【0223】カード挿入用溝83が上面82aに設けら
れているため、カードリーダ12に液体がかかった場合
は、液体はカード挿入用溝83から内部に侵入する。し
かし、仕切板85により電気部品に液体が降りかかるこ
とはなく、仕切板85の斜面状の上面を伝って水抜き穴
86に流れ落ちる。Since the card insertion groove 83 is provided on the upper surface 82a, when a liquid is applied to the card reader 12, the liquid enters through the card insertion groove 83. However, the liquid does not fall on the electric component by the partition plate 85, but flows down the drain hole 86 along the inclined upper surface of the partition plate 85.
【0224】本実施の形態は以下の効果を有する。カー
ド挿入用溝83が取り付けられている上面82aは前端
部が低くなるように角度付けがなされているため、カー
ド挿入用溝83の位置確認と磁気カードの読み取りのた
めに引く動作を行い易い。The present embodiment has the following effects. Since the upper surface 82a to which the card insertion groove 83 is attached is angled so that the front end is lower, it is easy to perform a pulling operation for confirming the position of the card insertion groove 83 and reading the magnetic card.
【0225】また、カード挿入用溝83と電気部品設置
位置84との間に、仕切板85が設けられているので、
電気部品に液体の降りかかりショート等が起こる心配が
なく信頼性を確保できる。浸水防止用の仕切板85を磁
気カードの読み取り操作のガイドと兼用しているため、
小型化、低コスト化が可能となる。Further, since the partition plate 85 is provided between the card insertion groove 83 and the electric component installation position 84,
The reliability can be ensured without the danger of the liquid falling onto the electric parts and short-circuiting occurring. Since the partition plate 85 for preventing flooding is also used as a guide for the reading operation of the magnetic card,
It is possible to reduce the size and cost.
【0226】(第5の実施の形態)次に本発明の第5の
実施の形態を図19及び図20を参照して説明する。図
19は第5の実施の形態のカードリーダ82の筐体外観
図を示す。本実施の形態は、カード挿入用溝83がカー
ドリーダ前面に設けられている点で第4の実施の形態と
異なる。カードリーダ挿入用溝83は、カードリーダ8
2の前面82bに設けられている。その他は第1の実施
の形態と同様である。(Fifth Embodiment) Next, a fifth embodiment of the present invention will be described with reference to FIGS. FIG. 19 is an external view of a housing of a card reader 82 according to the fifth embodiment. This embodiment is different from the fourth embodiment in that a card insertion groove 83 is provided on the front surface of a card reader. The card reader insertion groove 83 is
2 is provided on the front surface 82b. Others are the same as in the first embodiment.
【0227】次に本実施の形態の作用を説明する。通
常、内視鏡画像ファイリングシステムを構成する各ユニ
ットは、ラック等の収納台に設置された状態で使用され
る。カードリーダの接続される画像入力ユニット2も同
様であり、カードリーダ12もラック上に設置されるこ
とが多い。Next, the operation of the present embodiment will be described. Usually, each unit constituting the endoscope image filing system is used in a state where it is installed on a storage table such as a rack. The same applies to the image input unit 2 to which the card reader is connected, and the card reader 12 is often installed on a rack.
【0228】図20はカードリーダ82等をラック88
に設置した状態を示す。ここで、図20(A)は正面
図、図20(B)は側面図を示す。なお、図20では本
実施の作用を説明するために、カードリーダ82をラッ
ク88の中段付近に設置した場合と、上段に設置した場
合とを同時に示している。FIG. 20 shows a card reader 82 and the like
It shows the state installed in. Here, FIG. 20A shows a front view, and FIG. 20B shows a side view. Note that FIG. 20 shows the case where the card reader 82 is installed near the middle of the rack 88 and the case where it is installed in the upper stage at the same time to explain the operation of the present embodiment.
【0229】このようにカードリーダ82を設置した場
合、磁気カードを操作するためのユーザの手の動作は図
20(B)において、実線で示すように上から下に移動
する操作を行うことになる。When the card reader 82 is installed as described above, the operation of the user's hand for operating the magnetic card is performed by performing an operation of moving from top to bottom as shown by a solid line in FIG. Become.
【0230】図20(B)中の点線は、カード挿入用溝
を上面に設けてある場合に必要となるユーザが手を動か
す動作を示す。点線で示した従来例のカードリーダの場
合と比較すると本実施の形態は単に上から下に動かす操
作で良い。The dotted line in FIG. 20B indicates the operation of moving the hand which is necessary when the card insertion groove is provided on the upper surface. As compared with the case of the conventional card reader shown by the dotted line, the present embodiment may simply be an operation of moving from top to bottom.
【0231】従って、本実施の形態は以下の効果を有す
る。カード挿入用溝83を前面82bに設けたタイプは
上面に設けたものより操作性が良い。また、カードリー
ダ82が高い位置にある場合は、カードの操作位置がラ
ック88の前面82bに近い方がユーザの手が届き易
い。カードリーダ82がラック88の中段にある場合
も、カードの操作位置がラックの前面82bに近い方
が、手をラック88中に差し入れる必要がなく、操作し
易いといえる。Therefore, the present embodiment has the following effects. The type in which the card insertion groove 83 is provided on the front surface 82b has better operability than the one provided on the upper surface. In addition, when the card reader 82 is at a high position, the user can easily reach the operating position of the card closer to the front surface 82b of the rack 88. Even when the card reader 82 is located in the middle of the rack 88, it can be said that the operation is easier if the card operation position is closer to the front surface 82b of the rack without the need to insert a hand into the rack 88.
【0232】なお、カード挿入用溝83はラック88の
右寄りの位置にある方が、右利きの人によっては操作し
易い。また、ラック88に収納することを考えるのであ
れば、他の装置に干渉しないよう、カードリーダ82の
筐体幅を特に小さくしておくことが好ましい。The card insertion groove 83 located at the right side of the rack 88 can be easily operated by a right-handed person. In addition, if the storage in the rack 88 is considered, it is preferable to make the width of the housing of the card reader 82 particularly small so as not to interfere with other devices.
【0233】なお、上述した実施の形態等を部分的に抽
出して形成される実施の形態等、或いは部分的等に組み
合わせて構成される実施の形態等も本発明に属する。It should be noted that the present invention includes embodiments and the like formed by partially extracting the above-described embodiments and the like, or embodiments and the like configured by partially combining the embodiments and the like.
【0234】[付記] 1.カード上に記録されたデータを読み取るデータ読み
取り手段と、外部機器へデータを出力するデータ出力手
段と、動作プログラムを記憶するメモリ手段と、該メモ
リ手段に記憶されている動作プログラムに基づき前記デ
ータ読み取り手段にて読み取ったデータの解析および所
定のフォーマット変換を行った後、前記データ出力手段
からデータ出力を行う制御手段と、を有するカードリー
ダにおいて、外部機器からデータを入力するデータ入力
手段と、該データ入力手段から入力されたデータで前記
メモリ手段に記憶されている動作プログラムの少なくと
も1部を更新するプログラム更新手段とを設けたことを
特徴とするカードリーダ。[Supplementary Notes] Data reading means for reading data recorded on a card, data output means for outputting data to an external device, memory means for storing an operation program, and data reading based on the operation program stored in the memory means Control means for performing data analysis from the data output means after analyzing the data read by the means and performing a predetermined format conversion; anda data input means for inputting data from an external device; A card updating means for updating at least a part of the operation program stored in the memory means with the data inputted from the data input means.
【0235】(付記1〜15の目的)プログラムの変更
や、設定の変更が容易で作業性、生産性のよいカードリ
ーダを提供すること。(Purpose of Supplementary Notes 1 to 15) To provide a card reader which is easy to change programs and settings and has good workability and productivity.
【0236】(付記1〜21の目的)汎用性の高いカー
ドリーダの提供。 (付記1〜15、20〜21の作用)使用する環境やユ
ーザの希望に合わせて、取り扱うデータの形式や動作内
容が設定、変更可能である。(Purpose of Supplementary Notes 1 to 21) Provision of a highly versatile card reader. (Functions of Supplementary Notes 1 to 15, 20 to 21) The format and operation content of the data to be handled can be set and changed according to the environment to be used and the desires of the user.
【0237】2.前記メモリ手段を電気的消去及び書込
みが可能な読み出し専用メモリ(EEPROM)で構成
したことを特徴とする付記1記載のカードリーダ。 3.前記メモリ手段を読み出し専用メモリ(ROM)
と、電気的消去及び書込みが可能な読み出し専用メモリ
(EEPROM)と、で構成し、更新の対象となるプロ
グラムをEEPROM側に記憶させることを特徴とする
付記1記載のカードリーダ。[0237] 2. 2. The card reader according to claim 1, wherein said memory means is constituted by an electrically erasable and writable read-only memory (EEPROM). 3. Read-only memory (ROM) as the memory means
And a read-only memory (EEPROM) capable of electrically erasing and writing, wherein a program to be updated is stored in the EEPROM.
【0238】4.前記EEPROMに、ブロック消去が
可能であるものを使用し、更新対象のプログラム部分の
みの変更を可能としたことを特徴とする付記3記載のカ
ードリーダ。 5.前記データ出力手段および前記データ入力手段は、
同一の通信ポートを使用することを特徴とする付記1記
載のカードリーダ。[0238] 4. The card reader according to claim 3, wherein a block erasable EEPROM is used as the EEPROM, and only the program portion to be updated can be changed. 5. The data output means and the data input means,
2. The card reader according to claim 1, wherein the same communication port is used.
【0239】6.装置に所定の動作を行わせるための動
作プログラムと、動作プログラムを書き換えるための書
換えプログラムと、前記書換えプログラムを実行させる
か否かを判定する判定プログラムと、を記録する記録媒
体。 7.前記判定プログラムは電源投入時に装置に対して所
定の入力がある場合に前記書換えプログラムを実行させ
る付記6記載の記録媒体。[0239] 6. A recording medium for recording an operation program for causing a device to perform a predetermined operation, a rewrite program for rewriting the operation program, and a determination program for determining whether to execute the rewrite program. 7. 7. The recording medium according to claim 6, wherein the determination program executes the rewriting program when a predetermined input is made to the apparatus when power is turned on.
【0240】8.前記動作プログラムを、演算に使用す
る数値等を格納する設定テーブルと、該設定テーブルの
内容を参照して装置に所定の動作を行わせる基本プログ
ラムと、に分割して記録する付記6記載の記録媒体。 9.前記書換えプログラムは消去及び書き換えが不可能
な状態で記録し、前記動作プログラムは電気的消去及び
書換えが可能な状態で記録した付記6記載の記録媒体。 10.装置に入力されるデータを読み取るデータ読み取
りプログラムと、外部機器へデータを出力するデータ出
力プログラムと、前記データ読み取りプログラムにて読
み取ったデータを、解析および所定のフォーマット変換
を行うことで前記データ出力プログラムが出力可能な形
にしてからデータ出力プログラムに渡す処理を行うデー
タ処理プログラムを記録する記録媒体であって、さら
に、外部機器からデータを入力するデータ入力プログラ
ムと、該データ入力プログラムにより入力されたデータ
で前記処理プログラムの少なくとも1部を更新する処理
プログラム更新プログラムと、を記録する記録媒体。[0240] 8. 7. The recording according to Supplementary Note 6, wherein the operation program is divided and recorded into a setting table for storing numerical values and the like used for calculation, and a basic program for causing the apparatus to perform a predetermined operation with reference to the contents of the setting table. Medium. 9. 7. The recording medium according to claim 6, wherein the rewriting program is recorded in a state where erasing and rewriting are not possible, and the operation program is recorded in a state where electric erasing and rewriting are possible. 10. A data reading program for reading data input to the device, a data output program for outputting data to an external device, and the data output program by performing analysis and predetermined format conversion on the data read by the data reading program. Is a recording medium for recording a data processing program for performing a process of passing the data to a data output program in a form capable of being output, further comprising: a data input program for inputting data from an external device; And a processing program updating program for updating at least a part of the processing program with data.
【0241】11.カードに記録されたデータを読み取
る動作を行う動作プログラムと、前記動作プログラムの
一部を変更するために前記動作プログラムが記憶された
書換え可能なメモリに対し、書換えを行うための書換え
プログラムと、前記動作プログラム及び書換えプログラ
ムのいずれを行うかを判断するための判断プログラムと
を記録した記録媒体。 12.前記記録媒体はフロッピディスク又はCDROM
である付記11記載の記録媒体。[0241] 11. An operation program for performing an operation of reading data recorded on a card; and a rewritable memory for rewriting a rewritable memory in which the operation program is stored to change a part of the operation program; A recording medium in which a judgment program for judging which of an operation program and a rewriting program is to be executed is recorded. 12. The recording medium is a floppy disk or CDROM
12. The recording medium according to supplementary note 11, wherein
【0242】13.カードリーダに挿入されたカード上
に記録されたデータを読み取るデータ読み取りステップ
と、前記データ読み取りステップの内容を一部変更する
ために前記データ読み取りの手順が記憶された書換え可
能なメモリの内容を書換えるメモリ書換えステップと、
前記データ読み取りステップとメモリ書換えステップと
のいずれを行うかの判断を行う判断ステップと、を有す
るカードリーダの動作モード変更方法。13. A data reading step for reading data recorded on a card inserted into a card reader, and rewriting the contents of a rewritable memory storing the data reading procedure to partially change the contents of the data reading step Memory rewriting step,
A method for changing an operation mode of a card reader, comprising: a determination step of determining whether to perform the data reading step or the memory rewriting step.
【0243】14.前記メモリ書換えステップは、前記
データ読み取りステップにおけるデータ読み取りに参照
されるデータが記憶されたテーブル部分を書換える第1
の書換えステップと、読み取りの動作を行う手順が記憶
されたプログラム部分を書換える第2の書換えステップ
とからなる付記13記載のカードリーダの動作モード変
更方法。 15.前記メモリ書換えステップは書換えが不可能なR
OMに記憶される付記13記載のカードリーダの動作モ
ード変更方法。14. The memory rewriting step is a first step of rewriting a table portion storing data referred to in the data reading in the data reading step.
13. The method for changing an operation mode of a card reader according to Appendix 13, comprising: a rewriting step of rewriting the program portion; and a second rewriting step of rewriting a program portion in which a procedure for performing a reading operation is stored. 15. In the memory rewriting step, the non-rewritable R
13. The method for changing an operation mode of a card reader according to supplementary note 13 stored in the OM.
【0244】16.カード上に記録されたデータを読み
取るデータ読み取り手段と、読み取ったデータを通信ポ
ートを介して送信するデータ送信手段と、を設けたカー
ドリーダにおいて、複数の通信ポートと、前記データ読
み取り手段により読み取られた複数のデータ各々を、複
数の通信ポートの中のどの通信ポートより送信するかを
指定する指定手段とを有し、前記データ送信手段はデー
タ送信を行う際、前記指定手段の指定する内容に従い各
データの複数の通信ポートへの振り分けを行うことを特
徴とするカードリーダ。16. In a card reader provided with data reading means for reading data recorded on a card and data transmitting means for transmitting the read data via a communication port, a plurality of communication ports and data read by the data reading means are provided. And a designation unit for designating which one of a plurality of communication ports to transmit from each of the plurality of data, wherein the data transmission unit performs data transmission according to the content designated by the designation unit. A card reader for distributing each data to a plurality of communication ports.
【0245】(付記16〜19の作用)接続する装置の
仕様に合わせて、使用する通信ポートの選択、設定が可
能である。 17.前記指定手段は、電気的に書換が可能なメモリよ
り成ることを特徴とする付記16記載のカードリーダ。 18.カード上に記録されたデータは、内視鏡画像を撮
像し、撮像した画像を患者データと共に記録・管理を行
うことができる内視鏡画像ファイリングシステムにおい
て管理される患者データであって、カードリーダは、前
記内視鏡画像ファイリングシステムに接続して使用され
ることを特徴とする付記16記載のカードリーダ。(Operation of Supplementary Notes 16 to 19) A communication port to be used can be selected and set in accordance with the specification of a device to be connected. 17. 17. The card reader according to claim 16, wherein the designation means comprises an electrically rewritable memory. 18. The data recorded on the card is patient data managed in an endoscope image filing system capable of capturing an endoscopic image and recording and managing the captured image together with patient data, and a card reader Is used in connection with the endoscope image filing system.
【0246】19.前記内視鏡ファイリングシステムは
少なくとも内視鏡画像を撮像する画像入力ユニットおよ
び撮像した内視鏡画像を記録する画像記録ユニットより
成り、カードリーダは、前記画像入力ユニットに接続し
て使用されることを特徴とする付記18記載のカードリ
ーダ。 20.カード上に記録されたデータを読み取るデータ読
み取り手段と、読み取ったデータを通信ポートを介して
送信するデータ送信手段と、データ読み取りのための動
作プログラムおよびデータ送信のための動作プログラム
を記憶する記憶手段と、前記記憶手段に記憶されている
プログラムに従い、前記データ読み取り手段および前記
データ送信手段を制御する制御手段と、を設けたカード
リーダにおいて、前記記憶手段は、書換可能なメモリよ
り成り、記憶内容の書き換えによって読み取り・送信さ
れるデータのデータ数、データ長、データ順等のフォー
マットが任意に設定できることを特徴とするカードリー
ダ。19. The endoscope filing system includes at least an image input unit that captures an endoscope image and an image recording unit that records the captured endoscope image, and a card reader is used by being connected to the image input unit. 19. The card reader according to supplementary note 18, wherein: 20. Data reading means for reading data recorded on a card, data transmitting means for transmitting the read data via a communication port, and storage means for storing an operation program for data reading and an operation program for data transmission And a control means for controlling the data reading means and the data transmission means in accordance with a program stored in the storage means, wherein the storage means comprises a rewritable memory, A card reader characterized by being able to arbitrarily set a format such as the number of data, data length, and data order of data read / transmitted by rewriting data.
【0247】21.前記記憶手段は、リードオンリーメ
モリと、電気的書換可能なメモリより成り、設定変更の
際に変更の対象となるプログラムは電気的書換が可能な
メモリ上に記憶されていることを特徴とする付記20記
載のカードリーダ。21. The storage means comprises a read-only memory and an electrically rewritable memory, and a program to be changed when setting is changed is stored on an electrically rewritable memory. 20. The card reader according to 20.
【0248】22.内視鏡画像を撮像し、撮像した画像
を患者データと共に記録・管理、検索・表示可能な内視
鏡画像ファイリングシステムにおいて、画像の記録を指
示する信号を発生する記録指示信号発生手段、内視鏡検
査の終了を通知する信号を発生する検査終了通知信号発
生手段、記録した画像の検索開始を指示する信号を発生
する検索開始信号発生手段のうち少なくとも1つを、患
者データの入力に使用するカードリーダに設けたことを
特徴とする内視鏡画像ファイリングシステム。22. Recording instruction signal generating means for generating a signal for instructing recording of an image in an endoscope image filing system capable of capturing an endoscope image and recording / managing, searching / displaying the captured image together with patient data; At least one of an examination end notification signal generating means for generating a signal for notifying the end of the microscopy and a search start signal generating means for generating a signal for instructing a search start of a recorded image is used for inputting patient data. An endoscope image filing system provided in a card reader.
【0249】(付記22の背景)内視鏡装置の出力画像
を記録・管理したい場合は、手持ちの内視鏡装置に画像
記録ユニット、検索ユニット等を追加して内視鏡画像フ
ァイリングシステムを構成すればよい。しかし、前述し
たように、内視鏡装置は様々な仕様のものが存在し、手
持ちの内視鏡装置が画像ファイリングシステムを構成す
るのに必須、または、なければ不便という機能を備えて
いない場合も考えられる。例えば、内視鏡装置から画像
記録を指示するための信号、検査の終了を知らせるため
の信号、画像を検索開始するための信号の出力機能がそ
れにあたる。よって、内視鏡画像ファイリングシステム
のもつ機能を十分に発揮させようとした場合は、所定機
能をもつ内視鏡装置を用意する必要があり、使用できる
内視鏡装置が限られたものになっていた。(Background of Supplementary Note 22) When it is desired to record and manage the output image of the endoscope apparatus, an image recording unit, a search unit, and the like are added to the handheld endoscope apparatus to constitute an endoscope image filing system. do it. However, as described above, there are endoscope devices of various specifications, and a handheld endoscope device is indispensable for constituting an image filing system, or does not have a function of inconvenience without it Is also conceivable. For example, the output function of a signal for instructing image recording from the endoscope apparatus, a signal for notifying the end of the examination, and a signal for starting a search for an image corresponds to this. Therefore, in order to fully utilize the functions of the endoscope image filing system, it is necessary to prepare an endoscope apparatus having a predetermined function, and the available endoscope apparatuses are limited. I was
【0250】(付記22の目的)どのような内視鏡装置
(画像入力ユニット)を使用して内視鏡画像ファイリン
グシステムを構成したとしても、内視鏡画像ファイリン
グ装置のもつ機能を十分に発揮できるようにするカード
リーダの提供。 (付記22の作用)使用する内視鏡装置(画像入力ユニ
ット)に、記録指示信号、検査終了通知信号、検索開始
指示信号の発生手段がなくともカードリーダ側から各信
号が発生できる。(Purpose of Supplementary Note 22) Regardless of what kind of endoscope device (image input unit) is used to configure the endoscope image filing system, the function of the endoscope image filing device is fully exhibited. Providing a card reader that enables (Operation of Supplementary Note 22) Each signal can be generated from the card reader side even if the endoscope apparatus (image input unit) used does not have a means for generating a recording instruction signal, an examination end notification signal, and a search start instruction signal.
【0251】23.カード挿入用溝にカード挿入するこ
とにより、前記カード上に記録されたデータを読み取り
可能なカードリーダにおいて、カード挿入用溝をカード
リーダ前面に設けた、ラック配置用カードリーダ。 (付記23の背景)内視鏡画像ファイリング装置を構成
する各装置は、通常ラック等の収納台に設置された状態
で使用される。内視鏡検査においてカードリーダが使用
される場合も、同様にカードリーダはラック等に収納さ
れて使用される可能性が高い。しかし、この様なラック
上での使用を考慮して製作されたカードリーダはなく、
カードのデータをカードリーダに読み込ませるためにユ
ーザが行わなければならない手動作は必ずしも行い易い
動作であるとはいえなかった。(手を動作させる位置が
高く、操作し難い。或いは手をラック内に差し込んでの
動作となり、操作しにくい等の欠点があった。) (付記23の目的)操作性のよいカードリーダの提供。 (付記23の作用)カードリーダをラックに配置した場
合も、カード挿入用溝がカードを挿入し易い位置とな
る。23. A card reader for rack arrangement, wherein a card insertion groove is provided on the front surface of a card reader, wherein the card insertion groove is provided on a front surface of the card reader by reading data recorded on the card by inserting the card into the card insertion groove. (Background of Supplementary Note 23) Each device constituting the endoscope image filing device is usually used in a state where it is installed on a storage table such as a rack. Similarly, when a card reader is used in an endoscope inspection, there is a high possibility that the card reader is stored in a rack or the like and used. However, there is no card reader manufactured considering such use on a rack,
The manual operation that must be performed by the user to read the data of the card into the card reader has not always been easy. (The position where the hand is moved is high, making it difficult to operate. Or, the hand is inserted into the rack, which has the disadvantage of being difficult to operate.) (Object of Appendix 23) Provision of a card reader with good operability . (Operation of Supplementary Note 23) Even when the card reader is arranged in the rack, the card insertion groove is located at a position where the card can be easily inserted.
【0252】[0252]
【発明の効果】以上説明したように本発明によれば、カ
ード上に記録されたデータを読み取るデータ読み取り手
段と、外部機器へデータを出力するデータ出力手段と、
動作プログラムを記憶するメモリ手段と、該メモリ手段
に記憶されている動作プログラムに基づき前記データ読
み取り手段にて読み取ったデータの解析および所定のフ
ォーマット変換を行った後、前記データ出力手段からデ
ータ出力を行う制御手段とを有するカードリーダにおい
て、外部機器からデータを入力するデータ入力手段と、
該データ入力手段から入力されたデータで前記メモリ手
段に記憶されている動作プログラムの少なくとも1部を
更新するプログラム更新手段と、を設けることにより、
動作プログラムの変更を行う場合、カードリーダの筐体
を開閉する等してメモリ手段を取り外す作業などしなく
ても、外部機器からデータを入力することで簡単にプロ
グラム更新ができ、カードに記録されているデータのフ
ォーマットが異なる場合とか読み取ったデータを出力す
る場合にも、接続される機器の仕様に応じて出力する場
合にも容易に対処できる。従って、使用するユーザや施
設、各々に応じた設定変更が容易に行うことができ、様
々なタイプの装置と接続が可能であり、作業性、生産
性、汎用性が高くなる。As described above, according to the present invention, data reading means for reading data recorded on a card, data output means for outputting data to an external device,
A memory unit for storing an operation program, and after analyzing and reading out a predetermined format of the data read by the data reading unit based on the operation program stored in the memory unit, outputting data from the data output unit. A card reader having control means for performing, data input means for inputting data from an external device,
Program update means for updating at least a part of the operation program stored in the memory means with the data input from the data input means,
When changing the operation program, it is possible to easily update the program by inputting data from an external device, without having to remove the memory means by opening and closing the case of the card reader, etc. It can easily cope with the case where the format of the data being read is different, the case where the read data is output, and the case where the output is performed according to the specification of the connected device. Therefore, it is possible to easily change settings according to the user or facility used, and to connect to various types of devices, thereby improving workability, productivity, and versatility.
【図1】第1の実施の形態を備えた内視鏡画像ファイリ
ングシステムの構成を示すブロック図。FIG. 1 is a block diagram showing a configuration of an endoscope image filing system provided with a first embodiment.
【図2】画像入力ユニットに含まれているビデオプロセ
ッサと圧縮伸張装置の詳細な構成を示すブロック図。FIG. 2 is a block diagram showing a detailed configuration of a video processor and a compression / decompression device included in the image input unit.
【図3】カードリーダの構成を示すブロック図。FIG. 3 is a block diagram showing a configuration of a card reader.
【図4】モニタに表示される内視鏡画像と関連データの
表示例を示す図。FIG. 4 is a diagram showing a display example of an endoscope image and related data displayed on a monitor.
【図5】患者データベースファイルと検査データベース
ファイルの内容を示す図。FIG. 5 is a diagram showing contents of a patient database file and an examination database file.
【図6】内視鏡画像ファイリングシステムにおける撮像
した画像に患者データを合成して表示する機能の構成を
示す図。FIG. 6 is a diagram showing a configuration of a function of synthesizing and displaying patient data with a captured image in the endoscope image filing system.
【図7】図1において、画像の記録、検索、表示の機能
を主に行う部分を示す説明図。FIG. 7 is an explanatory diagram showing a portion mainly performing functions of recording, searching, and displaying an image in FIG. 1;
【図8】カードリーダI/Fが設けていないビデオプロ
セッサを用いて内視鏡画像ファイリングシステムを構成
を示した場合のブロック図。FIG. 8 is a block diagram showing a configuration of an endoscope image filing system using a video processor without a card reader I / F.
【図9】図8におけるビデオプロセッサと圧縮伸張装置
の構成を示すブロック図。FIG. 9 is a block diagram showing a configuration of a video processor and a compression / decompression device in FIG. 8;
【図10】患者IDのみの入力が可能な仕様のビデオプ
ロセッサを用いて内視鏡画像ファイリングシステムを構
成を示した場合のブロック図。FIG. 10 is a block diagram showing a configuration of an endoscope image filing system using a video processor capable of inputting only a patient ID.
【図11】図10におけるビデオプロセッサと圧縮伸張
装置の構成を示すブロック図。FIG. 11 is a block diagram showing a configuration of a video processor and a compression / decompression device in FIG. 10;
【図12】カードリータシステムの構成を示す斜視図。FIG. 12 is a perspective view showing a configuration of a card reader system.
【図13】メモリマップの構成を示す図。FIG. 13 is a diagram showing a configuration of a memory map.
【図14】フロッピディスクに書換えプログラム等が記
録された状態を示す説明図。FIG. 14 is an explanatory diagram showing a state in which a rewriting program and the like are recorded on a floppy disk.
【図15】カードリーダの処理の手順を示すフローチャ
ート図。FIG. 15 is a flowchart illustrating a procedure of processing of the card reader.
【図16】本発明の第3の実施の形態のカードリーダに
おけるキーボードのキー配置等を示す図。FIG. 16 is a view showing a key arrangement of a keyboard in a card reader according to a third embodiment of the present invention;
【図17】本発明の第4の実施の形態のカードリーダの
概略の外観を示す斜視図。FIG. 17 is a perspective view schematically showing the external appearance of a card reader according to a fourth embodiment of the present invention.
【図18】図17におけるカードリーダの概略の断面構
造を示す図。FIG. 18 is a diagram showing a schematic sectional structure of the card reader in FIG. 17;
【図19】本発明の第5の実施の形態のカードリーダの
概略の外観を示す斜視図。FIG. 19 is a perspective view schematically showing the external appearance of a card reader according to a fifth embodiment of the present invention.
【図20】図19のカードリーダを設けた内視鏡画像フ
ァイリングシステムをラックに設置した状態を示す図。20 is a diagram showing a state in which the endoscope image filing system provided with the card reader of FIG. 19 is installed on a rack.
【図21】磁気テープ部分が設けられた磁気カードを示
す図。FIG. 21 is a view showing a magnetic card provided with a magnetic tape portion.
【図22】磁気カードの磁気テープ部分に記録されたデ
ータの例を示す図。FIG. 22 is a view showing an example of data recorded on a magnetic tape portion of a magnetic card.
1…内視鏡画像ファイリングシステム 2…画像入力ユニット 3…画像記録ユニット 4…画像検索ユニット 5…LAN 6…電子スコープ 7…光源装置 8…ビデオプロセッサ 9,16…モニタ 10,17…圧縮伸張装置 11,18…キーボード 12,62,62′…カードリーダ 13…ホストコンピュータ 14…記録装置 15…検索装置 19…マウス 20…レリーズスイッチ 21…画像プロセス部 22…スーパインポーズ部 23…制御部 24…キーボードI/F 25,28…カードリーダI/F 31…CPU 32…ROM 33…フラッシュメモリ 34…RAM 35,36…シリアルI/F 37…キーボードI/F 38…磁気ヘッドI/F 39…LCDI/F 40…LED・ブザーI/F 41…キーボード 42…磁気ヘッド 43…LCD 44…LED 45…ブザー DESCRIPTION OF SYMBOLS 1 ... Endoscope image filing system 2 ... Image input unit 3 ... Image recording unit 4 ... Image search unit 5 ... LAN 6 ... Electronic scope 7 ... Light source device 8 ... Video processor 9, 16 ... Monitor 10, 17 ... Compression / expansion device 11, 18 ... keyboard 12, 62, 62 '... card reader 13 ... host computer 14 ... recording device 15 ... search device 19 ... mouse 20 ... release switch 21 ... image processing unit 22 ... superimpose unit 23 ... control unit 24 ... Keyboard I / F 25, 28 Card reader I / F 31 CPU 32 ROM 33 Flash memory 34 RAM 35, 36 Serial I / F 37 Keyboard I / F 38 Magnetic head I / F 39 LCDI / F 40: LED / buzzer I / F 41: Keyboard 42: Magnetic head 3 ... LCD 44 ... LED 45 ... Buzzer
───────────────────────────────────────────────────── フロントページの続き (72)発明者 猪俣 研哉 東京都渋谷区幡ヶ谷2丁目43番2号 オリ ンパス光学工業株式会社内 (72)発明者 江藤 忠夫 東京都渋谷区幡ヶ谷2丁目43番2号 オリ ンパス光学工業株式会社内 (72)発明者 福地 正巳 東京都渋谷区幡ヶ谷2丁目43番2号 オリ ンパス光学工業株式会社内 (72)発明者 高杉 啓 東京都渋谷区幡ヶ谷2丁目43番2号 オリ ンパス光学工業株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Kenya Inomata 2-43-2 Hatagaya, Shibuya-ku, Tokyo Inside Olympus Optical Industrial Co., Ltd. (72) Inventor Tadao Eto 2-43-2 Hatagaya, Shibuya-ku, Tokyo No. Olympus Optical Co., Ltd. (72) Inventor Masami Fukuchi 2-43-2 Hatagaya, Shibuya-ku, Tokyo Olympus Optical Co., Ltd. (72) Inventor Kei Takasugi 2-43-2, Hatagaya, Shibuya-ku, Tokyo No. Olympus Optical Co., Ltd.
Claims (2)
データ読み取り手段と、外部機器へデータを出力するデ
ータ出力手段と、動作プログラムを記憶するメモリ手段
と、該メモリ手段に記憶されている動作プログラムに基
づき前記データ読み取り手段にて読み取ったデータの解
析および所定のフォーマット変換を行った後、前記デー
タ出力手段からデータ出力を行う制御手段とを有するカ
ードリーダにおいて、 外部機器からデータを入力するデータ入力手段と、 該データ入力手段から入力されたデータで前記メモリ手
段に記憶されている動作プログラムの少なくとも1部を
更新するプログラム更新手段と、 を設けたことを特徴とするカードリーダ。1. A data reading means for reading data recorded on a card, a data output means for outputting data to an external device, a memory means for storing an operation program, and an operation program stored in the memory means A data reader for analyzing data read by the data reading means and performing a predetermined format conversion based on the data output means, and then outputting the data from the data output means. And a program updating means for updating at least a part of the operation program stored in the memory means with the data inputted from the data input means.
作を行う動作プログラムと、 前記動作プログラムの一部を変更するために前記動作プ
ログラムが記憶された書換え可能なメモリに対し、書換
えを行うための書換えプログラムと、 前記動作プログラム及び書換えプログラムのいずれを行
うかを判断するための判断プログラムとを記録した記録
媒体。2. An operation program for performing an operation of reading data recorded on a card, and a rewritable memory in which the operation program is stored for changing a part of the operation program. A recording medium storing a rewrite program and a determination program for determining which of the operation program and the rewrite program is to be performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9131395A JPH10320508A (en) | 1997-05-21 | 1997-05-21 | Card reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9131395A JPH10320508A (en) | 1997-05-21 | 1997-05-21 | Card reader |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH10320508A true JPH10320508A (en) | 1998-12-04 |
Family
ID=15056977
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9131395A Pending JPH10320508A (en) | 1997-05-21 | 1997-05-21 | Card reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH10320508A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009053848A (en) * | 2007-08-24 | 2009-03-12 | Nippon Denpa Co Ltd | Information storage medium processor |
-
1997
- 1997-05-21 JP JP9131395A patent/JPH10320508A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009053848A (en) * | 2007-08-24 | 2009-03-12 | Nippon Denpa Co Ltd | Information storage medium processor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6609135B1 (en) | Image file equipment, and database creating method in an image file equipment | |
| JP4869951B2 (en) | Medical device data analyzer | |
| US7833219B2 (en) | Operation apparatus controller and surgery system | |
| US20040239760A1 (en) | Medical image recording apparatus, endoscopic image display method, endoscopic image capture method, and portable storage medium therefor | |
| US7738940B2 (en) | Medical image recording system | |
| JP2002073615A (en) | Medical image filing system | |
| CN101257836A (en) | image display device | |
| JP2001161648A (en) | System for medical treatment | |
| WO2000008585A2 (en) | Surgical recording and reporting system | |
| JP2001005902A (en) | Image recorder | |
| CN101257838B (en) | image display device | |
| JP2002222391A (en) | Memory card management device and memory card management method | |
| JP2009254513A (en) | Method of updating electronic endoscope firmware | |
| JP3495644B2 (en) | Electronic medical record device | |
| JP2001112775A (en) | System for preparing surgical instrument and computer- readable storage medium | |
| JP2009265531A (en) | Endoscope apparatus and program | |
| JP4468525B2 (en) | Endoscope system | |
| JP2000020630A (en) | Medical image file system | |
| JP3104051U (en) | Editing device for video recording of surgical operation | |
| JPH04199271A (en) | Electronic clinical chart preparing device | |
| JP2000215277A (en) | Card reader | |
| JP4350294B2 (en) | Medical data file device | |
| JP2003038413A (en) | Medical data file device | |
| JP3419909B2 (en) | Endoscope system | |
| JPH08272932A (en) | Image file device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050627 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050705 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050905 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20060124 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060327 |
|
| A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20060605 |
|
| A912 | Removal of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20060623 |