首页> 外国专利> DATA STORAGE METHOD, DATA QUERY METHOD, COMPUTER DEVICE, AND STORAGE MEDIUM

DATA STORAGE METHOD, DATA QUERY METHOD, COMPUTER DEVICE, AND STORAGE MEDIUM

机译:数据存储方法,数据查询方法,计算机设备和存储介质

摘要

A data storage method, relating to the technical field of data storage. The method comprises: sharding data in streaming data to obtain a data segment (201); performing Hash computation according to an identifier of the streaming data and time information corresponding to the data segment to obtain an identifier of a virtual storage node corresponding to the data segment (202); determining at least one storage device corresponding to the data segment according to the identifier of the virtual storage node corresponding to the data segment (203); and storing the data segment to the corresponding at least one storage device (204). During a search for data in the streaming data later, a user only needs to provide time information corresponding to the desired data, and a storage system can directly determines, according to the time information, a storage device which stores a corresponding data segment, so that system overhead of the storage system is reduced in a process of a streaming data search, and system resources are saved.
机译:一种数据存储方法,涉及数据存储技术领域。该方法包括:在流数据中分片数据以获得数据段(201);根据所述流数据的标识和所述数据段对应的时间信息进行哈希计算,得到所述数据段对应的虚拟存储节点的标识(202);根据所述数据段对应的虚拟存储节点的标识,确定所述数据段对应的至少一个存储设备(203);将数据段存储到对应的至少一个存储设备(204)。稍后在流数据中搜索数据时,用户只需要提供与所需数据相对应的时间信息即可,存储系统可以根据该时间信息直接确定存储相应数据段的存储设备,因此减少了流数据搜索过程中存储系统的系统开销,节省了系统资源。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号