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

Method for debugging log in embedded system process

An embedded system and log technology, applied in the field of embedded systems, can solve problems such as software maintenance and diagnosis that are not applicable to later on-site versions, and achieve the effect of avoiding debugging information output and facilitating debugging

Active Publication Date: 2016-01-20
北京中科海讯数字科技股份有限公司
View PDF4 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] e), this debugging method is more suitable for the development of early software, but not suitable for the maintenance and diagnosis of later on-site version software

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
  • Method for debugging log in embedded system process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0036] It should be noted that the diagrams provided in this embodiment are only schematically illustrating the basic idea of ​​the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the components in actual implementation. Dimensional drawing, the type, quantity and proportion of each component can be changed arbitrarily during actual impleme...

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 method for debugging a log in an embedded system process. The method comprises the following steps: integrating a log calling function to form a library function which can be called by various processes; initializing a log grade, a log destination and a process identification of the process; defining a log grade debugging function to add the debugging information of different log grades; adding an interface for receiving the setting information of the process log grade and the log destination; adding an order interface for setting the process debugging grade and a debugging information output destination; outputting a debugging log printing record. By adopting the method, the debugging function of the system is unified, the debugging printing of various modules and various styles of different programmers can be avoided, and the research and development and test working efficiencies and the later system maintenance efficiency are improved.

Description

technical field [0001] The invention relates to the technical field of embedded systems, in particular to a method for debugging logs in embedded system processes. Background technique [0002] In the field of embedded or software development, debugging is a very important link. Ease of debugging code is extremely important. Therefore, if the debugging method of a good system is more convenient, it can greatly improve the development efficiency. [0003] Unlike the rich variety of traditional desktop software development and debugging tools, the debugging of embedded systems is not very convenient due to the shortage of system resources, and there is also a lack of professional debugging tools. Therefore, the debugging efficiency of the embedded system is relatively low at present. [0004] In the prior art, the most commonly used debugging methods for embedded systems mainly include the following three types: [0005] (1) Add printf printing function in the place to be ...

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/36
Inventor 吴振华
Owner 北京中科海讯数字科技股份有限公司
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