# US 12,002,494 B2 · Method and device for detecting hard disk connection and disconnection during a computer session

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,002,494 B2
- Document ID: US12002494B2
- Status: Granted
- Kind: B2
- Application number: 17/534,713
- Filed: 2021-11-24
- Published: 2023-02-16
- Granted: 2024-06-04
- Earliest claimed: 2021-08-06
- Assignees: Fulian Precision Electronics (Tianjin) Co., LTD.
- Applicants: Fulian Precision Electronics (Tianjin) Co., LTD.
- Inventors: Hong-Shuang Wu
- Web page: https://patentgrep.com/patent/US12002494B2

## CPC

- G11B 33/128: {of the plurality of recording/reproducing devices, e.g. disk drives, onto a chassis}
- G06F 13/4081: {Live connection to bus, e.g. hot-plugging (current or voltage limitation during live insertion H02H9/004)}
- G11B 33/027: {Covers (G11B33/022 takes precedence; with means for guiding the record carrier G11B17/34)}
- G11B 33/122: {Arrangements for providing electrical connections, e.g. connectors, cables, switches}
- G11B 2220/2516: Hard disks
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A device to detect hot-plugging and hot-unplugging of hard disk and the hard disk type includes a connector and a control circuit. When hot-plugged, the hard disk is coupled to the connector, the control circuit comprises delay circuit and latch circuit. The delay circuit delays a falling edge of the third signal and outputs a delay signal, the latch circuit processes the first and second signals and outputs a logical result as a latch signal. The control circuit determines the connected or disconnected status and type of the hard disk according to the respective levels of the first and second signals, the delay signal, and the latch signal. The delay signal and the latch signal work to correct error of the control circuit in determining connectivity and non-connectivity during a session due to asynchronous changes in signal levels of the first and second signals.

## Claims

### Claim 1

A hard disk detecting device comprising:
a connector electrically coupled to the hard disk; and;
a control circuit electrically coupled to the connector; wherein:
when a first type of the hard disk is connected to the connector, the connector outputs a first signal at low-level, a second signal at the low-level and, a third signal at the low-level,
when a second type of the hard disk is connected to the connector, the connector outputs the first signal at the low-level, the second signal at high-level, and the third signal at the low-level,
when no hard disk is connected to the connector, the connector outputs the first signal at the high-level, the second signal at the high-level, and the third signal at the high-level,
the first signal, the second signal and the third signal are used to represent position status and type of the hard disk,
the control circuit comprises a delay circuit and a latch circuit, the delay circuit is used to delay a falling edge of the third signal and outputs a delay signal, and the latch circuit is used to perform latch logic operation on the first signal and the second signal, and outputs an operation result as a latch signal,
the control circuit is used to determine the position status and the type of the hard disk according to the level states of the first signal, the second signal, the delay signal, and the latch signal, and
the delay signal and the latch signal are used to correct error of the control circuit in determining the position status and the type of the hard disk due to asynchronous change of the first signal and the second signal.

### Claim 2 (depends on 1)

The hard disk detecting device of claim 1, wherein if the level state of the first signal is the same as the level state of the second signal, the level state of the latch signal is the same as the level state of the first signal.

### Claim 3 (depends on 1)

The hard disk detecting device of claim 1, wherein if the level state of the first signal is different from the level state of the second signal, the level state of the latch signal remains unchanged.

### Claim 4 (depends on 1)

The hard disk detecting device of claim 1, wherein:
the control circuit determines the first type of the hard disk according to the first signal at the low-level and the second signal at the low-level; and
the control circuit determines the second type of the hard disk according to the first signal at the low-level, the second signal at the high-level, the delay signal at the low-level and the latch signal at the high-level.

### Claim 5 (depends on 4)

The hard disk detecting device of claim 4, wherein if the control circuit determines the first type of the hard disk is in position status, the control circuit outputs a first position signal at the high-level.

### Claim 6 (depends on 5)

The hard disk detecting device of claim 5, wherein if the control circuit determines the second type of the hard disk is in position status, the control circuit outputs a second position signal at the high-level.

### Claim 7 (depends on 4)

The hard disk detecting device of claim 4, wherein:
the connector is used to output a fourth signal;
when a third type of the hard disk is connected to the connector, the connector outputs a fourth signal at the low level; and
when a fourth type of the hard disk is connected to the connector, the connector outputs the fourth signal at the high-level.

### Claim 8 (depends on 7)

The hard disk detecting device of claim 7, wherein the control circuit is used to determine the position status and the third type of the hard disk or the fourth type of the hard disk according to the level state of the first signal, the second signal, and the fourth signal.

### Claim 9

A hard disk detecting method comprising:
outputting from a connector a first signal at low-level, a second signal at the low-level and, a third signal at the low-level when a first type of the hard disk is connected to the connector;
outputting from the connector the first signal at the low-level, the second signal at high-level, and the third signal at the low-level when a second type of the hard disk is connected to the connector;
outputting from the connector the first signal at the high-level, the second signal at the high-level, and the third signal at the high-level when no hard disk is connected to the connector, wherein the first signal, the second signal and the third signal are used to represent position status and type of the hard disk;
delaying by a control circuit a falling edge of the third signal and outputting a delay signal, and performing latch logic operation on the first signal and the second signal, and outputting an operation result as a latch signal; and
determining by the control circuit the position status and the type of the hard disk according to level states of the first signal, the second signal, the delay signal, and the latch signal, wherein the delay signal and the latch signal are used to correct error of the control circuit in determining the position status and the type of the hard disk due to asynchronous change of the first signal and the second signal.

### Claim 10 (depends on 9)

The hard disk detecting method of claim 9, wherein if the level state of the first signal is the same as the level state of the second signal, the level state of the latch signal is the same as the level state of the first signal.

### Claim 11 (depends on 9)

The hard disk detecting method of claim 9, wherein if the level state of the first signal is different from the level state of the second signal, the level state of the latch signal remains unchanged.

### Claim 12 (depends on 9)

The hard disk detecting method of claim 9, further comprising:
determining the first type of the hard disk according to the first signal at the low-level and the second signal at the low-level; and
determining the second type of the hard disk according to the first signal at the low-level, the second signal at the high-level, the delay signal at the low-level, and the latch signal at the high-level.

### Claim 13 (depends on 12)

The hard disk detecting method of claim 12, further comprising:
outputting a first position signal at the high-level if the control circuit determines the first type of the hard disk is in position status.

### Claim 14 (depends on 13)

The hard disk detecting method of claim 13, further comprising:
outputting a second position signal at the high-level if the control circuit determines the second type of the hard disk is in position status.

### Claim 15 (depends on 14)

The hard disk detecting method of claim 14, wherein when a third type of the hard disk is connected to the connector, the connector outputs a fourth signal at the low level.

### Claim 16 (depends on 15)

The hard disk detecting method of claim 15, wherein when a fourth type of the hard disk is connected to the connector, the connector outputs the fourth signal at the high-level.

### Claim 17 (depends on 16)

The hard disk detecting method of claim 16, further comprising:
determining the position status and the third type of the hard disk or the fourth type of the hard disk according to the level state of the first signal, the second signal, and the fourth signal.
