A logging method and system

A recording method and log technology, applied in the log field, can solve problems such as occupying computing and storage resources and affecting normal business of the system, and achieve the effect of reducing resource occupation

Active Publication Date: 2022-07-12
SUZHOU METABRAIN INTELLIGENT TECH CO LTD
View PDF0 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
  • A logging method and system
  • A logging method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings.

[0040] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities with the same name but not the same or non-identical parameters. It can be seen that "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, and subsequent embodiments will not describe them one by one.

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

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 includes: initializing a log message queue, scanning a log data storage organization and a source code mapping map; in response to receiving a common message from the log message queue, a formatted data index based on the common message and store the dynamic data of the ordinary message in the formatted data table entry; in response to receiving the path message from the log message queue, write the mapping identifier and current timestamp of the path message into the code path record corresponding to the source map map; In response to receiving a query log request, data record entries are read from the formatted data table entries and the source map map for formatting and presentation. The invention can reduce the resource occupation of log records, and does not interfere with the normal operation of the normal business of the system.

Description

technical field [0001] The present invention relates to the field of logs, and more particularly, 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 implementation of system functions. On the contrary, scenarios that are more sensitive to operational efficiency may disrupt the normal operation of functions. An excellent logging system should be designed to minimize the impact on normal business and avoid changes to the system execution environment due to the introduction of logs. For example, there are strict requirements on the execution time of the IO (input and output) paths in the storage system. For the logging of the IO execution process, the impact of the logging overhead on the system must be considered. [0003] There is currently no effective solution to the problem that log records occupy computing storage resou...

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): G06F11/30G06F16/18
CPCG06F11/3068G06F16/1815Y02D10/00
Inventor 李冬冬
Owner SUZHOU METABRAIN INTELLIGENT TECH CO LTD
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