CN104903961B - Progress bar precision adjusting device, method and play system and terminal - Google Patents
Progress bar precision adjusting device, method and play system and terminal Download PDFInfo
- Publication number
- CN104903961B CN104903961B CN201380068889.0A CN201380068889A CN104903961B CN 104903961 B CN104903961 B CN 104903961B CN 201380068889 A CN201380068889 A CN 201380068889A CN 104903961 B CN104903961 B CN 104903961B
- Authority
- CN
- China
- Prior art keywords
- progress bar
- precision
- regulation
- point
- reproduction time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004321 preservation Methods 0.000 claims description 8
- 230000001105 regulatory effect Effects 0.000 claims description 6
- 230000003321 amplification Effects 0.000 description 13
- 238000003199 nucleic acid amplification method Methods 0.000 description 13
- 210000005224 forefinger Anatomy 0.000 description 12
- 210000003813 thumb Anatomy 0.000 description 12
- 241000209094 Oryza Species 0.000 description 10
- 235000007164 Oryza sativa Nutrition 0.000 description 10
- 235000009566 rice Nutrition 0.000 description 10
- 230000008859 change Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000006399 behavior Effects 0.000 description 4
- 210000003811 finger Anatomy 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 235000013399 edible fruits Nutrition 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 239000012634 fragment Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
Landscapes
- User Interface Of Digital Computer (AREA)
- Pinball Game Machines (AREA)
Abstract
The invention provides a kind of progress bar precision adjusting device to include:Degree of regulation determining unit, for determining that precision adjusts multiple according to the operation recognized;Progress bar processing unit, the progress bar of player is adjusted for adjusting multiple according to precision.The application also proposed a kind of progress bar precision adjusting method.By the technical scheme of the application, it can determine that precision adjusts multiple, and then the broadcasting precision of precision regulation multiple regulation progress bar according to user's operation, so as to be accurately determined reproduction time on the progress bar that user can be after adjustment.
Description
Technical field
The present invention relates to player technical field, is adjusted in particular to progress bar precision adjusting device, progress bar precision
Section method, play system and terminal.
Background technology
The progress monitoring of player in terminal is all based on greatly progress bar and is controlled, i.e., by dragging on progress bar
Sliding block adjusts playing progress rate.
When longer in the time of played file, by way of dragging sliding block on a progress bar, user is difficult to exactly
Some time point for navigating to played file plays out.Because the sliding block on progress bar typically has Minimum sliding distance, than
Such as 1 millimeter, i.e., when user carries out drag operation to sliding block every time, the Minimum sliding distance of sliding block is 1 millimeter, for example player is just
The video of 180 minutes is being played, user wants viewing 33:The picture of 40 seconds, estimate that the picture at the time point is entering first
Sliding block, about at 1/6 on a progress bar, is then dragged at this, then video pictures are cut by the Position Approximate spent on bar
Change to 30:Commence play out within 00 second, then user continues to drag sliding block backward, and sliding block moves one millimeter, and video pictures are switched to
35:Continue to play within 00 second, in this case, no matter how user drags sliding block in the point, is all difficult to navigate to 33:Near 40 seconds
Position.
The content of the invention
The present invention is based on above mentioned problem, it is proposed that a kind of progress bar precision regulation technology, can be operated according to user
To determine that precision adjusts multiple, and then the broadcasting precision of precision regulation multiple regulation progress bar, so that user can be after adjustment
Progress bar on be accurately determined reproduction time.
In view of this, the present invention proposes a kind of progress bar precision adjusting device, including:Degree of regulation determining unit, use
Determine that precision adjusts multiple in the operation that basis recognizes;Progress bar processing unit, for adjusting multiple pair according to the precision
The progress bar of the player is adjusted.
In the technical scheme, user can specifically be grasped on a player when by player plays file
Make, by identifying the operation of user, corresponding precision regulation multiple can be obtained, and then multiple is adjusted according to obtained precision,
The progress bar of player can accordingly be adjusted, to change the broadcasting precision of progress bar so that user can be more accurate
Ground adjusts reproduction time on a progress bar.
In the above-mentioned technical solutions, it is preferable that the degree of regulation determining unit includes:Recording unit, for recording
State the positional information of the terminating point of operation;Computing unit, for calculating the terminating point to the first progress bar of the player
The first distance, and the precision is obtained according to first distance and preset multiple and adjusts multiple.
In the technical scheme, the terminating point and the intrinsic main progress bar (first of player that can be operated according to user
Progress bar) distance and preset multiple determine that precision adjusts multiple, user's operation can be following at least one or its combination:With
Any point starting point on the player, and the slide using any point beyond first progress bar as terminating point, with institute
State any point starting point on player, and the clicking operation using any point beyond first progress bar as terminating point.Due to pre-
If multiple is set in advance, user can obtain required essence by the terminating point of control operation and the distance of main progress bar
Degree regulation multiple, for example preset multiple is 1 times/centimetre, and the first distance is 2 centimetres, then precision regulation multiple can be obtained
2 centimetres=2 times of=1 times/cm x, if user's control first, apart from for 3 centimetres, precision regulation multiple is exactly 3 times, wherein,
The formula of the precision regulation distance of multiple=preset multiple × first is one embodiment of the application, and user can be as needed
Precision is set to adjust multiple, preset multiple and the first incidence relation between three.
In the above-mentioned technical solutions, it is preferable that the progress bar processing unit includes:Progress bar generation unit, wherein, institute
State computing unit and be additionally operable to adjust multiple according to the first of first progress bar the broadcasting precision and precision and obtain second and broadcast
Spermiation degree;The progress bar generation unit is used to play precision the second progress bar of generation according to described second.
In the technical scheme, it is (original i.e. in player to generate the second progress bar operation can be adjusted by precision
The new progress bar generated beyond progress bar), the precision of the second progress bar and the position of the terminating point of precision regulation operation to first
The distance of progress bar (i.e. the original progress bar of player) is related, so as to adjust the terminating point of operation by control accuracy
Position adjusts the precision of the second progress bar, for example the precision of the second progress bar is adjusted to four times of precision of the first progress bar
3 times, user then can accurately adjust the playing progress rate of file on the second progress bar, and file regulation easily is arrived into oneself institute
The play time needed, wherein, the relation of the broadcasting precision of the first progress bar and the broadcasting precision of the second progress bar can be, the
Two, which play precision=first, plays precision × (1+ first is apart from × preset multiple), i.e., enters in the terminating point of user's operation to first
When the distance for spending bar is 2 centimetres, second, which plays precision=first, plays precision × 3 times, i.e. the broadcasting precision of the second progress bar is
3 times of the broadcasting precision of first progress bar, so as to which on the second progress bar, user more accurately can be adjusted on progress bar
Sliding block determines reproduction time.
In the above-mentioned technical solutions, it is preferable that the progress bar processing unit also includes:Playback time determining unit, its
In, the recording unit is additionally operable to record the positional information of the starting point of the operation;The computing unit is additionally operable to according to institute
State terminating point and play accuracy computation deviant to the horizontal range of the starting point and described second;The reproduction time determines
Benchmark reproduction time described in when unit is used to be initiated according to the operation on the first progress bar, determines second progress bar
The reproduction time at midpoint, and according to the reproduction time and the deviant at the midpoint of second progress bar in second progress
Determine to continue reproduction time on bar, and continue to play from the continuation reproduction time.
In the technical scheme, user can be by the horizontal range of the terminating point of control operation to starting point, to control
Continue time point and the deviant of the reference time point on the first progress bar played, such as the termination operated on second progress bar
The horizontal range that point arrives starting point is 3 centimetres, and second obtained plays precision as the first play precision 3 times, the first broadcasting
Precision is 50 seconds/centimetre, then the second broadcasting precision is 150 seconds/centimetre, i.e. 2.5 minutes/centimetre, according to horizontal range and the
It is minute/centimetre=7.5 minute of 3 cm x 2.5 that two broadcasting precision, which obtain deviant,.Also, when user initiates to operate, first
Time where progress bar top shoe be on the basis of reproduction time, such as 52:30, then the continuation reproduction time determined is
52:30+7:30=60:00.
I.e. user can be operated on the screen of place terminal on a player, and the terminating point of operation is apart from player
Original 2 centimetres of progress bar, the horizontal range of the terminating point of operation to the starting point of operation is 3 centimetres, then can be in player
New progress bar is generated outside original progress bar, the broadcasting precision of newly-generated progress bar is the broadcasting precision of former progress bar
3 times, meanwhile, player is on the second progress bar from 60:00 continues to play.
In the above-mentioned technical solutions, it is preferable that the computing unit is additionally operable to adjust the inverse of multiple according to the precision
With the length of second progress bar, determine to wait to put using the benchmark reproduction time as midpoint on first progress bar
It is most of;The playback time determining unit determines that described second enters according to the reproduction time of the starting point of the part to be amplified
The reproduction time of bar starting point is spent, and second progress bar is determined according to the reproduction time of the terminating point of the part to be amplified
The reproduction time of terminating point.
In the technical scheme, when user initiates precision regulation operation, the benchmark reproduction time on the first progress bar is (i.e.
Initiate precision regulation operation when the first progress bar on sliding block corresponding to time) both sides subregion, just comprising user need
A bit of reproduction time is accurately determined, so as to which benchmark reproduction time to be corresponded to the midpoint of the second progress bar, can to give birth to
Into the second progress bar have bigger possibility include user need it is accurate determine reproduction time a bit, be easy to user to enter second
The play time needed for oneself is accurately determined on degree bar.And the second progress bar generated can be with the length of the first progress bar
Unanimously, and the second progress bar corresponding part on the first progress bar is then the part using benchmark reproduction time as midpoint, its grow
Degree can adjust multiple to determine according to the length and precision of the second progress bar, for example the second progress bar generated grows 20 centimetres,
Precision regulation multiple is 10, then the length of part to be amplified is 2 centimetres, and amplification is passed through in the part, forms the second progress bar, and
And starting point, terminating point and the reproduction time at midpoint of the part also correspond to starting point, the terminating point of the second progress bar respectively
And midpoint, it is assumed that part to be amplified is 10 on the first progress bar:00 to 15:00 period, account for the percent of the first progress bar
Ten, such as 2 centimetres, and now the broadcasting precision of the first progress bar is 15 seconds/millimeter, and part to be amplified forms the by amplification
After two progress bars, its play precision will be changed into 1.5 seconds/millimeter, if the Minimum sliding distance of sliding block is 1 millimeter, then by
Second progress bar moves up movable slider, can accurately determine 10:03、10:09 equi-time point, and on the first progress bar then only
Can roughly it determine to 10:15、10:30 equi-time points, so as to after operation the second progress bar of generation is adjusted by precision so that
User can accurately determine play time on the second progress bar.
In the above-mentioned technical solutions, it is preferable that the progress bar processing unit also includes:Amplify alignment unit, for sentencing
Whether the starting point of the part to be amplified of breaking exceeds the starting point of first progress bar, and/or the part to be amplified
Whether terminating point exceeds the terminating point of first progress bar, and the starting point in the part to be amplified is entered beyond described first
In the case of the starting point for spending bar, using the starting point of first progress bar as starting point, obtained on first progress bar
The part equal with the partial-length to be amplified is as the part to be amplified, and/or the termination in the part to be amplified
In the case that point exceeds the terminating point of first progress bar, using the terminating point of first progress bar as terminating point, described
The part equal with the partial-length to be amplified is obtained on first progress bar as the part to be amplified.
In the technical scheme, if part starting point to be amplified either terminating point beyond the first progress bar starting point or
Terminating point, then one section of amplification generation second untill starting point or terminating point can only be at most got on the first progress bar
Progress bar, for example, part to be amplified terminating point beyond the terminating point of the first progress bar, the i.e. terminating point of the first progress bar
Reproduction time is 90:00, and reference time point is 87:00, and the length of part to be amplified for determining to obtain is 2 centimetres, the
It is corresponding 10 minutes on one progress bar, then 87:00 both sides respectively take one section of conduct part to be amplified of 5 minutes, then need to obtain
To 82:00 to 92:One section of 00, but 90:00 to 92:00 part will be obviously not present in the first progress bar, then can be with
The terminating point of one progress bar obtains duration one section of conduct part to be amplified of 10 minutes as terminating point, i.e., and 80:00 to 90:00
Part, this period still include 87:Time point near 00, so as to ensure that user can be accurately on the second progress bar
Determine reproduction time.
In the above-mentioned technical solutions, it is preferable that the degree of regulation determining unit also includes:Position judgment unit, is used for
Judge to improve precision according to the positional information of the terminating point and the incidence relation of default position and precision or reduce precision, its
In, the computing unit is when the position judgment unit judges to improve precision, according to first distance and described default times
Number obtains precision regulation multiple, and when the position judgment unit judges to reduce precision, according to first distance with
The inverse of the preset multiple obtains the precision regulation multiple.
In the technical scheme, the second progress bar of generation, its play precision can it is smaller than the first progress bar (can be
Regulation playing progress rate faster on second progress bar), can also it is bigger than the first progress bar (can be more smart on the second progress bar
Really adjust playing progress rate), it is specific to determine that improving precision still reduces precision, adjust the termination of operation by control accuracy
Put to determine, for example terminating point is located at the first progress bar upper and lower, then can be determined that, to reduce precision, terminating point enters positioned at first
Spend above bar, then can be determined that to improve precision, wherein, when being judged to improving precision, such as the termination of precision regulation operation
Point is above the first progress bar, and 2 centimetres of the first progress bar of distance, then, can be with if preset multiple is 2 times/centimetre
Determine that precision regulation multiple is 4 times, and the broadcasting precision of the first progress bar is that (i.e. the first progress bar is normal play to 1 double precision
Precision), then the precision of the second progress bar is then 4 double precisions, that is to say, that the content of 10 minutes durations is such as on the first progress bar
Fruit accounts for 1 centimetre on a progress bar, then on the second progress bar, the content of 10 minutes durations of this section is then 4 centimetres, 4 lis of user
The sliding block of regulation progress bar determines required play time in the length of rice, is slided relative to adjusting in 1 centimetre of the length
Block determines required play time, more accurately and conveniently.
When being judged to reducing precision, for example the terminating point of precision regulation operation is located at below the first progress bar, and distance
First 2 centimetres of progress bar, then if preset multiple is 2 times/centimetre, it can determine that precision regulation multiple is 1/4 times, and the
The broadcasting precision of one progress bar is 1 double precision (i.e. the first progress bar is normal play precision), then the precision of the second progress bar
It is then 1/4 double precision, that is to say, that if the content of 10 minutes durations accounts for 20 centimetres on a progress bar on the first progress bar, that
On the second progress bar, the content of 10 minutes durations of this section is then 5 centimetres, and user can adjust in 5 centimetres of length range
Sliding block is saved, relative to the adjusting slider in 20 centimetres of length range, can quickly browse the content in played file, with
And quickly determine play time needed for oneself.
In any of the above-described technical scheme, it is preferable that also include:Progress bar closing unit, in second progress
Closed at the end of the reproduction time of bar, in preset time during unidentified operation to second progress bar or receiving
During the instruction of second progress bar, second progress bar is closed, and/or in closing first progress bar received
During instruction, first progress bar is closed.
In the technical scheme, it can be terminated according to preparatory condition, such as the reproduction time of the second progress bar, now second
Sliding block on progress bar is located at the terminating point of the second progress bar, and the content of part to be amplified is played on the first progress bar finishes,
Then close the second progress bar automatically, or within a period of time during unidentified operation to the second progress bar, illustrate user without
Play time need to be accurately determined, then closes the second progress bar automatically, or according to the out code received, close first and enter
Spend bar and/or the second progress bar.
In any of the above-described technical scheme, it is preferable that also include:Memory cell, for being instructed according to the preservation received,
Preserve described second and play precision, wherein, the progress bar generation unit is additionally operable to when recognizing predetermined registration operation, according to described
Second, which plays precision, generates second progress bar.
In the technical scheme, the precision of the second progress bar of generation can be preserved, it is (such as right when recognizing predetermined registration operation
First progress bar carries out double click operation, the progress bar of long-press first, is suspended in mouse on the first progress bar etc.) when, then can be with
Extension progress bar is automatically generated according to the precision, the precision without exist starting point and ending point adjusts operation, it is possible to
Progress bar of the generation with new precision.
In any of the above-described technical scheme, it is preferable that also include:Multiple adjustment unit, for according to the multiple received
Regulating command, adjust the preset multiple.
In the technical scheme, user can adjust preset multiple as needed, such as can be by times/li of preset multiple 4
Rice is adjusted to 10 times/centimetre, so that in the case where the distance of terminating point to the first progress bar of precision regulation operation is constant, will
Generate the second higher progress bar of precision.
In the above-mentioned technical solutions, it is preferable that the degree of regulation determining unit includes:Recording unit, for recording
State the positional information of at least one starting point of the operation on the progress bar of the player and the position letter of corresponding terminating point
Breath;Computing unit, for calculating the terminating point to the second distance of its corresponding starting point, according to each terminating point to
The second distance of its corresponding starting point obtains average distance, and obtaining the precision according to the average distance and preset multiple adjusts
Save multiple.
In the technical scheme, operated on progress bar that can be on a player, such as with two on progress bar
Point is two starting points, does the slide to terminating point and starting point on a progress bar, then according to each terminating point to phase
Answer the distance of starting point, can calculate an average distance, for example, the terminating point of thumb on a progress bar to starting point away from
From being 3 centimetres, the terminating point of forefinger on a progress bar to the distance of starting point is 5 centimetres, then average distance is 4 centimetres, and pre-
If multiple is 1 times/centimetre, then precision regulation multiple is 4 times.
In the above-mentioned technical solutions, it is preferable that the progress bar processing unit includes:Progress bar adjustment unit, for root
The broadcasting precision of the progress bar of the player is adjusted according to precision regulation multiple;Playback time determining unit, for basis
The starting point and/or the terminating point corresponding reproduction time on the player, it is determined that of the progress bar after regulation
The reproduction time of initial point and the reproduction time of terminating point.
, can be according to the broadcasting precision of obtained precision regulation multiple regulation progress bar, such as essence in the technical scheme
Degree regulation multiple is 4 times, then the broadcasting precision of progress bar can be adjusted to original 4 times, while the length of progress bar is expanded
Open up as original 4 times, meanwhile, it can be broadcast the reproduction time of a starting point of operation as the starting of the progress bar after regulation
Put the time, and termination reproduction time of another starting point reproduction time as the progress bar after regulation will be operated, that is, pass through thumb
When finger and forefinger are operated, thumb and forefinger operate 2 points clicked on during beginning on a progress bar, after just corresponding to regulation respectively
Progress bar starting reproduction time and terminate reproduction time.
In the above-mentioned technical solutions, it is preferable that the degree of regulation determining unit includes:Operation recognition unit, for knowing
The operation not carried out in the player;Precision query unit, for judging whether the operation belongs to predetermined registration operation, if category
In predetermined registration operation, then the precision regulation multiple corresponding with the operation is inquired about.
In the technical scheme, some operations can be pre-set and specific precision regulation multiple is associated such as right
The double click operation of progress bar with by the broadcasting precision of progress bar be amplified to twice it is associated, and to the three of progress bar hit operation then with
The broadcasting precision of progress bar is amplified into three times is associated, so that user can rapidly adjust progress by predetermined registration operation
The broadcasting precision of bar.
The application also proposed a kind of play system, including the progress bar precision adjusting device described in any of the above-described.
The application also proposed a kind of terminal, including the progress bar precision adjusting device described in any one of preceding claim
And/or play system.
The application also proposed a kind of progress bar precision adjusting method, applied to player, including:Step 202, according to knowledge
The operation being clipped to determines that precision adjusts multiple;Step 204, multiple is adjusted according to the precision to enter the progress bar of the player
Row regulation.
In the technical scheme, user can specifically be grasped on a player when by player plays file
Make, by identifying the operation of user, corresponding precision regulation multiple can be obtained, and then multiple is adjusted according to obtained precision,
The progress bar of player can accordingly be adjusted, to change the broadcasting precision of progress bar so that user can be more accurate
Ground adjusts reproduction time on a progress bar.
In the above-mentioned technical solutions, it is preferable that the step 202 includes:Step 2022, the terminating point of the operation is recorded
Positional information;Step 2024, the terminating point is calculated to the first distance of the first progress bar of the player, and according to institute
State the first distance and obtain the precision regulation multiple with preset multiple.
In the technical scheme, the terminating point and the intrinsic main progress bar (first of player that can be operated according to user
Progress bar) distance and preset multiple determine that precision adjusts multiple, user's operation can be following at least one or its combination:With
Any point starting point on the player, and the slide using any point beyond first progress bar as terminating point, with institute
State any point starting point on player, and the clicking operation using any point beyond first progress bar as terminating point.Due to pre-
If multiple is set in advance, user can obtain required essence by the terminating point of control operation and the distance of main progress bar
Degree regulation multiple, for example preset multiple is 1 times/centimetre, and the first distance is 2 centimetres, then precision regulation multiple can be obtained
2 centimetres=2 times of=1 times/cm x, if user's control first, apart from for 3 centimetres, precision regulation multiple is exactly 3 times, wherein,
The formula of the precision regulation distance of multiple=preset multiple × first is one embodiment of the application, and user can be as needed
Precision is set to adjust multiple, preset multiple and the first incidence relation between three.
In the above-mentioned technical solutions, it is preferable that the step 2024 includes:Played according to the first of first progress bar
Precision obtains the second broadcasting precision with precision regulation multiple;Then the step 204 also includes:For being broadcast according to described second
Spermiation degree generates the second progress bar.
In the technical scheme, it is (original i.e. in player to generate the second progress bar operation can be adjusted by precision
The new progress bar generated beyond progress bar), the precision of the second progress bar and the position of the terminating point of precision regulation operation to first
The distance of progress bar (i.e. the original progress bar of player) is related, so as to adjust the terminating point of operation by control accuracy
Position adjusts the precision of the second progress bar, for example the precision of the second progress bar is adjusted to four times of precision of the first progress bar
3 times, user then can accurately adjust the playing progress rate of file on the second progress bar, and file regulation easily is arrived into oneself institute
The play time needed, wherein, the relation of the broadcasting precision of the first progress bar and the broadcasting precision of the second progress bar can be, the
Two, which play precision=first, plays precision × (1+ first is apart from × preset multiple), i.e., enters in the terminating point of user's operation to first
When the distance for spending bar is 2 centimetres, second, which plays precision=first, plays precision × 3 times, i.e. the broadcasting precision of the second progress bar is
3 times of the broadcasting precision of first progress bar, so as to which on the second progress bar, user more accurately can be adjusted on progress bar
Sliding block determines reproduction time.
In the above-mentioned technical solutions, it is preferable that the step 202 also includes:Record the position of the starting point of the operation
Information, accuracy computation deviant is played according to the horizontal range of the terminating point to the starting point and described second;Then institute
Stating step 204 also includes:Benchmark reproduction time described in when being initiated according to the operation on the first progress bar, determines described second
The reproduction time at the midpoint of progress bar, and according to the reproduction time and the deviant at the midpoint of second progress bar described
Determine to continue reproduction time on second progress bar, and continue to play from the continuation reproduction time.
In the technical scheme, user can be by the horizontal range of the terminating point of control operation to starting point, to control
Continue time point and the deviant of the reference time point on the first progress bar played, such as the termination operated on second progress bar
The horizontal range that point arrives starting point is 3 centimetres, and second obtained plays precision as the first play precision 3 times, the first broadcasting
Precision is 50 seconds/centimetre, then the second broadcasting precision is 150 seconds/centimetre, i.e. 2.5 minutes/centimetre, according to horizontal range and the
It is minute/centimetre=7.5 minute of 3 cm x 2.5 that two broadcasting precision, which obtain deviant,.Also, when user initiates to operate, first
Time where progress bar top shoe be on the basis of reproduction time, such as 52:30, then the continuation reproduction time determined is
52:30+7:30=60:00.
I.e. user can be operated on the screen of place terminal on a player, and the terminating point of operation is apart from player
Original 2 centimetres of progress bar, the horizontal range of the terminating point of operation to the starting point of operation is 3 centimetres, then can be in player
New progress bar is generated outside original progress bar, the broadcasting precision of newly-generated progress bar is the broadcasting precision of former progress bar
3 times, meanwhile, player is on the second progress bar from 60:00 continues to play.
In the above-mentioned technical solutions, it is preferable that the step 202 also includes:The inverse of multiple is adjusted according to the precision
With the length of second progress bar, determine to wait to put using the benchmark reproduction time as midpoint on first progress bar
It is most of;Then the step 204 also includes:Determine that described second enters according to the reproduction time of the starting point of the part to be amplified
The reproduction time of bar starting point is spent, and second progress bar is determined according to the reproduction time of the terminating point of the part to be amplified
The reproduction time of terminating point.
In the technical scheme, when user initiates precision regulation operation, the benchmark reproduction time on the first progress bar is (i.e.
Initiate precision regulation operation when the first progress bar on sliding block corresponding to time) both sides subregion, just comprising user need
A bit of reproduction time is accurately determined, so as to which benchmark reproduction time to be corresponded to the midpoint of the second progress bar, can to give birth to
Into the second progress bar have bigger possibility include user need it is accurate determine reproduction time a bit, be easy to user to enter second
The play time needed for oneself is accurately determined on degree bar.And the second progress bar generated can be with the length of the first progress bar
Unanimously, and the second progress bar corresponding part on the first progress bar is then the part using benchmark reproduction time as midpoint, its grow
Degree can adjust multiple to determine according to the length and precision of the second progress bar, for example the second progress bar generated grows 20 centimetres,
Precision regulation multiple is 10, then the length of part to be amplified is 2 centimetres, and amplification is passed through in the part, forms the second progress bar, and
And starting point, terminating point and the reproduction time at midpoint of the part also correspond to starting point, the terminating point of the second progress bar respectively
And midpoint, it is assumed that part to be amplified is 10 on the first progress bar:00 to 15:00 period, account for the percent of the first progress bar
Ten, such as 2 centimetres, and now the broadcasting precision of the first progress bar is 15 seconds/millimeter, and part to be amplified forms the by amplification
After two progress bars, its play precision will be changed into 1.5 seconds/millimeter, if the Minimum sliding distance of sliding block is 1 millimeter, then by
Second progress bar moves up movable slider, can accurately determine 10:03、10:09 equi-time point, and on the first progress bar then only
Can roughly it determine to 10:15、10:30 equi-time points, so as to after operation the second progress bar of generation is adjusted by precision so that
User can accurately determine play time on the second progress bar.
In the above-mentioned technical solutions, it is preferable that the step 204 also includes:Judge the starting point of the part to be amplified
Whether the starting point of first progress bar is exceeded, and/or whether the terminating point of the part to be amplified enters beyond described first
The terminating point of bar is spent, and in the case where the starting point of the part to be amplified exceeds the starting point of first progress bar, with
The starting point of first progress bar is starting point, is obtained on first progress bar equal with the partial-length to be amplified
Part as the part to be amplified, and/or the part to be amplified terminating point exceed first progress bar end
In the case of stop, using the terminating point of first progress bar as terminating point, obtain on first progress bar and treated with described
The part of amplifier section equal length is as the part to be amplified.
In the technical scheme, if part starting point to be amplified either terminating point beyond the first progress bar starting point or
Terminating point, then one section of amplification generation second untill starting point or terminating point can only be at most got on the first progress bar
Progress bar, for example, part to be amplified terminating point beyond the terminating point of the first progress bar, the i.e. terminating point of the first progress bar
Reproduction time is 90:00, and reference time point is 87:00, and the length of part to be amplified for determining to obtain is 2 centimetres, the
It is corresponding 10 minutes on one progress bar, then 87:00 both sides respectively take one section of conduct part to be amplified of 5 minutes, then need to obtain
To 82:00 to 92:One section of 00, but 90:00 to 92:00 part will be obviously not present in the first progress bar, then can be with
The terminating point of one progress bar obtains duration one section of conduct part to be amplified of 10 minutes as terminating point, i.e., and 80:00 to 90:00
Part, this period still include 87:Time point near 00, so as to ensure that user can be accurately on the second progress bar
Determine reproduction time.
In the above-mentioned technical solutions, it is preferable that the step 202 also includes:According to the positional information of the terminating point and
The incidence relation of default position and precision judges to improve precision or reduces precision, judges to improve essence in the position judgment unit
When spending, the precision is obtained with the preset multiple according to first distance and adjusts multiple, and in the position judgment unit
When judging to reduce precision, the precision is obtained according to the inverse of first distance and the preset multiple and adjusts multiple.
In the technical scheme, the second progress bar of generation, its play precision can it is smaller than the first progress bar (can be
Regulation playing progress rate faster on second progress bar), can also it is bigger than the first progress bar (can be more smart on the second progress bar
Really adjust playing progress rate), it is specific to determine that improving precision still reduces precision, adjust the termination of operation by control accuracy
Put to determine, for example terminating point is located at the first progress bar upper and lower, then can be determined that, to reduce precision, terminating point enters positioned at first
Spend above bar, then can be determined that to improve precision, wherein, when being judged to improving precision, such as the termination of precision regulation operation
Point is above the first progress bar, and 2 centimetres of the first progress bar of distance, then, can be with if preset multiple is 2 times/centimetre
Determine that precision regulation multiple is 4 times, and the broadcasting precision of the first progress bar is that (i.e. the first progress bar is normal play to 1 double precision
Precision), then the precision of the second progress bar is then 4 double precisions, that is to say, that the content of 10 minutes durations is such as on the first progress bar
Fruit accounts for 1 centimetre on a progress bar, then on the second progress bar, the content of 10 minutes durations of this section is then 4 centimetres, 4 lis of user
The sliding block of regulation progress bar determines required play time in the length of rice, is slided relative to adjusting in 1 centimetre of the length
Block determines required play time, more accurately and conveniently.
When being judged to reducing precision, for example the terminating point of precision regulation operation is located at below the first progress bar, and distance
First 2 centimetres of progress bar, then if preset multiple is 2 times/centimetre, it can determine that precision regulation multiple is 1/4 times, and the
The broadcasting precision of one progress bar is 1 double precision (i.e. the first progress bar is normal play precision), then the precision of the second progress bar
It is then 1/4 double precision, that is to say, that if the content of 10 minutes durations accounts for 20 centimetres on a progress bar on the first progress bar, that
On the second progress bar, the content of 10 minutes durations of this section is then 5 centimetres, and user can adjust in 5 centimetres of length range
Sliding block is saved, relative to the adjusting slider in 20 centimetres of length range, can quickly browse the content in played file, with
And quickly determine play time needed for oneself.
In any of the above-described technical scheme, it is preferable that also include:At the end of the reproduction time of second progress bar,
During unidentified operation to second progress bar or the finger of closing second progress bar is being received in preset time
When making, second progress bar is closed, and/or in the instruction of closing first progress bar received, close described the
One progress bar.
In the technical scheme, it can be terminated according to preparatory condition, such as the reproduction time of the second progress bar, now second
Sliding block on progress bar is located at the terminating point of the second progress bar, and the content of part to be amplified is played on the first progress bar finishes,
Then close the second progress bar automatically, or within a period of time during unidentified operation to the second progress bar, illustrate user without
Play time need to be accurately determined, then closes the second progress bar automatically, or according to the out code received, close first and enter
Spend bar and/or the second progress bar.
In any of the above-described technical scheme, it is preferable that also include:Instructed according to the preservation received, preserve described second
Precision is played, and when recognizing predetermined registration operation, plays precision according to described second and generates second progress bar.
In the technical scheme, the precision of the second progress bar of generation can be preserved, it is (such as right when recognizing predetermined registration operation
First progress bar carries out double click operation, the progress bar of long-press first, is suspended in mouse on the first progress bar etc.) when, then can be with
Extension progress bar is automatically generated according to the precision, the precision without exist starting point and ending point adjusts operation, it is possible to
Progress bar of the generation with new precision.
In any of the above-described technical scheme, it is preferable that also include:According to the multiple regulating command received, described in regulation
Preset multiple.
In the technical scheme, user can adjust preset multiple as needed, such as can be by times/li of preset multiple 4
Rice is adjusted to 10 times/centimetre, so that in the case where the distance of terminating point to the first progress bar of precision regulation operation is constant, will
Generate the second higher progress bar of precision.
In the above-mentioned technical solutions, it is preferable that the step 202 includes:Step 2022, the starting point of the operation is recorded
Positional information and terminating point positional information;Step 2024, the terminating point is calculated to the second of its corresponding starting point
Distance, and the precision is obtained according to the second distance and preset multiple and adjusts multiple.
In the technical scheme, operated on progress bar that can be on a player, such as with two on progress bar
Point is two starting points, does the slide to terminating point and starting point on a progress bar, then according to each terminating point to phase
Answer the distance of starting point, can calculate an average distance, for example, the terminating point of thumb on a progress bar to starting point away from
From being 3 centimetres, the terminating point of forefinger on a progress bar to the distance of starting point is 5 centimetres, then average distance is 4 centimetres, and pre-
If multiple is 1 times/centimetre, then precision regulation multiple is 4 times.
In the above-mentioned technical solutions, it is preferable that the step 204 includes:Step 2042, multiple is adjusted according to the precision
Adjust the broadcasting precision of the progress bar of the player;Step 2044, according to the starting point and/or the terminating point described
Corresponding reproduction time on player, it is determined that regulation after progress bar starting point reproduction time and terminating point broadcasting when
Between.
, can be according to the broadcasting precision of obtained precision regulation multiple regulation progress bar, such as essence in the technical scheme
Degree regulation multiple is 4 times, then the broadcasting precision of progress bar can be adjusted to original 4 times, while the length of progress bar is expanded
Open up as original 4 times, meanwhile, it can be broadcast the reproduction time of a starting point of operation as the starting of the progress bar after regulation
Put the time, and termination reproduction time of another starting point reproduction time as the progress bar after regulation will be operated, that is, pass through thumb
When finger and forefinger are operated, thumb and forefinger operate 2 points clicked on during beginning on a progress bar, after just corresponding to regulation respectively
Progress bar starting reproduction time and terminate reproduction time.
In the above-mentioned technical solutions, it is preferable that the step 202 includes:Step 2022, identify and enter in the player
Capable operation;Step 2024, judge whether the operation belongs to predetermined registration operation, if belonging to predetermined registration operation, inquiry and the behaviour
Make corresponding precision regulation multiple.
In the technical scheme, some operations can be pre-set and specific precision regulation multiple is associated such as right
The double click operation of progress bar with by the broadcasting precision of progress bar be amplified to twice it is associated, and to the three of progress bar hit operation then with
The broadcasting precision of progress bar is amplified into three times is associated, so that user can rapidly adjust progress by predetermined registration operation
The broadcasting precision of bar.
According to the embodiment of the present invention, a kind of program production being stored in nonvolatile machine-readable media is additionally provided
Product, for the regulation of player progress bar, described program product includes being used for the machine for making computer system perform following steps
Executable instruction:The positional information of the terminating point of operation recognized is recorded, calculates the terminating point to the of the player
First distance of one progress bar, and the precision is obtained with preset multiple according to first distance and adjusts multiple.
According to the embodiment of the present invention, a kind of non-volatile machine readable media is additionally provided, is stored with for player
The program product of the regulation of progress bar, the machine that described program product includes being used to make computer system perform following steps can be held
Row instruction:The positional information of the terminating point of operation recognized is recorded, calculate the terminating point to the player first enters
The first distance of bar is spent, and the precision is obtained with preset multiple according to first distance and adjusts multiple.
According to the embodiment of the present invention, a kind of machine readable program is additionally provided, described program makes machine perform as above
Any described progress bar precision adjusting method in the technical scheme.
According to the embodiment of the present invention, a kind of storage medium for being stored with machine readable program is additionally provided, wherein, institute
Stating machine readable program causes machine to perform any described progress bar precision adjusting method in technical scheme as described above.
By above technical scheme, it can determine that precision adjusts multiple, and then precision regulation multiple according to user's operation
The broadcasting precision of progress bar is adjusted, so as to be accurately determined reproduction time on the progress bar that user can be after adjustment.
Brief description of the drawings
Fig. 1 shows a kind of block diagram of progress bar precision adjusting device according to an embodiment of the invention;
Fig. 2 shows a kind of flow chart of progress bar precision adjusting method according to an embodiment of the invention;
Fig. 3 A to Fig. 3 H show the schematic diagram of regulation progress bar precision according to an embodiment of the invention;
Fig. 4 A to Fig. 4 C show that regulation in the terminal according to an embodiment of the invention plays the schematic diagram of precision;
Fig. 5 shows the particular flow sheet of progress bar precision adjusting method according to an embodiment of the invention.
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention
Mode is applied the present invention is further described in detail.It should be noted that in the case where not conflicting, the implementation of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be different from other modes described here using other to implement, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows a kind of block diagram of progress bar precision adjusting device according to an embodiment of the invention.
As shown in figure 1, progress bar precision adjusting device 100 according to an embodiment of the invention includes:Degree of regulation determines
Unit 102, for determining that precision adjusts multiple according to the operation recognized;Progress bar processing unit 104, for being adjusted according to precision
The progress bar of player is adjusted section multiple.
User can specifically be operated, by identifying user on a player when by player plays file
Operation, corresponding precision regulation multiple can be obtained, and then multiple is adjusted according to obtained precision, player can be entered
Degree bar is accordingly adjusted, to change the broadcasting precision of progress bar so that user more accurately can be adjusted on a progress bar
Reproduction time.
Preferably, degree of regulation determining unit 102 includes:Recording unit 1020, the position of the terminating point for recording operation
Confidence ceases;Computing unit 1022, for calculating terminating point to the first distance of the first progress bar of player, and according to first away from
Precision regulation multiple is obtained from preset multiple.
Can according to user operate terminating point and player intrinsic main progress bar (the first progress bar) distance and
Preset multiple determines that precision adjusts multiple, and user's operation can be following at least one or its combination:With any point on player
Starting point, and the slide using any point beyond the first progress bar as terminating point, with any point starting point on player, and with
Any point is the clicking operation of terminating point beyond first progress bar.Because preset multiple is set in advance, user can pass through
The distance of the terminating point of control operation and main progress bar adjusts multiple to obtain required precision, for example preset multiple is 1 times/li
Rice, and the first distance is 2 centimetres, then precision 2 centimetres=2 times of multiple=1 times/cm x of regulation can be obtained, if user is controlled
The distance of system first is 3 centimetres, then precision regulation multiple is exactly 3 times, wherein, the precision regulation distance of multiple=preset multiple × first
Formula be the application one embodiment, user can be arranged as required to precision regulation multiple, preset multiple and first
Incidence relation between three.
Preferably, progress bar processing unit 104 includes:Progress bar generation unit 1040, wherein, computing unit 1022 is also used
The second broadcasting precision is obtained in adjusting multiple with precision according to the first of the first progress bar the broadcasting precision;Progress bar generation unit
1040 are used to play precision the second progress bar of generation according to second.
Operation can be adjusted by precision (to generate beyond the original progress bar of player to generate the second progress bar
New progress bar), to the first progress bar, (i.e. player is former with the position of the terminating point of precision regulation operation for the precision of the second progress bar
Some progress bars) distance it is related, enter so as to adjust the position of the terminating point of operation by control accuracy to adjust second
The precision of bar is spent, for example the precision of the second progress bar is adjusted to four times 3 times of precision of the first progress bar, user then can be
The playing progress rate of file is accurately adjusted on second progress bar, the play time needed for oneself easily is arrived into file regulation,
Wherein, the relation of the broadcasting precision of the first progress bar and the broadcasting precision of the second progress bar can be that second plays precision=the
One plays precision × (1+ first is apart from × preset multiple), i.e., is 2 in the distance of terminating point to the first progress bar of user's operation
Centimetre when, second, which plays precision=first, plays precision × 3 times, i.e. the broadcasting precision of the second progress bar is broadcasting for the first progress bar
3 times of spermiation degree, so as to which on the second progress bar, user can more accurately adjust the sliding block on progress bar to determine to play
Time.
Preferably, progress bar processing unit 104 also includes:Playback time determining unit 1042, wherein, recording unit 1020
It is additionally operable to the positional information of the starting point of record operation;Computing unit 1022 be additionally operable to according to terminating point to starting point it is horizontal away from
From and second play accuracy computation deviant;First progress bar when playback time determining unit 1042 is used to be initiated according to operation
On benchmark reproduction time, determine the reproduction time at the midpoint of the second progress bar, and the broadcasting at the midpoint according to the second progress bar
Time and deviant determine to continue reproduction time on the second progress bar, and continue to play from reproduction time is continued.
User can continue by the terminating point of control operation to the horizontal range of starting point to control on the second progress bar
The deviant of reference time point on the time point of broadcasting and the first progress bar, for example the terminating point operated is to the level of starting point
Distance is 3 centimetres, and it is first to play 3 times of precision that second obtained, which plays precision, and first to play precision be 50 seconds/centimetre,
So second broadcasting precision is 150 seconds/centimetre, i.e. 2.5 minutes/centimetre, is obtained partially according to horizontal range and the second broadcasting precision
Shifting value is minute/centimetre=7.5 minute of 3 cm x 2.5.Also, when user initiates to operate, where the first progress bar top shoe
Time be on the basis of reproduction time, such as 52:30, then the continuation reproduction time determined is 52:30+7:30=60:00.
I.e. user can be operated on the screen of place terminal on a player, and the terminating point of operation is apart from player
Original 2 centimetres of progress bar, the horizontal range of the terminating point of operation to the starting point of operation is 3 centimetres, then can be in player
New progress bar is generated outside original progress bar, the broadcasting precision of newly-generated progress bar is the broadcasting precision of former progress bar
3 times, meanwhile, player is on the second progress bar from 60:00 continues to play.
Preferably, computing unit 1020 is additionally operable to adjust the inverse of multiple and the length of the second progress bar according to precision,
The part to be amplified using benchmark reproduction time as midpoint is determined on first progress bar;Playback time determining unit 1042 is according to treating
The reproduction time of the starting point of amplifier section determines the reproduction time of the second progress bar starting point, and according to the end of part to be amplified
The reproduction time of stop determines the reproduction time of the second progress bar terminating point.
When user initiates precision regulation operation, the benchmark reproduction time on the first progress bar (initiates precision regulation behaviour
The time corresponding to sliding block when making on the first progress bar) both sides subregion, just need accurate to determine to play comprising user
A bit of time, so as to which benchmark reproduction time to be corresponded to the midpoint of the second progress bar, the second progress bar of generation can make it that
A bit for having bigger possibility to include the accurate determination reproduction time of user's needs, is easy to user accurately to be determined on the second progress bar
Play time needed for oneself.And the second progress bar generated can be consistent with the length of the first progress bar, and second enters
Degree bar corresponding part on the first progress bar is then the part using benchmark reproduction time as midpoint, and its length can be according to second
The length and precision of progress bar adjust multiple to determine, for example the second progress bar generated grows 20 centimetres, and precision regulation multiple is
10, then the length of part to be amplified is 2 centimetres, and the part forms the second progress bar, and the starting of the part by amplification
Point, terminating point and the reproduction time at midpoint also correspond to starting point, terminating point and the midpoint of the second progress bar respectively, it is assumed that wait to put
Most of is 10 on the first progress bar:00 to 15:00 period, account for the 10 of the first progress bar, such as 2 centimetres, and
Now the broadcasting precision of the first progress bar is 15 seconds/millimeter, and part to be amplified by amplification formed the second progress bar after, it is broadcast
Spermiation degree will be changed into 1.5 seconds/millimeter, if the Minimum sliding distance of sliding block is 1 millimeter, then by being moved on the second progress bar
Sliding block, 10 can be accurately determined:03、10:09 equi-time point, and then can only roughly be determined on the first progress bar
10:15、10:30 equi-time points, so as to after operation the second progress bar of generation is adjusted by precision so that user is in the second progress
Play time can be accurately determined on bar.
Preferably, progress bar processing unit 104 also includes:Amplify alignment unit 1044, for judging part to be amplified
Whether starting point exceeds the starting point of the first progress bar, and/or whether the terminating point of part to be amplified exceeds the first progress bar
Terminating point, and in the case where the starting point of part to be amplified exceeds the starting point of the first progress bar, with rising for the first progress bar
Initial point is starting point, and the part equal with partial-length to be amplified is obtained on the first progress bar as part to be amplified, and/or
In the case where the terminating point of part to be amplified exceeds the terminating point of the first progress bar, using the terminating point of the first progress bar as termination
Point, the part equal with partial-length to be amplified is obtained on the first progress bar as part to be amplified.
If part starting point to be amplified either terminating point exceed the first progress bar starting point or terminating point, then at most
One section of amplification second progress bar of generation untill starting point or terminating point can only be got on the first progress bar, for example waits to put
For most terminating point beyond the terminating point of the first progress bar, i.e. the reproduction time of the terminating point of the first progress bar is 90:00,
And reference time point is 87:00, and the length for the part to be amplified for determining to obtain is 2 centimetres, corresponding 10 on the first progress bar
Minute, then 87:00 both sides respectively take one section of conduct part to be amplified of 5 minutes, then need to get 82:00 to 92:00
One section, but 90:00 to 92:00 part will be obviously not present in the first progress bar, then can be with the terminating point of the first progress bar
Obtain duration one section of conduct part to be amplified of 10 minutes as terminating point, i.e., 80:00 to 90:00 part, this period according to
So include 87:Time point near 00, so as to ensure that user accurately can determine reproduction time on the second progress bar.
Preferably, degree of regulation determining unit 102 also includes:Position judgment unit 1024, for the position according to terminating point
Confidence ceases and the incidence relation of default position and precision judges to improve precision or reduces precision, wherein, computing unit 1022 exists
When position judgment unit 1024 judges to improve precision, precision regulation multiple is obtained according to the first distance and preset multiple, and in place
When putting the judgement of judging unit 1024 reduces precision, precision regulation multiple is obtained according to the inverse of the first distance and preset multiple.
Generation the second progress bar, its play precision can it is smaller than the first progress bar (can be on the second progress bar more
Fast regulation playing progress rate), can also it is bigger than the first progress bar (can on the second progress bar more accurately regulation play into
Degree), it is specific to determine that improving precision still reduces precision, it can be determined by the terminating point of control accuracy regulation operation, such as
Terminating point is located at the first progress bar upper and lower, then can be determined that, to reduce precision, terminating point is located above the first progress bar, then may be used
To be judged to improving precision, wherein, when being judged to improving precision, for example the terminating point of precision regulation operation is located at the first progress
Above bar, and 2 centimetres of the first progress bar of distance, then if preset multiple is 2 times/centimetre, precision regulation times can be determined
Number is 4 times, and the broadcasting precision of the first progress bar is 1 double precision (i.e. the first progress bar is normal play precision), then second
The precision of progress bar is then 4 double precisions, that is to say, that if the content of 10 minutes durations accounts on a progress bar on the first progress bar
1 centimetre, then on the second progress bar, the content of 10 minutes durations of this section is then 4 centimetres, is adjusted in the length that 4 centimetres of user
The sliding block of progress bar determines required play time, relative in 1 centimetre of length adjusting slider it is to determine required
Play time, more accurately and conveniently.
When being judged to reducing precision, for example the terminating point of precision regulation operation is located at below the first progress bar, and distance
First 2 centimetres of progress bar, then if preset multiple is 2 times/centimetre, it can determine that precision regulation multiple is 1/4 times, and the
The broadcasting precision of one progress bar is 1 double precision (i.e. the first progress bar is normal play precision), then the precision of the second progress bar
It is then 1/4 double precision, that is to say, that if the content of 10 minutes durations accounts for 20 centimetres on a progress bar on the first progress bar, that
On the second progress bar, the content of 10 minutes durations of this section is then 5 centimetres, and user can adjust in 5 centimetres of length range
Sliding block is saved, relative to the adjusting slider in 20 centimetres of length range, can quickly browse the content in played file, with
And quickly determine play time needed for oneself.
Preferably, in addition to:Progress bar closing unit 106, at the end of the reproduction time of the second progress bar, pre-
If close second during unidentified operation to the second progress bar or when receiving the instruction for closing the second progress bar in the time
Progress bar, and/or in the instruction of the progress bar of closing first received, close the first progress bar.
It can be terminated according to preparatory condition, such as the reproduction time of the second progress bar, now the sliding block on the second progress bar
Positioned at the terminating point of the second progress bar, on the first progress bar, the content of part to be amplified is played finishes, then automatic to close second
Progress bar, or illustrate user without accurately determining broadcasting during unidentified operation to the second progress bar within a period of time
Time point, then the second progress bar is closed automatically, or according to the out code received, close the first progress bar and/or second
Progress bar.
Preferably, in addition to:Memory cell 108, for playing precision according to the preservation instruction received, preservation second,
Wherein, progress bar generation unit is additionally operable to when recognizing predetermined registration operation, and playing precision according to second generates the second progress bar.
The precision of the second progress bar of generation can be preserved, when recognize predetermined registration operation (such as to the first progress bar carry out
Double click operation, the progress bar of long-press first, mouse is suspended on the first progress bar etc.) when, then can be automatic according to the precision
Generation extension progress bar, the precision without exist starting point and ending point adjust operation, it is possible to which generation has new essence
The progress bar of degree.
Preferably, in addition to:Multiple adjustment unit 110, for according to the multiple regulating command received, default times of regulation
Number.
User can adjust preset multiple as needed, for example times/centimetre of preset multiple 4 can be adjusted into 10 times/li
Rice, so as to which in the case where the distance of terminating point to the first progress bar of precision regulation operation is constant, precision is higher by generating
Second progress bar.
Preferably, degree of regulation determining unit 102 includes:Recording unit 1020, entering in player is operated for recording
The positional information of at least one starting point and the positional information of corresponding terminating point spent on bar;Computing unit 1022, based on
Calculate terminating point to its corresponding starting point second distance, according to the second of each terminating point to its corresponding starting point away from
From average distance is obtained, precision regulation multiple is obtained according to average distance and preset multiple.
Operated on progress bar that can be on a player, such as using two o'clock on progress bar as two starting points,
The slide to terminating point and starting point is done on a progress bar, then the distance according to each terminating point to corresponding starting point,
An average distance can be calculated, for example the terminating point of thumb on a progress bar is 3 centimetres to the distance of starting point, forefinger exists
Terminating point on progress bar is 5 centimetres to the distance of starting point, then average distance is 4 centimetres, and preset multiple is 1 times/centimetre,
Then precision regulation multiple is 4 times.
Preferably, progress bar processing unit 104 includes:Progress bar adjustment unit 1046, for adjusting multiple according to precision
Adjust the broadcasting precision of the progress bar of player;Playback time determining unit 1042, for being existed according to starting point and/or terminating point
Corresponding reproduction time on player, it is determined that regulation after progress bar starting point reproduction time and terminating point broadcasting when
Between.
Can be according to the broadcasting precision of obtained precision regulation multiple regulation progress bar, for example precision regulation multiple is 4 times,
The broadcasting precision of progress bar can be then adjusted to original 4 times, while the length of progress bar is expanded into original 4 times, together
When, can using the reproduction time of a starting point of operation as regulation after progress bar starting reproduction time, and will operation
Termination reproduction time of another starting point reproduction time as the progress bar after regulation, i.e., operated by thumb and forefinger
When, thumb and forefinger operate 2 points clicked on during beginning on a progress bar, and the starting for just corresponding to the progress bar after regulation respectively is broadcast
Put the time and terminate reproduction time.
Preferably, degree of regulation determining unit includes:Operation recognition unit 1026, for identifying what is carried out in player
Operation;Precision query unit 1028, for judging whether operation belongs to predetermined registration operation, if belonging to predetermined registration operation, inquiry and behaviour
Make corresponding precision regulation multiple.
It is associated with specific precision regulation multiple that some operations can be pre-set, such as the double click operation to progress bar
With by the broadcasting precision of progress bar be amplified to twice it is associated, and hit to the three of progress bar operation then with by the broadcasting of progress bar essence
Degree, which is amplified to three times, to be associated, so that user can rapidly adjust the broadcasting precision of progress bar by predetermined registration operation.
The application also proposed a kind of play system, including above-mentioned progress bar precision adjusting device 100.
The application also proposed a kind of terminal, including above-mentioned progress bar precision adjusting device 100 and/or play system.
Fig. 2 shows a kind of flow chart of progress bar precision adjusting method according to an embodiment of the invention.
As shown in Fig. 2 progress bar precision adjusting method according to an embodiment of the invention includes:Step 202, according to identification
To operation determine precision adjust multiple;Step 204, multiple is adjusted according to precision the progress bar of player is adjusted.
In the technical scheme, user can specifically be grasped on a player when by player plays file
Make, by identifying the operation of user, corresponding precision regulation multiple can be obtained, and then multiple is adjusted according to obtained precision,
The progress bar of player can accordingly be adjusted, to change the broadcasting precision of progress bar so that user can be more accurate
Ground adjusts reproduction time on a progress bar.
In the above-mentioned technical solutions, it is preferable that step 202 includes:Step 2022, the position letter of the terminating point of operation is recorded
Breath;Step 2024, terminating point is calculated to the first distance of the first progress bar of player, and according to the first distance and preset multiple
Obtain precision regulation multiple.
In the technical scheme, the terminating point and the intrinsic main progress bar (first of player that can be operated according to user
Progress bar) distance and preset multiple determine that precision adjusts multiple, user's operation can be following at least one or its combination:With
Any point starting point on player, and using any point beyond the first progress bar as the slide of terminating point, taken up an official post with player
Some starting points, and the clicking operation using any point beyond the first progress bar as terminating point.Because preset multiple is to preset
, user can be obtained required precision by the terminating point of control operation and the distance of main progress bar and adjust multiple, such as
Preset multiple is 1 times/centimetre, and the first distance is 2 centimetres, then can obtain precision 2 lis of multiple=1 times/cm x of regulation
Rice=2 times, if user's control first, apart from for 3 centimetres, precision regulation multiple is exactly 3 times, wherein, precision regulation multiple=pre-
If the formula of the distance of multiple × first is one embodiment of the application, user can be arranged as required to precision regulation times
Number, preset multiple and the first incidence relation between three.
In the above-mentioned technical solutions, it is preferable that step 2024 includes:Precision and essence are played according to the first of the first progress bar
Degree regulation multiple obtains the second broadcasting precision;Then step 204 also includes:The second progress is generated for playing precision according to second
Bar.
In the technical scheme, it is (original i.e. in player to generate the second progress bar operation can be adjusted by precision
The new progress bar generated beyond progress bar), the precision of the second progress bar and the position of the terminating point of precision regulation operation to first
The distance of progress bar (i.e. the original progress bar of player) is related, so as to adjust the terminating point of operation by control accuracy
Position adjusts the precision of the second progress bar, for example the precision of the second progress bar is adjusted to four times of precision of the first progress bar
3 times, user then can accurately adjust the playing progress rate of file on the second progress bar, and file regulation easily is arrived into oneself institute
The play time needed, wherein, the relation of the broadcasting precision of the first progress bar and the broadcasting precision of the second progress bar can be, the
Two, which play precision=first, plays precision × (1+ first is apart from × preset multiple), i.e., enters in the terminating point of user's operation to first
When the distance for spending bar is 2 centimetres, second, which plays precision=first, plays precision × 3 times, i.e. the broadcasting precision of the second progress bar is
3 times of the broadcasting precision of first progress bar, so as to which on the second progress bar, user more accurately can be adjusted on progress bar
Sliding block determines reproduction time.
In the above-mentioned technical solutions, it is preferable that step 202 also includes:The positional information of the starting point of operation is recorded, according to
Terminating point plays accuracy computation deviant to the horizontal range of starting point and second;Then step 204 also includes:Sent out according to operation
Benchmark reproduction time when rising on the first progress bar, the reproduction time at the midpoint of the second progress bar is determined, and according to the second progress
The reproduction time and deviant at the midpoint of bar determine to continue reproduction time on the second progress bar, and continue from reproduction time is continued
Play.
In the technical scheme, user can be by the horizontal range of the terminating point of control operation to starting point, to control
Continue time point and the deviant of the reference time point on the first progress bar played, such as the termination operated on second progress bar
The horizontal range that point arrives starting point is 3 centimetres, and second obtained plays precision as the first play precision 3 times, the first broadcasting
Precision is 50 seconds/centimetre, then the second broadcasting precision is 150 seconds/centimetre, i.e. 2.5 minutes/centimetre, according to horizontal range and the
It is minute/centimetre=7.5 minute of 3 cm x 2.5 that two broadcasting precision, which obtain deviant,.Also, when user initiates to operate, first
Time where progress bar top shoe be on the basis of reproduction time, such as 52:30, then the continuation reproduction time determined is
52:30+7:30=60:00.
I.e. user can be operated on the screen of place terminal on a player, and the terminating point of operation is apart from player
Original 2 centimetres of progress bar, the horizontal range of the terminating point of operation to the starting point of operation is 3 centimetres, then can be in player
New progress bar is generated outside original progress bar, the broadcasting precision of newly-generated progress bar is the broadcasting precision of former progress bar
3 times, meanwhile, player is on the second progress bar from 60:00 continues to play.
In the above-mentioned technical solutions, it is preferable that step 202 also includes:The inverse and second that multiple is adjusted according to precision enters
The length of bar is spent, the part to be amplified using benchmark reproduction time as midpoint is determined on the first progress bar;Then step 204 is also wrapped
Include:Determine the reproduction time of the second progress bar starting point according to the reproduction time of the starting point of part to be amplified, and according to waiting to put
The reproduction time of most terminating point determines the reproduction time of the second progress bar terminating point.
In the technical scheme, when user initiates precision regulation operation, the benchmark reproduction time on the first progress bar is (i.e.
Initiate precision regulation operation when the first progress bar on sliding block corresponding to time) both sides subregion, just comprising user need
A bit of reproduction time is accurately determined, so as to which benchmark reproduction time to be corresponded to the midpoint of the second progress bar, can to give birth to
Into the second progress bar have bigger possibility include user need it is accurate determine reproduction time a bit, be easy to user to enter second
The play time needed for oneself is accurately determined on degree bar.And the second progress bar generated can be with the length of the first progress bar
Unanimously, and the second progress bar corresponding part on the first progress bar is then the part using benchmark reproduction time as midpoint, its grow
Degree can adjust multiple to determine according to the length and precision of the second progress bar, for example the second progress bar generated grows 20 centimetres,
Precision regulation multiple is 10, then the length of part to be amplified is 2 centimetres, and amplification is passed through in the part, forms the second progress bar, and
And starting point, terminating point and the reproduction time at midpoint of the part also correspond to starting point, the terminating point of the second progress bar respectively
And midpoint, it is assumed that part to be amplified is 10 on the first progress bar:00 to 15:00 period, account for the percent of the first progress bar
Ten, such as 2 centimetres, and now the broadcasting precision of the first progress bar is 15 seconds/millimeter, and part to be amplified forms the by amplification
After two progress bars, its play precision will be changed into 1.5 seconds/millimeter, if the Minimum sliding distance of sliding block is 1 millimeter, then by
Second progress bar moves up movable slider, can accurately determine 10:03、10:09 equi-time point, and on the first progress bar then only
Can roughly it determine to 10:15、10:30 equi-time points, so as to after operation the second progress bar of generation is adjusted by precision so that
User can accurately determine play time on the second progress bar.
In the above-mentioned technical solutions, it is preferable that step 204 also includes:Judge whether the starting point of part to be amplified exceeds
Whether the starting point of the first progress bar, and/or the terminating point of part to be amplified exceed the terminating point of the first progress bar, and are waiting to put
In the case that most starting point exceeds the starting point of the first progress bar, using the starting point of the first progress bar as starting point,
The part equal with partial-length to be amplified is obtained on first progress bar as part to be amplified, and/or in part to be amplified
In the case that terminating point exceeds the terminating point of the first progress bar, using the terminating point of the first progress bar as terminating point, in the first progress
The part equal with partial-length to be amplified is obtained on bar as part to be amplified.
In the technical scheme, if part starting point to be amplified either terminating point beyond the first progress bar starting point or
Terminating point, then one section of amplification generation second untill starting point or terminating point can only be at most got on the first progress bar
Progress bar, for example, part to be amplified terminating point beyond the terminating point of the first progress bar, the i.e. terminating point of the first progress bar
Reproduction time is 90:00, and reference time point is 87:00, and the length of part to be amplified for determining to obtain is 2 centimetres, the
It is corresponding 10 minutes on one progress bar, then 87:00 both sides respectively take one section of conduct part to be amplified of 5 minutes, then need to obtain
To 82:00 to 92:One section of 00, but 90:00 to 92:00 part will be obviously not present in the first progress bar, then can be with
The terminating point of one progress bar obtains duration one section of conduct part to be amplified of 10 minutes as terminating point, i.e., and 80:00 to 90:00
Part, this period still include 87:Time point near 00, so as to ensure that user can be accurately on the second progress bar
Determine reproduction time.
In the above-mentioned technical solutions, it is preferable that step 202 also includes:According to the positional information of terminating point and default position
Put and judge to improve precision with the incidence relation of precision or reduce precision, when judging unit judges to improve precision in position, according to the
One distance obtains precision regulation multiple with preset multiple, and when position judging unit judges to reduce precision, according to the first distance
Precision regulation multiple is obtained with the inverse of preset multiple.
In the technical scheme, the second progress bar of generation, its play precision can it is smaller than the first progress bar (can be
Regulation playing progress rate faster on second progress bar), can also it is bigger than the first progress bar (can be more smart on the second progress bar
Really adjust playing progress rate), it is specific to determine that improving precision still reduces precision, adjust the termination of operation by control accuracy
Put to determine, for example terminating point is located at the first progress bar upper and lower, then can be determined that, to reduce precision, terminating point enters positioned at first
Spend above bar, then can be determined that to improve precision, wherein, when being judged to improving precision, such as the termination of precision regulation operation
Point is above the first progress bar, and 2 centimetres of the first progress bar of distance, then, can be with if preset multiple is 2 times/centimetre
Determine that precision regulation multiple is 4 times, and the broadcasting precision of the first progress bar is that (i.e. the first progress bar is normal play to 1 double precision
Precision), then the precision of the second progress bar is then 4 double precisions, that is to say, that the content of 10 minutes durations is such as on the first progress bar
Fruit accounts for 1 centimetre on a progress bar, then on the second progress bar, the content of 10 minutes durations of this section is then 4 centimetres, 4 lis of user
The sliding block of regulation progress bar determines required play time in the length of rice, is slided relative to adjusting in 1 centimetre of the length
Block determines required play time, more accurately and conveniently.
When being judged to reducing precision, for example the terminating point of precision regulation operation is located at below the first progress bar, and distance
First 2 centimetres of progress bar, then if preset multiple is 2 times/centimetre, it can determine that precision regulation multiple is 1/4 times, and the
The broadcasting precision of one progress bar is 1 double precision (i.e. the first progress bar is normal play precision), then the precision of the second progress bar
It is then 1/4 double precision, that is to say, that if the content of 10 minutes durations accounts for 20 centimetres on a progress bar on the first progress bar, that
On the second progress bar, the content of 10 minutes durations of this section is then 5 centimetres, and user can adjust in 5 centimetres of length range
Sliding block is saved, relative to the adjusting slider in 20 centimetres of length range, can quickly browse the content in played file, with
And quickly determine play time needed for oneself.
In any of the above-described technical scheme, it is preferable that also include:At the end of the reproduction time of the second progress bar, pre-
If close second during unidentified operation to the second progress bar or when receiving the instruction for closing the second progress bar in the time
Progress bar, and/or in the instruction of the progress bar of closing first received, close the first progress bar.
In the technical scheme, it can be terminated according to preparatory condition, such as the reproduction time of the second progress bar, now second
Sliding block on progress bar is located at the terminating point of the second progress bar, and the content of part to be amplified is played on the first progress bar finishes,
Then close the second progress bar automatically, or within a period of time during unidentified operation to the second progress bar, illustrate user without
Play time need to be accurately determined, then closes the second progress bar automatically, or according to the out code received, close first and enter
Spend bar and/or the second progress bar.
In any of the above-described technical scheme, it is preferable that also include:Instructed according to the preservation received, preserve second and play
Precision, and when recognizing predetermined registration operation, play precision according to second and generate the second progress bar.
In the technical scheme, the precision of the second progress bar of generation can be preserved, it is (such as right when recognizing predetermined registration operation
First progress bar carries out double click operation, the progress bar of long-press first, is suspended in mouse on the first progress bar etc.) when, then can be with
Extension progress bar is automatically generated according to the precision, the precision without exist starting point and ending point adjusts operation, it is possible to
Progress bar of the generation with new precision.
In any of the above-described technical scheme, it is preferable that also include:It is default according to the multiple regulating command received, regulation
Multiple.
In the technical scheme, user can adjust preset multiple as needed, such as can be by times/li of preset multiple 4
Rice is adjusted to 10 times/centimetre, so that in the case where the distance of terminating point to the first progress bar of precision regulation operation is constant, will
Generate the second higher progress bar of precision.
In the above-mentioned technical solutions, it is preferable that step 202 includes:Step 2022, the position letter of the starting point of operation is recorded
The positional information of breath and terminating point;Step 2024, terminating point is calculated to the second distance of its corresponding starting point, and according to the
Two distances obtain precision regulation multiple with preset multiple.
In the technical scheme, operated on progress bar that can be on a player, such as with two on progress bar
Point is two starting points, does the slide to terminating point and starting point on a progress bar, then according to each terminating point to phase
Answer the distance of starting point, can calculate an average distance, for example, the terminating point of thumb on a progress bar to starting point away from
From being 3 centimetres, the terminating point of forefinger on a progress bar to the distance of starting point is 5 centimetres, then average distance is 4 centimetres, and pre-
If multiple is 1 times/centimetre, then precision regulation multiple is 4 times.
In the above-mentioned technical solutions, it is preferable that step 204 includes:Step 2042, multiple regulation is adjusted according to precision to play
The broadcasting precision of the progress bar of device;Step 2044, according to starting point and/or terminating point corresponding reproduction time on a player,
It is determined that the reproduction time of starting point and the reproduction time of terminating point of the progress bar after regulation.
, can be according to the broadcasting precision of obtained precision regulation multiple regulation progress bar, such as essence in the technical scheme
Degree regulation multiple is 4 times, then the broadcasting precision of progress bar can be adjusted to original 4 times, while the length of progress bar is expanded
Open up as original 4 times, meanwhile, it can be broadcast the reproduction time of a starting point of operation as the starting of the progress bar after regulation
Put the time, and termination reproduction time of another starting point reproduction time as the progress bar after regulation will be operated, that is, pass through thumb
When finger and forefinger are operated, thumb and forefinger operate 2 points clicked on during beginning on a progress bar, after just corresponding to regulation respectively
Progress bar starting reproduction time and terminate reproduction time.
In the above-mentioned technical solutions, it is preferable that step 202 includes:Step 2022, the behaviour carried out in player is identified
Make;Step 2024, judge whether operation belongs to predetermined registration operation, if belonging to predetermined registration operation, the inquiry precision corresponding with operation
Adjust multiple.
In the technical scheme, some operations can be pre-set and specific precision regulation multiple is associated such as right
The double click operation of progress bar with by the broadcasting precision of progress bar be amplified to twice it is associated, and to the three of progress bar hit operation then with
The broadcasting precision of progress bar is amplified into three times is associated, so that user can rapidly adjust progress by predetermined registration operation
The broadcasting precision of bar.
Fig. 3 A to Fig. 3 H show the schematic diagram of regulation progress bar precision according to an embodiment of the invention.
As shown in Figure 3A, user carries out slide (by mouse or touch screen) on a player (courses of action can be
Straight line or curve), the positional information of the starting point 302 of slide and the positional information of terminating point 304 are recorded, really
Determine the top that terminating point 304 is located at the first progress bar 308, then carry out precision amplification, calculate the progress bar of terminating point 304 to the first
308 the first distance 306, for example be 2 centimetres, can be to the second of the second progress bar 310 according to times/centimetre of preset multiple 1
Precision is played as the first of the first progress bar 308 play precision 3 times, terminating point 304 is then passed through according to the second broadcasting precision
The second progress bar 310 is generated (it should be noted that the second progress bar can not can also be not parallel to by terminating point 304
One progress bar 308), wherein, the calculation formula for playing precision and preset multiple and the first distance 306 can specifically be set by user
Put, the formula used herein for:Second, which plays precision=first, plays precision × (1+ first is apart from × preset multiple).
As shown in Figure 3 B, after generating the second progress bar 310, precision is adjusted when operation is initiated on the first progress bar 308
Benchmark reproduction time 312 (initiates the time corresponding to sliding block position during precision regulation operation on the first progress bar 308)
Correspond to the midpoint 322 of the second progress bar.
As shown in Figure 3 C, the playing duration of the first progress bar 308 is 00:00 to 90:00, benchmark reproduction time 312 is 52:
30, the first progress bar 308 can be obtained by adjusting multiple 3 (ratio of the i.e. second broadcasting precision and the first broadcasting precision) according to precision
On region to be amplified 314 when a length of 30 minutes, i.e., (90:00-00:00)/3=30:00, then in benchmark reproduction time
Both sides respectively take the half of the duration of region to be amplified 314, i.e., 15 minutes, and the two parts got are merged to obtain region to be amplified
314, at that time a length of 37:30 to 67:30.
The duration of the starting point of region to be amplified 314 is corresponded to the starting point of the second progress bar 310, by region to be amplified
The duration of 314 terminating points corresponds to the terminating point of the second progress bar 310, so as to complete the determination of the second progress bar.
As shown in Figure 3 D, the water that terminating point 304 arrives starting point 302 can also be calculated according to the positional information of starting point 302
Flat distance 316, for example be 3 centimetres.
As shown in FIGURE 3 E, precision (30 minutes/12 centimetres=2.5 minutes/li are played according to horizontal range 316 and second
Rice), it is minute/centimetre=7.5 minute of 3 cm x 2.5 to obtain deviant, so that it is determined that continuous reproduction time 318 of being adopted as a child is 52:30
+7:30=60:00.
As illustrated in Figure 3 F, set if user and judge drop if the terminating point of precision regulation operation is located at below the first progress bar
Low precision, then precision adjusts multiple=1/ (the first distance × preset multiple), for example the first distance 306 is 1 centimetre, is preset again
Number is 2 times/centimetre, then precision regulation multiple is 1/2 times, i.e. the broadcasting precision of the second progress bar 310 is the first progress bar 308
Broadcasting precision half, then the reproduction time of the starting point of the second progress bar 310 generated is 00:00, the broadcasting of terminating point
Time is 90:00, and the reproduction time at the midpoint of the second progress bar 310 is identical with the reproduction time at the midpoint of the first progress bar,
It is 45:00, the length of the second progress bar 310 is the half of the first progress bar 308, and user can be on the second progress bar 310
Sliding block is dragged, so as to realize the quick regulation of reproduction time.
As shown in Fig. 3 G and Fig. 3 H, user can also pre-set a regulation multiple, be carried out in advance whenever recognizing user
If during operation, the broadcasting precision of the first progress bar 308 is just adjusted according to the regulation multiple, without generating the second progress bar
310, for example the regulation multiple set is 3 times, then when recognizing user and double-clicking the operation of the first progress bar 308, (user can
It is suspended in first with the related predetermined registration operation of the precision for setting to adjusting progress bar, such as the first progress bar of long-press 308, mouse and enters
Spend on bar 308), the reproduction time for determining the target point 330 of double click operation is 52:30, it can be determined again according to regulation multiple 3
With 52 on first progress bar 308:30 seconds are midpoint, and when a length of 00:00 to 90:1/3 1 sections of 00 are region to be amplified 314,
52:30 both sides respectively take the half of the duration of region to be amplified 314, i.e., 15 minutes, and the two parts got are merged to obtain
Region to be amplified 314, at that time a length of 37:30 to 67:30, by 37:30 seconds starting points as the progress bar 332 after regulation are broadcast
The time is put, by 67:The reproduction time of 30 seconds terminating points as the progress bar 332 after regulation.The progress bar of user after adjustment
Sliding block is dragged on 332 and adjusts playing progress rate, can accurately control the playing progress rate of file, it is accurate and to be able to conveniently find sense emerging
The play time of interest.
Fig. 4 A to Fig. 4 C show that regulation in the terminal according to an embodiment of the invention plays the schematic diagram of precision.
Terminal 400 according to an embodiment of the invention can be the touch-screen equipments such as smart mobile phone, tablet personal computer, and user can be with
When by 400 played file of terminal, the regulation of broadcasting precision is realized by contact action, certainly, according to the reality of the present invention
The terminal 400 for applying example can also be the equipment by mouse action such as notebook computer, desktop computer, and user can be existed by mouse
It is operable to realize the regulation of playing progress rate on player in terminal 400.
As shown in Figure 4 A, precision regulation operation is described exemplified by sentencing smart mobile phone for this, and operation therein is for it
He is equally applicable equipment.Assuming that player in terminal 400 is full of the display screen of terminal 400, and progress bar and player
Equal length.
Only exist the first progress bar 308 in the case of normal play, in player, the file played when a length of 00:
00 to 90:00, when user wants the 48th of the file that viewing is playing:During content at 45, by dragging the first progress bar
Sliding block on 308, reproduction time can only navigate to 48:30 and 48:50, and the time that can not be navigated between this 2 points, i.e., without
Method is pin-pointed to the play time 48 that user wants viewing:45.
User can select a starting point 302 (can also be using any point on player to rise on the first progress bar 308
Initial point, first progress bar when selecting starting point 302 conveniently to determine that precision regulation operation is initiated on the first progress bar 308
Benchmark reproduction time on 308, now benchmark reproduction time is the corresponding time on the first progress bar 308 of starting point 302) enter
Row precision regulation operation (can be drag operation, clicking operation etc., operation trace can be that straight line can also be curve), record
The positional information of the terminating point 304 of lower precision regulation operation, and base during precision regulation operation initiation on the first progress bar 308
Quasi- reproduction time, the first distance of the progress bar of terminating point 304 to the first 308 is gone out according to the positional information calculation of terminating point 304
306, such as 2 centimetres, it is then determined that (may be considered the second progress bar herein by starting point 302 and perpendicular to first straight line
310) the 3rd straight line (being not drawn into figure) and the intersection point 324 of first straight line, are terminated according to the positional information calculation of terminating point 304
The second distance 316 of the 304 to the second intersection point 324 of point, for example be 3 centimetres.
As shown in Figure 4 B, precision regulation multiple is calculated according to the first distance 306 and preset multiple (such as 1 times/centimetre)
For=1+ first apart from × preset multiple=3 times, that is, the precision of the second progress bar 310 generated is the precision of the first progress bar 308
3 times, according to the benchmark reproduction time (such as 48 on the first progress bar 308:35) region to be amplified 314, is determined, due to second
The precision of progress bar 310 is 3 times of the first progress bar 308, and the length of the second progress bar 310 and the first progress bar 308
Equal length, it is thus determined that with 48 on the first progress bar 308:35 seconds for midpoint when a length of 30:00 region is area to be amplified
Domain 314, reproduction time corresponding to the starting point of region to be amplified 314 are 33:35, reproduction time corresponding to cut off is 63:35,
The starting of the reproduction time of the second progress bar 310, i.e. the second progress bar 310 is determined according to the reproduction time of region to be amplified 314
The reproduction time of point is 33:35, the reproduction time at midpoint is 48:35, the reproduction time of cut off is 63:35.
As shown in Figure 4 C, according to broadcasting accuracy computation deviant=3 centimetre of the progress bar 310 of second distance 316 and second
× 2.5 minute/centimetre=7.5 minute are (it is assumed herein that the first broadcasting precision of the first progress bar 308 is 7.5 minutes/centimetre, then
The second of second progress bar 310 plays precision=first and plays precision/precision regulation multiple), then according to the second progress bar 310
Midpoint reproduction time and deviant the 3rd reproduction time, i.e., 48 are determined on the second progress bar:35+7:30=56:05, then
From 56:05 continues to play.It can be seen that length is that fragment is played corresponding to 1 centimetre of one section of region on the first progress bar 308, the
On two progress bars 310 corresponding length be 3 centimetres, user can not be accurately positioned on the first progress bar 308 48:45 when
Between point, then relatively accurate positioning can be carried out on the second progress bar.
Fig. 5 shows the particular flow sheet of progress bar precision adjusting method according to an embodiment of the invention.
As shown in figure 5, progress bar precision adjusting method according to an embodiment of the invention specifically includes:
Step 502, play time needed for the sliding block coarse localization on main progress bar (equivalent to the first progress bar) is dragged;
Step 504, whether required play time is navigated to by the sliding block dragged on main progress bar, if having positioned,
Into step 510, if no-fix, into step 506;
Step 506, the precision regulation operation of user, and the positional information of the terminating point of registration accuracy regulation operation are identified,
Precision multiplication factor is determined according to the distance and preset multiple of terminating point to the second progress bar, and then obtains broadcasting for the second progress bar
Spermiation degree;
Step 508, according to distance (the i.e. above-mentioned second distance, when the second progress bar of terminating point to the second progress bar midpoint
It is parallel with the first progress bar, and length is equal with the first progress bar, then by the midpoint of the first progress bar to the second progress bar
The intersection point for doing vertical line and the second progress bar is exactly the midpoint of the second progress bar) and the broadcasting accuracy computation of the second progress bar offset
Value, then determine to continue reproduction time according to the reproduction time at the second progress bar midpoint and deviant;
Step 510, redirected according to the position of main progress bar top shoe, or continue to broadcast according to what is determined after regulation broadcasting precision
Putting the time is redirected, to continue to play current file.
Technical scheme is described in detail above in association with accompanying drawing, it is contemplated that in correlation technique, adjust playing progress rate
It is difficult to be accurately positioned the play time needed for user.By the technical scheme of the application, next life can be operated according to user
Into the progress bar with new broadcasting precision, and then playing progress rate is adjusted exactly on newly-generated progress bar.
In the present invention, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint are relative
Importance.Term " multiple " refers to two or more, is limited unless otherwise clear and definite.
According to the embodiment of the present invention, a kind of program production being stored in nonvolatile machine-readable media is additionally provided
Product, for the regulation of player progress bar, described program product includes being used for the machine for making computer system perform following steps
Executable instruction:The positional information of the terminating point of operation recognized is recorded, calculates the terminating point to the of the player
First distance of one progress bar, and the precision is obtained with preset multiple according to first distance and adjusts multiple.
According to the embodiment of the present invention, a kind of non-volatile machine readable media is additionally provided, is stored with for player
The program product of the regulation of progress bar, the machine that described program product includes being used to make computer system perform following steps can be held
Row instruction:The positional information of the terminating point of operation recognized is recorded, calculate the terminating point to the player first enters
The first distance of bar is spent, and the precision is obtained with preset multiple according to first distance and adjusts multiple.
According to the embodiment of the present invention, a kind of machine readable program is additionally provided, described program makes machine perform as above
Any described progress bar precision adjusting method in the technical scheme.
According to the embodiment of the present invention, a kind of storage medium for being stored with machine readable program is additionally provided, wherein, institute
Stating machine readable program causes machine to perform any described progress bar precision adjusting method in technical scheme as described above.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (26)
- A kind of 1. progress bar precision adjusting device, applied to player, it is characterised in that including:Degree of regulation determining unit, for determining that precision adjusts multiple according to the operation recognized;Progress bar processing unit, the progress bar of the player is adjusted for adjusting multiple according to the precision;The degree of regulation determining unit includes:Recording unit, the positional information of the terminating point for recording the operation;Computing unit, for calculating the terminating point to the first distance of the first progress bar of the player, and according to described First distance obtains the precision regulation multiple with preset multiple.
- 2. progress bar precision adjusting device according to claim 1, it is characterised in that the progress bar processing unit bag Include:Progress bar generation unit,Wherein, the computing unit is additionally operable to play precision and precision regulation multiple according to the first of first progress bar Obtain the second broadcasting precision;The progress bar generation unit is used to play precision the second progress bar of generation according to described second.
- 3. progress bar precision adjusting device according to claim 2, it is characterised in that the progress bar processing unit also wraps Include:Playback time determining unit,Wherein, the recording unit is additionally operable to record the positional information of the starting point of the operation;The computing unit is additionally operable to play essence according to the horizontal range of the terminating point to the starting point and described second Degree calculates deviant;Benchmark reproduction time described in when the playback time determining unit is used to be initiated according to the operation on the first progress bar, Determine the reproduction time at the midpoint of second progress bar, and according to the reproduction time at the midpoint of second progress bar and described Deviant determines to continue reproduction time on second progress bar, and continues to play from the continuation reproduction time.
- 4. progress bar precision adjusting device according to claim 3, it is characterised in that the computing unit is additionally operable to basis The length of the second progress bar reciprocal and described of the precision regulation multiple, is determined with the benchmark on first progress bar To be amplified part of the reproduction time as midpoint;The playback time determining unit determines second progress according to the reproduction time of the starting point of the part to be amplified The reproduction time of bar starting point, and determine that second progress bar is whole according to the reproduction time of the terminating point of the part to be amplified The reproduction time of stop.
- 5. progress bar precision adjusting device according to claim 4, it is characterised in that the progress bar processing unit also wraps Include:Amplify alignment unit, for judging whether the starting point of the part to be amplified exceeds the starting of first progress bar Whether point, and/or the terminating point of the part to be amplified exceed the terminating point of first progress bar, and in the portion to be amplified In the case that the starting point divided exceeds the starting point of first progress bar, using the starting point of first progress bar as starting Point, the part equal with the partial-length to be amplified is obtained on first progress bar as the part to be amplified, and/ Or in the case where the terminating point of the part to be amplified exceeds the terminating point of first progress bar, with first progress bar Terminating point be terminating point, obtained on first progress bar described in equal with the partial-length to be amplified part conduct Part to be amplified.
- 6. progress bar precision adjusting device according to claim 1, it is characterised in that the degree of regulation determining unit is also Including:Position judgment unit, judge for the positional information according to the terminating point and the incidence relation of default position and precision Improve precision or reduce precision,Wherein, the computing unit the position judgment unit judge improve precision when, according to first distance with it is described Preset multiple obtains the precision regulation multiple, and when the position judgment unit judges to reduce precision, according to described first The inverse of distance and the preset multiple obtains the precision regulation multiple.
- 7. the progress bar precision adjusting device according to any one of claim 2 to 5, it is characterised in that also include:Progress bar closing unit, at the end of the reproduction time of second progress bar, unidentified in preset time arrive During operation to second progress bar or when receiving the instruction for closing second progress bar, second progress is closed Bar, and/or in the instruction of closing first progress bar received, close first progress bar.
- 8. the progress bar precision adjusting device according to any one of claim 2 to 5, it is characterised in that also include:Memory cell, for playing precision according to the preservation instruction received, preservation described second,Wherein, the progress bar generation unit is additionally operable to when recognizing predetermined registration operation, and precision generation is played according to described second Second progress bar.
- 9. the progress bar precision adjusting device according to any one of claim 2 to 5, it is characterised in that also include:Multiple adjustment unit, for according to the multiple regulating command received, adjusting the preset multiple.
- 10. progress bar precision adjusting device according to claim 1, it is characterised in that the degree of regulation determining unit Including:Recording unit, for recording the positional information of at least one starting point of the operation on the progress bar of the player With the positional information of corresponding terminating point;Computing unit, for calculating the terminating point to the second distance of its corresponding starting point, arrived according to each terminating point The second distance of its corresponding starting point obtains average distance, and the precision is obtained according to the average distance and preset multiple Adjust multiple.
- 11. progress bar precision adjusting device according to claim 10, it is characterised in that the progress bar processing unit bag Include:Progress bar adjustment unit, the broadcasting precision of the progress bar for adjusting the multiple regulation player according to the precision;Playback time determining unit, for according to the starting point and/or the terminating point on the player corresponding to broadcast The time is put, it is determined that the reproduction time of starting point and the reproduction time of terminating point of the progress bar after regulation.
- 12. progress bar precision adjusting device according to claim 1, it is characterised in that the degree of regulation determining unit Including:Operation recognition unit, for identifying the operation carried out in the player;Precision query unit, for judge it is described operation whether belong to predetermined registration operation, if belonging to predetermined registration operation, inquiry with it is described Operate corresponding precision regulation multiple.
- 13. a kind of play system, it is characterised in that including the progress bar precision regulation any one of claim 1 to 12 Device.
- A kind of 14. terminal, it is characterised in that including the progress bar precision adjusting device any one of claim 1 to 12, Or the play system described in claim 13.
- A kind of 15. progress bar precision adjusting method, applied to player, it is characterised in that including:Step 202, determine that precision adjusts multiple according to the operation recognized;Step 204, multiple is adjusted according to the precision progress bar of the player is adjusted;The step 202 includes:Step 2022, the positional information of the terminating point of the operation is recorded;Step 2024, the terminating point is calculated to the first distance of the first progress bar of the player, and according to described first Distance obtains the precision regulation multiple with preset multiple.
- 16. progress bar precision adjusting method according to claim 15, it is characterised in that the step 2024 includes:Root The second broadcasting precision is obtained according to the first broadcasting precision and precision regulation multiple of first progress bar;The then step 204 also include:The second progress bar is generated for playing precision according to described second.
- 17. progress bar precision adjusting method according to claim 16, it is characterised in that the step 202 also includes:Note The positional information of the starting point of the operation is recorded, according to the horizontal range of the terminating point to the starting point and described second Play accuracy computation deviant;Then the step 204 also includes:Base described in when being initiated according to the operation on the first progress bar Quasi- reproduction time, determines the reproduction time at the midpoint of second progress bar, and broadcasting according to the midpoint of second progress bar Put time and the deviant to determine to continue reproduction time on second progress bar, and continue from the continuation reproduction time Play.
- 18. progress bar precision adjusting method according to claim 17, it is characterised in that the step 202 also includes:Root According to the length of the second progress bar reciprocal and described of precision regulation multiple, determined on first progress bar with the base To be amplified part of the quasi- reproduction time as midpoint;Then the step 204 also includes:According to the starting point of the part to be amplified Reproduction time determine the reproduction time of the second progress bar starting point, and broadcasting according to the terminating point of the part to be amplified Put the reproduction time that the time determines the second progress bar terminating point.
- 19. progress bar precision adjusting method according to claim 18, it is characterised in that the step 204 also includes:Sentence Whether the starting point of the part to be amplified of breaking exceeds the starting point of first progress bar, and/or the part to be amplified Whether terminating point exceeds the terminating point of first progress bar, and the starting point in the part to be amplified is entered beyond described first In the case of the starting point for spending bar, using the starting point of first progress bar as starting point, obtained on first progress bar The part equal with the partial-length to be amplified is as the part to be amplified, and/or the termination in the part to be amplified In the case that point exceeds the terminating point of first progress bar, using the terminating point of first progress bar as terminating point, described The part equal with the partial-length to be amplified is obtained on first progress bar as the part to be amplified.
- 20. progress bar precision adjusting method according to claim 15, it is characterised in that the step 202 also includes:Root Judge to improve precision according to the positional information and the incidence relation of default position and precision of the terminating point or reduce precision, in institute When rheme puts judging unit judgement raising precision, the precision regulation times is obtained according to first distance and the preset multiple Number, and when the position judgment unit judges to reduce precision, obtained according to first distance and the reciprocal of the preset multiple Multiple is adjusted to the precision.
- 21. the progress bar precision adjusting method according to any one of claim 16 to 19, it is characterised in that also include: When at the end of the reproduction time of second progress bar, the unidentified operation to second progress bar in preset time when Or when receiving the instruction for closing second progress bar, second progress bar is closed, and/or in the closing institute received When stating the instruction of the first progress bar, first progress bar is closed.
- 22. the progress bar precision adjusting method according to any one of claim 16 to 19, it is characterised in that also include: Instructed according to the preservation received, preserve described second and play precision, and when recognizing predetermined registration operation, broadcast according to described second Spermiation degree generates second progress bar.
- 23. the progress bar precision adjusting method according to any one of claim 16 to 19, it is characterised in that also include: According to the multiple regulating command received, the preset multiple is adjusted.
- 24. progress bar precision adjusting method according to claim 15, it is characterised in that the step 202 includes:Step 2022, the positional information of the starting point of the operation and the positional information of terminating point are recorded;Step 2024, calculate the terminating point to the second distance of its corresponding starting point, and according to the second distance with Preset multiple obtains the precision regulation multiple.
- 25. progress bar precision adjusting method according to claim 24, it is characterised in that the step 204 includes:Step 2042, the broadcasting precision of the progress bar of the multiple regulation player is adjusted according to the precision;Step 2044, according to the starting point and/or the terminating point on the player corresponding reproduction time, it is determined that adjust The reproduction time of the starting point of progress bar after section and the reproduction time of terminating point.
- 26. progress bar precision adjusting method according to claim 15, it is characterised in that the step 202 includes:Step 2022, the operation carried out in the player is identified;Step 2024, judge whether the operation belongs to predetermined registration operation, if belonging to predetermined registration operation, inquiry is relative with the operation The precision regulation multiple answered.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/083670 WO2015039288A1 (en) | 2013-09-17 | 2013-09-17 | Progress bar precision adjusting device and method, playing system and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104903961A CN104903961A (en) | 2015-09-09 |
CN104903961B true CN104903961B (en) | 2017-12-22 |
Family
ID=52688083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201380068889.0A Active CN104903961B (en) | 2013-09-17 | 2013-09-17 | Progress bar precision adjusting device, method and play system and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104903961B (en) |
WO (1) | WO2015039288A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933751A (en) * | 2016-04-28 | 2016-09-07 | 北京小米移动软件有限公司 | Method and device for adjusting play progress of media file |
CN106569701B (en) * | 2016-10-31 | 2020-12-11 | 努比亚技术有限公司 | Display terminal control device and method |
CN107132972A (en) * | 2017-04-07 | 2017-09-05 | 广东欧珀移动通信有限公司 | Adjusting method, device and the mobile terminal of progress value |
US10516291B2 (en) * | 2017-04-26 | 2019-12-24 | Vertiv It Systems, Inc. | Dongle having rechargeable, supercapacitor based power supply |
CN108958637A (en) * | 2018-08-13 | 2018-12-07 | 北京奇艺世纪科技有限公司 | Progress adjusting method and device |
CN110895441A (en) * | 2018-09-13 | 2020-03-20 | 中兴通讯股份有限公司 | Progress bar control method and device, electronic device and medium |
CN110677720B (en) * | 2019-09-26 | 2021-09-03 | 腾讯科技(深圳)有限公司 | Method, device and equipment for positioning video image frame and computer storage medium |
CN112581202B (en) * | 2019-09-29 | 2024-08-02 | 北京向上一心科技有限公司 | Display method and device for order placing interface, computer equipment and storage medium |
CN110719531A (en) * | 2019-10-16 | 2020-01-21 | 维沃移动通信有限公司 | Video playing progress adjusting method and electronic equipment |
CN113467679A (en) * | 2021-06-11 | 2021-10-01 | 北京达佳互联信息技术有限公司 | Multimedia resource display progress adjusting method, device, equipment and storage medium |
CN113934423A (en) * | 2021-10-12 | 2022-01-14 | 北京沃东天骏信息技术有限公司 | Method and device for generating progress bar and non-volatile computer-readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664032A (en) * | 2012-05-07 | 2012-09-12 | 乐视网信息技术(北京)股份有限公司 | Live broadcast time shifting play progress slider and control method thereof |
CN103021439A (en) * | 2011-09-27 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Method and device for accurately positioning file playback progress |
CN103294333A (en) * | 2012-03-02 | 2013-09-11 | 联想(北京)有限公司 | Method and electric device for controlling multimedia file playing |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070177804A1 (en) * | 2006-01-30 | 2007-08-02 | Apple Computer, Inc. | Multi-touch gesture dictionary |
KR101368713B1 (en) * | 2006-11-20 | 2014-03-04 | 삼성전자주식회사 | Broadcast receiver and display method |
KR20090050577A (en) * | 2007-11-16 | 2009-05-20 | 삼성전자주식회사 | User interface for displaying and playing multimedia contents and apparatus comprising the same and control method thereof |
CN102426841A (en) * | 2009-10-31 | 2012-04-25 | 华为技术有限公司 | Device, method and system for positioning played video |
WO2014194527A1 (en) * | 2013-06-08 | 2014-12-11 | 华为终端有限公司 | Method for controlling multimedia browsing progress and terminal |
-
2013
- 2013-09-17 CN CN201380068889.0A patent/CN104903961B/en active Active
- 2013-09-17 WO PCT/CN2013/083670 patent/WO2015039288A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103021439A (en) * | 2011-09-27 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Method and device for accurately positioning file playback progress |
CN103294333A (en) * | 2012-03-02 | 2013-09-11 | 联想(北京)有限公司 | Method and electric device for controlling multimedia file playing |
CN102664032A (en) * | 2012-05-07 | 2012-09-12 | 乐视网信息技术(北京)股份有限公司 | Live broadcast time shifting play progress slider and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104903961A (en) | 2015-09-09 |
WO2015039288A1 (en) | 2015-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104903961B (en) | Progress bar precision adjusting device, method and play system and terminal | |
CN107251550B (en) | Information processing program and information processing method | |
US9927946B2 (en) | Method and device for progress control | |
CN107771314A (en) | Apparatus and method for carrying out video scaling by selecting and tracking image-region | |
CN106126052A (en) | Text selection method and device | |
CN103927107B (en) | A kind of information processing method and electronic equipment | |
US9354797B2 (en) | Progress adjustment method and electronic device | |
CN104378686B (en) | The control method and device of audio and video playing progress | |
US10058755B2 (en) | Curling analysis method, and recording medium and device for performing the same | |
CN108156407A (en) | A kind of video clipping method and terminal | |
CN106098060A (en) | The correction processing method of voice and device, the device of correction process for voice | |
CN106776890A (en) | The method of adjustment and device of video playback progress | |
CN104038834A (en) | Video positioning method and device | |
CN107818180A (en) | Video correlating method, image display method, device and storage medium | |
CN110703976B (en) | Clipping method, electronic device, and computer-readable storage medium | |
CN105183214B (en) | Touch control operation identifies and response method, device and game control method, device | |
CN105808142A (en) | Method and apparatus for adjusting player of terminal device | |
CN103777856B (en) | A kind of method, system and remote terminal that touch event is processed into remote control gesture | |
CN105792000A (en) | Video recommendation method and device | |
CN107333182A (en) | The player method and device of multimedia file | |
JP2008123673A5 (en) | ||
CN105893816A (en) | Video playing control method and apparatus | |
CN104331248B (en) | A kind of music player and its interface display method, mobile terminal | |
TWI354226B (en) | Input detection systems and methods for display pa | |
CN105353962B (en) | A kind of control method by sliding list and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |