[go: nahoru, domu]

CN103841170B - A kind of cloud storage method and server - Google Patents

A kind of cloud storage method and server Download PDF

Info

Publication number
CN103841170B
CN103841170B CN201210491004.5A CN201210491004A CN103841170B CN 103841170 B CN103841170 B CN 103841170B CN 201210491004 A CN201210491004 A CN 201210491004A CN 103841170 B CN103841170 B CN 103841170B
Authority
CN
China
Prior art keywords
file
user
list
references
server
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.)
Active
Application number
CN201210491004.5A
Other languages
Chinese (zh)
Other versions
CN103841170A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210491004.5A priority Critical patent/CN103841170B/en
Publication of CN103841170A publication Critical patent/CN103841170A/en
Application granted granted Critical
Publication of CN103841170B publication Critical patent/CN103841170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to field of data storage, and more particularly to a kind of cloud storage method and server, the method is applied to server end, comprising: receive the file upload request that user sends, the upload request includes the unique features value of the file;Judged to obtain the first judging result with the presence or absence of identical file in server according to the unique features value of the file;When first judging result shows in server to obtain list of file references corresponding with the characteristic value there are when identical file, the mark of user is added to the list of file references;When first judging result shows feedback message to be sent to user, so that user is according to transmitting file on the feedback message there is no when identical file in server;The unique features value for storing the file and the file that upload, creates list of file references corresponding with the characteristic value;Save the mapping relations between the characteristic value, list of file references, file storage address of file.

Description

A kind of cloud storage method and server
Technical field
The present invention relates to field of data storage, more particularly to a kind of cloud storage method and server.
Background technique
With the development of cloud computing (cloud computing) technology, cloud storage system has obtained extensive concern.Yun Cun Storage is referred to through cluster application, grid or divides in new concept cloud computing conceptive extension and developed Various types of storage equipment a large amount of in network are gathered collaboration by application software by the functions such as cloth file system Work, it is common that a system of data storage and business access function is externally provided.Cloud storage is a kind of with data storage and pipe Reason is the cloud computing system of core.
In the cloud storage system of the prior art, the data of user are independently saved as unit of account, same user's File is kept separately together.However, in this manner, the same file in different accounts will be repeated quickly and easily as many times as required preservation, The waste of memory space is caused, while causing the waste of user and server bandwidth resource, needs a kind of cloud storage side Method solves the problems, such as this.
Summary of the invention
In order to solve the above technical problems, can be saved the embodiment of the invention provides a kind of cloud storage method and server Memory space, reduces the occupancy of bandwidth resources, and method is realized simple.Technical solution is as follows:
According to a first aspect of the embodiments of the present invention, a kind of cloud storage method is provided, the method is applied to server End, comprising:
The file upload request that user sends is received, the upload request includes the unique features value of the file;
Judged to obtain the first judgement knot with the presence or absence of identical file in server according to the unique features value of the file Fruit;
When first judging result shows to obtain corresponding with the characteristic value in server there are when identical file List of file references adds the mark of user to the list of file references;
When first judging result shows that identical file is not present in server, feedback message is sent to user, So that user is according to transmitting file on the feedback message;The unique features value of the file and the file that upload is stored, newly Build list of file references corresponding with the characteristic value;Save the characteristic value of file, list of file references, file storage address it Between mapping relations.
Preferably, described create list of file references corresponding with the characteristic value specifically:
User identifier is added to the list of file references by new files reference listing, save list of file references with The corresponding relationship of the characteristic value of file.
Preferably, the method also includes:
The file deletion requests of user are received, the removal request includes the unique features value of the file;
List of file references corresponding with the characteristic value is obtained according to the unique features value of the file;
User identifier corresponding with the user is deleted in the list of file references.
Preferably, the method also includes:
When the user identifier in the list of file references is empty, delete and the list of file references in the server Corresponding file data.
Preferably, the method also includes:
The file download request of user is received, includes the unique features value of the file in the downloading request;
List of file references corresponding with the unique features value is obtained according to the unique features value of the file;
Judge that the user identifier of the user whether there is in list of file references, obtains the second judging result;
In the presence of second judging result shows that the user identifier of the user is in list of file references, according to text Mapping relations between the characteristic value and file storage address of part obtain file data corresponding with the characteristic value;
By the file data transfer to user terminal.
Preferably, the method also includes:
User account information is stored, the account information includes user identifier, the file information;
When list of file references updates, user account information described in synchronized update.
According to a second aspect of the embodiments of the present invention, a kind of cloud storage service device is provided, comprising:
First receiving unit, for receiving the file upload request of user's transmission, the upload request includes the file Unique features value;
First judging unit judges in server for the unique features value according to the file with the presence or absence of identical text Part obtains the first judging result;It is single into addition when first judging result shows in server there are when identical file Member;When first judging result shows that identical file is not present in server, into storage unit;
First acquisition unit obtains and institute for showing in server there are when identical file when the first judging result The corresponding list of file references of characteristic value is stated, adds the mark of user to the list of file references;
Storage unit, for being sent to user when the first judging result shows that identical file is not present in server Feedback message, so that user is according to transmitting file on the feedback message;Store the unique of the file and the file uploaded Characteristic value creates list of file references corresponding with the characteristic value;Save characteristic value, the list of file references, file of file Mapping relations between storage address.
Preferably, the storage unit includes that reference listing establishes unit, the reference listing establishes unit for creating User identifier is added to the list of file references, saves the characteristic value of list of file references and file by list of file references Corresponding relationship.
Preferably, the server further include:
Second receiving unit, for receiving the file deletion requests of user, the removal request include the file only One characteristic value;
Second acquisition unit draws for obtaining file corresponding with the characteristic value according to the unique features value of the file Use list;
Unit is deleted, for deleting user identifier corresponding with the user in the list of file references.
Preferably, the deletion unit is also used to servicing when the user identifier in the list of file references is empty File data corresponding with the list of file references is deleted in device.
Preferably, the server further include:
Third receiving unit includes the file in the downloading request for receiving the file download request of user Unique features value;
Third acquiring unit, for obtaining text corresponding with the unique features value according to the unique features value of the file Part reference listing;
Second judgment unit is obtained for judging that the user identifier of the user whether there is in list of file references Second judging result;
4th acquiring unit, the second judging result for sending when the judging unit show user's mark of the user In the presence of knowledge in list of file references, according to the mapping relations between the characteristic value of file and file storage address, obtain with The corresponding file data of the characteristic value;
Transmission unit is used for the file data transfer to user terminal.
Preferably, the storage unit is also used to store user account information, the account information includes user identifier, text Part information;
The server further include:
Updating unit, for when list of file references updates, user account information described in synchronized update.
The one aspect of the embodiment of the present invention has the beneficial effect that cloud storage method provided in an embodiment of the present invention, with On user orientation server when transmitting file, the unique features value of transmitting file is first gone up, when server has been deposited according to characteristic value judgement In same file, the mark of user is only added in list of file references, and is operated without actual storage.In this way, phase Only storage is a in the server for same file, saves memory space.On the other hand, when the upper transmitting file of user, text is first uploaded The characteristic value of part just uploads file data, reduces bandwidth resources in this way when identical file being only not present in the server Occupancy.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in invention, for those of ordinary skill in the art, without creative efforts, It is also possible to obtain other drawings based on these drawings.
Fig. 1 is cloud storage method first embodiment schematic diagram provided in an embodiment of the present invention;
Fig. 2 is cloud storage method second embodiment schematic diagram provided in an embodiment of the present invention;
Fig. 3 is cloud storage method 3rd embodiment schematic diagram provided in an embodiment of the present invention;
Fig. 4 is cloud storage service first embodiment schematic diagram provided in an embodiment of the present invention;
Fig. 5 is cloud storage service second embodiment schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Inventive embodiments provide a kind of cloud storage method and server, can save memory space, reduce bandwidth resources Occupancy, method is realized simple.
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention Range.
It is cloud storage method flow chart of first embodiment provided by the invention referring to Fig. 1.
First embodiment of the invention provides a kind of cloud storage method, and the method is applied to server end, comprising:
S101, receives the file upload request that user sends, and the upload request includes the unique features value of the file.
In the first embodiment of the invention, when user wants the transmitting file on cloud storage service device, not with the prior art With, file data is not uploaded directly, but unique features value corresponding with the file uploaded is first obtained in client, it will File upload request comprising file unique features value is sent to cloud storage service device.Preferably, the file upload request is logical The mode for crossing encryption is transmitted.The unique features value of the file is used for unique identification file.When specific implementation, the file Unique features value can be using hashing algorithm obtain file cryptographic Hash, or with other algorithms calculate obtain spy Sign mark.When it is implemented, MD5(Message-Digest Algorithm 5, message digest algorithm 5 can be used), SHA1 (Secure Hash Algorithm) calculates file content, unique features value of the value that will acquire as file.The present invention does not limit The specific method for obtaining file unique features value, those skilled in the art are in other realities for not making the creative labor lower acquisition Existing mode all belongs to the scope of protection of the present invention.
S102 judges to obtain first with the presence or absence of identical file in server according to the unique features value of the file Judging result.
In the first embodiment of the invention, file data is stored in server and is used correspondingly with file data In the file characteristic value of unique identification file.When server receives file upload request, server is asked according to file upload Ask the file unique features value for including and the file characteristic value being saved in server to be compared, judge whether there is with The identical file characteristic value of the characteristic value.If it is present determining that there are identical files in server.If it does not, It then determines and identical file is not present in server.
S103, when first judging result shows to obtain and the characteristic value in server there are when identical file Corresponding list of file references adds the mark of user to the list of file references.
In the first embodiment of the invention, corresponding file referenced column is created for each file (or file characteristic value) Table, the list of file references include to possess the corresponding user identifier of user of this file.It is taken when according to the judgement of file characteristic value It is engaged in device there are when identical file, obtains list of file references corresponding with file characteristic value, and by the user of upper transmitting file Corresponding user identifier is added in list of file references.In this way, server is not when being stored with identical file in server Must the identical file data that uploads of actual storage, and user identifier need to be added in reference listing only to show to be transmitted through on user This file, same file need to only save portion, save memory space.Preferably, being used in list of file references in addition to saving Outside the identification information at family, time, the user behavior information of the upper transmitting file of user can further include.User behavior information can To include operation that user executes file, the content for the operation that last time executes and the time of execution etc..
Preferably, also storing the account information of user in server, account information includes user identifier, the file information etc.. The file information may include the corresponding filename of file, file size, the file characteristic value etc. that user stores.In this way, working as user When wanting access to file, it can obtain the characteristic value of file by the account of user, and then obtain text according to file characteristic value Number of packages evidence.
S104, when first judging result shows to send and feed back to user there is no when identical file in server Message, so that user is according to transmitting file on the feedback message;Store the unique features of the file and the file that upload Value creates list of file references corresponding with the characteristic value;Save characteristic value, list of file references, the file storage of file Mapping relations between address.
When being judged in server according to file characteristic value there is no identical file, server is to client (or user Equipment) feedback message is sent, the feedback message is for showing that there is no identical files in server.At this moment, user passes through Client (or user equipment) sends file data to server.Server receives client (or user equipment) transmission File data, store upload file and unique document characteristic value corresponding with the file.Server creates and the spy The corresponding list of file references of value indicative adds the corresponding user's mark of user of upper transmitting file in the list of file references of creation Know, and saves the mapping relations between the characteristic value, list of file references, file storage address of file.It, can be with when specific implementation Come maintenance documentation reference listing, file characteristic value, the mapping relations between file storage address using database.So far, i.e., complete At cloud storage operation.
In the first embodiment of the invention, when user is to server up transfer file, the first unique features value of upper transmitting file, When server has existed same file according to characteristic value judgement, the mark of user is only added in list of file references Know, and is operated without actual storage.In this way, only storage is a in the server for identical file, memory space is saved. On the other hand, when the upper transmitting file of user, the first characteristic value of upper transmitting file, when identical file being only not present in the server, File data is just uploaded, reduces the occupancy of bandwidth resources in this way.
It referring to fig. 2, is cloud storage method second embodiment schematic diagram provided in an embodiment of the present invention.
It will be illustrated below for the specific embodiment of the relevant operation of the file in cloud storage service device, this field skill For art personnel it is understood that each embodiment that the present invention introduces is only a part of the embodiment, each embodiment can be independent It is applicable in, can also be applicable in combination, those skilled in the art are equal in the other embodiments for not making the creative labor lower acquisition It belongs to the scope of protection of the present invention.
First for deleting file, method provided in an embodiment of the present invention is introduced.
S201, receives the file deletion requests of user, and the removal request includes the unique features value of the file.
In actual implementation, user's login account in client or user equipment realizes the specific file in account Delete operation.It is previously noted that may include the file information in the account information of user, when specific implementation, file column can be used Table saves the file information.Delete operation of the user for the file in listed files or the file in account, it will trigger to Server sends file deletion requests.Into the file deletion requests that server is sent, the file comprising executing delete operation Unique features value.
S202, server judge with the presence or absence of identical file in server, such as according to the unique features value of the file Fruit exists, and enters step S203, if it does not, returning to error message.
When specific implementation, server according in the file unique features value that includes in file deletion requests and server The file characteristic value of preservation is compared, and judges whether there is file characteristic value identical with the characteristic value.If it is present Determine that there are identical files in server.Identical file is not present in server if it does not exist, then determining.
S203, judging result show to obtain file corresponding with the characteristic value there are when identical file in server Reference listing.
In the server, the one-to-one correspondence for saving list of file references and list of file references and file characteristic value closes System.
S204 deletes user identifier corresponding with the user in the list of file references of acquisition.
In second embodiment of the invention, server is when receiving the deletion file request of user's transmission, not directly File is deleted, and only needs to delete reference corresponding with the user in list of file references, that is, deletes the user couple The user identifier answered.After deleting the user identifier in reference listing, user account information is updated.Specifically, from Information corresponding with the file deleted is deleted in the file information in the account information of family.
Preferably, when that is, this document is not quoted by user, being taken when the user identifier in list of file references is empty It is engaged in deleting file data corresponding with the list of file references in device.Due to storing list of file references, text in server Mapping relations between part characteristic value, file storage address.Therefore, when server receives file deletion requests, according to file Characteristic value gets list of file references corresponding with the file characteristic value, and deletes and user couple in list of file references After the user identifier answered, when the user identifier in list of file references is empty, it can pass through list of file references or file The corresponding relationship of characteristic value and file storage address obtains file actual storage address, and executes deletion and institute in the server State the operation of the corresponding file data of list of file references.
In second embodiment of the invention, when receiving file deletion requests, do not delete directly in the server directly File data, but by the file characteristic value in file deletion requests, obtain file referenced column corresponding with file characteristic value Table, and delete the corresponding user identifier of user deleted in list of file references and send removal request.In this way, delete file also only Corresponding reference in list of file references need to be deleted, is realized simple.
It is cloud storage method 3rd embodiment schematic diagram provided in an embodiment of the present invention referring to Fig. 3.
The specific embodiment by the download/access operation for the file in cloud storage service device is illustrated below.
S301, receives the file download request of user, and the downloading request includes the unique features value of the file.
In actual implementation, user's login account in client or user equipment carries out the specific file in account Down operation.It is previously noted that may include the file information in the account information of user, when specific implementation, file column can be used Table saves the file information.User is for the file in listed files or the down operation of the file in account, it will trigger to Server sends file download request.Into the file download request that server is sent, the file comprising executing down operation Unique features value.
S302, server judge with the presence or absence of identical file in server, such as according to the unique features value of the file Fruit exists, and enters step S303, if it does not, returning to error message.
When specific implementation, server according in the file unique features value that includes in file download request and server The file characteristic value of preservation is compared, and judges whether there is file characteristic value identical with the characteristic value.If it is present Determine that there are identical files in server.Identical file is not present in server if it does not exist, then determining.
S303 obtains list of file references corresponding with the characteristic value.
In the server, the one-to-one correspondence for saving list of file references and list of file references and file characteristic value closes System.
S304 judges that the user identifier of the user whether there is in list of file references, obtains the second judging result.
User identifier is retrieved in list of file references, if it is present proving that user has operating right.If do not deposited Returning to error message.
S305, in the presence of second judging result shows that the user identifier of the user is in list of file references, According to the mapping relations between the characteristic value of file and file storage address, file data corresponding with the characteristic value is obtained.
In third embodiment of the invention, server is when receiving the downloading file request of user's transmission, according to service The list of file references that stores in device, file characteristic value, the mapping relations between file storage address, obtain file actual storage Address, and get file data corresponding with the file characteristic value in downloading request.
S306, by the file data transfer to user terminal.
Above embodiments are illustrated, method provided in an embodiment of the present invention for executing down operation to file It can be adapted for user equipment for other operations of the file stored in server.
In third embodiment of the invention, when executing downloading, access operation to the file in server, and pass through text What part characteristic value operated with being associated.For user to the down operation of file, server can be according to file characteristic value and file Reference listing judges whether user has operating right, if had permission, just allows user to execute and correspondingly operates, improve data The safety of storage.
It referring to fig. 4, is a kind of cloud storage service device first embodiment schematic diagram provided in an embodiment of the present invention.
The server includes:
First receiving unit 401, for receiving the file upload request of user's transmission, the upload request includes the text The unique features value of part.
First judging unit 402 judges in server for the unique features value according to the file with the presence or absence of identical File, obtain the first judging result;When first judging result shows in server there are when identical file, into One acquiring unit 403;When first judging result shows that identical file is not present in server, into storage unit 404。
First acquisition unit 403, for showing in server there are when identical file when the first judging result, obtain with The corresponding list of file references of the characteristic value adds the mark of user to the list of file references.
Storage unit 404, for being sent out to user when the first judging result shows that identical file is not present in server Feedback message is sent, so that user is according to transmitting file on the feedback message;Store the file uploaded and the file only One characteristic value creates list of file references corresponding with the characteristic value;Save characteristic value, the list of file references, text of file Mapping relations between part storage address.
Preferably, the storage unit 404 includes that reference listing establishes unit, the reference listing is established unit and is used for newly List of file references is built, user identifier is added to the list of file references, saves the feature of list of file references and file The corresponding relationship of value.
It is a kind of cloud storage service device second embodiment schematic diagram provided in an embodiment of the present invention referring to Fig. 5.
The server 500 includes:
First receiving unit 501, for receiving the file upload request of user's transmission, the upload request includes the text The unique features value of part.
First judging unit 502 judges in server 500 for the unique features value according to the file with the presence or absence of phase Same file obtains the first judging result;When first judging result shows in server 500 there are when identical file, Into first acquisition unit 403;When first judging result shows to enter in server 500 there is no when identical file Storage unit 404.
First acquisition unit 503, for showing to obtain in server 500 there are when identical file when the first judging result List of file references corresponding with the characteristic value is taken, adds the mark of user to the list of file references.
Storage unit 504, for when the first judging result shows in server 500 there is no identical file, Xiang Yong Family sends feedback message, so that user is according to transmitting file on the feedback message;Store the file and the file uploaded Unique features value, create list of file references corresponding with the characteristic value;Save characteristic value, the file referenced column of file Mapping relations between table, file storage address.
Preferably, the server 500 further include:
Second receiving unit 505, for receiving the file deletion requests of user, the removal request includes the file Unique features value.
Second acquisition unit 506, for obtaining text corresponding with the characteristic value according to the unique features value of the file Part reference listing.
Unit 507 is deleted, for deleting user identifier corresponding with the user in the list of file references.
Preferably, the deletion unit 507 is also used to taking when the user identifier in the list of file references is empty It is engaged in deleting file data corresponding with the list of file references in device.
Preferably, the server 500 further include:
Third receiving unit 508 includes the file in the downloading request for receiving the file download request of user Unique features value.
Third acquiring unit 509, it is corresponding with the unique features value for being obtained according to the unique features value of the file List of file references.
Second judgment unit 510 is obtained for judging that the user identifier of the user whether there is in list of file references Take the second judging result.
4th acquiring unit 511, the second judging result for sending when the judging unit show the use of the user In the presence of family mark is in list of file references, according to the mapping relations between the characteristic value of file and file storage address, obtain Take file data corresponding with the characteristic value.
Transmission unit 512 is used for the file data transfer to user terminal.
Preferably, the storage unit 504 is also used to store user account information, the account information includes user's mark Know, the file information.
The server 500 further include:
Updating unit 513, for when list of file references updates, user account information described in synchronized update.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The present invention can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying In the case where creative work, it can understand and implement.
The above is only a specific embodiment of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (8)

1. a kind of cloud storage method, which is characterized in that the method is applied to server end, comprising:
The file upload request that user sends is received, the upload request includes the unique features value of the file;
Judged to obtain the first judging result with the presence or absence of identical file in server according to the unique features value of the file;
When first judging result shows to obtain file corresponding with the characteristic value there are when identical file in server Reference listing adds the mark of user to the list of file references;
When first judging result shows that identical file is not present in server, feedback message is sent to user, so that User is obtained according to transmitting file on the feedback message;Store upload file and the file unique features value, create with The corresponding list of file references of the characteristic value;It saves between the characteristic value, list of file references, file storage address of file Mapping relations;Wherein, the list of file references includes to possess the corresponding user identifier of user of the file, for showing Stating user has operating right to the file, when receiving operation of the user for the file, according to the file File characteristic value and the list of file references judge whether user has operating right;When the judgment result is yes, allow User executes operation;
The method also includes:
The file deletion requests of user are received, the removal request includes the unique features value of the file;
List of file references corresponding with the characteristic value is obtained according to the unique features value of the file;
User identifier corresponding with the user is deleted in the list of file references;
When the user identifier in the list of file references is empty, delete in the server corresponding with the list of file references File data.
2. the method according to claim 1, wherein described create file referenced column corresponding with the characteristic value Table specifically:
User identifier is added to the list of file references, saves list of file references and file by new files reference listing Characteristic value corresponding relationship.
3. the method according to claim 1, wherein the method also includes:
The file download request of user is received, includes the unique features value of the file in the downloading request;
List of file references corresponding with the unique features value is obtained according to the unique features value of the file;
Judge that the user identifier of the user whether there is in list of file references, obtains the second judging result;
In the presence of second judging result shows that the user identifier of the user is in list of file references, according to file Mapping relations between characteristic value and file storage address obtain file data corresponding with the characteristic value;
By the file data transfer to user terminal.
4. the method according to claim 1, wherein the method also includes:
User account information is stored, the account information includes user identifier, the file information;
When list of file references updates, user account information described in synchronized update.
5. a kind of cloud storage service device characterized by comprising
First receiving unit, for receive user transmission file upload request, the upload request include the file only One characteristic value;
First judging unit judges in server for the unique features value according to the file with the presence or absence of identical file, Obtain the first judging result;When first judging result shows in server there are when identical file, into adding unit; When first judging result shows that identical file is not present in server, into storage unit;
First acquisition unit, for showing in server to obtain and the spy there are when identical file when the first judging result The corresponding list of file references of value indicative adds the mark of user to the list of file references;
Storage unit, for sending and feeding back to user when the first judging result shows that identical file is not present in server Message, so that user is according to transmitting file on the feedback message;Store the unique features of the file and the file that upload Value creates list of file references corresponding with the characteristic value;Save characteristic value, list of file references, the file storage of file Mapping relations between address;Wherein, the list of file references includes to possess the corresponding user identifier of user of the file, For showing that the user has operating right to the file, when receiving operation of the user for the file, according to The file characteristic value and the list of file references of the file judge whether user has operating right;When judging result is When being, user is allowed to execute operation;
The server further include:
Second receiving unit, for receiving the file deletion requests of user, the removal request includes unique spy of the file Value indicative;
Second acquisition unit, for obtaining file referenced column corresponding with the characteristic value according to the unique features value of the file Table;
Unit is deleted, for deleting user identifier corresponding with the user in the list of file references;And when described When user identifier in list of file references is empty, number of files corresponding with the list of file references is deleted in the server According to.
6. server according to claim 5, which is characterized in that the storage unit includes that reference listing establishes unit, The reference listing establishes unit for new files reference listing, and user identifier is added to the list of file references, protects Deposit the corresponding relationship of the characteristic value of list of file references and file.
7. server according to claim 5, which is characterized in that the server further include:
Third receiving unit includes the unique of the file in the downloading request for receiving the file download request of user Characteristic value;
Third acquiring unit is drawn for obtaining file corresponding with the unique features value according to the unique features value of the file Use list;
Second judgment unit obtains second for judging that the user identifier of the user whether there is in list of file references Judging result;
4th acquiring unit, the second judging result for sending when the judging unit show that the user identifier of the user exists In the presence of in list of file references, according to the mapping relations between the characteristic value of file and file storage address, obtain with it is described The corresponding file data of characteristic value;
Transmission unit is used for the file data transfer to user terminal.
8. server according to claim 5, which is characterized in that the storage unit is also used to store user account letter Breath, the account information includes user identifier, the file information;
The server further include:
Updating unit, for when list of file references updates, user account information described in synchronized update.
CN201210491004.5A 2012-11-27 2012-11-27 A kind of cloud storage method and server Active CN103841170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210491004.5A CN103841170B (en) 2012-11-27 2012-11-27 A kind of cloud storage method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210491004.5A CN103841170B (en) 2012-11-27 2012-11-27 A kind of cloud storage method and server

Publications (2)

Publication Number Publication Date
CN103841170A CN103841170A (en) 2014-06-04
CN103841170B true CN103841170B (en) 2018-12-14

Family

ID=50804295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210491004.5A Active CN103841170B (en) 2012-11-27 2012-11-27 A kind of cloud storage method and server

Country Status (1)

Country Link
CN (1) CN103841170B (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI604320B (en) * 2014-08-01 2017-11-01 緯創資通股份有限公司 Methods for accessing big data and systems using the same
CN104219534B (en) * 2014-08-27 2019-02-26 烽火通信科技股份有限公司 A kind of Linux set-top box realizes the system and method for cloud storage agency
CN105577712B (en) * 2014-10-10 2019-06-11 腾讯科技(深圳)有限公司 A kind of file uploading method, device and system
CN104468763B (en) * 2014-11-28 2018-09-04 北京奇安信科技有限公司 A kind of method and apparatus that file is uploaded to website root
CN105988890B (en) * 2015-01-29 2020-01-17 阿里巴巴集团控股有限公司 Information backup method and device
CN105306537B (en) * 2015-09-22 2018-12-18 浪潮(北京)电子信息产业有限公司 A kind of method of file that transmitting the office automation system, server and client side
CN105718569A (en) * 2016-01-20 2016-06-29 广州视睿电子科技有限公司 Method, device and system for uploading compound document
CN106302641B (en) 2016-07-27 2019-10-01 北京小米移动软件有限公司 A kind of methods, devices and systems of upper transmitting file
CN106257461B (en) * 2016-08-29 2023-09-08 董晓明 Data storage method and device
CN106455049B (en) 2016-09-18 2020-03-03 北京小米移动软件有限公司 Positioning method and device based on wireless local area network
CN106487884A (en) * 2016-09-29 2017-03-08 乐视控股(北京)有限公司 Data transmission method and client
CN106790484A (en) * 2016-12-13 2017-05-31 宁夏宁信信息科技有限公司 Classifying type is based on the storage expansion method and device of cloud service
CN106897098A (en) * 2017-02-27 2017-06-27 郑州云海信息技术有限公司 A kind of template operation method and device
CN106936917A (en) * 2017-03-24 2017-07-07 联想(北京)有限公司 A kind of cloud storage method and device, electronic equipment
CN107734031B (en) * 2017-10-16 2021-11-09 桂进林 Information interaction method and system based on electronic book
CN107741981A (en) * 2017-10-16 2018-02-27 桂进林 A kind of e-book management method and device
CN107968830A (en) * 2017-12-01 2018-04-27 温州中普科技咨询有限公司 A kind of high in the clouds integration platform for mobile application exploitation
CN108243255A (en) * 2018-01-17 2018-07-03 安徽中骄智能科技有限公司 A kind of caching method and system of the remote synchronization pushing files based on VR equipment
CN109542864A (en) * 2018-11-29 2019-03-29 广州创维平面显示科技有限公司 A kind of resource storage method, resource downloading method, system, equipment and medium
CN109597798B (en) * 2018-12-04 2024-07-09 平安科技(深圳)有限公司 Network file deleting method and device, computer equipment and storage medium
CN110012055A (en) * 2018-12-29 2019-07-12 北京乐我无限科技有限责任公司 File uploading method, apparatus and system
CN110263001B (en) * 2019-06-18 2024-02-06 深圳前海微众银行股份有限公司 File management method, device, system, equipment and computer readable storage medium
CN111083222B (en) * 2019-12-13 2022-11-18 中富通集团股份有限公司 Data uploading method and terminal
CN111581166A (en) * 2020-04-03 2020-08-25 北京明略软件系统有限公司 File storage method and device
CN112988663A (en) * 2021-03-11 2021-06-18 维沃移动通信有限公司 File storage method and electronic equipment
CN112966133A (en) * 2021-03-25 2021-06-15 深圳康佳电子科技有限公司 Data storage processing method, server and computer readable storage medium
CN113590532A (en) * 2021-07-30 2021-11-02 维沃移动通信(杭州)有限公司 File processing method and device, electronic equipment and readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3836261B2 (en) * 1998-08-10 2006-10-25 株式会社リコー File system
JP2000315167A (en) * 1999-04-30 2000-11-14 Toshiba Corp Data management device, computer system and storage medium storing program
CN1816822B (en) * 2003-08-11 2010-09-29 索尼株式会社 Authentication method, authentication system, and authentication server
KR20060016975A (en) * 2004-08-19 2006-02-23 에스케이 텔레콤주식회사 Method and apparatus for querying terminal information using user identification
CN101141476A (en) * 2007-10-09 2008-03-12 创新科存储技术(深圳)有限公司 File storing, downloading method and device
US7836174B2 (en) * 2008-01-30 2010-11-16 Commvault Systems, Inc. Systems and methods for grid-based data scanning

Also Published As

Publication number Publication date
CN103841170A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103841170B (en) A kind of cloud storage method and server
JP6629697B2 (en) Method and apparatus for extracting a virtual machine image file
CN102129378B (en) A kind of software menu updating method and device
CN102355426B (en) Method for transmitting off-line file and system
CN103916479B (en) Cloud synchronous local area network accelerating system based on working group document
US20150222765A9 (en) Client device state collection and network-based processing solution
US10740139B2 (en) Method and system for performing hyperconvergence using blockchains
CN102413185A (en) Cloud platform automatic updating system based on BT technology
CN115640110B (en) Distributed cloud computing system scheduling method and device
CN103716356A (en) Storage process operation method, device and system based on Web
CN104125294B (en) A kind of large data safety control method and system
CN112416396B (en) Application program updating method and system
CN111491037A (en) Communication method with object storage server through SFTP data stream
JP5268589B2 (en) Information processing apparatus and information processing apparatus operating method
CN105335186A (en) Data downloading management method and system
JP6067714B2 (en) Scale-out system that acquires event data
CN105471700A (en) Information processing method, information processing device and information processing system
CN112838935A (en) Electronic data exchange method and system
CN113055493B (en) Data packet processing method, device, system, scheduling device and storage medium
CN106657195B (en) Task processing method and relay device
CN115878138B (en) Application pre-download method, device, computer and storage medium
KR20150135773A (en) Object life cycle management in a publish-subscribe environment
CN105338105B (en) The desktop terminal equipment configuration method and system of call center
US20110055279A1 (en) Application server, object management method, and object management program
CN113472638B (en) Edge gateway control method, system, device, electronic equipment and storage medium

Legal Events

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