IP Library Granted Patent US 12699534
Granted Patent B2
US 12699534 · App. 19/469,949 · Granted Aug 4, 2026

Solid state disk reading method and apparatus, device, and readable storage medium

Inventors: Dong Li (Suzhou, CN); Jun Su (Suzhou, CN)
Assignee: SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD.
G06F3/0659G06F3/061G06F3/0679
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 12699534
App. No.
19/469,949
Granted
Aug 4, 2026
Kind
B2
Abstract

The present disclosure provides a solid state disk reading method and apparatus, a device, and a non-volatile readable storage medium. The method comprises: grouping a plurality of logic planes of a logic unit in a solid state disk into a first plane group and a second plane group; assigning a first processing process to the first plane group, and assigning a second processing process to the second plane group; when a first reading request exists in a first message queue of the first processing process and no second reading request exists in a second message queue of the second processing process, sending the first reading request to the solid state disk by means of the first processing process, so as to read data on the solid state disk; and when the first reading request exists in the first message queue of the first processing process and the second reading request exists in the second message queue of the second processing process, sending the first reading request and the second reading request to the solid state disk by means of the first processing process or the second processing process, so as to read the data on the solid state disk.

Claims (60)

1 . A method for reading a solid state disk, comprising:

dividing a plurality of logic planes of a logic unit in the solid state disk into a first plane group and a second plane group;

assigning a first processing process to the first plane group and a second processing process to the second plane group, wherein the first processing process is configured to perform data reading of logic planes in the first plane group, and the second processing process is configured to perform data reading of logic planes in the second plane group;

in response to there being a first read request in a first message queue of the first processing process and no second read request in a second message queue of the second processing process, sending the first read request to the solid state disk through the first processing process to read data on the solid state disk;

in response to there being the first read request in the first message queue of the first processing process and the second read request in the second message queue of the second processing process, sending the first read request and the second read request in parallel to the solid state disk through the first processing process or the second processing process to read the data on the solid state disk.

2 . The method according to claim 1 , wherein before in response to there being the first read request in the first message queue of the first processing process and no second read request in the second message queue of the second processing process, the method further comprises:

reading an existence status parameter of the first read request of the first processing process, and in response to a parameter value of the existence status parameter of the first read request being a first preset value, determining that there is the first read request in the first message queue of the first processing process; and

reading an existence status parameter of the second read request of the second processing process, and in response to a parameter value of the existence status parameter of the second read request being a second preset value, determining that there is no second read request in the second message queue of the second processing process.

3 . The method according to claim 1 , wherein before in response to there being the first read request in the first message queue of the first processing process and the second read request in the second message queue of the second processing process, the method further comprises:

reading an existence status parameter of the first read request of the first processing process, and in response to a parameter value of the existence status parameter of the first read request being a first preset value, determining that there is the first read request in the first message queue of the first processing process; and

reading an existence status parameter of the second read request of the second processing process, and in response to a parameter value of the existence status parameter of the second read request being the first preset value, determining that there is the second read request in the second message queue of the second processing process.

4 . The method according to claim 3 , wherein reading the existence status parameter of the second read request of the second processing process, and in response to the parameter value of the existence status parameter of the second read request being the first preset value, determining that there is the second read request in the second message queue of the second processing process, comprises:

in response to the read existence status parameter of the second read request being a first preset read request sub-parameter, and a parameter value of the first preset read request sub-parameter being the first preset value, determining that there is the second read request in the second message queue of the second processing process;

wherein the parameter value of the first preset read request sub-parameter is the first preset value, indicating that there is the second read request in the second message queue of the second processing process and the second read request has not been retrieved.

5 . The method according to claim 3 , wherein reading the existence status parameter of the second read request of the second processing process, and in response to the parameter value of the existence status parameter of the second read request being the first preset value, determining that there is the second read request in the second message queue of the second processing process, comprises:

in response to the read existence status parameter of the second read request read being a second preset read request sub-parameter, and a parameter value of the second preset read request sub-parameter being the first preset value, determining that there is the second read request in the second message queue of the second processing process;

wherein the parameter value of the second preset read request sub-parameter is the first preset value, indicating that the second read request in the second message queue of the second processing process has been retrieved and has not been executed.

6 . The method according to claim 4 , wherein before sending the first read request and the second read request to the solid state disk through the first processing process or the second processing process, the method further comprises:

setting a parameter value of a third read request status parameter of the first processing process to the first preset value, and setting a delay timer for the first processing process to control the first processing process to stop executing in a processor, wherein the parameter value of the third read request status parameter is the first preset value, indicating that the first read request has been retrieved and has not been executed;

retrieving the second read request from the second message queue of the second processing process through the second processing process, and executing a read message parsing function through the second processing process to obtain read information carried in the second read request;

storing the read information carried in the second read request into a preset data structure, wherein the read information comprises a read address configured to indicate a storage location of data to be read in the solid state disk;

clearing the delay timer of the first processing process through the second processing process to set the first processing process to a ready state, wherein the ready state indicates that the first processing process is in an executable state; and

setting a callback function of the second processing process as a data transmission function, and setting a delay timer for the second processing process to control the second processing process to stop executing in the processor.

7 . The method according to claim 5 , wherein before sending the first read request and the second read request to the solid state disk through the first processing process or the second processing process, the method further comprises:

executing a read message parsing function through the first processing process to obtain read information carried in the first read request;

storing the read information carried in the first read request into a preset data structure through the first processing process, wherein the read information comprises a read address;

setting the second processing process to a ready state through the first processing process; and

setting a callback function of the first processing process as a data transmission function, and setting a delay timer for the first processing process to control the first processing process to stop executing in a processor.

8 . The method according to claim 6 , wherein sending the first read request and the second read request to the solid state disk through the first processing process or the second processing process to read the data on the solid state disk comprises:

sending a read address carried in the first read request to the solid state disk and then sending the read address carried in the second read request in the preset data structure to the solid state disk through the first processing process, wherein the solid state disk is configured to search for target data according to the read addresses; and

setting a callback function of the first processing process as a data transmission function, and respectively executing the data transmission function of the first processing process and the data transmission function of the second processing process to read the target data in the solid state disk.

9 . The method according to claim 7 , wherein sending the first read request and the second read request to the solid state disk through the first processing process or the second processing process to read the data on the solid state disk comprises:

sending the read address carried in the first read request in the preset data structure to the solid state disk and then sending a read address carried in the second read request to the solid state disk through the second processing process, wherein the solid state disk is configured to search for target data according to the read addresses; and

setting a callback function of the second processing process as a data transmission function, and respectively executing the data transmission function of the first processing process and the data transmission function of the second processing process to read the target data in the solid state disk.

10 . The method according to claim 8 , wherein before setting the callback function of the first processing process as the data transmission function, the method further comprises:

setting the callback function of the first processing process as a storage state detection function and executing the storage state detection function; and

in response to an execution result of the storage state detection function being a first state result, continuing to execute the storage state detection function until the execution result of the storage state detection function is a second state result;

wherein the first state result indicates that the solid state disk is still in a data reading state, and the second state result indicates that the solid state disk has completed data reading.

11 . The method according to claim 9 , wherein before setting the callback function of the second processing process as the data transmission function, the method further comprises:

setting the callback function of the second processing process as a storage state detection function and executing the storage state detection function; and

in response to an execution result of the storage state detection function being a first state result, continuing to execute the storage state detection function until the execution result of the storage state detection function is a second state result.

12 . The method according to claim 8 , wherein the read information comprises a voltage parameter; before sending the read address carried in the first read request through the first processing process, the method further comprises:

sending a voltage parameter carried by the first read request and the voltage parameter in the preset data structure to the solid state disk through the first processing process;

wherein the solid state disk is configured to set a read voltage based on the voltage parameter carried by the first read request and the voltage parameter in the preset data structure.

13 . The method according to claim 9 , wherein the read information comprises a voltage parameter; before sending the read address carried in the second read request through the second processing process, the method further comprises:

sending a voltage parameter carried by the second read request and the voltage parameter in the preset data structure to the solid state disk through the second processing process;

wherein the solid state disk is configured to set a read voltage based on the voltage parameter carried by the second read request and the voltage parameter in the preset data structure.

14 . The method according to claim 2 , wherein the first processing process and the second processing process have a plurality of status parameters indicating status of the processing processes, and the existence status parameter of the first read request is configured to indicate whether there is the first read request in the first message queue of the first processing process.

15 . The method according to claim 6 , wherein the data transmission function is configured to obtain the data from the solid state disk.

16 . The method according to claim 12 , wherein after sending the voltage parameter in the preset data structure to the solid state disk, the method further comprises:

reading the read voltage of the solid state disk; and

comparing the read voltage with the voltage parameter carried by the first read request and the voltage parameter in the preset data structure to obtain a comparison result.

17 . The method according to claim 7 , wherein the read message parsing function is configured to parse the first read request to obtain a voltage parameter.

18 . An electronic device, comprising:

a memory, configured to store a computer program; and

a processor, configured to execute the computer program to implement the method according to claim 1 .

19 . A computer non-transitory readable storage medium, configured to store a computer program, wherein when the computer program is executed by a processor, the method according to claim 1 is implemented.

20 . The electronic device according to claim 18 , wherein before in response to there being the first read request in the first message queue of the first processing process and no second read request in the second message queue of the second processing process, the processor is further configured to:

read an existence status parameter of the first read request of the first processing process, and in response to a parameter value of the existence status parameter of the first read request being a first preset value, determine that there is the first read request in the first message queue of the first processing process; and

read an existence status parameter of the second read request of the second processing process, and in response to a parameter value of the existence status parameter of the second read request being a second preset value, determine that there is no second read request in the second message queue of the second processing process.