IP Library › Granted Patent US 11,422,699
Granted Patent B2
US 11,422,699 · App. 16/884,611 · Granted Aug 23, 2022

Storage device and component management method of storage device

Inventors: Chunyi Tan (Chengdu, CN); Buchan Li (Chengdu, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F3/0605G06F3/0629G06F3/0688G06F13/1668
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,422,699
App. No.
16/884,611
Granted
Aug 23, 2022
Kind
B2
Abstract

A method for managing components of a storage device includes: detecting a subscription event indicated in a subscription instruction sent by a host; recording event information of the detected subscription event when the subscription event is detected, and providing a notification to the host, so that the host sends an event information acquisition instruction; and sending the event information to the host according to the event information acquisition instruction.

Claims (49)

1. A component management method implemented by a storage device, the component management method comprising:

receiving, from a host, a subscription instruction indicating a subscription event and a first identifier of a component manager in the storage device;

running the component manager based on the first identifier;

detecting, while running the component manager, that the subscription event has occurred in a component of the storage device;

recording event information of the subscription event;

using at least one of an event status of a swapping event of the component or a timestamp of the swapping event as the event information;

notifying the host that the subscription event has been detected;

receiving, from the host, an event information acquisition instruction; and

sending, to the host according to the event information acquisition instruction, the event information.

2. The component management method of claim 1 , further comprising communicating with the host using a Non-Volatile Memory Express (NVMe) protocol or a protocol that is based on the NVMe protocol and that comprises an instruction of the NVMe protocol.

3. The component management method of claim 2 , further comprising sending, to the host, the first identifier to enable the host to generate a communication queue for the component manager based on the first identifier.

4. The component management method of claim 3 , further comprising communicating with the host through the communication queue by running the component manager.

5. The component management method of claim 1 , wherein the component is a solid-state drive (SSD), and wherein the subscription event is the swapping event.

6. The component management method of claim 5 , further comprising detecting the swapping event when a level signal of a slot of the SSD changes.

7. The component management method of claim 6 , further comprising recording the event information in an event log.

8. A storage device comprising:

a component;

a component manager associated with a first identifier; and

a processor coupled to the component and configured to:

receive, from a host, a subscription instruction indicating a subscription event and the first identifier;

run the component manager based on the first identifier;

detect, while running the component manager, that the subscription event has occurred in the component;

record event information of the subscription event;

use at least one of an event status of a swapping event of the component or a timestamp of We swapping event as the event information;

notify the host that the subscription event has been detected;

receive, from the host, an event information acquisition instruction; and

send, to the host according to the event information acquisition instruction, the event information.

9. The storage device of claim 8 , wherein the processor is further configured to communicate with the host using a Non-Volatile Memory Express (NVMe) protocol or a protocol that is based on the NVMe protocol and that comprises an instruction of the NVMe protocol.

10. The storage device of claim 9 , wherein the storage device is a just a bunch of flash (JBOF) device.

11. The storage device of claim 10 , wherein the processor is further configured to send, to the host, the first identifier to enable the host to generate a communication queue for the component manager based on the first identifier.

12. The storage device of claim 11 , wherein the processor is further configured to communicate with the host through the communication queue by running the component manager.

13. The storage device of claim 8 , wherein the component is a solid-state drive (SSD), and wherein the subscription event is the swapping event.

14. The storage device of claim 13 , wherein the processor is further configured to detect the swapping event when a level signal of a slot of the SSD changes.

15. The storage device of claim 14 , wherein the processor is further configured to record the event information in an event log.

16. A computer program product comprising instructions that are stored on a non-transitory medium and that, when executed by a processor, cause a storage device to:

receive, from a host, a subscription instruction indicating a subscription event and a first identifier of a component manager in the storage device;

run the component manager based on the first identifier;

detect, while running the component manager, that the subscription event has occurred in a component of the storage device;

record event information of the subscription event;

use at least one of an event status of a swapping event of the component or a timestamp of the swapping event as the event information;

notify the host that the subscription event has been detected;

receive, from the host, an event information acquisition instruction; and

send, to the host according to the event information acquisition instruction, the event information.

17. The computer program product of claim 16 , wherein when executed by the processor, the instructions further cause the storage device to communicate with the host using a Non-Volatile Memory Express (NVMe) protocol or a protocol that is based on the NVMe protocol and that comprises an instruction of the NVMe protocol.

18. The computer program product of claim 17 , wherein when executed by the processor, the instructions further cause the storage device to send, to the host, the first identifier to enable the host to generate a communication queue for the component manager based on the first identifier.

19. The computer program product of claim 18 , wherein when executed by the processor, the instructions further cause the storage device to communicate with the host through the communication queue by running the component manager.

20. The computer program product of claim 16 , wherein the component is a solid-state drive (SSD), and wherein the subscription event is the swapping event.

21. The computer program product of claim 20 , wherein when executed by the processor, the instructions further cause the storage device to detect the swapping event when a level signal of a slot of the SSD changes.

22. The computer program product of claim 21 , wherein when executed by the processor, the instructions further cause the storage device to record the event information in an event log.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 4, 2020
From: TAN, CHUNYI; LI, BUCHAN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 053393/0928 →
Priority Claims (1)
CN 201711218681.9 · Nov 28, 2017 · national
Continuity (2)
Continuation PCTCN2018117608 · Nov 27, 2018
Related Publication 20200285395A1 · Sep 10, 2020