Log management method and device

A management method and log technology, which are applied in the fields of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of loss of log information, shorten the service life of the Flash file system, etc., and achieve the effect of reducing the number of times.

Active Publication Date: 2017-05-17
济南宇视智能科技有限公司
View PDF16 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the prior art, if the embedded device is powered off before the log information in the memory file system is compressed and written into the Flash file system, the log information in the memory file system will still be lost; If there are many log information, the embedded device still needs to write log information to the Flash file system multiple times, thereby reducing the service life of the Flash file system

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
  • Log management method and device
  • Log management method and device
  • Log management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0042] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 provides a log management method and device. The method is applied to a terminal with an embedded system. A memory file system and a Flash file system are mounted in the embedded system. The method comprises the steps that log information of the embedded system is obtained; the working state of the embedded system is obtained; if the working state shows that the embedded system works normally, the log information is written to the memory file system; if the working state shows that the an exception occurs in the embedded system, the log information is written to the Flash file system. By means of the method, the log information which contains exception information occurring in the running process of an embedded device can be effectively stored and recorded, so that a user can position a fault, analyze causes of the exception and the like according to the log information, and meanwhile, the service life of the Flash file system is avoided from being affected.

Description

technical field [0001] The present application relates to the field of embedded technology, in particular to a log management method and device. Background technique [0002] With the development of computer technology, embedded system has become an important part of computer field. For embedded systems, the log information recorded during operation plays a very important role for users to locate faults. [0003] In the prior art, the embedded device can first write the log information generated in the running process into the memory file system, and then compress the log information in the memory file system and write it into the Flash file system to avoid The log information recorded in the memory file system is lost when the device is powered off. [0004] However, in the prior art, if the embedded device is powered off before the log information in the memory file system is compressed and written into the Flash file system, the log information in the memory file system...

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): G06F17/30
CPCG06F16/1744G06F16/1815
Inventor 张键
Owner 济南宇视智能科技有限公司
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