Unlock instant, AI-driven research and patent intelligence for your innovation.

Embedded equipment log output recording method and system

An embedded device, output record technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of limited interface cache size and inability to achieve log records, etc.

Pending Publication Date: 2020-12-18
VISION MICROSYST SHANGHAI
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the interface cache size itself is very limited, this technology will also be affected by the log size and log generation speed, and cannot achieve real-time log records

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
  • Embedded equipment log output recording method and system
  • Embedded equipment log output recording method and system
  • Embedded equipment log output recording method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] According to a kind of embedded device log output recording system provided by the present invention, comprising: such as figure 1 as shown,

[0056] Automatic log generation module: through source code analysis technology, log statements are inserted at key positions in the source code, and the execution process of the program is completely recorded to realize the integrity of the log;

[0057] CPU local bus acquisition module: use the CPU local bus to collect data from the complete log generated by the automatic log generation module to achieve efficient and real-time log recording;

[0058] Host data storage module: communicate with the CPU local bus acquisition module, and record the collected log information to the file disk of the host platform through optical fiber;

[0059] The key locations include function entry, function exit and branch execution points.

[0060] Specifically, the log automatic generation module includes: analyzing the source code of the em...

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 an embedded equipment log output recording system and method, and the system comprises an automatic log generation module which inserts a log statement at a key position in a source code through a source code analysis technology, completely records the execution flow of a program, and achieves the integrity of a log; a CPU local bus acquisition module which is used for carrying out data acquisition on the complete log generated by the log automatic generation module by utilizing a CPU local bus; a host data storage module which communicates with the CPU local bus acquisition module and records the acquired log information into a file disk of a host platform through an optical fiber; wherein the key position comprises a function entry, a function exit and a branch execution point. Through the log automatic generation module, the problems that log text output occupies a large space, and logs are incomplete when no log is output at key positions due to human factorsare solved.

Description

technical field [0001] The present invention relates to the field of embedded devices, in particular to an embedded device log output recording method and system, and more specifically to an embedded device log output recording method based on source code analysis and CPU local bus acquisition. Background technique [0002] The real-time log records the real running process of the software, and is generally used to debug the software or locate the fault location during the running of the software. At present, the embedded logging devices on the market cannot achieve real-time recording, which is mainly limited by the size of the log, the speed of log generation, and the speed of interface communication. [0003] The purpose of the present invention is to overcome the defect that the existing embedded device controller cannot output the log information in time and in real time, resulting in the inability of technicians to deal with the on-site failure in time, so as to provid...

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/2455
CPCG06F11/302G06F11/3051G06F11/3072G06F11/3093G06F16/24552Y02D10/00
Inventor 杨波波李悦坤陆发忠
Owner VISION MICROSYST SHANGHAI