Operation log recording method and system

A recording method and log technology, which is applied in hardware monitoring and other directions, can solve the problems of communication barriers, communication costs, affecting the normal execution of the system, lack of format constraints and content specifications in operation logs, and achieve the effect of avoiding inconsistent descriptions and reducing maintenance costs

Inactive Publication Date: 2009-08-26
卓望数码技术(深圳)有限公司
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For this reason, developers usually make additional searches when preparing log content, which not only affects the normal execution of the system, but also easily brings new program defects
[0007] 3. There is a lack of necessary format constraints and content specificati

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
  • Operation log recording method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The features and advantages of the present invention will be described in detail with reference to the accompanying drawings.

[0052] The invention classifies the operation of the business system according to the content requirements of the log, defines a reusable type of operation log for each type of function that needs to record the same operation log, and uses the idea of ​​pattern matching to record the content of the operation log. The realization of provides a unified general system framework. The so-called pattern refers to a set of strings with a specific sequence or structure, and pattern matching refers to finding characters that meet specific rules in the pattern string, and identifying and processing the characters. The log record of the present invention also adopts the idea of ​​method callback. Method callback is an interface-oriented implementation method, and the definition of configuration callback method is mostly used. At runtime, the program dyn...

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 an operation log recording method, which comprises the following steps: setting a configuration library for storing the configuration information of an operation log type; acquiring the operation information comprising the operation log type, an operator and an operated object mark; calling a data access component, acquiring the configuration information of the operation log type from the configuration library, and constructing a mark analyzer and a content assembler according to the class names of the mark analyzer and the content assembler therein; analyzing the operator and the operated object mark to acquire the description of the operator and the operated object, performing mode matching according to a preset mode of the operation log type, and assembling the operation log content; and recording the operation log content, wherein the configuration information at least comprises the class names of the mark analyzer and the content assembler of the type. The invention also discloses an operation log recording system. The method and the system can avoid bring randomness recorded by the operation log into a service system, improve the consistency of the service system, and reduce maintenance cost.

Description

【Technical field】 [0001] The invention relates to computer system log recording, in particular to an operation log recording method and system. 【Background technique】 [0002] In the business system, in order to ensure the validity of user operations and to audit and verify user operations in the future, the system needs to log the key operations done by users (administrators, end users). With the expansion of business scale, the business logic and business functions handled by the application system are also becoming more and more complex. Therefore, the requirements for the effectiveness, integrity and security of application system execution are also more stringent. This requires the business system to have a complete and detailed record of the behavior of the operator during the use of the system, which is called an operation log. The operation log is a log used to record the operation behavior of the operator when using the business system. The content of the log ofte...

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): G06F11/34
Inventor 尹宁
Owner 卓望数码技术(深圳)有限公司
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