检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:孙立哲 SUN Li-zhe(eID Department,The Third Research Institute of Ministry of Public Security,Shanghai 201204,China)
机构地区:[1]公安部第三研究所eID事业部
出 处:《电脑知识与技术》2019年第7期16-19,共4页Computer Knowledge and Technology
摘 要:基于某产品测试实际需求,为了实现对大数据量TLV(Type,Length,Value)文件数据正确性的快速自动校验,采用Java编程语言,基于面向对象技术以及内存映射技术,完成了对具有二级嵌套结构型的大数据量TLV文件解析程序设计。在实际应用中,该程序针对内含十万条记录的约50MB的TLV文件,其解析速率可达到提取单条记录平均耗时在毫秒级,可以满足快速解析大数据量TLV文件以便进一步作数据正确性校验的需求。From the actual requirements of a product test,in order to achieve the rapid automatic verification for the data correctness of the large amount of data TLV file,this paper using Java programming language,based on object-oriented technology and memo?ry mapping technology,designed a program for parsing TLV file including a large amount of data with a nested structure.In practi?cal application,for a TLV file with the size of 50MB and containing one hundred thousand records,the parsing rate of the program can reach the extraction of a single record average time in milliseconds.It can satisfy the need of quickly analyzing large amount of data TLV files for further data correctness verification.
关 键 词:TLV文件 快速解析 内存映射文件 面向对象技术 JAVA编程
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.117.11.129