检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]华中科技大学机械科学与工程学院,武汉430074
出 处:《计算机应用》2012年第5期1429-1431,1435,共4页journal of Computer Applications
基 金:国家自然科学基金资助项目(30870605);中央高校基本科研业务费专项资金资助项目(2011ON126)
摘 要:对于有限元分析软件导出的大型结果文件,在使用常规的文件操作函数处理时,容易导致计算机速度缓慢甚至失去响应。针对这个问题,提出了一种基于内存映射文件读写数据的方法。该方法通过建立磁盘文件与进程地址的关联,直接访问磁盘文件,提取相关结果信息。当文件过大时,采用了分段映射的技术,逐段进行处理,并对两种不同的分段方式进行了比较。测试结果表明,比起传统的文件读写方法,该方法可以大大提高文件读取的速度,有效适应巨型文本文件的读取需求。Concerning the problems of low running speed and no response that are very likely to occur when using the common file manipulation function to dispose the large-scale result file exported from Finite Element Analysis (FEA) software, a method of data reading and writing based on memory-mapped file was proposed. By establishing the relation between disk file and process address, the file could be accessed directly to extract the data information. When the data information was very large in size, a method of piecewise map was applied to dispose the disk file, and two different forms of piecewise map were compared. Compared with the traditional method, the result shows that the proposed method can improve the speed greatly and be applied to huge text file effectively.
关 键 词:有限元分析 内存映射文件 进程地址 分段映射 文本文件
分 类 号:TP319[自动化与计算机技术—计算机软件与理论] TP311.56[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117