Log and abnormity probe implementation method

An implementation method and log technology, which is applied in the field of log and exception probe implementation, can solve the problems of poor reliability and inconvenient use of log and exception probe modules, and achieve the effect of small footprint, convenient operation, and reliable storage

Inactive Publication Date: 2015-06-24
ZTE INTELLIGENT IOT TECH
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The existing log and exception probe modules have poor reliability and are inconvenient to use

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 and abnormity probe implementation method
  • Log and abnormity probe implementation method
  • Log and abnormity probe implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0032] A method for implementing logs and abnormal probes, comprising the following steps:

[0033] Step 1: The log and abnormal probe module LAP receives and processes the messages sent by each module sequentially in an iterative server manner;

[0034] Step 2: Judge the type of the received message. If the received message is a log or abnormal data, LAP will store the log in the system parameter area and store the abnormal data in the abnormal file;

[0035] The important operations and abnormalities of the system need to be permanently recorded in the system for developers or users to view and use; the log is mainly stored in a part named system parameter area, which is located in the non-file system area of ​​flash. Information can still be stored after power failure, and the reason why logs are stored in the system parameter area is main...

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 and abnormity probe implementation method. The method comprises the following steps that 1, a log and abnormity probe module (LAP) receives and processes messages sent from all modules sequentially in an iterative-server mode; 2, the types of the received messages are judged, logs are stored in a system parameter zone, and abnormity data are stored in an abnormity file; 3, if log view is received, the LAP reads log data in the system parameter zone and displays the data onto a terminal; if a log uploading message is received, the LAP uploads the logs in the system parameter zone to an ftp server at a client side; if an abnormity uploading message is received, the LAP uploads the abnormity data in the abnormity file to the ftp server at the client side. The method has the advantages and positive effects that the reliable storage of the logs and the reliable storage of the abnormity data are achieved, the occupied space is small, the viewing and the uploading are allowed, and the operation is convenient; the development, debugging and maintenance of an embedded system are facilitated, and a simple and reliable solution for positioning a fault is provided.

Description

technical field [0001] The invention belongs to the technical field of realizing logs and abnormal probes in embedded software development, and in particular relates to a method for realizing logs and abnormal probes. Background technique [0002] The so-called log (Log) refers to the time-ordered collection of certain operations of objects specified by the system and their operation results. Each log file consists of log records, and each log record describes a single system event. Typically, syslogs are directly user-readable text files that contain a timestamp and a message or other information specific to the subsystem. Log files record necessary and valuable information for system-related activities, which is very important for system monitoring, query, report and security audit. In the Windows system, the log mainly includes several parts such as application program, security, and system. It records information such as the startup, operation, and shutdown of various...

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): H04L12/24H04L29/08
Inventor 高峰
Owner ZTE INTELLIGENT IOT TECH
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