Redirect Counter for Multi-Threaded Web Loop Prevention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Infinite redirection loops in web-based applications can lead to performance degradation, security vulnerabilities, and denial of service issues due to multiple HTTP redirects, causing users to encounter access denials or prolonged waiting times.

Innovation Solution

A system and method for managing inter-application communication in a multi-threaded environment, using user-specific application monitoring to limit redirects, with an Internet browser that dynamically tracks redirects and employs a redirect counter to prevent infinite loops, and an application security protection unit to prevent unauthorized access.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple HTTP redirects are processed in web-based applications, then application functionality and resource access are improved, but infinite redirection loops occur causing performance degradation and system overload

Engineering Contradiction:
Improveapplication functionalityVSAvoidsystem stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent implements a redirect counter that is initialized before processing redirects, and a redirect tracking data structure that records redirect information in advance. These preliminary actions enable the system to detect and prevent infinite redirect loops before they can cause system overload, while still allowing legitimate multiple-point redirects to function properly

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent employs feedback mechanisms where the redirect counter continuously monitors the number of redirects processed and compares it against a predefined threshold. When the threshold is exceeded, the system terminates further redirects. This closed-loop feedback control prevents infinite loops while permitting necessary redirects within safe limits

Inventive Principle:
Principle #23Feedback

2Reliability

If redirect tracking and monitoring mechanisms are implemented, then infinite loops are prevented, but system complexity increases

Engineering Contradiction:
Improveloop preventionVSAvoidsystem architecture
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the redirect monitoring function into separate, modular components: a redirect counter for counting redirects, a redirect tracking data structure for storing redirect information, and a threshold comparison mechanism. This segmentation allows each component to be independently managed and maintained, reducing overall system complexity despite the added functionality

Inventive Principle:
Principle #1Segmentation

3Reliability

If redirect counter and tracking mechanisms are added, then processing overhead increases, but redirect control and loop prevention are improved

Engineering Contradiction:
Improveredirect controlVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The redirect counter and tracking mechanism operate autonomously, automatically incrementing the counter, comparing against the threshold, and terminating redirects when necessary without requiring external intervention. This self-service approach minimizes processing overhead by eliminating the need for complex external monitoring systems

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS7441026B2System and method for guarding against infinite loops from multi-point redirects in a multi-threaded environment
Publication Date: 2008.10.21 ORACLE AMERICAN INC
  • US7441026B2 patent drawing
  • US7441026B2 patent drawing
  • US7441026B2 patent drawing

AI summary

A computer system having a user specified web browsing system for selectively monitoring application request to web based applications to detect and track redirection loops. The web browser of an embodiment of the present invention is configured to track multiple web applications at any given time to determine when to terminate requests to the same application resource when a redirection loops develops to that resource. In one embodiment of the present invention, a user programmable cookie is attached to the web browser to periodically check user specified web applications when a redirection loop is detected. The cookie enables the redirection loop to be terminated when the redirection loop reaches a predetermined maximum number of loops.