JP6007736B2 - External storage device and method for starting external storage device - Google Patents

External storage device and method for starting external storage device Download PDF

Info

Publication number
JP6007736B2
JP6007736B2 JP2012249052A JP2012249052A JP6007736B2 JP 6007736 B2 JP6007736 B2 JP 6007736B2 JP 2012249052 A JP2012249052 A JP 2012249052A JP 2012249052 A JP2012249052 A JP 2012249052A JP 6007736 B2 JP6007736 B2 JP 6007736B2
Authority
JP
Japan
Prior art keywords
power supply
storage device
external storage
unit
power
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.)
Active
Application number
JP2012249052A
Other languages
Japanese (ja)
Other versions
JP2014098950A (en
Inventor
俊 石井
俊 石井
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.)
Buffalo Inc
Original Assignee
Buffalo Inc
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 Buffalo Inc filed Critical Buffalo Inc
Priority to JP2012249052A priority Critical patent/JP6007736B2/en
Publication of JP2014098950A publication Critical patent/JP2014098950A/en
Application granted granted Critical
Publication of JP6007736B2 publication Critical patent/JP6007736B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、外部記憶装置に関する。   The present invention relates to an external storage device.

外部記憶装置として、HDD(ハードディスクドライブ)を内蔵したものが知られている。ここでいう外部記憶装置とは、コンピュータの筐体の外部に配置され、コンピュータとの脱着が容易に実行できる記憶装置を意味する。つまり、広義のリムーバブルメディアに該当する。   As an external storage device, one having a built-in HDD (hard disk drive) is known. The term “external storage device” as used herein means a storage device that is arranged outside the computer casing and can be easily attached to and detached from the computer. In other words, it corresponds to a removable medium in a broad sense.

HDDは、通常、プラッタを備える。プラッタは、情報を記憶する部品であり、情報の読み出し及び書き込み(以下、この2つを合わせて「アクセス」という)を受け付けるために回転する。HDDは、省電力を目的として、プラッタの回転数を低下させたり、回転を停止させたりする。この省電力状態においては、HDDはアクセスを受け付けることができない。省電力状態からアクセスが可能な状態に移行するには、プラッタの回転数を所定値に到達させる必要がある。回転数を増加させるのに掛かる時間は、アクセスが可能になるまでの時間(遅延時間)の原因となる。   The HDD usually includes a platter. The platter is a component that stores information, and rotates to accept reading and writing of information (hereinafter referred to as “access” together). The HDD reduces the rotation speed of the platter or stops the rotation for the purpose of power saving. In this power saving state, the HDD cannot accept access. In order to shift from the power saving state to the accessible state, the rotation speed of the platter needs to reach a predetermined value. The time required to increase the rotational speed causes a time (delay time) until access is possible.

このような遅延時間が生じるのを防ぐために、例えばRAMを別途、設けることが考えられる。RAMは、HDDほど大容量でないものの、HDDと比較して起動が高速であると共に、消費電力が低い。この特性を利用して、RAMを常に起動しておき、遅延時間において一時的にRAMをバッファとして使用することによって、書き込み開始に要する時間が短縮される(例えば特許文献1)。   In order to prevent such a delay time from occurring, for example, a RAM may be separately provided. Although the RAM is not as large as an HDD, the RAM starts up faster than the HDD and consumes less power. By utilizing this characteristic, the RAM is always activated and the RAM is temporarily used as a buffer during the delay time, thereby shortening the time required to start writing (for example, Patent Document 1).

特開2003−076497号公報JP 2003-076497 A

上記先行技術が有する課題は、読み出し開始までの時間を短縮できないことである。バッファとして設けられるRAMは、読み出し開始までの時間を短縮することには貢献しないからである。上記の課題は、HDDに限られず、回転する記憶媒体を用いる外部記憶装置に共通の課題である。他の回転する記憶媒体としては、例えば光ディスクが挙げられる。   The problem of the prior art is that the time until the start of reading cannot be shortened. This is because the RAM provided as a buffer does not contribute to shortening the time until the start of reading. The above problem is not limited to the HDD, but is a problem common to an external storage device using a rotating storage medium. Another example of the rotating storage medium is an optical disk.

本発明は、先述した課題の少なくとも一部を解決するためのものであり、以下の形態として実現できる。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms.

(1)本発明の一形態によれば、回転する記憶媒体に情報を記憶する外部記憶装置が提供される。この外部記憶装置は、前記記憶媒体を回転させる駆動部に給電する給電部と;当該外部記憶装置がコンピュータに接続されることを予想した場合、前記給電部に給電の開始を指示する開始指示部とを備える。この形態によれば、読み出し開始までの時間を短縮できる。外部記憶装置がコンピュータに接続されることを予想した場合、給電が開始されるので、コンピュータに接続された時点において、既にプラッタが回転し始めているからである。加えて、急な電源低下などが発生した等の場合において、RAM等の揮発性メモリをバッファとして用いる手法に比べ、書き込みに失敗する可能性を低減できる。 (1) According to one aspect of the present invention, an external storage device that stores information in a rotating storage medium is provided. The external storage device includes a power supply unit that supplies power to a drive unit that rotates the storage medium; and a start instruction unit that instructs the power supply unit to start power supply when the external storage device is predicted to be connected to a computer. With. According to this embodiment, the time until the start of reading can be shortened. This is because when the external storage device is expected to be connected to the computer, the power supply is started, so that the platter has already started to rotate when connected to the computer. In addition, in the case where a sudden power drop or the like occurs, the possibility of failure in writing can be reduced as compared with a method using a volatile memory such as a RAM as a buffer.

(2)上記形態において、前記開始指示部は、給電の指示をユーザから受けた場合に、当該外部記憶装置がコンピュータに接続されると予想する。この形態によれば、上記予想の精度が高くなる。ユーザの指示に基づき、上記予想を実行するからである。 (2) In the above embodiment, the start instruction unit predicts that the external storage device is connected to the computer when receiving a power supply instruction from the user. According to this form, the accuracy of the prediction is increased. This is because the prediction is executed based on a user instruction.

(3)上記形態において、前記コンピュータとの接続は、ケーブルが用いられ;前記ユーザからの指示は、前記ケーブルに設けられたスイッチを通じて入力される。この形態によれば、利便性が向上する。ユーザは、コンピュータに接続するためにケーブルを持ったついでに、給電を指示できるからである。 (3) In the above embodiment, a cable is used for connection with the computer; an instruction from the user is input through a switch provided on the cable. According to this form, convenience is improved. This is because the user can instruct power supply while holding the cable to connect to the computer.

(4)上記形態において、前記開始指示部は、前記スイッチに対して所定の力が作用している間は、前記給電の指示が継続していると判断すると共に、前記所定の力が作用しなくなったことを契機に、前記給電の終了をユーザから指示されたと判断し;前記所定の力が作用しなくなってから所定時間が経過すると、前記給電部に前記給電の終了を指示する時間差終了指示部を備える。この形態によれば、利便性が向上する。スイッチに力を作用させ続けながら、ケーブルをコンピュータに接続する作業は、ユーザにとって実行しづらい場合がある。よって、ユーザは、接続の前に一旦、スイッチに対する力を抜いてしまうことがある。このようにスイッチに対する力が作用しなくなっても、上記のように所定時間、給電を継続することによって駆動部を継続して動作させれば、プラッタの回転数が低下することを防止できる。この結果、ユーザは接続の時点においてスイッチに力を作用させ続ける必要がなくなるので、上記の効果を得ることができる。 (4) In the above aspect, the start instructing unit determines that the power supply instruction continues while a predetermined force is applied to the switch, and the predetermined force is applied. It is determined that the end of the power supply has been instructed by the user when there is no time; a time difference end instruction for instructing the power supply unit to end the power supply when a predetermined time elapses after the predetermined force stops working A part. According to this form, convenience is improved. The task of connecting the cable to the computer while continuing to apply force to the switch may be difficult for the user to perform. Therefore, the user may once remove the force on the switch before connection. Thus, even if the force on the switch does not act, if the drive unit is continuously operated by continuing the power supply for a predetermined time as described above, it is possible to prevent the rotation speed of the platter from decreasing. As a result, the user does not need to continue to apply force to the switch at the time of connection, so that the above effect can be obtained.

(5)上記形態において、前記ユーザからの給電の指示に基づき、そのユーザが当該外部記憶装置の使用を許可されたユーザであることを認証する認証部と;前記認証に失敗した場合、前記給電部に前記給電の終了を指示する認証失敗終了指示部とを備える。この形態によれば、利便性が向上する。ユーザは、給電の指示と、認証のための動作とを一緒に行うことができるからである。 (5) In the above embodiment, an authentication unit that authenticates that the user is a user permitted to use the external storage device based on a power supply instruction from the user; and if the authentication fails, the power supply An authentication failure end instruction unit that instructs the unit to end the power supply. According to this form, convenience is improved. This is because the user can perform an instruction for power supply and an operation for authentication together.

(6)上記形態において、外部から給電を受けている場合、前記給電部に前記給電の終了を指示する被給電時終了指示部を備える。この形態によれば、給電部に蓄えられた電力が余分に消費されることを防止できる。外部(例えば、接続されたコンピュータ)から給電されている場合、上記のように給電部が駆動部への給電を終了するからである。給電部による給電が終了しても、外部からの給電によって、外部記憶装置の消費電力の少なくとも一部を賄うことができる。 (6) In the said form, when the electric power feeding is received from the outside, the said electric power feeding part is provided with the completion | finish instruction | indication part at the time of a power feeding which instruct | indicates the completion | finish of the said electric power feeding. According to this aspect, it is possible to prevent the power stored in the power feeding unit from being consumed excessively. This is because when power is supplied from the outside (for example, a connected computer), the power supply unit ends power supply to the drive unit as described above. Even when the power supply by the power supply unit is completed, at least part of the power consumption of the external storage device can be covered by external power supply.

(7)上記形態において、前記給電が開始されてから所定時間が経過した場合、前記給電部に前記給電の終了を指示するタイムアップ終了指示部を備える。この形態によれば、電力が無駄に消費される可能性を低減できる。給電を開始してから所定時間が経過した場合、給電を継続する必要がない状態になっている可能性がある。その状態とは、例えば、外部から給電を受けている状態や、ユーザの意図に反してスイッチに力が作用している状態などが挙げられる。このような状態において給電を行うのは、給電部に蓄えられた電力を無駄に消費することになる。そこで上記のように、給電が開始されてから所定時間が経過した場合に給電を終了することによって、上記の効果を得ることができる。 (7) The said form WHEREIN: When the predetermined time passes after the said electric power feeding is started, the time-up completion instruction | indication part which instruct | indicates the completion | finish of the said electric power feeding to the said electric power feeding part is provided. According to this aspect, it is possible to reduce the possibility that power is wasted. When a predetermined time has elapsed since the start of power supply, there is a possibility that it is not necessary to continue power supply. Examples of the state include a state in which power is supplied from the outside and a state in which a force is applied to the switch against the user's intention. Supplying power in such a state wastes power stored in the power supply unit. Therefore, as described above, the above-described effect can be obtained by ending the power supply when a predetermined time has elapsed since the start of the power supply.

(8)上記形態において、外部から給電を受けている場合、その給電によって前記駆動部による消費電力が賄えないとき、前記駆動部に対する給電を前記給電部に指示する電力補助指示部を備える。この形態によれば、外部からの電力が不足している場合でも、記憶媒体を正常に回転させやすくなる。外部からの給電が不足している場合、給電部が駆動部に対する給電を実行することによって、不足分の電力の少なくとも一部を補填できるからである。 (8) In the above embodiment, when power is supplied from the outside, when the power consumption by the drive unit cannot be covered by the power supply, a power auxiliary instruction unit is provided that instructs the power supply unit to supply power to the drive unit. According to this form, even when the electric power from the outside is insufficient, the storage medium can be easily rotated normally. This is because when the power supply from the outside is insufficient, the power supply unit can supply at least a part of the shortage of power by executing power supply to the drive unit.

(9)上記形態において、前記給電部は、二次電池を電源として前記給電を行う。この形態によれば、利便性が高くなる。二次電池の充電は、種々の態様で実行できるからである。例えば、当該外部記憶装置によって実行してもよいし、別途の充電器によって実行してもよい。 (9) In the above aspect, the power supply unit performs the power supply using a secondary battery as a power source. According to this form, convenience is enhanced. This is because the secondary battery can be charged in various modes. For example, it may be executed by the external storage device or may be executed by a separate charger.

(10)上記形態において、外部から当該外部記憶装置に対して供給される電力が、当該外部記憶装置による消費電力を上回る場合、前記供給される電力によって前記二次電池を充電する充電部を備える。この形態によれば、利便性が向上する。外部機器による充電をしなくても済むようになるからである。 (10) In the above embodiment, a charging unit that charges the secondary battery with the supplied power when the power supplied from the outside to the external storage device exceeds the power consumption of the external storage device is provided. . According to this form, convenience is improved. This is because it is not necessary to charge with an external device.

本発明は、上記以外の種々の形態でも実現できる。例えば、上記外部記憶装置に備えられた各部としての機能を外部記憶装置に実現させるためのプログラム、このプログラムを記憶した一時的でない記憶媒体等の形態で実現できる。   The present invention can be realized in various forms other than the above. For example, it can be realized in the form of a program for causing the external storage device to realize the functions of each unit provided in the external storage device, a non-temporary storage medium storing the program, and the like.

コンピュータと外部記憶装置との外観を示す図。The figure which shows the external appearance of a computer and an external storage device. 外部記憶装置の構成を示すブロック図。The block diagram which shows the structure of an external storage device. コネクタの断面図。Sectional drawing of a connector. スピンアップ開始制御処理を示すフローチャート。The flowchart which shows a spin-up start control process. 指紋認証処理を示すフローチャート。The flowchart which shows a fingerprint authentication process. 電力分配処理を示すフローチャート。The flowchart which shows an electric power distribution process.

図1は、コンピュータ10と、外部記憶装置20との外観を示す。コンピュータ10は、周知のものであり、USBポート110を備える。図1は、コンピュータ10としてノートPCを例示する。但し、コンピュータ10は、タブレットPC、デスクトップPC等、他のタイプのコンピュータや、他の情報処理装置(スマートフォン等)であってもよい。   FIG. 1 shows the external appearance of the computer 10 and the external storage device 20. The computer 10 is well known and includes a USB port 110. FIG. 1 illustrates a notebook PC as the computer 10. However, the computer 10 may be another type of computer such as a tablet PC or a desktop PC, or another information processing apparatus (smartphone or the like).

外部記憶装置20は、記憶装置本体30と、USBケーブル40とを備える。USBケーブル40は、ケーブル本体41と、コネクタ42とを備える。USBポート110及びコネクタ42は、USB規格に準じた端子である。コネクタ42がUSBポート110に挿入されることによって、コンピュータ10から外部記憶装置20へのアクセスが可能になる。   The external storage device 20 includes a storage device body 30 and a USB cable 40. The USB cable 40 includes a cable body 41 and a connector 42. The USB port 110 and the connector 42 are terminals conforming to the USB standard. By inserting the connector 42 into the USB port 110, the computer 10 can access the external storage device 20.

ケーブル本体41は、記憶装置本体30に直付けされている。直付けとは、記憶装置本体30とケーブル本体41とが容易に脱着できないように接続されていることを意味する。このように直付けされているのは、本実施形態においては、記憶装置本体30とケーブル本体41とが接続された状態で、コネクタ42がUSBポート110に挿入されることが、スピンアップ開始制御処理(図4と共に後述)と指紋認証処理(図5と共に後述)とを実行するために必要だからである。   The cable body 41 is directly attached to the storage device body 30. Direct attachment means that the storage device body 30 and the cable body 41 are connected so that they cannot be easily detached. In the present embodiment, the direct connection is made in this manner because the connector 42 is inserted into the USB port 110 while the storage device main body 30 and the cable main body 41 are connected. This is because it is necessary to execute processing (described later with FIG. 4) and fingerprint authentication processing (described later with FIG. 5).

図2は、外部記憶装置20の構成を示すブロック図である。図2に示されるように、記憶装置本体30は、CPU310と、フラッシュメモリ320と、給電部330と、HDD340とを備える。給電部330は、二次電池332と、FETスイッチ334とを備える。HDD340は、駆動部342と、記憶媒体344とを備える。   FIG. 2 is a block diagram showing the configuration of the external storage device 20. As shown in FIG. 2, the storage device main body 30 includes a CPU 310, a flash memory 320, a power feeding unit 330, and an HDD 340. The power feeding unit 330 includes a secondary battery 332 and an FET switch 334. The HDD 340 includes a drive unit 342 and a storage medium 344.

CPU310は、後述する処理を実行することによって、開始指示部311、時間差終了指示部312、被給電時終了指示部313、タイムアップ終了指示部314、電力補助指示部315、充電部316、認証部317及び認証失敗終了指示部318として機能する。CPU310は、USB/SATA変換のための基板(図示なし)上に設けられている。   The CPU 310 performs processing to be described later, thereby starting a start instruction unit 311, a time difference end instruction unit 312, a power-supplied end instruction unit 313, a time-up end instruction unit 314, a power auxiliary instruction unit 315, a charging unit 316, and an authentication unit. 317 and an authentication failure end instruction unit 318. The CPU 310 is provided on a board (not shown) for USB / SATA conversion.

フラッシュメモリ320は、後述する処理を実行するためのプログラムと、これらのプログラムに用いられる情報(指紋に関する情報などであり、詳細は後述する)とを記憶する。FETスイッチ334は、パワーMOSFET(Power Metal Oxide Semiconductor Field Effect Transistor)によるスイッチング素子として機能する。FETスイッチ334は、CPU310による制御信号に応じて、二次電池332からHDD340への給電路を開放したり遮断したりする。以下、この給電路が開放された状態を「FETスイッチ334がON」、遮断された状態を「FETスイッチ334がOFF」という。   The flash memory 320 stores a program for executing processing to be described later and information used for these programs (information related to fingerprints, details will be described later). The FET switch 334 functions as a switching element using a power MOSFET (Power Metal Oxide Semiconductor Field Effect Transistor). The FET switch 334 opens or shuts off the power supply path from the secondary battery 332 to the HDD 340 in accordance with a control signal from the CPU 310. Hereinafter, the state where the power supply path is opened is referred to as “FET switch 334 is ON”, and the state where the power supply path is blocked is referred to as “FET switch 334 is OFF”.

二次電池332は、先述したようにFETスイッチ334がONの場合に駆動部342に給電するのに加え、コンピュータ10からの給電を受けていない状態においてCPU310に給電する。CPU310は、必要に応じて、二次電池332からの給電を利用してコネクタ42に給電する。   As described above, the secondary battery 332 supplies power to the CPU 310 in a state where the power is not supplied from the computer 10 in addition to supplying power to the drive unit 342 when the FET switch 334 is ON. The CPU 310 supplies power to the connector 42 using power supplied from the secondary battery 332 as necessary.

HDD340は、SATAによるアクセスを受け付ける記憶装置である。記憶媒体344は、プラッタ等から構成される。駆動部342は、プラッタの回転数を制御するためのモータ等を備える。HDD340のプラッタは、本実施形態においては2.5インチタイプである。   The HDD 340 is a storage device that accepts access by SATA. The storage medium 344 includes a platter or the like. The drive unit 342 includes a motor for controlling the rotation speed of the platter. The platter of the HDD 340 is a 2.5 inch type in this embodiment.

図2に示されるようにコネクタ42は、赤色LED43と緑色LED44とを備える。この2つのLEDは、後述する処理において点灯または点滅させられる。   As shown in FIG. 2, the connector 42 includes a red LED 43 and a green LED 44. These two LEDs are turned on or blinked in a process described later.

図3は、コネクタ42の3−3(図2参照)断面図である。図3に示されるように、コネクタ42は、筐体422と、基板424と、指紋読取部426と、タクトスイッチ428と、フレキシブルケーブル429とを備える。   3 is a cross-sectional view of the connector 42 3-3 (see FIG. 2). As shown in FIG. 3, the connector 42 includes a housing 422, a substrate 424, a fingerprint reading unit 426, a tact switch 428, and a flexible cable 429.

基板424は、コンピュータ10とCPU310との通信を実現するための回路を備える。指紋読取部426は、半導体を用いた静電容量方式によって、接触した指の指紋を読み取るためのものである。フレキシブルケーブル429は、基板424と指紋読取部426とを接続する柔軟なケーブルであり、指紋読取部426によって読み取られた指紋を示す情報を基板424に伝達する。タクトスイッチ428は、指紋読取部426が筐体422の内部に押し込まれたことを検出するスイッチである。   The board 424 includes a circuit for realizing communication between the computer 10 and the CPU 310. The fingerprint reading unit 426 is for reading the fingerprint of the touched finger by a capacitance method using a semiconductor. The flexible cable 429 is a flexible cable that connects the substrate 424 and the fingerprint reading unit 426, and transmits information indicating the fingerprint read by the fingerprint reading unit 426 to the substrate 424. The tact switch 428 is a switch that detects that the fingerprint reading unit 426 has been pushed into the housing 422.

指紋読取部426とタクトスイッチ428とからの信号は、基板424とケーブル本体41とを介してCPU310に伝達される。ケーブル本体41は、この伝達のために、通常のUSBケーブルに比べて配線を少なくとも1本多く備える。例えば、Aコネクタ側の4pin分の配線が用意されているので、1信号分の配線を追加する。Mini−Bタイプのコネクタは、元々5pin用意されており、1pin分の空きがあるので、この空きを利用してもよい。   Signals from the fingerprint reading unit 426 and the tact switch 428 are transmitted to the CPU 310 via the substrate 424 and the cable body 41. The cable body 41 is provided with at least one more wire for this transmission compared to a normal USB cable. For example, since wiring for 4 pins on the A connector side is prepared, wiring for one signal is added. The Mini-B type connector is originally prepared for 5 pins, and there is a space for 1 pin, so this space may be used.

図3(B)は、ユーザの指50によって指紋読取部426が内部に押し込まれた状態を示す。この状態において、タクトスイッチ428が縮むと共に、フレキシブルケーブル429が撓む。図3(B)に示されるようにタクトスイッチ428が縮んだ状態を以下「タクトスイッチ428がON」といい、図3(A)に示されるようにタクトスイッチ428が伸びた状態を以下「タクトスイッチ428がOFF」という。タクトスイッチ428は、外力が作用していない場合、OFFの状態を維持する。指紋読取部426は、タクトスイッチ428がONになったことを契機に、指50の接触面を読み取ることによって、指50の指紋を示す情報を取得する。   FIG. 3B shows a state in which the fingerprint reading unit 426 is pushed into the inside by the user's finger 50. In this state, the tact switch 428 contracts and the flexible cable 429 bends. The state where the tact switch 428 is contracted as shown in FIG. 3B is hereinafter referred to as “tact switch 428 is ON”, and the state where the tact switch 428 is extended as shown in FIG. It is said that the switch 428 is OFF. The tact switch 428 maintains an OFF state when no external force is applied. The fingerprint reading unit 426 acquires information indicating the fingerprint of the finger 50 by reading the contact surface of the finger 50 when the tact switch 428 is turned on.

指紋読取部426の外表面は、タクトスイッチ428がOFFの状態において、図3(A)に示されるように筐体422よりも距離L、内側に配置される。この配置によって、ユーザの意図に反してタクトスイッチ428がONにされる可能性を低減している。指紋読取部426の外表面とは、指紋読取部426において指と接触する部位であり、コネクタ42の外観として現れる部位である。   When the tact switch 428 is OFF, the outer surface of the fingerprint reading unit 426 is disposed at a distance L from the housing 422 as shown in FIG. This arrangement reduces the possibility that the tact switch 428 is turned on against the user's intention. The outer surface of the fingerprint reading unit 426 is a part that comes into contact with a finger in the fingerprint reading unit 426 and is a part that appears as an appearance of the connector 42.

図4は、スピンアップ開始制御処理を示すフローチャートである。スピンアップ開始制御処理は、CPU310によって実行される。スピンアップ開始制御処理が開始される契機は、タクトスイッチ428がONになったことを示す情報を、CPU310が受信したことである。   FIG. 4 is a flowchart showing the spin-up start control process. The spin-up start control process is executed by the CPU 310. The trigger for starting the spin-up start control process is that the CPU 310 has received information indicating that the tact switch 428 has been turned on.

CPU310の開始指示部311は、スピンアップ開始制御処理を起動すると、FETスイッチ334をONにする(ステップS610)。FETスイッチ334がONになると、二次電池332から駆動部342への給電が開始される。駆動部342は、給電を受け始めると、記憶媒体344のスピンアップを開始する。   When starting the spin-up start control process, the start instruction unit 311 of the CPU 310 turns on the FET switch 334 (step S610). When the FET switch 334 is turned on, power supply from the secondary battery 332 to the drive unit 342 is started. When the drive unit 342 starts to receive power supply, the drive unit 342 starts to spin up the storage medium 344.

次にCPU310は、READ SECTORコマンド(ATAコマンド0x20)をHDD340に対して発行する(ステップS620)。ATAコマンドは、HDD340を制御するためのコマンドである。READ SECTORコマンドは、セクタの場所を指定し、データをホストに返すためのコマンドである。READ SECTORコマンドの成功は、HDD340に対するアクセスが可能であることを意味する。ステップS620において読み込むセクタの場所は、任意のLBA(例えばLBA0)でよい。LBA(Logical Block Addressing)は、HDD340のセクタの通し番号を示す。LBA0は、HDD340の先頭を示す。   Next, the CPU 310 issues a READ SECTOR command (ATA command 0x20) to the HDD 340 (step S620). The ATA command is a command for controlling the HDD 340. The READ SECTOR command is a command for specifying the sector location and returning data to the host. Success of the READ SECTOR command means that access to the HDD 340 is possible. The location of the sector read in step S620 may be an arbitrary LBA (for example, LBA0). LBA (Logical Block Addressing) indicates a sector serial number of the HDD 340. LBA 0 indicates the head of the HDD 340.

続いてCPU310は、USBケーブル40を介して、コンピュータ10に接続されたかを判定する(ステップS630)。コンピュータ10に接続されていない場合(ステップS630、NO)、CPU310は、タクトスイッチ428のONが10秒以上、継続したかを判定する(ステップS635)。   Subsequently, the CPU 310 determines whether it is connected to the computer 10 via the USB cable 40 (step S630). When not connected to the computer 10 (step S630, NO), the CPU 310 determines whether the tact switch 428 has been turned on for 10 seconds or more (step S635).

タクトスイッチ428がONになってからの継続時間が10秒未満である場合(ステップS635、NO)、CPU310は、タクトスイッチ428がONかを判定する(ステップS640)。タクトスイッチ428がONの場合(ステップS640、YES)、CPU310は、READ SECTORコマンドが成功したかを判定する(ステップS650)。READ SECTORコマンドが成功するためには、記憶媒体344の回転数が所定値以上に達することが必要である。よって、スピンアップ開始制御処理を開始した直後においては、READ SECTORコマンドは失敗することが多い。   When the duration after the tact switch 428 is turned on is less than 10 seconds (step S635, NO), the CPU 310 determines whether the tact switch 428 is on (step S640). When the tact switch 428 is ON (step S640, YES), the CPU 310 determines whether the READ SECTOR command is successful (step S650). In order for the READ SECTOR command to succeed, the rotational speed of the storage medium 344 needs to reach a predetermined value or more. Therefore, the READ SECTOR command often fails immediately after starting the spin-up start control process.

READ SECTORコマンドが失敗した場合(ステップS650、NO)、CPU310は100ミリ秒、待機する(ステップS660)。その後、CPU310は、READ SECTORコマンドの失敗が10秒以上、継続したかを判定する(ステップS670)。READ SECTORコマンドの失敗の継続時間が10秒未満の場合(ステップS670、NO)、CPU310は、ステップS620を再度、実行する。通常の場合、タクトスイッチ428がONになった直後は、ステップS620〜ステップS670が繰り返し実行される。   If the READ SECTOR command fails (step S650, NO), the CPU 310 waits for 100 milliseconds (step S660). Thereafter, the CPU 310 determines whether the failure of the READ SECTOR command has continued for 10 seconds or more (step S670). When the duration of the failure of the READ SECTOR command is less than 10 seconds (step S670, NO), the CPU 310 executes step S620 again. In a normal case, immediately after the tact switch 428 is turned on, Steps S620 to S670 are repeatedly executed.

READ SECTORコマンドが成功した場合(ステップS650、YES)、CPU310は、ステップS630を再度、実行する。一旦、READ SECTORコマンドが成功すれば、READ SECTORコマンドの発行(ステップS620)及びコマンドの成否の判定(ステップS670)は不要だからである。この場合、CPU310は、スピンアップが完了したと認識する。   When the READ SECTOR command is successful (step S650, YES), the CPU 310 executes step S630 again. This is because once the READ SECTOR command is successful, it is unnecessary to issue a READ SECTOR command (step S620) and determine whether the command is successful (step S670). In this case, the CPU 310 recognizes that the spin-up has been completed.

コンピュータ10に接続された場合(ステップS630、YES)、CPU310の被給電時終了指示部313は、FETスイッチ334をOFFにする(ステップS690)。その後、CPU310はスピンアップ開始制御処理を終了する。FETスイッチ334がOFFにされるのは、接続されたコンピュータ10から給電を受けることができるからである。   When connected to the computer 10 (step S630, YES), the power supply end instruction unit 313 of the CPU 310 turns off the FET switch 334 (step S690). Thereafter, the CPU 310 ends the spin-up start control process. The FET switch 334 is turned off because power can be received from the connected computer 10.

このようにしてコンピュータ10に接続される場合、接続の前からスピンアップが開始されている。よって、接続後にスピンアップが開始される場合に比べて、HDD340へのアクセスが可能になるまでの遅延時間が短縮される。この効果は、接続時の回転数が目標となる回転数に近ければ近いほど大きく、スピンアップが完了している場合が最も大きい。   When connecting to the computer 10 in this way, the spin-up is started before the connection. Therefore, the delay time until the HDD 340 can be accessed is shortened as compared with the case where the spin-up is started after the connection. This effect is greater as the rotational speed at the time of connection is closer to the target rotational speed, and is greatest when the spin-up is completed.

タクトスイッチ428がONの継続時間が10秒以上である場合(ステップS635、YES)、CPU310のタイムアップ終了指示部314は、FETスイッチ334をOFFにし(ステップS690)、スピンアップ開始制御処理を終了する。このように給電を終了するのは、省電力のためである。つまり、ユーザの意図と反してタクトスイッチ428がONの状態が継続した等の場合に、二次電池332の電力が消費され続けることを防止するためである。特に指紋認証処理(図5参照)が実行されない場合、この効果は大きな意義を持つ。指紋認証処理が実行されない場合、指紋認証の失敗によってFETスイッチ334をOFFになることが期待できないからである。   When the tact switch 428 is ON for 10 seconds or longer (step S635, YES), the time-up end instruction unit 314 of the CPU 310 turns off the FET switch 334 (step S690) and ends the spin-up start control process. To do. The power supply is terminated in this way for power saving. That is, in order to prevent the power of the secondary battery 332 from being continuously consumed when the tact switch 428 continues to be turned on contrary to the user's intention. This effect is particularly significant when the fingerprint authentication process (see FIG. 5) is not executed. This is because if the fingerprint authentication process is not executed, the FET switch 334 cannot be expected to be turned off due to the failure of the fingerprint authentication.

READ SECTORコマンドの失敗が10秒以上、継続した場合(ステップS670、YES)、CPU310は、赤色LED43を点灯させる(ステップS680)。続いて、CPU310は、FETスイッチ334をOFFにする(ステップS690)。その後、CPU310は、ステップS680の開始から3秒後に赤色LED43を消灯して、スピンアップ開始制御処理を終了する。   If the failure of the READ SECTOR command continues for 10 seconds or longer (step S670, YES), the CPU 310 turns on the red LED 43 (step S680). Subsequently, the CPU 310 turns off the FET switch 334 (step S690). Thereafter, the CPU 310 turns off the red LED 43 3 seconds after the start of step S680, and ends the spin-up start control process.

上記のように赤色LED43を点灯させるのは、エラーの発生をユーザに通知するためである。10秒という時間は、本実施形態において採用された2.5インチタイプを対象とした場合に、正常であればスピンアップが完了するのに充分な時間として設定された値である。それにも関わらずREAD SECTORコマンドの失敗が10秒以上、継続したということは、何らかのエラーが発生している可能性が高い。何らかのエラーとは、例えば、二次電池332の残容量の不足や、CPU310、駆動部342又は記憶媒体344の故障などが挙げられる。   The reason why the red LED 43 is turned on as described above is to notify the user of the occurrence of an error. The time of 10 seconds is a value set as a sufficient time for completing the spin-up if it is normal when the 2.5-inch type employed in the present embodiment is targeted. Nevertheless, if the failure of the READ SECTOR command continues for 10 seconds or more, there is a high possibility that an error has occurred. Some errors include, for example, a shortage of the remaining capacity of the secondary battery 332, a failure of the CPU 310, the drive unit 342, or the storage medium 344.

タクトスイッチ428がOFFになった場合(ステップS640、NO)、CPU310は、OFFになってから2秒以内にタクトスイッチ428が再びONになったかを判定する(ステップS645)。2秒以内にタクトスイッチ428がONになった場合(ステップS645、YES)、ONになった時点で、CPU310はステップS650を実行する。ステップS645でYESと判定した場合、ステップS635とステップS670とにおける継続時間は、ゼロにリセットされる。   When the tact switch 428 is turned off (step S640, NO), the CPU 310 determines whether the tact switch 428 is turned on again within 2 seconds after being turned off (step S645). When the tact switch 428 is turned on within 2 seconds (YES in step S645), the CPU 310 executes step S650 when it is turned on. If YES is determined in step S645, the durations in steps S635 and S670 are reset to zero.

2秒以内にタクトスイッチ428がONにならなかった場合(ステップS645、NO)、CPU310の時間差終了指示部312は、FETスイッチ334をOFFにする(ステップS690)。その後、CPU310は、スピンアップ開始制御処理を終了する。   If the tact switch 428 has not been turned on within 2 seconds (step S645, NO), the time difference end instruction unit 312 of the CPU 310 turns off the FET switch 334 (step S690). Thereafter, the CPU 310 ends the spin-up start control process.

このようにタクトスイッチ428がOFFになってから時間差で給電を終了するのは、使い勝手を向上させるためである。ユーザは、コネクタ42をUSBポート110に挿入する前に、タクトスイッチ428から指を離してしまう可能性がある。そこで上記のように、タクトスイッチ428がOFFになってから所定時間後までは給電を継続することによって、上記のように指が離れても、所定時間は記憶媒体344の回転数が低下することを防止できる。一方でタクトスイッチ428がOFFになってから長時間、給電を継続すると、その分、消費電力が大きくなる。そこで本実施形態においては、使い勝手の向上と省電力とのバランスを取るために、時間差として2秒が設定されている。   The reason why the power supply is terminated with a time difference after the tact switch 428 is turned off is to improve usability. The user may release his / her finger from the tact switch 428 before inserting the connector 42 into the USB port 110. Therefore, as described above, the power supply is continued until a predetermined time after the tact switch 428 is turned OFF, so that the rotation speed of the storage medium 344 decreases for a predetermined time even when the finger is removed as described above. Can be prevented. On the other hand, if the power supply is continued for a long time after the tact switch 428 is turned OFF, the power consumption increases accordingly. Therefore, in the present embodiment, 2 seconds is set as the time difference in order to balance the improvement in usability and the power saving.

図5は、指紋認証処理を示すフローチャートである。指紋認証処理は、CPU310によって実行される。CPU310が指紋認証処理を実行するために、登録ユーザの指紋を示す情報(以下「登録情報」という)を記憶装置本体30が予め記憶する必要がある。登録情報の記憶は、既知の手法によって行われる。登録情報の記憶に用いられるアプリケーションは、フラッシュメモリ320に記憶されている。登録情報の記憶に利用されるコンピュータ(コンピュータ10又は他のコンピュータ)は、このアプリケーションを読み込んで実行する。登録情報もフラッシュメモリ320に記憶される。   FIG. 5 is a flowchart showing fingerprint authentication processing. The fingerprint authentication process is executed by the CPU 310. In order for the CPU 310 to execute the fingerprint authentication process, the storage device body 30 needs to store in advance information indicating the fingerprint of the registered user (hereinafter referred to as “registration information”). The registration information is stored by a known method. An application used for storing registration information is stored in the flash memory 320. A computer (computer 10 or another computer) used for storing registration information reads and executes this application. Registration information is also stored in the flash memory 320.

登録情報が記憶されていない場合、指紋認証処理は実行されないと共に、コンピュータ10によるHDD340へのアクセスは常時、許可されている。これに対して、登録情報が記憶されている場合、HDD340へのアクセスは、指紋認証処理における認証に成功した場合に許可される。   When the registration information is not stored, the fingerprint authentication process is not executed and access to the HDD 340 by the computer 10 is always permitted. On the other hand, when registration information is stored, access to the HDD 340 is permitted when authentication in the fingerprint authentication process is successful.

指紋認証処理が開始される契機は、タクトスイッチ428がONになったことを示す情報を、CPU310が受信したことである。つまり、スピンアップ開始制御処理の場合と同じである。よって、ユーザは、タクトスイッチ428をONするという1つの動作によって、2つの処理を開始させることができる。しかもユーザは、タクトスイッチ428をONする動作を、コネクタ42をUSBポート110に挿入するついでに実行できる。   The trigger for starting the fingerprint authentication process is that the CPU 310 has received information indicating that the tact switch 428 is turned on. That is, it is the same as the case of the spin-up start control process. Therefore, the user can start two processes by one operation of turning on the tact switch 428. In addition, the user can execute the operation of turning on the tact switch 428 when the connector 42 is inserted into the USB port 110.

CPU310は、指紋認証処理を開始すると、指紋読取部426に接触している指の指紋を示す情報(以下「申請情報」という)を取得する(ステップS710)。次にCPU310の認証部317は、登録情報との比較により認証に成功したかを判定する(ステップS720)。認証に成功した場合(ステップS720、YES)、CPU310は、HDD340へのアクセスを許可する(ステップS730)。続いてCPU310は、緑色LED44を点灯させる(ステップS740)。   When starting the fingerprint authentication process, the CPU 310 acquires information indicating the fingerprint of the finger that is in contact with the fingerprint reading unit 426 (hereinafter referred to as “application information”) (step S710). Next, the authentication unit 317 of the CPU 310 determines whether the authentication is successful by comparing with the registration information (step S720). When the authentication is successful (step S720, YES), the CPU 310 permits access to the HDD 340 (step S730). Subsequently, the CPU 310 turns on the green LED 44 (step S740).

次にCPU310は、ステップS740の実行時から5秒以内にコンピュータ10に接続されたかを判定する(ステップS750)。5秒以内にコンピュータ10に接続された場合(ステップS750、YES)、CPU310は、緑色LED44を消灯し(ステップS760)、指紋認証処理を終了する。この場合、ユーザは、HDD340を正常に使用できる。   Next, the CPU 310 determines whether it is connected to the computer 10 within 5 seconds from the execution of step S740 (step S750). When connected to the computer 10 within 5 seconds (step S750, YES), the CPU 310 turns off the green LED 44 (step S760), and ends the fingerprint authentication process. In this case, the user can use the HDD 340 normally.

5秒以内にコンピュータ10に接続されなかった場合(ステップS750、NO)、CPU310は、HDD340へのアクセスを禁止する(ステップS770)。次にCPU310は、赤色LED43を点灯させる(ステップS830)。   If not connected to the computer 10 within 5 seconds (step S750, NO), the CPU 310 prohibits access to the HDD 340 (step S770). Next, the CPU 310 turns on the red LED 43 (step S830).

続いてCPU310は、FETスイッチ334をOFFにする(ステップS840)。その後、CPU310は、ステップS830の開始から3秒後に赤色LED43を消灯して、指紋認証処理を終了する。このようにHDD340へのアクセスが許可された状態を維持せずに禁止するのは、登録されていないユーザによるアクセスを防止するためである。   Subsequently, the CPU 310 turns off the FET switch 334 (step S840). Thereafter, the CPU 310 turns off the red LED 43 3 seconds after the start of step S830, and ends the fingerprint authentication process. The reason for prohibiting the access to the HDD 340 without maintaining the permitted state is to prevent access by unregistered users.

一方、認証に失敗した場合(ステップS720、NO)、CPU310は、赤色LED43を点滅させる(ステップS800)。この点滅は、CPU310に申請情報を再取得させることをユーザに促すために、タクトスイッチ428がOFFになるまで行われる。続いてCPU310は、3回、認証に失敗したかを判定する(ステップS810)。失敗が1回または2回の場合(ステップS810、NO)、CPU310は、ステップS710を再度、実行する。   On the other hand, when the authentication fails (step S720, NO), the CPU 310 causes the red LED 43 to blink (step S800). This blinking is performed until the tact switch 428 is turned off in order to prompt the user to re-acquire the application information by the CPU 310. Subsequently, the CPU 310 determines whether the authentication has failed three times (step S810). If the failure is once or twice (step S810, NO), the CPU 310 executes step S710 again.

失敗が3回の場合(ステップS810、YES)、CPU310は、3回分の申請情報をフラッシュメモリ320に記憶させる(ステップS820)。認証に失敗した申請情報を記憶する目的は、不正アクセスに関する証拠の保存である。不正アクセスとは、登録ユーザでないにも関わらず、HDD340へのアクセスを試みることである。申請情報を保存すれば、不正アクセスをした人物を特定できる可能性がある。次にCPU310は、先述したステップS830を実行する。続いてCPU310の認証失敗終了指示部318は、FETスイッチ334をOFFにする(ステップS840)。その後、CPU310は、指紋認証処理を終了する。   When there are three failures (step S810, YES), the CPU 310 stores the application information for three times in the flash memory 320 (step S820). The purpose of storing application information that has failed authentication is to store evidence of unauthorized access. Unauthorized access is an attempt to access the HDD 340 even if the user is not a registered user. If the application information is saved, there is a possibility that a person who has made unauthorized access can be identified. Next, the CPU 310 executes step S830 described above. Subsequently, the authentication failure end instruction unit 318 of the CPU 310 turns off the FET switch 334 (step S840). Thereafter, the CPU 310 ends the fingerprint authentication process.

なお、本実施形態の指紋認証処理においては、赤色LED43と緑色LED44とを同時には点灯または点滅させない。よって、上記ステップS740を実行する際に赤色LED43が点滅している場合、CPU310は、赤色LED43を消灯させる。上記ステップS830を実行する際に緑色LED44が点灯している場合、CPU310は、緑色LED44を消灯させる。   In the fingerprint authentication process of the present embodiment, the red LED 43 and the green LED 44 are not turned on or blinked simultaneously. Therefore, when the red LED 43 is blinking when the step S740 is executed, the CPU 310 turns off the red LED 43. If the green LED 44 is lit when executing step S830, the CPU 310 turns off the green LED 44.

指紋認証処理およびスピンアップ開始制御処理は、並列的に実行される。よって、スピンアップ開始制御処理の実行中に、指紋認証処理によってFETスイッチ334がOFFになる場合が考えられる。この場合、スピンアップは不要なので、CPU310はスピンアップ開始制御処理を直ぐに終了する。スピンアップが不要なのは、指紋認証処理によってFETスイッチ334がOFFになる場合は、先述した通りHDD340へのアクセスが禁止されているからである。   The fingerprint authentication process and the spin-up start control process are executed in parallel. Therefore, it can be considered that the FET switch 334 is turned off by the fingerprint authentication process during the execution of the spin-up start control process. In this case, since spin-up is unnecessary, the CPU 310 ends the spin-up start control process immediately. The reason why the spin-up is unnecessary is that access to the HDD 340 is prohibited as described above when the FET switch 334 is turned off by the fingerprint authentication process.

図6は、電力分配処理を示すフローチャートである。電力分配処理は、外部記憶装置20がコンピュータ10に接続されている間、CPU310によって繰り返し実行される。CPU310は、電力分配処理を開始すると、コンピュータ10からの給電が不足しているかを判定する(ステップS910)。「給電が不足している」とは、供給される電力が、外部記憶装置20によって消費される電力よりも小さいことを意味する。   FIG. 6 is a flowchart showing the power distribution process. The power distribution process is repeatedly executed by the CPU 310 while the external storage device 20 is connected to the computer 10. When starting the power distribution process, the CPU 310 determines whether the power supply from the computer 10 is insufficient (step S910). “Insufficient power supply” means that the supplied power is smaller than the power consumed by the external storage device 20.

給電が不足している場合(ステップS910、YES)、CPU310の電力補助指示部315は、FETスイッチ334をONにする(ステップS920)。FETスイッチ334がONになると、二次電池332に残容量があれば、二次電池332から駆動部342へ給電される。この給電によって、コンピュータ10からの給電による電圧が昇圧されることによって、不足分の電力の少なくとも一部が補填される。   When the power supply is insufficient (step S910, YES), the power auxiliary instruction unit 315 of the CPU 310 turns on the FET switch 334 (step S920). When the FET switch 334 is turned on, power is supplied from the secondary battery 332 to the drive unit 342 if the secondary battery 332 has a remaining capacity. By this power supply, the voltage generated by the power supply from the computer 10 is boosted, so that at least a part of the insufficient power is compensated.

続いてCPU310は、赤色LED43を点滅させ(ステップS930)、ステップS910に戻る。赤色LED43を点滅させるのは、給電が不足していることをユーザに通知するためである。   Then, CPU310 blinks red LED43 (step S930), and returns to step S910. The reason why the red LED 43 blinks is to notify the user that power supply is insufficient.

給電が不足していない場合(ステップS910、NO)、CPU310は、FETスイッチ334をOFFにする(ステップS940)。次にCPU310は、緑色LED44を点灯させる(ステップS950)。緑色LED44を点灯させるのは、給電が不足していないことをユーザに通知するためである。   When power supply is not insufficient (step S910, NO), the CPU 310 turns off the FET switch 334 (step S940). Next, the CPU 310 turns on the green LED 44 (step S950). The reason why the green LED 44 is lit is to notify the user that power supply is not insufficient.

続いてCPU310は、二次電池332が満充電かを判定する(ステップS960)。満充電でない場合(ステップS960、NO)、CPU310の充電部316は、コンピュータ10からの給電を利用して二次電池332への充電を開始する。また、充電中である場合には充電を継続し(ステップS970)、ステップS910に戻る。満充電である場合(ステップS960、YES)、CPU310は、充電を行わず、ステップS910に戻る。   Subsequently, CPU 310 determines whether secondary battery 332 is fully charged (step S960). When the battery is not fully charged (step S960, NO), the charging unit 316 of the CPU 310 starts charging the secondary battery 332 using the power supply from the computer 10. If charging is in progress, charging is continued (step S970), and the process returns to step S910. If the battery is fully charged (step S960, YES), CPU 310 does not charge and returns to step S910.

上記の通り電力分配処理の実行によって、二次電池332による電力補助や、二次電池332の充電を、コンピュータ10からの給電の過不足に応じて実行できる。特に、コンピュータ10がタブレット型などの場合、USBポート110への給電が不足することが比較的多いので、電力の補助は効果的である。   By executing the power distribution process as described above, the power supplement by the secondary battery 332 and the charging of the secondary battery 332 can be executed according to the excess or deficiency of the power supply from the computer 10. In particular, when the computer 10 is of a tablet type or the like, power supply to the USB port 110 is relatively insufficient, so that power assistance is effective.

本発明は、上述の実施形態や実施例、変形例に限られるものではなく、その趣旨を逸脱しない範囲において種々の構成で実現できる。例えば、発明の概要の欄に記載した各形態中の技術的特徴に対応する実施形態、実施例、変形例中の技術的特徴は、上述の課題の一部又は全部を解決するために、或いは、上述の効果の一部又は全部を達成するために、適宜、差し替えや、組み合わせを行うことができる。その技術的特徴が本明細書中に必須なものとして説明されていなければ、適宜、削除することできる。   The present invention is not limited to the above-described embodiments, examples, and modifications, and can be realized with various configurations without departing from the spirit of the present invention. For example, the technical features in the embodiments, examples, and modifications corresponding to the technical features in each form described in the summary section of the invention are to solve some or all of the above-described problems, or In order to achieve part or all of the above-described effects, replacement or combination can be performed as appropriate. If the technical feature is not described as essential in the present specification, it can be deleted as appropriate.

例えば、以下のものが考えられる。
(a)スピンアップを開始する契機は、外部記憶装置がコンピュータに接続されることが予想される現象であればよい。例えば以下のものが挙げられる。
(a−1)ユーザがコネクタを持ったことの検出を契機に、スピンアップを開始してもよい。ユーザがコネクタを持ったことの検出は、コネクタに所定値以上の加速度が生じたことに基づいてもよいし、人感センサに基づいてもよい。これらの検出は、コネクタにセンサを設けることによって実現してもよい。
(a−2)記憶装置本体とコネクタとが互いに異なる姿勢になったことを検出したことを契機にスピンアップを開始してもよい。姿勢の検出は、姿勢センサに基づいてもよい。
(a−3)外部記憶装置がコンピュータに接近したことを検出したことを契機に、スピンアップを開始してもよい。上記接近の検出は、例えば、コンピュータが発生する電波を利用してもよい。この手法によれば、コンピュータと外部記憶装置とが無線接続を行う形態にも本願の発明を適用できる。
For example, the following can be considered.
(A) The trigger for starting the spin-up may be a phenomenon that the external storage device is expected to be connected to the computer. For example, the following are mentioned.
(A-1) Spin-up may be started upon detection that the user has a connector. The detection that the user has the connector may be based on an acceleration of a predetermined value or more generated in the connector, or may be based on a human sensor. These detections may be realized by providing a sensor on the connector.
(A-2) The spin-up may be started when it is detected that the storage device body and the connector are in different postures. The posture detection may be based on a posture sensor.
(A-3) Spin-up may be started upon detection that the external storage device has approached the computer. For the detection of the approach, for example, radio waves generated by a computer may be used. According to this technique, the invention of the present application can be applied to a form in which a computer and an external storage device are wirelessly connected.

(b)ユーザがスピンアップを外部記憶装置に指示する方法に関して、例えば以下のものが挙げられる。
(b−1)タクトスイッチでなくても、レバーを利用したスイッチ等でもよい。
(b−2)スイッチを設置する部位は、記憶装置本体でも、ケーブル本体でもよい。
(b−3)音声入力によって上記指示を実行してもよい。音声入力によれば、音声認識によるユーザ認証ができる点において好ましい。
(b−4)指紋認証の開始を、スピンアップ開始の指示として採用してもよい。このようにすればユーザによるスイッチ操作が不要になる。この形態を実現するために、指紋読取部に対する指の接触を契機として、指紋認証を開始する構成を採用してもよい。
(b−5)スイッチは1つに限定されない。例えばUSBコネクタの両端に押しボタンスイッチを1つずつ設け、この2つの押しボタンスイッチが同時に押されたことを検出した場合にスピンアップする構成であってもよい。或いは、スイッチの一方がコネクタ部にあり、他方を記憶装置本体に設け、同時に操作された場合にスピンアップする構成であってもよい。
(B) With respect to the method of instructing the external storage device by the user to spin up, for example, the following can be cited.
(B-1) Instead of a tact switch, a switch using a lever may be used.
(B-2) The part where the switch is installed may be the storage device body or the cable body.
(B-3) The above instruction may be executed by voice input. Voice input is preferable in that user authentication can be performed by voice recognition.
(B-4) The start of fingerprint authentication may be adopted as an instruction to start spin-up. In this way, the switch operation by the user becomes unnecessary. In order to realize this form, a configuration may be adopted in which fingerprint authentication is started when a finger touches the fingerprint reading unit.
(B-5) The number of switches is not limited to one. For example, a configuration may be adopted in which one push button switch is provided at each end of the USB connector, and the spin-up is performed when it is detected that the two push button switches are simultaneously pressed. Alternatively, a configuration in which one of the switches is in the connector portion and the other is provided in the storage device main body and spins up when operated simultaneously may be employed.

(c)外部記憶装置の電源は、一次電池でもよいし、家庭用コンセント等から供給される商用電源でもよい。
(d)記憶媒体は、HDDでなくても、Blu-ray(登録商標)やDVD(登録商標)等の光ディスクでもよい。
(e)時間差終了指示部は、ディレイスイッチによって実現してもよい。
(f)電力分配処理に相当する処理を、ユーザからの指示を契機に実行してもよい。例えば、ユーザの操作によってタクトスイッチがONになってから所定時間後まで、駆動部に対する電力補助を実行してもよい。
(C) The power source of the external storage device may be a primary battery or a commercial power source supplied from a household outlet.
(D) The storage medium may not be an HDD but may be an optical disc such as Blu-ray (registered trademark) or DVD (registered trademark).
(E) The time difference end instruction unit may be realized by a delay switch.
(F) A process corresponding to the power distribution process may be executed in response to an instruction from the user. For example, power assistance for the drive unit may be executed until a predetermined time after the tact switch is turned ON by a user operation.

(g)指紋認証処理をUSBメモリに適用してもよい。指紋認証機能を備えたUSBメモリは、既知である。既知のものの場合、ユーザは、USBメモリをUSBポートに差し込んだ後に、USBメモリに指紋を読み取らせることが多い。しかし、USBポートに差し込まれたUSBメモリに指紋を読み取らせる動作は、窮屈な場合がある。そこで、本願の指紋認証処理のように、USBポートに差し込む前に指紋を読み取らせれば、ユーザは、上記の窮屈な動作をせずに済む。 (G) Fingerprint authentication processing may be applied to a USB memory. A USB memory with a fingerprint authentication function is known. In the known case, the user often causes the USB memory to read a fingerprint after inserting the USB memory into the USB port. However, there are cases where the operation of causing the USB memory inserted into the USB port to read a fingerprint is cramped. Therefore, if the fingerprint is read before being inserted into the USB port as in the fingerprint authentication process of the present application, the user does not need to perform the above-mentioned cramped operation.

(h)スピンアップが完了したかを判定するために用いるコマンドは、READ SECTORコマンド以外のREAD系コマンド、例えばREAD DMAコマンドでもよい。
(i)スピンアップ開始制御処理と指紋認証処理との少なくとも1つは、ハードウェア制御によって実現されてもよい。
(j)登録ユーザの認証方法は、静脈認証でもよい。
(k)ケーブル本体は、記憶装置本体に直付けされなくてもよい。例えば、TypeAコネクタ(PC間)のボタン押下状態がMini−Bコネクタ(HDD側)のpin5(使用されていないpin)に反映されるUSBケーブルであれば直付けにしなくてもよい。このようなUSBケーブルを用いる場合は、スイッチを操作する前に、ユーザがケーブル本体を記憶装置本体へ装着すればよい。
(H) The command used to determine whether the spin-up has been completed may be a READ command other than the READ SECTOR command, for example, a READ DMA command.
(I) At least one of the spin-up start control process and the fingerprint authentication process may be realized by hardware control.
(J) The authentication method of the registered user may be vein authentication.
(K) The cable body may not be directly attached to the storage device body. For example, it is not necessary to directly attach the USB cable as long as the button pressing state of the Type A connector (between PCs) is reflected on pin 5 (pin not used) of the Mini-B connector (HDD side). When such a USB cable is used, the user may attach the cable body to the storage device body before operating the switch.

(l)スピンアップ開始制御処理のステップS635,S670において10秒と設定された判定基準時間は、変更されてもよい。
(l−1)実施形態の場合は2.5インチタイプのHDDを採用したので、通常、2〜5秒でスピンアップが完了する。そこで、判定基準時間を10秒に設定した。ただし10秒でなくても、例えば8秒、或いは12秒などに設定してもよい。
(l−2)3.5インチタイプのHDDを採用する場合、通常、15〜30秒でスピンアップが完了する。よって、判定基準時間を例えば40秒に設定してもよい。
(l−3)通常であればスピンアップが完了する時間(標準スピンアップ時間)を推測し、その推測時間に基づき判定基準時間を切り替えてもよい。例えば、次の手法による標準スピンアップ時間の推測を、スピンアップ開始制御処理のステップS635の直前に実行してもよい。
(l−3−1)インチタイプを識別するためのデータをHDD内の固定領域内に格納しておき、このデータに基づき標準スピンアップ時間を推測してもよい。
(l−3−2)スピンアップ時間に差異が生じ得る特性(インチタイプ等)の違いをUSBのPIDにおいてコード化し、このコードに基づき標準スピンアップ時間を推測してもよい。
(l−3−3)標準スピンアップ時間を、インターネット上のサーバより入手できる情報に基づき推測してもよい。この情報は、例えば、製品型番等に基づき取得できるように、サーバに記憶されてもよい。
(L) The determination reference time set to 10 seconds in steps S635 and S670 of the spin-up start control process may be changed.
(L-1) In the case of the embodiment, since the 2.5-inch type HDD is adopted, the spin-up is usually completed in 2 to 5 seconds. Therefore, the judgment reference time is set to 10 seconds. However, it may be set to, for example, 8 seconds or 12 seconds instead of 10 seconds.
(L-2) When a 3.5-inch type HDD is employed, spin-up is usually completed in 15 to 30 seconds. Therefore, the determination reference time may be set to 40 seconds, for example.
(L-3) If normal, the time for completing spin-up (standard spin-up time) may be estimated, and the determination reference time may be switched based on the estimated time. For example, the standard spin-up time estimation by the following method may be executed immediately before step S635 of the spin-up start control process.
(L-3-1) Data for identifying the inch type may be stored in a fixed area in the HDD, and the standard spin-up time may be estimated based on this data.
(L-3-2) A difference in characteristics (such as an inch type) that may cause a difference in spin-up time may be encoded in the USB PID, and the standard spin-up time may be estimated based on this code.
(L-3-3) The standard spin-up time may be estimated based on information available from a server on the Internet. This information may be stored in the server so that it can be acquired based on, for example, a product model number.

10…コンピュータ
20…外部記憶装置
30…記憶装置本体
40…USBケーブル
41…ケーブル本体
42…コネクタ
43…赤色LED
44…緑色LED
50…指
110…USBポート
310…CPU
311…開始指示部
312…時間差終了指示部
313…被給電時終了指示部
314…タイムアップ終了指示部
315…電力補助指示部
316…充電部
317…認証部
318…認証失敗終了指示部
320…フラッシュメモリ
330…給電部
332…二次電池
334…FETスイッチ
340…HDD
342…駆動部
344…記憶媒体
422…筐体
424…基板
426…指紋読取部
428…タクトスイッチ
429…フレキシブルケーブル
DESCRIPTION OF SYMBOLS 10 ... Computer 20 ... External storage device 30 ... Storage device main body 40 ... USB cable 41 ... Cable main body 42 ... Connector 43 ... Red LED
44 ... Green LED
50 ... Finger 110 ... USB port 310 ... CPU
311 ... Start instruction section 312 ... Time difference end instruction section 313 ... Power supply end instruction section 314 ... Time-up end instruction section 315 ... Power auxiliary instruction section 316 ... Charging section 317 ... Authentication section 318 ... Authentication failure end instruction section 320 ... Flash Memory 330 ... Power feeding unit 332 ... Secondary battery 334 ... FET switch 340 ... HDD
342 ... Drive unit 344 ... Storage medium 422 ... Case 424 ... Substrate 426 ... Fingerprint reading unit 428 ... Tact switch 429 ... Flexible cable

Claims (11)

回転する記憶媒体に情報を記憶する外部記憶装置であって、
前記記憶媒体を回転させる駆動部に給電する給電部と、
当該外部記憶装置がコンピュータに接続されることを予想した場合、前記給電部に前記給電の開始を指示する開始指示部と
を備え
前記開始指示部は、給電の指示をユーザから受けた場合に、当該外部記憶装置がコンピュータに接続されると予想し、
前記コンピュータとの接続は、ケーブルが用いられ、
前記ユーザからの指示は、前記ケーブルに設けられたスイッチを通じて入力される
外部記憶装置。
An external storage device that stores information in a rotating storage medium,
A power supply unit that supplies power to a drive unit that rotates the storage medium;
A start instruction unit for instructing the power supply unit to start the power supply when the external storage device is expected to be connected to a computer ;
The start instructing unit predicts that the external storage device is connected to a computer when receiving a power supply instruction from a user ,
A cable is used for connection with the computer,
An external storage device in which an instruction from the user is input through a switch provided on the cable.
請求項に記載の外部記憶装置であって、
前記開始指示部は、前記スイッチに対して所定の力が作用している間は、前記給電の指示が継続していると判断すると共に、前記所定の力が作用しなくなったことを契機に、前記給電の終了をユーザから指示されたと判断し、
前記所定の力が作用しなくなってから所定時間が経過すると、前記給電部に前記給電の終了を指示する時間差終了指示部を備える
外部記憶装置。
The external storage device according to claim 1 ,
The start instructing unit determines that the power supply instruction continues while a predetermined force is applied to the switch, and triggered by the predetermined force no longer being applied. It is determined that the end of the power supply is instructed by the user,
An external storage device comprising a time difference end instruction unit that instructs the power supply unit to end the power supply when a predetermined time has elapsed after the predetermined force no longer acts.
請求項から請求項の何れか1つに記載の外部記憶装置であって、
前記ユーザからの給電の指示に基づき、そのユーザが当該外部記憶装置の使用を許可されたユーザであることを認証する認証部と、
前記認証に失敗した場合、前記給電部に前記給電の終了を指示する認証失敗終了指示部と
を備える外部記憶装置。
An external storage device according to any one of claims 1 to 2 ,
An authentication unit that authenticates that the user is a user permitted to use the external storage device, based on a power supply instruction from the user;
An external storage device comprising: an authentication failure end instruction unit that instructs the power supply unit to end the power supply when the authentication fails.
回転する記憶媒体に情報を記憶する外部記憶装置であって、  An external storage device that stores information in a rotating storage medium,
前記記憶媒体を回転させる駆動部に給電する給電部と、  A power supply unit that supplies power to a drive unit that rotates the storage medium;
ユーザから給電の指示を受けた場合に、前記給電部に前記給電の開始を指示する開始指示部と、  A start instruction unit for instructing the power supply unit to start the power supply when receiving a power supply instruction from a user;
前記ユーザからの給電の指示に基づき、そのユーザが当該外部記憶装置の使用を許可されたユーザであることを認証する認証部と、  An authentication unit that authenticates that the user is a user permitted to use the external storage device, based on a power supply instruction from the user;
前記認証に失敗した場合、前記給電部に前記給電の終了を指示する認証失敗終了指示部と  If the authentication fails, an authentication failure end instruction unit that instructs the power supply unit to end the power supply;
を備える外部記憶装置。  An external storage device.
請求項1から請求項の何れか1つに記載の外部記憶装置であって、
外部から給電を受けている場合、前記給電部に前記給電の終了を指示する被給電時終了指示部を備える
外部記憶装置。
An external storage device according to any one of claims 1 to 4 ,
An external storage device comprising: a power supply end instruction unit that instructs the power supply unit to end the power supply when receiving power from outside.
請求項1から請求項の何れか1つに記載の外部記憶装置であって、
前記給電が開始されてから所定時間が経過した場合、前記給電部に前記給電の終了を指示するタイムアップ終了指示部を備える
外部記憶装置。
An external storage device according to any one of claims 1 to 5 ,
An external storage device comprising a time-up end instruction unit that instructs the power supply unit to end the power supply when a predetermined time has elapsed since the start of the power supply.
請求項1から請求項の何れか1つに記載の外部記憶装置であって、
外部から給電を受けている場合、その給電によって前記駆動部による消費電力が賄えないとき、前記駆動部に対する給電を前記給電部に指示する電力補助指示部を備える
外部記憶装置。
The external storage device according to any one of claims 1 to 6 ,
An external storage device comprising a power auxiliary instruction unit that instructs the power supply unit to supply power to the drive unit when the power consumption by the drive unit cannot be covered by the power supply when the power supply is received from the outside.
請求項1から請求項の何れか1つに記載の外部記憶装置であって、
前記給電部は、二次電池を電源として前記給電を行う
外部記憶装置。
An external storage device according to any one of claims 1 to 7 ,
The power supply unit is an external storage device that performs the power supply using a secondary battery as a power source.
請求項に記載の外部記憶装置であって、
外部から当該外部記憶装置に対して供給される電力が、当該外部記憶装置による消費電力を上回る場合、前記供給される電力によって前記二次電池を充電する充電部
を備える外部記憶装置。
The external storage device according to claim 8 ,
An external storage device comprising: a charging unit that charges the secondary battery with the supplied power when power supplied from the outside to the external storage device exceeds power consumption by the external storage device.
駆動部によって回転する記憶媒体に情報を記憶する外部記憶装置が実行する方法であって、
当該外部記憶装置コンピュータとの接続に用いられるケーブル設けられたスイッチを通じて、前記駆動部に給電する指示が入力されると、前記駆動部への給電を開始する方法。
A method executed by an external storage device that stores information in a storage medium rotated by a drive unit ,
A method of starting power supply to the drive unit when an instruction to supply power to the drive unit is input through a switch provided in a cable used for connection between the external storage device and the computer.
駆動部によって回転する記憶媒体に情報を記憶する外部記憶装置が実行する方法であって、
当該外部記憶装置に、前記駆動部に給電する指示がユーザから入力されると、前記駆動部への給電を開始し、
前記ユーザからの給電の指示に基づき、そのユーザが当該外部記憶装置の使用を許可されたユーザであることを認証し、
前記認証に失敗した場合、前記給電を終了する方法。
A method executed by an external storage device that stores information in a storage medium rotated by a drive unit ,
When an instruction to supply power to the drive unit is input from the user to the external storage device , power supply to the drive unit is started .
Based on the power supply instruction from the user, authenticate that the user is authorized to use the external storage device,
A method of terminating the power supply when the authentication fails .
JP2012249052A 2012-11-13 2012-11-13 External storage device and method for starting external storage device Active JP6007736B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012249052A JP6007736B2 (en) 2012-11-13 2012-11-13 External storage device and method for starting external storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012249052A JP6007736B2 (en) 2012-11-13 2012-11-13 External storage device and method for starting external storage device

Publications (2)

Publication Number Publication Date
JP2014098950A JP2014098950A (en) 2014-05-29
JP6007736B2 true JP6007736B2 (en) 2016-10-12

Family

ID=50940939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012249052A Active JP6007736B2 (en) 2012-11-13 2012-11-13 External storage device and method for starting external storage device

Country Status (1)

Country Link
JP (1) JP6007736B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6464874B2 (en) * 2015-03-27 2019-02-06 富士通株式会社 Storage control device, storage device, and storage control program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3000284U (en) * 1994-01-19 1994-08-02 有限会社ユーテック Headphone plug with power switch
JP2000315120A (en) * 1999-05-06 2000-11-14 Canon Inc Information processor, information processing method, and storage medium stored with information processing program
JP2002049444A (en) * 2000-08-04 2002-02-15 Sony Corp Information processor
JP3592216B2 (en) * 2000-08-25 2004-11-24 シャープ株式会社 Printer system and printer device
JP2004133542A (en) * 2002-10-08 2004-04-30 Sharp Corp Information processor
JP4099579B2 (en) * 2003-01-08 2008-06-11 ソニー株式会社 Hard disk system
JPWO2007023613A1 (en) * 2005-08-24 2009-02-26 コニカミノルタオプト株式会社 Storage equipment

Also Published As

Publication number Publication date
JP2014098950A (en) 2014-05-29

Similar Documents

Publication Publication Date Title
US8223262B2 (en) Charging and use scheme for a hand-held electronics device
US9330520B2 (en) Detection and management of portable electronic devices in secure compartments of charging stations
JP7410233B2 (en) Electronic equipment and control method
JP2016537749A (en) Power management for accessory devices
US9389667B2 (en) Shortening resume time from a power-saving state
US20170185782A1 (en) Electronic apparatus, method and storage medium
US20130124879A1 (en) Controlling data reading mode of memory
JP2006048673A (en) Storing structure within an electronic device
US8516510B2 (en) Information processing apparatus and drive control method
CN105229555A (en) The operation of mass-memory unit
JP6007736B2 (en) External storage device and method for starting external storage device
JP2012099058A (en) Information processing device, method and program
TW201117008A (en) Electronic equipment and boot method, storage medium thereof
TWI297115B (en) Portable device and method for setting a hardware identity code corresponding to the portable device
TWI489296B (en) Computer
US20100281184A1 (en) Mouse with expandable memory capacity and an operating method thereof
EP2521039B1 (en) Optical disc drive with USB interface
KR101019651B1 (en) External storage device and its control method
KR20200015979A (en) Electronic device and method displaying affordance for providing charge of battery of external device through display
WO2011004444A1 (en) Device, and mounting device thereof
US20120084576A1 (en) Information processing apparatus and power supply control method
CN113900154A (en) Electronic device and control method
JP2005050194A (en) Electronic device and optical disk device
JP2006109158A (en) Electronic device, electronic device system, and audio reproduction system
TW201308060A (en) Multi-system electronic device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160726

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160816

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160829

R150 Certificate of patent or registration of utility model

Ref document number: 6007736

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250