Data reading and writing method, NAND controller and computer readable storage medium

By monitoring the busy status of the target logical unit and scheduling read and write commands in the NAND controller, the problem of slow read and write speeds of TLC NAND flash memory is solved, parallel processing of read and write commands is realized, and the performance of the flash memory is improved.

CN114489488BActive Publication Date: 2024-09-03INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111641708.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2024-09-03
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

The read and write speed of TLC NAND flash memory is slow, mainly because data writing requires eight different voltage states, which results in a longer time required to access data and a slower transmission speed.

Method used

By receiving page write commands in the NAND controller and monitoring whether the target logical unit is busy, if busy, it receives read commands from other chips to ensure that the logical units of other chips can process the read commands in parallel when processing the page write commands to implement read and write commands. effective scheduling.

Benefits of technology

It effectively improves the read and write speed of TLC NAND flash memory, and improves the internal resource utilization and performance of the flash memory by processing read and write commands in parallel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114489488B
    Figure CN114489488B
Patent Text Reader

Abstract

The present invention provides a data reading and writing method, a NAND controller and a medium. The method is applied to the NAND controller, comprising: receiving a page write command to be processed by a target logic unit in a target chip, and sending the page write command to the target logic unit so that the target logic unit processes the page write command; the page write command is an LSB page write command, a CSB page write command or an MSB page write command; judging whether the target logic unit enters a busy state; when it is judged that the target logic unit enters a busy state, receiving a read command to be processed by a logic unit in other chips, and sending the read command to a corresponding logic unit so that the logic unit corresponding to the read command processes the read command; the read and write commands can be effectively scheduled to ensure that when the logic unit in the target chip processes the page write command, the logic units in other chips can process the read command in parallel, thereby effectively improving the read and write speed of a TLC NAND flash memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of flash memory, and in particular to a data reading and writing method, a NAND controller and a computer-readable storage medium. Background Art

[0002] TLC NAND flash memory (Triple-Level Cell) is a relatively cheap NAND flash memory. In the related art, since eight different voltage states are required to write data into TLC, and applying different voltage states, especially relatively high voltages, takes a longer time to achieve, it takes a longer time to access data in TLC NAND and the transmission speed is slower.

[0003] Therefore, how to improve the read and write speed of TLC NAND flash memory is a technical problem that technicians in this field need to face. Summary of the invention

[0004] The purpose of the present invention is to provide a data reading and writing method, a NAND controller and a computer-readable storage medium, which can effectively schedule read and write commands to ensure that the TLC NAND flash memory can process page write commands and read commands at the same time, thereby effectively improving the read and write speed of the TLC NAND flash memory.

[0005] In order to solve the above technical problems, the present invention provides a data reading and writing method, which is applied to a NAND controller. The method comprises:

[0006] receiving a page write command to be processed by a target logic unit in a target chip, and sending the page write command to the target logic unit so that the target logic unit processes the page write command; the page write command is an LSB page write command, a CSB page write command, or an MSB page write command;

[0007] Determining whether the target logic unit enters a busy state;

[0008] When it is determined that the target logic unit enters the busy state, a read command to be processed by a logic unit in another chip is received, and the read command is sent to a corresponding logic unit so that the logic unit corresponding to the read command processes the read command.

[0009] Optionally, when the page write command is the MSB page write command, before receiving a read command to be processed by a logic unit in another chip, the method further includes:

[0010] Determining whether other page write commands that need to be processed by the logic unit in the other chip can be received;

[0011] If yes, sending the other page write command to the corresponding logic unit, so that the logic unit corresponding to the other page write command processes the other page write command;

[0012] If not, the process proceeds to the step of receiving a read command to be processed by a logic unit in another chip.

[0013] Optionally, the receiving a page write command to be processed by a target logic unit in a target chip includes:

[0014] receiving a page write command to be processed by a target logic unit in the target chip in a preset processing order;

[0015] Correspondingly, after sending the read command to the corresponding logic unit, the method further includes:

[0016] Determining whether the target logic unit exits the busy state;

[0017] If so, the next page write command to be processed by the target logical unit is received according to the preset processing order, and the step of sending the page write command to the target logical unit is entered.

[0018] Optionally, the target logic unit processes the LSB page write command, the CSB page write command and the MSB page write command in sequence according to the preset processing order.

[0019] Optionally, the receiving a read command to be processed by a logic unit in another chip includes:

[0020] A plurality of read commands to be processed by logic units in the other chips are received.

[0021] Optionally, receiving a page write command to be processed by a target logic unit in a target chip, and sending the page write command to the target logic unit so that the target logic unit processes the page write command, includes:

[0022] The page write command and corresponding data are received, and the page write command and the write data are sent to the target logical unit, so that the target logical unit writes the data according to the page write command.

[0023] The present invention also provides a NAND controller, comprising:

[0024] A first scheduling module is used to receive a page write command to be processed by a target logic unit in a target chip, and send the page write command to the target logic unit so that the target logic unit processes the page write command; the page write command is an LSB page write command, a CSB page write command or an MSB page write command;

[0025] A busy entry judgment module, used to judge whether the target logic unit enters a busy state;

[0026] The second scheduling module is used to receive a read command to be processed by a logic unit in another chip when it is determined that the target logic unit enters the busy state, and send the read command to the corresponding logic unit so that the logic unit corresponding to the read command processes the read command.

[0027] Optionally, the second scheduling module further includes:

[0028] A judgment submodule, used for judging whether other page write commands to be processed by the logic units in the other chips can be received;

[0029] a command sending submodule, configured to send the other page write command to a corresponding logic unit, so that the logic unit corresponding to the other page write command processes the other page write command;

[0030] The command receiving submodule is used to, if not, enter the step of receiving the read command to be processed by the logic unit in other chips.

[0031] Optionally, the first scheduling module includes:

[0032] A receiving submodule, configured to receive, in a preset processing order, a page write command to be processed by a target logic unit in the target chip;

[0033] Correspondingly, it also includes:

[0034] A busy exit judgment module, used for judging whether the target logic unit exits the busy state;

[0035] The command receiving module is used to, if yes, receive the next page write command to be processed by the target logical unit according to the preset processing sequence, and enter the step of sending the page write command to the target logical unit.

[0036] The present invention also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, the data reading and writing method described above is implemented.

[0037] The present invention provides a data reading and writing method, which is applied to a NAND controller. The method comprises: receiving a page write command to be processed by a target logic unit in a target chip, and sending the page write command to the target logic unit so that the target logic unit processes the page write command; the page write command is an LSB page write command, a CSB page write command or an MSB page write command; judging whether the target logic unit enters a busy state; when it is judged that the target logic unit enters the busy state, receiving a read command to be processed by a logic unit in another chip, and sending the read command to a corresponding logic unit so that the logic unit corresponding to the read command processes the read command.

[0038] It can be seen that in the present invention, after sending the page write command to the target logic unit, the NAND controller will actively monitor whether the logic unit is in a busy state. If it is in this state, it will further receive read commands that need to be processed by logic units in other chips. This is because the busy state represents that the target logic unit is already processing the page write command it has received, and it needs to wait for a period of time before processing other commands. At this time, other chips in the flash memory are in an idle state. Therefore, the NAND controller can additionally obtain read commands for logic units in other chips to ensure that when the target logic unit is processing the page write command, the logic units in other chips can process the read command in parallel. In other words, the present invention can effectively schedule the read and write commands to ensure that while the target logic unit in the target chip is processing the page write command, the logic units in other chips can process the read command in parallel, thereby effectively improving the read and write speed of the TLC NAND flash memory. The present invention also provides a NAND controller and a computer-readable storage medium, which have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0040] Figure 1 A flow chart of a data reading and writing method provided by an embodiment of the present invention;

[0041] Figure 2 A schematic diagram of inserting a read / write command during a TLC write operation provided by an embodiment of the present invention;

[0042] Figure 3 A structural block diagram of a NAND controller provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] TLC NAND flash memory (Triple-Level Cell) is a relatively cheap NAND flash memory. In the related art, since eight different voltage states are required to write data into TLC, and applying different voltage states, especially relatively high voltages, takes a longer time to achieve, it takes a longer time to access data in TLC NAND and the transmission speed is slower. In view of this, the present invention provides a data reading and writing method that can effectively schedule read and write commands to ensure that the TLC NAND flash memory can process page write commands and read commands at the same time, thereby effectively improving the read and write speed of the TLC NAND flash memory. Please refer to Figure 1 , Figure 1 A flow chart of a data reading and writing method provided by an embodiment of the present invention, which is applied to a NAND controller, may include:

[0045] S101, receiving a page write command to be processed by a target logic unit in a target chip, and sending the page write command to the target logic unit so that the target logic unit processes the page write command; the page write command is an LSB page write command, a CSB page write command, or an MSB page write command;

[0046] First, the process of NAND controller assigning page write commands to logical units (LUN, Logical Unit Number) in the chip (Chip) is introduced. In TLC NAND flash memory, page write commands include LSB page write commands, CSB page write commands or MSB page write commands, where LSB (Least Significant Bit) represents the least significant bit, CSB (Central Significant Bit) represents the central significant bit, and MSB (Most Significant Bit) represents the most significant bit. The logical unit needs to complete the writing of LSB page write command, CSB page write command and MSB page write command in sequence before a complete write is completed. Since the processing of commands has a sequence, the NAND controller also needs to receive the page write command in the processing order.

[0047] In one possible scenario, receiving a page write command to be processed by a target logic unit in a target chip may include:

[0048] Step 11: receiving a page write command to be processed by a target logic unit in a target chip according to a preset processing sequence.

[0049] It should be noted that the embodiments of the present invention do not limit the specific preset processing order, and reference may be made to the relevant technology of TLC NAND flash memory. Specifically, the preset processing order may be to process the LSB page write command first, then process the CSB page write command, and finally process the MSB page write command.

[0050] In one possible scenario, the target logic unit sequentially processes the LSB page write command, the CSB page write command, and the MSB page write command according to a preset processing order.

[0051] Furthermore, it should be noted that the embodiments of the present invention do not limit the specific form and content of the page write command, and reference may be made to the relevant technology of TLC NAND flash memory. It is understandable that the page write command usually has corresponding data, so when receiving the page write command, the NAND controller may further receive the data corresponding to the command, and forward the command and data to the corresponding logic unit, so that the logic unit writes the data according to the page write command.

[0052] In one possible scenario, receiving a page write command to be processed by a target logic unit in a target chip and sending the page write command to the target logic unit so that the target logic unit processes the page write command may include:

[0053] Step 21: receiving a page write command and corresponding data, and sending the page write command and the write data to a target logical unit, so that the target logical unit writes the data according to the page write command.

[0054] S102, determine whether the target logic unit enters a busy state; if so, proceed to step S103; if not, proceed to step S102.

[0055] After sending the page write command to the target logic unit, the NAND controller will further detect whether the unit has entered a busy state. Entering this state means that the target logic unit is executing the program logic corresponding to the page write command and is in an occupied state, and the target chip to which it belongs cannot process other commands at this time. However, other chips in the TLC NAND flash memory may be idle at this time and can be used to perform read and write operations. Therefore, after determining that the target logic unit has entered a busy state, the NAND controller in the embodiment of the present invention will further allocate other idle chips in the TLC NAND flash memory to perform read operations. It should be noted that the embodiment of the present invention does not limit how the NAND controller detects whether the target logic unit has entered a busy state, and reference may be made to the relevant technology of TLC NAND flash memory.

[0056] S103 . When it is determined that the target logic unit enters a busy state, a read command to be processed by a logic unit in another chip is received, and the read command is sent to a corresponding logic unit, so that the logic unit corresponding to the read command processes the read command.

[0057] After determining that the target logic unit has entered a busy state, the NAND controller can further receive read commands processed by logic units in other chips, and send the read commands to the corresponding logic units for processing. The reason for selecting the read command is that, compared with the page write command, the logic unit can complete the processing of the read command in a shorter time, occupying less resources of the TLC NAND flash memory, and then processing the page write command in parallel with the read command, which can greatly improve the utilization rate of the internal read and write resources of the TLC NAND flash memory, thereby effectively improving the read and write performance of the flash memory. It should be noted that the embodiment of the present invention does not limit the number of read commands. In the case of a long waiting time, the NAND controller can obtain multiple read commands and send them to the corresponding logic unit for processing, so as to further improve the utilization rate of internal read and write resources. The specific amount of read commands obtained can be set according to actual application requirements.

[0058] In one possible scenario, receiving a read command to be processed by a logic unit in another chip may include:

[0059] Step 31: Receive multiple read commands that need to be processed by logic units in other chips.

[0060] Of course, in some special cases, such as when the page write command is an MSB page write command, the NAND controller can also receive other page write commands that need to be processed by the logic units in other chips. This is because the MSB page write command is the last write command that the target logic unit needs to process. In addition, it takes a long time to process the MSB page write command, which will occupy the target chip for a long time. Therefore, the NAND controller can have more time to process the page write commands that need to be processed by other chips. Of course, if the NAND controller cannot obtain a suitable page write command, it can continue to allocate read commands to the logic units of other chips.

[0061] In one possible case, when the page write command is an MSB page write command, before receiving a read command to be processed by a logic unit in another chip, the following is further included:

[0062] Step 41: Determine whether other page write commands that need to be processed by logic units in other chips can be received; if so, proceed to step 42; if not, proceed to step 43.

[0063] Step 42: Send other page write commands to corresponding logic units, so that the logic units corresponding to other page write commands process other page write commands.

[0064] Step 43: Enter the step of receiving a read command to be processed by a logic unit in another chip.

[0065] Furthermore, since the target logical unit needs to process various types of page write commands in sequence, after completing the distribution of the read command or other page write commands, the NAND controller needs to determine whether the target logical unit has exited the busy state, that is, whether it can continue to process the next page write command, so as to allocate the next page write command to it.

[0066] In a possible case, after sending the read command to the corresponding logical unit, the following may also be included:

[0067] Step 51: Determine whether the target logic unit exits the busy state; if so, proceed to step 52; if not, proceed to step 51.

[0068] Step 52: receiving the next page write command to be processed by the target logical unit according to a preset processing sequence, and entering the step of sending the page write command to the target logical unit.

[0069] Based on the above embodiments, in the present invention, after sending a page write command to the target logic unit, the NAND controller will actively monitor whether the logic unit is in a busy state. If it is in this state, it will further receive read commands that need to be processed by logic units in other chips. This is because the busy state represents that the target logic unit is already processing the page write command it has received, and it needs to wait for a period of time before processing other commands. At this time, other chips in the flash memory are in an idle state. Therefore, the NAND controller can additionally obtain read commands for logic units in other chips to ensure that when the target logic unit is processing the page write command, the logic units in other chips can process the read command in parallel. In other words, the present invention can effectively schedule the read and write commands to ensure that while the target logic unit in the target chip is processing the page write command, the logic units in other chips can process the read command in parallel, thereby effectively improving the read and write speed of the TLC NAND flash memory.

[0070] The following is an introduction to the above data reading and writing methods based on actual examples. Please refer to Figure 2 , Figure 2 A schematic diagram of inserting a read / write command during a TLC write operation provided by an embodiment of the present invention, wherein WC (Write Command) indicates executing a write command, WD (Write Data) indicates writing data according to a page write command, and RC (Read Command) indicates executing a read command. The specific process is as follows:

[0071] (1) First, after receiving the LSB Page write command and data, LUN0 (Logical Unit 0) in Chip0 (Chip 0) of the NAND will enter a short busy state;

[0072] (2) During the short busy time after Chip0 processes the LSB Page, NAND can insert the read command of the logic unit in other chips, which is recorded as Chip1-LUN1;

[0073] (3) After the busy time corresponding to Chip0 processing the LSB Page ends, Chip0-LUN0 will enter the busy state again for a shorter period of time after receiving the CSB Page write command and data;

[0074] (4) During the short busy time after Chip0 processes the CSB Page, NAND can insert the read command of the logic unit in another chip, which is recorded as Chip2-LUN2;

[0075] (5) After the busy time corresponding to Chip0 processing the CSB Page ends, Chip0-LUN0 will enter a longer busy state after receiving the MSB Page write command and data;

[0076] (6) During the long busy time after Chip0 processes the MSB Page, NAND can insert write commands from the logic units in other chips, recorded as Chip3-LUN3.

[0077] The following is an introduction to a NAND controller and a computer-readable storage medium provided in an embodiment of the present invention. The NAND controller and the computer-readable storage medium described below and the data reading and writing method described above can be referred to each other.

[0078] Please refer to Figure 3 , Figure 3 A structural block diagram of a NAND controller provided by an embodiment of the present invention, the controller may include:

[0079] The first scheduling module 301 is used to receive a page write command to be processed by a target logic unit in a target chip, and send the page write command to the target logic unit so that the target logic unit processes the page write command; the page write command is an LSB page write command, a CSB page write command or an MSB page write command;

[0080] A busy entry determination module 302 is used to determine whether the target logic unit enters a busy state;

[0081] The second scheduling module 303 is used to receive a read command to be processed by a logic unit in another chip when it is determined that the target logic unit enters a busy state, and send the read command to the corresponding logic unit so that the logic unit corresponding to the read command processes the read command.

[0082] Optionally, the second scheduling module 303 may further include:

[0083] A judgment submodule, used to judge whether other page write commands that need to be processed by logic units in other chips can be received;

[0084] The command sending submodule is used to send other page write commands to the corresponding logic unit if yes, so that the logic unit corresponding to the other page write commands processes the other page write commands.

[0085] The command receiving submodule is used to, if not, enter the step of receiving a read command to be processed by a logic unit in another chip.

[0086] Optionally, the first scheduling module 301 may include:

[0087] A receiving submodule, used for receiving, in a preset processing order, a page write command to be processed by a target logic unit in a target chip;

[0088] Accordingly, it may also include:

[0089] A busy exit judgment module is used to judge whether the target logic unit exits the busy state;

[0090] The command receiving module is used to, if yes, receive the next page write command to be processed by the target logical unit according to a preset processing sequence, and enter the step of sending the page write command to the target logical unit.

[0091] Optionally, the target logic unit processes the LSB page write command, the CSB page write command and the MSB page write command in sequence according to a preset processing order.

[0092] Optionally, the second scheduling module 303 may include:

[0093] The read command receiving submodule is used to receive multiple read commands that need to be processed by logic units in other chips.

[0094] Optionally, the first scheduling module 301 may include:

[0095] The first scheduling submodule is used to receive a page write command and corresponding data, and send the page write command and the write data to a target logical unit, so that the target logical unit writes the data according to the page write command.

[0096] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the data reading and writing method of any of the above embodiments are implemented.

[0097] Since the embodiments of the computer-readable storage medium part correspond to the embodiments of the data reading and writing method part, the embodiments of the storage medium part refer to the description of the embodiments of the data reading and writing method part, which will not be repeated here.

[0098] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0099] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0100] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0101] The data reading and writing method, NAND controller and computer-readable storage medium provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A data reading and writing method, characterized in that: Applied to a NAND controller, the NAND controller is arranged in a TLC NAND flash memory, the method comprises: receiving a page write command to be processed by a target logic unit in a target chip, and sending the page write command to the target logic unit so that the target logic unit processes the page write command; the page write command is an LSB page write command, a CSB page write command, or an MSB page write command; Determining whether the target logic unit enters a busy state; When it is determined that the target logic unit enters the busy state, receiving a read command to be processed by a logic unit in another chip, and sending the read command to a corresponding logic unit so that the logic unit corresponding to the read command processes the read command; When the page write command is the MSB page write command, before receiving a read command to be processed by a logic unit in another chip, the method further includes: Determining whether other page write commands that need to be processed by the logic unit in the other chip can be received; If yes, sending the other page write command to the corresponding logic unit, so that the logic unit corresponding to the other page write command processes the other page write command; If not, the process proceeds to the step of receiving a read command to be processed by a logic unit in another chip.

2. The data reading and writing method according to claim 1, characterized in that: The receiving of a page write command to be processed by a target logic unit in a target chip includes: receiving a page write command to be processed by a target logic unit in the target chip in a preset processing order; Correspondingly, after sending the read command to the corresponding logic unit, the method further includes: Determining whether the target logic unit exits the busy state; If so, the next page write command to be processed by the target logical unit is received according to the preset processing order, and the step of sending the page write command to the target logical unit is entered.

3. The data reading and writing method according to claim 2, characterized in that: The target logic unit processes the LSB page write command, the CSB page write command and the MSB page write command in sequence according to the preset processing order.

4. The data reading and writing method according to claim 1, characterized in that: The receiving of a read command to be processed by a logic unit in another chip includes: A plurality of read commands to be processed by logic units in the other chips are received.

5. The data reading and writing method according to claim 1, characterized in that: The receiving a page write command to be processed by a target logic unit in a target chip, and sending the page write command to the target logic unit so that the target logic unit processes the page write command, includes: The page write command and corresponding data are received, and the page write command and the data are sent to the target logic unit, so that the target logic unit writes the data according to the page write command.

6. A NAND controller, characterized in that: The NAND controller is arranged in a TLC NAND flash memory, and includes: A first scheduling module is used to receive a page write command to be processed by a target logic unit in a target chip, and send the page write command to the target logic unit so that the target logic unit processes the page write command; the page write command is an LSB page write command, a CSB page write command or an MSB page write command; A busy entry judgment module, used to judge whether the target logic unit enters a busy state; A second scheduling module is used for receiving a read command to be processed by a logic unit in another chip when it is determined that the target logic unit enters the busy state, and sending the read command to a corresponding logic unit so that the logic unit corresponding to the read command processes the read command; The second scheduling module further includes: a judgment submodule, used for judging whether other page write commands to be processed by the logic units in the other chips can be received when the page write command is the MSB page write command; a command sending submodule, configured to send the other page write command to a corresponding logic unit, so that the logic unit corresponding to the other page write command processes the other page write command; The command receiving submodule is used to, if not, enter the step of receiving the read command to be processed by the logic unit in other chips.

7. The NAND controller according to claim 6, characterized in that: The first scheduling module includes: A receiving submodule, configured to receive, in a preset processing order, a page write command to be processed by a target logic unit in the target chip; Correspondingly, it also includes: A busy exit judgment module, used for judging whether the target logic unit exits the busy state; The command receiving module is used to, if yes, receive the next page write command to be processed by the target logical unit according to the preset processing sequence, and enter the step of sending the page write command to the target logical unit.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by the processor, the data reading and writing method according to any one of claims 1 to 5 is implemented.