Transferring command-lines as a message
AssigneeMicrosoft Corporation
InventorsRaymond W. McCollum, Alexander Nosov
Life of this patent
Estimating the term…
Abstract
Embodiments described herein are based on the principle that shells execute commands as units of characters. Accordingly, embodiments herein provide for a sending side with enough intelligence to isolate each command, examine it, perform some levels of validation, and deliver a structured representation of the command to the remote processor before doing any network operations. More specifically, embodiments herein provided for a mechanism of identifying a command and encapsulating the command into a single message (e.g., a SOAP, HTTPS, or other type message), which is then sent to a remote shell for processing as an entire unit. Accordingly, embodiments herein treat the command as a single unit, rather than as a character-oriented transmission.
Claims20
In a networking computing system, a method of remotely operating a shell process by transferring commands as a message based protocol rather than as a character-oriented transmission, the method comprising:
- identifying a command to be executed remotely at a command-line shell processor, which processes commands as units that includes one or more of a command name, one or more switches, or other information needed for successful execution;
- creating an execution message for attaching the command as a unit thereto when requesting execution of the command by the command-line shell processor;
- and
- sending the execution message to the remote command-line shell process for processing the command without having to send the command on a character-by-character basis.
In a networking computing system, a method of executing command-lines received as a message based protocol rather than as a character-oriented transmission, the method comprising:
- receiving an execution message that includes a command, which comprises one or more of a command name, one or more switches, or other information needed for successful execution;
- extracting the command from the execution message;
- and
- automatically executing the command at a command-line shell process without having to receive a character string for executing the command.
In a networking computing system, a computer program product used in implementing a method of remotely operating a shell process by transferring commands as a message based protocol rather than as a character-oriented transmission, the computer program product comprising one or more computer readable media having stored thereon computer executable instructions that, when executed by a processor, can cause the networking computing system to perform the following:
- identify a command to be executed remotely at a command-line shell processor, which processes commands as units that includes one or more of a command name, one or more switches, or other information needed for successful execution;
- create an execution message for attaching the command as a unit thereto when requesting execution of the command by the command-line shell processor;
- and
- send the execution message to the remote command-line shell process for processing the command without having to send the command on a character-by-character basis.
Dependencies are inferred from the claim text.