Automatic testing method and automatic testing system of journal

An automatic test system and automatic test technology, applied in the transmission system, digital transmission system, data exchange network, etc., can solve the problem that the log occurrence time is not accurately controlled, the occurrence time of the alarm event alarm information cannot be accurately grasped, and the log cannot be directly applied Problems in the test field, to avoid log interference, reduce labor costs, and improve test efficiency

Inactive Publication Date: 2009-12-23
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the above-mentioned prior art-1 has the following deficiencies: 1. This prior art-1 mainly describes an automated test system for testing whether the alarm information is correct, does not involve the automated test of the log storage function, and cannot be applied to the log system in the automated testing of
2. The triggering of alarm events and the occurrence time of alarm information cannot be accurately grasped. In the log system, the log records in the log file are massive. Therefore, it is necessary to control the occurrence time of the log triggered by the test operation during the test to be correct. The corresponding log of the test
[0009] However, the above-mentioned prior art 2 has the following disadvantages: 1. The test object of this prior art 2 is a computer software program, so this solution cannot be directly applied to the log test field
2. This prior art 2 does not precisely control the log appearance time, and in the log system, the log records in the log file are massive, so it is necessary to control the appearance time of the log triggered by the test operation during the test, In order to correctly test the corresponding log
3. This prior art 2 only considers the log of a single event. If multiple events are running, if the previous event operation is not cleared, it may affect the log generated by the next time operation. Therefore, the clearing operation is performed when multiple test events are continuously running. It is very necessary, so the existing technology 2 cannot realize the correct test in the case of continuous running of multiple events

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
  • Automatic testing method and automatic testing system of journal
  • Automatic testing method and automatic testing system of journal
  • Automatic testing method and automatic testing system of journal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The present invention will be further described in detail below through specific embodiments and accompanying drawings.

[0046] The present invention is mainly aimed at a log system including a device under test and a log storage. The device under test may be a communication device, such as a gateway, a router, etc. During the operation of these devices under test, their dynamic operating status information and operation content Information is recorded in log form and stored in the log memory. The log storage may exist in various forms, for example, it may be a log file, a log database, or a dedicated log storage server. The invention is mainly used for automatically testing the correctness of the log generated by the log system, so as to facilitate users to judge whether the working state of the log system is normal.

[0047] figure 1 It is a schematic diagram of the composition and structure of an embodiment of the automatic test system of the present invention. s...

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 discloses an automatic test method and an automatic test system for a log, which are suitable for a log system including a tested device and a log storage. The system includes: a test control module, a log event trigger module, and a log monitoring module. The method is to set test cases in the test control module, and control the entire test process according to the test cases. During the test, the test control module instructs the log event trigger module to trigger the device under test to operate, and determines that the operation generates a corresponding The time period of the log and the corresponding expected log, the log monitoring module acquires the update log in real time from the log storage, and determines the update log whose update time falls within the time period, and compares the update log and the expected log Compare and record the test log according to the comparison result. The invention can realize the automatic test of the log, precisely control the time of generating the log, and improve the accuracy of the test.

Description

technical field [0001] The invention relates to the field of communication equipment testing, in particular to a method for automatically testing logs of a communication equipment log system and an automatic testing system. Background technique [0002] In today's rapidly developing information society, people are inseparable from the communication network. With the maturity of communication technology, although the equipment carrying the communication network is becoming more and more reliable, errors will inevitably occur in the actual communication equipment. Therefore, a log system has been developed at present, which is used to record the running status and operation content of communication equipment, so as to be viewed by technicians and used as a basis for debugging communication equipment. The log system records various running status and operation information in the communication equipment in the form of logs, and generates log files, which are usually stored in th...

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): H04L12/26H04L12/24
Inventor 葛均杨奎樊志强
Owner ZTE CORP
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