Method for storing real-time data

A technology of real-time data and data content, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of unable to read and explain the content, inconvenient storage of record numbers, occupation, etc., to improve reliability and integrity performance, ensure maintainability, and increase the storage quantity

Inactive Publication Date: 2009-09-02
INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the data storage on the computer uses a standard file management system, such as FAT, NTFS, etc., which all adopt a directory-based management method. In the actual physical address, the storage address of the file content is pointed to the storage address of the file content step by step through the pointer. Unified to many The data of each file is managed, so that once a certain directory pointer in the physical address is wrong, the content in the file cannot be read and interpreted, and it is risky to use it in an embedded collector.
Many current embedded collectors use a record-based storage method. Each record contains all the information of the data content and is stored continuously in the physical address to ensure that all data is unreadable due to some data corruption. However, this method requires each record to adopt a fixed storage format to contain all storage information, causing each record to occupy many bytes, which is not convenient for storing more records in a limited-capacity memory

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for storing real-time data
  • Method for storing real-time data
  • Method for storing real-time data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the described embodiments are only intended to facilitate the understanding of the present invention, but do not have any limiting effect on it.

[0047] A method for storing real-time data by using an embedded collector of the present invention, the data of multiple sensors collected in real time by the embedded collector is used as a storage object; it is a highly reliable ARM collector in an industrial collection environment. A special method for real-time data storage, using a special storage format and management method, consisting of storage index and data content.

[0048] Each piece of real-time data collected by the collector includes channel number, year, month, day, hour, minute, second, and real-time data value information. The real-time data value is a single-precision floating-point number represented by 4 bytes. During storage, ferr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for storing real-time data, which comprises the following steps: the data of a storage sensor is collected by a collector in real time; the summary information of a main index is accessed, checked and compared; the latest indicator of the main index content is extracted; the latest storage indicator of the data is accessed; data content and a check code are stored; new index content and the check code are calculated; the main index content and the check code are stored; main index summary is updated and stored; backup index content and the check code are stored; backup index summary is stored; the backup index summary is accessed and then checked and compared; the latest indicator of the backup index is acquired; the latest storage indicator of the data content is accessed; and storage information is reestablished. Double indexes and multiple checks are adopted for protecting the data in a storage unit, thus guaranteeing the complete content of the data stored in the collector. Cycling coverage is adopted for realizing the continuous storage of data content under fixed storage capacity, improving the reliability and completeness of important parameter record during the industrial process and promoting the operation efficiency of process monitoring and work safety.

Description

technical field [0001] The present invention relates to the field of information processing technology in the field of information technology and automation, and relates to a method for storing real-time data used on an embedded collector, which is a software process executed on an embedded operating system and is suitable for harsh application environments Embedded collector real-time data storage. Background technique [0002] In the industrial production process, the change process of various parameters often reflects the operation status of the production equipment and the connection of the production process in a stage. Requirements, etc. are of great significance. Embedded collectors are widely used in the industrial field to measure and record many industrial parameters (such as temperature, pressure, flow, etc.), generate continuous historical data, and provide first-hand information for analysis and research for technicians and managers. However, due to the harsh ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G05B19/048
Inventor 李恩谭民梁自泽侯增广梁潇尚继林王硕赵晓光
Owner INST OF AUTOMATION CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products