Web Service Compositional Logic Separation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

As Web service interfaces and choreographies become increasingly complex, existing technologies face challenges in rapidly and reliably developing interoperable services and clients, necessitating a flexible composition mechanism that structures Web service protocols into self-contained micro-protocols and imposes their inherent structure onto the specification and internal design of Web services and their clients.

Innovation Solution

The solution involves separating service logic from compositional logic, using protocol demultiplexers to implement protocol multiplexing and sequencing, allowing for the transmission of composite messages over the network instead of sending messages separately, and enabling modularization of Web service specifications and internal designs through protocol multiplexing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If Web service interfaces and choreographies are designed to be highly interoperable using standards like SOAP and WSDL, then cross-platform and cross-language compatibility is improved, but the complexity of composing and managing composite Web services increases

Engineering Contradiction:
ImproveinteroperabilityVSAvoidcomposite service composition complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the Web service composition into distinct components: service logic (business operations) and compositional logic (protocol handling). This segmentation allows each component to be developed and tested independently, reducing overall complexity while maintaining interoperability through standardized interfaces.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces protocol demultiplexers as intermediary components that handle protocol-level operations (multiplexing, sequencing, demultiplexing) separately from service logic. These intermediaries manage the complexity of protocol composition while keeping service logic clean and interoperable.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If protocol multiplexing is implemented to transmit composite messages over the network, then message transmission efficiency is improved, but the complexity of protocol demultiplexing and sequencing increases

Engineering Contradiction:
Improvemessage transmission efficiencyVSAvoidprotocol demultiplexing complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent extracts protocol handling operations (multiplexing, sequencing, demultiplexing) from the service logic and places them in separate compositional logic components. This extraction simplifies the service logic while managing protocol complexity in dedicated components that can be automatically generated.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent uses automated code generation to create protocol demultiplexer components based on composite message definitions. This copying approach allows complex protocol handling code to be systematically generated from high-level specifications, reducing manual complexity while maintaining efficient message transmission.

Inventive Principle:
Principle #26Copying

3Ease of manufacture

If service logic is separated from compositional logic, then maintainability and testability are improved, but the complexity of implementing and coordinating the separation increases

Engineering Contradiction:
ImprovemaintainabilityVSAvoidimplementation structure complexity
Core Design Contradiction:
Ease of manufactureVSDevice complexity

Solution Approach 1:

The patent implements segmentation by separating service logic (business operations) from compositional logic (protocol handling). This creates distinct, maintainable modules where service logic remains business-focused and compositional logic handles infrastructure concerns, improving maintainability despite the added structural complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The compositional logic components serve multiple functions: protocol multiplexing, sequencing, demultiplexing, and message routing. This multi-functionality consolidates several responsibilities into unified components, reducing the number of separate implementations needed while maintaining clear separation from service logic.

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

Data Source

PatentUS7698385B2Method and apparatus for designing web services using a sequence and multiplex architectural pattern
Publication Date: 2010.04.13 AVAYA INC
  • US7698385B2 patent drawing
  • US7698385B2 patent drawing
  • US7698385B2 patent drawing

AI summary

Methods and apparatus are disclosed for designing a Web service that processes one or more composite messages. The same techniques may be applied to the design of clients of the Web service. The Web service is comprised of service logic and compositional logic. The service logic is comprised of a plurality of message handlers that process micro-messages of one or more composite messages. The compositional logic is comprised of a plurality of protocol demultiplexers that implement Web service functionality for demultiplexing, sequencing, and multiplexing one or more composite messages. The compositional logic is separated from the service logic, such that the service logic does not include operations for demultiplexing, sequencing, or multiplexing the composite messages.