大数据量TLV文件快速解析程序设计及应用  被引量:1

Design and Application of Fast Parsing Big TLV File

在线阅读下载全文

作  者:孙立哲 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[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象