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

Log detection method, log detection device, computer equipment and storage medium

A detection method and computer technology, applied in the computer field, can solve problems such as incomplete and accurate coverage of business scenarios

Active Publication Date: 2022-03-01
山东云海国创云计算装备产业创新中心有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Therefore, the technical problem to be solved by the present invention is to overcome the defects in the prior art that cannot completely and accurately cover various business scenarios when detecting the integrity of log records, thereby providing a log detection method, a log detection device, and computer equipment and storage media

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 detection method, log detection device, computer equipment and storage medium
  • Log detection method, log detection device, computer equipment and storage medium
  • Log detection method, log detection device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] In the related art, since the firmware software needs to call multiple modules when the hard disk is running, when checking the integrity of the log records, the developers of each module check the log records of the module themselves.

[0052] However, due to the large number of combinations of business scenarios and log records, it is necessary to use a sampling test method for detection during inspection, resulting in inaccurate detection results.

[0053] In order to solve the above problems, an emb...

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 detection method, a log detection device, computer equipment and a storage medium. The log detection method comprises the following steps: acquiring a log record when firmware runs under a current test case; a serial number field obtained by calling the log record interface is obtained from the log record, and whether the serial number field meets the specified field configuration or not is judged; and if the serial number field does not meet the specified field configuration, determining that the log record is incomplete. In the mode, the situation that part of the log records are missing in the calling process of the log recording interface can be determined by judging whether the serial number field meets the specified field configuration or not, so that when the serial number field does not meet the specified field configuration, it can be quickly determined that the obtained log records do not have integrity, and the user experience is improved. Therefore, the integrity detection of the log record is more convenient, and the detection efficiency can be improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a log detection method, a log detection device, computer equipment and a storage medium. Background technique [0002] When the hard disk is running, the firmware will generate logs to record information such as events or status. Wherein, the hard disk may include an NVMe SSD hard disk. As the hard disk continues to operate, the firmware will continue to generate logs. However, due to firmware software or hardware reasons, some log records may be missing during the running process. [0003] In the related art, since the firmware software needs to call multiple modules when the hard disk is running, when checking the integrity of the log records, the developers of each module check the log records of the module themselves. [0004] However, due to the large number of combinations of business scenarios and log records, it is necessary to use a sampling test method for detectio...

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/07G06F11/36
CPCG06F11/0766G06F11/3692
Inventor 葛宁李瑞东钟戟
Owner 山东云海国创云计算装备产业创新中心有限公司