Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Log storage method and device based on embedded device and processor

A technology of embedded devices and processors, used in electrical digital data processing, special data processing applications, instruments, etc.

Pending Publication Date: 2022-07-15
WEICHAI POWER CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of this application is to provide a log storage method, storage device, computer-readable storage medium, processor and embedded device-based storage system based on an embedded device, so as to solve the problem of saving storage space in the prior art. Under the circumstances, the problem of storing the log records of embedded devices more flexibly

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 storage method and device based on embedded device and processor
  • Log storage method and device based on embedded device and processor
  • Log storage method and device based on embedded device and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

[0029] In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.

[0030] It s...

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 storage method and device based on an embedded device and a processor, and the method comprises the steps: dividing software running on the embedded device according to functions, and obtaining a plurality of target modules; according to the time sequence of log record generation in the operation process of each target module, distributing corresponding serial numbers from small to large for the log records, and storing the log records and the corresponding serial numbers in a target log file according to the sequence of the serial numbers from small to large; in the storage process and under the condition that the storable capacity of the target log file is insufficient to store the next log record, the next log record and the corresponding serial number cover the log record corresponding to the current minimum serial number in the target log file and the corresponding serial number; therefore, the problem that in the prior art, it is difficult to store the log records of the embedded device more flexibly under the condition that the storage space is saved is solved.

Description

technical field [0001] The present application relates to the field of log storage, and in particular, to a storage method, a storage device, a computer-readable storage medium, a processor, and a storage system based on an embedded device for a log based on an embedded device. Background technique [0002] During the operation of the embedded device, various log files need to be generated to record important operations or exceptions, which are convenient for event statistics or fault analysis for a period of time. But for the limited storage space of the embedded environment, a reasonable storage and analysis method of log files is particularly important. [0003] In the prior art, according to the types of log records, multiple log records in the running process of the embedded device are classified and stored in log files corresponding to the types of log records, which can facilitate the analysis of log records, but For a certain type of log records, since more log reco...

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): G06F11/30G06F16/18G06F16/174G06F16/17
CPCG06F11/3013G06F16/1815G06F16/174G06F16/1727
Inventor 刘金栋李升建张延良薛雷
Owner WEICHAI POWER CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products