# Patent

## Title
Remote control using instant messaging

## Abstract

An instant messaging client may operate on a host device and enable various forms of control of the host device via instant messaging commands. The instant messaging client may connect to an instant messaging service using a user name and having a list of authorized users. The client may be able to sense that a user is on line and initiate a message session with the user. The user may also be able to initiate a session with the host device through the instant messaging client and perform a variety of functions through the instant messaging session.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
This application claims the benefit of and priority to U.S. patent application Ser. No. 11/635,190, entitled “Remote Control Using Instant Messaging”, filed Dec. 7, 2006 by Sergey Solyanik et al., the entire contents of which are expressly incorporated by reference.
BACKGROUND
Instant messaging is a widely used service of which many different flavors exist. In general, instant messaging is a mechanism by which a user may send live or nearly instant messages to another user. In its simplest form, instant messages are text messages. Some systems enable live audio or video conferencing and can have file transfer, image viewing, and other features, including presence information, where the online status of a user may be communicated to another user.
Instant message services typically provide authentication through a user name and password. Once authenticated to the system, a user may interact with the instant messaging service through any terminal that has access to the internet. Some services enable a user to send and receive messages through a portable cellular phone, personal digital assistant, personal computer, or other network appliance.
SUMMARY
An instant messaging client may operate on a host device and enable various forms of control of the host device via instant messaging commands. The instant messaging client may connect to an instant messaging service using a user name and having a list of authorized users. The client may be able to sense that a user is on line and initiate a message session with the user. The user may also be able to initiate a session with the host device through the instant messaging client and perform a variety of functions through the instant messaging session.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.



BRIEF DESCRIPTION OF THE DRAWINGS
In the drawings,
FIG. 1 is a diagram of an embodiment showing system for communicating with devices through instant messaging.
FIG. 2 is a diagram of an embodiment showing a instant messaging client used to interface with various devices.
FIG. 3 is a flowchart illustration of an embodiment showing a method for responding to requests via instant messaging.
FIG. 4 is a flowchart illustration of an embodiment showing a method for sending a device-initiated message to an instant message user.



DETAILED DESCRIPTION
An instant messaging interface to a device or group of devices enables a user to interact with the devices using a familiar and secure mechanism. Authentication and security for communication may be provided through an instant messaging system and the interface may be provided through a firewall and enable access into a network for specific users that are previously identified on a contact list.
The instant messaging interface may provide a command structure for receiving and processing requests of the server hosting the interface, and may also be extensible for other devices. The interface may receive a request from a user, determine that the request is for another device, send the request to the device, receive a response, and transmit the response to the user.
Specific embodiments of the subject matter are used to illustrate specific inventive aspects. The embodiments are by way of example only, and are susceptible to various modifications and alternative forms. The appended claims are intended to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the claims.
Throughout this specification, like reference numbers signify the same elements throughout the description of the figures.
When elements are referred to as being “connected” or “coupled,” the elements can be directly connected or coupled together or one or more intervening elements may also be present. In contrast, when elements are referred to as being “directly connected” or “directly coupled,” there are no intervening elements present.
The subject matter may be embodied as devices, systems, methods, and/or computer program products. Accordingly, some or all of the subject matter may be embodied in hardware and/or in software (including firmware, resident software, micro-code, state machines, gate arrays, etc.) Furthermore, the subject matter may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media.
Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by an instruction execution system. Note that the computer-usable or computer-readable medium could be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, of otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of the any of the above should also be included within the scope of computer readable media.
When the subject matter is embodied in the general context of computer-executable instructions, the embodiment may comprise program modules, executed by one or more systems, computers, or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
FIG. 1 is a diagram of an embodiment 100 showing a system for communicating with devices through instant messaging. A user 102 interacts with an instant messaging client 104 that communicates with an instant messaging server 106. The server 106 interacts with an automated instant messaging client 108 that has a user identity 110 and a contacts list 112. The automated instant messaging client 108 may communicate with a dispatcher 114 that communicates with various devices 116, 118, and 120.
Embodiment 100 is an example of a system that can be used to interact with various devices using instant messaging. An automated instant messaging client 108 may establish a presence in an instant messaging environment by logging on with an established user identity. A user 102, using the instant messaging system, may initiate an instant messaging or chat session with the automated client 108. The user 102 may interact with the automated client 108 by issuing requests and receiving responses. In some embodiments, the user 102 may, for example, request a menu of available commands as a starting point for an interactive conversation with the automated client 108.
A server that hosts the automated instant messaging client 108 may behind a firewall that may prevent unauthorized intrusion into a local area network. But allow some communications, such as email and instant messaging to get through. Thus, a user outside the firewall may connect into the local area network through the instant messaging path to perform various operations. The instant messaging system may provide authentication and security for any operations using existing infrastructure.
A user may perform various operations on the automated client 108 such as searching for and downloading files, requesting and receiving status information, performing various administrative functions such as rebooting, changing parameters, and other actions. A user may also control and receive data from various devices attached to the automated client 108.
For example, a thermostat device attached to the client 108 may be queried for the current temperature or the set point may be changed. In another example, a network enabled digital video recorder may be sent a request to display the showings of an upcoming television show, then one of the showings may be selected for recording. A digital video recorder may be requested to display a prerecorded or live television show through a video-capable instant messaging interface.
In yet another example, a network-enabled telephone answering device may be queried to determine if new messages have been left on the device and one or more of the messages may be requested to play the audio recording through an audio-capable instant messaging interface. In still another example, a network-enabled electronic bulletin board device may be capable of displaying stored messages on the instant messaging interface or may be able to receive a new message to display on the bulletin board.
The type and number of devices 116, 118, and 120 that may connect through the automated client 108 are unlimited. In many instances, the automated client 108 may provide a software interface to a device. The software interface may enable a device to add commands and routing information to the automated client 108 and dispatcher 114. When a user sends a command to the automated client 108, a dispatcher 114 may determine which device 116, 118, or 120 is the intended recipient of the command and direct the communication to the appropriate device. In some instances, the devices 116, 118, or 120 may be a hardware device with specific capabilities. In other instances, the devices 116, 118, or 120 may be a software application that adds specific capabilities to the automated client 108.
The automated client 108 may have a user identity 110 and a contact list 112. The user identity 110 may be the user identity used within the instant messaging environment to identify the client 108. In many cases, the user identity 110 may include a user name and password or other authenticating mechanism. When the client 108 is connected the instant messaging server 106, the client 108 appears on the system as if it were a human user with the user identity 110.
The contact list 112 may be a predetermined list of users with which the automated client 108 may communicate. The contact list 112 may contain the user identities of the user 102 and any other users permitted to communicate with the automated client 108. In some instances, the automated client 108 may ignore any communication with a user who is not in the contact list 112.
Some embodiments may have different permissions established for different users. A user may be given access to specific functions or to a limited number of devices or services. Other users may be given administrative access and may perform administrative functions while other users may be given data access and be able to gain access to sensitive data from one or more of the devices. Various configurations of user identities and permissions may be created.
The instant messaging system may be any type of system whereby messages are transferred in real time or near-real time. Examples include Microsoft Live Messenger, AOL Instant Messenger, Skype, ICQ, or any other similar system. In some instances, the instant messaging server 106 may relay instant messages from sender to receiver in a client-server architecture while in other instances, the instant messaging system may be a peer-to-peer architecture where messages are transported directly from the client 104 to the automated client 108.
In some uses, a device may be able to send information to the user 102 by sending a message to the automated client 108, which in turn may initiate a conversation with the user 102 through the instant messaging client 104. In this manner, a user may receive a short, instant communication when an event occurs. In some cases, the user may be given a choice of options to deal with the situation. For example, a network-enabled telephone voice recorder at home may send an instant message when a voicemail is left by a caller. The user may be given the option to receive the message via an audio path within the instant messaging system.
FIG. 2 is a diagram of an embodiment 200 showing an instant messaging client used to interface with various devices. A server 202 has an instant messaging client and dispatcher 204 operable on the server 202. The server 202 is connected to a network 206, to which a firewall 208 provides a gateway to the internet 210 or other wide area network.
Attached to the network 206 are a computer 212 that has some data storage 214, plus devices 216 and 218. Device 216 has an alarm 220.
The instant messaging client 204 may permit a user connected to the internet 210 to communicate with the server 202. In some instances, the user may be able to search and retrieve files from the various data storage devices attached to the network 206. For example, a user may be able to query the data storage device 214 attached to the computer 212 and retrieve a file through an instant messaging system's file transfer mechanism. In another example, a user may be able to query the status of device 218 and adjust a parameter on device 218. Device 218 may be a network enabled temperature controller for a hot tub, and the user may query the current temperature and set a new temperature so that the hot tub may be warmed up when the user wishes to use the hot tub.
The device 216 may have an alarm 220 that is adapted to send a communication to the client 204 on a certain condition. In other embodiments, the client 204 may query the device 216 to see if the certain condition exists. In either event, the client 204 may establish a communication session with a user connected to the internet 210. The communication may contain options by which the user may perform some function relating to the device 216.
FIG. 3 is a flowchart illustration of an embodiment 300 showing a method of responding to requests via instant messaging. A connection is made to an instant messaging service using a user identity in block 302. A request for a conversation is received in block 304. If the requester is not on the contact list in block 306, the request is ignored in block 308.
If the requester is on the contact list in block 306, the request is received from the requester in block 310. The request is analyzed in block 312 to determine if the request is for the local server or a remote device. If the request is for a remote device in block 314, the request is formatted and sent to the device in block 316 and a response is received in block 318. The response is sent to the user in block 320. If the request is a local request in block 314, the request is processed in block 322 and a response is generated in block 324. The response is sent to the user in block 320 and the process continues at block 310.
The embodiment 300 is a simplified version of a sequence by which a user may establish communication with an automated instant messaging client and communicate with either the server that hosts the automated client or a remote device. The request is acted upon when the user requesting the communication is authenticated by already being on the contact list of the automated client. Based on this authentication, the user is permitted to send a request that may be local, or for the host of the automated client, or for a remote device.
A local request may be for functions or services that are operable on the host system for an automated instant messaging client. For example, a local request may be a request to transfer a file within the host system's file system. Another local request may inquire as to the operational status of the host system or to tell the host system to reboot itself.
A remote request may be for functions or services that are provided by an add-on software component or device with which the host may communicate. For example a device may include various devices attached to the same local network as the host device. In other examples, the devices may be connected to the host device through the internet, or the devices may be software applications running on the host system or some other system to which an automated client may communicate.
In some instances, an automated instant messaging client may compose, format, or arrange a communication to and from a remote device to meet the remote device's specific needs for data format. In such an instance, an incoming message may be translated or otherwise interpreted and then relayed to the device using a device-specific format. In such instances, the automated client may have a natural language interpreter that may receive and produce conversational language for the user interface.
FIG. 4 is a flowchart illustration of an embodiment 400 showing a method of sending a device-initiated message to an instant messaging user. A notification is received in block 402 to transfer to a user. A connection is made to an instant messaging service in block 404 using a specific user identity. If the user not online in block 406, other mechanisms may be used to contact the user in block 408, such as email, text messaging, telephone, or other services.
If the user is on line in block 406, a conversation is established with the user in block 410 and a notification is sent to the user in block 412. If necessary, a reply may be received by the user in block 414 and the request is transferred to the initiating device in block 416. A response is received in block 418 and sent to the user in block 420. The conversation continues in block 414.
Embodiment 400 is an example of a method that an automated instant messaging client may employ to provide an instant message notification to a user. The notification from a device in block 402 may originate with the device, where the device detects that a condition exists and then contacts the automated client to transmit the message. In other embodiments, the client may periodically check the status of a device and compare the status against a set of rules to determine that a notification may be issued. Various configurations and architectures may be used to determine that a notification is to be sent.
Embodiments 300 and 400 are examples of various communication scenarios that may occur between a user and an automated internet messaging client. Conversations may be started by either party: the user or the automated client. The client may respond to requests that can be handled by the client itself or may serve as an intermediary between various devices and the internet messaging system. Where the client acts as an intermediary, the client may translate incoming messages from the user into messages that are readable by the device. Similarly, the client may receive a message from the device and translate the message into a natural language message suitable for a user.
The foregoing description of the subject matter has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the subject matter to the precise form disclosed, and other modifications and variations may be possible in light of the above teachings. The embodiment was chosen and described in order to best explain the principles of the invention and its practical application to thereby enable others skilled in the art to best utilize the invention in various embodiments and various modifications as are suited to the particular use contemplated. It is intended that the appended claims be construed to include other alternative embodiments except insofar as limited by the prior art.

## Claims

1. An automated instant messaging client comprising:
one or more hardware processors;
system memory coupled to one or more hardware processors, the system memory storing instructions that are executable by the one or more hardware processors;
the one or more hardware processors configured to execute the instructions stored in the system memory to:
connect to an instant messaging service with a user identity;
respond to an incoming request for a conversation from said instant messaging service;
establish a conversation between said user identity and a user through said instant messaging service, wherein different permissions are established for different users, including said user, in an instant messaging contact list, said instant messaging contact list defining instant messaging access permissions for said different users to a plurality of devices, permissions in said instant messaging contact list for said user defining one or more of: said user's access to specific functions through the instant messaging service and said user's access to a limited number of devices through the instant messaging service, and wherein said different users are identified in the instant messaging contact list;
receive a first instant message from said user;
analyze said first instant message to determine a command for said device;
route said command to said device in accordance with said permissions for said user defined in said instant messaging contact list;
receive a response from said device;
generate a second instant message comprising said response; and
send said second instant message to said user in accordance with said permissions for said user defined in said instant messaging contact list.

2. The automated instant messaging client of claim 1, the one or more hardware processors executing the instructions to receive an instant messaging request through the instant messaging service for a menu of available commands to start said conversation with the user.

3. The automated instant messaging client of claim 1, wherein the one or more hardware processors executing the instructions to analyze said first instant message to determine a command comprises the one or more hardware processors executing the instructions to analyze said first instant message to:
identify at least one file operation on a host for said automated instant messaging client; and
determine that the user is permitted to use the instant messaging service to perform the at least one file operation based on said permissions for said user defined in said contact list.

4. The automated instant messaging client of claim 3, wherein said at least one file operation comprises at least one of: searching for a file and fetching a file.

5. The automated instant messaging client of claim 1, wherein the one or more hardware processors executing the instructions to analyze said first instant message to determine a command comprises the one or more hardware processors executing the instructions to:
identify a device operation command; and
determine that the user is permitted to use the instant messaging service to perform the device operation command based on said permissions for said user defined in said contact list.

6. The automated instant messaging client of claim 5, wherein said device operation command comprises a reboot command.

7. The automated instant messaging client of claim 5, wherein said device operation command comprises at least one of: requesting a status of said device and sending data to said device.

8. The automated instant messaging client of claim 7, wherein said device is communicatively coupled to said automated instant messaging client.

9. The automated instant messaging client of claim 8, wherein said device being communicatively coupled to said automated instant messaging client comprises said device being network connected to said automated instant messaging client.

10. The automated instant messaging client of claim 5, wherein the one or more hardware processors executing the instructions to analyze said first instant message to determine a command comprises the one or more hardware processors executing the instructions to translate the command to meet a specified data format of the device.

11. The automated instant messaging client of claim 10, wherein the one or more hardware processors executing the instructions to generate a second instant message comprising said response comprises the one or more hardware processors executing the instructions to translate a device notification in said specified format into said second instant message.

12. An automated instant messaging client comprising:
one or more hardware processors;
system memory coupled to one or more hardware processors, the system memory storing instructions that are executable by the one or more hardware processors; and
the one or more hardware processors executing the instructions stored in the system memory to:
connect to an instant messaging service with a user identity;
refer to an instant messaging contact list to determine that a user is permitted to communicate with said automated instant messaging client, said contact list defining instant messaging accessing permissions for said different users, including said user, permissions for said user defining said user's access to specified functions through the instant messaging service, the specified functions including communicating with said automated instant messaging client;
receive a notification message from an installed component, said notification message in a specific data format of said installed component;
determine that the notification message is for the user;
establish a conversation with said user through said instant messaging service;
translate the notification message from the specified data format into an instant message including at least a portion of said notification message; and
transmit said instant message to said user in accordance with said permissions for said user defined in said instant messaging contact list.

13. The automated instant messaging client of claim 12, wherein said notification message comprising status information about a device connected to said automated instant messaging client.

14. The automated instant messaging client of claim 12, wherein the one or more hardware processors executing the instructions to receive a notification message from an installed component comprising the one or more hardware processors executing the instructions to receive a notification message from one of: a thermostat device, a video recorder device, a telephone answering device, and a bulletin board device.

15. The automated instant messaging client of claim 12, further comprising the one or more hardware processors executing the instructions to:
receive a message from said user;
parse a command from said message;
translate said command into a specified data format for the installed component; and
send said command to said installed device in accordance with said permissions for said user defined in said instant messaging contact list.

16. A method for use at an automated instant messaging client, the method comprising:
connecting to an instant messaging service with a user identity;
receiving an incoming request for a conversation from a user of said instant messaging service;
establishing an instant messaging conversation between said user identity and said user in response to said request, wherein different permissions are established for different users, including said user, in an instant messaging contact list, said instant messaging contact list defining instant messaging access permissions for said different users to a plurality of devices, permissions for said user defining: said user's access to specific functions through the instant messaging service and said user's access to a limited number of devices through the instant messaging service;
analyzing a first instant message from said user including:
identifying a command directed to a device; and
determining that said user can access said device based on said device being included in said limited number of devices in said instant messaging contact list;

translating the command to meet a specific data format for said device;
routing said command to said device in accordance with said permissions for said user defined in said instant messaging contact list;
receiving a response from said device, said response in said specific data format;
translating the response into a second instant message; and
sending the second instant message to the user.

17. The method of claim 16 further comprising:
receiving a device message from said device;
transmitting a third instant message to said user based on said device message.

18. The method of claim 16 wherein said incoming request is sent from one of a list of authorized users.

19. The method of claim 16 wherein said device comprises an installed software component.

20. The method of claim 16 wherein analyzing said first instant message to determine a command comprises analyzing said first instant message to determine a command, the command selected from among: rebooting the device, downloading a file from the device, searching for a file on the device, changing parameters of the device, and requesting status information from the device.