A method and system for ssd firmware to access nandflash

A firmware and process technology, applied in the field of computer storage, can solve the problems of insufficient access to NandFlash, insufficient CPU utilization, SSD firmware, etc., and achieve the effect of improving utilization

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

AI Technical Summary

Problems solved by technology

[0006] This application provides a method and system for accessing NandFlash by SSD firmware to solve the problems of insufficient CPU utilization and insufficient efficiency of SSD firmware accessing NandFlash in the prior art

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
  • A method and system for ssd firmware to access nandflash
  • A method and system for ssd firmware to access nandflash

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] see figure 1 , figure 1 This is a schematic flowchart of a method for accessing NandFlash by SSD firmware according to an embodiment of the present application. Depend on figure 1 It can be seen that the method for accessing NandFlash by the SSD firmware in this embodiment mainly includes the following processes:

[0056] S1: Initialize multiple command state structures that can be executed in parallel, where any command state structure matches an asynchronous state machine.

[0057] The SSD firmware is the controller program inside the SSD. The SSD firmware includes multiple modules with different functions, such as control manager, admin manager, and data manager. The communication mechanism of the main control chip in the SSD is IPC. The communication between the internal modules and the NandFlash is realized through IPC. From the software level, all the modules inside the SSD are a node, including some hardware units, such as DMA. From the software level, it is ...

Embodiment 2

[0097] exist figure 1 On the basis of the embodiment shown, see figure 2 , figure 2 This is a schematic structural diagram of a system for accessing NandFlash by SSD firmware according to an embodiment of the present application. Depend on figure 2 It can be known that the system in this embodiment mainly includes five parts: an initialization module, an application module, a storage module, a jump module and a processing module. The initialization module is used to initialize multiple command state structures that can be executed in parallel, and any command state structure matches an asynchronous state machine. The asynchronous state machine is used to represent the state of the module in the process. The process is the process of accessing NandFlash by the module, and the start time of the process is to start applying for the command state structure pointer, and the termination time of the process is to release the command state structure pointer. The application mod...

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 and system for accessing NandFlash by SSD firmware, initializing multiple command state structures that can be executed in parallel, and any command state structure matches an asynchronous state machine; applying for any command state structure; using The context mechanism stores the state of any module in the current process; after executing the state in the current process, it jumps out of the asynchronous state machine; by polling the IPC feedback information returned by NandFlash, the asynchronous state machine is processed in sequence. The system includes an initialization module, an application module, a storage module, a jump module and a processing module. Through the present application, it is possible to make full use of CPU resources while ensuring that different modules on the same CPU can operate NandFlash resources without deadlock, thereby greatly improving CPU utilization and the efficiency of SSD firmware accessing NandFlash.

Description

technical field [0001] The present application relates to the technical field of computer storage, and in particular, to a method and system for accessing NandFlash by SSD (Solid State Disk, solid-state electronic storage array hard disk) firmware. Background technique [0002] SSD is a common storage device in the field of computer storage, which uses flash memory particles for data storage. Due to the complex functions of the SSD firmware inside the SSD, an SSD firmware is usually divided into multiple modules according to different functions. Since the number of CPUs in the main control chip of the SSD is limited and the functional modules of the SSD firmware are many, how the SSD firmware accesses NandFlash is an important issue. [0003] The method of early SSD firmware accessing NandFlash is: without classifying the functions of the modules, according to the number of modules that each CPU can store, directly store modules with different functions on the same CPU at r...

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): G06F3/06G06F9/50G06F9/54
CPCG06F3/0617G06F3/0632G06F3/0688G06F9/5027G06F9/54
Inventor 赵昌磊
Owner SUZHOU METABRAIN INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products