Web Session Event Capture via Browser Extension

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current monitoring systems for web applications struggle to accurately capture and replay web sessions due to the independent execution of code and increased state information in modern web pages, leading to missed events and inaccurate replay, which negatively impacts user experience and e-commerce businesses.

Innovation Solution

A capture system that combines network data and User Interface (UI) event monitoring, with a detection and inference system to identify missed events and generate replay rules, allowing for more accurate simulation of user interactions and improved analytics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If web pages execute code independently with more state information, then web application functionality is improved, but monitoring systems cannot capture all events accurately

Engineering Contradiction:
Improveweb application functionalityVSAvoidevent capture accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent introduces a browser extension as an intermediary component that runs within the user's browser environment. This extension acts as a mediator between the independent web page code and the external monitoring system, capturing events that occur within the browser's context including those generated by independent web page execution. The extension can observe DOM changes, user interactions, and network requests that would otherwise be invisible to traditional monitoring systems.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent shifts the monitoring perspective from external network-level observation to internal browser-level observation. By embedding the monitoring capability within the browser through an extension, the system gains access to a new dimension of event data including DOM manipulations, client-side JavaScript executions, and user interface interactions that occur before network requests are generated. This dimensional shift enables comprehensive event capture despite web pages executing independently.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Device complexity

If capture system only monitors network data, then system complexity is reduced, but replay accuracy is insufficient

Engineering Contradiction:
Improvecapture system complexityVSAvoidreplay accuracy
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent merges two previously separate monitoring approaches into a unified capture system: network-level monitoring and browser-level monitoring. The browser extension captures UI events and DOM changes, while the server continues to capture network traffic. Both data streams are combined and correlated to create a comprehensive event log that enables accurate replay. This merging allows the system to maintain the simplicity of separate components while achieving the reliability of integrated monitoring.

Inventive Principle:
Principle #5Merging (Combining)

3Measurement precision

If monitoring system tries to capture all events, then replay accuracy is improved, but system performance and user experience deteriorate

Engineering Contradiction:
Improvereplay accuracyVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies local quality by making the monitoring granularity adaptive and context-dependent. The browser extension captures events with varying levels of detail based on their significance. Critical events such as user actions, DOM changes, and network requests are captured in full detail, while less significant events are captured with reduced detail or aggregated. This selective monitoring approach maintains replay accuracy for important events while minimizing the performance overhead of comprehensive monitoring.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements partial monitoring by focusing capture efforts on the most critical event types rather than attempting to capture every possible event. The system identifies and prioritizes events that are essential for accurate replay, such as user interactions and state-changing operations, while optionally monitoring or aggregating less critical events. This partial action approach achieves sufficient replay accuracy without the excessive performance cost of capturing all events in detail.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS8533532B2System identifying and inferring web session events
Publication Date: 2013.09.10 ACOUSTIC LP
  • US8533532B2 patent drawing
  • US8533532B2 patent drawing
  • US8533532B2 patent drawing

AI summary

A test system uses an instrumented browser to identify events that were not successfully captured during a client web session. The identified events can be used to modify a capture system that captures the client web session. Alternatively, the test system may generate replay rules that are used by a replay system to infer the missed events while replaying of the previously captured client web session. The events can include changes to Document Object Models (DOMs) for web pages used during the web sessions. The DOMs can be used to identify significant web session events and force replay sessions into the correct states.