发明名称 Data storage method and data storage apparatus
摘要 A data storage method and a data storage apparatus are provided. The method includes determining a type of operating system of a host. A configuration file corresponding to the type of the operating system is stored in a data card connected to the host. A memory file system is established according to a first mounting information in the configuration file. A storage device is mounted according to a second mounting information in the configuration file. A correspondence between a storage space in the memory file system and the mounted storage device is set. The mounted storage device is used to store data that is to be stored in the data card.
申请公布号 US9250822(B2) 申请公布日期 2016.02.02
申请号 US201314021702 申请日期 2013.09.09
申请人 Huawei Technologies Co., Ltd. 发明人 Qian Xiaobin
分类号 G06F12/00;G06F3/06;G06F12/02;G06F12/06;H04L29/08;G06F9/44;H04W4/00 主分类号 G06F12/00
代理机构 Slater & Matsil, L.L.P. 代理人 Slater & Matsil, L.L.P.
主权项 1. A method for facilitating data storage of a server based on information stored in a data card, wherein the server includes a processor and a memory file system, the method being performed by the processor, the method comprising: detecting a data card connected with the server; obtaining a configuration file corresponding to a type of operating system of the server from a plurality of configuration files stored in the data card, wherein each configuration file corresponds to a type of operating system; allocating memory space from the memory file system as a cache, based upon first information included in the configuration file, wherein the first information indicates a size of the memory space; formatting the memory space into a partition whose type is compatible with the type of the operating system of the server; mounting a storage device based upon second information included in the configuration file, wherein the second information includes ID of the storage device; recording a first mapping relationship between an address of the partition and the storage device; moving hot spot data from the data card to the partition, the hot spot data being data of which an access frequency exceeds a set threshold; recording a second mapping relation between an address of the hot spot data in the data card and an address of the hot spot data in the partition; receiving a read request, which includes the address of the hot spot data in the data card; and obtaining the hot spot data from the address in the partition, based upon the address in the data card and the second mapping relation.
地址 Shenzhen CN