Method and apparatus for transparent remote execution of commands
First Claim
Patent Images
1. A method for remote execution of commands across operating system platforms, said method comprising:
- (a) requesting, at a local machine, remote execution of a command on a remote machine, the local machine and the remote machine having different operating system platforms;
(b) sending the command and a working directory on the local machine to the remote machine;
(c) converting, at the remote machine, the working directory received from the local machine to a format suitable for use on the remote machine;
(d) setting a working directory on the remote machine to the converted working directory;
(e) executing the command on the remote machine to produce a result;
(f) scanning the result for the presence of path names of the format suitable for use on the remote machine and converting said path names to the format of the local machine;
(g) reformatting certain text within the converted result; and
(h) sending the converted result to the local machine.
3 Assignments
0 Petitions
Accused Products
Abstract
Improved method and apparatus for remote execution of commands are disclosed. A local computer issues a command to be executed on a remote computer. The improved method and apparatus operate to synchronize a working directory on the remote computer to a working directory on the local computer. The improved method and apparatus can also convert, modify or otherwise reformat remote commands so that they operate correctly on the remote computer and return results which are appropriate for the local computer. Thereafter, the remote computer executes the command.
-
Citations
12 Claims
-
1. A method for remote execution of commands across operating system platforms, said method comprising:
-
(a) requesting, at a local machine, remote execution of a command on a remote machine, the local machine and the remote machine having different operating system platforms; (b) sending the command and a working directory on the local machine to the remote machine; (c) converting, at the remote machine, the working directory received from the local machine to a format suitable for use on the remote machine; (d) setting a working directory on the remote machine to the converted working directory; (e) executing the command on the remote machine to produce a result; (f) scanning the result for the presence of path names of the format suitable for use on the remote machine and converting said path names to the format of the local machine; (g) reformatting certain text within the converted result; and (h) sending the converted result to the local machine. - View Dependent Claims (2, 3, 4)
-
-
5. A method for remote execution of commands, said method comprising:
-
(a) requesting, at a local machine, remote execution of a command on a remote machine, the local machine and the remote machine having different operating system platforms; (b) sending the command and a current working directory on the local machine to the remote machine; (c) converting the current working directory on the local machine to a format suitable for use on the remote machine; (d) scanning the command for the presence of path names of the format of the local machine and converting said path names to the format of the remote machine; (e) setting the current working directory on the remote machine to the converted working directory; (f) executing the converted command on the remote machine to produce a result; (g) scanning the result for the presence of path names of the format of the remote machine and converting said path names to the format of the local machine; (h) reformatting certain text within the converted result; and (i) sending the converted result to the local machine.
-
-
6. A system for remote execution of commands, comprising:
-
a first computer having a first operating platform, the first operating platform including a plurality of commands at least one of which can be executed remotely, said first computer system includes at least a processor and primary memory, and said first computer executes a remote tool process at least partially stored in the primary memory of said first computer; a second computer having a second operating platform, the second operating platform being different from the first operating platform, said second computer includes at least a processor, primary memory and secondary disk storage memory, and said second computer executes a local agent process at least partially stored in the primary memory of said second computer; and a network link connecting said first and second computers, wherein execution of a remote command on said first computer causes the remote tool process to transmit a command to the local agent of said second computer along with a working directory of the first operating platform on said first computer, and wherein the local agent of said second computer receives the remote command and the working directory from the remote tool process via said network link, the working directory received is then converted into a format suitable for the second operating platform, thereafter the working directory on said second computer is set to be that identified by the converted working directory, execute the remote command to produce a result after setting the working directory on said second computer to the converted working directory, scan the result for the convert said path names to a format suitable for the first operating platform, reformat certain text within the converted result, and then returns the converted result to said first computer. - View Dependent Claims (7)
-
-
8. A system for remote execution of commands, said system comprising:
-
a local computer system having a first operating system utilizing a directory structure of a first format to organize files, a processor and memory, said local computer system further including at least means for requesting remote execution of a command, and means for sending the command and a working directory within the first operating system to another computer system for execution thereon; and a remote computer system having a second operating system utilizing a directory structure of a second format to organize files, a processor, memory, and a mass storage device, said remote computer system further including at least means for receiving the working directory from said local computer system, means for converting the working directory received from said local computer system from the first format to the second format, means for setting a working directory within the second operating system to the converted working directory, means for executing the command on said remote computer system to produce a result; means for scanning the result for the presence of path names of the second format and converting said path names to the first format; means for reformatting certain text within the converted result; and means for returning the converted result to said local computer system. - View Dependent Claims (9)
-
-
10. A computer readable medium containing program instructions for facilitating remote execution of commands by a computer system, said computer readable medium comprising:
-
computer readable code devices for receiving a remote execution command and a working directory with a first format from another computer system; computer readable code devices for converting the working directory received to a second format; computer readable code devices for setting a working directory of the computer system to the converted working directory; computer readable code devices for executing the command on the computer system to produce a result; computer readable code devices for scanning the result for the presence of path names in the second format and converting said path names to the first format for the other computer system; computer readable code devices for reformatting certain text within the converted result; and computer readable code devices for sending the converted result to the the other computer system. - View Dependent Claims (11, 12)
-
Specification