CN106484820A - A kind of renaming method, access method and device - Google Patents

A kind of renaming method, access method and device Download PDF

Info

Publication number
CN106484820A
CN106484820A CN201610852820.2A CN201610852820A CN106484820A CN 106484820 A CN106484820 A CN 106484820A CN 201610852820 A CN201610852820 A CN 201610852820A CN 106484820 A CN106484820 A CN 106484820A
Authority
CN
China
Prior art keywords
server
visited
information
name
renaming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610852820.2A
Other languages
Chinese (zh)
Other versions
CN106484820B (en
Inventor
章鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610852820.2A priority Critical patent/CN106484820B/en
Publication of CN106484820A publication Critical patent/CN106484820A/en
Application granted granted Critical
Publication of CN106484820B publication Critical patent/CN106484820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files

Abstract

A kind of renaming method, access method and device, are related to field of computer technology, decrease IO number, improve the efficiency of renaming.The method is applied to the server in object storage system, including:Receive the renaming request that client device sends, renaming request carries the first information, the second information and renaming mark, renaming identifies, for instruction, the first information replaced with the second information;Server is after renaming mark is detected, the destination object name including the first information is obtained from mapping table, mapping table includes the corresponding relation of destination object name and the feature of destination object, the feature of destination object includes the general unique identifier UUID of destination object, and the UUID of destination object is used for indicating the storage address of the metadata data of destination object;The first information in destination object name is replaced with the second information by server.

Description

A kind of renaming method, access method and device
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of renaming method, access method and device.
Background technology
Simple storage service (English:Simple Storage Service, referred to as:S3) agreement adopts bucket (English: Bucket) object (English:Object Layer 2 data model data storage), wherein, bucket can be regarded as catalogue, and object is permissible It is regarded as file.This agreement has given up directory tree structure, and has simplified read-write semanteme, is suitable to store magnanimity, non-structured, reading More than the data write.Based on S3 agreement, user can be using Uniform Resource Identifier (English:Uniform Resource Identifier, referred to as:URI) search related data, that is, user is according to directory search associated documents.
At present, in S3 agreement, the renaming method of catalogue is:(1), create new directory, and the directory name of this new directory is different In former directory name;(2), the metadata data of objects all in former catalogue is all copied in new directory (also referred to as depth is copied The metadata data of all objects in the former catalogue of shellfish);(3) all objects of former catalogue and its inclusion, are deleted.Simply, mesh The renaming method of record mainly includes backup procedure and deletion process.The life again of the renaming method of file and catalogue in S3 agreement Name method is similar to, and also includes backup procedure and deletion process.
By executing backup procedure and deleting process, catalogue or the purpose of file renaming can be reached, but, backed up Journey and process of deleting can initiating system input/output (English:Input/Output, referred to as:IO) number of operations is excessive, renaming The low problem of efficiency.
Content of the invention
The embodiment of the present invention provides a kind of renaming method, access method and device, effectively solves existing heavy life The problem that IO number is excessive, renaming efficiency is low that name method leads to.
In a first aspect, providing a kind of renaming method, it is applied to the server in object storage system, this server is connecing Receive client device transmission carry the first information, the second information and renaming mark renaming request after, from mapping The destination object name including the first information is obtained, renaming identifies, for instruction, the first information replaced with the second letter in relation table Breath, mapping table includes the corresponding relation of destination object name and the feature of destination object, and the feature of destination object includes target The general unique identifier UUID of object, and the UUID of destination object is for indicating the storage of the metadata data of destination object Address, then, the first information in destination object name is replaced with the second information by this server.
Server storage in the embodiment of the present invention has mapping table, because this mapping table includes destination object Name and the corresponding relation of the feature of destination object, and the feature of destination object include for the metadata indicating this destination object with The UUID of the storage address of data, therefore, server can get the metadata sum of destination object from mapping table According to storage address, and get the data of destination object according to this storage address.Metadata data due to destination object Storage address in the server is constant, and therefore, server, can be directly by mapping table after receiving renaming request The first information of middle destination object name replaces with the second information, and need not execute the process of backup and the process deleted, effectively Reduce system I/O operations number of times, improve the efficiency of renaming.
Optionally, in a kind of possible implementation of the embodiment of the present invention, server is by destination object name The method that one information replaces with the second information includes:The first directory name in destination object name is replaced with the second catalogue by server Name;Or, destination object name is replaced with the first object name by server.
For server, object can be a certain file or a certain catalogue.If object is file, should Object name includes path (directory name) and the filename that this document is belonged to;If object is parent directory, this object entitled father mesh Record name;If object is the subdirectory of parent directory, this object name includes parent directory name and subdirectory name.The visitor relative with server When family end equipment shows certain first class catalogue, only show the directory name of this grade of catalogue, in the same manner, client device shows a certain file When, only show the filename of this document.Therefore, user is it is seen that the file of the directory name of current directory or current file Name.After client device receives the instruction of user input, can send renaming according to the instruction of user input to server please Ask, the request of this renaming includes directory name, or includes directory name and filename.Accordingly, server can be according to renaming The object name renaming asked the directory name meeting condition or meet condition.
So, the first information in the embodiment of the present invention is the former object name of a certain object, and the second information is this object New object name;Or, the first information is the former directory name in a certain object name, and the second information is the new directory in this object name Name.
Server in renaming method provided in an embodiment of the present invention can directly be repaiied after renaming mark is detected Change the directory name in the object name meeting condition it is also possible to direct modification meets the object name of condition, the mistake of copy need not be executed Journey and the process deleted, reduce system I/O operations number of times.
Optionally, in the alternatively possible implementation of the embodiment of the present invention, server is by destination object name After the first information replaces with the second information, also send response message to client device, response message is used for representing successfully will The first information replaces with the second information.
Server sends to client device and successfully the response of first information RNTO second information disappears for representing Breath, is easy to client device and shows the second information so that user is according to the second message reference object.
Second aspect, provides a kind of access method, is applied to the server in object storage system, and this server is receiving To client device send carry the object name of object to be visited and the access request of access identities after, from mapping table The middle general unique identifier UUID obtaining to be visited object corresponding with object name, it is to be visited that access identities are used for instruction reading The data of object, mapping table includes the corresponding relation of the object name of object to be visited and the feature of object to be visited, waits to visit Ask that the feature of object includes the UUID of object to be visited, the UUID of object to be visited be used for indicating the metadata of object to be visited and The storage address of data, then, server, according to the UUID of object to be visited, reads the data of object to be visited, and to client End equipment sends access response, in order to notify client device successfully to read the data of object to be visited.
Because the server storage in the embodiment of the present invention has mapping table, and this mapping table include to be visited The corresponding relation of the feature of the object name of object and object to be visited, the feature of object to be visited includes to be visited for indicating this The UUID of the storage address of metadata data of object, therefore, server, after access identities is detected, can close from mapping It is the storage address of the metadata data getting to be visited object corresponding with the object name of object to be visited in table, and root Get the data of object to be visited according to this storage address.Metadata data depositing in the server due to object to be visited Storage address keeps constant, and therefore, even if the object name of object to be visited there occurs change in mapping table, server also can Enough get the data of this object to be visited and the storage address of metadata, and then read the data of this object to be visited.
The third aspect, provides a kind of server, and this server application is in object storage system.Specifically, this server bag Include receiving unit, acquiring unit and replacement unit.
The function that unit module provided in an embodiment of the present invention is realized is specific as follows:
Above-mentioned receiving unit, for receiving the renaming request of client device transmission, renaming request carries the first letter Breath, the second information and renaming mark, renaming identifies, for instruction, the first information is replaced with the second information;Above-mentioned acquisition Unit, for, after above-mentioned receiving unit receives renaming mark, obtaining the mesh including the first information from mapping table Mark object name, mapping table includes the corresponding relation of destination object name and the feature of destination object, the feature bag of destination object Include the general unique identifier UUID of destination object;Above-mentioned replacement unit, for the target pair getting above-mentioned acquiring unit As the first information in name replaces with the second information.
Further, in a kind of implementation of the embodiment of the present invention, above-mentioned replacement unit specifically for:By target pair As the first directory name in name replaces with the second directory name;Or, destination object name is replaced with the first object name.
Further, in a kind of implementation of the embodiment of the present invention, server also will include transmitting element, this transmission Unit is used for, after the first information in destination object name is replaced with the second information by replacement unit, sending to client device Response message, the first information is successfully replaced with the second information for representing by response message.
The embodiment of the present invention third aspect and its specific descriptions of various implementation, may be referred to first aspect and its each Plant the detailed description in implementation;And, the third aspect and its beneficial effect of various implementation, may be referred to first party Beneficial effect analysis in face and its various implementation, here is omitted.
Fourth aspect, provides a kind of server, and this server application is in object storage system.Specifically, this server bag Include receiving unit, acquiring unit, reading unit and transmitting element.
The function that unit module provided in an embodiment of the present invention is realized is specific as follows:
Receiving unit, for receiving the access request of client device transmission, described access request carries object to be visited Object name and access identities, described access identities be used for instruction read described object to be visited data;Acquiring unit, is used for After described receiving unit receives described access identities, obtain the institute receiving with described receiving unit from mapping table State the general unique identifier UUID of the corresponding described object to be visited of object name, described mapping table includes described to be visited The corresponding relation of the feature of the object name of object and described object to be visited, the feature of described object to be visited include described in wait to visit Ask the UUID of object;Reading unit, the UUID of the object described to be visited for being got according to described acquiring unit, reads institute State the data of object to be visited;Transmitting element, for after the data of the described reading unit described object to be visited of reading, to institute State client device and send access response, in order to notify described client device successfully to read the data of object to be visited.
Further, in a kind of implementation of the embodiment of the present invention, the feature of object to be visited also include described in treat Access the last modification time of object, the message digest algorithm MD5 value of described object to be visited and described to be visited right As taking at least one of size of memory space.
Embodiment of the present invention fourth aspect and its specific descriptions of various implementation, may be referred to second aspect and its each Plant the detailed description in implementation;And, fourth aspect and its beneficial effect of various implementation, may be referred to second party Beneficial effect analysis in face and its various implementation, here is omitted.
5th aspect, provides a kind of server, and this server includes communication interface, processor and memorizer;Wherein, communicate Interface, processor and memorizer are connected by system bus;Memorizer is used for storing computer instruction, and processor is deposited for execution The computer instruction of reservoir storage, so that renaming as described in above-mentioned first aspect and its various implementation for the server execution The method or execution access method as described in above-mentioned second aspect and its various implementation.
6th aspect, provides a kind of computer-readable recording medium, and this computer-readable recording medium includes one or many Individual program code;When the processor of server is when executing this program code, the execution of this server as above-mentioned first aspect and its Access as described in above-mentioned second aspect and its various implementation for the renaming method or execution described in various implementations Method.
Optionally, in any of the above-described aspect and its various implementation, the mapping table object name that is stored with is right with this As the corresponding relation of the feature of the object of name instruction, wherein, the feature of object includes the general unique identifier UUID of object, also The last modification time of object, the message digest algorithm MD5 value of object and object can be included and take memory space At least one of size.
If the feature of object also include the last modification time of object, the message digest algorithm MD5 value of object and Object takies at least one of size of memory space, then searching from this mapping table that server can be convenient is full The object name of a certain condition of foot, and then improve the efficiency of data obtaining object and accuracy rate.
In embodiments of the present invention, the name of above-mentioned server does not constitute restriction to equipment or functional module itself, in reality During border is realized, these equipment or functional module can be occurred with other titles.If the function of each equipment or functional module and The embodiment of the present invention is similar to, and belongs within the scope of embodiment of the present invention claim and its equivalent technologies.
The specific descriptions of the embodiment of the present invention the 5th aspect, the 6th aspect and its various implementation, may be referred to first Describing in detail in aspect and its various implementation or the detailed description in reference second aspect and its various implementation; And, the beneficial effect of the 5th aspect, the 6th aspect and its various implementation, may be referred to first aspect and its various realization Beneficial effect analysis in mode or the beneficial effect analysis in reference second aspect and its various implementation, herein no longer Repeat.
These aspects of the embodiment of the present invention or other aspects in the following description can more straightforward.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of inventive embodiments.
Fig. 1 is the structural representation of the catalogue that existing client device simulates according to object name;
Fig. 2 is the structural representation of file renaming in prior art;
Fig. 3 is the structural representation of catalogue renaming in prior art;
Fig. 4 is the structural representation of communication system provided in an embodiment of the present invention;
Fig. 5 is the interactive cooperation schematic diagram in communication system provided in an embodiment of the present invention between each equipment;
Fig. 6 is the schematic flow sheet of renaming method provided in an embodiment of the present invention;
Fig. 7 is the structural representation of the file renaming in the embodiment of the present invention;
Fig. 8 is the structural representation of the catalogue renaming in the embodiment of the present invention;
Fig. 9 is the schematic flow sheet of access method provided in an embodiment of the present invention;
Figure 10 is the structural representation one of server provided in an embodiment of the present invention;
Figure 11 is the structural representation two of server provided in an embodiment of the present invention;
Figure 12 is the structural representation three of server provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is retouched in detail State.
Below describe in, in order to illustrate rather than in order to limit it is proposed that such as particular system structure, interface, technology it The detail of class, thoroughly cut to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no this The embodiment of the present invention can also be realized in the other embodiments of a little details.In other situations, omit to well-known The detailed description of device, circuit and method, in order to avoid unnecessary details hinders the description of the embodiment of the present invention.
Wherein, term "and/or" in the embodiment of the present invention, only a kind of incidence relation of description affiliated partner, represents There may be three kinds of relations, for example, A and/or B, can represent:, there is A and B in individualism A simultaneously, individualism B these three Situation.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing and " second " etc. are for area Not different objects, rather than be used for limiting particular order.
For server, object can be a certain file or a certain catalogue.
Catalogue is in order to realize object storage system (English:Object Based Storage System) TOC level And rights management.If in server storage object be catalogue, the entitled directory name of object of this object, directory name typically with "/" ends up, for example:The corresponding object of catalogue dir 1 is entitled:Dir 1/, the entitled dir 1/ of the corresponding object of its subdirectory dir 2 The entitled dir 1/dir 2/ of the corresponding object of subdirectory dir 3 of dir 2/ (plus the directory name of parent directory), subdirectory dir 2 dir‐3/.
If the object of storage is file in server, the object name of this object includes the path (mesh that this document is belonged to Record name) and filename, and can not be ended up with "/".For example, the object entitled dir 1/dir 2/ of the catalogue of file obj 1 ownership Dir 3/, the then corresponding object of file obj 1 entitled dir 1/dir 2/dir 3/obj 1.
Object storage system possesses storage area network (English:Storage Area Network, writes a Chinese character in simplified form:SAN height) Feature and network attached storage (English that speed directly accesses:Network Attached Storage, writes a Chinese character in simplified form:NAS data) Shared feature, there is provided the storage architecture of the data sharing of high reliability, professional platform independence and safety.Object storage system System is also equipped with the feature of magnanimity extended capability, safe and reliable and efficient fusion it is adaptable to mass data storage and centralized backup should With scene, Large Copacity can be brought for client, highly reliable, easy care, the easily value of extension.
S3 agreement is a kind of object storage agreement, and this agreement has been given up directory tree structure, employed a barrel object and (be appreciated that For directory object) Layer 2 data model data storage, and it is semantic to have simplified read-write, is suitable to store magnanimity, destructuring , read more than the data write.But, current S3 agreement does not have direct object renaming characteristic, and the renaming of object can only By creating new object, by old object copies to new object and delete the sequence of operations such as old object and in a disguised form complete.
Additionally, current S3 agreement does not have directly multistage directory management function yet, the realization of multistage catalogue is typically logical Cross special separator in object name to simulate, the renaming of this catalogue compared with the renaming of object, more complicated, Efficiency is lower.
Fig. 1 shows the catalogue by the special separator "/" simulation in object name.Object name in conjunction with above-mentioned explanation can Know, directory name need to add the directory name of parent directory with/ending, subdirectory name, and filename needs the catalogue plus its place catalogue Name and end up can not be "/".Therefore, object name dir 1/ is corresponding is catalogue dir 1, and object name dir 1/dir 2/ is corresponding It is the subdirectory dir 2 of catalogue dir 1, it to be the subdirectory of catalogue dir 2 that object name dir 1/dir 2/dir 3/ is corresponding It to be file obj 1 under dir 3 catalogue that dir 3, object name dir 1/dir 2/dir 3/obj 1 be corresponding, object name dir It to be file obj 2, object name dir 1/dir 2/dir 3/ under dir 3 catalogue that 1/dir 2/dir 3/obj 2 is corresponding It to be file obj 3 under dir 3 catalogue that obj 3 is corresponding.
The renaming process of existing catalogue and file all includes the process backing up and the process deleted, but, backed up The problem that journey and deletion process meeting initiating system I/O operation number of times are excessive, renaming efficiency is low.
Exemplary, as shown in Fig. 2 the method for the file f ile 2 RNTO new file 2 under dir 3 catalogue is: By in a for the metadata data deep copy of dir 1/file 2 object dir 1/new file 2 to new name;Delete The metadata of dir 1/file 2 and data.Wherein, metadata is in order to record storage location and the access control information of object.
As shown in figure 3, the method for catalogue dir 1 RNTO new dir 1 is:Copy dir 1 and its all subdirectories Under all objects to new catalogue new dir 1, wherein, the metadata data of object will carry out deep copy;Delete The metadata data of the had been friends in the past object under dir 1 and its all subdirectories, such as certain object size are 1 terabyte (English Literary composition:Terabyte, writes a Chinese character in simplified form:TB), then just have the data of 1TB to need to delete.
As can be seen that the backup procedure in existing renaming method and process of deleting can initiating system I/O operation number of times mistakes Problem many, that renaming efficiency is low.In the very big scene of TOC level relatively depth or quantity of documents, using existing heavy life The difficulty that name method carries out renaming is larger.
The problem that IO number is excessive, efficiency is low leading to for existing renaming method, the embodiment of the present invention provides one Plant renaming method, the server in object storage system creates be stored with object name and the corresponding relation of characteristics of objects Mapping table, and characteristics of objects includes the general unique of the object of the storage address of the metadata data for denoted object Identification code (English:Universally Unique Identifier, writes a Chinese character in simplified form:UUID), therefore, server is according to object UUID can accurately get the data of a certain object, and so, server, can directly mapping after receiving renaming request Penetrate the object name renaming meeting condition in relation table, and the process of backup and the process deleted need not be executed again, effectively drop Low system I/O operations number of times, improve the efficiency of renaming.
Accordingly, the embodiment of the present invention additionally provides a kind of access method, and server obtains and certain from mapping table The UUID of the corresponding object of one object name, because the UUID of object is used for the storage address of the metadata data of denoted object, Therefore, the UUID of the object that server can get according to it reads the data of this object.
Renaming method provided in an embodiment of the present invention or access method are all applied to communication system.Fig. 4 is the present invention The structural representation of the communication system that embodiment provides.Referring to Fig. 4, this communication system includes server 40 and at least one visitor Family end equipment 41, each client device 41 server 40 passes through network connection.
Server 40 is stored with least one object, and each object has respective object name.Client device 41 by with Server 40 communicates, and shows the object needed for this client device.
Server 40 in the embodiment of the present invention can be physical machine or virtual machine, can also be for providing object Other any appliance of storage service, the embodiment of the present invention is not especially limited to this.
In conjunction with Fig. 4, Fig. 5 is that in above-mentioned communication system, the interactive cooperation between server 40 and client device 41 is illustrated Figure.The communication process all same of each client device 41 and server 40 in communication system.For sake of simplicity, Fig. 5 only illustrates Communication between one of client device 41 and server 40.
Referring to Fig. 5, the server 40 in communication system includes mapping table 400, and it is right that this mapping table 400 is preserved As the corresponding relation between name and the feature of object, the feature of object includes the UUID of object, and UUID is used for the unit of denoted object The storage address of data data, wherein, the metadata of object include the creation time of object, the last modification time and Object takies size of memory space etc..
Specifically, at least one of this mapping table 400 object name can according to lexcographical order from small to large or from big to Little be arranged in order, each object name uniquely correspond to a UUID.
Wherein, mapping table 400 can store in table form in server 40.Exemplary, including object The form of the mapping table 400 of UUID of name and object is as shown in table 1.
It should be noted that the table 1 simply corresponding relation between schematic objects name and the UUID of object in table form Storage form in server 40, be not to the corresponding relation between object name and the UUID of object in server 40 The restriction of storage form, certainly, corresponding relation between object name and the UUID of the object storage form in server 40 is also Can be stored with other forms, the embodiment of the present invention does not limit to this.
Table 1
Object name The UUID of object
dir‐1/file‐1 obj‐uuid‐1
dir‐1/dir‐2/ obj‐uuid‐2
dir‐1/dir‐2/file‐2 obj‐uuid‐3
…… ……
dir‐1/dir‐2/dir‐3/ obj‐uuid‐4
Optionally, in mapping table 400, the feature of object can also include the last modification time of object, object Message digest algorithm (English:Message Digest Algorithm 5, referred to as:MD5) value and object take storage sky Between at least one of size.So, server 40 can convenient, rapid lookup according to this mapping table 400 To client device object to be searched, improve the efficiency obtaining object and accuracy rate.
Exemplary, in conjunction with table 1, if the feature of object also includes the MD5 value of the last modification time of object, object And object takies the size of memory space, then the form of mapping table 400 is as shown in table 2.In table 2, take memory space Size unit be kilobytes (English:Kilobyte, abbreviation KB).
Table 2
Because in mapping table 400, the last modification time of object, the MD5 value of object and object take storage The size in space is optional, therefore, is indicated by the dashed box in Fig. 5.
Specifically, if the mapping table 400 of storage to embody in table form in server 40, this server 40 In can store at least one form, the form of each form all can be using the form shown in table 1.
This server 40 also includes communication interface 401, processor 402 and memorizer 403.
Communication interface 401 is used for and the client device 41 that is connected with this server 40 is communicated.Memorizer 403 is used for depositing Storage mapping table 400, can be also used for storing software program and application module.Processor 402 is used for running or execution is deposited Store up the software program in memorizer 403 and application module, in order to the various functions of execute server 40.
Client device 41 in this communication system includes communication interface 411, processor 412, memorizer 413 and display Screen 414.
Communication interface 410 is used for and the server 40 that is connected with this client device 41 is communicated.Memorizer 413 is used for depositing Storage software program and application module.Processor 412 is used for running or execution be stored in software program in memorizer 413 and Application module, in order to execute the various functions of client device 41.Display screen 414 is used for realizing user and client device 41 Interaction.
Renaming method provided in an embodiment of the present invention is applied to object storage system, and this object storage system is using right As storing agreement, such as S3 agreement and swift (the object storage assembly in OpenStack project) agreement.
Fig. 6 is a kind of schematic flow sheet of renaming method provided in an embodiment of the present invention, and this renaming method can be answered In communication system shown in used in Fig. 4 or Fig. 5.
Referring to Fig. 6, this renaming method includes:
S600, client device send the renaming carrying the first information, the second information and renaming mark to server Request.
Wherein, renaming identifies, for instruction, the first information is replaced with the second information.
S601, server, after renaming mark is detected, obtain the target including the first information from mapping table Object name.
Wherein, mapping table includes the corresponding relation of destination object name and the feature of destination object, the spy of destination object Levy the UUID including destination object, the UUID of this destination object is used for indicating the storage of the metadata data of destination object Location.
The first information in destination object name is replaced with the second information by S602, server.
S603, server send response message to client device, represent and successfully the first information are replaced with second Information.
In renaming method provided in an embodiment of the present invention client device first to server send carry the first information, The renaming request of the second information and renaming mark, that is, execute S600.
Knowable to previously mentioned, for server, object can be a certain file or a certain catalogue.If Object is file, then the object name of this object includes directory name and the filename of the catalogue that this document is belonged to;If object is father Catalogue, then the object of this object entitled parent directory name;If object is the subdirectory of parent directory, the object name of this object includes father Directory name and subdirectory name.When the client device relative with server shows certain first class catalogue, show the catalogue of this grade of catalogue Name, in the same manner, when client device shows a certain file, the filename of display this document.Therefore, user is it is seen that current directory Directory name or current file filename.
In this scene, the instruction of user input can serve to indicate that a certain file is carried out renaming or Renaming is carried out to a certain catalogue, can also be that renaming is carried out to a certain file in a certain catalogue and this catalogue.So, visitor After family end equipment receives the instruction of user input, renaming request can be sent to server according to the instruction of user input.Should The renaming first information that carries of request is former directory name in a certain object name, the second information is new directory in this object name Name, or the first information be the former object name of a certain object, the second information be this object new object name.That is, this The first information in bright embodiment can be in a certain object name before renaming or a certain object name before renaming Partial content.
Client device in the embodiment of the present invention sends interface and the client device in prior art of renaming request Identical with the interface that server interaction is adopted, this interface can be to replicate (English:Copy) interface or upload object Interface.Except for the difference that, the renaming request in the embodiment of the present invention carries renaming mark.
It should be noted that the message format that the embodiment of the present invention is asked to renaming is not especially limited.
Exemplary, the renaming that client device sends to server is asked as HTTP (English: Hypertext transfer protocol, referred to as:HTTP) ask, this HTTP request is used for representing that client device requests will File f ile 1 RNTO new file 1 under catalogue dir 1, then in this HTTP request, the first information is dir 1/file 1, the second information is dir 1/new file 1.Specifically, this HTTP request carries operation code PUT, corresponding with this operation code Content is dir 1/new file 1HTTP/1.1, also carries x amz copy source header field and x obs file rename Header field, x amz copy source header field indicates former object name dir 1/file 1, x obs file rename header field Content is true (English:True), indicate that this renaming asks, for instruction, dir 1/file 1 is replaced with dir 1/new file‐1.Specifically, this HTTP request can be expressed as:
PUT dir‐1/new‐file‐1HTTP/1.1
x‐amz‐copy‐source dir‐1/file‐1
x‐obs‐file‐rename true
Exemplary, HTTP request that client device sends to server is used for representing client device requests by catalogue Dir 1 RNTO new dir 1, then in this HTTP request, the first information is dir 1/, and the second information is new dir 1/.Tool Body, this HTTP request carries operation code PUT, and content corresponding with this operation code is new dir 1/HTTP/1.1, this HTTP Request also carries x amz copy source header field and x obs dir rename header field, and x amz copy source header field refers to Show former directory name dir 1/, the content of x obs dir rename header field is true, indicates that this renaming is asked for indicating By dir 1/ RNTO new dir 1/.Specifically, this HTTP request can be expressed as:
PUT new‐dir‐1/HTTP/1.1
x‐amz‐copy‐source dir‐1/
x‐obs‐dir‐rename true
Specifically, server, after receiving renaming request, obtains the mesh including the first information from mapping table Mark object name, that is, execute S601.
Be stored with server in the embodiment of the present invention mapping table, and this mapping table includes object name and object Feature between corresponding relation.The concrete form of this mapping table may be referred to above-mentioned table 1 or table 2, no longer carries out herein It is described in detail.
It should be noted that for the ease of distinguishing, belonging to each of same directory in embodiment of the present invention mapping table The filename of individual file is different, and that is, each filename in same directory is unique.Due to each in same directory Filename is unique, and therefore, each object name of server storage is different.In mapping table with the form body of form Now, can be directly with object name as major key, and object name is arranged in order from small to large or from big to small according to lexcographical order, and build Found the index of this data row, as such, it is possible to improve the quick search performance of data form.
It is understood that because object name is only the title of a certain object, therefore, object name in mapping table Can change at any time, because the feature of object includes the UUID of object, and the UUID of object be used for denoted object metadata and The storage address of data, the storage address of the metadata data of object is to maintain constant, therefore, with certain in mapping table The UUID of the corresponding object of one object name should keep constant.
Specifically, server, after receiving renaming request, obtains from least one object name of mapping table Including the destination object name of the first information, wherein, the quantity of destination object name is at least one.
Exemplary, if the mapping table in server is as shown in Table 1 above, the first information is dir 1/dir 2/, Second information is dir 1/new dir 2/, then server carries dir 1/dir 2/, dir 1/new dir 2/ receiving After the renaming request of renaming mark, obtain the destination object name including dir 1/dir 2/, such as dir 1/ from table 1 Dir 2/, dir 1/dir 2/file 2 and dir 1/dir 2/dir 3/.
Additionally, server is after receiving renaming request, the also identification first information and the second information.
Further, server, after getting destination object name, the first information in destination object name is replaced with Two information, that is, execute S602.
Specifically, server is after getting destination object name, the first information in batch updating destination object name, effectively The operating system decreasing system IO, decrease renaming time waste, improve the efficiency of renaming.
Optionally, if server adopts database purchase mapping table, this server can be by related program generation Code execution batch updating.
Exemplary, if server passes through SQL (English:Structured Query Language, letter Claim:SQL) sentence to be executing the renaming of filename, and client device requests are by file f ile 2 renaming under dir 1 catalogue For new file 2, then SQL statement is expressed as:Update table set object name=' dir 1/new file 2 ' where Object name=' dir 1/file 2 ', this SQL statement represents and for dir 1/file 2 to replace with dir 1/new file 2.
If as shown in fig. 7, the mapping table of storage includes object name dir 1/file 1, dir 1/ in server File 2 and dir 1/file 3, then server is according to update table set object name=' dir 1/new file 2 ' Where object name=' dir 1/file 2 ', gets destination object name dir 1/file 2 from mapping table, and by mesh Mark object name dir 1/file 2 replaces with dir 1/new file 2.
Exemplary, if server executes the renaming of directory name by SQL statement, client device requests are by catalogue Dir 1 RNTO new dir 1, then SQL statement be expressed as:Update table set object name=left_replace (object name, ' dir 1/ ', ' new dir 1/ ') where object name like ' dir 1/% ', wherein, left_replace (A, B) function representation begins look for from the character string left side and replaces A with B, and only mates once).This SQL statement represents and will include Dir 1/ in the object name of dir 1/ replaces with new dir 1/.
If as shown in figure 8, the mapping table of storage includes object name dir 1/file 1, dir 1/ in server Dir 2/, dir 1/dir 2/dir 3/, dir 1/dir 2/dir 3/obj 1, dir 1/dir 2/dir 3/obj 2 and Dir 1/dir 2/dir 3/obj 3, then server is according to update table set object name=left_replace (object Name, ' dir 1/ ', ' new dir 1/ ') ' dir 1/% ' determines that all object name are destination object to where object name like Name, and the dir 1/ in all object name is replaced with new dir 1/.
After the first information in the destination object name that server is determined replaces with the second information, to client device Send response message, that is, execute S603.
Optionally, the response message in the embodiment of the present invention can include OK character it is also possible to comprise to confirm (English: Acknowledgement, referred to as:ACK) character, the embodiment of the present invention is not especially limited to this.
Server sends after response message to client device, and this client device knows that the first information has replaced with the Two information, in a subsequent communication, this client device can directly utilize the second message reference object.
As can be seen that adopting renaming method provided in an embodiment of the present invention, only need between client device and server Once interacted and be can achieve the renaming of directory name or the renaming of filename, effectively solved existing renaming side System IO that method leads to often, the low problem of renaming efficiency, reduce IO number of system, improve renaming efficiency.
Further, the server in the embodiment of the present invention receive client device transmission request after, Ke Yixian Detect in its request receiving, whether to carry renaming mark.If server determines in its request receiving carries renaming Mark, then this server is according to renaming method provided in an embodiment of the present invention execution related procedure.
Fig. 9 is a kind of schematic flow sheet of access method provided in an embodiment of the present invention, and this access method can be applied In communication system shown in Fig. 4 or Fig. 5.
Referring to Fig. 9, this access method includes:
The access that S900, client device send the object name and access identities carrying object to be visited to server please Ask.
Wherein, access identities are used for indicating the data that server reads object to be visited.
S901, server, after access identities is detected, obtain the object name with object to be visited from mapping table The UUID of corresponding object to be visited.
Wherein, mapping table includes the corresponding relation of the object name of object to be visited and the feature of object to be visited, treats The feature accessing object includes the UUID of object to be visited, and the UUID of object to be visited is used for indicating the metadata of object to be visited The storage address of data.
S902, server, according to the UUID of object to be visited, read the data of object to be visited.
S903, server send access response to client device, wait to visit in order to notify client device successfully to read Ask the data of object.
Mapping table in the embodiment of the present invention is identical with the mapping table in embodiment illustrated in fig. 6, and it is right all to include As the corresponding relation between name and the feature of object.In mapping table, the feature of object includes the UUID of object, and object UUID is used for the storage address of the metadata data of denoted object.
One of object name in the entitled mapping table of object of object to be visited, server receive access please The UUID, Jin Ergen of to be visited object corresponding with the object name of object to be visited after asking, can be got from mapping table UUID according to this object to be visited reads the data of object to be visited.
Knowable to embodiment illustrated in fig. 6, each object name in mapping table all can be changed, even if a certain object Object name is modified, and in mapping table, amended object name remains unchanged corresponding with the UUID of this object.Client sets For would know that each amended object name, so, this client device can be sent using a certain amended object name and access Request, so that server obtains the UUID of object corresponding with this amended object name from mapping table, and then Read the data of this object.
The access request that in the embodiment of the present invention, client device sends may be referred to client device in prior art and sends out The access request sent, the access response that the access response that server sends can also send with reference to server in prior art, this Place is no longer described in detail.
The embodiment of the present invention provides a kind of server, and this server is used for executing the server institute in above renaming method The step of execution.Server provided in an embodiment of the present invention can include the module corresponding to corresponding steps.
The embodiment of the present invention can carry out the division of functional module according to said method example to server, for example, it is possible to Each function corresponding divides each functional module it is also possible to two or more functions are integrated in a processing module In.Above-mentioned integrated module both can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.This Schematic to the division of module in inventive embodiments, only a kind of division of logic function, actual can have when realizing another Outer dividing mode.
In the case of dividing each functional module using each function corresponding, Figure 10 shows involved in above-described embodiment And server a kind of possible structural representation.As shown in Figure 10, server includes receiving unit 100, acquiring unit 101st, transmitting element 102.Receiving unit 100 is used for supporting that this server executes the S600 in Fig. 6, and/or in execution Fig. 9 S900;Acquiring unit 101 is used for supporting the S901 that this server executes in the S601 in Fig. 6, and/or execution Fig. 9;Transmitting element 102 are used for supporting the S903 that this server executes in the S603 in Fig. 6, and/or execution Fig. 9.Server also includes replacement unit 103 or reading unit 104.Replacement unit 103 is used for supporting that this server executes the S602 in Fig. 6;Reading unit 104 is used for propping up Hold this server and execute the S902 in Fig. 9.Wherein, all related contents of each step that said method embodiment is related to are all permissible Quote the function description of corresponding function module, will not be described here.This server also includes memory element 105, for storing Mapping table.
In the case of using integrated unit, Figure 11 shows that one kind of involved server in above-described embodiment can The structural representation of energy.As shown in figure 11, this server includes:Processing module 110 and communication module 111.Processing module 110 is used It is controlled managing in the action to this server, for example, processing module 110 is used for supporting that this server executes S601 in Fig. 6 And S901 and S902 in S602, and/or execution Fig. 9, and/or the other processes for techniques described herein.Communication module 111 are used for supporting the communication of this server and client device, for example, communication module 111 is used for supporting that this server executes Fig. 6 In S600 and S603, and/or execution Fig. 9 in S900 and S903.This server can also include memory module 112, is used for Storage mapping relation table, can be also used for storing the program code data of this server.
Wherein, processing module 110 can be processor or controller, for example, can be central processing unit (English: Central Processing Unit, referred to as:CPU), digital signal processor (English:Digital Signal Processor, referred to as:DSP).It can be realized or execute with reference to the various examples described by embodiment of the present invention disclosure Logic block, module and the circuit of property.Communication module 111 can be transceiver, transmission circuit or communication interface etc..Memory module 112 can be memorizer.
When processing module 110 is processor, communication module 111 is communication interface, when memory module 112 is memorizer, this Server involved by inventive embodiments can be the server shown in Figure 12.
As shown in figure 12, this server includes:Communication interface 120, processor 121 and memorizer 122.Wherein, communication connects It is connected by system bus 123 between mouth 120, processor 121 and memorizer 122, and complete to communicate each other.
When server runs, the renaming method of this server execution embodiment as shown in Figure 6, and/or execution is such as The access method of the embodiment shown in Fig. 9.Specific renaming method can be found in the correlation in above-mentioned embodiment as shown in Figure 6 Description, specific access method can be found in the associated description in above-mentioned embodiment as shown in Figure 9, and here is omitted.
Server shown in Figure 12 is identical with the server 40 in Fig. 5, system bus 123 not shown in Fig. 5.
Wherein, communication interface 120 is used for and client device communications, such as Ethernet, WLAN etc..
Wherein, memorizer 122 can be used for storage mapping relation table it is also possible to be used for storing software program and application mould Block, processor 121 passes through to run software program and the application module being stored in memorizer 122, thus execute server is each Plant application of function and data processing.
Memorizer 122 can mainly include storing program area 1220 and storage data field 1221, wherein, storing program area 1220 Can application program needed for storage program area, at least one function, such as the first information is replaced with the function of the second information Deng;Storage data field 1221 can storage mapping relation table.
Wherein, memorizer 122 can be read only memory (English:Read only Memory, referred to as:), or can deposit ROM Storage static information and the other kinds of static storage device of instruction, random access memory (English:Random Access Memory, referred to as:RAM) or can storage information and instruction other kinds of dynamic memory or electrically erasable can Program read-only memory (English:Electrically Erasable Programmable Read Only Memory, referred to as: EEPROM), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store there is instruction or data knot The desired program code of configuration formula any other medium that can be accessed by server, but not limited to this.
Memorizer 122 can be individually present, and is connected with processor 121 by system bus 123.Memorizer 122 Can integrate with processor 121.
Processor 121 is the control centre of server.Processor 121 utilizes various interfaces and the whole server of connection Various pieces, be stored in software program and/or application module in memorizer 122 by running or executing, and call and deposit Data, the various functions of execute server and processing data in memorizer 122 for the storage, thus carry out overall prison to server Control.
In implementing, as a kind of embodiment, processor 121 can include one or more CPU, such as in Figure 12 Processor 121 include CPU 0 and CPU 1.
System bus 123 can be divided into address bus, data/address bus, controlling bus etc..In order to clear in the embodiment of the present invention Chu illustrates, in fig. 12 various buses is all illustrated as system bus 123.
Embodiments provide a kind of server, server receive client device transmission carry the first letter After the renaming request of breath, the second information and renaming mark, obtain the target including the first information from mapping table Object name, renaming identify for instruction the first information is replaced with the second information, mapping table include destination object name with The corresponding relation of the feature of destination object, the feature of destination object includes the general unique identifier UUID of destination object, and mesh The UUID of mark object is used for indicating the storage address of the metadata data of destination object, then, this server is by destination object The first information in name replaces with the second information.
Server storage in the embodiment of the present invention has mapping table, because this mapping table includes destination object Name and the corresponding relation of the feature of destination object, and the feature of destination object include for the metadata indicating this destination object with The UUID of the storage address of data, therefore, server can get the metadata sum of destination object from mapping table According to storage address, and get the data of destination object according to this storage address.Metadata data due to destination object Storage address in the server is constant, and therefore, server, can be directly by mapping table after receiving renaming request The first information of middle destination object name replaces with the second information, and need not execute the process of backup and the process deleted, effectively Reduce system I/O operations number of times, improve the efficiency of renaming.
Through the above description of the embodiments, those skilled in the art can be understood that, for description Convenient and succinct, only it is illustrated with the division of above-mentioned each functional module, in practical application, can as desired will be upper State function distribution to be completed by different functional modules, the internal structure of device will be divided into different functional modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before may be referred to State the corresponding process in embodiment of the method, will not be described here.
It should be understood that disclosed system in several embodiments provided by the present invention, apparatus and method are permissible Realize by another way.
For example, device embodiment described above is only schematically, for example, the division of module or unit, and only For a kind of division of logic function, actual can have other dividing mode when realizing, and for example multiple units or assembly can combine Or it is desirably integrated into another system.
If described integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.
Based on such understanding, all or part of the technical scheme of the embodiment of the present invention can be in the form of software product Embody.This computer software product is stored in a storage medium, including some instructions with so that a computer Described in equipment (can be personal computer, server, or network equipment etc.) or each embodiment of the computing device present invention The all or part of step of method.Storage medium is, for example,:General serial bus USB (English:Universal Serial Bus flash disk, referred to as:USB flash disk), portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this to the embodiment of the present invention Bright scope.So, if these modifications of the embodiment of the present invention and modification belong within the scope of the claims in the present invention, then The embodiment of the present invention is also intended to comprise these changes and modification.

Claims (13)

1. a kind of renaming method is it is characterised in that the server that is applied in object storage system, described renaming method bag Include:
Described server receives the renaming request that client device sends, described renaming request carry the first information, second Information and renaming mark, described renaming identifies, for instruction, the described first information is replaced with described second information;
Described server, after described renaming mark is detected, obtains the mesh including the described first information from mapping table Mark object name, described mapping table includes the corresponding relation of described destination object name and the feature of destination object, described target The feature of object includes the general unique identifier UUID of described destination object, and the UUID of described destination object is used for indicating described The storage address of the metadata data of destination object;
The described first information in described destination object name is replaced with described second information by described server.
2. renaming method according to claim 1 is it is characterised in that described server is by described destination object name The described first information replaces with described second information, including:
The first directory name in described destination object name is replaced with the second directory name by described server;
Or,
Described destination object name is replaced with the first object name by described server.
3. renaming method according to claim 1 and 2 it is characterised in that
The feature of described destination object also includes the last modification time of described destination object, the information of described destination object Digest algorithm MD5 value and described destination object take at least one of size of memory space.
4. the renaming method according to any one in claim 1-3 is it is characterised in that described server is by described mesh After the described first information in mark object name replaces with described second information, described renaming method also includes:
Described server sends response message to described client device, and described response message is used for representing successfully by described first Information replaces with described second information.
5. it is characterised in that the server that is applied in object storage system, described access method includes a kind of access method:
Described server receives the access request that client device sends, and described access request carries the object name of object to be visited And access identities, described access identities are for the data of the instruction described object to be visited of reading;
Described server, after described access identities is detected, obtains corresponding with described object name described from mapping table The general unique identifier UUID of object to be visited, described mapping table include the object name of described object to be visited with described The corresponding relation of the feature of object to be visited, the feature of described object to be visited includes the UUID of described object to be visited, described The UUID of object to be visited is used for indicating the storage address of the metadata data of described object to be visited;
Described server, according to the UUID of described object to be visited, reads the data of described object to be visited, and to described client End equipment sends access response, in order to notify described client device successfully to read the data of object to be visited.
6. access method according to claim 5 it is characterised in that
The feature of described object to be visited also includes the last modification time of described object to be visited, described object to be visited Message digest algorithm MD5 value and described object to be visited take at least one of size of memory space.
7. it is characterised in that described server application is in object storage system, described server includes a kind of server:
Receiving unit, for receiving the renaming request of client device transmission, the request of described renaming carry the first information, the Two information and renaming mark, described renaming identifies, for instruction, the described first information is replaced with described second information;
Acquiring unit, for, after described receiving unit receives described renaming mark, obtaining and including from mapping table The destination object name of the described first information, described mapping table includes the right of described destination object name and the feature of destination object Should be related to, the feature of described destination object includes the general unique identifier UUID of described destination object;
Replacement unit, replaces with institute for the described first information in the described destination object name that gets described acquiring unit State the second information.
8. server according to claim 7 it is characterised in that described replacement unit specifically for:
The first directory name in described destination object name is replaced with the second directory name;
Or,
Described destination object name is replaced with the first object name.
9. the server according to claim 7 or 8 it is characterised in that
The feature of described destination object also includes the last modification time of described destination object, the information of described destination object Digest algorithm MD5 value and described destination object take at least one of size of memory space.
10. the server according to any one in claim 7-9 will be it is characterised in that described server will also include sending out Send unit,
Described transmitting element, for replacing with the described first information in described target first object name in described replacement unit After described second information, send response message to described client device, described response message is used for that represent successfully will be described The first information replaces with described second information.
It is characterised in that described server application is in object storage system, described server includes a kind of 11. servers:
Receiving unit, for receiving the access request of client device transmission, described access request carries the right of object to be visited As name and access identities, described access identities are used for the data that described object to be visited is read in instruction;
Acquiring unit, for after described receiving unit receives described access identities, obtain from mapping table with described The general unique identifier UUID of the corresponding described object to be visited of described object name that receiving unit receives, described mapping is closed It is the corresponding relation that table includes the object name of described object to be visited and the feature of described object to be visited, described object to be visited Feature include the UUID of described object to be visited;
Reading unit, the UUID of the object described to be visited for being got according to described acquiring unit, reads described to be visited The data of object;
Transmitting element, for, after the data of the described reading unit described object to be visited of reading, sending out to described client device Send access response, in order to notify described client device successfully to read the data of object to be visited.
12. servers according to claim 11 it is characterised in that
The feature of described object to be visited also includes the last modification time of described object to be visited, described object to be visited Message digest algorithm MD5 value and described object to be visited take at least one of size of memory space.
It is characterised in that described server application is in object storage system, described server includes communicating a kind of 13. servers Interface, processor and memorizer;Wherein, described communication interface, described processor and described memorizer are connected by system bus;
Described memorizer is used for storing computer instruction, and the computer that described processor is used for executing described memory storage refers to Order, so that described server executes renaming method or execution such as claim as described in any one in claim 1-4 Access method described in any one in 5-6.
CN201610852820.2A 2016-09-26 2016-09-26 Renaming method, access method and device Active CN106484820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610852820.2A CN106484820B (en) 2016-09-26 2016-09-26 Renaming method, access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610852820.2A CN106484820B (en) 2016-09-26 2016-09-26 Renaming method, access method and device

Publications (2)

Publication Number Publication Date
CN106484820A true CN106484820A (en) 2017-03-08
CN106484820B CN106484820B (en) 2020-01-17

Family

ID=58267690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610852820.2A Active CN106484820B (en) 2016-09-26 2016-09-26 Renaming method, access method and device

Country Status (1)

Country Link
CN (1) CN106484820B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885829A (en) * 2017-11-08 2018-04-06 郑州云海信息技术有限公司 Object storage docking Hadoop renaming method, apparatus, equipment and storage medium
CN108243407A (en) * 2017-12-21 2018-07-03 深圳市宏电技术股份有限公司 A kind of method and terminal device of multiple wireless module device network interface managements
CN109462669A (en) * 2018-11-13 2019-03-12 四川长虹电器股份有限公司 The method of the system platform and the name of specification terminal device of the name of specification terminal device
CN109756484A (en) * 2018-12-12 2019-05-14 杭州数梦工场科技有限公司 Control method, control device, gateway and the medium of gateway based on object storage
CN111026751A (en) * 2019-11-22 2020-04-17 北京金山云网络技术有限公司 Processing method, device and system of distributed table and electronic equipment
CN112491943A (en) * 2019-09-12 2021-03-12 北京国双科技有限公司 Data request method, device, storage medium and electronic equipment
US20220100878A1 (en) * 2020-09-25 2022-03-31 EMC IP Holding Company LLC Facilitating an object protocol based access of data within a multiprotocol environment
CN114519039A (en) * 2022-01-06 2022-05-20 广州文石信息科技有限公司 Data online management method and device, terminal equipment and storage medium
CN117640262A (en) * 2024-01-26 2024-03-01 杭州美创科技股份有限公司 Data asset isolation method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102725755A (en) * 2011-12-31 2012-10-10 华为技术有限公司 Method and system of file access
CN103229173A (en) * 2012-12-26 2013-07-31 华为技术有限公司 Metadata management method and system
CN103902632A (en) * 2012-12-31 2014-07-02 华为技术有限公司 File system building method and device in key-value storage system, and electronic device
US9449008B1 (en) * 2014-03-31 2016-09-20 Amazon Technologies, Inc. Consistent object renaming in distributed systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102725755A (en) * 2011-12-31 2012-10-10 华为技术有限公司 Method and system of file access
CN103229173A (en) * 2012-12-26 2013-07-31 华为技术有限公司 Metadata management method and system
CN103902632A (en) * 2012-12-31 2014-07-02 华为技术有限公司 File system building method and device in key-value storage system, and electronic device
US9449008B1 (en) * 2014-03-31 2016-09-20 Amazon Technologies, Inc. Consistent object renaming in distributed systems

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885829A (en) * 2017-11-08 2018-04-06 郑州云海信息技术有限公司 Object storage docking Hadoop renaming method, apparatus, equipment and storage medium
CN108243407B (en) * 2017-12-21 2021-07-13 深圳市宏电技术股份有限公司 Method for managing network interfaces of multiple wireless module devices and terminal device
CN108243407A (en) * 2017-12-21 2018-07-03 深圳市宏电技术股份有限公司 A kind of method and terminal device of multiple wireless module device network interface managements
CN109462669A (en) * 2018-11-13 2019-03-12 四川长虹电器股份有限公司 The method of the system platform and the name of specification terminal device of the name of specification terminal device
CN109756484A (en) * 2018-12-12 2019-05-14 杭州数梦工场科技有限公司 Control method, control device, gateway and the medium of gateway based on object storage
CN109756484B (en) * 2018-12-12 2021-10-15 杭州数梦工场科技有限公司 Object storage-based gateway control method, control device, gateway and medium
CN112491943A (en) * 2019-09-12 2021-03-12 北京国双科技有限公司 Data request method, device, storage medium and electronic equipment
CN111026751A (en) * 2019-11-22 2020-04-17 北京金山云网络技术有限公司 Processing method, device and system of distributed table and electronic equipment
CN111026751B (en) * 2019-11-22 2024-02-09 北京金山云网络技术有限公司 Distributed form processing method, device and system and electronic equipment
US20220100878A1 (en) * 2020-09-25 2022-03-31 EMC IP Holding Company LLC Facilitating an object protocol based access of data within a multiprotocol environment
US11928228B2 (en) * 2020-09-25 2024-03-12 EMC IP Holding Company LLC Facilitating an object protocol based access of data within a multiprotocol environment
CN114519039A (en) * 2022-01-06 2022-05-20 广州文石信息科技有限公司 Data online management method and device, terminal equipment and storage medium
CN117640262A (en) * 2024-01-26 2024-03-01 杭州美创科技股份有限公司 Data asset isolation method, device, computer equipment and storage medium
CN117640262B (en) * 2024-01-26 2024-04-09 杭州美创科技股份有限公司 Data asset isolation method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN106484820B (en) 2020-01-17

Similar Documents

Publication Publication Date Title
CN106484820A (en) A kind of renaming method, access method and device
CN110799960B (en) System and method for database tenant migration
EP3532935B1 (en) Snapshot metadata arrangement for cloud integration
US10061795B2 (en) Graph-based data models for partitioned data
US10942813B2 (en) Cloud object data layout (CODL)
EP3103025B1 (en) Content based organization of file systems
US8533241B2 (en) File-sharing system and method for processing files, and program
JP5895099B2 (en) Destination file server and file system migration method
CN103002027B (en) Data-storage system and the method for tree directory structure is realized based on key-value pair system
US9069792B1 (en) Method and system for persistently cached, copy-on-write view of revision control trees
US10423499B2 (en) Cataloging metadata for replication management and recovery
US20110167045A1 (en) Storage system and its file management method
US8977662B1 (en) Storing data objects from a flat namespace in a hierarchical directory structured file system
US9183212B2 (en) Representing directory structure in content-addressable storage systems
JP2012098934A (en) Document management system, method for controlling document management system and program
CN111045857B (en) Method for data backup and recovery, electronic device and computer readable storage medium
US9020994B1 (en) Client-based migrating of data from content-addressed storage to file-based storage
US11775476B2 (en) Techniques for snapshotting scalable multitier storage structures
US9727588B1 (en) Applying XAM processes
CN109154881B (en) Object-based storage replication and recovery
EP3436973A1 (en) File system support for file-level ghosting
US10732840B2 (en) Efficient space accounting mechanisms for tracking unshared pages between a snapshot volume and its parent volume
WO2023201002A1 (en) Implementing graph search with in-structure metadata of a graph-organized file system
US9870430B2 (en) Location-independent links to content at online content management systems
US9626378B2 (en) Method for handling requests in a storage system and a storage node for a storage system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant