Method, device, and system of synchronously playing media file
AssigneeGuang Dong Oppo Mobile Telecommunications Corp., Ltd.
InventorYong Chen
Life of this patent
Estimating the term…
Abstract
The present disclosure proposes a method of synchronously playing media file. The method includes: receiving, with a mobile terminal, parameter information from a playing device, the parameter information including a current playing progress and a total time length of a current playing media file; starting to count time, with the mobile terminal, upon receiving the parameter information and calculating, with the mobile terminal, a real-time playing progress of the media file based on a predetermined time interval according to the parameter information and timing information; displaying, with the mobile terminal, the real-time playing progress on a display interface. The present disclosure solves unstable data transmission and enhances the accuracy of displaying progress of the playing device.
Claims19
A method of synchronizing a playing progress of a media file between a plurality of mobile terminals, comprising:
- receiving, by each of the plurality of mobile terminals, parameter information from a playing device, wherein the playing device is configured to play the media file, and the parameter information comprises a current playing progress and a total time length of a current playing media file;
- starting to count time, with each of the plurality of mobile terminals, upon receiving the parameter information, and calculating a real-time playing progress of the media file based on a predetermined time interval according to the parameter information and timing information, wherein the real-time playing progress of the media file is periodically calculated based on the current playing progress of the current playing media file and the predetermined time interval;
- displaying, on a display interface of each of the plurality of mobile terminals, the real-time playing progress;
- receiving by one of the plurality of mobile terminals, a pause command;
- sending with the one of the plurality of mobile terminals, the pause command of stopping playing the media file to the playing device, such that the playing device stops playing the media file in response to the pause command;
- receiving, by the one of the plurality of mobile terminals, a pause playing status of the media file from the playing device;
- and
- sending, with the one of the plurality of mobile terminals, the pause playing status to a remainder of the plurality of mobile terminals, such that each of the plurality of mobile terminals stops counting time upon receiving the pause playing status, to ensure a first real-time playing progress displaying on the display interface of each of the plurality of mobile terminals is synchronized with the current playing progress of the current playing media file of the playing device.
A mobile terminal system for synchronizing a playing progress of a media file between a plurality of mobile terminals, comprising:
- a plurality of mobile terminals, each mobile terminal comprising:
- a processor;
- a memory;
- and
- one or more program instructions, stored in the memory and executable by the processor, the one or more program instructions;
- wherein each of the plurality of mobile terminals is configured to:
- receive parameter information from a playing device, the parameter information comprising a current playing progress and a total time length of a current playing media file;
- start to count time, upon receiving the parameter information;
- calculate a real-time playing progress of the media file based on a predetermined time interval according to the parameter information and timing information, the real-time playing progress of the media file being periodically calculated based on the current playing progress of the current playing media file and the predetermined time interval;
- and
- display the real-time playing progress on a display interface of each of the plurality of mobile terminals;
- wherein one of the plurality of mobile terminals is configured to:
- receive a pause command;
- send the pause command of stopping playing the media file to the playing device, such that the playing device stops playing the media file in response to the pause command;
- receive a pause playing status of the media file from the playing device;
- and send the pause playing status to remaining of the plurality of mobile terminals, such that each of the plurality of mobile terminals stops counting time upon receiving the pause playing status, to ensure a first real-time playing progress calculated by each terminal device is synchronized with the current playing progress of the current playing media file of the playing device.
A playing device for playing a media file comprising:
- a processor;
- a memory;
- and
- one or more program instructions, stored in the memory and executable by the processor, wherein when the one or more program instructions are executed by the processor, the processor is configured to:
- send parameter information to each of N mobile terminals in a local area network corresponding to the playing device, so that each of the N mobile terminals start to count time upon receiving the parameter information, periodically calculate a first real-time playing progress of the media file by a predetermined time interval according to the parameter information and the timing information, and display real-time playing progress on a display interface, wherein the first real-time playing progress of the media file is periodically calculated based on the current playing progress of the current playing media file and the predetermined time interval;
- receive a pause command to stop playing the media file from one of the N mobile terminals;
- stop playing the media file in response to the pause command;
- and
- send a pause playing status of the media file to the one of the N mobile terminals, so that the one of N mobile terminals sends the pause playing status of the media file to remaining of the N mobile terminals, and each of the N mobile terminals stops counting time upon receiving the pause playing status to ensure that the first real-time playing progress displayed on display interface of each of the N mobile devices synchronizes with the current playing progress of the current playing media file of the playing device;
- wherein the parameter information comprises a current playing progress and a total time length of a current playing media file of the playing device, and N represents an integer larger than or equal to two.
Dependencies are inferred from the claim text.