Generic remote connection to a command line interface application
First Claim
1. A method to establish a generic remote connection to a command line interface (CLI) application for allowing sporadic communication with the CLI application, comprising:
- continuously executing the CLI application as a background process on a server configured with a data input channel, a data output channel, and an error output channel, each connected to the CLI application;
wherein the server tracks at least three of the data streams of the CLI application, and wherein the data streams are a data input stream comprising data obtained from a keyboard, a data output stream comprising data sent to a display monitor, and an error output stream comprising error data sent to the display monitor;
configuring a second socket for routing a dedicated error data stream, wherein the dedicated error stream in the second socket may execute concurrently with data streams being executed in a first socket;
implementing at least one client configured with the data input channel, data output channel, and the error output channel;
attaching, by the server, a unique header to each of the data output and the error output data stream, the data output and the error output data stream multiplexed into a single multiplexed data stream for being identified by the at least one client for demultiplexing; and
demultiplexing the single multiplexed data stream by the at least one client to regenerate the data output and error output data streams by identifying the data output and the error output data stream using the unique header attached to each of the data output and the error output data stream that have been multiplexed into the single multiplexed data stream by the server.
1 Assignment
0 Petitions
Accused Products
Abstract
A method to establish a generic remote connection to a command line interface (CLI) application is provided. A server is implemented. The server is configured with a data input channel, a data output channel, and an error output channel, each connected to the CLI application. A second socket for routing a dedicated error data stream is configured. The dedicated error stream in the second socket may execute concurrently with data streams being executed in a first socket. At least one client is implemented. The at least one client is configured with the data input channel, data output channel, and the error output channel.
-
Citations
12 Claims
-
1. A method to establish a generic remote connection to a command line interface (CLI) application for allowing sporadic communication with the CLI application, comprising:
-
continuously executing the CLI application as a background process on a server configured with a data input channel, a data output channel, and an error output channel, each connected to the CLI application;
wherein the server tracks at least three of the data streams of the CLI application, and wherein the data streams are a data input stream comprising data obtained from a keyboard, a data output stream comprising data sent to a display monitor, and an error output stream comprising error data sent to the display monitor;configuring a second socket for routing a dedicated error data stream, wherein the dedicated error stream in the second socket may execute concurrently with data streams being executed in a first socket; implementing at least one client configured with the data input channel, data output channel, and the error output channel; attaching, by the server, a unique header to each of the data output and the error output data stream, the data output and the error output data stream multiplexed into a single multiplexed data stream for being identified by the at least one client for demultiplexing; and demultiplexing the single multiplexed data stream by the at least one client to regenerate the data output and error output data streams by identifying the data output and the error output data stream using the unique header attached to each of the data output and the error output data stream that have been multiplexed into the single multiplexed data stream by the server. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for establishing a generic remote connection to a command line interface (CLI) application for allowing sporadic communication with the CLI application, comprising:
-
a server continuously executing the CLI application as a background process, and configured with a data input channel, a data output channel, and an error output channel, each connected to the CLI application;
wherein the server tracks at least three of the data streams of the CLI application, and wherein the data streams are a data input stream comprising data obtained from a keyboard, a data output stream comprising data sent to a display monitor, and an error output stream comprising error data sent to the display monitor;a second socket connected to the server for routing a dedicated error data stream, wherein the dedicated error stream in the second socket may execute concurrently with data streams being executed in a first socket; at least one client configured with the data input channel, data output channel, and the error output channel; the server configured to attach a unique header to each of the data output and the error output data stream, the data output and the error output data stream multiplexed into a single multiplexed data stream for being identified by the at least one client for demultiplexing; and the at least one client configured to demultiplex the single multiplexed data stream by the at least one client to regenerate the data output and error output data streams by identifying the data output and the error output data stream using the unique header attached to each of the data output and the error output data stream that have been multiplexed into the single multiplexed data stream by the server. - View Dependent Claims (7)
-
-
8. A computer program product for establishing a generic remote connection to a command line interface (CLI) application for allowing sporadic communication with the CLI application, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:
-
a first executable portion for continuously executing the CLI application as a background process on a server configured with a data input channel, a data output channel, and an error output channel, each connected to the CLI application;
wherein the server tracks at least three of the data streams of the CLI application, and wherein the data streams are a data input stream comprising data obtained from a keyboard, a data output stream comprising data sent to a display monitor, and an error output stream comprising error data sent to the display monitor;a second executable portion for configuring a second socket for routing a dedicated error data stream, wherein the dedicated error stream in the second socket may execute concurrently with data streams being executed in a first socket; a third executable portion for implementing at least one client configured with the data input channel, data output channel, and the error output channel; a fourth executable portion for attaching, by the server, a unique header to each of the data output and the error output data stream, the data output and the error output data stream multiplexed into a single multiplexed data stream for being identified by the at least one client for demultiplexing; and a fifth executable portion for demultiplexing the single multiplexed data stream by the at least one client to regenerate the data output and error output data streams by identifying the data output and the error output data stream using the unique header attached to each of the data output and the error output data stream that have been multiplexed into the single multiplexed data stream by the server. - View Dependent Claims (9, 10, 11, 12)
-
Specification