Web Filter Maintaining Persistent Client Connections

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Web applications automatically close connections to clients after sending a response message, making the client inaccessible for further interactions.

Innovation Solution

A filter modifies client request messages to indicate that the connection should remain open after sending a response message, allowing the connection to be maintained for subsequent interactions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the connection is automatically closed after sending a response message, then the resource management is simplified, but the client becomes inaccessible for further interactions

Engineering Contradiction:
Improveresource managementVSAvoidclient accessibility
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The connection state is made dynamic by allowing it to transition between closed (conventional behavior) and open (persistent) states based on server-side decisions. The filter mechanism enables the system to adapt connection behavior dynamically, switching between resource-release mode and connection-maintenance mode as needed.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The connection parameter (open/closed state) is changed from a fixed conventional behavior to a configurable parameter. By modifying the request message to include connection maintenance instructions, the system changes the connection parameter from automatically closed to remains open, enabling persistent client accessibility.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If the connection remains open after sending a response message, then the client accessibility is improved, but the resource consumption increases

Engineering Contradiction:
Improveclient accessibilityVSAvoidresource consumption
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

Instead of maintaining all connections open indefinitely (excessive action), the system maintains connections open only when specifically required by the request message (partial action). This selective connection maintenance reduces unnecessary resource consumption while preserving client accessibility when needed.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The filter acts as an intermediary between the server and the connection management system. It intercepts request messages, modifies connection parameters, and passes them to the application layer, enabling controlled connection persistence without requiring changes to the core application logic or causing uncontrolled resource consumption.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Stability of the object's composition

If the connection is maintained for subsequent interactions, then the communication continuity is improved, but the connection management complexity increases

Engineering Contradiction:
Improvecommunication continuityVSAvoidconnection management
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The connection maintenance decision is made in advance (preliminary action) by modifying the request message before it reaches the application layer. The filter sets the connection state in advance, so the application layer doesn't need to handle complex connection management logic, reducing overall system complexity while ensuring communication continuity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The filter serves as an intermediary layer that handles connection management complexity separately from the application logic. It absorbs the complexity of connection state management and parameter modification, allowing the application layer to focus on business logic while benefiting from improved communication continuity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7571236B2System and method for managing connections
Publication Date: 2009.08.04 SAP SE
  • US7571236B2 patent drawing
  • US7571236B2 patent drawing
  • US7571236B2 patent drawing

AI summary

Embodiments of the invention are generally directed to a system and method for managing connections. A filter may receive a client request message having one or more parameters. In an embodiment, the filter may modify the request message based, at least in part, on the one or more parameters. The modified request message may indicate that a connection to the client is to remain open after a corresponding response message is sent. In an embodiment, the modified request message is passed to an application for processing.