CN103248674B - The shared file management method of cross-domain cloud platform - Google Patents

The shared file management method of cross-domain cloud platform Download PDF

Info

Publication number
CN103248674B
CN103248674B CN201310139941.9A CN201310139941A CN103248674B CN 103248674 B CN103248674 B CN 103248674B CN 201310139941 A CN201310139941 A CN 201310139941A CN 103248674 B CN103248674 B CN 103248674B
Authority
CN
China
Prior art keywords
file
territory
user
distribution table
domain
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
CN201310139941.9A
Other languages
Chinese (zh)
Other versions
CN103248674A (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201310139941.9A priority Critical patent/CN103248674B/en
Publication of CN103248674A publication Critical patent/CN103248674A/en
Application granted granted Critical
Publication of CN103248674B publication Critical patent/CN103248674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of shared file management method for cross-domain cloud platform, core out territory in territory, for safeguarding shared file distribution table, when certain territory user uploads shared file, central field distribution table increases record, when user downloads shared file, this file position can be inquired about in the distribution table of central field, thus achieve the object using minimum cost to reach cross-domain file transfer management, simultaneously by arranging public file in each virtual machine, corresponding shared file center, display wherein " whether being duplicate of the document " field is the partial sharing file distribution table of " no ", user uploads, during download file, only need file copy in this file, thus realize virtual machine and the machine to the slitless connection of file operation.

Description

The shared file management method of cross-domain cloud platform
Technical field
The present invention relates to cloud storage administration field, particularly relate to cross-domain cloud platform shared file management domain.
Background technology
Along with increasing substantially of computer hardware and software engineering, people more and more rely on computer management and calculate mass data, and independent computer capacity and computing capability can not meet the demand of people far away, the cloud epoch arise at the historic moment, rely on the disk array of high performance server and vast capacity, and the cloud platform that High speed network bandwidth builds makes mass data storage and high performance parallel computation become possibility, this also necessarily following internet development trend.
The infrastructure building cloud platform is preferably in together in a local area network (LAN), but often there is the situation of necessary cross-domain connection in reality, now transparent in order to ensure upper-layer user, must the administrative mechanism of Erecting and improving be to deal carefully with the cross-domain difficult problem brought when providing service, wherein one of difficult point is the management of shared file.
Traditional cloud dish service simultaneously only relates to the file transfer problem of the local machine of user and service device; but cloud platform usually can provide virtual machine service to user; the virtual machine terminal of extra introducing; how two-point defined line management before having broken, realize local and virtual machine is also problem demanding prompt solution to the slitless connection of file operation.
Summary of the invention
The object of the invention is to provide a kind of guarantee to upper-layer user's transparency, the shared file management method of the Least-cost of file management simultaneously.
To achieve these goals, the present invention is by the following technical solutions:
A shared file management method for cross-domain cloud platform, comprises the following steps:
(1) provide that the infrastructure of cloud service is cross-domain to be connected, each territory provides whole cloud service respectively to the user being in this territory, described in be in this territory, namely user to connect the network speed in this territory the fastest;
In the present invention, territory refers to a server cluster, and they are in a local area network (LAN), and intercom mutually and only just can complete by local area network (LAN), different territories is in different local area network (LAN)s, and intercommunication needs just can be completed by the Internet mutually.
(2) whether from all territories, select a central field, described central field safeguards a shared file distribution table, comprises following field: filename, storage domain, owner, uplink time, be duplicate of the document;
Central field can have multiple choices mode, such as can select territory centered by the current residing territory of developer, can conveniently develop like this; Or territory centered by the territory selecting network speed the fastest, conveniently can communicate like this, in practical operation, select suitable territory as central field as required.
Shared file and publicly-owned file.
If A territory user uploads shared file, then file is stored in the server in A territory, and the distribution table of central field increases a record simultaneously; If A territory user downloads shared file, first find whether there is this file at A domain server, if existed, then download, if do not exist, then go to B territory, inquiry file position in the distribution table of central field, then from B territory by file transfer to A territory, and the copy retaining this file is in A territory, when other user in such A territory downloads identical file again, just can directly download; When file transfer completes to A domain server, whether need the distribution table of central field to add record, wherein a filename, owner, uplink time is all consistent with original record, and storage domain is set to " A territory ", be that duplicate of the document is set to "Yes"; If user deletes the shared file oneself uploaded, then go central field distribution table to inquire about the prototype version of this file and all copy positions, delete one by one, and delete corresponding table record.
Further, cloud platform provides virtual machine service to user, when user is from local machine upload file, uploaded by web terminal, when user downloads the file into local machine, downloaded by web terminal, built-in file: the public of each virtual machine, the shared file center of the corresponding web terminal of this file, the content shown in described file comes from the shared file distribution table of central field, but only showing wherein " whether being duplicate of the document " field is the part of " no ", and the just file shortcut shown in file, when user wants to be uploaded by virtual machine, download, during deletion action, the operation of rear end still passes through Internet Transmission, when user wants from virtual machine upload file, only need file copy in corresponding file, when user downloads the file into virtual machine, only need to copy out from corresponding file.
Herein, public is the name of file, gets the meaning of its Chinese " public ", just can know that the effect of this file is " sharing ", i.e. the place of Storage sharing file by name.In practical implementations, developer can name arbitrarily.
The present invention compared with prior art, has following beneficial effect:
The present invention is by selection central field, utilize central field to safeguard that shared file distribution table ensures the transparency to user, when certain territory user uploads shared file, central field distribution table increases record, when user downloads shared file, this file position can be inquired about in the distribution table of central field, thus achieve the object using minimum cost to reach cross-domain file transfer management.
Further, by arranging public file in each virtual machine, corresponding shared file center, display wherein " whether being duplicate of the document " field is the partial sharing file distribution table of " no ", user uploads, download file time, only need file copy in this file, thus realize virtual machine and the machine to the slitless connection of file operation.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the shared file distribution table that central field is safeguarded.
Fig. 2 is the schematic flow sheet of user's system process when uploading shared file.
The schematic flow sheet of system process when Fig. 3 user downloads shared file.
Embodiment
Below in conjunction with embodiment and accompanying drawing, invention is described in detail.
Embodiment 1
The embodiment of cross-domain cloud platform shared file management method provided by the invention comprises the steps:
(1) from all territories, choose territory centered by a territory, in this domain server database, safeguard a shared file distribution table, as shown in Figure 1.
(2) when A territory user userA uploads shared file fileA, as shown in Figure 2, fileA is stored in A domain server, adds record in the shared file distribution table of central field simultaneously:
Filename Storage domain Owner Uplink time Whether be duplicate of the document
fileA A territory userA timeA no
(3) during A territory user userA download file fileB, as shown in Figure 3, first find whether there is this file at A domain server, if existed, directly download, without the need to other process.If do not exist, then go to inquire about fileB record in the distribution table of central field, suppose that Query Result is:
Filename Storage domain Owner Uplink time Whether be duplicate of the document
fileB B territory userB timeB no
Then system can send transfer files requirement to B territory, and transmission destination is A domain server, and after end of transmission, file passes to user userA from A domain server, meanwhile, adds a record as follows in the distribution table of central field:
Filename Storage domain Owner Uplink time Whether be duplicate of the document
fileB A territory userB timeB yes
(4), when A territory user userA deletes the shared file fileA oneself uploaded, go central field distribution table to inquire about the memory location of fileA prototype version and all copies, delete one by one, and delete corresponding table record.
By above-mentioned steps, achieve cross-domain shared file minimum cost management and transmission.
Illustrate again below and how to realize local and virtual machine to the slitless connection of file, be i.e. uniformity operation:
Cloud platform is the administration interface that user provides web terminal, and wherein file site provides and uploads download, delete file operation service, when user needs file operation, can be completed by web page, and this is closely similar with the cloud dish of traditional sense.
In each virtual machine, a built-in public file, this is corresponding with the shared file center of web terminal, the content shown in this file comes from the shared file distribution table of central field, but only showing wherein " whether being duplicate of the document " field is the part of " no ", and the just file shortcut shown in file, it is not real file, so when user wants to be uploaded by virtual machine, download, during deletion action, the operation of rear end still passes through Internet Transmission, such as, userA wants to delete fileB, then system can go to inquire about fileB owner in central field distribution table is whom, if not userA, then point out " without erase right ".By aforesaid operations, achieve virtual machine and local to the slitless connection of file operation.
Although the present invention with preferred embodiment openly as above; but it is not for limiting the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; the Method and Technology content of above-mentioned announcement can be utilized to make possible variation and amendment to technical solution of the present invention; therefore; every content not departing from technical solution of the present invention; according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all belong to the protection range of technical solution of the present invention.

Claims (2)

1. a shared file management method for cross-domain cloud platform, is characterized in that, comprise the following steps:
There is provided that the infrastructure of cloud service is cross-domain to be connected, each territory provides whole cloud service respectively to the user being in this territory, described in be in this territory, namely user to connect the network speed in this territory the fastest, whether from all territories, select a central field, described central field safeguards a shared file distribution table, comprises following field: filename, storage domain, owner, uplink time, be duplicate of the document, if A territory user uploads shared file, then file is stored in the server in A territory, and the distribution table of central field increases a record simultaneously, if A territory user downloads shared file, first find whether there is this file at A domain server, if existed, then download, if do not exist, then go to B territory, inquiry file position in the distribution table of central field, then from B territory by file transfer to A territory, and the copy retaining this file is in A territory, when other user in such A territory downloads identical file again, just can directly download, when file transfer completes to A domain server, the distribution table of central field is needed to add a record, wherein filename, owner, uplink time is all consistent with original record, storage domain is set to " A territory ", whether be that duplicate of the document is set to " yes ", if user deletes the shared file oneself uploaded, then go central field distribution table to inquire about the prototype version of this file and all copy positions, delete one by one, and delete corresponding table record.
2. the shared file management method of cross-domain cloud platform according to claim 1, it is characterized in that: cloud platform provides virtual machine service to user, when user is from local machine upload file, uploaded by web terminal, when user downloads the file into local machine, downloaded by web terminal, the built-in file public of each virtual machine, the shared file center of the corresponding web terminal of this file, the content shown in described file comes from a part for the file listed by shared file distribution table of central field, but only showing wherein " whether being duplicate of the document " field is the part of " no ", and the just file shortcut shown in file, when user is uploaded by virtual machine, download, during deletion action, the operation of rear end still passes through Internet Transmission, when user is from virtual machine upload file, only need file copy in corresponding public file, when user downloads the file into virtual machine, only need to copy out from corresponding public file.
CN201310139941.9A 2013-04-22 2013-04-22 The shared file management method of cross-domain cloud platform Active CN103248674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310139941.9A CN103248674B (en) 2013-04-22 2013-04-22 The shared file management method of cross-domain cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310139941.9A CN103248674B (en) 2013-04-22 2013-04-22 The shared file management method of cross-domain cloud platform

Publications (2)

Publication Number Publication Date
CN103248674A CN103248674A (en) 2013-08-14
CN103248674B true CN103248674B (en) 2015-11-18

Family

ID=48927895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310139941.9A Active CN103248674B (en) 2013-04-22 2013-04-22 The shared file management method of cross-domain cloud platform

Country Status (1)

Country Link
CN (1) CN103248674B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9973380B1 (en) 2014-07-10 2018-05-15 Cisco Technology, Inc. Datacenter workload deployment using cross-domain global service profiles and identifiers
CN105516305A (en) * 2015-12-07 2016-04-20 国云科技股份有限公司 Method for carrying out efficient cross-domain file uploading based on binary mode
CN106446142A (en) * 2016-09-21 2017-02-22 郑州云海信息技术有限公司 Design method of inter-regional file system
CN106534380A (en) * 2016-12-30 2017-03-22 郑州云海信息技术有限公司 Virtual platform file management method and system
CN107404520A (en) * 2017-07-20 2017-11-28 郑州云海信息技术有限公司 A kind of management method and system based on cloud management platform
CN115514759B (en) * 2022-11-22 2023-03-24 天津中新智冠信息技术有限公司 File forwarding method, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281320A (en) * 2011-04-25 2011-12-14 程旭 Method for controlling data redundancy in cloud storage and apparatus thereof
CN102333079A (en) * 2011-02-25 2012-01-25 北京兴宇中科科技开发股份有限公司 Method for clearing disk space
CN102360320A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Terminal backup object sharing and recovery method based on cloud architecture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9218343B2 (en) * 2010-12-20 2015-12-22 International Business Machines Corporation Partition file system for virtual machine memory management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333079A (en) * 2011-02-25 2012-01-25 北京兴宇中科科技开发股份有限公司 Method for clearing disk space
CN102281320A (en) * 2011-04-25 2011-12-14 程旭 Method for controlling data redundancy in cloud storage and apparatus thereof
CN102360320A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Terminal backup object sharing and recovery method based on cloud architecture

Also Published As

Publication number Publication date
CN103248674A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN103248674B (en) The shared file management method of cross-domain cloud platform
US10142406B2 (en) Automated data center selection
JP6188732B2 (en) Computer-implemented method, computer program product, and system for managing tenant-specific data sets in a multi-tenant environment
US9002982B2 (en) Automated desktop placement
US9552366B2 (en) Automated data synchronization
US20140258155A1 (en) Application marketplace for virtual desktops
US20150180948A1 (en) United cloud disk client, server, system and united cloud disk serving method
US9641598B1 (en) Contextually unique identifier generation service
CN106294585A (en) A kind of storage method under cloud computing platform
CN106506587A (en) A kind of Docker image download methods based on distributed storage
AU2016280163A1 (en) Managing dynamic IP address assignments
KR102256890B1 (en) Access method and device
CN103442057A (en) Cloud storage system based on user collaboration cloud
Mansouri et al. Dynamic replication and migration of data objects with hot-spot and cold-spot statuses across storage data centers
CN103064637A (en) Network disk cache synchronizing method and system
US20120296871A1 (en) File managing apparatus for processing an online storage service
CN102281320A (en) Method for controlling data redundancy in cloud storage and apparatus thereof
CN113312311A (en) Method and device for processing name space
CN104601666A (en) Log service method and cloud platform
KR20120013475A (en) Apparatus for managing data by using url information in a distributed file system and method thereof
CN116848517A (en) Cache indexing using data addresses based on data fingerprints
CN112988879B (en) Method, system, device, storage medium and processor for accessing database
CN106027632A (en) Data transmission method and device
WO2012171363A1 (en) Method and equipment for data operation in distributed cache system
CN105046162B (en) The caching safeguarded in content addressable storage systems and father is mapped using son

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant