Media playback method, client and system
AssigneeTencent Technology (Shenzhen) Company Limited
InventorKunjie Miao
Life of this patent
Estimating the term…
Abstract
A media playback method, client device and system are described. The method includes: acquiring, by a client device, audio information from a radio station, and extracting audio feature information from the audio information; sending the audio feature information to a server; receiving media information that is matched according to the audio feature information and returned by the server; downloading a corresponding media file from the server according to the media information at a current playback progress; and switching a current playback mode from the radio station to a media player, and playing the downloaded media file according to a playback progress of the radio station.
Claims15
A media playback method, the method comprising:
- acquiring, by a client device, audio information from a radio station, and extracting audio feature information from the audio information;
- sending the audio feature information to a server;
- receiving media information that is matched according to the audio feature information and returned by the server;
- downloading a corresponding media file from the server according to the media information at a current playback progress;
- and
- switching a playback mode of the client device from the radio station to a media player, and playing the media file according to a playback progress of the radio station;
- comparing audio information currently played by the radio station with the media file played by the media player after switching to the media player and playing the downloaded media file, and determining whether a difference is generated between the audio information and the media file;
- and
- when a difference is generated between the audio information and the media file, and the difference is larger than a preset threshold, switching a current playback mode from the media player to the radio station, and returning to perform the step of acquiring, by a client device, audio information from a radio station, and extracting audio feature information from the audio information;
- when a difference is generated between the audio information and the media file and the difference is not larger than a preset threshold, adjusting a playback progress of the media player to keep the playback progress consistent with the audio information on the radio station.
A media playback client device comprising:
- one or more processors;
- memory;
- and
- a set of instructions stored in the memory and to be executed by the one or more processors, when executed by the one or more processors, the set of instructions cause the processor to:
- acquire audio information from a radio station, and extract audio feature information from the audio information;
- send the audio feature information to a server;
- receive media information that is matched according to the audio feature information and returned by the server;
- download a corresponding media file from the server according to the media information at a current playback progress;
- switch a current playback mode from the radio station to a media player, and play the downloaded media file according to a playback progress of the radio station;
- compare audio information currently played by the radio station with the media file played by the media player after switching to the media player and playing the downloaded media file, and determine whether a difference is generated between the audio information and the media file;
- and
- when a difference is generated between the audio information and the media file, and the difference is larger than a preset threshold, switch a current playback mode from the media player to the radio station, and the acquiring module acquires audio information from the radio station, and extracts audio feature information from the audio information;
- when a difference is generated between the audio information and the media file and the difference is not larger than a preset threshold, adjust a playback progress of the media player to keep the playback progress consistent with the audio information of the radio station.
A non-transitory machine readable storage medium, comprising a set of instructions, the set of instructions to direct at least one processor to perform the acts of:
- acquiring, by a client device, audio information from a radio station, and extracting audio feature information from the audio information;
- sending the audio feature information to a server;
- receiving media information that is matched according to the audio feature information and returned by the server;
- downloading a corresponding media file from the server according to the media information at a current playback progress;
- switching a playback mode of the client device from the radio station to a media player, and playing the media file according to a playback progress of the radio station;
- comparing audio information currently played by the radio station with the media file played by the media player after switching to the media player and playing the downloaded media file, and determining whether a difference is generated between the audio information and the media file;
- and
- when a difference is generated between the audio information and the media file, and the difference is larger than a preset threshold, switching a current playback mode from the media player to the radio station, and returning to perform the step of acquiring, by a client device, audio information from a radio station, and extracting audio feature information from the audio information;
- when a difference is generated between the audio information and the media file and the difference is not larger than a preset threshold, adjusting a playback progress of the media player to keep the playback progress consistent with the audio information of the radio station.
Dependencies are inferred from the claim text.