Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Active Publication Date: 2019-12-27
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 3 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
  • Method and system for SSD firmware to access NandFlash
  • Method and system for SSD firmware to access NandFlash

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] see figure 1 , figure 1 It is a schematic flowchart of a method for SSD firmware accessing NandFlash provided by the embodiment of the present application. Depend on figure 1 As can be seen, the method for SSD firmware accessing NandFlash in the present 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, and the internal modules The communication, and the communication between the internal module and NandFlash are realized through IPC. From the perspective of software, all the modules inside the SSD are a node, including some hardware units,...

Embodiment 2

[0097] exist figure 1 On the basis of the illustrated embodiment see figure 2 , figure 2 It is a schematic structural diagram of a system for SSD firmware accessing NandFlash provided by the embodiment of the present application. Depend on figure 2 It can be seen 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. Among them, 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 the module accessing the NandFlash, and the start of the process is to start applying for the command state structure pointer, and the end of the process is to release the command state structure pointer. The application module is...

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 invention discloses a method and system for SSD firmware to access NandFlash. The method comprises the steps of initializing a plurality of Command state structural bodies capable of being executed in parallel, wherein any Command state structural body is matched with an asynchronous state machine; applying any common state structural body; storing the state of any module in the current process by using a context mechanism; jumping out of the asynchronous state machine after the state in the current process is executed; and processing the asynchronous state machine according to a sequenceby polling the IPC feedback information returned by the NandFlash. The system comprises an initialization module, an application module, a storage module, a jump module and a processing module. According to the method and the device, the CPU resources can be fully utilized under the condition that different modules on the same CPU can respectively operate the NandFlash resources without generatingdeadlock, so that the utilization rate of the CPU and the NandFlash access efficiency of SSD firmware are greatly improved.

Description

technical field [0001] The present application relates to the technical field of computer storage, 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 SSD main control chip is limited, and the SSD firmware has many functional modules, how the SSD firmware accesses the 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 randomly store modules with different functions on the same CPU. However...

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