Journal storing method, journal storing system, journal reading method and journal reading system of embedded system

An embedded system and log technology, applied in hardware monitoring and other directions, can solve the problems of large hardware resource consumption and complicated operation, and achieve the effect of low memory utilization
CN103544097AActive Publication Date: 2014-01-29GUANGDONG VTRON TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
GUANGDONG VTRON TECH CO LTD
Publication Date
2014-01-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a journal storing method, a journal storing system, a journal reading method and a journal reading system of an embedded system. The journal storing method includes acquiring log data of the embedded system, writing the log data into a random access memory and copying the log data written in the random access memory to an external memory. With the journal storing method, the journal storing system, the journal reading method and the journal reading system of the embedded system, the log data is stored in the random access memory firstly and then copied to the external memory from the random access memory. In an embedded software system, all tasks can be ensured to operate normally, and the log data can be rapidly stored with low memory use ratio and log data copied from the random access memory to the external memory is not lost when power down; the log data can be rapidly read from the random access memory, and log data lost from the random access memory can be timely read from the external memory.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of embedded systems, in particular to a log storage method and system of an embedded system, and a log reading method and system. Background technique

[0002] In terms of log storage in embedded systems, it is necessary to save files quickly and without order, and read out log data according to user needs. With the continuous advancement of technology, the demand for saving operation files in designated locations is getting higher and higher, and to read out different required data according to requirements, it is necessary to ensure time efficiency and simplicity of data. In an embedded system, mainly by directly storing log files in a RAM (random access memory, random access memory) connected to the CPU.

[0003] However, storing the log files directly in RAM is easy to lose the log files after the system is powered off. Contents of the invention

[0004] Based on this, it is necessary to provide a log storage ...

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