US10565103B2ActiveUtilityA1

Method for creating multi-namespace and method for accessing data therein

58
Assignee: SILICON MOTION INCPriority: Dec 29, 2016Filed: Nov 6, 2017Granted: Feb 18, 2020
Est. expiryDec 29, 2036(~10.5 yrs left)· nominal 20-yr term from priority
Inventors:Po-Sheng Chou
G06F 2212/1044G06F 2212/1056G06F 2212/7201G06F 12/1009G06F 3/064G06F 3/0604G06F 3/0638G06F 12/0246G06F 2212/7202G06F 3/0679G06F 2212/2022G06F 2212/657
58
PatentIndex Score
0
Cited by
5
References
7
Claims

Abstract

A method for creating a multi-namespace includes steps of: returning information of a namespace data structure according to a query command from, wherein the information of the namespace data structure comprises a maximum number and a total capacity of supportable namespace; receiving and determining whether a create command for creating a plurality of namespaces is correct, wherein the create command comprises a number of a namespace and a capacity of the namespace; and if the determination is correct, creating a global host logical-flash physical address (H2F) mapping table according to the create command, wherein a number of the global H2F mapping tables is independent of the maximum number of the supportable namespaces and the number of namespace. A method for accessing data in a multi-namespace is also provided.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A method for creating a multi-namespace, comprising steps of:
 returning information of a namespace data structure according to a query command, wherein the information of the namespace data structure comprises a maximum number and a total capacity of supportable namespace; 
 receiving and determining whether a create command for creating a plurality of namespaces is correct, wherein the create command comprises a number of a namespace and a capacity of the namespace; and 
 if the determination is correct, creating a global host logical-flash physical address (H2F) mapping table according to the create command, wherein a number of the global H2F mapping tables is independent of the maximum number of the supportable namespaces and the number of namespace. 
 
     
     
       2. The method for creating a multi-namespace according to  claim 1 , further comprising a step of:
 if the determination is correct, returning an acknowledgment message to a host. 
 
     
     
       3. The method for creating a multi-namespace according to  claim 1 , further comprising a step of:
 if the determination is not correct, returning a failure message to a host. 
 
     
     
       4. The method for creating a multi-namespace according to  claim 1 , wherein the step of determining whether the create command is correct comprises steps of:
 determining whether the number of the namespace is smaller than or equal to the maximum number of the supportable namespace; and 
 determining whether a sum of the capacity of the namespace is smaller than or equal to the total capacity of the supportable namespace. 
 
     
     
       5. The method for creating a multi-namespace according to  claim 1 , wherein a size of the global H2F mapping table is proportional to a sum of the capacity of the number of the namespaces to be created. 
     
     
       6. The method for creating a multi-namespace according to  claim 1 , wherein the global H2F mapping table is partitioned into a plurality of sectors, and a total number of the sectors is equal to the number of namespace. 
     
     
       7. The method for creating a multi-namespace according to  claim 1 , wherein the global H2F mapping table records correspondences among a plurality of logical block addresses (LBAs), a plurality of block identifiers (block IDs) and a plurality of page identifiers (page IDs).

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.