JPH09146846A - Protection structure of storage medium, and data gathering device - Google Patents

Protection structure of storage medium, and data gathering device

Info

Publication number
JPH09146846A
JPH09146846A JP7300328A JP30032895A JPH09146846A JP H09146846 A JPH09146846 A JP H09146846A JP 7300328 A JP7300328 A JP 7300328A JP 30032895 A JP30032895 A JP 30032895A JP H09146846 A JPH09146846 A JP H09146846A
Authority
JP
Japan
Prior art keywords
storage medium
data
lid
card
detection switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7300328A
Other languages
Japanese (ja)
Inventor
Masaki Yoshida
勝紀 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Keyence Corp
Original Assignee
Keyence Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP7300328A priority Critical patent/JPH09146846A/en
Publication of JPH09146846A publication Critical patent/JPH09146846A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the protection structure of the storage medium which can securely protect the storage contents of the storage medium when a user tries to extract the storage medium while the storage medium is being accessed, and to provide the data gathering device which uses the structure. SOLUTION: On the top surface of a data gathering device main body part 1, a lid 2 is fitted so that it can freely be opened and closed, and a card insertion part 3 is provided below the lid 2. A card connector is arranged in the card insertion part 3. A detection switch 7 is arranged in the data gathering device main body part 1. The detection switch 7 turns on and off as the lid 2 is opened and closed. The opening/closing state of the lid 2 is decided by a CPU according to the state of the detection switch 7, and when the lid 2 is opened, the CPU writes card management information on a PC card.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、記憶媒体の保護構
造およびそれを備えたデータ収集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a protection structure for a storage medium and a data collection device having the same.

【0002】[0002]

【従来の技術】パーソナルコンピュータやデータ収集装
置では、データを保存するためにフロッピーディスク、
メモリカード等の記憶媒体が用いられる。フロッピーデ
ィスクはフロッピーディスクドライブ装置に挿入され、
データの書き込みおよび読み出し(アクセス)が行われ
る。また、メモリカードは、カード挿入部から挿入され
てコネクタ等に装着され、データの書き込みおよび読み
出しが行われる。
2. Description of the Related Art In a personal computer or a data collecting device, a floppy disk for storing data,
A storage medium such as a memory card is used. The floppy disk is inserted in the floppy disk drive device,
Data is written and read (accessed). Further, the memory card is inserted from the card insertion portion and attached to a connector or the like, and data writing and reading are performed.

【0003】このような記憶媒体には、データとともに
そのデータを管理するためのデータ管理情報が記憶され
る。データ管理情報は、例えば記憶媒体に記憶されたデ
ータの格納領域、新たなデータを記憶可能な空き領域、
ファイル名、ファイル容量などを含む。通常、このデー
タ管理情報は、記憶媒体から読み出したファイルを閉じ
る際に記憶媒体に書き込まれる。
In such a storage medium, data as well as data management information for managing the data are stored. The data management information is, for example, a storage area of data stored in a storage medium, a free area in which new data can be stored,
Includes file name, file size, etc. Usually, this data management information is written in the storage medium when closing the file read from the storage medium.

【0004】パーソナルコンピュータやデータ収集装置
において記憶媒体へのアクセス中に記憶媒体を抜き出す
と、記憶媒体にその時点で記憶されているデータに対応
するデータ管理情報が記憶媒体に書き込まれず、記憶媒
体に記憶されたデータとデータ管理情報との整合性が取
れないことになる。それにより、記憶媒体に記憶されて
いるデータを正確に読み出すことが不可能になり、ま
た、記憶媒体にデータを書き込む際に既に記憶されてい
るデータが書き換えられる可能性がある。このように、
記憶媒体の記憶内容が破壊される。
If the storage medium is pulled out during access to the storage medium in the personal computer or the data collection device, the data management information corresponding to the data stored in the storage medium at that time is not written in the storage medium, but is stored in the storage medium. The stored data and the data management information cannot be consistent with each other. As a result, it becomes impossible to accurately read the data stored in the storage medium, and the data already stored in the storage medium may be overwritten when the data is written in the storage medium. in this way,
The stored contents of the storage medium are destroyed.

【0005】そこで、アクセス中の記憶媒体を抜き出す
ことを防止するために、記憶媒体へのアクセス中にはア
クセスランプを点灯させて利用者にアクセス中であるこ
とを知らせていた。
Therefore, in order to prevent the storage medium being accessed from being pulled out, the access lamp is turned on during the access to the storage medium to inform the user that the storage medium is being accessed.

【0006】しかしながら、記憶媒体へのアクセス中で
あっても、利用者はイジェクトボタン(排出ボタン)を
押すことにより記憶媒体を抜き出すことができるので、
利用者がアクセスランプの状態を確認せずにアクセス中
の記憶媒体を抜き出す場合もないとは言えない。
However, even while the storage medium is being accessed, the user can pull out the storage medium by pressing the eject button (eject button).
It can be said that there are cases where the user pulls out the storage medium being accessed without checking the state of the access lamp.

【0007】そこで、イジェクトボタンの近傍に光電セ
ンサを設け、利用者がイジェクトボタンを押す際にその
光電センサによって利用者が記憶媒体を抜き出そうとす
ることを検知し、記憶媒体へのアクセス動作を中止する
方法が提案されている。
Therefore, a photoelectric sensor is provided in the vicinity of the eject button, and when the user presses the eject button, the photoelectric sensor detects that the user is trying to pull out the storage medium, and the access operation to the storage medium is performed. A method of canceling is proposed.

【0008】しかしながら、その方法によると、光電セ
ンサにより記憶媒体の抜き出しが検知されてから記憶媒
体が実際に抜き出されるまでの時間が極めて短いので、
記憶媒体の記憶内容を確実に保護することができない。
However, according to this method, the time from when the extraction of the storage medium is detected by the photoelectric sensor to when the storage medium is actually extracted is extremely short.
The stored contents of the storage medium cannot be reliably protected.

【0009】なお、利用者がパーソナルコンピュータを
操作している場合には、通常、利用者は記憶媒体がアク
セス中であることを認識している場合が多いので、アク
セス中の記憶媒体を抜き出す場合は少ない。
When the user is operating the personal computer, the user usually recognizes that the storage medium is being accessed. Therefore, when the storage medium being accessed is removed. Is few.

【0010】一方、データ収集装置は、例えばシーケン
サから送られるデータを自動的に収集するために用いら
れる。そのため、利用者が操作をすることなくデータ収
集装置が自動的にデータ収集処理を行いながら記憶媒体
へデータを保存する。このとき、利用者はデータ収集装
置が記憶媒体にアクセス中であることを認識していない
場合が多いので、アクセス中の記憶媒体を利用者が抜き
出す可能性が高い。したがって、特にデータ収集装置に
おいては、アクセス中の記憶媒体を抜き出すことによっ
て記憶媒体の記憶内容が破壊されることを確実に防止す
る必要がある。
On the other hand, the data collection device is used to automatically collect data sent from a sequencer, for example. Therefore, the data collection device saves the data in the storage medium while the data collection device automatically performs the data collection process without the user's operation. At this time, since the user often does not recognize that the data collection device is accessing the storage medium, the user is likely to extract the storage medium being accessed. Therefore, particularly in the data collection device, it is necessary to reliably prevent the stored contents of the storage medium from being destroyed by extracting the storage medium being accessed.

【0011】本発明の目的は、記憶媒体へのアクセス中
に利用者が記憶媒体を抜き出そうとした場合に記憶媒体
の記憶内容を確実に保護することができる記憶媒体の保
護構造およびそれを用いたデータ収集装置を提供するこ
とである。
An object of the present invention is to provide a storage medium protection structure capable of reliably protecting the storage contents of a storage medium when a user tries to extract the storage medium while accessing the storage medium, and a storage medium protection structure. It is to provide a data collection device used.

【0012】[0012]

【課題を解決するための手段および発明の効果】第1の
発明に係る記憶媒体の保護構造は、記憶媒体が挿入され
る記憶媒体挿入部と、記憶媒体挿入部を覆う開閉可能な
蓋と、蓋の開閉状態を検出する検出手段と、記憶媒体挿
入部に挿入された記憶媒体にデータの書き込み処理が行
われている場合に蓋が開かれたことを検出手段が検出し
たときにデータを管理するデータ管理情報を記憶媒体挿
入部に挿入されている記憶媒体に書き込む保護処理を行
う処理手段とを備えたものである。
A storage medium protection structure according to a first aspect of the present invention is a storage medium insertion portion into which a storage medium is inserted, and an openable / closable lid covering the storage medium insertion portion. Detecting means for detecting the open / closed state of the lid, and managing data when the detecting means detects that the lid is opened when data is being written to the storage medium inserted in the storage medium inserting section And a processing unit for performing a protection process of writing the data management information to the storage medium inserted in the storage medium insertion unit.

【0013】第2の発明に係る記憶媒体の保護構造は、
第1の発明に係る記憶媒体の保護構造において、記憶媒
体が半導体メモリからなるものである。第3の発明に係
る記憶媒体の保護構造は、第1または第2の発明に係る
記憶媒体の保護構造において、処理手段が、保護処理の
後、記憶媒体挿入部に記憶媒体が挿入された状態で蓋が
閉じられたことを検出手段が検出したときにデータ管理
情報に基づいてデータの書き込み処理を再開させるもの
である。
A storage medium protection structure according to the second invention is
In the storage medium protection structure according to the first aspect of the present invention, the storage medium is a semiconductor memory. A storage medium protection structure according to a third aspect of the present invention is the storage medium protection structure according to the first or second aspect, wherein the processing means inserts the storage medium into the storage medium insertion unit after the protection processing. When the detecting means detects that the lid is closed, the data writing process is restarted based on the data management information.

【0014】第1〜第3の発明に係る記憶媒体の保護構
造においては、記憶媒体が挿入された記憶媒体挿入部が
蓋で覆われている。このため、利用者が記憶媒体挿入部
から記憶媒体を抜き出す際には、利用者は、まず蓋を開
き、その後記憶媒体挿入部から記憶媒体を抜き出す必要
がある。蓋が開かれると、検出手段により蓋が開かれた
ことが検出され、処理手段により記憶媒体にデータ管理
状態が書き込まれる。したがって、記憶媒体へのアクセ
ス中に利用者が記憶媒体を抜き出しても、記憶媒体にそ
の時点で記憶されているデータおよびそれに対応するデ
ータ管理情報が記憶媒体に確実に書き込まれる。それに
より、記憶媒体に記憶されたデータとデータ管理情報と
の整合性が取られることになる。
In the storage medium protection structure according to the first to third aspects of the invention, the storage medium insertion portion in which the storage medium is inserted is covered with a lid. Therefore, when the user pulls out the storage medium from the storage medium insertion section, the user must first open the lid and then pull out the storage medium from the storage medium insertion section. When the lid is opened, the detection means detects that the lid is opened, and the processing means writes the data management state in the storage medium. Therefore, even if the user pulls out the storage medium during access to the storage medium, the data currently stored in the storage medium and the corresponding data management information are surely written in the storage medium. As a result, the consistency between the data stored in the storage medium and the data management information is ensured.

【0015】この場合、利用者が蓋を開いてから記憶媒
体を抜き出すまでにある程度の時間がかかるので、処理
手段が記憶媒体に所定の保護処理を行うための時間が確
保される。したがって、記憶媒体へのアクセス中に利用
者が記憶媒体を記憶媒体挿入部から抜き出しても記憶媒
体の記憶内容が確実に保護される。
In this case, since it takes a certain amount of time for the user to open the lid and pull out the storage medium, the processing means secures time for performing a predetermined protection process on the storage medium. Therefore, even if the user pulls out the storage medium from the storage medium insertion portion during access to the storage medium, the stored contents of the storage medium are surely protected.

【0016】特に、第2の発明に係る記憶媒体の保護構
造においては、半導体メモリからなる高速の記憶媒体へ
のアクセス中に利用者が記憶媒体を抜き出した場合に、
記憶媒体の記憶内容が確実に保護される。
Particularly, in the storage medium protection structure according to the second aspect of the present invention, when the user pulls out the storage medium during access to the high-speed storage medium composed of the semiconductor memory,
The stored contents of the storage medium are surely protected.

【0017】さらに、第3の発明に係る記憶媒体の保護
構造においては、保護処理の後に、記憶媒体挿入部に記
憶媒体が挿入された状態で利用者が蓋を閉じると、デー
タ管理情報に基づいて記憶媒体へのアクセスが再開され
る。
Further, in the storage medium protection structure according to the third aspect of the present invention, after the protection processing, when the user closes the lid with the storage medium inserted in the storage medium insertion section, the data management information is generated. Access to the storage medium is restarted.

【0018】第4の発明に係るデータ収集装置は、記憶
媒体が挿入される記憶媒体挿入部と、記憶媒体挿入部を
覆う開閉可能な蓋と、データを入力するデータ入力手段
と、データ入力手段により入力されたデータを記憶媒体
挿入部に挿入された記憶媒体に書き込むデータ書き込み
手段と、蓋の開閉状態を検出する検出手段と、記憶媒体
挿入部に挿入された記憶媒体にデータの書き込み処理が
行われている場合に蓋が開かれたことを検出手段が検出
したときにデータを管理するデータ管理情報を記憶媒体
挿入部に挿入されている記憶媒体に書き込む保護処理を
行う処理手段とを備えたものである。
A data collecting apparatus according to a fourth aspect of the present invention is a storage medium insertion section into which a storage medium is inserted, an openable / closable lid that covers the storage medium insertion section, data input means for inputting data, and data input means. Data writing means for writing the data input by the method to the storage medium inserted in the storage medium insertion portion, detection means for detecting the open / closed state of the lid, and data writing processing for the storage medium inserted in the storage medium insertion portion. And a processing unit for performing a protection process of writing data management information for managing data to the storage medium inserted in the storage medium insertion unit when the detection unit detects that the lid has been opened. It is a thing.

【0019】第5の発明に係るデータ収集装置は、第4
の発明に係るデータ収集装置において、記憶媒体が半導
体メモリからなるものである。第6の発明に係るデータ
収集装置は、第4または第5の発明に係るデータ収集装
置において、処理手段が、保護処理の後、記憶媒体挿入
部に記憶媒体が挿入された状態で蓋が閉じられたことを
検出手段が検出したときにデータ管理情報に基づいてデ
ータの書き込み処理を再開させるものである。
A data collecting apparatus according to a fifth aspect of the present invention is the fourth aspect.
In the data collection device according to the invention, the storage medium is a semiconductor memory. A data collecting apparatus according to a sixth invention is the data collecting apparatus according to the fourth or fifth invention, wherein the processing means, after the protection processing, closes the lid with the storage medium inserted in the storage medium inserting section. When the detection means detects that the data has been written, the data writing process is restarted based on the data management information.

【0020】第4〜第6の発明に係るデータ収集装置に
おいては、第1の発明に係る記憶媒体の保護構造を備え
るので、自動的にデータ収集処理が行われ、記憶媒体へ
のアクセスが続けられている場合に、利用者がアクセス
中であることを知らずに記憶媒体を抜き出しても、記憶
媒体の記憶内容が確実に保護される。
In the data collecting device according to the fourth to sixth inventions, since the data collecting device according to the first invention is provided, the data collecting process is automatically performed and the access to the storage medium is continued. In such a case, even if the storage medium is taken out without the user knowing that the storage medium is being accessed, the stored contents of the storage medium are surely protected.

【0021】特に、第5の発明に係るデータ収集装置に
おいては、半導体メモリからなる高速の記憶媒体へのア
クセス中に利用者が記憶媒体を抜き出した場合に、記憶
媒体の記憶内容が確実に保護される。
In particular, in the data collecting apparatus according to the fifth aspect of the present invention, if the user pulls out the storage medium while accessing the high-speed storage medium composed of the semiconductor memory, the stored contents of the storage medium are surely protected. To be done.

【0022】さらに、第6の発明に係るデータ収集装置
においては、保護処理の後に、記憶媒体挿入部に記憶媒
体が挿入された状態で利用者が蓋を閉じると、データ管
理情報に基づいて記憶媒体へのアクセスが再開される。
Further, in the data collecting apparatus according to the sixth aspect of the present invention, after the protection processing, when the user closes the lid with the storage medium inserted in the storage medium inserting section, the data is stored based on the data management information. Access to the medium is resumed.

【0023】[0023]

【発明の実施の形態】図1は本発明の一実施例における
データ収集装置の外観斜視図である。本実施例のデータ
収集装置においては、記憶媒体としてフラッシュメモリ
からなるPCカードが用いられる。PCカードとは、I
Cメモリカードの一種であり、PCMCIA(Personal
Computer Memory Card International Association)
およびJEIDA(社団法人日本電子工業振興協会)に
より開発された仕様に準拠するものである。
FIG. 1 is an external perspective view of a data collection device according to an embodiment of the present invention. In the data collection device of this embodiment, a PC card including a flash memory is used as a storage medium. What is a PC card?
A type of C memory card, PCMCIA (Personal
Computer Memory Card International Association)
And the specifications developed by JEIDA (Japan Electronic Industry Development Association).

【0024】図1において、データ収集装置本体部1の
上面には、断面円弧状に湾曲した蓋2が開閉自在に取り
付けられ、蓋2の下方にカード挿入部3が設けられてい
る。カード挿入部3の内部にはカードコネクタが配設さ
れている。利用者がカード挿入部3にPCカードを挿入
すると、そのPCカードがカードコネクタに装着され
る。カード挿入部3の近傍にはイジェクトボタン(排出
ボタン)4が設けられている。利用者がイジェクトボタ
ン4を押すと、カード挿入部3に挿入されたPCカード
が外部に排出される。
In FIG. 1, a lid 2 curved in an arcuate shape in cross section is attached to the upper surface of the main body 1 of the data collecting device so as to be openable and closable, and a card insertion portion 3 is provided below the lid 2. A card connector is arranged inside the card insertion portion 3. When the user inserts the PC card into the card insertion portion 3, the PC card is attached to the card connector. An eject button (eject button) 4 is provided near the card insertion portion 3. When the user presses the eject button 4, the PC card inserted in the card insertion portion 3 is ejected to the outside.

【0025】また、データ収集装置本体部1の内部に
は、リミットスイッチからなる検出スイッチ7が配設さ
れている。蓋2の開閉によりこの検出スイッチ7がオン
オフする。
Further, inside the main body 1 of the data collection device, a detection switch 7 composed of a limit switch is arranged. The detection switch 7 is turned on and off by opening and closing the lid 2.

【0026】図2は蓋2の開閉に伴う検出スイッチ7の
作動状態を示す側面図であり、(a)は蓋2が閉じられ
た状態を示し、(b)は蓋2が開かれた状態を示す。図
2に示すように、蓋2の裏側には支持板5が垂直に設け
られ、支持板5の端部が軸6により回動自在に支持され
ている。支持板5の端部近傍の側部には突起5aが設け
られている。
2A and 2B are side views showing the operating state of the detection switch 7 when the lid 2 is opened and closed. FIG. 2A shows the lid 2 closed, and FIG. 2B shows the lid 2 opened. Indicates. As shown in FIG. 2, a support plate 5 is vertically provided on the back side of the lid 2, and an end portion of the support plate 5 is rotatably supported by a shaft 6. A protrusion 5 a is provided on a side portion near the end of the support plate 5.

【0027】図2(a)に示すように、利用者が蓋2を
閉じると、支持板5が軸6を中心として矢印Xの方向に
回動し、突起5aが検出スイッチ7の接点7aを押圧す
る。それにより、接点7aが矢印Aの方向に押し込ま
れ、検出スイッチ7がオンする。一方、図2(b)に示
すように、利用者が蓋2を開くと、支持板5が軸6を中
心として矢印Yの方向に回動し、突起5aが検出スイッ
チ7の接点7aから離れる。それにより、接点7aが矢
印Bの方向に突出し、検出スイッチ7がオフする。この
ように、蓋2の開閉により検出スイッチ7がオンオフす
る。なお、蓋2が閉じられたときに検出スイッチ7がオ
フし、蓋2が開かれたときに検出スイッチ7がオンして
もよい。
As shown in FIG. 2A, when the user closes the lid 2, the support plate 5 rotates about the shaft 6 in the direction of the arrow X, and the projection 5a causes the contact 7a of the detection switch 7 to move. Press. As a result, the contact 7a is pushed in the direction of arrow A, and the detection switch 7 is turned on. On the other hand, as shown in FIG. 2B, when the user opens the lid 2, the support plate 5 rotates about the shaft 6 in the direction of the arrow Y, and the projection 5a separates from the contact 7a of the detection switch 7. . As a result, the contact 7a projects in the direction of arrow B, and the detection switch 7 is turned off. Thus, the detection switch 7 is turned on and off by opening and closing the lid 2. The detection switch 7 may be turned off when the lid 2 is closed, and the detection switch 7 may be turned on when the lid 2 is opened.

【0028】図3は図1のデータ収集装置の構成を示す
ブロック図である。データ収集装置本体部1は、CPU
(中央演算処理装置)11、ROM(リードオンリメモ
リ)12、RAM(ランダムアクセスメモリ)13、フ
ラッシュメモリ14、PCカードインタフェース15、
カードコネクタ16、入力インタフェース17、A/D
(アナログ/デジタル)変換部18、デジタル入出力イ
ンタフェース19および検出スイッチ7を含む。
FIG. 3 is a block diagram showing the configuration of the data collection device of FIG. The data collection device body 1 is a CPU
(Central Processing Unit) 11, ROM (Read Only Memory) 12, RAM (Random Access Memory) 13, Flash Memory 14, PC Card Interface 15,
Card connector 16, input interface 17, A / D
It includes an (analog / digital) converter 18, a digital input / output interface 19 and a detection switch 7.

【0029】CPU11は、データ収集処理を行うとと
もに、データ収集装置本体部1内の各部を制御する。R
OM12には、CPU11の動作を規定する制御プログ
ラムが格納されている。RAM13はデータの一時的な
記憶領域として用いられる。フラッシュメモリ14に
は、変更可能なプログラムが記憶される。A/D変換部
18は、アナログ信号をデジタル信号に変換し、そのデ
ジタル信号をCPU11に入力する。デジタル入出力イ
ンタフェース19は、CPU11から出力されるデジタ
ルデータを外部に出力し、外部から与えられるデジタル
データをCPU11に入力する。
The CPU 11 performs a data collecting process and controls each unit in the data collecting apparatus main body 1. R
The OM 12 stores a control program that defines the operation of the CPU 11. The RAM 13 is used as a temporary storage area for data. A changeable program is stored in the flash memory 14. The A / D converter 18 converts an analog signal into a digital signal and inputs the digital signal into the CPU 11. The digital input / output interface 19 outputs digital data output from the CPU 11 to the outside, and inputs digital data given from the outside to the CPU 11.

【0030】利用者が蓋2を開いてPCカード30を図
1のカード挿入部3に挿入すると、PCカード30はカ
ードコネクタ16に装着される。PCカードインタフェ
ース15は、CPU11から与えられるデータをカード
コネクタ16を介してPCカード30に書き込み、また
はPCカード30からカードコネクタ16を介して読み
出されるデータをCPU11に与える。
When the user opens the lid 2 and inserts the PC card 30 into the card insertion portion 3 of FIG. 1, the PC card 30 is attached to the card connector 16. The PC card interface 15 writes data given from the CPU 11 to the PC card 30 via the card connector 16 or gives data read from the PC card 30 via the card connector 16 to the CPU 11.

【0031】入力インタフェース17は、検出スイッチ
7のオンオフ状態をCPU11に入力する。カード挿入
部3にPCカード30が挿入されているか否かの情報は
PCカードインタフェース15からCPU11に与えら
れる。
The input interface 17 inputs the on / off state of the detection switch 7 to the CPU 11. Information on whether the PC card 30 is inserted in the card insertion portion 3 is given to the CPU 11 from the PC card interface 15.

【0032】本実施例では、カード挿入部3が記憶媒体
挿入部を構成し、検出スイッチ7が検出手段を構成し、
CPU11が処理手段を構成する。また、A/D変換部
8およびデジタル入出力インタフェース19がデータ入
力手段を構成し、CPU11、PCカードインタフェー
ス15およびカードコネクタ16がデータ書き込み手段
を構成する。
In this embodiment, the card insertion portion 3 constitutes a storage medium insertion portion, the detection switch 7 constitutes detection means,
The CPU 11 constitutes a processing means. The A / D converter 8 and the digital input / output interface 19 form a data input unit, and the CPU 11, the PC card interface 15 and the card connector 16 form a data writing unit.

【0033】図4は図3のCPU11の処理を示すフロ
ーチャートである。図4のフローチャートを参照しなが
らCPU11によるPCカードの保護処理を説明する。
ここでは、カードコネクタ16にPCカード30が装着
されているものとする。データ管理情報は、例えば記憶
媒体に記憶されたデータの格納領域、新たなデータを記
憶可能な空き領域、ファイル名、ファイル容量などを含
む。
FIG. 4 is a flow chart showing the processing of the CPU 11 of FIG. The PC card protection processing by the CPU 11 will be described with reference to the flowchart of FIG.
Here, it is assumed that the PC card 30 is attached to the card connector 16. The data management information includes, for example, a storage area of data stored in a storage medium, a free area in which new data can be stored, a file name, a file capacity, and the like.

【0034】まず、CPU11は検出スイッチ7の状態
を判別する(ステップS1)。蓋2が閉じている場合に
は、CPU11はデータ収集処理等の通常の処理を行う
(ステップS2)。蓋2が開かれた場合には、CPU1
1はカード管理情報をPCカードインタフェース15お
よびカードコネクタ16を介してPCカード30に書き
込む(ステップS3)。それにより、PCカード30の
抜き出し可能な状態となる(ステップS4)。
First, the CPU 11 determines the state of the detection switch 7 (step S1). When the lid 2 is closed, the CPU 11 performs normal processing such as data collection processing (step S2). When the lid 2 is opened, the CPU 1
1 writes the card management information into the PC card 30 via the PC card interface 15 and the card connector 16 (step S3). As a result, the PC card 30 can be removed (step S4).

【0035】本実施例のデータ収集装置においては、利
用者が蓋2を開いてからPCカード30を抜き出すまで
にある程度の時間がかかるので、CPU11がPCカー
ド30に保護処理を行うための時間が確保される。した
がって、データ収集装置の内部で自動的にデータ収集処
理が行われ、PCカード30へのアクセスが続けられて
いるときに、利用者がアクセス中であることを知らずに
PCカード30を抜き出しても、PCカード30の記憶
内容が確実に保護される。
In the data collecting apparatus of this embodiment, since it takes some time for the user to open the lid 2 and pull out the PC card 30, it takes time for the CPU 11 to perform the protection process on the PC card 30. Reserved. Therefore, when the data collection process is automatically performed inside the data collection device and the PC card 30 is continuously accessed, even if the user removes the PC card 30 without knowing that the PC card 30 is being accessed. , The contents stored in the PC card 30 are surely protected.

【0036】また、CPU11による保護処理におい
て、PCカード30にデータ管理情報が書き込まれるの
で、PCカード30にその時点で記憶されているデータ
とデータ管理情報との整合性が取られることになる。
Further, since the data management information is written in the PC card 30 in the protection processing by the CPU 11, the data stored in the PC card 30 at that time and the data management information are consistent with each other.

【0037】なお、ステップS4の後、カードコネクタ
16に同じPCカード30が装着された状態で利用者が
蓋2を閉じると、CPU11はPCカード30に記憶さ
れているカード管理情報に基づいてPCカード30への
アクセスを再開する。
After step S4, when the user closes the lid 2 with the same PC card 30 attached to the card connector 16, the CPU 11 causes the PC to open the PC based on the card management information stored in the PC card 30. Access to the card 30 is restarted.

【0038】上記の例では、CPU11が検出スイッチ
7の状態に基づいて蓋2の開閉状態を判別しているが、
蓋2が開かれたときに、検出スイッチ7からの割り込み
処理によりCPU11が保護処理を開始してもよい。
In the above example, the CPU 11 determines the open / closed state of the lid 2 based on the state of the detection switch 7.
When the lid 2 is opened, the CPU 11 may start the protection process by the interrupt process from the detection switch 7.

【0039】なお、カード挿入部3を覆う蓋2の形態お
よび開閉方式おならびに検出スイッチ7の種類および取
り付け位置は上記実施例に限定されない。図5、図6、
図7および図8は蓋および検出スイッチの他の例を示す
概略斜視図である。
The form of the lid 2 that covers the card insertion portion 3, the opening / closing method, and the type and mounting position of the detection switch 7 are not limited to those in the above embodiment. 5 and 6,
7 and 8 are schematic perspective views showing other examples of the lid and the detection switch.

【0040】図5の例では、蓋21が蝶番により開閉自
在にデータ収集装置本体部1に取り付けられている。図
6の例では、取外し可能な蓋22がデータ収集本体部1
に取り付けられている。図7の例では、スライド可能な
蓋23がデータ収集装置本体部1に取り付けられてい
る。また、図5および図6の例では、検出スイッチ7が
外部から見える位置に配置され、図7の例では検出スイ
ッチ7が外部から見えない位置に配置されている。図8
の例では、蓋24の縁部に突起24aが設けられ、デー
タ収集装置本体部1の対応する位置に検出スイッチとし
てフォトインタラプタとして働く光電スイッチ71が取
り付けられている。なお、検出スイッチとして近接スイ
ッチを用いてもよい。
In the example of FIG. 5, the lid 21 is attached to the data collecting apparatus main body 1 by a hinge so as to be openable and closable. In the example of FIG. 6, the removable lid 22 is the data collection main body 1
Attached to. In the example of FIG. 7, a slidable lid 23 is attached to the data collection device body 1. Further, in the examples of FIGS. 5 and 6, the detection switch 7 is arranged at a position visible from the outside, and in the example of FIG. 7, the detection switch 7 is arranged at a position not visible from the outside. FIG.
In the above example, a protrusion 24a is provided on the edge of the lid 24, and a photoelectric switch 71 that functions as a photointerrupter as a detection switch is attached to a corresponding position of the data collection device main body 1. A proximity switch may be used as the detection switch.

【0041】カード挿入部にPCカードが挿入されてい
るか否かを外部から判別することができるように蓋を格
子状部材により構成してもよく、蓋に窓を設けてもよ
い。上記実施例では、記憶媒体としてフラッシュメモリ
からなるPCカードを用いているが、SRAM(スタテ
ィックランダムアクセスメモリ)または他の半導体メモ
リからなるICメモリカードを用いてもよく、あるいは
フロッピーディスク等の他の記憶媒体を用いてもよい。
The lid may be formed of a grid member so that it can be determined from the outside whether or not a PC card is inserted in the card insertion portion, or a window may be provided in the lid. In the above-described embodiment, the PC card including the flash memory is used as the storage medium, but an IC memory card including the SRAM (Static Random Access Memory) or other semiconductor memory may be used, or another floppy disk or the like. A storage medium may be used.

【0042】なお、本発明の記憶媒体の保護構造は、デ
ータ収集装置に限らず、フロッピーディスク、ICメモ
リカード等の記憶媒体にデータを保存するパーソナルコ
ンピュータおよびその他の種々のデータ処理装置にも適
用することができる。
The storage medium protection structure of the present invention is not limited to a data collection device, but is also applied to a personal computer for storing data in a storage medium such as a floppy disk, an IC memory card, and other various data processing devices. can do.

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

【図1】本発明の一実施例におけるデータ収集装置の斜
視図である。
FIG. 1 is a perspective view of a data collection device according to an embodiment of the present invention.

【図2】蓋の開閉に伴う検出スイッチの作動状態を示す
側面図である。
FIG. 2 is a side view showing an operating state of the detection switch when the lid is opened and closed.

【図3】図1のデータ収集装置の構成を示すブロック図
である。
FIG. 3 is a block diagram showing the configuration of the data collection device of FIG.

【図4】図1のデータ収集装置のCPUの動作を示すフ
ローチャートである。
FIG. 4 is a flowchart showing an operation of a CPU of the data collection device of FIG.

【図5】蓋および検出スイッチの他の例を示す概略斜視
図である。
FIG. 5 is a schematic perspective view showing another example of the lid and the detection switch.

【図6】蓋および検出スイッチの他の例を示す概略斜視
図である。
FIG. 6 is a schematic perspective view showing another example of the lid and the detection switch.

【図7】蓋および検出スイッチの他の例を示す概略斜視
図である。
FIG. 7 is a schematic perspective view showing another example of the lid and the detection switch.

【図8】蓋および検出スイッチの他の例示す概略斜視図
である。
FIG. 8 is a schematic perspective view showing another example of the lid and the detection switch.

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

1 データ収集装置本体部 2,21,22,23,24 蓋 3 カード挿入部 4 イジェクトボタン 7 検出スイッチ 71 光電スイッチ 1 Data Collection Device Main Body 2, 21, 22, 23, 24 Lid 3 Card Insertion Section 4 Eject Button 7 Detection Switch 71 Photoelectric Switch

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 記憶媒体が挿入される記憶媒体挿入部
と、 前記記憶媒体挿入部を覆う開閉可能な蓋と、 前記蓋の開閉状態を検出する検出手段と、 前記記憶媒体挿入部に挿入された記憶媒体にデータの書
き込み処理が行われている場合に前記蓋が開かれたこと
を前記検出手段が検出したときにデータを管理するデー
タ管理情報を前記記憶媒体挿入部に挿入されている記憶
媒体に書き込む保護処理を行う処理手段とを備えたこと
を特徴とする記憶媒体の保護構造。
1. A storage medium insertion section into which a storage medium is inserted, an openable / closable lid that covers the storage medium insertion section, a detection unit that detects an open / closed state of the lid, and the storage medium insertion section is inserted into the storage medium insertion section. When data is written to the storage medium, data management information for managing data when the detection means detects that the lid is opened is inserted in the storage medium insertion section. A storage medium protection structure comprising: a processing unit that performs a protection process for writing on a medium.
【請求項2】 前記記憶媒体が半導体メモリからなるこ
とを特徴とする請求項1記載の記憶媒体の保護構造。
2. The protection structure for a storage medium according to claim 1, wherein the storage medium is a semiconductor memory.
【請求項3】 前記処理手段は、前記保護処理の後、前
記記憶媒体挿入部に前記記憶媒体が挿入された状態で前
記蓋が閉じられたことを前記検出手段が検出したときに
前記データ管理情報に基づいて前記データの書き込み処
理を再開させることを特徴とする請求項1または2記載
の記憶媒体の保護構造。
3. The data management means, when the detecting means detects, after the protection processing, that the lid is closed in a state where the storage medium is inserted in the storage medium inserting section after the protection processing. 3. The storage medium protection structure according to claim 1, wherein the data writing process is restarted based on information.
【請求項4】 記憶媒体が挿入される記憶媒体挿入部
と、 前記記憶媒体挿入部を覆う開閉可能な蓋と、 データを入力するデータ入力手段と、 前記データ入力手段により入力されたデータを前記記憶
媒体挿入部に挿入された記憶媒体に書き込むデータ書き
込み手段と、 前記蓋の開閉状態を検出する検出手段と、 前記記憶媒体挿入部に挿入された記憶媒体にデータの書
き込み処理が行われている場合に前記蓋が開かれたこと
を前記検出手段が検出したときにデータを管理するデー
タ管理情報を前記記憶媒体挿入部に挿入されている記憶
媒体に書き込む保護処理を行う処理手段とを備えたこと
を特徴とするデータ収集装置。
4. A storage medium insertion portion into which a storage medium is inserted, an openable / closable lid covering the storage medium insertion portion, data input means for inputting data, and data input by the data input means. Data writing means for writing to the storage medium inserted in the storage medium insertion section, detection means for detecting the open / closed state of the lid, and data writing processing for the storage medium inserted in the storage medium insertion section are performed. In this case, when the detection means detects that the lid has been opened, the data management information for managing the data is written into the storage medium inserted into the storage medium insertion portion, and the processing means performs a protection process. A data collection device characterized by the above.
【請求項5】 前記記憶媒体が半導体メモリからなるこ
とを特徴とする請求項4記載のデータ収集装置。
5. The data collecting apparatus according to claim 4, wherein the storage medium is a semiconductor memory.
【請求項6】 前記処理手段は、前記保護処理の後、前
記記憶媒体挿入部に前記記憶媒体が挿入された状態で前
記蓋が閉じられたことを前記検出手段が検出したときに
前記データ管理情報に基づいて前記データの書き込み処
理を再開させることを特徴とする請求項4または5記載
のデータ収集装置。
6. The data management means, when the detecting means detects, after the protection processing, that the lid is closed in a state where the storage medium is inserted in the storage medium inserting section after the protection processing. 6. The data collecting device according to claim 4, wherein the writing process of the data is restarted based on the information.
JP7300328A 1995-11-17 1995-11-17 Protection structure of storage medium, and data gathering device Pending JPH09146846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7300328A JPH09146846A (en) 1995-11-17 1995-11-17 Protection structure of storage medium, and data gathering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7300328A JPH09146846A (en) 1995-11-17 1995-11-17 Protection structure of storage medium, and data gathering device

Publications (1)

Publication Number Publication Date
JPH09146846A true JPH09146846A (en) 1997-06-06

Family

ID=17883456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7300328A Pending JPH09146846A (en) 1995-11-17 1995-11-17 Protection structure of storage medium, and data gathering device

Country Status (1)

Country Link
JP (1) JPH09146846A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008167121A (en) * 2006-12-28 2008-07-17 Funai Electric Co Ltd Digital broadcast receiver
US7716503B2 (en) * 2006-12-14 2010-05-11 Inventec Corporation Extension card incorporating power management device
JP2013140625A (en) * 2013-03-21 2013-07-18 Niigata Power Systems Co Ltd Data collection device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716503B2 (en) * 2006-12-14 2010-05-11 Inventec Corporation Extension card incorporating power management device
JP2008167121A (en) * 2006-12-28 2008-07-17 Funai Electric Co Ltd Digital broadcast receiver
JP2013140625A (en) * 2013-03-21 2013-07-18 Niigata Power Systems Co Ltd Data collection device

Similar Documents

Publication Publication Date Title
US7656440B2 (en) Processing device mounted in an image sensing apparatus having a memory storing information on possible configurations of a logic circuit
US7539830B2 (en) Portable storage device capable of automatically running biometrics application programs and methods of automatically running the application programs
US6443306B1 (en) Storage case for multiple removable memory cards
JP2001509969A (en) Card, especially chip card reader
US6491226B1 (en) Method and apparatus for preventing extraction of card-shaped functional device for information processing apparatus, and recording medium storing program for realizing extraction preventing operation on computer
JP4315976B2 (en) Data processing device
JPH09146846A (en) Protection structure of storage medium, and data gathering device
KR100420444B1 (en) External storage device
US7639286B2 (en) Image input apparatus for storing image data into a removable recording medium
JPH076028A (en) Electronic equipment
JP3897368B2 (en) Expansion card mounting device
WO2002054647A8 (en) Verifying a match between contents of an enclosure and data printed on the enclosure
JP2004030160A (en) Personal digital assistant, method for controlling input lock, and program for controlling input lock
JP5121076B2 (en) Removable media, formatting device, and formatting system
JPH1042231A (en) Digital camera and digital camera system
TW452767B (en) Method for irreversibly write-securing a magnetic storage cartridge
JP4184709B2 (en) Data processing system, data processing method, and data processing program
US7227743B2 (en) Electronic device
JPH05233475A (en) Information processor
JP3130077B2 (en) Information processing device
JP2007316342A (en) Browsing management system, browsing management method, and browsing management program
JP4016150B2 (en) Camera device
JP2001084049A (en) Computer and security method for computer
JPH04175916A (en) Card type power closing mechanism
JP3667643B2 (en) Recording medium insertion / extraction detection device and insertion / extraction detection method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050830

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060110