×

Generic remote connection to a command line interface application

  • US 9,516,128 B2
  • Filed: 02/18/2008
  • Issued: 12/06/2016
  • Est. Priority Date: 12/13/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method to establish a generic remote connection to a command line interface (CLI) application for concurrently executing multiple primitive commands in the CLI application and allowing sporadic communication with the CLI application that is a constantly resident CLI application running as one of a service process and a background process, comprising:

  • configuring and implementing a server configured with a data input channel, a data output channel, and an error output channel, each connected to the CLI application;

    multiplexing data output and error output data streams by the server to generate a single multiplexed data stream;

    configuring a first socket for routing data streams through the data input channel, the error output channel, and data output channel of the server, wherein the data streams include at least the single multiplexed data stream;

    configuring and implementing at least one client configured with the data input channel, data output channel, and the error output channel;

    opening the first socket by the at least one client upon starting the at least one client and connecting the first socket by the server to the data streams following the starting of the at least one client;

    configuring the at least one client to regenerate the data output and error output data streams that are multiplexed into the single multiplexed data stream;

    routing the data streams through the first socket between the server and the at least one client;

    serializing commands being issued to a shared CLI session, if the shared CLI session is being shared between a plurality of clients, so that a complete response, for one of the plurality of clients, is received and collected prior to a successive response being submitted;

    tracking at least three of the data streams of the CLI application, wherein the data streams are a data input stream, which is data obtained from a keyboard, a data output stream, which is data sent to a display monitor, and an error output stream, which is error data sent to the display monitor;

    attaching, by the server, a unique header to each of the data output and the error output data stream that are multiplexed into the single multiplexed data stream for being identified by the at least one client for demultiplexing;

    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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×