Patent ID: 8645460

Claim:
A management method for an object-based storage system comprising a client, an Object-Based Storage Device (OBSD), a metadata server and an interconnect network, wherein the interconnect network connects the client, the OBSD, and the metadata server; the OBSD comprises a root object, a partition object, a collection object, an user object, and a function object; and the function object comprises a user function object and a system function object; comprising the OBSD responding to a client request for the user object; the OBSD calling the user function object to execute the client request; the system function object reading the root object attributes and the real time system status information of the OBSD and determining whether the object-based storage system is in a specific condition; wherein, if the object-based storage system is in the specific condition, the system function object performing a predetermined specific system management functions; and the user function object is associated with zero or a plurality of user objects, wherein the method of association comprises setting a function object ID (identifier) field in the user object attribute, wherein said function object ID stores a storage function object ID, and said function object ID identifies a specific function object; executing a CREATE USER/SYSTEM FUNCTION OBJECT command, wherein the execution of said CREATE USER/SYSTEM FUNCTION OBJECT command comprises: setting a function object byte length and a requested function object ID byte length in the CREATE USER/SYSTEM FUNCTION OBJECT command's CDB, wherein said requested function object's byte length defines a byte length of the function object's content to be downloaded; the client sending the CREATE USER/SYSTEM FUNCTION OBJECT command to the OBSD, and simultaneously uploading a content of the user/system function object; wherein the content of the user/system function object to be created is encapsulated in a command data or a parameter data segment in a data output buffer area; the OBSD reading the CDB, and if the value of the requested function object ID is “0,” the OBSD randomly assigning a function object ID to the uploaded function object; and if the value of the requested function object ID is not “0,” the OBSD assigning the function object ID to the user/system function object to be created upon meeting following function object ID assignment conditions, wherein in the partition, the following circumstances are not permitted: a) at a moment, a function object ID identifies a plurality of function objects; or b) the function object ID is the same as an existing collection object ID or a user object ID; and if the value of the requested function object ID is not “0” and the OBSD is unable to assign the requested function object ID to the function object to be created, the OBSD returning an error information to the client without creating a function object.