Handle Device Adaptation via Sandbox Event Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improveusage thresholdVSAvoidsecurity risk
Core Design Contradiction:
Ease of operationVSReliability

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If root permission is required for handle device control, then full control capability is obtained, but system security is compromised

Engineering Contradiction:
Improvecontrol capabilityVSAvoidsystem security
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #39Inert atmosphere (Inert environment)

3Device complexity

If handle events are processed without sandbox environment, then processing simplicity is maintained, but security risks increase

Engineering Contradiction:
Improveprocessing simplicityVSAvoidsystem security
Core Design Contradiction:
Device complexityVSReliability

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11269663B2Method and apparatus for adapting handle device to third-party application, and storage medium
Publication Date: 2022.03.08 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US11269663B2 patent drawing
  • US11269663B2 patent drawing
  • US11269663B2 patent drawing

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.