Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, system, device and storage medium for reading log during operation of solid state disk

A technology of solid-state hard drives and storage media, applied in hardware monitoring, instruments, error detection/correction, etc., can solve problems such as single acquisition method and inability to obtain runtime logs, and achieve the effect of weakening dependence

Active Publication Date: 2022-07-22
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Existing runtime logs can only be obtained by relying on the NVMe channel (NVMe, Non-Volatile Memory express). The host sends a command to obtain the runtime log, and the solid-state drive returns the runtime log, but the NVMe channel depends on the NVMe driver and PCIe channel of the host. (PCIe, peripheral component interconnect express, peripheral device interconnect bus) normal operation, the acquisition method is too simple, once NVMe fails, even if the host and solid-state disk are normal, the runtime log will not be obtained

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, system, device and storage medium for reading log during operation of solid state disk
  • Method, system, device and storage medium for reading log during operation of solid state disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0044] The embodiment of the present invention discloses a method for reading a solid-state hard disk runtime log, see figure 1 As shown, the method includes:

[0045] S11: According to the query command sent by the reading device through the PCIe channel, assign the size of the runtime log to the data register, so that the reading device can read the size of the runtime log through the data register, and generate a corresponding read...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a method, system, device and computer-readable storage medium for reading a runtime log of a solid-state hard disk, comprising: assigning the size of the runtime log to a data register according to a query instruction sent by a reading device through a PCIe channel; According to the read command sent by the read device through the PCIe channel, the sub-runtime log in the runtime log corresponding to the read command is assigned to the data register for the read device to read through the PCIe channel; this application reads the device Establish a connection with the SSD through the PCIe channel, read the device to send the corresponding message, and assign values ​​to the pre-allocated registers in the SSD, so that the SSD can obtain instructions and assign the runtime log to the data register accordingly. The reading device obtains the runtime log through the data register, which reduces the dependence on the host, can communicate with the host through the in-band PCIe channel, and can directly communicate with the substrate through the out-band PCIe channel, which improves reliability.

Description

technical field [0001] The present invention relates to the technical field of solid-state hard disks, and in particular, to a method, system, device and computer-readable storage medium for reading a solid-state hard disk runtime log. Background technique [0002] The Running Time Log (RTLOG) records the running footprint of the SSD in the past period of time. It is a commonly used debugging method for SSD development engineers and on-site support engineers. However, in actual use, it is found that the existing There are many deficiencies in the operation log of the SSD. [0003] The existing runtime logs can only be obtained by relying on the NVMe channel (NVMe, Non-Volatile Memory express). The host sends the command to obtain the runtime log, and the SSD returns the runtime log, but the NVMe channel depends on the host's NVMe driver and PCIe channel. The normal operation of (PCIe, peripheral component interconnect express, peripheral device interconnect bus) is too simp...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/30G06F13/40
CPCG06F11/3037G06F11/3065G06F13/4022G06F2213/0026
Inventor 刘筱君
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD