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

LINUX log controller and method

A technology of management device and management method, which is applied in the field of embedded system development and diagnosis, and can solve the problems of inconvenient use, inability to switch and configure log output mode, singleness, etc.

Inactive Publication Date: 2008-07-09
ZTE CORP
View PDF0 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of R&D, maintenance and use of embedded systems, even if the log output environment is different, it can only rely on a single log output mode, instead of flexibly switching and configuring various log output modes according to the environment, such as serial port output mode, File output mode, network output mode, etc.
[0003] In summary, the existing LINUX log management technology in embedded systems obviously has inconvenience and defects in actual use, so it is necessary to improve

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
  • LINUX log controller and method
  • LINUX log controller and method
  • LINUX log controller and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0032] Fig. 1 shows the structure of the management device of LINUX log that the present invention provides, the management device 10 of this LINUX log is applied to the embedded system 100 that comprises application layer and kernel, and this management device 10 comprises:

[0033] The application layer log 11 is used to output the user state log information through the application layer log output function 12. The application layer log output function 12 is preferably a printf function.

[0034] The application layer kernel log transmission device 13 is configured to transfer the user state log...

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 management device of a LINUX log, which is used in an embedded system comprising an application layer and a kernel. The management device comprises: an application layer log used for outputting user mode log information through an output function of the application layer log; a log transmission device for the application layer kernel used for transferring the user mode log information to the kernel; a kernel log used for outputting kernel mode log information through the output function of the kernel log; and a log output controlling device used for receiving the user mode log information that is output by the log transmission device for the application layer kernel and the kernel mode log information that is output by the kernel log respectively, and deploying, processing and outputting the log information. The invention also correspondingly discloses a management method of the LINUX log. In this way, the invention limberly deploys and switches various log output modes according to environments, and provides convenience to the research and development, the maintenance and the use of the embedded system.

Description

technical field [0001] The invention relates to the field of embedded system development and diagnosis, in particular to a management device and method for LINUX logs. Background technique [0002] With the development of science and technology, embedded systems are widely used in various fields of society, such as education, entertainment, national defense, etc. Embedded development has become an important direction of modern computer software industry. Because the hardware resources of the embedded system are very streamlined, the log output of the embedded system cannot be the same as that of a mainframe computer. There are massive storage media, and key information can only be stored in storage units such as FLASH (flash memory) with limited capacity in the embedded system. superior. When developers and maintenance personnel need to view logs, they need to install additional special devices, such as serial port devices, log servers, etc. At the same time, LINUX systems...

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/34
Inventor 缪伟
Owner ZTE CORP
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