This invention relates to a method and apparatus of performing simultaneous multi-agent access through a single client, and more particularly to providing access to multiple agents for different applications while utilizing a single client interface.
Conventionally, an administrator performs administrative functions (i.e., network updates, maintenance, etc.) by establishing connections to one agent at a time to perform such functions. The communication session setup and teardown process across a data network may be used to establish a connection with a single agent to perform the administrative functions, such as execute commands remotely from an administrative client interface. It would be optimal to establish a single client session by the administrator and execute commands simultaneously with multiple agents from the single client session.
An example embodiment of the present invention may include a method of managing a plurality of agents via a session client. The method may include selecting at least two endpoint devices to manage. The method may also include establishing a connection to a server, identifying at least two agent identifiers identifying at least two agents corresponding to the at least two endpoint devices and transmitting a session setup command to the server comprising the at least two agent identifiers. The method may further include receiving a confirmation that a session has been established between the session client and the at least two agents of the at least two endpoint devices.
Another example embodiment of the present invention may include an apparatus configured to manage a plurality of agents via a session client. The apparatus may include a processor configured to select at least two endpoint devices to manage and establish a connection to a server. The processor may further be configured to identify at least two agent identifiers identifying at least two agents corresponding to the at least two endpoint devices. The apparatus may also include a transmitter configured to transmit a session setup command to the server comprising the at least two agent identifiers, and a receiver configured to receive a confirmation that a session has been established between the session client and the at least two agents of the at least two endpoint devices.
It will be readily understood that the components of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of a method, apparatus, and system, as represented in the attached figures, is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention.
The features, structures, or characteristics of the invention described throughout this specification may be combined in any suitable manner in one or more embodiments. For example, the usage of the phrases “example embodiments”, “some embodiments”, or other similar language, throughout this specification refers to the fact that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. Thus, appearances of the phrases “example embodiments”, “in some embodiments”, “in other embodiments”, or other similar language, throughout this specification do not necessarily all refer to the same group of embodiments, and the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In addition, while the term “message” has been used in the description of embodiments of the present invention, the invention may be applied to many types of network data, such as, packet, frame, datagram, etc. For purposes of this invention, the term “message” also includes packet, frame, datagram, and any equivalents thereof. Furthermore, while certain types of messages and signaling are depicted in exemplary embodiments of the invention, the invention is not limited to a certain type of message, and the invention is not limited to a certain type of signaling.
Example embodiments of the present invention provide a simultaneous multi-agent access interface for interactive command execution through a single client and/or client interface. The multi-agent access interface may provide the capability to access and/or connect to multiple agents for different applications and command execution purposes. The multi-agent access interface may display multiple agent interactions (i.e., agents 1-N) in unity on a single client window interface. Such a configuration provides the capability to reproduce/execute the same and/or different commands at any particular time on different agent machines across a network.
An administrator may operate an interactive session via a network computing device (i.e., computer, tablet, smartphone, server, etc.) that executes the same command with multiple agents at the same time for performing the same function. The administrator may access any machine operating on a computer network and login as an administrator with administrative privileges. The administrator may setup an administrative session via a session client installed on a managed network computer or accessed via a network server from the network computer.
In one example, the multi-agent access system 300 may perform a procedure for managing a plurality of agents via a session client. A data retrieval engine 310 may retrieve a list of agent identifiers stored in the agent ID database 340. The agent IDs may be stored in a data file or list and include corresponding endpoint identification information used to correlate the agent identifier to the endpoint device. The procedure may then select a plurality of endpoint devices to manage, and store their ID information in a memory cache for further processing.
A session connection engine 320 may then be used to establish a connection to a server (i.e., XMPP server) for establishing an initial connection over which commands may be transferred from the session client to the various agents. The session connection engine 320 may also be used to transmit a session setup command to the server comprising the agent identifiers. The system may receive a confirmation from the server that a session has been established between the session client and the various agents corresponding to the endpoint devices.
Once the session is established between the session client and the various agents, the command execution engine 330 may transmit a single command from the session client to the various agents of the corresponding endpoint devices. The single command may initiate any one or more of a software update, a maintenance procedure, and an administrative function to the various agents of the endpoint devices. As a result, a single command may be transmitted from the session client to multiple different agents simultaneously or contemporaneously.
The multi-agent command shell access interface may be used to remotely execute a command on the agent machines. For example, the administrator may enter the command(s) on one of the windows. For example, the command “hostname” may be entered into the user interface window 350. The session client may parse the command to identify and arrange the command in a multiple-agent stanza to be sent to all the connected agents.
An example XMPP stanza used to receive a command is shown below:
The agent machine/endpoint may receive the command and execute it accordingly. The agent may then send back the reply with the <iq> response as shown below:
As a result of exchanging command information, the session client on the administrator side parses the response and displays it on the appropriate window.
The communication session(s) established between the session client 102 and the XMPP server 104 are setup first prior to communicating with any remote agents. An example of the signaling/messages used to establish the communication session between an agent or session client with the XMPP server 104 is provided below. A session client or agent (same for both) would send a stream header to the XMPP server:
In response, the XMPP server begins a response stream and replies back:
The XMPP server 104 may then send certain messages back and forth to arrive at an agreement with the agent. During the communication process the XMPP server authenticates the agent/session-client. The session client or agent would register itself with the XMPP server 104 and perform session binding by specifying the resource name, which is required for proper routing of the messages from the XMPP server 104, as shown below:
As a result, the XMPP server 104 acknowledges the registration and binding and replies back. In this example, agent1 would be identified by the XMPP server 104 by “agent-1@kaseya.com/LiveConnect”:
The session client 102 would maintain a connection to the XMPP server 104. When the administrator (user) may select a list of agents and starts a new session, the client would initiate a session with the XMPP server 104 and provide the agent addresses that it would like to connect. The XMPP server 104 identifies the agent or agents to connect with by maintaining a presence list of the currently connected agents. Agents in the list are identified by the name used while registering with the XMPP server 104. The format is agent-name@domain-name, for example, agent1@kaseya.com is a valid agent jabber ID. The XMPP server 104 may internally store this information in a database or in a structured file system. The agents are independent but may be setup simultaneously. During the active communication between the session client and a particular agent the agents and corresponding session client would be always connected to the XMPP server 104 for a proper routing of messages from the XMPP server 104 to the agent machine and to the appropriate process that is served for the session client.
The application message exchanges between the session client and agents would follow the stanza specification described below. For example:
In the above example, stanza, the <ExecuteCommand> encloses the command from the session-client to be executed on the agent process. <ExecuteCommandResponse> would enclose the command response from the agent process to the session client. <ExecuteCommand> could enclose any command that user types on the client interface.
The operations of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a computer program executed by a processor, or in a combination of the two. A computer program may be embodied on a computer readable medium, such as a storage medium. For example, a computer program may reside in random access memory (“RAM”), flash memory, read-only memory (“ROM”), erasable programmable read-only memory (“EPROM”), electrically erasable programmable read-only memory (“EEPROM”), registers, hard disk, a removable disk, a compact disk read-only memory (“CD-ROM”), or any other form of storage medium known in the art.
An exemplary storage medium may be coupled to the processor such that the processor may read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (“ASIC”). In the alternative, the processor and the storage medium may reside as discrete components. For example
As illustrated in
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reading and understanding the above description. Although the present invention has been described with reference to specific exemplary embodiments, it will be recognized that the invention is not limited to the embodiments described, but can be practiced with modification and alteration within the spirit and scope of the appended claims. Accordingly, the specification and drawings are to be regarded in an illustrative sense rather than a restrictive sense. The scope of the invention should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The instant application is a continuation of and claims priority from patent application Ser. No. 13/311,659, filed Dec. 6, 2011, entitled METHOD AND APPARATUS OF PERFORMING SIMULTANEOUS MULTI-AGENT ACCESS FOR COMMAND EXECUTION THROUGH A SINGLE CLIENT, the entire contents of which are incorporated by reference herein.
Number | Name | Date | Kind |
---|---|---|---|
6684256 | Warrier et al. | Jan 2004 | B1 |
7130910 | Urien | Oct 2006 | B2 |
7532618 | Saurabh et al. | May 2009 | B1 |
8385285 | Haddad | Feb 2013 | B2 |
20060265506 | Merkh et al. | Nov 2006 | A1 |
20090201855 | Weniger et al. | Aug 2009 | A1 |
20110023086 | Goldman et al. | Jan 2011 | A1 |
20110122832 | Haddad | May 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20140173122 A1 | Jun 2014 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13311659 | Dec 2011 | US |
Child | 14188280 | US |