# US 2020/0402604 A1 · Apparatus and Method for Testing Storage Device in Power Interruptions

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

- Number: US 2020/0402604 A1
- Document ID: US20200402604A1
- Status: Published application
- Kind: A1
- Application number: 17/012,368
- Filed: 2020-09-04
- Published: 2020-12-24
- Earliest claimed: 2019-03-06
- Assignees: Goke Taiwan Research Laboratory Ltd.; Xinsheng Intelligent Technology Co., Ltd.
- Applicants: Goke Taiwan Research Laboratory Ltd.; Xinsheng Intelligent Technology Co., Ltd.
- Inventors: Po-Chien Chang; Ru-Yi Yang; Po-Wen Hsieh
- Web page: https://patentgrep.com/patent/US20200402604A1

## CPC

- G11C 29/021: {in voltage or current generators}
- G11C 29/12: Built-in arrangements for testing, e.g. built-in self testing [BIST] {or interconnection details}
- G11C 29/12005: {comprising voltage or current generators}
- G11C 29/38: Response verification devices
- G06F 1/30: Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations (for resetting only G06F1/24)
- G06F 11/261: {by simulating additional hardware, e.g. fault simulation}
- G11C 5/148: {Details of power up or power down circuits, standby circuits or recovery circuits}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A programmable testing apparatus imposes power interruptions on a storage device at any given point of time under at least one workload according to at least one protocol for tests. The programmable testing apparatus includes a controller unit connected to a workload unit, a power control unit, a protocol control unit and a data buffer unit. The controller unit calculates and receives and replies commands in the tests. The workload unit imposes various workloads on the storage device. The power control unit imposes power interruptions on the storage device under control of the controller unit. The protocol control unit provides commands according to the protocol for tests. The data buffer unit stores critical data and information to check whether data stored in the storage device are correct.

## Claims

### Claim 1

A testing method for imposing power interruptions on a storage device at any given point of time under at least one workload according to at least one protocol for tests, the programmable testing apparatus comprising the steps of:
imposing at least one simulated workload on the storage device;
imposing a cycle of at least one power interruption on the storage device;
turning off the storage device;
turning on the storage device again;
determining whether a period for initializing the storage device is normal;
determining the storage device to fail if the period for initializing the storage device is not normal;
determining whether the cycle has been completed if the period for initializing the storage device is normal;
returning to the step of imposing a cycle of at least one power interruption on the storage device if the cycle has not been completed;
determining whether critical data of the storage device are correct if the cycle has been completed;
determining the storage device to fail if the critical data of the storage device are not normal;
determining whether the storage device has fulfilled conditions for tests;
returning to the step of imposing at least one simulated workload on the storage device if the storage device has not fulfilled conditions for tests; and
ending if the storage device has fulfilled the conditions for tests.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the cycle comprises at least one power interruption in execution of a command.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the cycle comprises at least one power interruption in execution of a routine comprising multiple commands.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the cycle comprises at least one power interruption in initialization of the storage device.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the cycle comprises multiple power interruptions in execution of commands and multiple power interruptions in execution of routines each of which comprises multiple commands.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the cycle comprises multiple power interruptions in execution of commands, multiple power interruptions in execution of routines each of which comprises multiple commands, and multiple power interruptions in initialization of the storage device.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the step of imposing a cycle of at least one power interruption on the storage device comprises the step of determining whether to impose a power interruption in initialization of the storage device after imposing power interruptions in execution of commands and routines.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the storage device is an NVMe storage device.
