Timeout Mechanism for Continuous Scroll Event Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern browsers generate events for continuous actions like scrolling without end events, leading to inconsistent and resource-intensive handling of these actions, as applications lack clear indicators of when the action has stopped, resulting in repeated functionality execution and potential performance issues.

Innovation Solution

Implementing a timeout mechanism that determines if a subsequent event of the same type is initiated within a specified time after the initial event, ensuring functionality is only performed once the specified time has passed without further user interaction, thereby managing continuous actions without end events.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If the application executes functionality for every scroll event generated, then the application responds promptly to user scrolling, but the functionality is executed multiple times during continuous scrolling, wasting resources

Engineering Contradiction:
ImproveResponse speed to scroll eventsVSAvoidResource consumption from repeated functionality execution
Core Design Contradiction:
SpeedVSLoss of energy

Solution Approach 1:

The patent applies preliminary action by setting a timeout period in advance after each scroll event. The functionality is not executed immediately but is scheduled to execute only if no new scroll events occur within the predetermined timeout period. This prevents multiple executions during continuous scrolling while maintaining responsive behavior.

Inventive Principle:
Principle #10Preliminary action

2Loss of energy

If the application waits for a timeout period before executing functionality, then resource usage is optimized by preventing multiple submits, but the response to user scrolling is delayed

Engineering Contradiction:
ImproveResource consumption from repeated functionality executionVSAvoidDelay in executing functionality after user scrolling
Core Design Contradiction:
Loss of energyVSLoss of time

Solution Approach 1:

The patent applies dynamics by making the timeout period adjustable and context-dependent. The timeout value can be modified based on scrolling speed, distance, or other factors, allowing the system to balance between responsive execution and preventing excessive repetitions. This dynamic adjustment optimizes both response time and resource consumption.

Inventive Principle:
Principle #15Dynamics

3Reliability

If the application uses a fixed timeout mechanism to detect end states, then consistency across different browsers is improved, but the system complexity increases

Engineering Contradiction:
ImproveConsistency of continuous action detection across browsersVSAvoidSystem complexity for managing event types and timeouts
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies universality by creating a generalized event handling mechanism that works across different browsers and event types. The timeout-based approach provides a universal solution for detecting end states of continuous actions, whether scrolling, clicking, or other repetitive user interactions, reducing the need for browser-specific or event-specific custom logic.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS8819697B2Managing actions that have no end events
Publication Date: 2014.08.26 SAP SE
  • US8819697B2 patent drawing
  • US8819697B2 patent drawing
  • US8819697B2 patent drawing

AI summary

A computer-implemented method for managing events that have no end events includes: determining that a first event has been generated that corresponds to a continuous action having no defined end event, the first event having an event type and being initiated by a user; determining whether at least a second event of the event type is initiated by the user within a specified time from initiation of the first event; and performing a functionality of the continuous action only if the second event is not initiated within the specified time, wherein the functionality is not performed until the specified time passes after a last initiated event of the event type.