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

Active Publication Date: 2014-01-29
GUANGDONG VTRON TECH CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a log storage method, system, and log reading method and system for an embedded system in view of the problems of large hardware resource consumption and complicated operations in the above-mentioned simulation technology.

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
  • Journal storing method, journal storing system, journal reading method and journal reading system of embedded system
  • Journal storing method, journal storing system, journal reading method and journal reading system of embedded system
  • Journal storing method, journal storing system, journal reading method and journal reading system of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] see figure 1 , figure 1 It is a schematic flowchart of the first embodiment of the log storage method of the embedded system of the present invention.

[0042] The log storage method of the described embedded system of the present embodiment comprises the following steps:

[0043] Step 101, acquiring log data of an embedded system.

[0044] Step 102, write the log data into random access memory.

[0045] Step 103, copy the log data written in the random access memory to the external memory.

[0046] In the log storage method of the embedded system described in this embodiment, the log data is first stored in the random access memory, and then the log data is copied from the random access memory to the external memory. On the embedded software system, it can not only guarantee the normal operation of all tasks, but also save the log data quickly with a low memory utilization rate, and the log data copied from the random access memory to the external memory will not ...

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 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.

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/34
Inventor 宋美威吴鹏
Owner GUANGDONG VTRON TECH CO LTD
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