Patent ID: 9442645
Filing Date: 2016-09-13
CPC Classification: G06F,G11B

Claim Text:
1. 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; wherein determining the progress adjustment range of the upper layer progress bar according to the first locating result comprises: when a progress range between the first locating result and an end of the file is larger than or equal to a maximum adjustment range of the upper layer progress bar, configuring the first locating result as a starting point of the progress adjustment range of the upper layer progress bar, and determining an end point of the progress adjustment range of the upper layer progress bar according to the maximum adjustment range of the upper layer progress bar; wherein determining the playing progress of the file comprises: obtaining a second proportion via dividing a distance between the location of the slider of the upper layer progress bar and a starting point of the upper layer progress bar by a length of the upper layer progress bar, and obtaining a second locating result via multiplying the maximum adjustment range of the upper layer progress bar by the second proportion; and determining the playing progress of the file as a sum of the first locating result and the second locating result.