Console Application Web Service Deployment via I/O Stream Injection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Converting console applications into a format accessible for remote users is a time-consuming and costly process, as it often requires reworking of code and complex integration with graphical user interface components.

Innovation Solution

A method and system that deploy console applications as web services, using a server with a deployer module to analyze and create operations for main methods, an injection module to change input/output streams during runtime, and a web service module to provide remote access, allowing users to interact with console applications through a memory store without reworking the source code.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If console applications are converted into a form for remote user interaction, then remote accessibility is improved, but development time and cost increase significantly

Engineering Contradiction:
Improveremote accessibilityVSAvoiddevelopment time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent creates a virtual copy of the console application's input/output environment within the web service layer. Instead of modifying the original console application code, it replicates the console I/O behavior through software abstractions that interface with the existing application, enabling remote access without reworking the source code.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent introduces a web service as an intermediary layer between remote users and the console application. This mediator translates web service requests into console application input and captures console output, presenting it to users in a remote-accessible format without requiring changes to the original application.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If console applications are converted into a form for remote user interaction, then remote accessibility is improved, but conversion cost increases

Engineering Contradiction:
Improveremote accessibilityVSAvoidconversion cost
Core Design Contradiction:
Ease of operationVSEase of manufacture

Solution Approach 1:

The patent creates a virtual copy of the console application's input/output environment within the web service layer. Instead of modifying the original console application code, it replicates the console I/O behavior through software abstractions that interface with the existing application, enabling remote access without reworking the source code.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The console application itself remains unchanged and continues to function as originally designed. The web service layer handles all adaptation work, allowing the original application to serve itself remotely without requiring external modification or maintenance effort.

Inventive Principle:
Principle #25Self-service

3Device complexity

If code injection is used to change input/output streams, then integration complexity is reduced, but system reliability may be affected

Engineering Contradiction:
Improveintegration complexityVSAvoidsystem reliability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent introduces a web service as an intermediary layer between remote users and the console application. This mediator translates web service requests into console application input and captures console output, presenting it to users in a remote-accessible format without requiring changes to the original application.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a virtual copy of the console application's input/output environment within the web service layer. Instead of modifying the original console application code, it replicates the console I/O behavior through software abstractions that interface with the existing application, enabling remote access without reworking the source code.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10303531B2Console application through web service
Publication Date: 2019.05.28 RED HAT INC
  • US10303531B2 patent drawing
  • US10303531B2 patent drawing
  • US10303531B2 patent drawing

AI summary

A method performed by a server computing system includes generating an operation for a web service, the operation corresponding to at least one main method of a console application, receiving input data from a client device through the operation, writing the input data to a memory store, executing the console application using the input data of the memory store, injecting code into the console application, the code to change input/output streams from a console input/output to the memory store. The method further includes writing an output of the console application to the memory store.