计算机应用
計算機應用
계산궤응용
COMPUTER APPLICATION
2012年
5期
1429-1431,1435
,共4页
有限元分析%内存映射文件%进程地址%分段映射%文本文件
有限元分析%內存映射文件%進程地阯%分段映射%文本文件
유한원분석%내존영사문건%진정지지%분단영사%문본문건
对于有限元分析软件导出的大型结果文件,在使用常规的文件操作函数处理时,容易导致计算机速度缓慢甚至失去响应.针对这个问题,提出了一种基于内存映射文件读写数据的方法.该方法通过建立磁盘文件与进程地址的关联,直接访问磁盘文件,提取相关结果信息.当文件过大时,采用了分段映射的技术,逐段进行处理,并对两种不同的分段方式进行了比较.测试结果表明,比起传统的文件读写方法,该方法可以大大提高文件读取的速度,有效适应巨型文本文件的读取需求.
對于有限元分析軟件導齣的大型結果文件,在使用常規的文件操作函數處理時,容易導緻計算機速度緩慢甚至失去響應.針對這箇問題,提齣瞭一種基于內存映射文件讀寫數據的方法.該方法通過建立磁盤文件與進程地阯的關聯,直接訪問磁盤文件,提取相關結果信息.噹文件過大時,採用瞭分段映射的技術,逐段進行處理,併對兩種不同的分段方式進行瞭比較.測試結果錶明,比起傳統的文件讀寫方法,該方法可以大大提高文件讀取的速度,有效適應巨型文本文件的讀取需求.
대우유한원분석연건도출적대형결과문건,재사용상규적문건조작함수처리시,용역도치계산궤속도완만심지실거향응.침대저개문제,제출료일충기우내존영사문건독사수거적방법.해방법통과건립자반문건여진정지지적관련,직접방문자반문건,제취상관결과신식.당문건과대시,채용료분단영사적기술,축단진행처리,병대량충불동적분단방식진행료비교.측시결과표명,비기전통적문건독사방법,해방법가이대대제고문건독취적속도,유효괄응거형문본문건적독취수구.