Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A stress test method based on occupying the memory and cpu of an android system smart device

A technology of stress testing and system memory, which is applied in the field of software reliability testing, can solve problems such as resource occupation, achieve stable occupation, increase priority, and facilitate writing

Active Publication Date: 2016-04-27
BEIHANG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But Monkey only simulates a huge workload (execution of a series of events) to see if there is any abnormality in the application. It does not actively occupy a large amount of system resources. Test work under scarcity conditions

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
  • A stress test method based on occupying the memory and cpu of an android system smart device
  • A stress test method based on occupying the memory and cpu of an android system smart device
  • A stress test method based on occupying the memory and cpu of an android system smart device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be further described in detail with reference to the accompanying drawings and implementation examples. These implementation examples are described in sufficient detail to enable those skilled in the art to understand and practice the present invention. Logical, implementation and other changes may be made in the implementation without departing from the spirit and scope of the invention. Therefore, the following detailed description should not be taken in a limiting sense, and the scope of the present invention is defined only by the claims.

[0034] In software automation testing, testers control the testing process by writing test scripts. When performing stress testing, the test host first runs the application program (agent) that was previously installed on the device under test to occupy system resources. After the Agent runs, it acts as a socket server and waits for a client connection request, and the test host sends a connection requ...

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 relates to a pressure test method based on Android system intelligent device memory usage and CPU. An agent application is installed in a device under test; a test master runs the agent application through test scripts; when running, the agent application starts a service; a thread in the service is started to serve as a socket server to monitor a connection request of a client; the test master serving as a socket client sends out the connection request to be in socket connection with the agent; the agent application is controlled by a socket communication mechanism to run and use the Android system memory and the CPU; the agent application receives a command of using the memory and the CPU from the test master and starts to use the memory and the CPU, so that Android system resources are scarce, and pressure test is provided with conditions; the test master starts test steps and sends out a command of stopping the usage of the memory and CPU after testing; the agent application stops using the system memory and CPU on receiving the command; finally, the test master commands socket disconnection with the agent application and stops the agent application from running.

Description

technical field [0001] The invention relates to a stress testing method based on occupying memory and CPU of an Android system smart device, belongs to the technical field of software reliability testing, and provides conditions for Android software stress testing. Background technique [0002] The Android system developed by Google, as one of the smartphone operating systems, is an open-source mobile operating system based on the Linux platform, and now occupies most of the global smartphone operating system market. Users' demand for Android applications is increasing day by day. Therefore, in order to develop stable applications more quickly and effectively, testing technology is particularly important. [0003] Stress testing is an important test work to ensure software quality, and the test work is carried out under the condition that the resources required by the software (memory, CPU, etc.) are scarce. However, resource occupation in the Android system is quite differ...

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): G06F11/36
Inventor 姜博沈彦鸣高小鹏王珂陈鹏万寒龙翔
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products