Middleware Component Using Abstract Factory Patterns for Platform Adaptation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing middleware components lack flexibility and retargetability to support multiple platforms without requiring modifications to applications, leading to the need for reimplementation to accommodate different operating systems.

Innovation Solution

A pattern-based middleware architecture utilizing abstract factory patterns that associate specific factory patterns with services, allowing easy extension to new platforms while maintaining isolation and compatibility with existing platforms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional middleware components are used, then applications can interoperate with other applications, but the middleware lacks flexibility and retargetability to support multiple platforms without reimplementation

Engineering Contradiction:
Improveplatform compatibilityVSAvoidmiddleware structure
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The middleware component is segmented into multiple factory patterns, each associated with a specific platform. This segmentation allows the system to selectively instantiate the appropriate factory pattern for the target platform, enabling multi-platform support without requiring the entire middleware to be reimplemented for each platform.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The middleware employs dynamic factory pattern selection based on the target platform. The system dynamically determines which factory pattern to instantiate at runtime, allowing the middleware to adapt its behavior and structure according to the specific platform requirements, thereby achieving flexibility and retargetability.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If middleware components are reimplemented to support additional platforms, then platform compatibility improves, but the complexity and effort of maintenance increases

Engineering Contradiction:
Improveplatform supportVSAvoidmiddleware deployment
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The factory patterns are designed to be universal, with each factory pattern capable of supporting multiple services across different platforms. This universal design allows a single factory pattern implementation to serve multiple platforms, eliminating the need for separate reimplementations and reducing maintenance complexity.

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

Solution Approach 2:

Instead of reimplementing the entire middleware for each platform, the system creates copies of service implementations through factory patterns. Each factory pattern generates platform-specific instances of services, allowing the core service logic to remain unchanged while adapting to different platforms through controlled copying.

Inventive Principle:
Principle #26Copying

3Reliability

If the middleware maintains isolation between services and platforms, then service compatibility is ensured, but the ability to extend to new platforms is limited

Engineering Contradiction:
Improveservice isolationVSAvoidplatform extension
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The factory patterns act as intermediaries between services and platforms. Each factory pattern mediates the interaction by translating service requests into platform-specific operations, maintaining service isolation while enabling extension to new platforms. The factory pattern serves as a buffer that preserves service independence while adapting to platform diversity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS8752066B2Implementing a middleware component using factory patterns
Publication Date: 2014.06.10 RAYTHEON CO
  • US8752066B2 patent drawing
  • US8752066B2 patent drawing
  • US8752066B2 patent drawing

AI summary

In one aspect, a method to use a middleware component includes receiving a request from an application to interact with a platform using a service and using an abstract factory pattern corresponding to the service. The abstract factory pattern is associated with a first factory pattern stored in the middleware component. The method also includes determining if the first factory pattern is associated with the platform and invoking the service with the platform using the first factory pattern if the first factory pattern is associated with the platform.