Method And Apparatus For Locating Playing Progress Of File
AssigneeTencent Technology (Shenzhen) Company Limited
InventorSen LIN
Life of this patent
Estimating the term…
Abstract
A location of a slider on a bottom progress bar is monitored and a first locating result is obtained according to the location of the slider on the bottom progress bar. A total length of the file and a progress adjustment range of an upper layer progress bar is determined according to the first locating result. The first locating result is within the progress adjustment range of the upper layer progress bar, a location of a slider of the upper progress bar is monitored, and playing progress of the file is determined according to the location of the slider on the upper layer progress bar and the first locating result.
Claims11
A method for locating playing progress of a file, comprising:
- monitoring a location of a slider on a bottom progress bar;
- obtaining a first locating result according to the location of the slider on the bottom progress bar and a total length of the file;
- determining a progress adjustment range of an upper layer progress bar according to the first locating result;
- the first locating result being within the progress adjustment range of the upper layer progress bar;
- monitoring a location of a slider of the upper progress bar;
- and
- determining playing progress of the file according to the location of the slider on the upper layer progress bar and the first locating result.
An apparatus for locating playing progress of a file, comprising:
- a memory and a processor for executing instructions stored in the memory, the instructions comprise:
- a bottom adjusting instruction, to monitor a location of a slider on a bottom progress bar, locate playing progress of a file according to the location of the slider on the bottom progress bar and a total length of the file, and obtain a first locating result;
- an upper layer adjusting instruction, to determine a progress adjustment range of an upper layer progress bar according to the first locating result;
- and monitor a location of a slider of the upper progress bar;
- the first locating result being within the progress adjustment range of the upper layer progress bar;
- and
- a locating instruction, to determine target playing progress of the file according to the location of the slider on the upper layer progress bar and the progress adjustment range of the upper layer progress bar.
Dependencies are inferred from the claim text.