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

Log recording method and device

A recording method and log technology, which is applied in the computer field, can solve the problems of poor log readability, etc., and achieve the effect of efficiently finding and analyzing faults and high readability

Pending Publication Date: 2021-12-24
通号城市轨道交通技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a log recording method and device, which are used to solve the defect of poor readability of the recorded log in the prior art, and achieve a log with higher readability.

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 recording method and device
  • Log recording method and device
  • Log recording method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0031] It should be noted that the log recording method of the present invention can be applied to log records of various control systems and modules in various control systems.

[0032] Preferably, the log recording method of the present invention is especially suitable for log recording of the Integrated Traffic Automation System (TIAS system). Among them, the TIAS system can realize the i...

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 recording method and device. The method comprises the following steps: acquiring operation data of a target system; for each piece of operation data, based on the operation data, obtaining target record item information corresponding to the operation data; and under the condition of determining that the target record item information comprises the target information, generating log information corresponding to the running data in a target log according to a target format based on the target record item information. According to the log recording method and device provided by the invention, the target record item information corresponding to the operation data of the target system is obtained, and after the target record item information is determined to comprise the target information, the log information corresponding to the operation data in the target log is generated according to the target format; the target log with higher readability and more standard format can be obtained, log recording can be performed more flexibly according to actual requirements, and faults can be searched and analyzed more accurately and efficiently based on the obtained target log.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a log recording method and device. Background technique [0002] During the development, testing and operation of network devices, control systems and service programs, relevant operations can be recorded through logs. Logs play an important role in finding and analyzing failures. [0003] Normally, each log message in the log is described by only one string parameter. However, due to factors such as different programming habits of different developers, the readability of logs recorded based on existing logging methods is poor. Contents of the invention [0004] The present invention provides a log recording method and device, which are used to solve the defect of poor readability of the recorded log in the prior art, and obtain a log with higher readability. [0005] The invention provides a logging method, comprising: [0006] Obtain the operating data of the target sys...

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/07
CPCG06F11/0781G06F11/0775G06F11/0706
Inventor 刘燕李骊张帅王紫成郭佳肖孟赵青莉刘睿冉
Owner 通号城市轨道交通技术有限公司