摘要 |
A method and apparatus for controlling a device is provided. The method includes: a mobile device obtaining device information of a controlled device; the mobile device establishing a connection with the controlled device based on the device information, and inquiring service information of the controlled device via the established connection, the service information including service information regarding device control; the mobile device establishing a device control service connection with the controlled device based on the service information regarding device control; the mobile device generating control information based on user operation, and transmitting the control information to the controlled device via the device control service connection, to control the controlled device based on the control information. The disclosed method can facilitate, for example, device control over a LAN. |