Patent ID: 9633020
Date: 2017-04-25
CPC Classifications: G06F,H04L,H04N

Claim:
1. A method for playing media, the method comprising: triggering, by a user terminal device having at least one processor, a function for playing one or more media files on the user terminal device; acquiring, by the user terminal device, a preset identification (ID) corresponding to an end user; detecting, by the user terminal device, whether a media play history record corresponding to the preset ID exists on a server; obtaining from the server, by the user terminal device, a server media history playlist that corresponds to the end user according to the preset ID when a media play history record corresponding to the preset ID is detected on the server, wherein the server media history playlist comprises a history record comprising an address and a play location for the one or more media files played by the end user; accessing by the user terminal device a local current media history playlist; synchronizing, by the user terminal device, the local current media history playlist and the server media history playlist that comprises the media play history record corresponding to the end user, the synchronization including: merging any different media history information from the server media history playlist into the local current media history playlist to update the local media history playlist when the server media history playlist has some different information than the local current media history playlist; and merging any different media history information from the local current media history playlist into the server media history playlist to update the server media history playlist when the local current media history playlist has some different information than the server media history playlist; and resuming, by the user terminal device, playing of a media file that is chosen by the end user according to the merged local current media history playlist.