Shell sessions
First Claim
1. At a remote device in a network computing environment, a method of establishing a command-line shell processing session by providing a binding mechanism within a message rather than a binary stream of data in order to bind a shell to a series of commands, the method comprising:
- receiving a request message to open a shell at a remote command-line shell processor;
opening the shell;
in acknowledgement of the shell being opened, sending from the remote command-line shell processor an open shell response message providing a binding mechanism for use in transferring commands to the shell for execution; and
receiving an execution request message to execute a command, wherein the execution request message includes the command as a unit and the binding mechanism,wherein each of the request message and the binding mechanism are represented by uniform resource identifiers,the execution request message being capable of including multiple commands, wherein a data exchange between a client and the remote command-line shell processor comprises one or more streams of data of dedicated input and output messages segregated from one or more of the multiple commands, wherein the dedicated input messages are received by the remote command-line shell processor, and the dedicated output messages are sent by the remote command-line shell processor as a result of execution of one or more commands at the remote command-line shell processor.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments described herein are based on the principle that shells execute commands as units of characters sent within a message. Accordingly, embodiments herein provide for establishing a remote processing session for commands by using a binding mechanism that binds a series of commands to a remote shell using a message rather than a binary stream of data. More specifically, embodiments herein provided for a mechanism of encapsulating both a command and a binding mechanism (e.g., a shell identifier and/or shell token) into a single message. Accordingly, the binding mechanism can be used throughout the lifetime of the session and allows for modeling the shell processor session (its lifetime) as a series of commands, rather than as a series of characters. In addition, note that because the binding mechanism for the shell sessions is sent within messages, the problems associated with binary or character-by-character establishment of current shell sessions are overcome.
64 Citations
20 Claims
-
1. At a remote device in a network computing environment, a method of establishing a command-line shell processing session by providing a binding mechanism within a message rather than a binary stream of data in order to bind a shell to a series of commands, the method comprising:
-
receiving a request message to open a shell at a remote command-line shell processor; opening the shell; in acknowledgement of the shell being opened, sending from the remote command-line shell processor an open shell response message providing a binding mechanism for use in transferring commands to the shell for execution; and receiving an execution request message to execute a command, wherein the execution request message includes the command as a unit and the binding mechanism, wherein each of the request message and the binding mechanism are represented by uniform resource identifiers, the execution request message being capable of including multiple commands, wherein a data exchange between a client and the remote command-line shell processor comprises one or more streams of data of dedicated input and output messages segregated from one or more of the multiple commands, wherein the dedicated input messages are received by the remote command-line shell processor, and the dedicated output messages are sent by the remote command-line shell processor as a result of execution of one or more commands at the remote command-line shell processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. At a client device in a network computing environment, a method of establishing a remote processing session for commands by using a binding mechanism that binds a series of commands to a remote shell using a message rather than a binary stream of data, the method comprising:
-
sending a request message to open a shell at a remote command-line shell processor; in acknowledgement of the shell being opened, receiving from the remote command-line shell processor an open shell response message including a binding mechanism for use in transferring commands to the shell for execution; sending an execution request message to execute a command, wherein the execution request message includes the command as a unit and the binding mechanism, wherein each of the request message and the binding mechanism are represented by uniform resource identifiers, the execution request message being capable of including multiple commands, wherein a data exchange between the client device and the remote command-line shell processor comprises one or more streams of data of dedicated input and output messages segregated from one or more of the multiple commands, wherein the dedicated input messages are sent by the client device, and the dedicated output messages are received by the client device as a result of execution of one or more commands at the remote command-line shell processor. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. At a remote device in a network computing environment, a computer program product for implementing a method of establishing a command-line shell processing session by providing a binding mechanism within a message rather than a binary stream of data in order to bind a shell to a series of commands, the computer program product comprising one or more computer readable storage media having stored thereon computer executable instructions that, when executed by a processor, can cause the remote device to perform the following:
-
receive a request message to open a shell at a remote command-line shell processor; open the shell; in acknowledgement of the shell being opened, send from the remote command-line shell processor an open shell response message that provides a binding mechanism for use in transferring commands to the shell for execution; and receive an execution request message to execute a command, wherein the execution request message includes the command as a unit and the binding mechanism, wherein each of the request message and the binding mechanism are represented by uniform resource identifiers, the execution request message being capable of including multiple commands, wherein a data exchange between a client and the remote command-line shell processor comprises one or more streams of data of dedicated input and output messages segregated from one or more of the multiple commands, wherein the dedicated input messages are received by the remote command-line shell processor, and the dedicated output messages are sent by the remote command-line shell processor as a result of execution of one or more commands at the remote command-line shell processor. - View Dependent Claims (18, 19, 20)
-
Specification