首页> 外国专利> Method and system for versioned file system using structured data representations

Method and system for versioned file system using structured data representations

机译:使用结构化数据表示的版本化文件系统的方法和系统

摘要

A versioned file system comprises a set of structured data representations, such as XML. In a representative embodiment, at a first time, the interface creates and exports to the data store a first structured data representation corresponding to a first version of the local file system. The first structured data representation is an XML tree having a root element, one or more directory elements associated with the root element, and one or more file elements associated with a given directory element. Upon a change within the file system (e.g., file creation, file deletion, file modification, directory creation, directory deletion and directory modification), the interface creates and exports a second structured data representation corresponding to a second version of the file system. The second structured data representation differs from the first structured data representation up to and including the root element of the second structured data representation. The interface continues to generate and export the structured data representations to the data store, preferably at given “snapshot” times when changes within the file system have occurred. The data store preferably comprises one or more cloud storage service providers. As necessary, a given structured data representation is then used to retrieve an associated version of the file system. In this manner, the versioned file system only requires write-once behavior from the data store to preserve its complete state at any point-in-time.
机译:版本化的文件系统包括一组结构化的数据表示形式,例如XML。在代表性实施例中,在第一时间,该接口创建与本地文件系统的第一版本相对应的第一结构化数据表示并将其导出到数据存储。第一结构化数据表示是具有根元素,与该根元素相关联的一个或多个目录元素以及与给定目录元素相关联的一个或多个文件元素的XML树。在文件系统内进行更改时(例如,文件创建,文件删除,文件修改,目录创建,目录删除和目录修改),该接口创建并导出与文件系统的第二版本相对应的第二结构化数据表示。第二结构化数据表示形式与第一结构化数据表示形式不同,直至并包括第二结构化数据表示形式的根元素。接口继续生成结构化数据表示并将其导出到数据存储,最好在文件系统内发生更改的给定“快照”时间进行。数据存储优选地包括一个或多个云存储服务提供商。然后根据需要使用给定的结构化数据表示形式来检索文件系统的关联版本。以这种方式,版本控制文件系统仅需要数据存储中的一次写入行为即可在任何时间点保留其完整状态。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号