Virtual Device Perturbation Framework for Mobile App Testing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Testing applications for compatibility across diverse mobile platforms and network protocols is time-consuming and tedious due to the need for extensive testing on various devices and network types, with existing solutions lacking the ability to simulate environmental perturbations without affecting other applications.
Innovation Solution
A framework that allows for perturbations to be applied to a single user device to simulate different device conditions, network conditions, and user inputs, while monitoring the application's performance to gather data on resource consumption and degradation, enabling analysis of which perturbations cause issues and allowing for targeted optimizations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If multiple physical devices are used to test application compatibility across different hardware configurations and network protocols, then testing coverage and reliability are improved, but testing time and device complexity increase significantly
Solution Approach 1:
The patent creates virtual copies of physical devices through virtualization technology. Instead of using multiple physical devices to test application compatibility, the system generates virtual device instances that simulate different hardware configurations, operating systems, and network protocols. This allows comprehensive testing coverage to be achieved using a single physical device running multiple virtual environments simultaneously, dramatically reducing both testing time and the number of physical devices required.
Solution Approach 2:
The patent implements a universal testing platform that can simulate multiple device types, operating systems, and network conditions within a single system. The virtualization framework enables one physical device to perform the functions of many different device configurations, making the testing system multi-functional and adaptable to various testing scenarios without requiring separate physical hardware for each test case.
2Reliability
If comprehensive testing across multiple devices and network types is performed, then application compatibility is improved, but the complexity of managing multiple devices and test configurations increases
Solution Approach 1:
The patent segments the testing system into distinct virtualized components that can be independently configured and managed. Each virtual device instance represents a segmented testing environment with specific hardware, software, and network characteristics. This segmentation allows testers to create, configure, and manage individual test scenarios independently while maintaining overall system organization through virtualization management tools, reducing the complexity of managing comprehensive test configurations.
Solution Approach 2:
The patent introduces a virtualization layer as an intermediary between the physical testing infrastructure and the application under test. This intermediary abstracts the complexity of multiple device configurations and network types, presenting a simplified interface for test management while maintaining full compatibility with various device specifications. The virtualization mediator handles the complexity of configuring and managing diverse test environments, shielding users from the underlying system complexity.
3Measurement precision
If environmental perturbations are applied to simulate different device conditions and network scenarios, then testing realism and defect detection are improved, but the impact on other applications and system stability may worsen
Solution Approach 1:
The patent extracts the perturbation effects from the global system level and applies them at the individual virtual device level. By isolating environmental perturbations (such as network conditions, resource constraints, or sensor simulations) within specific virtualized testing environments, the system can induce realistic defect conditions for one application without affecting other applications running on the same physical hardware. Each virtual device instance independently handles its own perturbations, preventing harmful side effects from propagating system-wide.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Application testing and analysis may include performing perturbations to affect an environment associated with the application executing on a user device without affecting other applications executing on the user device. The execution of the application may be traced while the perturbations are being performed to determine an amount of resources of the user device consumed by the application and to determine whether a performance of the application was degraded.