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

An automated test method for monitoring and judging the high CPU usage of the application process and alarming

A technology for automated testing and application processes, applied in TV, selective content distribution, electrical components, etc., to solve the problems of Android TV's software complexity and CPU usage

Active Publication Date: 2020-06-30
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the software of Android TV is becoming more and more complicated, and there are many processes in the background of many softwares occupying the CPU at the same time.
And there are some processes that occupy the CPU and never release them, or the software triggers a certain event that causes a certain process to occupy a high amount of CPU and does not release, which makes the system software have certain risks.
And we still don't have an automatic way to monitor the CPU of each background process during the test and automatically alarm when it exceeds the preset threshold and record which processes exceed the preset threshold. We need an automatic monitoring Process CPU and excess alarm test method to solve this problem

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
  • An automated test method for monitoring and judging the high CPU usage of the application process and alarming

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] After a bug encountered in the third iteration project of 5510 Red Collar Gold entered the application, when the TV was not connected to the network and the data to be uploaded in the Spanner background application reached the rated value of 20M, the CPU usage value of the com.changhong.spanner application process remained constant. In greater than 20%. It is through this method that the problem is discovered, the designer finds the problem, and after solving the problem, he uses this method to verify:

[0025] 1. Turn on the test tool and connect it to the TV (the TV is not connected to the network), and start the monitoring tool. Then operate the TV at will, and the com.changhong.spanne application process will automatically start in the background;

[0026] 2. When the data to be uploaded in the data storage directory / data / data / com.changhong.spanner / databases of the TV software Spanner application exceeds 20M, the test tool starts to alarm;

[0027] 3. Refer to th...

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 testing method for monitoring and judging that the CPU occupation of an application process is too high and giving an alarm, comprising the following steps: monitoring the CPU occupation value of each application process of a current software system in real time, performing filtering to obtain an application process name and the CPU occupation value thereof, and storing the application process name and the CPU occupation value thereof in related documents; when the number of monitoring times reaches a preset number, automatically judging whether the CPU occupancy value of each application at the moment exceeds an occupancy threshold value or not; when the CPU occupancy value of an application process is within a non-starting time period, the CPU occupancy value still exceeds an expected threshold value, and the CPU resources are not effectively released, and giving an alarm is given. According to the method, the problems of CPU occupation, effectiverelease of CPU resources and the like of each application of complex system software under the condition of a foreground or a background in an Android television test can be solved, the reliability of product software is improved, and test manpower is reduced.

Description

technical field [0001] The present invention relates to the technical field of software testing. More specifically, the present invention relates to an automatic testing method for monitoring and judging that the CPU usage of an application process is too high and giving an alarm. It is an automatic testing method for Android TV software. Background technique [0002] At present, the software of Android TV is becoming more and more complicated, and there are many processes in the background of many softwares occupying the CPU at the same time. Moreover, some processes do not release after occupying the CPU process, or the software triggers a certain event, which causes a certain process to occupy a high CPU and does not release, which makes the system software have certain risks. And we still don't have an automatic way to monitor the CPU of each background process during the test and automatically alarm when it exceeds the preset threshold and record which processes exceed ...

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): H04N21/442H04N17/00H04N17/04
CPCH04N17/004H04N17/04H04N21/4424
Inventor 赵旭敏
Owner SICHUAN CHANGHONG ELECTRIC CO LTD