Abstract
Provided are a method, an apparatus, a device, and a medium for performing a user task. In a method, a media item provided by an electronic device is acquired. Key information is recognized from the media item in response to receiving a query request from a user, the key information including at least any one of the following: a character, a subtitle, a scene and sound in the media item, and a provider of the media item. Relevant data of the media item is determined based on the key information. A robot device provides the user with the relevant data of the media item. By using the example implementations of the present disclosure, the robot device can perform user tasks for complex queries in a complex physical space, such that the flexibility and accuracy of the robot device in performing the tasks in the complex environment can be improved, thereby completing anticipated user tasks.