Local Client Proxy for Service State Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In client-server systems, service providers may call other service providers without ensuring the most current state, leading to potential access of outdated information, especially when pending actions are involved, which can result in unreliable interactions.

Innovation Solution

Implementing a local client proxy at the server that manages calls between service providers through a service manager, ensuring that service providers retrieve the latest state before interacting, thereby maintaining data integrity and reliability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If service providers call other service providers directly without state management, then the system complexity is reduced, but the reliability deteriorates due to accessing outdated information

Engineering Contradiction:
Improvedata currentnessVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

A service manager is introduced as an intermediary component between service providers. The service manager maintains a registry of service providers and their current states, and manages the calling process to ensure that callers access the most current state of called services. This intermediary resolves the contradiction by adding controlled complexity only where needed (in state management) while keeping the overall service provider architecture simple.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The service manager performs preliminary actions by maintaining up-to-date state information and pending actions before service providers make calls. When a service provider needs to call another service provider, the service manager ensures that any pending actions (such as writes) are completed first, so the calling provider accesses current state information. This preliminary state management ensures reliability without requiring complex synchronization logic in each service provider.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If service providers wait for pending actions to complete before interacting, then data integrity is improved, but the productivity decreases due to additional waiting time

Engineering Contradiction:
Improvedata integrityVSAvoidservice call efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The service manager implements a feedback mechanism by tracking pending actions and their completion status. When a service provider wants to call another service provider, the service manager checks the feedback from the called service provider about whether pending actions are complete. This feedback-driven approach ensures data integrity by only allowing calls when appropriate, while minimizing unnecessary waiting by proceeding when no blocking pending actions exist.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If a service provider recursively calls itself or other service providers, then the functionality and adaptability are improved, but the risk of accessing outdated state increases

Engineering Contradiction:
Improveservice provider functionalityVSAvoidstate currentness
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The service manager acts as a mediator that intercepts and manages all service provider calls, including recursive calls. By routing calls through the service manager, the system ensures that even in complex recursive scenarios, the current state is properly maintained and accessed. The service manager tracks the call stack and ensures that pending actions are appropriately managed throughout the recursion, maintaining reliability while allowing flexible service provider functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7801996B2Systems and methods for providing a local client proxy
Publication Date: 2010.09.21 SAP SE
  • US7801996B2 patent drawing
  • US7801996B2 patent drawing
  • US7801996B2 patent drawing

AI summary

Methods and systems for calling a service provider using a service manager and a local client proxy. In one exemplary embodiment, a method is provided to instantiate the service manager, the service provider, and the local client proxy. In response to the service provider, the local client proxy calls another service provider through the service manager to complete the call to the other service provider.