Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Log recording method and system

A recording method and log technology, applied in the field of logs, can solve problems such as affecting the normal business of the system and occupying computing and storage resources.

Active Publication Date: 2021-05-04
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There is currently no effective solution to the problem that log records occupy computing and storage resources and affect the normal business of the system in the prior art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0040] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0041] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of a log recording method that reduces the resource occupation of log recording and does not interfere with the normal operation of...

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 a log recording method and system. The method comprises the following steps: initializing a log message queue, and scanning a log data storage organization and a source code mapping map; in response to receiving the common message from the log message queue, storing dynamic data of the common message into a formatted data table item based on a formatted data index of the common message; in response to receiving the path message from the log message queue, writing a mapping identifier of the path message and a current timestamp into a code path record corresponding to the source code mapping map; and in response to receiving the query log request, reading the data record item from the formatted data table item and the source code mapping map for formatting and displaying. According to the invention, the resource occupation of the log record can be reduced, and the normal operation of the normal service of the system is not interfered.

Description

technical field [0001] The present invention relates to the log field, and more specifically, to a log recording method and system. Background technique [0002] Logging is the most commonly used debugging and problem tracking method in software systems. Logging itself does not participate in the realization of system functions. On the contrary, scenarios that are more sensitive to operating efficiency may destroy the normal operation of functions. An excellent logging system should be designed to minimize the impact on normal business and avoid changes in the system execution environment due to the introduction of logs. For example, there are relatively strict requirements on the execution time of the IO (input-output) path in the storage system. For the log record of the IO execution process, the impact of the log record itself on the system must be considered. [0003] There is currently no effective solution to the problem that log records occupy computing and storage ...

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/30G06F16/18
CPCG06F11/3068G06F16/1815Y02D10/00
Inventor 李冬冬
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products