A log file processing system and method

A log file and processing system technology, applied in the field of measurement and control, can solve problems such as memory overflow and log files cannot be cleaned in time, and achieve the effects of preventing memory overflow, improving development and testing efficiency, and improving query efficiency.

CN105159817BActive Publication Date: 2018-06-26HUBEI SANJIANG AEROSPACE HONGFENG CONTROL
4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2018-06-26

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention discloses a log file processing system and method. The processing system comprises a trunk process information file module, a read-write monitoring information file module and an analog quantity real-time acquisition information file module; the trunk process information file module is used for recoding process information of system testing; the read-write monitoring information file module is used for monitoring input-output information of a specified read-write interface; and the analog quantity real-time acquisition information file module is used for recording analog quantity real-time acquisition information in a testing process. The log file processing method provided by the invention adopts a monitoring pointer to indicate the quantity of log files in a buffer area; when the quantity of the log files exceeds a threshold, then the buffer area is reset, so that the problem of memory overflow caused by the continuous accumulation of log files can be solved; besides, a time label is added on each test record to indicate the time of failures, so that the failure information can be accurately and efficiently positioned.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the technical field of measurement and control, and more specifically relates to a log file processing system and method. Background technique

[0002] The log file records the events that occurred during the system operation in detail. The log file processing system is mainly used in the maintenance and testing phase of the product. If there is an abnormality in the device, developers and testers can locate the error information according to the log file. Efficient and clear log file It can assist professionals to quickly and effectively locate system faults, and then make corrections to system operations based on this information, thereby optimizing system performance.

[0003] The log file processing system in the prior art has the following defects: the content of the log file is complicated, and it is difficult to locate the fault in time; the content of the log file is huge, if it is not cleared in time, the files are acc...

Examples

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0030] In the embodiment, the log file processing system provided by the present invention is used to record and process test information accurately in real time for a certain aerospace type tail section tester; in the embodiment, the log file processing system is connected to the tail section tester and the test connection relationship of the system to be tested Such as figure 1 As shown, the ...