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

Detection method, apparatus and system for suspend running-out fault of to-be-tested device

A device under test and fault detection technology, which is applied in the field of data communication, can solve problems such as the separation of test faults without hang-up and run-away faults, the lack of a fast processing method for hang-up and run-away faults, and the impact on the normal release of program versions, etc., to achieve Accelerate the speed of fault convergence, improve the efficiency of automated testing, and advance the effect of fault location and resolution time points

Inactive Publication Date: 2016-08-24
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In many cases, the system will enter an infinite loop after the program runs away and cause a crash
[0004] Hanging and running away are high-priority failures in automated testing. If such failures of the tested device cannot be resolved quickly, it will affect the normal release of the program version
However, the existing automated testing system and method proposed by the script judge whether the script test is successful or not by the script return value, generate the overall test success and failure results according to the script return value, and generate test logs during the test, and then find specific test problems by viewing the logs , but it does not distinguish the hang-up and run-away fault from other test faults, resulting in the time point when the hang-up and run-away fault is found after all the automated tests are completed, which has the disadvantage of lag
[0005] In addition, another automated test system proposes a log database management method. Although the log management efficiency is improved, the handling of test failures including hang and runaway failures is still after the test is completed. quick fix
[0006] It can be seen that the current automated test systems and methods do not provide relevant solutions for the rapid processing of hang-up and run-away faults such as equipment under test.

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
  • Detection method, apparatus and system for suspend running-out fault of to-be-tested device
  • Detection method, apparatus and system for suspend running-out fault of to-be-tested device
  • Detection method, apparatus and system for suspend running-out fault of to-be-tested device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] According to one aspect of the embodiments of the present invention, there is provided a method for detecting a hang-up and running fault of a device under test. First, a test plan and test resources configured for the device under test are obtained; then, the test plan is parsed to obtain test time and waiting time. Test the product and the script to be tested; finally, when the current time reaches the acquired test time, perform the hang-up and run fault detection according to the product to be tested, the script to be tested and the test resource, and obtain the detection result.

[0068] Such as figure 1 As shown, the method includes:

[0069] Step S11: Obtain a test plan and test resources configured for the device under test.

[0070] In the method for detecting the hang-up and running fault of the tested device in the embodiment of the present invention, before the test is performed, a test plan and test resources need to be configured for the tested device, wherein th...

Embodiment 2

[0103] According to another aspect of the embodiments of the present invention, there is also provided a detection device for the suspension and running fault of the equipment under test, such as figure 2 As shown, the device 200 includes:

[0104] The obtaining module 201 is used to obtain the test plan and test resources configured for the device under test;

[0105] The parsing module 203 is used for parsing the test plan to obtain the test time, the product to be tested, and the script to be tested;

[0106] The fault detection module 205 is configured to perform suspension and flight fault detection according to the product to be tested, the script to be tested and the test resource when the current time reaches the acquired test time, and to obtain the detection result.

[0107] Optionally, such as image 3 As shown, the fault detection module 205 includes:

[0108] The loading unit 2051 is configured to load multiple corresponding scripts to be tested according to the obtained p...

Embodiment 3

[0129] According to another aspect of the embodiments of the present invention, there is also provided a system for detecting a suspended and running fault of a tested device, including multiple products to be tested, multiple tested devices, and the above-mentioned suspended running of the tested device. Fly fault detection device.

[0130] When applying the detection system for the suspension and running failure of the tested device to detect the suspension and running failure, configure the same type or the same product to be tested on multiple devices under test, that is, use multithreading to test multiple tested devices concurrently Device, and can load and run scripts on multiple devices under test at the same time.

[0131] Specifically, such as Figure 4 As shown, the test plan and test resources are configured for the tested device, the test plan is analyzed, and the test time, the product to be tested and the script to be tested are obtained. Then it is judged whether ...

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 present invention provides a detection method, apparatus and system for a suspend running-out fault of a to-be-tested device. The method comprises: acquiring a testing plan and a testing resource configured for a to-be-tested device; analyzing the testing plan to acquire a testing time, a to-be-tested product and a to-be-tested script; and when a current time reaches the acquired testing time, performing a suspend running-out fault detection according to the to-be-tested product, the to-be-tested script and the testing resource, so as to acquire a detection result. By use of the method, apparatus and system provided by the present invention, it can be monitored in real time whether the to-be-tested device tested by the testing script generates a suspend running-out fault, and a related log is generated individually, thereby achieving the effect of rapidly reporting and rapidly processing the suspend running-out fault, greatly improving the time points of fault positioning and solution, increasing automated testing efficiency, speeding up product fault convergence, and better guaranteeing timely releasing of products.

Description

Technical field [0001] The present invention relates to the technical field of data communication, and in particular to a method, device and system for detecting a hang-up and running fault of a tested equipment. Background technique [0002] Suspend is a concept in the operating system, which means that the operating system suspends the execution of a certain process. One of the reasons for the hang is the end user's request: when the end user finds a suspicious problem during the running of his program, he hopes to pause to make his program stop. That is, the execution of the process being executed is suspended; if the user process is in the ready state but not executed at this time, the process does not accept scheduling temporarily, so that the user can study its execution or modify the program. We call this static state the suspended state. [0003] Runaway is a concept in computer programs. It means that after the system is disturbed, the value of the program counter (PC) d...

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/36
Inventor 尹永明义波
Owner ZTE CORP