JP2009087241A - Device terminal, usb device, information processing system, and program - Google Patents

Device terminal, usb device, information processing system, and program Download PDF

Info

Publication number
JP2009087241A
JP2009087241A JP2007258963A JP2007258963A JP2009087241A JP 2009087241 A JP2009087241 A JP 2009087241A JP 2007258963 A JP2007258963 A JP 2007258963A JP 2007258963 A JP2007258963 A JP 2007258963A JP 2009087241 A JP2009087241 A JP 2009087241A
Authority
JP
Japan
Prior art keywords
position information
information storage
storage means
stored
supply
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
JP2007258963A
Other languages
Japanese (ja)
Inventor
Yukio Tada
幸生 多田
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2007258963A priority Critical patent/JP2009087241A/en
Publication of JP2009087241A publication Critical patent/JP2009087241A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To attain access limitation according to a position at a state that a device terminal is connected to a host device. <P>SOLUTION: A CPU judges whether or not positional information is stored in a flash ROM for storing the positional information when the position is measured (a step S5). Since no piece of positional information is stored in the flash ROM for storing the positional information when a USB memory is shipped from a factory, in such a case that a user purchases the USB memory and first installs it in a personal computer, a judgment result in the step S5 becomes "No". In this case, the CPU reads the positional information stored in a RAM and writes it in the flash ROM for storing the positional information (a step S6). Thus, when the positional information is stored in the flash ROM for storing the positional information, after that, the user can use the USB memory only when the USB memory is within a range at a predetermined distance from a position expressed by the positional information. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、デバイス端末に記憶された情報へのアクセスを制限する技術に関する。   The present invention relates to a technique for restricting access to information stored in a device terminal.

パーソナルコンピュータとその周辺デバイスとの間のインターフェースとして、USB(Universal Serial Bus)規格が広く普及している。このようなUSB規格を実装するデバイス端末(USBデバイスという)にフラッシュメモリを搭載することで、軽量且つ小型の記憶手段を実現することができる。この種のUSBデバイスはUSBメモリなどと呼ばれており、既に広く市販されているが、誰もが手軽に利用できるが故に、情報漏洩や不正アクセスなどを防止するための方策が要請されている。   As an interface between a personal computer and its peripheral devices, the USB (Universal Serial Bus) standard is widely used. By mounting a flash memory on a device terminal (referred to as a USB device) that implements such a USB standard, a lightweight and compact storage means can be realized. This type of USB device is called a USB memory and is already widely available on the market, but since everyone can use it easily, there is a demand for measures to prevent information leakage and unauthorized access. .

情報へのアクセスを制限する技術としては、例えば特許文献1において、それぞれのファイルに応じて予め設定された日時や場所においてのみ、そのファイルへのアクセスを許可するという仕組みが提案されている。また、特許文献2には、位置に応じて決められた鍵でファイルを暗号化しておき、その位置にいる場合にのみファイルを正しく復号し得るようにした仕組みが提案されている。
特開2000−163379号公報 特開2007−4243号公報
As a technique for restricting access to information, for example, Patent Document 1 proposes a mechanism for permitting access to a file only at a date and time set in advance according to each file. Patent Document 2 proposes a mechanism in which a file is encrypted with a key determined in accordance with the position, and the file can be correctly decrypted only when the user is at that position.
JP 2000-163379 A JP 2007-4243 A

特許文献1,2に記載の技術はいずれも、ホスト装置に接続されて利用されるデバイス端末におけるアクセス制限を意図したものではない。また、これらの技術では、各々のファイルに対して位置を対応付けるときにはユーザの操作が必要であったり、また、ファイル単位で位置を対応付けなければならないといった事情から、手続きや処理が煩雑になるという問題がある。
本発明は、かかる事情に鑑みてなされたものであり、その目的は、デバイス端末がホスト装置に接続された状態において、ホスト装置からデバイス端末の記憶手段に対するアクセスを位置に応じて制限する仕組みを簡易に実現することにある。
None of the techniques described in Patent Documents 1 and 2 is intended to limit access in a device terminal that is connected to a host device and used. In addition, with these techniques, procedures and processing become complicated due to the fact that a user operation is required when associating positions with each file, and positions must be associated with each file. There's a problem.
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a mechanism for restricting access from a host device to a storage unit of a device terminal according to a position when the device terminal is connected to the host device. It is to realize simply.

上記課題を解決するために、本発明は、ホスト装置に接続されて利用されるデバイス端末であって、自端末に接続された前記ホスト装置から供給される供給情報を記憶する供給情報記憶手段と、自端末の位置を表す位置情報を取得する位置情報取得手段と、前記位置情報を記憶するための位置情報記憶手段と、前記位置情報記憶手段に位置情報が記憶されていないときに前記ホスト装置に接続されると、前記位置情報取得手段によって取得された位置情報を前記位置情報記憶手段に書き込む書込手段と、前記位置情報記憶手段に位置情報が記憶されているときに前記ホスト装置に接続され、前記位置情報記憶手段に記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致すると、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可し、前記位置情報記憶手段に記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致しないと、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可しない許可手段とを備えることを特徴とするデバイス端末を提供する。   In order to solve the above-described problems, the present invention provides a device terminal that is connected to a host device and used, and stores supply information supplied from the host device connected to the terminal. Position information acquisition means for acquiring position information representing the position of the terminal itself, position information storage means for storing the position information, and the host apparatus when position information is not stored in the position information storage means Connected to the host device when the position information is stored in the position information storage means, and writing means for writing the position information acquired by the position information acquisition means in the position information storage means If the position information stored in the position information storage means matches the position information acquired by the position information acquisition means, the host device supplies the supply information. If access to the storage means is permitted and the position information stored in the position information storage means does not match the position information acquired by the position information acquisition means, the host device sends the information to the supply information storage means. There is provided a device terminal comprising permission means that does not permit access.

本発明の好ましい態様において、前記位置情報記憶手段に記憶されている位置情報を消去する指示を受け付けると、当該位置情報を消去すると共に、前記供給情報記憶手段に記憶されている供給情報を消去する消去手段を備え、前記書込手段は、前記消去手段によって前記位置情報記憶手段から前記位置情報が消去された状態にあるときに、前記ホスト装置に接続されると、前記位置情報取得手段によって取得された位置情報を前記位置情報記憶手段に新たに書き込むようにしてもよい。   In a preferred aspect of the present invention, when an instruction to delete the position information stored in the position information storage unit is received, the position information is deleted and the supply information stored in the supply information storage unit is deleted. When the position information is erased from the position information storage means by the erasure means, the writing means obtains the position information acquisition means when connected to the host device. The recorded position information may be newly written in the position information storage means.

本発明の好ましい態様において、複数の前記位置情報記憶手段と、各々の前記位置情報記憶手段に対応する複数の前記供給情報記憶手段とを備え、前記許可手段は、複数の前記位置情報記憶手段に記憶されている位置情報のいずれかが、前記位置情報取得手段によって取得された位置情報と一致した場合には、複数の前記供給情報記憶手段のうち、記憶している位置情報が一致した前記位置情報記憶手段に対応する前記供給情報記憶手段へのアクセスを許可し、複数の前記位置情報記憶手段に記憶されている位置情報のいずれもが、前記位置情報取得手段によって取得された位置情報と一致しない場合には、各々の前記供給情報記憶手段へのアクセスを許可しないようにしてもよい。   In a preferred aspect of the present invention, the apparatus includes a plurality of the position information storage means and a plurality of the supply information storage means corresponding to each of the position information storage means, and the permission means includes a plurality of the position information storage means. If any of the stored position information matches the position information acquired by the position information acquisition means, the position where the stored position information matches among the plurality of supply information storage means Access to the supply information storage means corresponding to the information storage means is permitted, and any of the position information stored in the plurality of position information storage means matches the position information acquired by the position information acquisition means If not, access to each of the supply information storage means may not be permitted.

本発明の好ましい態様において、前記ホスト装置から前記供給情報記憶手段へのアクセスには、当該供給情報記憶手段への情報の書き込み処理のためのアクセスと、当該供給情報記憶手段からの情報の読み出し処理のためのアクセスとが含まれており、前記位置情報記憶手段には、複数の前記位置情報が記憶されており、前記許可手段は、前記位置情報記憶手段に記憶されている複数の位置情報のいずれかと、前記位置情報取得手段によって取得された位置情報とが一致した場合には、前記書き込み処理または前記読み出し処理のうち、一致した位置情報に応じた処理のためのアクセスを許可するようにしてもよい。   In a preferred aspect of the present invention, the access from the host device to the supply information storage means includes an access for writing information to the supply information storage means, and a process of reading information from the supply information storage means The position information storage means stores a plurality of the position information, and the permission means stores a plurality of position information stored in the position information storage means. If any of the information and the position information acquired by the position information acquisition means match, access for the process corresponding to the matched position information in the writing process or the reading process is permitted. Also good.

本発明の好ましい態様において、前記ホスト装置から前記供給情報記憶手段へのアクセスには、当該供給情報記憶手段への情報の書き込み処理のためのアクセスと、当該供給情報記憶手段からの情報の読み出し処理のためのアクセスが含まれており、前記許可手段は、前記書き込み処理または前記読み出し処理のうち、前記位置情報記憶手段に記憶されている位置情報が表す位置と、前記位置情報取得手段によって取得された位置情報が表す位置との間の距離に応じた処理のためのアクセスを許可するようにしてもよい。   In a preferred aspect of the present invention, the access from the host device to the supply information storage means includes an access for writing information to the supply information storage means, and a process of reading information from the supply information storage means The permission means is acquired by the position information acquisition means and the position represented by the position information stored in the position information storage means in the writing process or the reading process. Access for processing according to the distance to the position represented by the position information may be permitted.

本発明の好ましい態様において、前記位置情報記憶手段に記憶されている位置情報と、前記位置情報取得手段によって取得された位置情報とを、前記ホスト装置又は当該ホスト装置と通信を行う外部装置に送信する位置情報送信手段と、当該ホスト装置又は当該外部装置から送信されてくる、両者の前記位置情報の照合結果を取得する照合結果取得手段とを備え、前記許可手段は、前記照合結果取得手段によって取得された照合結果に基づいて、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可するか又は許可しないようにしてもよい。   In a preferred aspect of the present invention, the position information stored in the position information storage means and the position information acquired by the position information acquisition means are transmitted to the host device or an external device that communicates with the host device. Position information transmitting means, and collation result acquisition means for acquiring the collation result of the position information transmitted from the host device or the external device, and the permitting means includes the collation result acquisition means. Based on the obtained collation result, access from the host device to the supply information storage means may be permitted or not permitted.

また、本発明は、このデバイス端末と、前記ホスト装置又は当該ホスト装置と通信を行う前記外部装置とを備え、前記デバイス端末は、前記位置情報記憶手段に記憶されている位置情報と、前記位置情報取得手段によって取得された位置情報とを、前記ホスト装置又は当該ホスト装置と通信を行う前記外部装置に送信する位置情報送信手段を備え、前記ホスト装置又は当該ホスト装置と通信を行う前記外部装置は、建物の内外の位置が区別された地図情報を記憶する地図情報記憶手段と、前記デバイス端末から送信されてくる、前記位置情報記憶手段に記憶されている位置情報と、前記デバイス端末から送信されてくる、前記位置情報取得手段によって取得された位置情報とが、前記地図情報に記憶された共通の建物の内側の位置にあるか否かを判断する判断手段と、前記判断手段によって、共通の建物の内側の位置にあると判断された場合には、前記位置情報記憶手段に記憶されている位置情報と前記取得手段によって取得された位置情報とが一致する旨の照合結果を前記デバイス端末に送信し、共通の建物の内側の位置にないと判断された場合には、前記位置情報記憶手段に記憶されている位置情報と前記取得手段によって取得された位置情報とが一致しない旨の照合結果を前記デバイス端末に送信する照合結果送信手段とを備えることを特徴とする情報処理システムを提供する。   In addition, the present invention includes the device terminal and the host device or the external device that communicates with the host device, and the device terminal stores the position information stored in the position information storage unit, and the position Position information transmission means for transmitting the position information acquired by the information acquisition means to the host device or the external device communicating with the host device, and the host device or the external device communicating with the host device Is a map information storage means for storing map information in which the positions inside and outside the building are distinguished, the position information transmitted from the device terminal, stored in the position information storage means, and transmitted from the device terminal. Whether the position information acquired by the position information acquisition means is in a position inside the common building stored in the map information. The position information stored in the position information storage means and the position acquired by the acquisition means when the determination means determines that the position is inside the common building. When the collation result indicating that the information matches is transmitted to the device terminal and it is determined that the information is not located inside the common building, the position information stored in the position information storage means and the acquisition means There is provided an information processing system comprising: a collation result transmitting unit that transmits a collation result indicating that the position information acquired by the information does not match to the device terminal.

また、本発明は、USB(Universal Serial Bus)規格によってUSBホストに接続されて利用されるUSBデバイスであって、自デバイスに接続された前記USBホストから供給される供給情報を記憶する第1のメモリと、自デバイスの位置を表す位置情報を取得する位置情報取得手段と、前記位置情報を記憶するための第2のメモリと、前記USBホストからの要求に応じて、前記第1のメモリに対する情報の書き込み及び読み出しを制御するUSBコントローラと、前記第2のメモリに位置情報が記憶されていないときに前記USBホストに接続されると、前記位置情報取得手段によって取得された位置情報を前記第2のメモリに書き込み、前記第2のメモリに位置情報が記憶されているときに前記USBホストに接続され、前記第2のメモリに記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致すると、前記USBコントローラを起動し、前記第2のメモリに記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致しないと、前記USBコントローラを起動しない制御手段とを備えることを特徴とするUSBデバイスを提供する。   In addition, the present invention is a USB device that is used by being connected to a USB host according to the USB (Universal Serial Bus) standard, and stores supply information supplied from the USB host connected to the device. A memory, position information acquisition means for acquiring position information indicating the position of the device, a second memory for storing the position information, and the first memory in response to a request from the USB host When connected to the USB host when position information is not stored in the second memory and a USB controller that controls writing and reading of information, the position information acquired by the position information acquisition means is 2 is connected to the USB host when position information is stored in the second memory, and the second memo is stored in the second memory. When the position information stored in the memory and the position information acquired by the position information acquisition means match, the USB controller is activated, and the position information stored in the second memory and the position information acquisition means Provided is a USB device comprising control means for not starting the USB controller when the acquired position information does not match.

ホスト装置に接続されて利用されるコンピュータを、自端末に接続された前記ホスト装置から供給される供給情報を記憶する供給情報記憶手段と、自端末の位置を表す位置情報を取得する位置情報取得手段と、前記位置情報を記憶するための位置情報記憶手段と、前記位置情報記憶手段に位置情報が記憶されていないときに前記ホスト装置に接続されると、前記位置情報取得手段によって取得された位置情報を前記位置情報記憶手段に書き込む書込手段と、前記位置情報記憶手段に位置情報が記憶されているときに前記ホスト装置に接続され、前記位置情報記憶手段に記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致すると、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可し、前記位置情報記憶手段に記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致しないと、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可しない許可手段として機能させるプログラムを提供する。   A computer connected to the host device for use, a supply information storage means for storing supply information supplied from the host device connected to the terminal, and position information acquisition for acquiring position information indicating the position of the terminal Acquired by the position information acquisition means when connected to the host device when position information is not stored in the position information storage means, and position information storage means for storing the position information. Writing means for writing position information in the position information storage means; position information connected to the host device when position information is stored in the position information storage means; and stored in the position information storage means; When the position information acquired by the position information acquisition means matches, the host device is allowed to access the supply information storage means, and the position information Provided is a program that functions as a permission unit that does not permit access from the host device to the supply information storage unit when the position information stored in the storage unit does not match the position information acquired by the position information acquisition unit To do.

本発明によれば、デバイス端末がホスト装置に接続された状態において、ホスト装置からデバイス端末の記憶手段に対するアクセスを位置に応じて制限する仕組みを簡易に実現することができる。   ADVANTAGE OF THE INVENTION According to this invention, in the state in which the device terminal was connected to the host apparatus, the mechanism which restrict | limits the access with respect to the memory | storage means of a device terminal from a host apparatus according to a position is easily realizable.

[構成]
図1は、本実施形態に係る情報処理システム1の構成を示す図である。同図に示すように、この情報処理システム1は、USB(Universal Serial Bus)規格を実装するUSBホストであるパーソナルコンピュータ10(以下、パソコン10という)と、USB規格を実装するUSBデバイスであるUSBメモリ20とを備えている。USBメモリ20は、パソコン10に対し、USB規格で定められたマスストレージとして動作する。ただし、このUSBメモリは、予め登録された場所でのみパソコン10からのアクセスを許可するよう、その動作が制限されている。この“予め登録された場所”とは、例えば、利用者が業務を行うオフィスや工場など、USBメモリを使用する場所として適切であるとその利用者が決めた場所のことである。
[Constitution]
FIG. 1 is a diagram illustrating a configuration of an information processing system 1 according to the present embodiment. As shown in FIG. 1, the information processing system 1 includes a personal computer 10 (hereinafter referred to as a personal computer 10) that is a USB host that implements the USB (Universal Serial Bus) standard, and a USB that is a USB device that implements the USB standard. And a memory 20. The USB memory 20 operates as a mass storage defined by the USB standard for the personal computer 10. However, the operation of this USB memory is limited so as to allow access from the personal computer 10 only at a location registered in advance. The “pre-registered location” is a location that the user has determined to be appropriate as a location where the USB memory is used, such as an office or factory where the user operates.

この情報処理システム1の構成を詳細に説明する。
まず、パソコン10は、CPU(Central Processing Unit)11と、RAM(Random Access Memory)12と、ROM(Read Only Memory)13と、記憶部14と、USBポート15と、USBコントローラ16と、操作部17と、表示部18とを備えている。ROM13は、読み出し専用の不揮発性メモリであり、パソコン10を起動させるためのブートプログラム等の制御プログラムを記憶している。記憶部14は、例えばハードディスクであり、パソコン10全体を管理するためのOSや、USB規格に従って通信を行うためのソフトウェアプログラムを含む各種のソフトウェアプログラム群を記憶している。CPU11は、これらROM13又は記憶部14に記憶されているプログラムを読み出し、RAM12をワークエリアとしてこれらを実行することにより、各種の処理を実行する。
The configuration of the information processing system 1 will be described in detail.
First, the personal computer 10 includes a central processing unit (CPU) 11, a random access memory (RAM) 12, a read only memory (ROM) 13, a storage unit 14, a USB port 15, a USB controller 16, and an operation unit. 17 and a display unit 18. The ROM 13 is a read-only nonvolatile memory and stores a control program such as a boot program for starting up the personal computer 10. The storage unit 14 is, for example, a hard disk, and stores various software program groups including an OS for managing the entire personal computer 10 and a software program for performing communication according to the USB standard. The CPU 11 reads out programs stored in the ROM 13 or the storage unit 14 and executes various processes by using the RAM 12 as a work area.

USBポート15は、USBメモリ20のUSBコネクタ26が接続される接続口である。USBコントローラ16は、CPU11による制御の下でUSB規格に従い、USBポート経由でUSBメモリ20と通信を行う。操作部17は、例えばキーボードとマウスであり、ユーザの操作を受け付けて、その操作に応じた信号をCPU11に供給する。表示部18は、例えば液晶ディスプレイであり、CPU11による制御の下で各種の画像を表示する。   The USB port 15 is a connection port to which the USB connector 26 of the USB memory 20 is connected. The USB controller 16 communicates with the USB memory 20 via the USB port according to the USB standard under the control of the CPU 11. The operation unit 17 is, for example, a keyboard and a mouse, receives a user operation, and supplies a signal corresponding to the operation to the CPU 11. The display unit 18 is a liquid crystal display, for example, and displays various images under the control of the CPU 11.

次に、USBメモリ20は、CPU21と、RAM22と、ROM23と、供給情報記憶用フラッシュROM24と、位置情報記憶用フラッシュROM25と、USBコネクタ26と、USBコントローラ27と、測位部28と、LED29と、リセットスイッチ30とを備えている。ROM23は、読み出し専用の不揮発性メモリであり、制御プログラムを記憶している。CPU21は、ROM23に記憶されている制御プログラムを読み出し、RAM22をワークエリアとしてこれらを実行することにより、各種の処理を実行する。   Next, the USB memory 20 includes a CPU 21, a RAM 22, a ROM 23, a supply information storage flash ROM 24, a position information storage flash ROM 25, a USB connector 26, a USB controller 27, a positioning unit 28, and an LED 29. The reset switch 30 is provided. The ROM 23 is a read-only nonvolatile memory and stores a control program. The CPU 21 reads out the control program stored in the ROM 23 and executes these processes using the RAM 22 as a work area, thereby executing various processes.

USBコネクタ26は、パソコン10のUSBポート15に接続される接続インタフェースである。USBメモリ20のCPU21と、パソコン10のCPU11とは、USBポート15及びUSBコネクタ26を介して相互に通信を行う。測位部28は、USBメモリ20の位置を測定し、その位置を表す位置情報を生成する。測位部28による測位方法は、必要とされる精度で測位を行うのものであれば特に限定されないが、ここでは、例えば複数のGPS(Global Positioning System)衛星から発信されるGPS信号の発信時刻と受信時刻の差分に基づいて位置を測定するものとする。   The USB connector 26 is a connection interface connected to the USB port 15 of the personal computer 10. The CPU 21 of the USB memory 20 and the CPU 11 of the personal computer 10 communicate with each other via the USB port 15 and the USB connector 26. The positioning unit 28 measures the position of the USB memory 20 and generates position information representing the position. The positioning method by the positioning unit 28 is not particularly limited as long as it performs positioning with the required accuracy, but here, for example, the transmission time of GPS signals transmitted from a plurality of GPS (Global Positioning System) satellites and The position is measured based on the difference in reception time.

供給情報記憶用フラッシュROM24及び位置情報記憶用フラッシュROM25は、いずれも、EEPROM(Electrically Erasable and Programmable Read Only Memory)やフラッシュメモリで構成された不揮発性メモリである。供給情報記憶用フラッシュROM24には、パソコン10からUSBポート15及びUSBコネクタ26経由で供給される情報(以下、供給情報という)がUSBコントローラ27によって書き込まれる。また、この供給情報記憶用フラッシュROM24に記憶されている供給情報は、パソコン10からの要求に応じて、USBコントローラ27により読み出されてUSBコネクタ26及びUSBポート15経由でパソコン10に出力される。この供給情報には、文書、映像又は音楽などを表す情報のほか、コンピュータプログラムのような情報が含まれる。位置情報記憶用フラッシュROM25には、測位部28によって生成された位置情報がCPU21によって書き込まれる。このように、供給情報記憶用フラッシュROM24に対する情報の書き込み及び読み出しは、USBコントローラ27によって制御されるのに対し、位置情報記憶用フラッシュROM25に対する位置情報の書き込み及び読み出しは、CPU21によって制御される。LED29は、CPU21の制御に従って点灯又は消灯する。リセットスイッチ30は、利用者が位置情報記憶用フラッシュROM25の記憶内容を消去し、USBメモリ20を工場出荷時の状態へとリセットするためのスイッチである。   Each of the supply information storage flash ROM 24 and the position information storage flash ROM 25 is a nonvolatile memory composed of an EEPROM (Electrically Erasable and Programmable Read Only Memory) or a flash memory. Information supplied from the personal computer 10 via the USB port 15 and the USB connector 26 (hereinafter referred to as supply information) is written into the supply information storage flash ROM 24 by the USB controller 27. The supply information stored in the supply information storage flash ROM 24 is read by the USB controller 27 in response to a request from the personal computer 10 and is output to the personal computer 10 via the USB connector 26 and the USB port 15. . This supply information includes information such as a computer program in addition to information representing a document, video or music. The position information generated by the positioning unit 28 is written into the position information storing flash ROM 25 by the CPU 21. As described above, writing and reading of information to and from the supply information storage flash ROM 24 are controlled by the USB controller 27, while writing and reading of position information to and from the position information storage flash ROM 25 are controlled by the CPU 21. The LED 29 is turned on or off according to the control of the CPU 21. The reset switch 30 is a switch for the user to erase the stored contents of the location information storing flash ROM 25 and reset the USB memory 20 to the factory default state.

[動作]
次に、図2〜4に示したフローチャートを参照しながら、USBメモリ20のCPU21の動作について説明する。
[USBメモリ20を工場出荷後に初めて使用する場合]
まず、利用者がUSBメモリ20を購入し、初めて使用する場合の動作を説明する。利用者がUSBメモリ20のUSBコネクタ26をパソコン10のUSBポート15に接続すると、パソコン10からUSBポート15及びUSBコネクタ26経由でUSBメモリ20の各部に電力が供給される。この電力供給に応じて、USBメモリ20のCPU21は、パソコン10のCPU11乃至USBコントローラ16との間で、USBの規格に従ったウェイクアップシーケンスを行った後、図2,3に示すメインルーチンを開始する。
[Operation]
Next, the operation of the CPU 21 of the USB memory 20 will be described with reference to the flowcharts shown in FIGS.
[When using the USB memory 20 for the first time after factory shipment]
First, the operation when the user purchases the USB memory 20 and uses it for the first time will be described. When the user connects the USB connector 26 of the USB memory 20 to the USB port 15 of the personal computer 10, power is supplied from the personal computer 10 to each part of the USB memory 20 via the USB port 15 and the USB connector 26. In response to this power supply, the CPU 21 of the USB memory 20 performs a wake-up sequence according to the USB standard with the CPU 11 to the USB controller 16 of the personal computer 10, and then performs the main routine shown in FIGS. Start.

最初に、CPU21は、ROM23から制御プログラムを読み出し、これを起動する(ステップS1)。次に、CPU21は、位置を測定するよう測位部28に指示して、測位処理を行わせる(ステップS2)。測位部28は、この指示に応じて、GPS衛星をサーチし、これらのGPS衛星から発信されるGPS信号を受信する。これらのGPS信号には、各GPS衛星からの発信時刻が含まれているから、測位部28は、その発信時刻と受信時刻の差分に基づいて位置を算出し、その位置を緯度経度によって表した位置情報を生成する。CPU21は、生成された位置情報を測位部28から受け取ってRAM22に書き込む。   First, the CPU 21 reads a control program from the ROM 23 and activates it (step S1). Next, the CPU 21 instructs the positioning unit 28 to measure the position and performs a positioning process (step S2). In response to this instruction, the positioning unit 28 searches for GPS satellites and receives GPS signals transmitted from these GPS satellites. Since these GPS signals include the transmission time from each GPS satellite, the positioning unit 28 calculates the position based on the difference between the transmission time and the reception time, and expresses the position by latitude and longitude. Generate location information. The CPU 21 receives the generated position information from the positioning unit 28 and writes it in the RAM 22.

次に、CPU21は、上記のような測位処理を試みた結果、位置を測定することができたか否かを判断する(ステップS3)。例えばGPS信号の受信環境が悪いとか測位部の故障などといった理由から、位置を測定することができなかった場合には(ステップS3;No)、CPU21は、LED29を所定の点滅パターンで点滅させるなどのエラー処理を行って(ステップS4)、処理を終了する。CPU21は、このようなエラー処理を行うことで、測位不能のためUSBメモリ20を使用できないことを利用者に通知することができる。   Next, the CPU 21 determines whether or not the position has been measured as a result of attempting the positioning process as described above (step S3). For example, if the position cannot be measured due to poor GPS signal reception environment or failure of the positioning unit (step S3; No), the CPU 21 causes the LED 29 to blink in a predetermined blinking pattern. The error process is performed (step S4), and the process ends. By performing such an error process, the CPU 21 can notify the user that the USB memory 20 cannot be used because positioning is impossible.

一方、ステップS2にて位置を測定することができた場合には(ステップS3;Yes)、CPU21は、位置情報記憶用フラッシュROM25に位置情報が記憶されているか否かを判断する(ステップS5)。USBメモリ20が工場から出荷されたときには、位置情報記憶用フラッシュROM25にはいっさいの位置情報が記憶されていないから、利用者がUSBメモリ20を購入してはじめてパソコン10に装着したような場合、このステップS5の判断結果は“No”となる。この場合、CPU21は、RAM22に記憶しておいた位置情報を読み出して、これを位置情報記憶用フラッシュROM25に書き込む(ステップS6)。このように位置情報記憶用フラッシュROM25に位置情報が登録されると、それ以降、パソコン10からの供給情報記憶用フラッシュROM24に対するアクセスは、その位置情報が表す位置にUSBメモリ20が存在するときにしか許可されないことになる。   On the other hand, when the position can be measured in step S2 (step S3; Yes), the CPU 21 determines whether or not the position information is stored in the position information storing flash ROM 25 (step S5). . When the USB memory 20 is shipped from the factory, since no position information is stored in the position information storage flash ROM 25, when the user first purchases the USB memory 20 and attaches it to the personal computer 10, The determination result in step S5 is “No”. In this case, the CPU 21 reads the position information stored in the RAM 22 and writes it in the position information storing flash ROM 25 (step S6). When the position information is registered in the position information storage flash ROM 25 in this way, the access to the supply information storage flash ROM 24 from the personal computer 10 thereafter is performed when the USB memory 20 exists at the position indicated by the position information. Only allowed.

さて、CPU21は、位置情報を位置情報記憶用フラッシュROM25に記憶すると、USBコントローラ27を起動して(ステップS9)、USBメモリ20をパソコン10のマスストレージとして動作させる。つまり、USBコントローラ27は、パソコン10のCPU11から供給情報記憶用フラッシュROM24に対し、供給情報の書き込みのためのアクセスがあった場合、そのアクセスに伴って供給されてくる供給情報を供給情報記憶用フラッシュROM24に書き込む。また、USBコントローラ27は、パソコン10のCPU11から供給情報記憶用フラッシュROM24に対して、供給情報の読み出しのためのアクセスがあると、そのアクセスによって指定される供給情報を供給情報記憶用フラッシュROM24から読み出し、パソコン10へと出力する。   When the position information is stored in the position information storage flash ROM 25, the CPU 21 activates the USB controller 27 (step S9) and operates the USB memory 20 as a mass storage of the personal computer 10. That is, when the CPU 11 of the personal computer 10 accesses the supply information storage flash ROM 24 for writing supply information, the USB controller 27 uses the supply information supplied along with the access to supply information storage. Write to flash ROM 24. Further, when there is an access for reading supply information from the CPU 11 of the personal computer 10 to the supply information storage flash ROM 24, the USB controller 27 sends the supply information specified by the access from the supply information storage flash ROM 24. Read out and output to personal computer 10.

そして、利用者がパソコン10の操作部17を操作して、USBメモリ20の使用を終了する操作を行うと、その旨の指示がパソコン10のCPU11からUSBメモリ20のCPU21に通知される。CPU21は、この指示に従い、USBコントローラ27の処理を終了すると判断して(ステップS10;Yes)、USBコントローラ27を終了させた後、自身の処理も終了する。   Then, when the user operates the operation unit 17 of the personal computer 10 and performs an operation to end the use of the USB memory 20, an instruction to that effect is notified from the CPU 11 of the personal computer 10 to the CPU 21 of the USB memory 20. In accordance with this instruction, the CPU 21 determines that the process of the USB controller 27 is to be terminated (step S10; Yes).

一方、利用者がUSBメモリ20の使用を終了する操作を行わない間は(ステップS10;No)、CPU21は、予め決められた定期的な測位時期が到来したか否かを判断する(ステップS11)。ここでは、例えば5分毎に測位するように決められているものとする。この場合、前回の測位処理から5分が経過すると、CPU21は、測位時期が到来したと判断して(ステップS11;Yes)、上述したステップS2と同様の測位処理を行う(図3のステップS13)。   On the other hand, while the user does not perform the operation to end the use of the USB memory 20 (step S10; No), the CPU 21 determines whether or not a predetermined periodical positioning time has come (step S11). ). Here, for example, it is assumed that positioning is determined every 5 minutes. In this case, when 5 minutes have elapsed from the previous positioning process, the CPU 21 determines that the positioning time has come (step S11; Yes), and performs the positioning process similar to step S2 described above (step S13 in FIG. 3). ).

この測位処理の結果、位置を測定することができた場合(ステップS14;Yes)、CPU21は、測位部28により生成された位置情報と、位置情報記憶用フラッシュROM25に記憶されている位置情報とを照合し(ステップS15)、両者が一致しているか否かを判断する(ステップS16)。ここでいう、位置情報の一致とは、両者の位置情報に含まれる緯度経度が完全に一致する場合のほか、それぞれの位置情報が表す位置が所定の距離範囲内にある場合も含まれる。例えばGPSで測位した場合、数十センチ程度の精度で位置を測定することができるから、双方の位置情報の完全一致をUSBメモリ20の使用可能条件とすると、USBメモリ20に記憶しておいた位置から少しでもずれるとそのUSBメモリ20を使用できなくなってしまい、利用者がUSBメモリ20を使いづらくなってしまう。そこで、双方の位置が例えば数メートル程度の所定距離範囲内にあれば、両者を一致したとみなすのである。この場合、CPU21が、それぞれの位置情報が表す位置の間の距離を計算し、その距離が範囲以内か否かを判断するようにしてもよいし、CPU21が、位置情報記憶用フラッシュROM25に位置情報を記憶する段階で、その位置情報を中心とした所定距離の範囲内に含まれる広がりのある領域を、位置情報として記憶しておいてもよい。   If the position can be measured as a result of this positioning process (step S14; Yes), the CPU 21 receives the position information generated by the positioning unit 28 and the position information stored in the position information storage flash ROM 25. Are checked (step S15), and it is determined whether or not they match (step S16). Here, the coincidence of position information includes not only the case where the latitude and longitude included in both pieces of position information completely coincide, but also the case where the position represented by each piece of position information is within a predetermined distance range. For example, when the position is measured by GPS, the position can be measured with an accuracy of about several tens of centimeters. Therefore, when the USB memory 20 can be used as a usable condition of the USB memory 20, it is stored in the USB memory 20. If the position slightly deviates from the position, the USB memory 20 cannot be used, and it becomes difficult for the user to use the USB memory 20. Therefore, if both positions are within a predetermined distance range of, for example, several meters, they are regarded as matching. In this case, the CPU 21 may calculate the distance between the positions represented by the respective position information, and determine whether the distance is within the range, or the CPU 21 may store the position information in the position information storing flash ROM 25. At the stage of storing information, a wide area included in a range of a predetermined distance centered on the position information may be stored as position information.

そして、両者の位置情報が一致していれば(ステップS16;Yes)、CPU21の処理は図2のステップS10に戻り、USBメモリ20をパソコン10のマスストレージとして動作させ続ける。以降、両者の位置情報が一致している限り、USBメモリ20はパソコン10のマスストレージとして動作し続けることになる。一方、両者が一致していなければ(ステップS16;No)、このUSBメモリ20は予め登録された場所以外にあることになるから、CPU21は、USBコントローラ27を強制的に終了させて(ステップS17)、自身の処理も終了する。   If the positional information of the two coincides (step S16; Yes), the processing of the CPU 21 returns to step S10 of FIG. 2 and continues operating the USB memory 20 as mass storage of the personal computer 10. Thereafter, the USB memory 20 continues to operate as a mass storage of the personal computer 10 as long as the position information of the two coincides. On the other hand, if the two do not match (step S16; No), the USB memory 20 is located at a location other than the pre-registered location, so the CPU 21 forcibly terminates the USB controller 27 (step S17). ) And its own processing is also terminated.

[USBメモリ20に位置情報を登録した後に再び使用する場合]
次に、利用者がUSBメモリ20に位置情報を登録した後に、再びそのUSBメモリ20を使用する場合の動作を説明する。
利用者がUSBメモリ20のUSBコネクタ26をパソコン10のUSBポート15に接続すると、パソコン10から、USBポート15及びUSBコネクタ26経由で、USBメモリ20の各部に電力が供給される。この電力供給に応じて、USBメモリ20のCPU21は、パソコン10のCPU11乃至USBコントローラ16との間で、USBの規格に従ったウェイクアップシーケンスを行った後、図2,3に示すメインルーチンを開始する。まず、CPU21は、ROM23から制御プログラムを読み出し、これを起動する(ステップS1)。次に、CPU21は、位置を測定するよう測位部28に指示して測位処理を行わせる(ステップS2)。測位部28は、この指示に応じて測位を行い、位置情報を生成する。CPU21は、生成された位置情報を測位部28から受け取ってRAM22に書き込む。
[When registering location information in the USB memory 20 and using it again]
Next, an operation when the user uses the USB memory 20 again after registering the position information in the USB memory 20 will be described.
When the user connects the USB connector 26 of the USB memory 20 to the USB port 15 of the personal computer 10, power is supplied from the personal computer 10 to each part of the USB memory 20 via the USB port 15 and the USB connector 26. In response to this power supply, the CPU 21 of the USB memory 20 performs a wake-up sequence according to the USB standard with the CPU 11 to the USB controller 16 of the personal computer 10, and then performs the main routine shown in FIGS. Start. First, the CPU 21 reads a control program from the ROM 23 and activates it (step S1). Next, the CPU 21 instructs the positioning unit 28 to measure the position and causes the positioning process to be performed (step S2). The positioning unit 28 performs positioning according to this instruction and generates position information. The CPU 21 receives the generated position information from the positioning unit 28 and writes it in the RAM 22.

次に、CPU21は、上記のような測位処理を試みた結果、位置を測定することができたか否かを判断する(ステップS3)。位置を測定することができなかった場合には(ステップS3;No)、CPU21は、LED29を所定の点滅パターンで点滅させるなどのエラー処理を行って(ステップS4)、処理を終了する。   Next, the CPU 21 determines whether or not the position has been measured as a result of attempting the positioning process as described above (step S3). If the position could not be measured (step S3; No), the CPU 21 performs error processing such as blinking the LED 29 with a predetermined blinking pattern (step S4), and ends the process.

一方、位置を測定することができた場合には(ステップS3;Yes)、CPU21は、位置情報記憶用フラッシュROM25に位置情報が記憶されているか否かを判断する(ステップS5)。ここでは、位置情報記憶用フラッシュROM25には既に位置情報が記憶されているから、このステップS5の判断結果は“Yes”となる。この場合、CPU21は、測位部28により生成された位置情報と、位置情報記憶用フラッシュROM25に記憶されている位置情報とを照合し(ステップS7)、両者が一致しているか否かを判断する(ステップS8)。ここでの位置情報同士の一致の判定基準は、USBメモリ20を工場出荷後に初めて使用する場合において説明した内容と同様である。ここで、両者の位置情報が一致していなければ(ステップS8;No)、このUSBメモリ20は予め登録された場所以外の場所で使用されることになるから、CPU21は、ステップS4とは異なる点滅パターンでLED29を点滅させるなどのエラー処理を行って(ステップS12)、処理を終了する。CPU21は、このエラー処理により、使用が許可されていない位置にいるためにUSBメモリ20を使用できないことを利用者に通知することができる。   On the other hand, when the position can be measured (step S3; Yes), the CPU 21 determines whether or not the position information is stored in the position information storing flash ROM 25 (step S5). Here, since the position information is already stored in the position information storing flash ROM 25, the determination result in step S5 is “Yes”. In this case, the CPU 21 collates the position information generated by the positioning unit 28 with the position information stored in the position information storage flash ROM 25 (step S7), and determines whether or not they match. (Step S8). The criteria for determining the match between the position information here are the same as those described when the USB memory 20 is used for the first time after factory shipment. Here, if the position information of both does not match (step S8; No), the USB memory 20 is used in a place other than the place registered in advance, so the CPU 21 is different from step S4. An error process such as blinking the LED 29 with a blinking pattern is performed (step S12), and the process is terminated. By this error processing, the CPU 21 can notify the user that the USB memory 20 cannot be used because the user is in a position where the use is not permitted.

また、両者が一致していれば(ステップS8;Yes)、CPU21は、USBコントローラ27を起動して(ステップS9)、USBメモリ20をパソコン10のマスストレージとして動作させる。以降の処理は、USBメモリ20を工場出荷後に初めて使用する場合で説明した内容と同様である。即ち、USBメモリ20が、登録された位置にあるときはUSBコントローラ27の起動状態が維持されるので、利用者はそのUSBメモリ20を使用し続けることができる。一方、USBメモリ20が、登録された位置にない場合には、USBコントローラ27が強制的に終了させられるので、利用者はそのUSBメモリ20をマスストレージとして使用することはできない。   If the two match (step S8; Yes), the CPU 21 activates the USB controller 27 (step S9) and operates the USB memory 20 as a mass storage of the personal computer 10. The subsequent processing is the same as that described in the case of using the USB memory 20 for the first time after factory shipment. That is, when the USB memory 20 is in the registered position, the activation state of the USB controller 27 is maintained, so that the user can continue to use the USB memory 20. On the other hand, if the USB memory 20 is not in the registered position, the USB controller 27 is forcibly terminated, and the user cannot use the USB memory 20 as mass storage.

[USBメモリ20をリセットする場合]
USBメモリ20のCPU21は、パソコン10から電力が供給されている間は、図4に示すサブルーチンを実行している。図4において、CPU21は、利用者によってリセットスイッチ30が操作されたか否かを定期的に判断している(ステップS21)。そして、CPU21は、リセットスイッチ30が操作されたことを検出すると(ステップS21;Yes)、位置情報を消去する指示を受け付け、位置情報記憶用フラッシュROM25に記憶された位置情報を消去すると共に、USBコントローラ27に指示して、供給情報記憶用フラッシュROM24に記憶されている供給情報を消去させる(ステップS22)。このとき、USBコントローラ27が起動していなければ、CPU21はUSBコントローラ27を一時的に起動させ、供給情報記憶用フラッシュROM24に記憶された供給情報を消去させてから、USBコントローラ27の起動状態を終了させればよい。
[When resetting the USB memory 20]
The CPU 21 of the USB memory 20 executes a subroutine shown in FIG. 4 while power is supplied from the personal computer 10. In FIG. 4, the CPU 21 periodically determines whether or not the user has operated the reset switch 30 (step S21). When the CPU 21 detects that the reset switch 30 has been operated (step S21; Yes), the CPU 21 accepts an instruction to erase the position information, erases the position information stored in the position information storage flash ROM 25, and also removes the USB. The controller 27 is instructed to delete the supply information stored in the supply information storage flash ROM 24 (step S22). At this time, if the USB controller 27 is not activated, the CPU 21 activates the USB controller 27 temporarily, erases the supply information stored in the supply information storage flash ROM 24, and then changes the activation state of the USB controller 27. You can end it.

次に、CPU21は、これら位置情報及び供給情報を双方とも消去することができたか否かを判断する(ステップS23)。これらの情報が双方とも消去できない場合とは、例えば供給情報記憶用フラッシュROM24に記憶された供給情報に対して、利用者によって消去を許可しない旨の保護がかけられているような場合である。また、位置情報の消去に際しては特別な管理者権限が必要であるという前提で、リセットスイッチ30を操作した利用者にその管理者権限がないような場合も含まれる。このような理由から位置情報及び供給情報を双方とも消去することができなかった場合(ステップS23;No)、CPU21は、図2、3のステップS4,S12とは異なる点滅パターンで点滅させるなどのエラー処理を行って(ステップS24)、処理を終了する。CPU21は、このエラー処理により、USBメモリ20をリセットすることができなかった旨を利用者に通知することができる。   Next, the CPU 21 determines whether or not both the position information and the supply information have been deleted (step S23). The case where both of these pieces of information cannot be erased is, for example, a case where the supply information stored in the supply information storing flash ROM 24 is protected by the user not to permit erasure. In addition, there is a case in which the user who operates the reset switch 30 does not have the administrator authority on the assumption that special administrator authority is required when deleting the position information. For this reason, when both the position information and the supply information cannot be erased (step S23; No), the CPU 21 causes the blinking pattern to be different from that of steps S4 and S12 in FIGS. Error processing is performed (step S24), and the processing is terminated. The CPU 21 can notify the user that the USB memory 20 could not be reset by this error processing.

一方、位置情報及び供給情報を双方とも消去することができた場合には(ステップS23;Yes)、CPU21の処理は終了する。このような処理を経ることで、USBメモリ20は工場出荷時と同様の状態に戻るので、位置情報記憶用フラッシュROM25に新たな位置情報を記憶させることが可能となる。そこで、利用者は新たに登録したい場所に出向き、そこでパソコン10にUSBメモリ20を装着してUSBメモリ20に位置を登録すればよい。   On the other hand, when both the position information and the supply information can be deleted (step S23; Yes), the processing of the CPU 21 ends. Through such processing, the USB memory 20 returns to the same state as at the time of shipment from the factory, so that new position information can be stored in the position information storage flash ROM 25. Therefore, the user may go to a new registration location, attach the USB memory 20 to the personal computer 10 and register the location in the USB memory 20.

以上説明した実施形態によれば、位置情報記憶用フラッシュROM25に位置情報が記憶されていないときに、USBメモリ20がパソコン10に接続されると、CPU21は、測位部28によって生成された位置情報を位置情報記憶用フラッシュROM25に書き込む。よって、USBメモリ20の使用が許可された位置をUSBメモリ20に登録する作業は比較的簡単であり、また、短時間で済む。   According to the embodiment described above, when the USB memory 20 is connected to the personal computer 10 when the position information is not stored in the position information storage flash ROM 25, the CPU 21 detects the position information generated by the positioning unit 28. Is written in the position information storing flash ROM 25. Therefore, the operation of registering the location where the use of the USB memory 20 is permitted in the USB memory 20 is relatively simple and can be done in a short time.

また、位置情報記憶用フラッシュROM25に位置情報が記憶されているときにUSBメモリ20がパソコン10に接続され、さらに、位置情報記憶用フラッシュROM25に記憶されている位置情報と、測位により取得された位置情報とが一致すると、CPU21は、パソコン10から供給情報記憶用フラッシュROM24へのアクセスを許可する。そして、USBコントローラ27を起動して、位置情報記憶用フラッシュROM25に対する情報の読み書きを行わせる。一方、位置情報記憶用フラッシュROM25に記憶されている位置情報と、測位により取得された位置情報とが一致しないと、CPU21は、パソコン10から供給情報記憶用フラッシュROM24へのアクセスを許可しない。この場合、CPU21は、USBコントローラ27を起動しないか、又は、その時点で起動していたUSBコントローラ27を終了させる。これにより、USBメモリ20に登録された場所においてのみ、そのUSBメモリ20の使用を制限することができる。   In addition, the USB memory 20 is connected to the personal computer 10 when the position information is stored in the position information storage flash ROM 25, and the position information stored in the position information storage flash ROM 25 and the position information are acquired by positioning. If the position information matches, the CPU 21 permits the personal computer 10 to access the supply information storage flash ROM 24. Then, the USB controller 27 is activated to read / write information from / to the position information storage flash ROM 25. On the other hand, if the position information stored in the position information storage flash ROM 25 does not match the position information acquired by positioning, the CPU 21 does not permit the personal computer 10 to access the supply information storage flash ROM 24. In this case, the CPU 21 does not activate the USB controller 27 or terminates the USB controller 27 that was activated at that time. Thereby, the use of the USB memory 20 can be restricted only at the location registered in the USB memory 20.

また、リセットスイッチ30の操作に応じて、CPU21は、位置情報記憶用フラッシュROM25に記憶されている位置情報を消去する指示を受け付け、その位置情報のほか、供給情報をも消去する。例えば位置情報を消去しても供給情報を消去しないような構成にすると、新たに位置情報が書き込まれた後に、その位置情報が表す位置にUSBメモリ20があると、過去に記憶されていた供給情報がUSBコントローラ27により読み出されて出力されてしまう。これに対し、上記実施形態の構成によれば、位置情報のみならず、供給情報も消去するので、その供給情報が新たに登録された場所で閲覧されるといった情報漏洩の虞がない。   In response to the operation of the reset switch 30, the CPU 21 receives an instruction to delete the position information stored in the position information storage flash ROM 25 and deletes the supply information in addition to the position information. For example, if the supply information is not deleted even if the position information is deleted, if the USB memory 20 exists at the position indicated by the position information after the position information is newly written, the supply stored in the past is stored. Information is read and output by the USB controller 27. On the other hand, according to the configuration of the above embodiment, not only the position information but also the supply information is deleted, so there is no risk of information leakage such that the supply information is browsed at a newly registered location.

[変形例]
以上が実施形態の説明であるが、この実施形態の内容は以下のように変形し得る。また、以下の各態様を適宜組み合わせてもよい。
(1)変形例1
実施形態では、USBメモリ20が位置情報記憶用フラッシュROM25と供給情報記憶用フラッシュROM24とをそれぞれ1つずつ備えた構成を説明したが、USBメモリ20がこれらをそれぞれ複数備えるようにしてもよい。この場合、位置情報記憶用フラッシュROM25と供給情報記憶用フラッシュROM24とはそれぞれ1つであるが、その記憶領域をパーティションで区切って複数の記憶手段と同等の構成となるようにしてもよい。また、位置情報記憶用フラッシュROM25を構成するフラッシュROMそのものを複数備え、供給情報記憶用フラッシュROM24を構成するフラッシュROMそのものを複数備えるようにしてもよい。
[Modification]
The above is the description of the embodiment, but the contents of this embodiment can be modified as follows. Moreover, you may combine the following each aspect suitably.
(1) Modification 1
In the embodiment, the configuration in which the USB memory 20 includes one position information storage flash ROM 25 and one supply information storage flash ROM 24 has been described, but the USB memory 20 may include a plurality of these. In this case, the position information storage flash ROM 25 and the supply information storage flash ROM 24 are each one, but the storage area may be divided into partitions so as to have a configuration equivalent to a plurality of storage means. Further, a plurality of flash ROMs constituting the position information storage flash ROM 25 may be provided, and a plurality of flash ROMs constituting the supply information storage flash ROM 24 may be provided.

図5は、前者の記憶領域をパーティションで区切った場合の位置情報記憶用フラッシュROM25及び供給情報記憶用フラッシュROM24の内部構成を示す図である。図に示すように、位置情報記憶用フラッシュROM25と、供給情報記憶用フラッシュROM24とは、それぞれ単体のフラッシュROMであるが、それぞれの記憶領域がパーティションで区切られることで、複数の記憶領域が構成されている。それぞれの記憶領域には、ユニークな領域番号が付与される。このとき、位置情報記憶用フラッシュROM25の各記憶領域(以下、位置情報記憶領域という)に付与される領域番号と、各々の位置情報記憶領域に対応する、供給情報記憶用フラッシュROM24における各記憶領域(以下、供給情報記憶領域という)に付与された領域番号とは、同一である。これにより、各位置情報記憶領域と、各供給情報記憶領域とが、互いに対応付けられた状態となる。各位置情報記憶領域に記憶された位置情報は、対応する供給情報記憶領域に記憶された供給情報へのアクセスを制限するために利用される。例えば、位置情報記憶用フラッシュROM25の領域番号1の記憶領域に記憶された位置情報は、供給情報記憶用フラッシュROM24の領域番号1の記憶領域に記憶された供給情報へのアクセスを制限するために利用される。   FIG. 5 is a diagram showing the internal configuration of the location information storage flash ROM 25 and the supply information storage flash ROM 24 when the former storage area is partitioned by partitions. As shown in the figure, the location information storage flash ROM 25 and the supply information storage flash ROM 24 are each a single flash ROM, but a plurality of storage areas are configured by partitioning each storage area by a partition. Has been. A unique area number is assigned to each storage area. At this time, an area number assigned to each storage area of the location information storage flash ROM 25 (hereinafter referred to as a location information storage area) and each storage area in the supply information storage flash ROM 24 corresponding to each location information storage area The area number assigned to (hereinafter referred to as the supply information storage area) is the same. As a result, each position information storage area and each supply information storage area are associated with each other. The position information stored in each position information storage area is used to restrict access to the supply information stored in the corresponding supply information storage area. For example, the position information stored in the storage area of area number 1 of the flash ROM 25 for storing position information is for restricting access to the supply information stored in the storage area of area No. 1 of the flash ROM 24 for storing supply information. Used.

即ち、USBメモリ20のCPU21は、パソコン10に接続されると、複数の位置情報記憶領域に記憶されている位置情報のいずれかが、測位部28によって生成された位置情報と一致した場合には、その一致した位置情報が記憶された位置情報記憶領域の領域番号と同じ領域番号が付与された供給情報記憶領域へのアクセスを許可する。一方、複数の位置情報領域に記憶されている位置情報のいずれもが、測位部28によって生成された位置情報と一致しない場合には、各々の供給情報記憶領域へのアクセスを許可しない。
なお、位置情報記憶用フラッシュROM25を構成するフラッシュROMそのものを複数備え、供給情報記憶用フラッシュROM24を構成するフラッシュROMそのものを複数備える場合も、CPU21は、これらを互いに対応付けた上で、上記と同様の制限を行えばよい。
That is, when the CPU 21 of the USB memory 20 is connected to the personal computer 10, if any of the position information stored in the plurality of position information storage areas matches the position information generated by the positioning unit 28. The access to the supply information storage area to which the same area number as the area number of the position information storage area in which the matched position information is stored is permitted. On the other hand, when none of the position information stored in the plurality of position information areas matches the position information generated by the positioning unit 28, access to each supply information storage area is not permitted.
In the case where a plurality of flash ROMs constituting the position information storage flash ROM 25 are provided and a plurality of flash ROMs constituting the supply information storage flash ROM 24 are provided, the CPU 21 associates them with each other as described above. The same restriction may be performed.

(2)変形例2
実施形態では、位置情報記憶用フラッシュROM25に1つの位置情報を記憶していたが、これに限らず、位置情報記憶用フラッシュROM25に複数の位置情報を記憶しておいてもよい。さらに、これら複数の位置情報のうち、測位部28によって生成された位置情報と一致した位置情報がどれであるかによって、パソコン10からのアクセスに応じてUSBコントローラ27が行い得る処理を異ならせるようにしてもよい。例えば、パソコン10からUSBメモリ20の供給情報記憶用フラッシュROM24へのアクセスには、供給情報の書き込みのためのアクセスと、供給情報の読み出しのためのアクセスがある。そこで、位置情報記憶用フラッシュROM25には、第1の位置情報と第2の位置情報という2種類の位置情報を記憶しておき、第1の位置情報が、測位部28によって生成された位置情報に一致した場合には、供給情報の読み出しのためのアクセスを許可する一方、第2の位置情報が、測位部28によって生成された位置情報に一致した場合には、供給情報の読み出しのためのアクセスのほか、供給情報の書き込みのためのアクセスをも許可するといった具合である。
(2) Modification 2
In the embodiment, one piece of position information is stored in the position information storage flash ROM 25. However, the present invention is not limited to this, and a plurality of pieces of position information may be stored in the position information storage flash ROM 25. Furthermore, the processing that can be performed by the USB controller 27 in accordance with the access from the personal computer 10 varies depending on which of the plurality of position information is the position information that matches the position information generated by the positioning unit 28. It may be. For example, the access from the personal computer 10 to the supply information storage flash ROM 24 of the USB memory 20 includes an access for writing supply information and an access for reading supply information. Accordingly, the position information storage flash ROM 25 stores two types of position information, ie, first position information and second position information, and the first position information is generated by the positioning unit 28. If the second position information matches the position information generated by the positioning unit 28, the access for reading the supply information is permitted. In addition to access, access for writing supply information is also permitted.

このような構成を採用することで、例えば次のような利用が可能となる。
利用者が営業の業務をしている場合、その業務を行う場所は、利用者が勤務しているオフィスと、担当している営業エリアと、さらには、その利用者自身の自宅となる。これらの位置関係の一例を図示すると、図6に示すようになる。この例の場合、利用者のオフィスは営業エリアに含まれており包含関係を有しているが、オフィス及び営業エリアと自宅とは包含関係にない。図7は、位置情報記憶用フラッシュROM25に記憶されている管理テーブルの内容を例示する図である。この管理テーブルには、許可される処理の種類と、位置情報とが対応付けられて記憶されている。例えば、利用者が勤務しているオフィスの位置を表す位置情報には、「供給情報の読み出し及び書き込み」という処理の種類が対応付けられている。これは、USBメモリ20の測位位置がオフィスの位置に一致する場合には、供給情報の読み出し及び書き込みが許可されることを意味している。ここでいう供給情報とは、例えば営業先の顧客の氏名や住所或いは取引履歴などの顧客に関する情報である。よって、利用者はオフィスにいる間は、顧客に関する情報をUSBメモリ20から取り出してパソコン10に表示させたり、その内容を変更して再びUSBメモリ20に格納することができる。
By adopting such a configuration, for example, the following usage is possible.
When a user conducts business, the business is performed in the office where the user works, the business area in charge, and the user's own home. An example of these positional relationships is shown in FIG. In this example, the user's office is included in the sales area and has an inclusion relationship, but the office and the sales area and the home are not in an inclusion relationship. FIG. 7 is a diagram illustrating the contents of the management table stored in the location information storage flash ROM 25. In this management table, the type of processing permitted and the position information are stored in association with each other. For example, the position information indicating the position of the office where the user is working is associated with the type of processing “reading and writing supply information”. This means that when the positioning position of the USB memory 20 matches the office position, reading and writing of supply information is permitted. The supply information here is information about the customer such as the name and address of the customer of the business partner or a transaction history. Therefore, while the user is in the office, the customer-related information can be taken out from the USB memory 20 and displayed on the personal computer 10, or the contents can be changed and stored in the USB memory 20 again.

また、営業エリアの位置を表す位置情報には、「供給情報の読み出し」という処理の種類が対応付けられている。これは、USBメモリ20の測位位置が営業エリアの位置に一致する場合には、供給情報の読み出しだけが許可されることを意味している。よって、利用者は営業エリア内にいる限り、顧客に関する情報をUSBメモリ20から取り出してパソコン10に表示させたり、プリントアウトしたりすることができる。また、利用者の自宅の位置を表す位置情報には、「供給情報の書き込み」という処理の種類が対応付けられている。これは、USBメモリ20の位置が自宅の位置に一致する場合には、「供給情報の書き込み」だけが許可されることを意味している。よって、利用者は自宅にいるときには、顧客に関する情報をUSBメモリ20から取り出してパソコン10に表示したりするうことはできないが、例えば営業を行う上で顧客別に思いついたアイデアや提案をUSBメモリ20に格納することはできる。そして、USBメモリ20の位置が上記のいずれにも一致しない場合は、「供給情報の読み出し」も「供給情報の書き込み」も許可されない。このように、USBメモリ20のCPU21は、位置情報記憶用フラッシュROM25に記憶されている複数の位置情報のいずれかと、測位部28によって生成された位置情報とが一致した場合には、上記管理テーブルの内容に従って、書き込み処理または読み出し処理のうち、一致した位置情報に応じた処理のためのアクセスを許可することができる。   In addition, the position information indicating the position of the business area is associated with a processing type of “reading supply information”. This means that only reading of supply information is permitted when the positioning position of the USB memory 20 matches the position of the business area. Therefore, as long as the user is in the business area, the user can take out information about the customer from the USB memory 20 and display it on the personal computer 10 or print it out. Also, the position information indicating the position of the user's home is associated with the type of processing “writing supply information”. This means that when the position of the USB memory 20 matches the position of the home, only “writing of supply information” is permitted. Thus, when the user is at home, the customer cannot take out information about the customer from the USB memory 20 and display it on the personal computer 10. Can be stored. If the position of the USB memory 20 does not match any of the above, neither “read supply information” nor “write supply information” is permitted. As described above, when any of the plurality of position information stored in the position information storage flash ROM 25 matches the position information generated by the positioning unit 28, the CPU 21 of the USB memory 20 matches the management table. According to the contents, access for processing corresponding to the matched position information in the writing processing or the reading processing can be permitted.

(3)変形例3
上記の変形例2は、位置情報そのものを記憶していたが、この記憶の形態を異ならせて変形例2と同様の作用を実現してもよい。即ち、図8の管理テーブルに示すように、位置情報としては1つだけ記憶しておき、その位置情報が表す位置からの距離に応じて、許可される処理を異ならせる。USBメモリ20のCPU21は、位置情報記憶用フラッシュROM25に記憶されている位置情報から、管理テーブルに記述された距離の範囲内に、測位部28によって生成された位置情報が含まれると判断すると両者が一致したとみなし、その両者の間の距離に応じた処理を許可する。図8の例で言えば、CPU21は、測位部28によって生成された位置情報と、位置情報記憶用フラッシュROM25に記憶されている位置情報との間の距離が10m以内であれば、「供給情報の読み出し及び書き込み」を許可するし、両者の間の距離が1km以内であれば、「供給情報の読み出し」のみを許可するし、両者の間の距離がそれ以上であれば、「供給情報の読み出し」も「供給情報の書き込み」も許可しない。
(3) Modification 3
In the second modification, the position information itself is stored. However, the same operation as in the second modification may be realized by changing the form of the storage. That is, as shown in the management table of FIG. 8, only one piece of position information is stored, and the permitted processing varies depending on the distance from the position represented by the position information. When the CPU 21 of the USB memory 20 determines from the position information stored in the position information storage flash ROM 25 that the position information generated by the positioning unit 28 is included within the distance range described in the management table, Are matched, and processing according to the distance between the two is permitted. In the example of FIG. 8, if the distance between the position information generated by the positioning unit 28 and the position information stored in the position information storage flash ROM 25 is within 10 m, the “supply information” "Reading and writing" is permitted, and if the distance between the two is within 1 km, only "reading of supply information" is permitted. If the distance between the two is more than that, Neither “read” nor “write supply information” is allowed.

(4)変形例4
実施形態では、USBメモリ20が測位部28を備えていたが、この測位部をUSBホストであるパソコン10側に設けるようにしてもよい。USBメモリ20は、パソコン10と接続された状態でしか利用されないから、CPU21は、パソコン10に接続されたときに、パソコン10の測位部によって生成された位置情報を自身の位置情報として取得し、取得した位置情報と位置情報記憶用フラッシュROM25に記憶されている位置情報とに基づいて、パソコン10から供給情報記憶用フラッシュROM24へのアクセスの可否を判定すればよい。要するに、USBメモリ20は、自身の位置を表す位置情報として利用可能な位置情報を取得する取得手段さえ有していればよい。
(4) Modification 4
In the embodiment, the USB memory 20 includes the positioning unit 28. However, the positioning unit may be provided on the personal computer 10 side which is a USB host. Since the USB memory 20 is used only when connected to the personal computer 10, the CPU 21 acquires the positional information generated by the positioning unit of the personal computer 10 as its own positional information when connected to the personal computer 10. Based on the acquired position information and the position information stored in the position information storage flash ROM 25, it may be determined whether or not the personal computer 10 can access the supply information storage flash ROM 24. In short, the USB memory 20 only needs to have acquisition means for acquiring position information that can be used as position information representing its own position.

(5)変形例5
実施形態では、USBメモリ20が、測位部28によって生成された位置情報と、位置情報記憶用フラッシュROM25に記憶されている位置情報とを照合していた。この照合処理が複雑で相当の時間を要する場合には、その照合処理をUSBメモリ20の外部装置が行い、USBメモリ20のCPU21はその外部装置から取得した照合結果に基づいて、パソコン10から供給情報記憶用フラッシュROM24へのアクセスの可否を判定するようにしてもよい。この場合、照合処理を行う外部装置は、USBホストであるパソコン10であってもよいし、パソコン10と通信を行う他の外部コンピュータ装置であってもよい。照合処理を行う外部装置がパソコン10である場合には、USBメモリ20のCPU21は、図2のステップS5において、測位部28によって生成された位置情報と、位置情報記憶用フラッシュROM25に記憶されている位置情報とをパソコン10に送信して照合処理を依頼する。パソコン10のCPU11は、両者を照合し、その照合結果をUSBメモリ20に送信する。USBメモリ20のCPU21は、パソコン10から送信されてくる照合結果を取得する。また、照合処理を行う外部装置がパソコン10と通信を行う外部コンピュータ装置である場合には、CPU21は、その外部コンピュータ装置に対しパソコン10経由で照合処理を依頼し、その外部コンピュータ装置からパソコン10経由で送信されてくる照合結果を取得すればよい。
(5) Modification 5
In the embodiment, the USB memory 20 collates the position information generated by the positioning unit 28 with the position information stored in the position information storage flash ROM 25. When this verification process is complicated and requires a considerable amount of time, the external device of the USB memory 20 performs the verification process, and the CPU 21 of the USB memory 20 supplies it from the personal computer 10 based on the verification result acquired from the external device. Whether to access the information storage flash ROM 24 may be determined. In this case, the external device that performs the collation processing may be the personal computer 10 that is the USB host, or may be another external computer device that communicates with the personal computer 10. When the external device that performs the collation processing is the personal computer 10, the CPU 21 of the USB memory 20 stores the position information generated by the positioning unit 28 and the position information storage flash ROM 25 in step S5 of FIG. The current position information is transmitted to the personal computer 10 and a collation process is requested. The CPU 11 of the personal computer 10 collates both and sends the collation result to the USB memory 20. The CPU 21 of the USB memory 20 acquires the collation result transmitted from the personal computer 10. When the external device that performs the collation processing is an external computer device that communicates with the personal computer 10, the CPU 21 requests the external computer device for collation processing via the personal computer 10, and the personal computer 10 What is necessary is just to acquire the collation result transmitted via.

(6)変形例6
上記変形例5を次のように変形し、USBメモリ20から送信されてくる2つの位置情報が共に共通の建物の内側の位置にあるか否かにより、両者の位置情報を照合するようにしてもよい。
例えばパソコン10がこの照合処理を行う場合、その記憶部14には、多数の建物について、その建物の内外の位置が区別された地図情報を記憶しておく。例えば、建物の内外の境界線を緯度経度で表したような地図情報であればよい。USBメモリ20のCPU21は、図2のステップS5において、測位部28によって生成された位置情報と、位置情報記憶用フラッシュROM25に記憶されている位置情報とをパソコン10に送信して照合処理を依頼する。パソコン10のCPU11は、USBメモリ20から送信されてくる2つの位置情報が共に、地図情報に記憶された共通の建物の内側の位置にあるか否かを判断する。そして、CPU11は、共通の建物の内側の位置にあると判断した場合、両者の位置情報が一致する旨の照合結果をUSBメモリ20に送信し、共通の建物の内側の位置にないと判断した場合には、両者の位置情報とが一致しない旨の照合結果をUSBメモリ20に送信する。CPU21は、その照合結果を取得して、パソコン10から供給情報記憶用フラッシュROM24へのアクセスの可否を判定する。
また、照合処理を行う外部装置がパソコン10と通信を行う外部コンピュータ装置である場合には、CPU21は、その外部コンピュータ装置に対しパソコン10経由で照合処理を依頼し、その外部コンピュータ装置からパソコン10経由で送信されてくる照合結果を取得すればよい。
(6) Modification 6
The above modified example 5 is modified as follows, and the two pieces of positional information transmitted from the USB memory 20 are collated depending on whether or not the two pieces of positional information are both inside the common building. Also good.
For example, when the personal computer 10 performs this collation processing, the storage unit 14 stores map information in which the positions inside and outside the building are distinguished for a number of buildings. For example, the map information may be such that the boundary line inside and outside the building is expressed by latitude and longitude. The CPU 21 of the USB memory 20 transmits the position information generated by the positioning unit 28 and the position information stored in the position information storage flash ROM 25 to the personal computer 10 in step S5 of FIG. To do. The CPU 11 of the personal computer 10 determines whether or not the two pieces of position information transmitted from the USB memory 20 are both inside the common building stored in the map information. When the CPU 11 determines that the position is inside the common building, the CPU 11 transmits a collation result indicating that both pieces of the position information match to the USB memory 20, and determines that the position is not inside the common building. In this case, a collation result indicating that the positional information of the two does not match is transmitted to the USB memory 20. The CPU 21 acquires the collation result and determines whether or not the personal computer 10 can access the supply information storage flash ROM 24.
When the external device that performs the collation processing is an external computer device that communicates with the personal computer 10, the CPU 21 requests the external computer device for collation processing via the personal computer 10, and the personal computer 10 What is necessary is just to acquire the collation result transmitted via.

(7)変形例7
上述した実施形態では、パソコン10がUSBホストであり、USBメモリ20がUSBデバイスである例を挙げて説明したが、これに限らない。USBデバイスは、USBホストに接続されて利用されるものであればよく、例えば携帯音楽プレーヤ、デジタルカメラ、又は電子ペーパーと呼ばれる表示装置であってもよい。また、USBホストは、パソコンに限らず、例えばPDA(Personal Digital Assistants)や携帯電話機であってもよい。
(7) Modification 7
In the above-described embodiment, the example in which the personal computer 10 is a USB host and the USB memory 20 is a USB device has been described. However, the present invention is not limited to this. The USB device may be any device connected to a USB host and used, for example, a portable music player, a digital camera, or a display device called electronic paper. The USB host is not limited to a personal computer, and may be, for example, a PDA (Personal Digital Assistants) or a mobile phone.

(8)変形例8
また、上述した実施形態では、デバイス端末であるUSBメモリ20とホスト装置であるパソコン10とがUSB規格によって接続されていたが、両者の通信のための規格は、これに限らず、例えばIEEE1394等のその他の規格によって通信接続されるものであってもよい。この場合、デバイス端末USBには、ホスト装置に着脱自在なIEEE1394に準拠したインターフェースと、IEEE1394に従ってホスト装置と通信を行うコントローラとが設けられる。一方、ホスト装置には、デバイス端末のインターフェースが接続される接続口と、IEEE1394に従ってデバイス端末と通信を行うコントローラとが設けられる。この構成でも、上述した実施形態と同様の効果が得られる。
(8) Modification 8
In the above-described embodiment, the USB memory 20 that is a device terminal and the personal computer 10 that is a host device are connected by the USB standard. It may be connected by communication according to other standards. In this case, the device terminal USB is provided with an interface compliant with IEEE1394 that can be attached to and detached from the host device, and a controller that communicates with the host device according to IEEE1394. On the other hand, the host device is provided with a connection port to which the interface of the device terminal is connected and a controller that communicates with the device terminal in accordance with IEEE1394. Even in this configuration, the same effect as the above-described embodiment can be obtained.

(9)変形例9
実施形態では、CPU21は、測位部28によって生成された位置情報と、位置情報記憶用フラッシュROM25に記憶されている位置情報とが一致することを確認した後に、USBコントローラ27を起動していた。USBコントローラ27の起動タイミングは、これに限らず、USBコントローラ27による供給情報記憶用フラッシュROM24に対する情報の読み出し及び書き込みを制限することができるのであれば、CPU21はUSBコントローラ27をいつ起動するようにしてもよい。
(9) Modification 9
In the embodiment, the CPU 21 activates the USB controller 27 after confirming that the position information generated by the positioning unit 28 matches the position information stored in the position information storage flash ROM 25. The activation timing of the USB controller 27 is not limited to this, and the CPU 21 activates the USB controller 27 whenever it can restrict reading and writing of information to the supply information storage flash ROM 24 by the USB controller 27. May be.

(10)変形例10
上述した実施形態において、パソコン10のCPU11及びUSBメモリ20のCPU21が実行するプログラムは、磁気テープ、磁気ディスク、フレキシブルディスク、光記録媒体、光磁気記録媒体、RAMなどの記録媒体に記録した状態で提供し得る。
(10) Modification 10
In the embodiment described above, the program executed by the CPU 11 of the personal computer 10 and the CPU 21 of the USB memory 20 is recorded in a recording medium such as a magnetic tape, a magnetic disk, a flexible disk, an optical recording medium, a magneto-optical recording medium, or a RAM. Can be provided.

情報処理システムの構成を示す図である。It is a figure which shows the structure of an information processing system. USBメモリのCPUの動作を示すフローチャートである。It is a flowchart which shows operation | movement of CPU of USB memory. USBメモリのCPUの動作を示すフローチャートである。It is a flowchart which shows operation | movement of CPU of USB memory. USBメモリのCPUの動作を示すフローチャートである。It is a flowchart which shows operation | movement of CPU of USB memory. 変形例における位置情報記憶用フラッシュROMと、供給情報記憶用フラッシュROMの記憶内容を例示する図である。It is a figure which illustrates the memory content of the flash ROM for position information storage in the modification, and the flash ROM for supply information storage. 変形例における位置情報記憶用フラッシュROMに記憶された位置の包含関係を説明する図である。It is a figure explaining the inclusion relation of the position memorized by flash ROM for position information storage in a modification. 変形例における位置情報記憶用フラッシュROMに記憶された内容を説明する図である。It is a figure explaining the content memorize | stored in the flash ROM for position information storage in a modification. 変形例における位置情報記憶用フラッシュROMに記憶された内容を説明する図である。It is a figure explaining the content memorize | stored in the flash ROM for position information storage in a modification.

符号の説明Explanation of symbols

1…情報処理システム、10…パーソナルコンピュータ、20…USBメモリ、11,21…CPU、24…供給情報記憶用フラッシュROM、25…位置情報記憶用フラッシュROM、28…測位部、26…USBコネクタ、16,27…USBコントローラ、15…USBポート。 DESCRIPTION OF SYMBOLS 1 ... Information processing system, 10 ... Personal computer, 20 ... USB memory, 11, 21 ... CPU, 24 ... Supply information storage flash ROM, 25 ... Position information storage flash ROM, 28 ... Positioning part, 26 ... USB connector, 16, 27 ... USB controller, 15 ... USB port.

Claims (9)

ホスト装置に接続されて利用されるデバイス端末であって、
自端末に接続された前記ホスト装置から供給される供給情報を記憶する供給情報記憶手段と、
自端末の位置を表す位置情報を取得する位置情報取得手段と、
前記位置情報を記憶するための位置情報記憶手段と、
前記位置情報記憶手段に位置情報が記憶されていないときに前記ホスト装置に接続されると、前記位置情報取得手段によって取得された位置情報を前記位置情報記憶手段に書き込む書込手段と、
前記位置情報記憶手段に位置情報が記憶されているときに前記ホスト装置に接続され、前記位置情報記憶手段に記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致すると、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可し、前記位置情報記憶手段に記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致しないと、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可しない許可手段と
を備えることを特徴とするデバイス端末。
A device terminal connected to a host device and used.
Supply information storage means for storing supply information supplied from the host device connected to the terminal;
Position information acquisition means for acquiring position information representing the position of the terminal;
Position information storage means for storing the position information;
A writing means for writing the position information acquired by the position information acquisition means to the position information storage means when connected to the host device when the position information is not stored in the position information storage means;
When the position information is stored in the position information storage means, the position information is connected to the host device, and the position information stored in the position information storage means matches the position information acquired by the position information acquisition means. If the host device permits access to the supply information storage unit and the position information stored in the position information storage unit does not match the position information acquired by the position information acquisition unit, the host device A device terminal comprising: permission means for not permitting access to the supply information storage means.
前記位置情報記憶手段に記憶されている位置情報を消去する指示を受け付けると、当該位置情報を消去すると共に、前記供給情報記憶手段に記憶されている供給情報を消去する消去手段を備え、
前記書込手段は、前記消去手段によって前記位置情報記憶手段から前記位置情報が消去された状態にあるときに、前記ホスト装置に接続されると、前記位置情報取得手段によって取得された位置情報を前記位置情報記憶手段に新たに書き込む
ことを特徴とする請求項1記載のデバイス端末。
When receiving an instruction to erase the position information stored in the position information storage means, the position information is erased, and an erasing means for erasing the supply information stored in the supply information storage means is provided.
When the writing means is connected to the host device when the position information is erased from the position information storage means by the erasing means, the writing means obtains the position information obtained by the position information obtaining means. The device terminal according to claim 1, wherein the device information is newly written in the position information storage unit.
複数の前記位置情報記憶手段と、
各々の前記位置情報記憶手段に対応する複数の前記供給情報記憶手段とを備え、
前記許可手段は、
複数の前記位置情報記憶手段に記憶されている位置情報のいずれかが、前記位置情報取得手段によって取得された位置情報と一致した場合には、複数の前記供給情報記憶手段のうち、記憶している位置情報が一致した前記位置情報記憶手段に対応する前記供給情報記憶手段へのアクセスを許可し、
複数の前記位置情報記憶手段に記憶されている位置情報のいずれもが、前記位置情報取得手段によって取得された位置情報と一致しない場合には、各々の前記供給情報記憶手段へのアクセスを許可しない
ことを特徴とする請求項1記載のデバイス端末。
A plurality of the position information storage means;
A plurality of the supply information storage means corresponding to each of the position information storage means,
The permission means includes
If any of the position information stored in the plurality of position information storage means matches the position information acquired by the position information acquisition means, the storage information is stored among the plurality of supply information storage means. Permit access to the supply information storage means corresponding to the position information storage means with which the position information is matched,
If none of the position information stored in the plurality of position information storage means matches the position information acquired by the position information acquisition means, access to each of the supply information storage means is not permitted. The device terminal according to claim 1.
前記ホスト装置から前記供給情報記憶手段へのアクセスには、当該供給情報記憶手段への情報の書き込み処理のためのアクセスと、当該供給情報記憶手段からの情報の読み出し処理のためのアクセスとが含まれており、
前記位置情報記憶手段には、複数の前記位置情報が記憶されており、
前記許可手段は、
前記位置情報記憶手段に記憶されている複数の位置情報のいずれかと、前記位置情報取得手段によって取得された位置情報とが一致した場合には、前記書き込み処理または前記読み出し処理のうち、一致した位置情報に応じた処理のためのアクセスを許可する
ことを特徴とする請求項1記載のデバイス端末。
The access from the host device to the supply information storage means includes an access for writing information to the supply information storage means and an access for reading information from the supply information storage means. And
In the position information storage means, a plurality of the position information is stored,
The permission means includes
If any one of the plurality of pieces of position information stored in the position information storage unit matches the position information acquired by the position information acquisition unit, the position that matches between the writing process and the reading process The device terminal according to claim 1, wherein access for processing according to information is permitted.
前記ホスト装置から前記供給情報記憶手段へのアクセスには、当該供給情報記憶手段への情報の書き込み処理のためのアクセスと、当該供給情報記憶手段からの情報の読み出し処理のためのアクセスが含まれており、
前記許可手段は、
前記書き込み処理または前記読み出し処理のうち、前記位置情報記憶手段に記憶されている位置情報が表す位置と、前記位置情報取得手段によって取得された位置情報が表す位置との間の距離に応じた処理のためのアクセスを許可する
ことを特徴とする請求項1記載のデバイス端末。
Access from the host device to the supply information storage means includes access for writing information to the supply information storage means and access for reading information from the supply information storage means. And
The permission means includes
Of the writing process or the reading process, a process according to the distance between the position represented by the position information stored in the position information storage unit and the position represented by the position information acquired by the position information acquisition unit The device terminal according to claim 1, wherein access for the device is permitted.
前記位置情報記憶手段に記憶されている位置情報と、前記位置情報取得手段によって取得された位置情報とを、前記ホスト装置又は当該ホスト装置と通信を行う外部装置に送信する位置情報送信手段と、
当該ホスト装置又は当該外部装置から送信されてくる、両者の前記位置情報の照合結果を取得する照合結果取得手段とを備え、
前記許可手段は、前記照合結果取得手段によって取得された照合結果に基づいて、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可するか又は許可しない
ことを特徴とする請求項1記載のデバイス端末。
Position information transmission means for transmitting the position information stored in the position information storage means and the position information acquired by the position information acquisition means to the host device or an external device communicating with the host device;
A verification result acquisition means for acquiring a verification result of the position information of both sent from the host device or the external device;
The device according to claim 1, wherein the permission unit permits or does not permit access from the host device to the supply information storage unit based on the collation result acquired by the collation result acquisition unit. Terminal.
USB(Universal Serial Bus)規格によってUSBホストに接続されて利用されるUSBデバイスであって、
自デバイスに接続された前記USBホストから供給される供給情報を記憶する第1のメモリと、
自デバイスの位置を表す位置情報を取得する位置情報取得手段と、
前記位置情報を記憶するための第2のメモリと、
前記USBホストからの要求に応じて、前記第1のメモリに対する情報の書き込み及び読み出しを制御するUSBコントローラと、
前記第2のメモリに位置情報が記憶されていないときに前記USBホストに接続されると、前記位置情報取得手段によって取得された位置情報を前記第2のメモリに書き込み、前記第2のメモリに位置情報が記憶されているときに前記USBホストに接続され、前記第2のメモリに記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致すると、前記USBコントローラを起動し、前記第2のメモリに記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致しないと、前記USBコントローラを起動しない制御手段と
を備えることを特徴とするUSBデバイス。
A USB device connected to a USB host according to the USB (Universal Serial Bus) standard,
A first memory for storing supply information supplied from the USB host connected to the device;
Position information acquisition means for acquiring position information indicating the position of the own device;
A second memory for storing the position information;
A USB controller that controls writing and reading of information to and from the first memory in response to a request from the USB host;
When the location information is not stored in the second memory, when connected to the USB host, the location information acquired by the location information acquisition means is written into the second memory, and the second memory is stored. Connected to the USB host when position information is stored, and activates the USB controller when the position information stored in the second memory matches the position information acquired by the position information acquisition means And a control unit that does not activate the USB controller if the position information stored in the second memory does not match the position information acquired by the position information acquisition unit. .
請求項6記載のデバイス端末と、
前記ホスト装置又は当該ホスト装置と通信を行う前記外部装置とを備え、
前記デバイス端末は、
前記位置情報記憶手段に記憶されている位置情報と、前記位置情報取得手段によって取得された位置情報とを、前記ホスト装置又は当該ホスト装置と通信を行う前記外部装置に送信する位置情報送信手段を備え、
前記ホスト装置又は当該ホスト装置と通信を行う前記外部装置は、
建物の内外の位置が区別された地図情報を記憶する地図情報記憶手段と、
前記デバイス端末から送信されてくる、前記位置情報記憶手段に記憶されている位置情報と、前記デバイス端末から送信されてくる、前記位置情報取得手段によって取得された位置情報とが、前記地図情報に記憶された共通の建物の内側の位置にあるか否かを判断する判断手段と、
前記判断手段によって、共通の建物の内側の位置にあると判断された場合には、前記位置情報記憶手段に記憶されている位置情報と前記取得手段によって取得された位置情報とが一致する旨の照合結果を前記デバイス端末に送信し、共通の建物の内側の位置にないと判断された場合には、前記位置情報記憶手段に記憶されている位置情報と前記取得手段によって取得された位置情報とが一致しない旨の照合結果を前記デバイス端末に送信する照合結果送信手段と
を備えることを特徴とする情報処理システム。
A device terminal according to claim 6;
The host device or the external device communicating with the host device,
The device terminal is
Position information transmission means for transmitting the position information stored in the position information storage means and the position information acquired by the position information acquisition means to the host device or the external device communicating with the host device; Prepared,
The host device or the external device that communicates with the host device is:
Map information storage means for storing map information in which positions inside and outside the building are distinguished;
The position information stored in the position information storage means transmitted from the device terminal and the position information acquired from the position information acquisition means transmitted from the device terminal are included in the map information. A judging means for judging whether or not it is in a position inside the stored common building;
When the determination means determines that the position is inside the common building, the position information stored in the position information storage means matches the position information acquired by the acquisition means. When the collation result is transmitted to the device terminal and it is determined that the position is not inside the common building, the position information stored in the position information storage means and the position information acquired by the acquisition means An information processing system comprising: a matching result transmitting means for transmitting a matching result indicating that the two do not match to the device terminal.
ホスト装置に接続されて利用されるコンピュータを、
自端末に接続された前記ホスト装置から供給される供給情報を記憶する供給情報記憶手段と、
自端末の位置を表す位置情報を取得する位置情報取得手段と、
前記位置情報を記憶するための位置情報記憶手段と、
前記位置情報記憶手段に位置情報が記憶されていないときに前記ホスト装置に接続されると、前記位置情報取得手段によって取得された位置情報を前記位置情報記憶手段に書き込む書込手段と、
前記位置情報記憶手段に位置情報が記憶されているときに前記ホスト装置に接続され、前記位置情報記憶手段に記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致すると、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可し、前記位置情報記憶手段に記憶されている位置情報と前記位置情報取得手段によって取得された位置情報とが一致しないと、前記ホスト装置から前記供給情報記憶手段へのアクセスを許可しない許可手段と
して機能させるプログラム。
A computer connected to the host device
Supply information storage means for storing supply information supplied from the host device connected to the terminal;
Position information acquisition means for acquiring position information representing the position of the terminal;
Position information storage means for storing the position information;
A writing means for writing the position information acquired by the position information acquisition means to the position information storage means when connected to the host device when the position information is not stored in the position information storage means;
When the position information is stored in the position information storage means, the position information is connected to the host device, and the position information stored in the position information storage means matches the position information acquired by the position information acquisition means. If the host device permits access to the supply information storage unit and the position information stored in the position information storage unit does not match the position information acquired by the position information acquisition unit, the host device A program that functions as permission means that does not permit access to the supply information storage means.
JP2007258963A 2007-10-02 2007-10-02 Device terminal, usb device, information processing system, and program Pending JP2009087241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007258963A JP2009087241A (en) 2007-10-02 2007-10-02 Device terminal, usb device, information processing system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007258963A JP2009087241A (en) 2007-10-02 2007-10-02 Device terminal, usb device, information processing system, and program

Publications (1)

Publication Number Publication Date
JP2009087241A true JP2009087241A (en) 2009-04-23

Family

ID=40660552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007258963A Pending JP2009087241A (en) 2007-10-02 2007-10-02 Device terminal, usb device, information processing system, and program

Country Status (1)

Country Link
JP (1) JP2009087241A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010276578A (en) * 2009-06-01 2010-12-09 Clarion Co Ltd Navigation device, server device, map information update system, and map information update method
JP2014119888A (en) * 2012-12-14 2014-06-30 Fujitsu Ltd Storage device, data protection method of storage device, and program
JP2016173635A (en) * 2015-03-16 2016-09-29 日本電信電話株式会社 Authentication system, external storage medium, and authentication method
JP2017013304A (en) * 2015-06-30 2017-01-19 京セラドキュメントソリューションズ株式会社 Image processing device
JP2017162239A (en) * 2016-03-10 2017-09-14 東芝メモリ株式会社 Memory system
JP2020092298A (en) * 2018-12-03 2020-06-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010276578A (en) * 2009-06-01 2010-12-09 Clarion Co Ltd Navigation device, server device, map information update system, and map information update method
JP2014119888A (en) * 2012-12-14 2014-06-30 Fujitsu Ltd Storage device, data protection method of storage device, and program
JP2016173635A (en) * 2015-03-16 2016-09-29 日本電信電話株式会社 Authentication system, external storage medium, and authentication method
JP2017013304A (en) * 2015-06-30 2017-01-19 京セラドキュメントソリューションズ株式会社 Image processing device
JP2017162239A (en) * 2016-03-10 2017-09-14 東芝メモリ株式会社 Memory system
US10621373B2 (en) 2016-03-10 2020-04-14 Toshiba Memory Corporation Data security management based on device locations and connection states
JP2020092298A (en) * 2018-12-03 2020-06-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Similar Documents

Publication Publication Date Title
AU2007286427B2 (en) A method of generating improved map data for use in navigation devices, map data and navigation device therefor
JP2009087241A (en) Device terminal, usb device, information processing system, and program
US8935473B2 (en) System and method for a portable memory device to access and acquire additional memory from a remote location
US20060195256A1 (en) Systems, methods, and programs for updating map data
US20120233428A1 (en) Apparatus and method for securing portable storage devices
JP4701883B2 (en) Computer system and control method thereof
RU2012133440A (en) ELECTRONIC DOCUMENT READING DEVICE
JPWO2002057976A1 (en) Search support device, search support system, work instruction terminal, search support method, and work instruction system
JP2005157476A5 (en)
JP2009237625A (en) Memory device and electronic data management method
JP4966422B1 (en) Information processing apparatus and data protection method
JP2006215763A (en) Information processing system incorporated with extended module and its control method
JP2017162239A (en) Memory system
JP5962484B2 (en) STORAGE DEVICE, STORAGE DEVICE DATA PROTECTION METHOD, AND PROGRAM
US8175804B2 (en) Navigation apparatus
US8539052B2 (en) Control assistance system, information processing apparatus and computer-readable medium having a computer program
JP4407413B2 (en) Information processing apparatus and program
JP4953318B2 (en) Mobile communication terminal and method for locking mobile communication terminal
JP3136783U (en) GPS recording device for adding position information to image files
JP2007094851A (en) Storage device unit
JP2008217390A (en) Information transfer device, method, program, and storage medium
JP2003323344A (en) Access control system, access control method and access control program
JP2009118011A (en) Image forming apparatus and system
JP2006309370A (en) Flash memory
JPH0934799A (en) Data protection method