Patent ID: 8504637

Claim:
An apparatus for controlling an audio/video (AV) device, comprising: a processor; a web browser which receives a structured document including a script from the AV device, and which provides the structured document to a user, the script including a first function and a second function; and a first program module, executed by the web browser in response to the user selecting first function of the script, which transmits a request to the AV device to query whether the first function of the script received from the AV device is supported by the AV device, receives a response from the AV device that indicates whether the first function is supported by the AV device, and transmits device control command information to the AV device through a protocol if the response received by the first program module indicates that the first function of the script is supported by the AV device, wherein the AV device comprises a web server module which transmits the structured document and a second program module which receives the request, transmits the response, and receives the device control command information from the first program module through the protocol, and which controls the AV device in response to the device control command information, wherein the first program module receives an event information from the second program module when an event is generated in the AV device, and calls the second function of the script to perform an operation corresponding to the received event information.