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

Log capturing method and device, terminal equipment and readable storage medium

A storage medium and capture device technology, applied in the computer field, can solve the problems of low capture efficiency of serial capture logs, incapable of timely and complete acquisition process crash, etc., and achieve the effect of fast capture speed and high efficiency

Active Publication Date: 2021-07-16
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a log capture method, device, terminal equipment, and readable storage medium, which can improve the low capture efficiency of serial capture logs and the inability to obtain timely and complete process crashes when capturing logs. Questions for all information

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 capturing method and device, terminal equipment and readable storage medium
  • Log capturing method and device, terminal equipment and readable storage medium
  • Log capturing method and device, terminal equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0035] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and / or collections thereof.

[0036] As used 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 is suitable for the technical field of computers, and provides a log capturing method and device, terminal equipment and a readable storage medium, the method comprises the following steps: in response to a log capturing request, determining to-be-captured logs in a target process, wherein the log capturing request is used for indicating capturing of at least two to-be-captured logs in the target process; respectively capturing the to-be-captured logs in the target process through the plurality of threads; and performing duplicate removal processing on the captured log to obtain the log after duplicate removal. The logs are captured at the same time through a plurality of threads; thus, when the logs of the target process are captured, a plurality of logs can be captured at the same time; the required logs can be captured in time and completely within the timeout time. According to the invention, the capturing speed is high, the efficiency is high, and duplication removal is carried out on the logs after capturing, so that the captured logs can more accurately provide related information of the target process.

Description

technical field [0001] The present application belongs to the technical field of computers, and in particular relates to a method, device, terminal equipment and readable storage medium for capturing logs. Background technique [0002] In the operating system, handling crash exception events is a basic function of the system, and it is a necessary means for debugging applications and locating the cause of crashes. Crashes are mainly divided into two types: one is a kernel crash (panic); the other is a user program process crash (crash). Among them, process crash is an important factor affecting user experience. When a process crash occurs, it is necessary to extract logs related to the process crash to locate the cause of the crash and collect crash information. [0003] In the existing mainstream operating systems, when capturing logs related to process crashes, it is often captured in a serial manner, that is, the logs corresponding to the crashed process and the logs co...

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/0718G06F11/0781G06F11/0787Y02D10/00
Inventor 李煜曾智
Owner HUAWEI 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