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

Log file detection method and device

A technology of log files and detection methods, applied in the direction of file system, file access structure, file system functions, etc., can solve the problem that the modification time of log files is not updated, etc.

Pending Publication Date: 2020-04-17
GUANGDONG TOPSTAR TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the modification time of the log file will not be updated to the latest time, which will lead to the judgment that no data has been entered

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 file detection method and device
  • Log file detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] This embodiment provides a log file detection method, which can automatically detect the update of the log file, and can accurately know the update situation of the log file, so as to prevent the situation that the entered data is judged not to be updated.

[0047] figure 1 It is a schematic flowchart of a log file detection method provided in Embodiment 1 of the present invention. Such as figure 1 As shown, the method specifically includes the following steps:

[0048] S11. Obtain the original number of bytes of the log file.

[0049] Taking the stress machine as an example, before the stress machine is triggered, the log file only contains the logs generated after the previous trigger operation. In this example, the format of the log file is an Excel table.

[0050] S12. After the operation is triggered, acquire the number of bytes of the log file at intervals of a preset time period within a preset time period.

[0051] S13, comparing with the original number 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 provides a log file detection method. The log file detection method comprises the steps of obtaining an original byte number of a log file; after operation is triggered, acquiring the number of bytes of the log file at a preset time interval in a preset time period, and comparing the number of bytes with the original number of bytes; and if the byte numbers are different, judging that a log is generated. Whether data is input or not can be accurately known.

Description

technical field [0001] The invention relates to the technical field of log file processing, in particular to a log file detection method and device. Background technique [0002] During the operation, after triggering the operation equipment, the generated data will be entered into the log file. After new data is entered, the modification time of the log file will change. Generally, it is judged whether the log has been updated by checking the modification time manually. However, it may happen that the modification time of the log file is not updated to the latest time, which leads to the judgment that no data has been entered. Contents of the invention [0003] The purpose of the present invention is to provide a log file detection method and device, which can accurately know whether data is entered. [0004] For reaching this purpose, the present invention adopts following technical scheme: [0005] In a first aspect, the present invention provides a log file 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/18G06F16/17G06F16/13
CPCG06F16/1815G06F16/1734G06F16/13
Inventor 李鹏程陈志贤段志鹏陈景李静吴丰礼
Owner GUANGDONG TOPSTAR TECH