设备数据读取方法及系统

Method and system for reading device data

Abstract

本发明公开了一种设备数据读取方法及系统,其中,所述设备数据读取方法包括:将设备产生的数据放入一数据库中;获取所述数据库中的数据并将获取到的数据存入一中间文件中;在接收到一查询请求时,从所述中间文件中调取数据。本发明弥补了现有技术中查询数据库中的数据容易造成服务器资源重复浪费的不足,通过改变设备数据的存储位置,减少了资源浪费,加快了调取数据的时间,即使设备数据不断地更新,也不易出现数据丢失或者查询缓慢甚至无法查询等不良后果,能够监控设备的性能状态,为设备的维修和诊断提供了一定的依据,提高了生产效率。
The invention discloses a method and system for reading device data. The method for reading device data includes the steps of placing device generated data into a database; acquiring data in the database and storing the acquired data into an intermediate file; and calling the data from the intermediate file when receiving a query request. The invention makes up for the shortcoming that the query of data in the database can easily result in duplication and waste of resources of a server in the prior art; by changing the storage position of the device data, the invention reduces the waste of resources, accelerates the calling of data, and does not easily cause adverse consequences like data loss or query delay or even query failure even if the device data are updated continuously; and can monitor the performance state of the device, provides a certain basis for the repair and diagnosis of the device, and improves the production efficiency.

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (0)

    Publication numberPublication dateAssigneeTitle

NO-Patent Citations (0)

    Title

Cited By (0)

    Publication numberPublication dateAssigneeTitle