一种油液分析仪器数据文件内容解析方法  被引量:2

A Method for Analyzing the Data File Content of Oil Analysis Instrument

在线阅读下载全文

作  者:吴炜[1] 周建辉[1] 刘杰[2] 常兴山 刘雅洁 WU Wei;ZHOU Jianhui;LIU Jie;CHANG Xingshan;LIU Yajie(China Ship Development and Design Center,Wuhan Hubei 430064,China;School of Energy and Power Engineering,Wuhan University of Technology,Wuhan Hubei 430063,China)

机构地区:[1]中国舰船研究设计中心,湖北武汉430064 [2]武汉理工大学能源与动力工程学院,湖北武汉430063

出  处:《润滑与密封》2021年第8期83-87,93,共6页Lubrication Engineering

基  金:国家自然科学基金项目(51839005).

摘  要:在状态监测与诊断领域,需要利用油液分析方法进行特征获取,但这些仪器需要用自带的软件才能进行数据的查看操作。为摆脱该约束,设计一套利用API函数获取仪器软件窗体中控件的位置坐标和具体内容,再以控件间坐标相对关系确定其具体含义,以控件中的具体内容作为搜索值,自动获取特征值在文件中位置的辅助格式解析方法和工具。该工具能将特定分析仪器产生的文件以二进制格式打开,通过依次提取二进制文件中的4个连续字节,并依据浮点数存储格式进行转换,将转换数值与搜索值进行比对,从而输出特定内容在文件中的保存位置,进而解析出文件的存储格式。以光谱分析仪器数据为例进行算法测试验证,表明算法可行,能正确分解出仪器数据的存储格式,为进行文件格式解析和信息提取提供了一种新的思路。In the field of condition monitoring and diagnosis,oil analysis method is needed for feature acquisition,but these instruments need to use their own software to view the data.In order to get rid of this constraint,a set of auxiliary format analysis methods and tools were designed,which uses API functions to obtain the position coordinates and specific contents of the controls in the instrument software form,then uses the relative relationship between the coordinates of the controls to determine its specific meaning,and takes the specific contents of the controls as the search value to automatically obtain the position of the characteristic values in the file.The tool can open the file generated by a specific analyzer in binary format,can extract four consecutive bytes from the binary file in turn,and can convert them according to the floatingpoint storage format.By comparing the converted value with the search value,the tool can output the storage location of the specific content in the file and analyze the storage format of the file.Taking the data of spectral analysis instrument as an example,the algorithm was tested and verified.It is shown that the algorithm is feasible and can correctly decompose the storage format of instrument data,which provides a new idea for file format analysis and information extraction.

关 键 词:油液分析 仪器数据文件 格式解析 API函数 

分 类 号:TP274.2[自动化与计算机技术—检测技术与自动化装置] TH117.2[自动化与计算机技术—控制科学与工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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