Unix Pipeline XML Web Service Integration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Unix-style data processing pipelines primarily handle unstructured data, limiting their ability to efficiently process structured data streams from command-line interfaces, which can hinder complex data manipulations and integrations with web services.

Innovation Solution

Enabling the integration of distributed data processing services within command-line interfaces, allowing users to feed data to web services and extract structured information from responses, using protocols like SOAP and XML, and leveraging UDDI or CORBA for service discovery, to create valid structured documents from unstructured inputs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If Unix pipelines handle only unstructured data, then simplicity of data flow is maintained, but capability to process structured data streams is limited

Engineering Contradiction:
Improvecapability to process structured dataVSAvoidcomplexity of data processing pipeline
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces XML as an intermediary data format that bridges unstructured text data and structured data processing requirements. XML documents serve as mediators that carry structured information (elements, attributes, namespaces) through the Unix pipeline while maintaining compatibility with standard text-based processing tools. This allows structured data processing without fundamentally changing the Unix pipeline architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent enables Unix pipeline tools to handle multiple data types universally - both traditional unstructured text and structured XML data - using the same text-stream interface. Tools like grep, sed, and awk can process XML alongside regular text, providing multi-functionality without requiring separate processing paths for different data types.

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

2Adaptability or versatility

If web services are integrated into command-line interfaces, then functionality for complex data operations is enhanced, but complexity of interface design increases

Engineering Contradiction:
Improvefunctionality for complex data operationsVSAvoidease of command-line usage
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent implements self-service mechanisms where XML data structures contain embedded information about their own processing requirements. XML namespaces, element hierarchies, and attribute structures automatically provide metadata that guides processing without requiring additional configuration or complex interface specifications. The data itself carries the instructions for how it should be manipulated.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

XML serves as an intermediary layer between web services and the command-line interface. Instead of requiring direct integration of web service protocols into shell commands, XML documents act as standardized intermediaries that can be generated by web services, processed through Unix pipelines, and manipulated using familiar command-line tools, thereby simplifying the interface design.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Manufacturing precision

If structured data formats are adopted in Unix pipelines, then data manipulation precision is improved, but compatibility with traditional text processing tools deteriorates

Engineering Contradiction:
Improveprecision of data manipulationVSAvoidcompatibility with text processing tools
Core Design Contradiction:
Manufacturing precisionVSAdaptability or versatility

Solution Approach 1:

The patent achieves homogeneity by treating XML data and traditional text data uniformly as character streams. XML documents are processed as sequences of characters just like plain text, allowing the same text processing tools to handle both types without modification. The structured nature of XML is preserved through the text representation while maintaining compatibility with text-based processing approaches.

Inventive Principle:
Principle #33Homogeneity

Data Source

PatentUS8274682B2Combining UNIX commands with extensible markup language (“XML”)
Publication Date: 2012.09.25 RED HAT INC
  • US8274682B2 patent drawing
  • US8274682B2 patent drawing
  • US8274682B2 patent drawing

AI summary

A method and system for using Unix commands with web services are described. The method includes reading at least one delimiter-separated string on a standard input, and preparing a request to a web service from the at least one delimiter-separated string, where the web service is specified by a command-line argument. The method further includes transmitting the request to the web service, and providing, to a standard output, a response of the web service to the request.