Storage system, host, operation method and data processing system
By adopting a new operating mode in UFS devices to directly send L2P mapping tables or respond to HPB read buffer commands, the number of interactions between the host and the storage system is reduced, solving the problem of low L2P mapping table read efficiency in UFS devices and improving random read performance and user experience.
Patent Information
- Application Number
- CN202410638311.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2025-11-21
AI Technical Summary
In UFS devices, the L2P mapping table between the host and the storage system has low read efficiency, resulting in poor random read performance. The existing HPB protocol requires multiple interactions to obtain multiple L2P mapping tables.
The storage system sends L2P mapping tables using either a first operating mode or a second operating mode. In the first mode, it directly sends recommendation information including at least one L2P mapping table. In the second mode, it responds to HPB read buffer commands by sending data input UPIU to include multiple L2P mapping tables, thus reducing the number of interactions.
It improves the read efficiency of the L2P mapping table, enhances random read performance, reduces power consumption, and improves the user experience.
Smart Images

Figure CN120994579A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of memory technology, and in particular to a storage system, a host, an operating method, and a data processing system. Background Technology
[0002] Flash-based storage devices such as UFS (Universal Flash Storage) require the logical address of the host's I / O interface request to be translated into the physical address of the storage unit within the Flash memory when performing data access operations. This generates a Logical to Physical (L2P) mapping table. The L2P mapping table can be provided to the host by the UFS. Summary of the Invention
[0003] In view of the above, embodiments of this disclosure provide a storage system, a host, an operating method, and a data processing system.
[0004] To achieve the above objectives, the technical solution disclosed herein is implemented as follows:
[0005] In a first aspect, embodiments of this disclosure provide an operating method for a storage system, comprising: sending a logical-to-physical (L2P) mapping table using a first operating mode or a second operating mode; wherein the first operating mode includes: sending first recommendation information; the first recommendation information includes at least one of the L2P mapping tables; the second operating mode includes: sending a data input generic flash storage protocol information unit (UPIU) in response to a host performance enhancer (HPB) read buffer command; the data input UPIU includes at least two of the L2P mapping tables.
[0006] In some embodiments, the first recommendation information includes data information for at least one HPB region, and each HPB region corresponds to one L2P mapping table.
[0007] In some embodiments, the first recommendation information includes an extended data segment and a first specific data segment, wherein the extended data segment is used to store the L2P mapping table; and the first specific data segment is used to store data information of the HPB region.
[0008] In some embodiments, the extended data segment includes an allocation length, and the first recommendation information further includes a total extended data segment length; the allocation length is related to the total extended data segment length, and the total extended data segment length is related to the number of HPB regions.
[0009] In some embodiments, the data input UPIU includes data information from at least two HPB regions, each HPB region corresponding to one L2P mapping table.
[0010] In some embodiments, the data input UPIU includes extended data segment information and second specific data segment information; the second specific data segment information is used to store data information of the first HPB region among the at least two HPB regions, and the extended data segment information is used to store data information of the other HPB regions besides the first HPB region.
[0011] In some embodiments, the extended data segment information includes an allocation length, and the data input UPIU further includes a total extended data segment length; the allocation length is related to the total extended data segment length, and the total extended data segment length is related to the number of HPB regions.
[0012] In some embodiments, before sending data input to the UPIU in response to an HPB read buffer command, the method further includes: sending at least one second recommendation message; each second recommendation message includes data information for at least one HPB region.
[0013] In some embodiments, sending the L2P mapping table using a first operating mode or a second operating mode includes: obtaining the memory status of the target device; and determining whether to send the L2P mapping table using the first operating mode or the second operating mode based on the obtained memory status of the target device.
[0014] In some embodiments, determining whether to use a first operating mode or a second operating mode to send the L2P mapping table based on the obtained memory status of the target device includes: sending the L2P mapping table using the first operating mode when the memory occupancy rate of the target device is greater than a first threshold; and sending the L2P mapping table using the second operating mode when the memory occupancy rate of the target device is less than or equal to the first threshold.
[0015] Secondly, embodiments of this disclosure provide a host operation method, including: receiving at least one first recommendation information or a second recommendation information; wherein, upon receiving the first recommendation information, decoding the first recommendation information to obtain at least one L2P mapping table; and upon receiving the second recommendation information, sending an HPB read buffer command; wherein the HPB read buffer command includes data information from at least two HPB regions.
[0016] In some embodiments, after sending the HPB read buffer command, the method further includes: receiving a data input UPIU sent by the target device in response to the HPB read buffer command; and decoding the data input UPIU to obtain at least two L2P mapping tables, each of the L2P mapping tables corresponding to one of the HPB regions.
[0017] In some embodiments, the HPB read buffer command includes extended data segment information and second specific data segment information. The second specific data segment information is used to store data information of the first HPB region among the at least two HPB regions, and the extended data segment information is used to store data information of the other HPB regions besides the first HPB region.
[0018] In some embodiments, the extended data segment information includes an allocation length, which is related to the number of HPB regions.
[0019] In some embodiments, before receiving at least one first recommendation or a second recommendation, the method further includes sending memory information to the target device.
[0020] Thirdly, embodiments of this disclosure provide a storage system, including: a storage device and a controller, the controller being configured to perform the operating method described in any of the above embodiments.
[0021] Fourthly, this disclosure provides a host computer configured to perform the operation method described in any of the above embodiments.
[0022] Fifthly, embodiments of this disclosure provide a data processing system, including: a storage system and a host; the storage system is configured to send an L2P mapping table to the host using a first operating mode or a second operating mode; wherein, in the first operating mode, the storage system is configured to send first recommendation information to the host; wherein the first recommendation information includes at least one of the L2P mapping tables; in the second operating mode, the storage system is configured to send a data input UPIU to the host in response to an HPB read buffer command sent by the host; the data input UPIU includes at least two of the L2P mapping tables.
[0023] In some embodiments, the storage system is further configured to send at least one second recommendation message to the host; each second recommendation message includes data information for at least one HPB region.
[0024] In some embodiments, the host is configured to: upon receiving the first recommendation information, decode the first recommendation information to obtain at least one L2P mapping table; upon receiving the second recommendation information, send an HPB read buffer command to the storage system; the HPB read buffer command includes data information from at least two HPB regions.
[0025] In some embodiments, the host is further configured to: send memory status information to the storage system; the storage system is further configured to: determine, based on the memory status, whether to use a first operating mode or a second operating mode to send an L2P mapping table to the host.
[0026] This disclosure provides a storage system, a host, an operating method, and a data processing system. The operating method of the storage system includes: sending a logical-to-physical (L2P) mapping table using a first operating mode or a second operating mode; wherein the first operating mode includes: sending first recommendation information; the first recommendation information includes at least one of the L2P mapping tables; the second operating mode includes: sending a data input generic flash storage protocol information unit (UPIU) in response to a host performance enhancer (HPB) read buffer command; the data input UPIU includes at least two of the L2P mapping tables. In this disclosure, the storage system sends the L2P mapping table to the host using either the first or second operating mode. In the first operating mode, the storage system directly sends recommendation information including the L2P mapping table, allowing the host to avoid sending an HPB read buffer command to the storage system, thereby reducing the number of data interactions between the storage system and the host. In the second operating mode, the storage system, in response to an HPB read buffer command, sends a data input UPIU including at least two L2P mapping tables to the host, also reducing the number of data interactions between the storage system and the host. Thus, the operation method of the storage system provided in this embodiment effectively improves the reading efficiency of the L2P mapping table, thereby improving random read performance and enhancing user experience. Attached Figure Description
[0027] Figure 1 This is a schematic diagram illustrating HPB data communication between a host and a storage system in an example.
[0028] Figure 2 A flowchart illustrating the operation method of the storage system provided in this embodiment of the disclosure;
[0029] Figure 3 This is a schematic diagram illustrating HPB data communication between the storage system and the host in a first operating mode according to an embodiment of this disclosure.
[0030] Figure 4 This is a schematic diagram illustrating HPB data communication between a storage system and a host in a second operating mode according to one embodiment of the present disclosure.
[0031] Figure 5 This is a schematic diagram illustrating HPB data communication between the storage system and the host in a second operating mode according to another embodiment of this disclosure;
[0032] Figure 6The UPIU format of the first recommendation information provided in this embodiment of the disclosure;
[0033] Figure 7 The format of the EHS header field provided in the embodiments of this disclosure;
[0034] Figure 8 The recommendation information provided in this example is in UPIU format;
[0035] Figure 9 The UPIU format of the HPB read buffer command provided in the embodiments of this disclosure;
[0036] Figure 10 The data is input into the L2P mapping table in the UPIU as provided in the embodiments of this disclosure;
[0037] Figure 11 A block diagram of a storage system provided in an embodiment of this disclosure;
[0038] Figure 12 A block diagram of a host provided in an embodiment of this disclosure;
[0039] Figure 13 A block diagram of a data processing system provided in an embodiment of this disclosure. Detailed Implementation
[0040] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. Based on the embodiments in this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0041] In the following description, numerous specific details are set forth in order to provide a more thorough understanding of this disclosure. However, it will be apparent to those skilled in the art that this disclosure may be practiced without one or more of these details. In other instances, to avoid confusion with this disclosure, certain technical features well-known in the art have not been described; that is, not all features of actual embodiments are described herein, nor are well-known functions and structures described in detail.
[0042] In the accompanying drawings, for clarity, the dimensions of layers, areas, and elements, as well as their relative dimensions, may be exaggerated. The same reference numerals denote the same elements throughout.
[0043] It should be understood that when an element or layer is referred to as "on," "adjacent to," "connected to," or "coupled to" other elements or layers, it may be directly on, adjacent to, connected to, or coupled to other elements or layers, or there may be intervening elements or layers. Conversely, when an element is referred to as "directly on," "directly adjacent to," "directly connected to," or "directly coupled to" other elements or layers, there are no intervening elements or layers. It should be understood that although the terms first, second, third, etc., may be used to describe various elements, components, areas, layers, and / or portions, these elements, components, areas, layers, and / or portions should not be limited by these terms. These terms are only used to distinguish one element, component, area, layer, or portion from another element, component, area, layer, or portion. Therefore, without departing from the teachings of this disclosure, the first element, component, area, layer, or portion discussed below may be referred to as a second element, component, area, layer, or portion. And the discussion of a second element, component, area, layer, or portion does not imply that the first element, component, area, layer, or portion necessarily exists in this disclosure.
[0044] Spatial relation terms such as “below,” “under,” “below,” “under,” “above,” “above,” etc., are used herein for convenience of description to describe the relationship between one element or feature shown in the figure and other elements or features. It should be understood that, in addition to the orientation shown in the figure, spatial relation terms are intended to also include different orientations of the device in use and operation. For example, if the device in the figure is flipped, then the element or feature described as “below,” “under,” or “below” other elements or features will be oriented “above” other elements or features. Therefore, the exemplary terms “below” and “under” can include both above and below orientations. The device may be otherwise oriented (rotated 90 degrees or otherwise) and the spatial descriptive terms used herein will be interpreted accordingly.
[0045] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprise” and / or “comprising,” when used in this specification, identify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups. When used herein, the term “and / or” includes any and all combinations of the associated listed items.
[0046] To fully understand this disclosure, detailed steps and structures will be presented in the following description to illustrate the technical solutions of this disclosure. Preferred embodiments of this disclosure are described in detail below; however, other embodiments may also be implemented in addition to these detailed descriptions.
[0047] To improve random access capabilities, the UFS protocol introduced a Host Performance Booster (HPB). HPB utilizes the host's memory as a buffer for loading L2P mapping table data into the UFS device. However, in the UFS HPB 2.0 protocol, each HPB read buffer command sent by the host to the storage device only reads the L2P mapping table corresponding to one HPB region. To read the L2P mapping tables corresponding to multiple HPB regions, multiple HPB read buffer commands need to be sent. This results in multiple interactions between the host and the storage system, leading to low efficiency in reading the L2P mapping table.
[0048] refer to Figure 1 , Figure 1 This is a schematic diagram illustrating HPB data communication between a host and a storage system in an example.
[0049] like Figure 1 As shown, the storage system sends multiple recommendation messages carrying data information about HPB regions to the host in response. For example, the storage system sequentially sends three recommendation messages to the host, each carrying data information confirming the HPB region to be activated. The three HPB regions are denoted as {region, subregion}#0 (i.e., active HPB region + subregion#0), {region, subregion}#1 (i.e., active HPB region + subregion#1), and {region, subregion}#2 (i.e., active HPB region + subregion#2).
[0050] After receiving the recommendation information, when the host is idle, it can send an HPB READ BUFFER command to the storage system. Specifically, the host sends a first HPB READ BUFFER command to the storage system. This first HPB READ BUFFER command contains data information for {region, subregion}#0, and is used to read the L2P mapping table #0 corresponding to {region, subregion}#0. Then, in response to the first HPB READ BUFFER command sent by the host, the storage system sends the L2P mapping table #0 corresponding to {region, subregion}#0 back to the host via a data input UPIU. At this point, the host obtains the L2P mapping table #0 corresponding to {region, subregion}#0. It can be understood that if the host needs to read the L2P mapping tables corresponding to multiple HPB regions, the host needs to send the corresponding number of HPB READ BUFFER commands to the storage system. (Reference) Figure 1 The host sequentially sends a second HPB read buffer command and a third HPB read buffer command to the storage system. The second HPB read buffer command contains data information for {region, subregion}#1 and is used to read the L2P mapping table #1 corresponding to {region, subregion}#1. In response to the host's second HPB read buffer command, the storage system sends the L2P mapping table #1 corresponding to {region, subregion}#1 to the host via the data input UPIU. The third HPB read buffer command contains data information for {region, subregion}#2 and is used to read the L2P mapping table #2 corresponding to {region, subregion}#2. In response to the host's third HPB read buffer command, the storage system sends the L2P mapping table #2 corresponding to {region, subregion}#2 to the host via the data input UPIU. At this point, the host has obtained three L2P mapping tables corresponding to HPB regions: L2P mapping table #0 corresponding to {region, subregion}#0, L2P mapping table #1 corresponding to {region, subregion}#1, and L2P mapping table #2 corresponding to {region, subregion}#2. However, during HPB data communication between the host and the storage system, the high number of interactions between them leads to low efficiency in reading the L2P mapping tables and poor random read performance.
[0051] Therefore, there is an urgent need to provide an operating method for storage systems to improve random read performance.
[0052] refer to Figure 2 , Figure 2 A flowchart illustrating the operation method of the storage system provided in this embodiment of the disclosure.
[0053] like Figure 2 As shown, this disclosure provides an operation method for a storage system, including:
[0054] Step S101: Send a logical-to-physical (L2P) mapping table using a first operating mode or a second operating mode; wherein, the first operating mode includes: sending first recommendation information; the first recommendation information includes at least one L2P mapping table; the second operating mode includes: in response to a host performance enhancer (HPB) read buffer command, sending a data input generic flash storage protocol information unit (UPIU); the data input UPIU includes at least two L2P mapping tables.
[0055] refer to Figure 3 , Figure 3 This is a schematic diagram illustrating HPB data communication between the storage system and the host in a first operating mode according to an embodiment of this disclosure.
[0056] like Figure 3 As shown, in the first operating mode, the storage system sends a response to the host, which includes first recommendation information of at least one L2P mapping table. Specifically, the storage system sends the first recommendation information of L2P mapping table #0 corresponding to {region, subregion}#0 to the host.
[0057] In other embodiments of this disclosure, the storage system may send first recommendation information, including L2P mapping tables #0 and #1 corresponding to {region, subregion}#0 and {region, subregion}#1 respectively, to the host. This effectively reduces the number of interactions between the host and the storage system during the process of the host reading the L2P mapping tables. Specifically, it eliminates the process of the host sending an HPB read buffer command to the storage system after receiving the first recommendation information, and the process of the storage system sending the L2P mapping tables back to the host in response to the HPB read buffer command, thereby effectively improving read efficiency.
[0058] refer to Figure 4 , Figure 4 This is a schematic diagram illustrating HPB data communication between a storage system and a host in a second operating mode according to one embodiment of the present disclosure.
[0059] like Figure 4As shown, in the second operating mode, in response to the HPB read buffer command sent by the host, the storage system sends data input UPIUs including at least two L2P mapping tables to the host. Specifically, the storage system sends data input UPIUs including L2P mapping tables #0, #1, and #2, corresponding to {region, subregion}#0, {region, subregion}#1, and {region, subregion}#2, respectively, to the host. It can be understood that since the storage system can send at least two L2P mapping tables to the host at once, the number of interactions between the host and the storage system during the L2P mapping table reading process can be effectively reduced. That is, the number of times the host sends the HPB read buffer command to the storage system is reduced, and the number of times the storage system sends L2P mapping tables to the host in response to the HPB read buffer command is also reduced, thereby effectively improving read efficiency.
[0060] In this embodiment of the disclosure, the storage system can send the L2P table to the host using a first operating mode or a second operating mode, thereby effectively reducing the number of interactions between the host and the storage system during the process of the host reading the L2P mapping table, so as to improve the efficiency of the host reading the L2P mapping table, thereby improving the random read performance of the system, and reducing power consumption to a certain extent, enhancing the user experience.
[0061] In this embodiment of the disclosure, before sending data input to the UPIU in response to the HPB read buffer command, the operation method of the storage system further includes:
[0062] Send at least one second recommendation message; each second recommendation message includes data information from at least one HPB region.
[0063] like Figure 4 As shown, before sending data to the UPIU in response to the HPB read buffer command, the storage system needs to send at least one second recommendation message to the host, and each second recommendation message includes data information for at least one HPB region. Specifically, the storage system sends three second recommendation messages to the host sequentially. The first second recommendation message includes data information for {region, subregion}#0, the second second recommendation message includes data information for {region, subregion}#1, and the third second recommendation message includes data information for {region, subregion}#2.
[0064] In another embodiment of this disclosure, the storage system may send a second recommendation message to the host, and the second recommendation message includes data information of two HPB regions.
[0065] refer to Figure 5 , Figure 5This is a schematic diagram illustrating HPB data communication between the storage system and the host in a second operating mode according to another embodiment of this disclosure.
[0066] like Figure 5 As shown, in response to the HPB read buffer command, the storage system sends two second recommendation messages to the host before sending data to the UPIU. The first second recommendation message includes data information for {region, subregion}#0 and {region, subregion}#1, while the second second recommendation message includes data information for {region, subregion}#2 and {region, subregion}#3. This further improves the efficiency of reading the L2P mapping table and enhances the system's random read capability.
[0067] In this embodiment of the disclosure, such as Figure 4 As shown, after the storage system sends the data input UPIU to the host, the storage system can also send response information to indicate that the read operation of the L2P mapping table is complete.
[0068] In this embodiment of the disclosure, the first recommendation information includes data information of at least one HPB region, and each HPB region corresponds to an L2P mapping table.
[0069] refer to Figure 6 , Figure 6 The UPIU format is used for the first recommendation information provided in the embodiments of this disclosure.
[0070] like Figure 6 As shown, the storage system can transmit the response (Response UPIU) of the first recommendation information to the host via Universal Memory Flash (UFS) Protocol Information Unit (UPIU) packets. The first recommendation information includes data information for two active HPB regions (Action HPB Region + Subregion) and an L2P mapping table corresponding to each HPB region. Specifically, the active HPB region includes {region, subregion}#0, composed of active HPB region 0 and its HPB subregions, and {region, subregion}#1, composed of active HPB region 1 and its HPB subregions. Furthermore, the first recommendation information also includes L2P mapping tables #0 and #1, corresponding to {region, subregion}#0 and #1, respectively. Each L2P mapping table includes N HPB entries, and each HPB entry has 8 bytes of information.
[0071] In this embodiment of the disclosure, the first recommendation information including data information of at least one HPB region means that the first recommendation information includes data information of at least one activated HPB region.
[0072] In this embodiment of the disclosure, the first recommendation information includes an extended data segment and a first specific data segment. The extended data segment is used to store the L2P mapping table; the first specific data segment is used to store data information of the HPB region.
[0073] like Figure 6 As shown, the first recommendation information includes an extended data segment. Here, the extended data segment can be an Extra Header Segment (EHS). The EHS can contain an EHS header field and an EHS data field.
[0074] refer to Figure 7 , Figure 7 The format of the EHS header field provided in the embodiments of this disclosure.
[0075] Combination Figure 6 and Figure 7 The EHS header field occupies bytes 0 through 3 of the EHS header. The EHS header field includes the length (blength), the EHS type (bEHSType), and the EHS subtype (bEHSSubType). The length occupies byte 0 of the EHS header, the EHS type occupies byte 1, and the EHS subtype occupies bytes 2 and 3. Here, the value of the EHS type can be set to a user-defined value, such as 02h, to distinguish the EHS type from existing types. Furthermore, defining this EHS type allows the EHS to be used to implement HPB functionality. The value of the EHS subtype can also be set, for example, to 01h.
[0076] Continue to refer to Figure 6 The EHS data fields include the allocation length (ALLOCATION LENGTH_1) and the L2P mapping table corresponding to the active HPB region. The allocation length occupies bytes 4 to 7 of the EHS, and the L2P mapping table occupies byte 8 and the remaining bytes after byte 8. Specifically, the EHS data fields include L2P mapping table #0 and L2P mapping table #1, corresponding to {region, subregion}#0 and {region, subregion}#1, respectively. It can be understood that since each HPB entry occupies 8 bytes, and an L2P mapping table has N HPB entries, L2P mapping table #0 occupies bytes 8 to 8+8*(N-1)+7 of the EHS, and L2P mapping table #1 occupies bytes 8+8*N to 8+8*(N-1)+8*N+7 of the EHS.
[0077] In one embodiment, the allocated length of the EHS data field can be equal to the length of the EHS header field.
[0078] like Figure 6 As shown, the first recommendation information may also include a basic header field. The basic header field occupies 32 bytes. Specifically, the transaction type occupies the 0th byte of the basic header field. The transaction type can be a binary string, such as "xx100001b", indicating that the transaction type is a response. Flags occupy the 1st byte of the basic header field. These flags may include a read flag indicating a read, a write flag indicating a write, an attribute flag indicating the task attributes of the command, and a priority flag indicating the command priority. The Local Interconnect Network (LIN) occupies the 2nd byte of the basic header field. The Task Tag occupies the 3rd byte of the basic header field. The Initiator ID (IID) and Command Set Type occupies the 4th byte of the basic header field. The 5th byte of the basic header field can be reserved. The Response occupies the 6th byte of the basic header field. The Status occupies the 7th byte of the basic header field. The value of the Status can be 00h, indicating a good response. The Total Extended Data Segment Length (EHS length) occupies the 8th byte of the basic header field. The EHS length value can be a hexadecimal value. Device information occupies the 9th byte of the basic header field. The Data Segment Length occupies bytes 10 and 11 of the basic header field. Byte 10 can store the most significant bit (MSB) of the data segment length, and byte 11 can store the least significant bit (LSB). The data segment length can be set to a hexadecimal string, such as "14h". The Residual Transfer Count occupies bytes 12 and 15 of the basic header field. Byte 12 can store the MSB of the expected data transfer count, and byte 15 can store the LSB. Bytes 16 through 31 of the basic header field can be reserved.
[0079] refer to Figure 6The first specific data segment occupies 20 bytes, specifically bytes K to K+19. Within this segment, the Sense Data Length occupies bytes K to K+1, with a value of 12h. The Descriptor Type occupies bytes K+2, with a value of 80h. The Additional Length occupies bytes K+3, with a value of 10h. The HPB Operation occupies bytes K+4, with a value of 01h, indicating a Request for HPBRegion Update. The Logical Unit Number (LUN) occupies bytes K+5. The Active HPB Count occupies bytes K+6. The Inactive HPB Count occupies bytes K+7. Data information for active HPB regions occupies bytes K+8 to K+15. Data information for inactive HPB regions occupies bytes K+16 to K+19.
[0080] refer to Figure 8 , Figure 8 This is the UPIU format of the recommendation information provided in an example.
[0081] like Figure 8 As shown, the recommendation information includes... Figure 6 Similar to the basic header segment and the SenseData segment, the storage system uses a similar basic header segment and specific data segment. The SenseData segment can be used to store data information for the active HPB region. Specifically, it stores data information for {region, subregion}#0 and {region, subregion}#1. The storage system can send this active HPB region data information to the host via recommendation information. However, since the SenseData segment only includes 20 bytes, it cannot contain the L2P mapping table corresponding to the active HPB region. That is, the storage system in the example cannot send the L2P mapping table to the host via recommendation information. This necessitates the host sending an HPB read buffer command to the storage system, and the storage system sending the L2P mapping table back to the host after responding to the HPB read buffer command. Consequently, the system's random read performance is low.
[0082] Continue to refer to Figure 6The first recommendation information provided in this embodiment includes an extended data segment (EHS). Since the size of the EHS can vary, it can include more bytes; for example, the number of bytes in the EHS can far exceed 20, allowing the EHS to be used to store at least one L2P mapping table. Thus, the storage system in this embodiment can send the L2P mapping table to the host through the first recommendation information, thereby effectively improving read efficiency.
[0083] In this embodiment of the disclosure, the extended data segment includes an allocation length, and the first recommendation information also includes the total extended data segment length; the allocation length is related to the total extended data segment length, and the total extended data segment length is related to the number of HPB regions.
[0084] In this embodiment of the disclosure, the formula for calculating the allocated length within the extended data segment of the first recommendation information is as follows:
[0085] Allocation length = N × size of HPB entry × k
[0086] Where k equals 1 or 2, indicating that the extended data segment can include 1 or 2 L2P mapping tables. Each L2P mapping table corresponds to one HPB region. The size of an HPB entry can be 8 bytes. The formula for calculating N is as follows:
[0087] N = HPB subregion size ÷ read information block size
[0088] Here, the information block size can be 4KB. In one embodiment, the HPB sub-region size can be 4KB.
[0089] Understandably, since the extended data segment includes k L2P mapping tables, and each L2P mapping table has N HPB entries, with each HPB entry comprising 8 bytes, the L2P mapping tables of the extended data segment occupy k × N × 8 bytes. Furthermore, the EHS header field and allocation length of the extended data segment together occupy 8 bytes. Also, for every 32 bytes included in the extended data segment, the total extended data segment length corresponding to the basic header segment of the first recommendation information needs to be incremented by 1.
[0090] Therefore, in the first recommendation information, the formula for calculating the total extended data segment length of the basic header segment is as follows:
[0091] Total extended data segment length = (k × N × 8 + 8) ÷ 32 + 1
[0092] In this embodiment of the disclosure, the total extended data segment length is taken as an integer.
[0093] As can be seen from the above, the allocation length in the extended data segment of the first recommendation information is related to the total extended data segment length of the basic header segment of the first recommendation information, and the total extended data segment length is related to the number of HPB regions in the first specific data segment.
[0094] In this embodiment of the disclosure, the data input UPIU includes data information from at least two HPB regions, and each HPB region corresponds to an L2P mapping table.
[0095] refer to Figure 9 , Figure 9 The UPIU format of the HPB read buffer command provided in the embodiments of this disclosure.
[0096] like Figure 9 As shown, the UPIU format of the HPB read buffer command includes a header field, second specific data segment information, and extended data segment information (EHS Field). The second specific data segment information is the CDB format of the HPB read buffer command (as shown in the rectangular dashed box). The 0th byte of the header field stores the transaction type, which is a binary string, such as "xx000001b", indicating that the transaction type is a command. The 8th byte of the header field stores the total extended data segment length (Total EHS Length).
[0097] The second specific data segment occupies 16 bytes. The operation code occupies byte 0 and can be a hexadecimal number, such as F9h, indicating the execution of the HPB read buffer command. The buffer ID occupies byte 1 and can be reserved (e.g., 00h, 01h) for reading the L2P mapping table, or other reserved entries. The most significant bit (MSB) to least significant bit (LSB) of HPB region #0 occupies bytes 2 and 3. The most significant bit (MSB) to least significant bit (LSB) of HPB subregion #0 occupies bytes 4 and 5. The allocation length occupies bytes 6 to 8. Control occupies byte 9 and can be a hexadecimal character, such as 00h. Bytes 10 to 15 can be reserved. Figure 9 In the CDB format of the HPB read buffer command, data information for an HPB region is included.
[0098] The extended data segment (EHS) occupies 32 bytes and can be an additional header segment. The EHS can contain an EHS header field and EHS data fields. The EHS header field occupies bytes 0 through 3 of the EHS. (See reference) Figure 7The EHS header field includes length information, EHS type, and EHS subtype. The length information occupies the 0th byte of the EHS header, the EHS type occupies the 1st byte, and the EHS subtype occupies the 2nd and 3rd bytes. Here, the EHS type value can be set to a user-defined value, such as 02h, to distinguish it from existing types and enable HPB functionality. The EHS subtype value can also be set, for example, to 00h.
[0099] refer to Figure 9 In the EHS data field, the allocation length_1 occupies bytes 4 to 7, and the HPB region data occupies bytes 8 to 31. Specifically, {region, subregion}#1 to {region, subregion}#k occupy bytes 8 to 31 of the EHS. k can be greater than or equal to 1. When k equals 1, the EHS data field includes data information for one HPB region. That is, the UPIU format of the HPB read buffer command includes data information for two HPB regions. It is understandable that the subsequent storage system sends the L2P mapping table to the host as a data input UPIU, which also includes data information for two HPB regions, with each HPB region corresponding to one L2P mapping table.
[0100] It should be noted that since the extended data segment information occupies 32 bytes, the total extended data segment length is 01h.
[0101] refer to Figure 10 , Figure 10 The data is input into the L2P mapping table in the UPIU for the embodiments of this disclosure.
[0102] like Figure 10 As shown, the data input UPIU contains k+1 L2P mapping tables, each with N HPB entries. Furthermore, the k+1 L2P mapping tables occupy 8×N+8×N×k bytes. Here, k is greater than or equal to 1. Combined with... Figure 9 and Figure 10 The data input UPIU includes L2P mapping tables corresponding to k+1 HPB regions, namely L2P mapping tables #0 to #k. For example, when k equals 1, the data input UPIU includes L2P mapping tables corresponding to two HPB regions. Specifically, the data input UPIU includes L2P mapping tables #0 and #1 corresponding to {region, subregion} #0 and {region, subregion} #1, respectively.
[0103] In this embodiment of the disclosure, the data input UPIU includes extended data segment information and second specific data segment information; the second specific data segment information is used to store data information of the first HPB region among at least two HPB regions, and the extended data segment information is used to store data information of other HPB regions besides the first HPB region.
[0104] refer to Figure 9 The second specific data segment is used to store the data information of the first HPB region among at least two HPB regions. Specifically, the second specific data segment is used to store the data information of {region, subregion}#0. The extended data segment is used to store the data information of the other HPB regions besides the first HPB region. Specifically, the extended data segment is used to store the data information of {region, subregion}#1 to {region, subregion}#k.
[0105] In this embodiment of the disclosure, the extended data segment information includes the allocation length (i.e., allocation length_1), and the data input UPIU also includes the total extended data segment length; the allocation length is related to the total extended data segment length, and the total extended data segment length is related to the number of HPB regions.
[0106] In this embodiment, the allocation length_1 in the extended data segment information of the data input UPIU can be calculated with reference to the calculation formula of the allocation length in the first recommendation information. However, it should be noted that the range of the value of k in the calculation formula of the allocation length_1 in the data input UPIU has been reset. That is, k is set to a positive integer.
[0107] In this embodiment of the disclosure, the total extended data segment length occupies the 8th byte of the header segment of the data input UPIU. Here, the data input UPIU includes different extended data segment information corresponding to different header segments with different total extended data segment length values. Specifically, refer to... Figure 8 If the input UPIU does not include extended data segment information, the total extended data segment length of the header segment is 00h. When the extended data segment information in the input UPIU includes 1 to 32 bytes, the total extended data segment length of the header segment can be greater than or equal to 01h. For details, refer to... Figure 9 In the case where the extended data segment information in the data input UPIU includes 32 bytes, the total extended data segment length of the header segment is equal to 01h. In other embodiments, when the extended data segment information in the data input UPIU includes 33 to 64 bytes, the total extended data segment length of the header segment can be equal to 02h.
[0108] It is important to note that the value of the HPB region k is related to the total length of the header extension data segment. Given a fixed total extension data segment length, the range of values for k is as follows.
[0109] When the total extended data segment length is equal to 01h, 0 <k≤((32-8) / 4);
[0110] When the total extended data segment length is equal to 02h, 0 <k≤[((32-8) / 4)+32 / 4];
[0111] When the total extended data segment length is equal to 03h, 0 <k≤[((32-8) / 4)+32 / 4×2];
[0112] For example, when the total extended data segment length of the header segment is equal to 03h, the maximum value of k can be 22. In this case, the data input to the UPIU can include data information from a maximum of 23 HPB regions.
[0113] Since k is related to the number of HPB regions and k is related to the allocation length _1, the allocation length _1 of the extended data segment information is related to the total extended data segment length of the header segment, and the total extended data segment length of the header segment is related to the number of HPB regions in the data input UPIU.
[0114] In this embodiment of the disclosure, sending the L2P mapping table using a first operating mode or a second operating mode includes:
[0115] Obtain the memory status of the target device;
[0116] Based on the memory status of the target device, determine whether to use the first or second operating mode to send the L2P mapping table.
[0117] In this embodiment of the disclosure, the target device can be a host. The storage system can determine whether to send the L2P mapping table to the host using a first operating mode or a second operating mode based on the acquired memory status of the host. This allows the host to obtain the L2P mapping table more flexibly.
[0118] In this embodiment of the disclosure, determining whether to send the L2P mapping table using a first operating mode or a second operating mode based on the obtained memory status of the target device includes:
[0119] When the memory occupancy rate of the target device exceeds the first threshold, the L2P mapping table is sent using the first operation mode.
[0120] When the memory occupancy rate of the target device is less than or equal to the first threshold, the L2P mapping table is sent using the second operation mode.
[0121] In this embodiment, the storage system can send 1 to 2 L2P mapping tables to the host in the first operating mode, and more than 2 L2P mapping tables to the host in the second operating mode. Therefore, when the host's memory utilization rate is greater than a first threshold, i.e., when the host's available memory is low, the storage system can use the first operating mode to send L2P mapping tables to the host. When the host's memory utilization rate is less than or equal to the first threshold, i.e., when the host's available memory is high, the storage system can use the second operating mode to send L2P mapping tables to the host. The first threshold can be set based on the memory utilization of each L2P mapping table. This avoids the situation where the storage system continues to send a large number of L2P mapping tables to the host when the host's available memory is low, causing the host to be unable to obtain all the L2P mapping tables.
[0122] This disclosure provides a method for operating a host, including:
[0123] Receive at least one first recommendation message or a second recommendation message;
[0124] Upon receiving the first recommendation information, the first recommendation information is decoded to obtain at least one L2P mapping table;
[0125] Upon receiving the second recommendation information, an HPB read buffer command is sent; the HPB read buffer command includes data information from at least two HPB regions.
[0126] like Figure 3 As shown, the host receives a response from the storage system containing a first recommendation message, which includes at least one L2P mapping table, such as L2P mapping table #0. Upon receiving the first recommendation message, the host can decode it to obtain L2P mapping table #0.
[0127] like Figure 4 As shown, the host receives a response from the storage system consisting of three second recommendation messages, each including data information for an HPB region. Specifically, the first second recommendation message includes data information for {region, subregion}#0, the second includes data information for {region, subregion}#1, and the third includes data information for {region, subregion}#2. After receiving the three second recommendation messages, the host sends an HPB read buffer command to the storage system. This HPB read buffer command also includes data information for {region, subregion}#0, {region, subregion}#1, and {region, subregion}#2.
[0128] In this embodiment of the disclosure, after sending the HPB read buffer command, the host's operation method further includes:
[0129] Receive the data input UPIU sent by the target device in response to the HPB read buffer command;
[0130] Decoded data is input into UPIU to obtain at least two L2P mapping tables, each corresponding to an HPB region.
[0131] In this embodiment of the disclosure, the target device of the host can be a storage system.
[0132] like Figure 4 As shown, the host receives the data input UPIU sent by the storage system in response to the HPB read buffer command. This data input UPIU includes three L2P mapping tables: L2P mapping table #0, L2P mapping table #1, and L2P mapping table #2. Specifically, L2P mapping table #0 corresponds to {region, subregion} #0, L2P mapping table #1 corresponds to {region, subregion} #1, and L2P mapping table #2 corresponds to {region, subregion} #2. The host decodes the data input UPIU to obtain these three L2P mapping tables.
[0133] In this embodiment of the disclosure, the HPB read buffer command includes extended data segment information and second specific data segment information. The second specific data segment information is used to store data information of the first HPB region among at least two HPB regions, and the extended data segment information is used to store data information of other HPB regions besides the first HPB region.
[0134] like Figure 9 As shown, the second specific data segment information is used to store the data information of {region, subregion}#0, and the extended data segment information is used to store the data information of {region, subregion}#1 to {region, subregion}#k.
[0135] In this embodiment of the disclosure, the extended data segment information includes the allocation length, which is related to the number of HPB regions.
[0136] In this embodiment of the disclosure, before receiving at least one first recommendation message or a second recommendation message, the host's operation method further includes:
[0137] Send memory status information to the target device.
[0138] In this embodiment of the disclosure, the host can send its own memory status to the storage system. After receiving the host's memory status, the storage system can determine whether to use a first operating mode or sample a second operating mode to send the L2P mapping table to the host.
[0139] This disclosure provides a storage system, including:
[0140] A storage device and a controller, wherein the controller is configured to perform the operation method of the storage system in the above embodiments.
[0141] refer to Figure 11 , Figure 11 A block diagram of a storage system provided for an embodiment of this disclosure.
[0142] like Figure 11 As shown, the storage system 1100 includes a controller 1101 and a storage device 1102, wherein the storage device 1102 includes a plurality of storage blocks 1103, and each storage block 1103 includes a plurality of storage cells. At least one of the plurality of storage blocks 1103 in the storage device 1102 is assigned to an HPB region, which refers to the logical storage space in which the storage blocks 1103 in the storage device 1102 are functionally assigned or allocated. The HPB region may include storage space in which data items corresponding to mapping information transmitted from the storage system 1100 to the host are stored. The HPB region may be further divided into a plurality of HPB sub-regions. The controller 1101 may transmit to the host mapping information about the data items in the corresponding storage block 1103 that is set as an HPB region.
[0143] Storage device 1102 operates under the control of controller 1101. Storage device 1102 includes an array of memory cells having a plurality of memory blocks 1103. In some embodiments, storage device 1102 may be a NAND memory.
[0144] The controller 1101 can receive write commands, read commands, etc., from the host, and control the storage device 1102 based on the received commands. Specifically, the controller 1101 can generate commands for controlling the operation of the storage device 1102 and transmit the commands to the storage device 1102.
[0145] Storage device 1102 is configured to receive commands and addresses from controller 1101 and access a region in the memory cell array selected by that address. That is, storage device 1102 performs an internal operation corresponding to the command on the region selected by that address.
[0146] This disclosure provides a host configured as follows:
[0147] Perform the host operation method described in the above embodiments.
[0148] refer to Figure 12 , Figure 12 A block diagram of a host provided in an embodiment of this disclosure.
[0149] like Figure 12As shown, host 1200 may include a buffer region 1201, and at least a portion of buffer region 1201 may include a data buffer 1202 for HPB functionality. HPB functionality refers to the function of caching at least a portion of the L2P mapping table used in the storage system to maintain the relationship between logical addresses and physical addresses in the data buffer 1202 of host 1200 and using the L2P mapping table. To improve random access performance, the L2P mapping table can be stored in the data buffer 1202 of host 1200 during read commands or other memory operations. Thus, host 1200 can achieve fast access by reading the L2P mapping table in the data buffer 1202 of host 1200 when accessing the storage system.
[0150] The host 1200 may include any of the following electronic devices: portable electronic devices such as mobile phones, MP3 players, and laptop computers; or non-portable electronic devices such as desktop computers, game consoles, TVs, and projectors, i.e., wireless or wired electronic devices. Additionally, the host 1200 includes at least one operating system, which typically manages and controls the functions and operations of the host 1200 and uses a storage system to facilitate interaction between the host 1200 and the user. Here, the operating system may support functions and operations corresponding to the user's intended use and purpose. For example, based on the portability of the host 1200, the operating system can be categorized into general-purpose operating systems and mobile operating systems. Furthermore, based on the user's usage environment, the general-purpose operating system can be categorized into personal operating systems and enterprise operating systems. For example, a personal operating system may support service provision functions for ordinary users and includes Windows, Chrome, etc. An enterprise operating system may ensure and support high performance and includes Windows Server, Linux, Unix, etc. Additionally, the mobile operating system may provide functions and power-saving features for user-supported system mobility services and includes Android, iOS, Windows Mobile, HarmonyOS, etc. Host 1200 may include multiple operating systems and run the operating systems to utilize the storage system to perform operations in response to user requests. Here, host 1200 transmits multiple commands corresponding to user requests to the storage system, so the storage system performs the operations corresponding to the commands, i.e., the operations corresponding to the user requests.
[0151] This disclosure provides a data processing system, including:
[0152] Storage system and host; the storage system is configured to send the L2P mapping table to the host using either a first operating mode or a second operating mode;
[0153] In the first operating mode, the storage system is configured to send first recommendation information to the host; wherein the first recommendation information includes at least one L2P mapping table;
[0154] In the second operating mode, the storage system is configured to send a data input UPIU to the host in response to an HPB read buffer command sent by the host; the data input UPIU includes at least two L2P mapping tables.
[0155] refer to Figure 13 , Figure 13 A block diagram of a data processing system provided in an embodiment of this disclosure.
[0156] like Figure 13 As shown, the data processing system 1300 may include a host 1301, which may be connected or coupled to a storage system 1302. For example, the host 1301 and the storage system 1302 may be coupled to each other via a data bus, host cable, etc., to perform data communication.
[0157] Storage system 1302 includes controller 1303 and storage device 1304, at least one storage block 1305 in storage device 1304 can be allocated to HPB area. When the L2P mapping table is transferred to host 1301, the speed of read operations of host 1301 on reading data items corresponding to the L2P mapping table can be improved.
[0158] In this embodiment of the disclosure, the storage system is further configured to send at least one second recommendation message to the host; each second recommendation message includes data information of at least one HPB region.
[0159] In this embodiment of the disclosure, the host is configured as follows:
[0160] Upon receiving the first recommendation information, decoding the first recommendation information yields at least one L2P mapping table;
[0161] Upon receiving the second recommendation information, an HPB read buffer command is sent to the storage system; the HPB read buffer command includes data information from at least two HPB regions.
[0162] In this embodiment of the disclosure, the host is further configured to: send memory status information to the storage system;
[0163] The storage system is also configured to send the L2P mapping table to the host based on whether a first or second operating mode is used, depending on memory availability.
[0164] This disclosure provides a storage system, a host, an operating method, and a data processing system. The operating method of the storage system includes: sending a logical-to-physical (L2P) mapping table using a first operating mode or a second operating mode; wherein the first operating mode includes: sending first recommendation information; the first recommendation information includes at least one L2P mapping table; the second operating mode includes: in response to a Host Performance Enhancer (HPB) read buffer command, sending a Data Input Universal Flash Storage Protocol Information Unit (UPIU); the data input UPIU includes at least two L2P mapping tables. In this disclosure, the storage system sends the L2P mapping table using either the first or second operating mode. In the first operating mode, the storage system directly sends the recommendation information including the L2P mapping table to the host, allowing the host to avoid sending an HPB read buffer command to the storage system, thereby reducing the number of data interactions between the storage system and the host. In the second operating mode, the storage system, in response to an HPB read buffer command, sends a Data Input UPIU including at least two L2P mapping tables to the host, also reducing the number of data interactions between the storage system and the host. Thus, the operation method of the storage system provided in this embodiment effectively improves the reading efficiency of the L2P mapping table, thereby improving random read performance and enhancing user experience.
[0165] It should be understood that the phrase "an embodiment" or "one embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this disclosure. Therefore, "in one embodiment" or "one embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this disclosure, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this disclosure. The sequence numbers of the above-described embodiments are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0166] The above description is merely a preferred embodiment of this disclosure and does not limit the patent scope of this disclosure. Any equivalent structural transformations made using the contents of this specification and drawings under the inventive concept of this disclosure, or direct / indirect applications in other related technical fields, are included within the patent protection scope of this disclosure.
Claims
1. A method for operating a storage system, characterized in that, include: Send the logic-to-physical (L2P) mapping table using either the first or second operating mode; The first operation mode includes: sending first recommendation information; the first recommendation information includes at least one of the L2P mapping tables; The second operating mode includes: in response to a host performance enhancer (HPB) read buffer command, sending a data input generic flash storage protocol information unit (UPIU); the data input UPIU includes at least two of the L2P mapping tables.
2. The method according to claim 1, characterized in that, The first recommendation information includes data information for at least one HPB region, and each HPB region corresponds to one L2P mapping table.
3. The method according to claim 2, characterized in that, The first recommendation information includes an extended data segment and a first specific data segment. The extended data segment is used to store the L2P mapping table; the first specific data segment is used to store the data information of the HPB region.
4. The method according to claim 3, characterized in that, The extended data segment includes an allocation length, and the first recommendation information also includes a total extended data segment length; the allocation length is related to the total extended data segment length, and the total extended data segment length is related to the number of HPB regions.
5. The method according to claim 1, characterized in that, The data input UPIU includes data information from at least two HPB regions, with each HPB region corresponding to one L2P mapping table.
6. The method according to claim 5, characterized in that, The data input UPIU includes extended data segment information and second specific data segment information; the second specific data segment information is used to store the data information of the first HPB region among the at least two HPB regions, and the extended data segment information is used to store the data information of the other HPB regions besides the first HPB region.
7. The method according to claim 6, characterized in that, The extended data segment information includes the allocation length, and the data input UPIU also includes the total extended data segment length; the allocation length is related to the total extended data segment length, and the total extended data segment length is related to the number of HPB regions.
8. The method according to claim 1, characterized in that, Before sending data input to the UPIU in response to the HPB read buffer command, the method further includes: Send at least one second recommendation message; each second recommendation message includes data information for at least one HPB region.
9. The method according to claim 1, characterized in that, Sending the L2P mapping table using the first or second operating mode includes: Obtain the memory status of the target device; Based on the memory status of the target device, determine whether to send the L2P mapping table using the first operating mode or the second operating mode.
10. The method according to claim 9, characterized in that, The step of determining whether to use a first operating mode or a second operating mode to send the L2P mapping table based on the obtained memory status of the target device includes: When the memory occupancy rate of the target device is greater than the first threshold, the L2P mapping table is sent using the first operation mode; When the memory occupancy rate of the target device is less than or equal to the first threshold, the L2P mapping table is sent using the second operation mode.
11. A method for operating a host computer, characterized in that, include: Receive at least one first recommendation message or a second recommendation message; Upon receiving the first recommendation information, the first recommendation information is decoded to obtain at least one L2P mapping table; Upon receiving the second recommendation information, an HPB read buffer command is sent; the HPB read buffer command includes data information from at least two HPB regions.
12. The method according to claim 11, characterized in that, After sending the HPB read buffer command, the method further includes: Receive the data input UPIU sent by the target device in response to the HPB read buffer command; Decoding the data input to UPIU yields at least two L2P mapping tables, each of which corresponds to one of the HPB regions.
13. The method according to claim 11, characterized in that, The HPB read buffer command includes extended data segment information and second specific data segment information. The second specific data segment information is used to store the data information of the first HPB region among the at least two HPB regions, and the extended data segment information is used to store the data information of the other HPB regions besides the first HPB region.
14. The method according to claim 13, characterized in that, The extended data segment information includes an allocation length, which is related to the number of HPB regions.
15. The method according to claim 11, characterized in that, Before receiving at least one first recommendation message or a second recommendation message, the method further includes: Send memory status information to the target device.
16. A storage system, characterized in that, include: A storage device and a controller, the controller being configured to perform the operating method according to any one of claims 1 to 10.
17. A host computer, characterized in that, Configured as: Perform the operation method according to any one of claims 11 to 15.
18. A data processing system, characterized in that, include: Storage system and host; The storage system is configured to send an L2P mapping table to the host using a first operating mode or a second operating mode; In the first operating mode, the storage system is configured to send first recommendation information to the host; wherein the first recommendation information includes at least one of the L2P mapping tables; In the second operating mode, the storage system is configured to send a data input UPIU to the host in response to an HPB read buffer command sent by the host; the data input UPIU includes at least two of the L2P mapping tables.
19. The data processing system according to claim 18, characterized in that, The storage system is also configured to send at least one second recommendation message to the host; each second recommendation message includes data information for at least one HPB region.
20. The data processing system according to claim 19, characterized in that, The host is configured as follows: Upon receiving the first recommendation information, decode the first recommendation information to obtain at least one L2P mapping table; Upon receiving the second recommendation information, an HPB read buffer command is sent to the storage system; the HPB read buffer command includes data information from at least two HPB regions.
21. The data processing system according to claim 18, characterized in that, The host is also configured to send memory status information to the storage system; The storage system is also configured to: determine, based on the memory situation, whether to use a first operating mode or a second operating mode to send the L2P mapping table to the host.
Citation Information
Patent Citations
Method and device for encrypting and decrypting physical address information
CN113704145A
Data processing method for improving access performance of memory device and data storage device utilizing the same
US20210397563A1
Method of demand scrubbing by placing corrected data in memory-side cache
US20220066869A1