Handle Device Adaptation via Sandbox Event Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing handle device applications require root permission to identify and control game interfaces, posing a high usage threshold and security risk due to the need for root access.
Innovation Solution
A method and apparatus that utilize a sandbox environment to capture and analyze handle events from a handle device, generating and transmitting touch events to third-party applications without the need for root permission, thereby controlling activity pages securely and reducing the usage threshold.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If handle device applications require root permission to identify and control game interfaces, then control functionality is achieved, but usage threshold and security risk increase
Solution Approach 1:
The system is segmented into a sandbox environment for handle event processing and the third-party application runtime environment. The sandbox contains the potentially risky root operations while isolating them from the main system, allowing control functionality without requiring the entire system to have root access.
Solution Approach 2:
A sandbox environment acts as an intermediary layer between the handle device and the third-party application. This intermediary captures handle events, processes them with necessary system permissions, and transmits processed touch events to the application, eliminating the need for the application itself to require root permission.
2Adaptability or versatility
If root permission is required for handle device control, then full control capability is obtained, but system security is compromised
Solution Approach 1:
Control capability is segmented and confined to the sandbox environment where root operations are performed only when necessary for handle event processing. The third-party application maintains its normal security context without requiring root permission, thus preserving system security while achieving full control capability within the sandbox.
Solution Approach 2:
The sandbox creates an inert or isolated environment for handling potentially harmful operations. Within this controlled environment, handle events are processed with elevated permissions without affecting the security of the broader system, effectively containing any potential harmful factors.
3Device complexity
If handle events are processed without sandbox environment, then processing simplicity is maintained, but security risks increase
Solution Approach 1:
The processing system is segmented into two distinct parts: a simple event capture interface for the application and a sandboxed processing layer for secure event transformation. This segmentation maintains processing simplicity at the application level while introducing security through the sandbox layer.
Solution Approach 2:
The sandbox environment serves as an intermediary processing layer that sits between the handle device and the application. It adds security without significantly complicating the overall processing flow, as it transparently captures, transforms, and forwards events without requiring application-level security management.
Data Source
AI summary
This application provides a method, an apparatus, and a storage medium for adapting a handle device to a third-party application. The method is performed by a terminal in a shield environment, and includes: identifying the third-party application currently run by the terminal and an activity page currently displayed by the third-party application, capturing a handle event generated by the handle device connected to the terminal, analyzing the handle event to obtain an analyzing result, and converting the analyzing result to a first touch event used for controlling the activity page, and transmitting the first touch event to the third-party application for execution, so that the third-party application controls the activity page.


