Event Handling in Integrated Execution Environments
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In touchscreen devices, there is contention between browser programs and media player programs regarding which should handle events like double-tap, finger drag, and multi-touch gestures when these occur over media content, as both types of programs are configured to detect such events, leading to ambiguity in interpreting user intent.
Innovation Solution
Implementing a mode switching mechanism for media player programs, allowing them to enter 'focused' mode to handle specific input events while remaining embedded or in fullscreen view, and using event handlers to determine input types and switch modes accordingly, ensuring that either the browser or media player handles the input based on predefined protocols.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If both browser program and media player program are configured to detect the same input events, then the media player program can respond to user gestures directly, but ambiguity arises in interpreting user intent and conflict occurs over event handling priority
Solution Approach 1:
The patent introduces an event handler as an intermediary component that sits between the input interface and both the browser program and media player program. This event handler receives input events, determines their types according to predefined protocols, and routes them to the appropriate program. This mediator resolves the conflict by providing a clear decision-making layer that eliminates ambiguity in user intent interpretation.
Solution Approach 2:
The patent implements dynamic mode switching for the media player program, allowing it to transition between different input handling modes (e.g., focused mode vs. non-focused mode) based on the current state and the type of input event received. This dynamic behavior enables the system to adapt its event handling strategy in real-time, improving ease of operation while maintaining user intent clarity through context-aware routing.
2Productivity
If media player program handles all input events, then responsiveness to user gestures improves, but browser program functionality may be inadvertently blocked
Solution Approach 1:
The patent segments the event handling responsibility by dividing input events into different types and routing them to different programs based on predefined protocols. The event handler categorizes events (e.g., play control gestures vs. navigation gestures) and directs them appropriately, ensuring that the media player program handles only relevant events while the browser program retains control over others, thus maintaining both productivity and reliability.
Solution Approach 2:
The patent changes the parameter of event routing by introducing mode-specific handling rules. When the media player program is in focused mode, it handles a broader range of events; when in non-focused mode, it handles fewer events. This parameter change (mode state) dynamically adjusts the distribution of event handling responsibilities, balancing media player responsiveness with browser program functionality.
3Adaptability or versatility
If browser program handles all input events, then default user experience is maintained, but media player program cannot provide specialized gesture responses
Solution Approach 1:
The event handler is designed with universal functionality to handle multiple types of input events and route them to appropriate programs based on predefined protocols. It can recognize and process both browser-specific events and media player-specific events, providing adaptability for specialized gesture responses while maintaining the universality of the default user experience through consistent routing rules.
4Measurement precision
If mode switching mechanism is implemented, then event handling precision improves, but system complexity increases
Solution Approach 1:
The patent uses parameter changes (mode switching) to improve input type determination accuracy. By introducing a mode parameter that can take different values (focused vs. non-focused), the system can dynamically adjust its event handling behavior. This single parameter change enables precise differentiation between event types without requiring complex decision logic, thus improving measurement precision while limiting the increase in system complexity.
Data Source
AI summary
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, are described for handling input received from a common interface of a program and a runtime environment when both the program and the runtime environment are configured to consume the received input. Given that both a browser program and a media player program hosted by the browser program are configured to detect an event of a certain type, there may be a contention of whether the browser program or the media player program may act first on the detected event. The disclosed systems and techniques enable interpretation of a user's intent when the user interacts with a webpage hosting media content and when the user's input occurs over media content rendered by the media player program. Similar advantages may also be realized within the context of another execution environment, or other program, different than a browser program.


