发明名称 STORAGE SPACE MAPPING METHOD AND APPARATUS
摘要 Embodiments of the present invention provide a storage space mapping method and apparatus. The method includes: parsing source code, so as to acquire a home file and/or a home folder of each function and/or variable in the source code; acquiring a mapping relationship between the home file and a storage area identifier and/or between the home folder and a storage area identifier, and establishing, according to the mapping relationship, a mapping relationship between each function and/or variable and the storage area identifier; and mapping, according to a mapping relationship between the storage area identifier and storage space, each function and/or variable to the storage space. According to the storage space mapping method and apparatus provided in the embodiments of the present invention, development workload and maintenance costs of storage space mapping can be greatly reduced.
申请公布号 US2015106583(A1) 申请公布日期 2015.04.16
申请号 US201414573977 申请日期 2014.12.17
申请人 Huawei Technologies Co., Ltd. 发明人 Zhou Wei
分类号 G06F3/06 主分类号 G06F3/06
代理机构 代理人
主权项 1. A storage space mapping method, comprising: parsing source code, so as to acquire a home file of each function in the source code; acquiring a mapping relationship between the home file and a storage area identifier, and establishing, according to the mapping relationship, a mapping relationship between each function and the storage area identifier; and mapping, according to a mapping relationship between the storage area identifier and storage space, each function to the storage space.
地址 Shenzhen CN