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

A log monitoring method and system

A monitoring system and log technology, which is applied in the direction of file system, file system type, file system function, etc., can solve the problems of difficult expansion, undetectable in the first time, and untimely, etc., and achieve the effect of easy expansion

Inactive Publication Date: 2019-06-21
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These tools and methods have the following disadvantages: they are not timely, and the errors thrown by the program cannot be found in the first place; they are not intuitive, and the logs are all massive text information; they are not easy to expand, and the scope of application is limited to a small number of hosts and log file types

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
  • A log monitoring method and system
  • A log monitoring method and system
  • A log monitoring method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] See figure 1 , figure 1 It is a flow chart of a log monitoring method in the first embodiment. figure 1 The log monitoring method shown is applied to smart mobile terminals, which include mobile phones, tablet computers, handheld Internet access devices, desktop technology machines, various operating servers, communication devices, and the like.

[0050] General logs have a fixed format. In order to facilitate the analysis and discussion of the log, and have a clear and intuitive impression of the log, the log is defined as follows in various embodiments of the present invention, but the following exemplary definition of the log does not constitute a technical solution of the present invention. Limitations, the technical solutions disclosed in the present invention can be extended to similar log file formats.

[0051] The log is in units of behavior, and each row has the following information: generation time, log level, thread executing the program, class, code loca...

Embodiment 2

[0085] In order to view and analyze a large number of log files by searching, use the mail server to send alarm emails to developers, so that developers can know the abnormality of the program at the first time, and at the same time make the log monitoring system easy to expand. This embodiment discloses a A log monitoring system, the composition of the specific log monitoring system is attached Figure 4 As shown, it includes: a monitoring unit 201 , an analyzing unit 202 , a screening unit 203 , an information adding unit 204 , a message channel unit 205 and a processing mode establishing unit 206 .

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 present invention discloses a log monitoring method and system. The method comprises the following steps of: performing real-time monitoring on varying character strings in a log file, and detecting predefined keywords contained in the varying character strings; analyzing the log file and converting the log file into a specified structure format; performing screening on the log file according to a preset processing policy; performing information addition on the log file; transmitting the log file to a message channel; and a log receiver extracting the log file from the message channel, and establishing a processing mode of the log file. According to the log monitoring method and system disclosed by the present invention, by establishing an index for the log file, a log is viewed and analyzed by search, which is more efficient and more visual; a mail alarm mechanism is established, so that related development personnel can know an exception of a program in first time; and log information is transmitted by means of the message channel, so that a sender and a receiver of the log can be easily expanded.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a log monitoring method and system. Background technique [0002] In today's rapidly developing information society, people are inseparable from smart devices such as computers. With the maturity of computer technology, although the applications running on smart devices are becoming more and more reliable, errors will inevitably occur in the actual operation process. . Therefore, engineering and technical personnel usually need to record the running status and operation content of the application program through the log system, so that the engineering and technical personnel can view it and use it as a basis for debugging communication equipment. The log system records various running status and operation information of the application program in the form of logs, and generates log files, which are usually stored in local storage devices. [0003] The methods of viewi...

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 Patents(China)
IPC IPC(8): G06F16/17G06F16/18
CPCG06F16/1734G06F16/1815
Inventor 林海
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD