A log collection method, device and related components

A technology for collecting devices and log files, which is applied in the field of log collection, can solve problems such as low reliability, frequent memory occupation, and limited log collection capabilities, so as to improve accuracy and reliability, improve accuracy and comprehensiveness, reduce Effect of log collection frequency

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

AI Technical Summary

Problems solved by technology

[0002] Expander, as the transmission link between the board and the hard disk, plays a very good role in transmission and management. In order to quickly and accurately locate hardware problems, it is necessary to collect and analyze the log files of the expander. Most of the existing solutions follow the preset time Collect expander log files at intervals. If the preset time interval is small, too frequent log collection will occupy a large amount of system memory, which will affect the normal business of the system. If the preset time interval is large, the logs may be overwritten and cannot be obtained. The root cause of the failure cannot be located from the log when the failure occurred
In addition, in the existing technology, general-purpose tools are usually used for log collection, but the log collection capabilities of general-purpose tools are limited, and the proprietary logs of each expander manufacturer cannot be collected, resulting in the inability to accurately locate hardware problems during subsequent analysis, and low reliability.

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 collection method, device and related components
  • A log collection method, device and related components
  • A log collection method, device and related components

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The core of the present application is to provide a log collection method, device, electronic device and computer-readable storage medium, which can reduce the frequency of log collection and avoid affecting the normal business of the system, and the collected logs are the logs before and after the expander failure, It is convenient for subsequent analysis to locate hardware problems. Using the log collection tool provided by the expander manufacturer to collect logs can improve the accuracy and comprehensiveness of error information detection and the integrity of log collection.

[0037] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of t...

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 application discloses a log collection method, device, electronic device, and computer-readable storage medium, including: when there is incremental information in expander's log file, acquiring expander's manufacturer information; judging by a log collection tool corresponding to the manufacturer's information Whether there is expander error information in the incremental information; if so, collect the logs corresponding to expander through the log collection tool. This application collects logs when the expander error information exists in the expander log file, which reduces the frequency of log collection and avoids affecting the normal business of the system. The collected logs are the logs before and after the expander failure, which is convenient for subsequent analysis and positioning. For hardware problems, using the log collection tool provided by the expander manufacturer to collect logs can improve the accuracy and comprehensiveness of error information detection and the integrity of log collection.

Description

technical field [0001] The present application relates to the field of log collection, and in particular, to a log collection method, device and related components. Background technique [0002] As the transmission link between the board and the hard disk, the expander plays a very good role in transmission and management. In order to quickly and accurately locate hardware problems, it is necessary to collect and analyze the log files of the expander. Most of the existing solutions are based on preset time. The log files of expander are collected at intervals. If the preset time interval is small, the log collection takes up a lot of system memory, which will affect the normal business of the system. If the preset time interval is large, the logs may be overwritten and cannot be obtained. Based on the logs when the fault occurred, the root cause of the fault could not be located. In addition, in the prior art, general tools are usually used to collect logs. However, the log...

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/34G06F11/30G06F16/18
CPCG06F11/3476G06F11/3031G06F16/1815
Inventor 任双廷
Owner INSPUR SUZHOU 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