WO2015039288A1 - Progress bar precision adjusting device and method, playing system and terminal - Google Patents

Progress bar precision adjusting device and method, playing system and terminal Download PDF

Info

Publication number
WO2015039288A1
WO2015039288A1 PCT/CN2013/083670 CN2013083670W WO2015039288A1 WO 2015039288 A1 WO2015039288 A1 WO 2015039288A1 CN 2013083670 W CN2013083670 W CN 2013083670W WO 2015039288 A1 WO2015039288 A1 WO 2015039288A1
Authority
WO
WIPO (PCT)
Prior art keywords
progress bar
precision
point
time
starting point
Prior art date
Application number
PCT/CN2013/083670
Other languages
French (fr)
Chinese (zh)
Inventor
范俊君
嵇晓声
徐思伟
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Priority to CN201380068889.0A priority Critical patent/CN104903961B/en
Priority to PCT/CN2013/083670 priority patent/WO2015039288A1/en
Publication of WO2015039288A1 publication Critical patent/WO2015039288A1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 

Definitions

  • the present invention relates to the field of player technology, and in particular, to a progress bar precision adjustment device, a progress bar precision adjustment method, a playback system, and a terminal. Background technique
  • the progress control of the player on the terminal is mostly controlled based on the progress bar, that is, the progress of the playback is adjusted by dragging the slider on the progress bar.
  • the slider on the progress bar generally has a minimum moving distance, such as 1 mm, the minimum moving distance of the slider is 1 mm each time the user drags the slider, for example, the player is playing a 180 minute.
  • Video the user wants to watch the 33:40 second screen, first estimate the approximate position of the screen at that point in time on the progress bar, about 1/6 of the progress bar, then drag the slider to it.
  • the invention is based on the above problems, and proposes a progress bar precision adjustment technology, which can determine the precision adjustment multiple according to the user operation, and then adjust the playback precision of the progress bar by the precision adjustment multiple, so that the user can adjust the progress bar. Accurately determine the playback time.
  • the present invention provides a progress bar precision adjusting apparatus, including: an adjustment precision determining unit, configured to determine a precision adjustment multiple according to the identified operation; a progress bar processing unit, configured to adjust a multiple of the precision according to the precision The progress bar of the player is adjusted.
  • the user when the user plays a file through the player, the user can perform a specific operation on the player, and by recognizing the operation of the user, the corresponding precision adjustment multiple can be obtained, and then the adjustment ratio can be adjusted according to the obtained precision, and the playback can be performed.
  • the progress bar of the device is adjusted accordingly to change the playing precision of the progress bar, so that the user can adjust the playing time more accurately on the progress bar.
  • the adjustment precision determining unit includes: a recording unit, configured to record position information of a termination point of the operation; and a calculating unit, configured to calculate the termination point to the player a first distance of the progress bar, and the precision adjustment multiple is obtained according to the first distance and the preset multiple.
  • the precision adjustment multiple may be determined according to the distance between the termination point of the user operation and the first main progress bar of the player (the first progress bar) and the preset multiple, and the user operation may be at least one of the following or a combination thereof : a starting point of any point on the player, and a sliding operation with any point other than the first progress bar as a starting point, starting point at any point on the player, and any point other than the first progress bar Click to terminate the point. Since the preset multiple is preset, the user can obtain the desired precision adjustment multiple by controlling the distance between the end point of the operation and the main progress bar, for example, the preset multiple is 1 time/cm, and the first distance is 2 cm.
  • the first distance formula is only one embodiment of the present application, the user can Set the relationship between the precision adjustment multiple, the preset multiple and the first distance as needed.
  • the progress bar processing unit includes: a progress bar generating unit, wherein the calculating unit is further configured to obtain, according to the first playing precision of the first progress bar and the precision adjusting multiple a second play precision; the progress bar generating unit is configured to generate a second progress bar according to the second play precision.
  • the second progress bar (ie, a new progress bar generated outside the player's original progress bar) may be generated by the precision adjustment operation, and the accuracy of the second progress bar and the position of the end point of the precision adjustment operation
  • the distance to the first progress bar (ie, the original progress bar of the player) is related, so that the accuracy of the second progress bar can be adjusted by controlling the position of the end point of the precision adjustment operation, for example, adjusting the accuracy of the second progress bar to
  • the accuracy of the first progress bar is four times 3 times, and the user can accurately adjust the playback progress of the file on the second progress bar, and conveniently adjust the file to the playback time point required by himself, wherein the first progress bar
  • the progress bar processing unit further includes: a play time determining unit, wherein the recording unit is further configured to record position information of a starting point of the operation; the calculating unit is further configured to: Calculating an offset value according to the horizontal distance from the termination point to the starting point and the second playing precision; the playing time determining unit is configured to use a reference playing time on the first progress bar according to the operation initiation Determining a play time of a midpoint of the second progress bar, and determining a resume play time on the second progress bar according to a play time of the midpoint of the second progress bar and the offset value, and The resume play time continues to play.
  • a play time determining unit wherein the recording unit is further configured to record position information of a starting point of the operation; the calculating unit is further configured to: Calculating an offset value according to the horizontal distance from the termination point to the starting point and the second playing precision; the playing time determining unit is configured to use a reference playing time on the first progress bar according to the operation initiation Determining a play time of
  • the user can control the offset value of the time point of continuing playback on the second progress bar and the reference time point on the first progress bar by controlling the horizontal distance from the termination point of the operation to the starting point, for example, the operation
  • the horizontal distance from the end point to the starting point is 3 cm
  • the obtained second playing precision is 3 times of the first playing precision
  • the first playing precision is 50 sec/cm
  • the second playing precision is 150 sec/cm. That is, 2.5 minutes/cm
  • the user can operate on the screen of the terminal where the player is located, the end point of the operation is 2 cm from the original progress bar of the player, and the horizontal distance from the end point of the operation to the starting point of the operation is 3 cm, then it can be played.
  • a new progress bar is generated outside the original progress bar.
  • the newly generated progress bar plays three times faster than the original progress bar.
  • the player continues to play from 60: 00 on the second progress bar.
  • the calculating unit is further configured to determine, according to the reciprocal of the precision adjustment multiple and the length of the second progress bar, on the first progress bar, a portion to be enlarged of the midpoint; the play time determining unit determines a play time of the start point of the second progress bar according to a play time of the start point of the to-be-magnified portion, and plays according to the end point of the to-be-amplified portion The time determines the play time of the second progress bar termination point.
  • the reference play time on the first progress bar (ie, the time corresponding to the slider on the first progress bar when the precision adjustment operation is initiated) is a partial area on both sides. Including the point that the user needs to accurately determine the playing time, so that the reference playing time is corresponding to the midpoint of the second progress bar, so that the generated second progress bar has a greater possibility to include a point that the user needs to accurately determine the playing time, which is convenient for the user. Accurately determine the playback time point you need on the second progress bar.
  • the generated second progress bar may be consistent with the length of the first progress bar, and the corresponding part of the second progress bar on the first progress bar is the part with the reference playing time as the midpoint, and the length may be according to the second
  • the length of the progress bar and the precision adjustment factor are determined, for example, the generated second progress bar is 20 cm long, the precision adjustment multiple is 10, and the length of the portion to be enlarged is 2 cm, and the portion is enlarged to form a second progress bar, and
  • the starting point, ending point and midpoint playing time of the part also correspond to the starting point, ending point and midpoint of the second progress bar, respectively, assuming that the part to be enlarged is 10: 00 to 15: 00 on the first progress bar.
  • the time period which is 10% of the first progress bar, such as 2 cm, and the playback precision of the first progress bar is 15 seconds/mm, and the playback precision is after the enlarged portion is enlarged to form the second progress bar.
  • the progress bar can only be roughly determined to the time point of 10:15, 10:30, etc., so that after the second progress bar is generated by the precision adjustment operation, the user can accurately determine the playing time on the second progress bar. Point.
  • the progress bar processing unit further includes: an amplification calibration unit, configured to determine whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or Whether the end point of the portion to be enlarged exceeds the end point of the first progress bar, and in a case where the starting point of the portion to be enlarged exceeds the starting point of the first progress bar, with the first progress bar a starting point is a starting point, a portion equal to the length of the portion to be enlarged is obtained as the portion to be enlarged on the first progress bar, and/or a termination point of the portion to be enlarged exceeds the first progress In the case of the termination point of the strip, the end point of the first progress bar is used as the end point, and a portion equal to the length of the portion to be enlarged is acquired on the first progress bar as the portion to be enlarged.
  • an amplification calibration unit configured to determine whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar
  • the starting point or the ending point of the portion to be enlarged exceeds the starting point or the ending point of the first progress bar, then at most the first step bar can obtain the starting point or the ending point.
  • the second progress bar for example, the end point of the portion to be enlarged exceeds the end point of the first progress bar, that is, the play time of the end point of the first progress bar is 90: 00, and the reference time point is 87: 00, and the determined time is obtained.
  • the length of the part to be enlarged is 2 cm, corresponding to 10 minutes on the first progress bar, then a section of 5 minutes on each side of 87: 00 is taken as the part to be enlarged, and a section of 82: 00 to 92: 00 is required.
  • the part of 90: 00 to 92: 00 obviously does not exist in the first progress bar, and the end point of the first progress bar can be used as the end point to obtain a section of 10 minutes in length as the part to be enlarged, that is, 80: 00 to 90 :
  • the part of 00, this time still contains the time point around 87: 00, thus ensuring that the user can accurately determine the play time on the second progress bar.
  • the adjustment precision determining unit further includes: a position determining unit, configured to determine, according to the position information of the end point and the preset relationship between the position and the accuracy, to improve accuracy or reduce accuracy, wherein When the position determining unit determines that the accuracy is improved, the calculating unit obtains the precision adjusting multiple according to the first distance and the preset multiple, and when the position determining unit determines the reducing precision, according to the The first distance and the reciprocal of the preset multiple are obtained by the precision adjustment multiple.
  • a position determining unit configured to determine, according to the position information of the end point and the preset relationship between the position and the accuracy, to improve accuracy or reduce accuracy
  • the generated second progress bar can be played with a smaller precision than the first progress bar (ie, the playback progress can be adjusted faster on the second progress bar), or can be larger than the first progress bar (ie, The playback progress can be adjusted more precisely on the second progress bar.
  • whether the accuracy is improved or the accuracy is lowered can be determined by controlling the termination point of the precision adjustment operation. For example, if the termination point is located above and below the first progress bar, it can be determined as If the accuracy is lowered, the termination point is located above the first progress bar, and it can be determined that the accuracy is improved.
  • the precision for example, the end point of the precision adjustment operation is located above the first progress bar, and the distance from the first progress bar is 2 cm.
  • the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 4 times, and the first progress bar has a playback precision of 1 times (that is, the first progress bar is the normal playback precision), then the second progress
  • the accuracy of the bar is 4 times the precision, that is, the content of the 10 minute duration on the first progress bar is in the progress bar. 1 cm, then on the second progress bar, the length of the 10-minute period is 4 cm.
  • the user adjusts the slider of the progress bar within 4 cm of the length to determine the desired playback time point, relative to 1 cm. Adjust the slider within the length to determine the desired playback time point, which is more accurate and convenient.
  • the preset multiple is 2 times/cm
  • the precision adjustment multiple is 1/1 4 times
  • the playback precision of the first progress bar is 1x precision (that is, the first progress bar is normal playback accuracy)
  • the accuracy of the second progress bar is 1/4 times accuracy, that is, if the content of the 10-minute duration on the first progress bar accounts for 20 cm on the progress bar, then on the second progress bar, the content of the 10-minute duration is 5 cm
  • the user The slider can be adjusted over a length of 5 cm, allowing you to view the contents of the playback file faster and to determine your desired playback time point faster than adjusting the slider over a length of 20 cm.
  • the method further includes: a progress bar closing unit, configured to: when the playing time of the second progress bar ends, the second progress bar is not recognized within a preset time Closing the second progress bar upon operation or upon receiving an instruction to close the second progress bar, and/or closing the first progress bar upon receiving an instruction to close the first progress bar .
  • a progress bar closing unit configured to: when the playing time of the second progress bar ends, the second progress bar is not recognized within a preset time Closing the second progress bar upon operation or upon receiving an instruction to close the second progress bar, and/or closing the first progress bar upon receiving an instruction to close the first progress bar .
  • the playing time of the second progress bar ends, at this time, the slider on the second progress bar is located at the end point of the second progress bar, and the part to be enlarged on the first progress bar
  • the second progress bar is automatically closed, or when the operation of the second progress bar is not recognized for a period of time, indicating that the user does not need to accurately determine the playback time point, the second progress bar is automatically closed, or according to the reception.
  • the method further includes: a storage unit, configured to save the second play precision according to the received save instruction, where the progress bar generating unit is further configured to: In operation, the second progress bar is generated according to the second play precision.
  • the accuracy of the generated second progress bar may be saved, when a preset operation is recognized (for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar)
  • a preset operation for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar
  • you wait you can automatically generate an extension progress bar based on the precision, and you can generate a progress bar with new precision without performing the precision adjustment operation with the start point and the end point.
  • the method further includes: a multiple adjustment unit, configured to adjust the preset multiple according to the received multiple adjustment instruction.
  • the user can adjust the preset multiple according to needs, for example, the preset multiple 4 times/cm can be adjusted to 10 times/cm, so that the distance from the end point of the precision adjustment operation to the first progress bar is constant. In the case, a second progress bar with higher precision will be generated.
  • the adjustment precision determining unit includes: a recording unit, configured to record position information of the at least one starting point of the operation on the progress bar of the player and a position of a corresponding termination point a calculation unit, configured to calculate a second distance from the termination point to a corresponding starting point thereof, and obtain an average distance according to the second distance from each of the termination points to a corresponding starting point, according to the average distance and the preset The multiple is obtained by the multiple of the precision adjustment.
  • the operation bar can be operated on the progress bar, for example, two points on the progress bar are used as two starting points, and the sliding operation to the end point and the starting point is performed on the progress bar, then
  • the distance from each termination point to the corresponding starting point can be calculated as an average distance.
  • the distance from the end point of the thumb on the progress bar to the starting point is 3 cm
  • the distance from the end point of the index finger on the progress bar to the starting point is 5 cm
  • the average distance is 4 cm
  • the preset multiple is 1 / cm
  • the precision adjustment factor is 4 times.
  • the progress bar processing unit includes: a progress bar adjusting unit, configured to adjust a playing precision of the progress bar of the player according to the precision adjusting multiple; a playing time determining unit, configured to The starting point and/or the ending point of the playing time on the player determine the playing time of the starting point of the adjusted progress bar and the playing time of the ending point.
  • the playback precision of the progress bar can be adjusted according to the obtained precision adjustment.
  • the precision adjustment multiple is 4 times
  • the playback precision of the progress bar can be adjusted to 4 times
  • the length of the progress bar is expanded.
  • the playing time of one starting point of the operation can be used as the starting playing time of the adjusted progress bar
  • the other starting point playing time is used as the ending playing time of the adjusted progress bar. That is, when the thumb and the index finger are operated, the two points clicked by the thumb and the index finger at the beginning of the operation on the progress bar correspond to the start play time and the end play time of the adjusted progress bar, respectively.
  • the adjustment precision determining unit includes: an operation identifying unit, configured to identify an operation performed in the player; and an accuracy query unit, configured to determine whether the operation belongs to a preset operation, If it belongs to a preset operation, the precision adjustment multiple corresponding to the operation is queried.
  • some operations may be preset to be associated with a specific precision adjustment multiple, such as a double-click operation on the progress bar and a double-folding of the progress of the progress bar, and a three-click operation on the progress bar. Then, the playback precision of the progress bar is enlarged to three times, so that the user can quickly adjust the playback precision of the progress bar by the preset operation.
  • the present application also provides a playback system comprising the progress bar precision adjustment device of any of the above.
  • the present application also proposes a terminal comprising the progress bar precision adjusting device and/or the playing system according to any one of the preceding claims.
  • the present application also provides a method for adjusting the accuracy of the progress bar, which is applied to the player, and includes: Step 202: Determine a precision adjustment multiple according to the identified operation; Step 204, adjust a progress bar of the player according to the precision adjustment multiple Make adjustments.
  • the user when the user plays a file through the player, the user can perform a specific operation on the player, and by recognizing the operation of the user, the corresponding precision adjustment multiple can be obtained, and then the adjustment ratio can be adjusted according to the obtained precision, and the playback can be performed.
  • the progress bar of the device is adjusted accordingly to change the playing precision of the progress bar, so that the user can adjust the playing time more accurately on the progress bar.
  • the step 202 includes: Step 2022, recording location information of a termination point of the operation; Step 2024, calculating a first point of the termination point to a first progress bar of the player a distance, and the precision adjustment multiple is obtained according to the first distance and a preset multiple.
  • the precision adjustment multiple may be determined according to the distance between the termination point of the user operation and the first main progress bar of the player (the first progress bar) and the preset multiple, and the user operation may be at least one of the following or a combination thereof : a starting point of any point on the player, and a sliding operation with any point other than the first progress bar as a starting point, starting point at any point on the player, and any point other than the first progress bar Click to terminate the point. Since the preset multiple is preset, the user can obtain the desired precision adjustment multiple by controlling the distance between the end point of the operation and the main progress bar, for example, the preset multiple is 1 time/cm, and the first distance is 2 cm.
  • the formula is only one embodiment of the present application, and the user can set the relationship between the precision adjustment multiple, the preset multiple and the first distance as needed.
  • the step 2024 includes: obtaining a second playing precision according to the first playing precision of the first progress bar and the precision adjusting multiple; the step 204 further includes: The second playback accuracy generates a second progress bar.
  • the second progress bar (ie, a new progress bar generated outside the player's original progress bar) may be generated by the precision adjustment operation, and the accuracy of the second progress bar and the position of the end point of the precision adjustment operation
  • the distance to the first progress bar (ie, the original progress bar of the player) is related, so that the accuracy of the second progress bar can be adjusted by controlling the position of the end point of the precision adjustment operation, for example, adjusting the accuracy of the second progress bar to
  • the accuracy of the first progress bar is four times 3 times, and the user can accurately adjust the playback progress of the file on the second progress bar, and conveniently adjust the file to the playback time point required by himself, wherein the first progress bar
  • the step 202 further includes: recording location information of a starting point of the operation, and calculating an offset according to a horizontal distance from the termination point to the starting point and the second playing precision Value; then the step The step 204 further includes: determining a play time of the midpoint of the second progress bar according to the reference play time on the first progress bar when the operation is initiated, and playing according to the midpoint of the second progress bar The time and the offset value determine a resume play time on the second progress bar and continue playback from the resume play time.
  • the user can control the offset value of the time point of continuing playback on the second progress bar and the reference time point on the first progress bar by controlling the horizontal distance from the termination point of the operation to the starting point, for example, the operation
  • the horizontal distance from the end point to the starting point is 3 cm
  • the obtained second playing precision is 3 times of the first playing precision
  • the first playing precision is 50 sec/cm
  • the second playing precision is 150 sec/cm. That is, 2.5 minutes/cm
  • the user can operate on the screen of the terminal where the player is located, the end point of the operation is 2 cm from the original progress bar of the player, and the horizontal distance from the end point of the operation to the starting point of the operation is 3 cm, then it can be played.
  • a new progress bar is generated outside the original progress bar.
  • the newly generated progress bar plays three times faster than the original progress bar.
  • the player continues to play from 60: 00 on the second progress bar.
  • the step 202 further includes: determining, according to the reciprocal of the precision adjustment multiple and the length of the second progress bar, on the first progress bar by using the reference playing time as
  • the step 204 further includes: determining, according to a playing time of the starting point of the to-be-amplified portion, a playing time of the starting point of the second progress bar, and according to the ending point of the to-be-amplified portion The play time determines the play time of the second progress bar termination point.
  • the reference play time on the first progress bar (ie, the time corresponding to the slider on the first progress bar when the precision adjustment operation is initiated) is a partial area on both sides. Including the point that the user needs to accurately determine the playing time, so that the reference playing time is corresponding to the midpoint of the second progress bar, so that the generated second progress bar has a greater possibility to include a point that the user needs to accurately determine the playing time, which is convenient for the user. Accurately determine the playback time point you need on the second progress bar.
  • the generated second progress bar may be consistent with the length of the first progress bar, and the corresponding part of the second progress bar on the first progress bar is the part with the reference playing time as the midpoint, and the length may be according to the second progress.
  • the length and precision adjustment of the strip are determined by, for example, the generated second progress bar is 20 cm long, and the precision adjustment factor is 10, then the length of the portion to be enlarged is 2 cm, and the portion is enlarged to form a second progress bar, and the The playback time of the starting point, the ending point and the midpoint of the part also correspond to the starting point, ending point and midpoint of the second progress bar, respectively, assuming that the part to be enlarged is the time of 10: 00 to 15: 00 on the first progress bar.
  • Segment accounting for 10% of the first progress bar, such as 2 cm, and the playback precision of the first progress bar is 15 seconds/mm, and the playback precision will be after the enlarged portion is enlarged to form the second progress bar. It becomes 1.5 sec/mm. If the minimum moving distance of the slider is 1 mm, you can accurately determine 10: 03, 10: 09, etc. by moving the slider on the second progress bar. The point on the first progress bar can only be roughly determined to the time point of 10:15, 10:30, etc., so that after the second progress bar is generated by the precision adjustment operation, the user is on the second progress bar. The playback time point can be accurately determined.
  • the step 204 further includes: determining whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or a termination point of the to-be-amplified portion exceeds a termination point of the first progress bar, and in a case where a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, starting from a starting point of the first progress bar, Obtaining, on the first progress bar, a portion equal to the length of the portion to be enlarged as the portion to be enlarged, and/or in a case where the end point of the portion to be enlarged exceeds a termination point of the first progress bar, Taking a termination point of the first progress bar as a termination point, a portion equal to the length of the portion to be enlarged is acquired on the first progress bar as the portion to be enlarged.
  • the starting point or the ending point of the portion to be enlarged exceeds the starting point or the ending point of the first progress bar, then at most the first step bar can obtain the starting point or the ending point.
  • the second progress bar for example, the end point of the portion to be enlarged exceeds the end point of the first progress bar, that is, the end point of the first progress bar is played.
  • the interval is 90: 00
  • the reference time point is 87: 00
  • the determined length to be enlarged is 2 cm, corresponding to 10 minutes on the first progress bar, then 5 minutes on each side of 87: 00
  • the end point acquires a period of 10 minutes as the part to be enlarged, that is, the part of 80: 00 to 90: 00, and this time still contains the time point around 87: 00, thereby ensuring that the user can accurately on the second progress bar. Determine the playback time.
  • the step 202 further includes: determining, according to the position information of the termination point, a preset relationship between the position and the accuracy, improving the accuracy or reducing the accuracy, and determining, by the position determining unit, the improvement accuracy. Obtaining the precision adjustment multiple according to the first distance and the preset multiple, and when the position determining unit determines the reduction precision, obtaining the according to the reciprocal of the first distance and the preset multiple Precision adjustment multiples.
  • the generated second progress bar can be played with a smaller precision than the first progress bar (ie, the playback progress can be adjusted faster on the second progress bar), or can be larger than the first progress bar (ie, The playback progress can be adjusted more precisely on the second progress bar.
  • whether the accuracy is improved or the accuracy is lowered can be determined by controlling the termination point of the precision adjustment operation. For example, if the termination point is located above and below the first progress bar, it can be determined as If the accuracy is lowered, the termination point is located above the first progress bar, and it can be determined that the accuracy is improved.
  • the precision for example, the end point of the precision adjustment operation is located above the first progress bar, and the distance from the first progress bar is 2 cm.
  • the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 4 times, and the first progress bar has a playback precision of 1 times (that is, the first progress bar is the normal playback precision), then the second progress
  • the accuracy of the bar is 4 times the precision, that is, the content of the 10 minute duration on the first progress bar is in the progress bar. 1 cm, then on the second progress bar, the length of the 10-minute period is 4 cm.
  • the user adjusts the slider of the progress bar within 4 cm of the length to determine the desired playback time point, relative to 1 cm. Adjust the slider within the length to determine the desired playback time point, which is more accurate and convenient.
  • the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 1/1 4 times, and the playback precision of the first progress bar is 1 times precision (that is, the first progress bar is normal playback precision), then the accuracy of the second progress bar is 1/4 times precision, that is, the first progress bar If the content of the last 10 minutes is 20 cm on the progress bar, then on the second progress bar, the content of the 10-minute duration is 5 cm, and the user can adjust the slider within a length of 5 cm, as opposed to Adjusting the slider over a length of 20 cm allows you to quickly view the contents of the playback file and determine the playback time point you need more quickly.
  • the method further includes: when the playing time of the second progress bar ends, when the operation of the second progress bar is not recognized within a preset time, or when the receiving is closed When the instruction of the second progress bar is closed, the second progress bar is closed, and/or the first progress bar is closed when the received instruction to close the first progress bar is received.
  • the playing time of the second progress bar ends, at this time, the slider on the second progress bar is located at the end point of the second progress bar, and the part to be enlarged on the first progress bar
  • the second progress bar is automatically closed, or when the operation of the second progress bar is not recognized for a period of time, indicating that the user does not need to accurately determine the playback time point, the second progress bar is automatically closed, or according to the reception.
  • the method further includes: saving the second play precision according to the received save instruction, and generating the second according to the second play precision when the preset operation is recognized progress bar.
  • the accuracy of the generated second progress bar may be saved, when a preset operation is recognized (for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar)
  • a preset operation for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar
  • you wait you can automatically generate an extension progress bar based on the precision, and you can generate a progress bar with new precision without performing the precision adjustment operation with the start point and the end point.
  • the method further includes: adjusting the preset multiple according to the received multiple adjustment instruction.
  • the user can adjust the preset multiple according to needs, for example, the preset multiple 4 times/cm can be adjusted to 10 times/cm, so that the distance from the end point of the precision adjustment operation to the first progress bar is constant. In the case, a second progress bar with higher precision will be generated.
  • the step 202 includes: Step 2022, recording location information of a starting point of the operation and location information of the termination point; Step 2024, calculating the termination point to a corresponding starting point thereof a second distance, and obtaining the precision adjustment multiple according to the second distance and a preset multiple.
  • the operation bar can be operated on the progress bar, for example, two points on the progress bar are used as two starting points, and the sliding operation to the end point and the starting point is performed on the progress bar, then
  • the distance from each termination point to the corresponding starting point can be calculated as an average distance.
  • the distance from the end point of the thumb on the progress bar to the starting point is 3 cm
  • the distance from the end point of the index finger on the progress bar to the starting point is 5 cm
  • the average distance is 4 cm
  • the preset multiple is 1 / cm
  • the precision adjustment factor is 4 times.
  • the step 204 includes: Step 2042, adjusting a play precision of the progress bar of the player according to the precision adjustment multiple; Step 2044, according to the start point and/or the termination Clicking on the corresponding playing time on the player determines the playing time of the starting point of the adjusted progress bar and the playing time of the ending point.
  • the playback precision of the progress bar can be adjusted according to the obtained precision adjustment.
  • the precision adjustment multiple is 4 times
  • the playback precision of the progress bar can be adjusted to 4 times
  • the length of the progress bar is expanded.
  • the playing time of one starting point of the operation can be used as the starting playing time of the adjusted progress bar
  • the other starting point playing time is used as the ending playing time of the adjusted progress bar. That is, when the thumb and the index finger are operated, the two points clicked by the thumb and the index finger at the beginning of the operation on the progress bar correspond to the start play time and the end play time of the adjusted progress bar, respectively.
  • the step 202 includes: Step 2022: Identify an operation performed in the player; Step 2024, determine whether the operation belongs to a preset operation, and if it belongs to a preset operation, query The precision adjustment multiple corresponding to the operation.
  • some operations may be preset to be associated with a specific precision adjustment multiple, such as a double-click operation on the progress bar and a double-folding of the progress of the progress bar, and a three-click operation on the progress bar. Then, the playback precision of the progress bar is enlarged to three times, so that the user can quickly adjust the playback precision of the progress bar by the preset operation.
  • a program product stored on a non-transitory machine readable medium for adjustment of a player progress bar
  • the program product comprising a computer system for performing the following steps
  • the machine executable instruction recording location information of the termination point of the identified operation, calculating a first distance of the termination point to the first progress bar of the player, and obtaining the location according to the first distance and the preset multiple
  • the precision adjustment factor is described.
  • a non-volatile machine readable medium storing a program product for adjustment of a player progress bar, the program product comprising a machine executable for causing a computer system to perform the following steps Command: recording position information of the end point of the identified operation, calculating a first distance of the end point to the first progress bar of the player, and obtaining the precision adjustment according to the first distance and a preset multiple multiple.
  • a machine readable program the program causing a machine to perform the progress bar precision adjustment method of any of the above-described technical solutions.
  • a storage medium storing a machine readable program, wherein the machine readable program causes the machine to perform the progress bar precision adjustment method of any one of the above-described technical solutions.
  • the precision adjustment multiple can be determined according to the user operation, and the precision adjustment multiple adjusts the playing precision of the progress bar, so that the user can accurately determine the playing time on the adjusted progress bar.
  • FIG. 1 shows a block diagram of a progress bar precision adjustment apparatus in accordance with an embodiment of the present invention
  • FIG. 2 shows a flow chart of a method for adjusting the progress of the progress bar according to an embodiment of the present invention
  • 3A through 3H are diagrams showing the adjustment of the progress bar accuracy according to an embodiment of the present invention.
  • FIGS. 4A to 4C are diagrams showing adjustment of playback precision in a terminal according to an embodiment of the present invention.
  • Fig. 5 is a specific flowchart showing a method of adjusting progress bar accuracy according to an embodiment of the present invention.
  • FIG. 1 shows a block diagram of a progress bar precision adjustment apparatus in accordance with an embodiment of the present invention.
  • the progress bar precision adjusting apparatus 100 includes: an adjustment precision determining unit 102, configured to determine a precision adjustment multiple according to the identified operation; a progress bar processing unit 104, configured to adjust according to the accuracy The multiple adjusts the progress bar of the player.
  • the user When the user plays a file through the player, the user can perform a specific operation on the player. By recognizing the user's operation, the corresponding precision adjustment multiple can be obtained, and according to the obtained precision adjustment multiple, the progress bar of the player can be correspondingly Adjust to change the playback accuracy of the progress bar so that the user can adjust the play time more accurately on the progress bar.
  • the adjustment precision determining unit 102 includes: a recording unit 1020 for recording position information of a termination point of the operation; a calculating unit 1022, configured to calculate a first distance of the termination point to the first progress bar of the player, and according to the first A distance and a preset multiple get the precision adjustment multiple.
  • the precision adjustment multiple may be determined according to the distance between the termination point of the user operation and the player's inherent main progress bar (the first progress bar) and the preset multiple.
  • the user operation may be at least one of the following or a combination thereof: Any point on the player The starting point, and the sliding operation of the ending point by any point other than the first progress bar, the starting point of any point on the player, and the clicking operation with any point other than the first progress bar as the ending point is preset according to the preset multiple
  • the user can obtain the required precision adjustment multiple by controlling the distance between the end point of the operation and the main progress bar.
  • the preset multiple is 1 time/cm
  • the first distance is 2 cm
  • the user can set the relationship between the precision adjustment multiple, the preset multiple and the first distance as needed.
  • the progress bar processing unit 104 includes: a progress bar generating unit 1040, wherein the calculating unit 1022 is further configured to obtain a second playing precision according to the first playing precision and the precision adjusting multiple of the first progress bar; the progress bar generating unit 1040 uses Generating a second progress bar according to the second playback precision.
  • a second progress bar (ie, a new progress bar generated outside the player's original progress bar) can be generated by the precision adjustment operation, the accuracy of the second progress bar and the position of the end point of the precision adjustment operation to the first progress bar ( That is, the distance of the original progress bar of the player is related, so that the accuracy of the second progress bar can be adjusted by controlling the position of the end point of the precision adjustment operation, for example, adjusting the accuracy of the second progress bar to the accuracy of the first progress bar.
  • the user can precisely adjust the playback progress of the file on the second progress bar, and conveniently adjust the file to the playback time point required by itself, wherein the playback accuracy of the first progress bar and the second progress
  • the accuracy is 3 times the playback precision of the first progress bar, so that on the second progress bar, the user can more precisely adjust the slider on the progress bar to determine the play time.
  • the progress bar processing unit 104 further includes: a play time determining unit 1042, wherein the recording unit 1020 is further configured to record position information of a starting point of the operation; the calculating unit 1022 is further configured to use the horizontal distance from the end point to the starting point and The second playing precision calculates the offset value; the playing time determining unit 1042 is configured to determine the playing time of the midpoint of the second progress bar according to the reference playing time on the first progress bar when the operation is initiated, and according to the second progress bar The play time and offset value of the point determine the resume play time on the second progress bar, and continue playback from the resume play time.
  • a play time determining unit 1042 wherein the recording unit 1020 is further configured to record position information of a starting point of the operation; the calculating unit 1022 is further configured to use the horizontal distance from the end point to the starting point and The second playing precision calculates the offset value; the playing time determining unit 1042 is configured to determine the playing time of the midpoint of the second progress bar according to the reference playing time on the first
  • the user can control the offset value of the time point on the second progress bar from the reference time point on the first progress bar by controlling the horizontal distance of the end point of the operation to the starting point, such as the end point of the operation to the starting point.
  • the horizontal distance is 3 cm
  • the obtained second playing precision is 3 times of the first playing precision
  • the first playing precision is 50 seconds/cm
  • the second playing precision is 150 seconds/cm, that is, 2.5 minutes/cm.
  • the user can operate on the screen of the terminal where the player is located, the end point of the operation is 2 cm from the original progress bar of the player, and the horizontal distance from the end point of the operation to the starting point of the operation is 3 cm, then it can be played.
  • a new progress bar is generated outside the original progress bar.
  • the newly generated progress bar plays three times faster than the original progress bar.
  • the player continues to play from 60: 00 on the second progress bar.
  • the calculating unit 1020 is further configured to determine, according to a reciprocal of the precision adjustment multiple and a length of the second progress bar, a portion to be enlarged with the reference playing time as a midpoint on the first progress bar; the playing time determining unit 1042 is to be enlarged according to The playing time of the starting point of the part determines the playing time of the starting point of the second progress bar, and determines the playing time of the ending point of the second progress bar according to the playing time of the ending point of the part to be enlarged.
  • the reference play time on the first progress bar (ie, the time corresponding to the slider on the first progress bar when the precision adjustment operation is initiated) includes the user needs to accurately determine the play.
  • a point of time, thereby matching the reference play time to the midpoint of the second progress bar, may make the generated second progress bar have a greater possibility to include a point at which the user needs to accurately determine the play time, so that the user can conveniently on the second progress bar. Accurately determine the playback time point you need.
  • the generated second progress bar may be consistent with the length of the first progress bar, and the corresponding part of the second progress bar on the first progress bar is the part with the reference playing time as the midpoint, and the length may be according to the second progress.
  • the length and precision adjustment of the strip are determined by, for example, the generated second progress bar is 20 cm long, and the precision adjustment factor is 10, then the length of the portion to be enlarged is 2 cm, and the portion is enlarged to form a second progress bar, and the The playback time of the starting point, the ending point and the midpoint of the part also correspond to the starting point, ending point and midpoint of the second progress bar, respectively, assuming that the part to be enlarged is the time of 10: 00 to 15: 00 on the first progress bar. Segment, accounting for 10% of the first progress bar, such as 2 cm, and the playback precision of the first progress bar is 15 seconds/mm, and the playback precision will be after the enlarged portion is enlarged to form the second progress bar. It becomes 1.5 sec/mm.
  • the minimum moving distance of the slider is 1 mm
  • the time point, while on the first progress bar, can only be roughly determined to the time point of 10:15, 10:30, etc., so that after the second progress bar is generated by the precision adjustment operation, the user is on the second progress bar.
  • the playback time point can be accurately determined.
  • the progress bar processing unit 104 further includes: an amplification calibration unit 1044, configured to determine whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or whether a termination point of the to-be-amplified portion exceeds the first progress bar The termination point, and in the case where the starting point of the portion to be enlarged exceeds the starting point of the first progress bar, starting from the starting point of the first progress bar, obtaining the length of the portion to be enlarged on the first progress bar Partially as part to be enlarged, and/or in the case where the end point of the portion to be enlarged exceeds the end point of the first progress bar, the end point of the first progress bar is used as the end point, and the first progress bar is acquired and to be enlarged A portion of equal length is used as the portion to be enlarged.
  • an amplification calibration unit 1044 configured to determine whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or whether
  • the starting point or ending point of the portion to be enlarged exceeds the starting point or ending point of the first progress bar, then at most A step of obtaining the starting point or the ending point on the first progress bar generates a second progress bar, for example, the ending point of the portion to be enlarged exceeds the ending point of the first progress bar, that is, the playing time of the ending point of the first progress bar.
  • the reference time point is 87: 00
  • the length of the part to be enlarged is 2 cm
  • the first progress bar corresponds to 10 minutes. Then, each side of the 87: 00 takes 5 minutes.
  • the part to be enlarged it is necessary to obtain a section of 82: 00 to 92: 00, but the part of 90: 00 to 92: 00 obviously does not exist in the first progress bar, and can be terminated by the termination point of the first progress bar.
  • the point is obtained as a part to be enlarged for 10 minutes, that is, a portion of 80: 00 to 90: 00, and this time still contains a time point around 87: 00, thereby ensuring that the user can accurately determine on the second progress bar. play time.
  • the adjustment accuracy determining unit 102 further includes: a position determining unit 1024, configured to determine, according to the position information of the ending point and the preset relationship between the position and the accuracy, to improve the accuracy or reduce the accuracy, wherein the calculating unit 1022 is in the position determining unit
  • the 1024 determines the accuracy
  • the precision adjustment multiple is obtained according to the first distance and the preset multiple
  • the position determination unit 1024 determines the reduction precision
  • the precision adjustment multiple is obtained according to the reciprocal of the first distance and the preset multiple.
  • the generated second progress bar can be played with a smaller precision than the first progress bar (ie, the playback progress can be adjusted faster on the second progress bar), or can be larger than the first progress bar (ie, can be in the second progress bar) Adjusting the playback progress more accurately, specifically determining the accuracy or reducing the accuracy, which can be determined by controlling the termination point of the precision adjustment operation. For example, if the termination point is located above and below the first progress bar, it can be determined that the accuracy is lowered, and the termination point is located.
  • the accuracy is improved, wherein when it is determined that the precision is improved, for example, the end point of the precision adjustment operation is located above the first progress bar and is 2 cm away from the first progress bar, then if the preset multiple is If it is 2 times/cm, it can be determined that the precision adjustment factor is 4 times, and the playback precision of the first progress bar is 1 times precision (that is, the first progress bar is normal playback precision), then the accuracy of the second progress bar is 4 Double precision, that is, if the content of the 10-minute duration on the first progress bar accounts for 1 cm on the progress bar, then On the second progress bar, the length of the 10-minute period is 4 cm.
  • the user adjusts the slider of the progress bar within 4 cm of the length to determine the desired playback time point, relative to adjusting the slider within a length of 1 cm. Determining the desired playback time point is more accurate and convenient.
  • the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 1/1 4 times, and the playback precision of the first progress bar is 1 times precision (that is, the first progress bar is normal playback precision), then the accuracy of the second progress bar is 1/4 times precision, that is, the first progress bar If the content of the last 10 minutes is 20 cm on the progress bar, then on the second progress bar, the content of the 10-minute duration is 5 cm, and the user can adjust the slider within a length of 5 cm, as opposed to Adjusting the slider over a length of 20 cm allows you to quickly view the contents of the playback file and determine the playback time point you need more quickly.
  • the method further includes: a progress bar closing unit 106, configured to: when the playing time of the second progress bar ends, when the operation of the second progress bar is not recognized within the preset time, or when the second progress bar is closed When the instruction is executed, the second progress bar is closed, and/or the first progress bar is closed when the received instruction to close the first progress bar is received.
  • a progress bar closing unit 106 configured to: when the playing time of the second progress bar ends, when the operation of the second progress bar is not recognized within the preset time, or when the second progress bar is closed
  • the second progress bar is closed, and/or the first progress bar is closed when the received instruction to close the first progress bar is received.
  • the playing time of the second progress bar ends.
  • the slider on the second progress bar is located at the end point of the second progress bar, and the content of the portion to be enlarged on the first progress bar has been played, then Automatically close the second progress bar, or when the operation of the second progress bar is not recognized for a period of time, indicating that the user does not need to accurately determine the playback time point, then automatically closes the second progress bar, or closes according to the received shutdown command.
  • the method further includes: a storage unit 108, configured to save the second play precision according to the received save instruction, where the progress bar generating unit is further configured to generate a second according to the second play precision when the preset operation is recognized progress bar.
  • the accuracy of the generated second progress bar can be saved, and when a preset operation is recognized (such as double-clicking the first progress bar, long pressing the first progress bar, hovering the mouse on the first progress bar, etc.), An extended progress bar can be automatically generated based on the accuracy, and a progress bar with new precision can be generated without performing an accuracy adjustment operation with a start point and an end point.
  • a preset operation such as double-clicking the first progress bar, long pressing the first progress bar, hovering the mouse on the first progress bar, etc.
  • the method further includes: a multiple adjustment unit 1 10, configured to adjust the preset multiple according to the received multiple adjustment instruction.
  • the user can adjust the preset multiple according to the need, for example, the preset multiple 4 times/cm can be adjusted to 10 times/cm, so that the accuracy is generated when the distance from the end point of the precision adjustment operation to the first progress bar is constant. A higher second progress bar.
  • the adjustment precision determining unit 102 includes: a recording unit 1020, configured to record position information of at least one starting point operated on a progress bar of the player and position information of the corresponding ending point; and a calculating unit 1022, configured to terminate The second distance from the point to the corresponding starting point is obtained according to the second distance from each of the ending points to the corresponding starting point, and the precision adjustment multiple is obtained according to the average distance and the preset multiple.
  • the distance from the starting point you can calculate an average distance, such as the distance from the end point of the thumb on the progress bar to the starting point is 3 cm, the distance from the end point of the index finger on the progress bar to the starting point is 5 cm, then the average distance It is 4 cm, and the preset multiple is 1 time/cm, and the precision adjustment factor is 4 times.
  • the progress bar processing unit 104 includes: a progress bar adjusting unit 1046, configured to adjust a playing precision of the progress bar of the player according to the precision adjustment multiple; a playing time determining unit 1042, configured to play according to the starting point and/or the ending point The corresponding playing time on the device determines the playing time of the starting point of the adjusted progress bar and the playing time of the ending point.
  • the playback precision of the progress bar can be adjusted according to the obtained precision adjustment.
  • the precision adjustment multiple is 4 times
  • the playback precision of the progress bar can be adjusted to 4 times
  • the length of the progress bar is expanded to 4 times.
  • the playing time of one starting point of the operation can be used as the starting playing time of the adjusted progress bar
  • the other starting point playing time can be operated as the ending playing time of the adjusted progress bar, that is, through the thumb and the index finger.
  • the two points clicked by the thumb and forefinger at the beginning of the operation on the progress bar correspond to the start play time and the end play time of the adjusted progress bar, respectively.
  • the adjustment accuracy determining unit includes: an operation identifying unit 1026, configured to identify an operation performed in the player; an accuracy query unit 1028, configured to determine whether the operation belongs to a preset operation, and if it belongs to a preset operation, query and operate Corresponding precision adjustment multiples.
  • Some operations can be preset to be associated with a specific precision adjustment factor, such as double-clicking on the progress bar and zooming in on the progress of the progress bar by a factor of two, while the three-click operation on the progress bar is the same as the progress bar.
  • the playback accuracy is enlarged to three times associative, so that the user can quickly adjust the playback accuracy of the progress bar by a preset operation.
  • the present application also proposes a playback system including the above-described progress bar precision adjustment device 100.
  • the present application also proposes a terminal comprising the above-described progress bar precision adjustment device 100 and/or a playback system.
  • FIG. 2 shows a flow chart of a method of adjusting the progress of the progress bar according to an embodiment of the present invention.
  • the progress bar precision adjustment method includes: Step 202: Determine a precision adjustment multiple according to the identified operation; Step 204, adjust a progress bar of the player according to the precision adjustment multiple.
  • the user when the user plays a file through the player, the user can perform a specific operation on the player, and by recognizing the operation of the user, the corresponding precision adjustment multiple can be obtained, and then the adjustment ratio can be adjusted according to the obtained precision, and the playback can be performed.
  • the progress bar of the device is adjusted accordingly to change the playing precision of the progress bar, so that the user can adjust the playing time more accurately on the progress bar.
  • step 202 includes: Step 2022, recording location information of a termination point of the operation; Step 2024, calculating a first distance from the termination point to the first progress bar of the player, and according to the first distance
  • the preset multiple is obtained by the precision adjustment multiple.
  • the precision adjustment multiple may be determined according to the distance between the termination point of the user operation and the first main progress bar of the player (the first progress bar) and the preset multiple, and the user operation may be at least one of the following or a combination thereof : Starts at any point on the player and slides at any point other than the first progress bar to start at any point on the player, and clicks at any point other than the first progress bar as the end point.
  • the preset multiple is preset
  • the step 2024 includes: obtaining a second play precision according to the first play precision and the precision adjustment multiple of the first progress bar; and the step 204 further includes: generating a second progress according to the second play precision. article.
  • the second progress bar (ie, a new progress bar generated outside the player's original progress bar) may be generated by the precision adjustment operation, and the accuracy of the second progress bar and the position of the end point of the precision adjustment operation
  • the distance to the first progress bar (ie, the original progress bar of the player) is related, so that the accuracy of the second progress bar can be adjusted by controlling the position of the end point of the precision adjustment operation, for example, adjusting the accuracy of the second progress bar to
  • the accuracy of the first progress bar is four times 3 times, and the user can accurately adjust the playback progress of the file on the second progress bar, and conveniently adjust the file to the playback time point required by himself, wherein the first progress bar
  • the step 202 further includes: recording location information of a starting point of the operation, calculating an offset value according to a horizontal distance from the termination point to the starting point, and a second playing precision; and the step 204 further includes: The reference play time on the first progress bar at the time of initiation, determining the play time of the midpoint of the second progress bar, and determining the resume play time on the second progress bar according to the play time and the offset value of the midpoint of the second progress bar , and continue playing from the time of continued playback.
  • the user can control the offset value of the time point of continuing playback on the second progress bar and the reference time point on the first progress bar by controlling the horizontal distance from the termination point of the operation to the starting point, for example, the operation
  • the horizontal distance from the end point to the starting point is 3 cm
  • the obtained second playing precision is 3 times of the first playing precision
  • the first playing precision is 50 sec/cm
  • the second playing precision is 150 sec/cm. That is, 2.5 minutes/cm
  • the user can operate on the screen of the terminal where the player is located, the end point of the operation is 2 cm from the original progress bar of the player, and the horizontal distance from the end point of the operation to the starting point of the operation is 3 cm, then it can be played.
  • a new progress bar is generated outside the original progress bar.
  • the newly generated progress bar plays three times faster than the original progress bar.
  • the player continues to play from 60: 00 on the second progress bar.
  • the step 202 further includes: determining, according to the reciprocal of the precision adjustment multiple and the length of the second progress bar, the portion to be enlarged with the reference playing time as the midpoint on the first progress bar; The method further includes: determining a play time of the start point of the second progress bar according to a play time of the start point of the to-be-amplified portion, and determining a play time of the second progress bar end point according to the play time of the end point of the to-be-amplified portion.
  • the reference play time on the first progress bar (ie, the time corresponding to the slider on the first progress bar when the precision adjustment operation is initiated) is a partial area on both sides. Including the point that the user needs to accurately determine the playing time, so that the reference playing time is corresponding to the midpoint of the second progress bar, so that the generated second progress bar has a greater possibility to include a point that the user needs to accurately determine the playing time, which is convenient for the user. Accurately determine the playback time point you need on the second progress bar.
  • the generated second progress bar may be consistent with the length of the first progress bar, and the corresponding part of the second progress bar on the first progress bar is the part with the reference playing time as the midpoint, and the length may be according to the second progress.
  • the length and precision adjustment of the strip are determined by, for example, the generated second progress bar is 20 cm long, and the precision adjustment factor is 10, then the length of the portion to be enlarged is 2 cm, and the portion is enlarged to form a second progress bar, and the The playback time of the starting point, the ending point and the midpoint of the part also correspond to the starting point, ending point and midpoint of the second progress bar, respectively.
  • the enlarged part is the time period of 10: 00 to 15: 00 on the first progress bar, which is 10% of the first progress bar, such as 2 cm, and the playback precision of the first progress bar is 15 seconds/mm. After the enlarged portion is enlarged to form the second progress bar, the playback precision will become 1.5 seconds/mm. If the minimum moving distance of the slider is 1 mm, then by moving the slider on the second progress bar, it is possible to accurately Determine the time points of 10: 03, 10: 09, and the first progress bar can only be roughly determined to the time points of 10:15, 10:30, etc., so that after the second progress bar is generated by the precision adjustment operation , allowing the user to accurately determine the playback time point on the second progress bar.
  • the step 204 further includes: determining whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or a termination point of the to-be-amplified portion exceeds a termination point of the first progress bar, And if the starting point of the portion to be enlarged exceeds the starting point of the first progress bar, starting from the starting point of the first progress bar, obtaining a portion equal to the length of the portion to be enlarged on the first progress bar as to be enlarged Part, and/or in the case where the end point of the portion to be enlarged exceeds the end point of the first progress bar, the end point of the first progress bar is used as the end point, and the length of the portion to be enlarged is equal to the length of the portion to be enlarged on the first progress bar Part of it is the part to be enlarged.
  • the starting point or the ending point of the portion to be enlarged exceeds the starting point or the ending point of the first progress bar, then at most the first step bar can obtain the starting point or the ending point.
  • the second progress bar for example, the end point of the portion to be enlarged exceeds the end point of the first progress bar, that is, the play time of the end point of the first progress bar is 90: 00, and the reference time point is 87: 00, and the determined time is obtained.
  • the length of the part to be enlarged is 2 cm, corresponding to 10 minutes on the first progress bar, then a section of 5 minutes on each side of 87: 00 is taken as the part to be enlarged, and a section of 82: 00 to 92: 00 is required.
  • the part of 90: 00 to 92: 00 obviously does not exist in the first progress bar, and the end point of the first progress bar can be used as the end point to obtain a section of 10 minutes in length as the part to be enlarged, that is, 80: 00 to 90 :
  • the part of 00, this time still contains the time point around 87: 00, thus ensuring that the user can accurately determine the play time on the second progress bar.
  • the step 202 further includes: determining, according to the position information of the termination point and the preset relationship between the position and the accuracy, the improvement accuracy or the accuracy, and when the position determination unit determines to improve the accuracy, according to the first distance.
  • the precision adjustment multiple is obtained with the preset multiple, and when the position determination unit determines the reduction precision, the precision adjustment multiple is obtained according to the reciprocal of the first distance and the preset multiple.
  • the generated second progress bar can be played with a smaller precision than the first progress bar (ie, the playback progress can be adjusted faster on the second progress bar), or can be larger than the first progress bar (ie, The playback progress can be adjusted more precisely on the second progress bar.
  • whether the accuracy is improved or the accuracy is lowered can be determined by controlling the termination point of the precision adjustment operation. For example, if the termination point is located above and below the first progress bar, it can be determined as If the accuracy is lowered, the termination point is located above the first progress bar, and it can be determined that the accuracy is improved.
  • the precision for example, the end point of the precision adjustment operation is located above the first progress bar, and the distance from the first progress bar is 2 cm.
  • the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 4 times, and the first progress bar has a playback precision of 1 times (that is, the first progress bar is the normal playback precision), then the second progress
  • the accuracy of the bar is 4 times the precision, that is, the content of the 10 minute duration on the first progress bar is in the progress bar. 1 cm, then on the second progress bar, the length of the 10-minute period is 4 cm.
  • the user adjusts the slider of the progress bar within 4 cm of the length to determine the desired playback time point, relative to 1 cm. Adjust the slider within the length to determine the desired playback time point, which is more accurate and convenient.
  • the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 1/1 4 times, and the playback precision of the first progress bar is 1 times precision (that is, the first progress bar is normal playback precision), then the accuracy of the second progress bar is 1/4 times precision, that is, the first progress bar If the content of the last 10 minutes is 20 cm on the progress bar, then on the second progress bar, the content of the 10-minute duration is 5 cm, and the user can adjust the slider within a length of 5 cm, as opposed to Adjusting the slider over a length of 20 cm allows you to quickly view the contents of the playback file and determine the playback time point you need more quickly.
  • the method further includes: when the playing time of the second progress bar ends, at the preset time When the operation of the second progress bar is not recognized in the room or when the instruction to close the second progress bar is received, the second progress bar is closed, and/or when the received instruction to close the first progress bar is closed, A progress bar.
  • the playing time of the second progress bar ends, at this time, the slider on the second progress bar is located at the end point of the second progress bar, and the part to be enlarged on the first progress bar
  • the second progress bar is automatically closed, or when the operation of the second progress bar is not recognized for a period of time, indicating that the user does not need to accurately determine the playback time point, the second progress bar is automatically closed, or according to the reception.
  • the method further includes: saving the second playing precision according to the received saving instruction, and generating a second progress bar according to the second playing precision when the preset operation is recognized.
  • the accuracy of the generated second progress bar may be saved, when a preset operation is recognized (for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar)
  • a preset operation for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar
  • you wait you can automatically generate an extension progress bar based on the precision, and you can generate a progress bar with new precision without performing the precision adjustment operation with the start point and the end point.
  • the method further includes: adjusting the preset multiple according to the received multiple adjustment instruction.
  • the user can adjust the preset multiple according to needs, for example, the preset multiple 4 times/cm can be adjusted to 10 times/cm, so that the distance from the end point of the precision adjustment operation to the first progress bar is constant. In the case, a second progress bar with higher precision will be generated.
  • step 202 includes: Step 2022, recording location information of a starting point of the operation and location information of the termination point; Step 2024, calculating a second distance from the termination point to a corresponding starting point thereof, and according to The second distance and the preset multiple are obtained by the precision adjustment multiple.
  • the operation bar can be operated on the progress bar, for example, two points on the progress bar are used as two starting points, and the sliding operation to the end point and the starting point is performed on the progress bar, then
  • the distance from each termination point to the corresponding starting point can be calculated as an average distance.
  • the distance from the end point of the thumb on the progress bar to the starting point is 3 cm
  • the distance from the end point of the index finger on the progress bar to the starting point is 5 cm
  • the average distance is 4 cm
  • the preset multiple is 1 / cm
  • the precision adjustment factor is 4 times.
  • the step 204 includes: Step 2042, adjusting a play precision of the progress bar of the player according to the precision adjustment multiple; Step 2044, according to the start time and/or the end point corresponding play time on the player, Determine the playback time of the starting point of the adjusted progress bar and the playback time of the termination point.
  • the playback precision of the progress bar can be adjusted according to the obtained precision adjustment.
  • the precision adjustment multiple is 4 times
  • the playback precision of the progress bar can be adjusted to 4 times
  • the length of the progress bar is expanded.
  • the playing time of one starting point of the operation can be used as the starting playing time of the adjusted progress bar
  • the other starting point playing time is used as the ending playing time of the adjusted progress bar. That is, when the thumb and the index finger are operated, the two points clicked by the thumb and the index finger at the beginning of the operation on the progress bar correspond to the start play time and the end play time of the adjusted progress bar, respectively.
  • step 202 includes: Step 2022: Identify an operation performed in the player; Step 2024, determine whether the operation belongs to a preset operation, and if it belongs to a preset operation, query an accuracy corresponding to the operation. Adjust the multiple.
  • some operations may be preset to be associated with a specific precision adjustment multiple, such as a double-click operation on the progress bar and a double-folding of the progress of the progress bar, and a three-click operation on the progress bar. Then, the playback precision of the progress bar is enlarged to three times, so that the user can quickly adjust the playback precision of the progress bar by the preset operation.
  • 3A through 3H are schematic diagrams showing the adjustment of the progress bar accuracy in accordance with an embodiment of the present invention.
  • the user slides on the player (via mouse or touch screen) (the operation path can be straight The line, which may also be a curve), records the position information of the starting point 302 of the sliding operation and the position information of the ending point 304, and determines that the ending point 304 is located above the first progress bar 308, and then performs precision amplification, and calculates the ending point 304 to the
  • the first distance 306 of the progress bar 308 is, for example, 2 cm.
  • the second playback precision of the second progress bar 310 can be 3 of the first playback precision of the first progress bar 308.
  • the second playback precision the first playback precision X (1 + the first distance X preset multiple).
  • the reference play time 312 on the first progress bar 308 when the precision adjustment operation is initiated corresponds to the midpoint 322 of the second progress bar.
  • the playback duration of the first progress bar 308 is 00: 00 to 90: 00
  • the reference playback time 3 12 is 52: 30, and the adjustment ratio 3 is adjusted according to the accuracy (ie, the second playback precision and the first playback accuracy are
  • Half of the duration of the enlarged area 314, i.e., 15 minutes, combines the two portions taken to obtain an area 314 to be enlarged, which is 37:30 to 67:30.
  • the duration of the start point of the area to be enlarged 314 corresponds to the start point of the second progress bar 310, and the duration of the end point of the area to be enlarged 314 corresponds to the end point of the second progress bar 310, thereby completing the determination of the second progress bar.
  • the horizontal distance 3 from the end point 304 to the starting point 302, for example, 3 cm, can also be calculated based on the position information of the starting point 302.
  • the precision adjustment multiple 1 / (the first distance X preset multiple), for example, the first distance 306 is 1 cm, the preset multiple is 2 times/cm, then the precision adjustment factor is 1/2 times, that is, the playback precision of the second progress bar 310 is half of the playback precision of the first progress bar 308, and the second progress bar is generated.
  • the playback time of the starting point of 310 is 00: 00
  • the playing time of the ending point is 90: 00
  • the playing time of the midpoint of the second progress bar 310 is the same as the playing time of the midpoint of the first progress bar, both are 45.
  • the length of the second progress bar 310 is half of the first progress bar 308, and the user can drag the slider on the second progress bar 310 to achieve fast adjustment of the play time.
  • the user can also preset a adjustment multiple. Whenever the user performs the preset operation, the playback precision of the first progress bar 308 is adjusted according to the adjustment multiple, without generating the second.
  • the progress bar 310 for example, the adjustment magnification of the setting is 3 times, then when the operation of the user double-clicking the first progress bar 308 is recognized (the user can set a preset operation related to adjusting the precision of the progress bar, such as long pressing the first progress bar) 308.
  • the mouse is hovered over the first progress bar 308.
  • the play time of the target point 330 of the double-click operation is determined to be 52:30.
  • the first progress bar 308 can be determined to have a midpoint of 52:30 seconds.
  • the duration is 00: 00 to 90: 00 of 1/3 - the segment is the area to be enlarged 314, and on each side of 52: 30, the half of the length of the enlarged area 314 is taken, that is, 15 minutes, which will be taken
  • the two parts merge to obtain the area to be enlarged 314, the length is 37:30 to 67:30, 37:30 seconds is used as the starting time of the adjusted starting point of the progress bar 332, and 67:30 seconds is taken as the adjusted progress bar.
  • the playback time of the end point of 332 The user drags the slider on the progress bar 332 after adjustment to adjust the playback progress, which can accurately control the playback progress of the file, and accurately and conveniently find the playback time point of interest.
  • 4A to 4C are diagrams showing adjustment of playback precision in a terminal according to an embodiment of the present invention.
  • the terminal 400 may be a touch screen device such as a smart phone or a tablet computer.
  • the user can adjust the playing precision by using a touch screen operation when playing a file through the terminal 400.
  • the terminal 400 can also be a device operated by a mouse such as a laptop or a desktop computer, and the user can use the mouse at the terminal.
  • the player on the 400 operates to adjust the playback progress.
  • the precision adjustment operation is described here by using a smartphone as an example, and the operation is also applicable to other devices. Assume that the player in the terminal 400 is full of the display of the terminal 400, and the progress bar is equal in length to the player.
  • the playback time can only be positioned to 48: 30 and 48: 50, It is impossible to locate the time between these two points, that is, it is impossible to accurately locate the playback time point 48: 45 that the user wants to watch.
  • the user can select a starting point 302 on the first progress bar 308 (may also use any point on the player as a starting point, and selecting the starting point 302 on the first progress bar 308 can conveniently determine the first progress bar 308 when the precision adjustment operation is initiated.
  • the reference play time, the reference play time is the time corresponding to the start point 302 on the first progress bar 308.
  • the precision adjustment operation (may be a drag operation, a click operation, etc., the operation track may be a straight line or a curve) And recording the position information of the end point 304 of the precision adjustment operation, and the reference play time on the first progress bar 308 when the precision adjustment operation is initiated, and calculating the termination point 304 to the first progress bar 308 according to the position information of the termination point 304.
  • the first distance 306 determines a third line (not shown) that passes through the starting point 302 and is perpendicular to the first line (which may be considered the second progress bar 310 herein) and the first straight
  • the intersection 324 of the line calculates a second distance 3 16 from the termination point 304 to the second intersection 324 according to the position information of the termination point 304.
  • the 3 cm determines a third line (not shown) that passes through the starting point 302 and is perpendicular to the first line (which may be considered the second progress bar 310 herein) and the first straight
  • the intersection 324 of the line calculates a second distance 3 16 from the termination point 304 to the second intersection 324 according to the position information of the termination point 304.
  • the 3 cm determines a third line (not shown) that passes through the starting point 302 and is perpendicular to the first line (which may be considered the second progress bar 310 herein) and the first straight
  • the intersection 324 of the line calculates a second distance 3 16 from the
  • the accuracy is 3 times the precision of the first progress bar 308, and the area to be enlarged 314 is determined according to the reference playing time (for example, 48:35) on the first progress bar 308, because the precision of the second progress bar 310 is the first progress bar.
  • the play time corresponding to the start point of the area to be enlarged 314 is 33:35
  • the play time corresponding to the cut-off point is 63:35
  • the play time of the second progress bar 310 is determined according to the play time of the area to be enlarged 314, that is, The start time of the second progress bar 310 is 33:35
  • the play time of the midpoint is 48:35
  • the play time of the cutoff point is 63:35.
  • the playback segment corresponding to a segment of the first progress bar 308 having a length of 1 cm has a corresponding length of 3 cm on the second progress bar 310, and the user cannot accurately locate the first progress bar 308. At the point in time, relatively precise positioning can be performed on the second progress bar.
  • FIG. 5 shows a detailed flow chart of a progress bar precision adjustment method according to an embodiment of the present invention.
  • the method for adjusting the accuracy of the progress bar specifically includes:
  • Step 502 Drag the slider on the main progress bar (equivalent to the first progress bar) to roughly locate the desired playing time point; Step 504, by dragging the slider on the main progress bar to locate the desired playing time point, If it has been located, proceed to step 510, if not, proceed to step 506;
  • Step 506 identifying the user's precision adjustment operation, and recording the position information of the termination point of the precision adjustment operation, determining the precision magnification according to the distance from the termination point to the second progress bar and the preset multiple, thereby obtaining the playback precision of the second progress bar.
  • Step 508 according to the distance from the termination point to the midpoint of the second progress bar (ie, the second distance, when the second progress bar is parallel to the first progress bar, and the length is equal to the first progress bar, then the first progress bar is adopted.
  • the intersection of the midpoint to the second progress bar and the second progress bar is the midpoint of the second progress bar) and the playback accuracy of the second progress bar calculates the offset value, and then the root
  • the playing time is determined according to the playing time and the offset value of the midpoint of the second progress bar;
  • Step 510 Jump according to the position of the slider on the main progress bar, or jump according to the continued playing time determined after adjusting the playing precision, to continue playing the current file.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
  • the term “plurality” refers to two or more, unless specifically defined otherwise.
  • a program product stored on a non-transitory machine readable medium for adjustment of a player progress bar
  • the program product comprising a computer system for performing the following steps
  • the machine executable instruction recording location information of the termination point of the identified operation, calculating a first distance of the termination point to the first progress bar of the player, and obtaining the location according to the first distance and the preset multiple
  • the precision adjustment factor is described.
  • a non-volatile machine readable medium storing a program product for adjustment of a player progress bar, the program product comprising a machine executable for causing a computer system to perform the following steps Command: recording position information of the end point of the identified operation, calculating a first distance of the end point to the first progress bar of the player, and obtaining the precision adjustment according to the first distance and a preset multiple multiple.
  • a machine readable program the program causing a machine to perform the progress bar precision adjustment method of any of the above-described technical solutions.
  • a storage medium storing a machine readable program, wherein the machine readable program causes the machine to perform the progress bar precision adjustment method of any one of the above-described technical solutions.

Abstract

Provided is a progress bar precision adjusting device, comprising: a precision adjustment determining unit for determining a precision adjustment multiplier according to identified operations; and a progress bar processing unit for adjusting the progress bar of a player according to the precision adjustment multiplier. Also provided is a progress bar precision adjusting method. The technical solution of the present invention allows a precision adjustment multiplier to be determined according to user operation, and the precision adjustment multiplier in turn adjusts the playing precision of a progress bar, such that a user can accurately determine the playing time on the adjusted progress bar.

Description

说 明 书  Description
进度条精度调节装置、 方法以及播放系统和终端 技术领域  Progress bar precision adjustment device, method, and playback system and terminal
本发明涉及播放器技术领域, 具体而言, 涉及进度条精度调节装置、 进度条精度调节方 法、 播放系统和终端。 背景技术  The present invention relates to the field of player technology, and in particular, to a progress bar precision adjustment device, a progress bar precision adjustment method, a playback system, and a terminal. Background technique
终端上的播放器的进度控制大都是基于进度条进行控制, 即通过拖动进度条上的滑块来 调节播放进度。  The progress control of the player on the terminal is mostly controlled based on the progress bar, that is, the progress of the playback is adjusted by dragging the slider on the progress bar.
当在播放文件的时间较长时, 通过在进度条上拖动滑块的方式, 用户难以准确地定位到 播放文件的某个时间点进行播放。 由于进度条上的滑块一般都有最小移动距离, 比如 1 毫 米, 即用户每次对滑块进行拖动操作时, 滑块的最小移动距离是 1 毫米, 比如播放器正在播 放一个 180分钟的视频, 用户想要观看 33 : 40秒的画面, 首先估计该时间点的画面在进度条 上的大概位置, 大约在在进度条上的 1/6 处, 然后将滑块拖动至该处, 那么视频画面切换到 30 : 00秒开始播放, 然后用户继续向后拖动滑块, 滑块移动了一毫米, 视频画面切换到 35 : 00 秒继续播放, 这种情况下, 无论用户在该点如何拖动滑块, 都难以定位到 33 : 40 秒附近 的位置。 发明内容  When the file is played for a long time, it is difficult for the user to accurately position the playback file at a certain point in time by dragging the slider on the progress bar. Since the slider on the progress bar generally has a minimum moving distance, such as 1 mm, the minimum moving distance of the slider is 1 mm each time the user drags the slider, for example, the player is playing a 180 minute. Video, the user wants to watch the 33:40 second screen, first estimate the approximate position of the screen at that point in time on the progress bar, about 1/6 of the progress bar, then drag the slider to it. Then the video screen switches to 30: 00 seconds to start playing, then the user continues to drag the slider backwards, the slider moves a millimeter, and the video screen switches to 35: 00 seconds to continue playing, in this case, regardless of the user at that point How to drag the slider is difficult to locate near 33: 40 seconds. Summary of the invention
本发明正是基于上述问题, 提出了一种进度条精度调节技术, 能够根据用户操作来确定 精度调节倍数, 进而精度调节倍数调节进度条的播放精度, 以使用户可以在调节后的进度条 上精确地确定播放时间。  The invention is based on the above problems, and proposes a progress bar precision adjustment technology, which can determine the precision adjustment multiple according to the user operation, and then adjust the playback precision of the progress bar by the precision adjustment multiple, so that the user can adjust the progress bar. Accurately determine the playback time.
有鉴于此, 本发明提出了一种进度条精度调节装置, 包括: 调节精度确定单元, 用于根 据识别到的操作确定精度调节倍数; 进度条处理单元, 用于根据所述精度调节倍数对所述播 放器的进度条进行调节。  In view of the above, the present invention provides a progress bar precision adjusting apparatus, including: an adjustment precision determining unit, configured to determine a precision adjustment multiple according to the identified operation; a progress bar processing unit, configured to adjust a multiple of the precision according to the precision The progress bar of the player is adjusted.
在该技术方案中, 用户在通过播放器播放文件时, 可以在播放器上进行特定的操作, 通 过识别用户的操作, 可以得到相应的精度调节倍数, 进而根据得到的精度调节倍数, 可以对 播放器的进度条进行相应调节, 以改变进度条的播放精度, 使得用户可以更加精确地在进度 条上调节播放时间。  In the technical solution, when the user plays a file through the player, the user can perform a specific operation on the player, and by recognizing the operation of the user, the corresponding precision adjustment multiple can be obtained, and then the adjustment ratio can be adjusted according to the obtained precision, and the playback can be performed. The progress bar of the device is adjusted accordingly to change the playing precision of the progress bar, so that the user can adjust the playing time more accurately on the progress bar.
在上述技术方案中, 优选地, 所述调节精度确定单元包括: 记录单元, 用于记录所述操 作的终止点的位置信息; 计算单元, 用于计算所述终止点到所述播放器的第一进度条的第一 距离, 并根据所述第一距离与预设倍数得到所述精度调节倍数。  In the above technical solution, preferably, the adjustment precision determining unit includes: a recording unit, configured to record position information of a termination point of the operation; and a calculating unit, configured to calculate the termination point to the player a first distance of the progress bar, and the precision adjustment multiple is obtained according to the first distance and the preset multiple.
在该技术方案中, 可以根据用户操作的终止点与播放器的固有主进度条 (的第一进度 条) 的距离和预设倍数确定精度调节倍数, 用户操作可以是以下至少一种或其组合: 以所述 播放器上任一点起始点, 并以所述第一进度条以外任一点为终止点的滑动操作, 以所述播放 器上任一点起始点, 并以所述第一进度条以外任一点为终止点的点击操作。 由于预设倍数是 预先设定的, 用户可以通过控制操作的终止点与主进度条的距离来得到所需的精度调节倍 数, 比如预设倍数是 1 倍 /厘米, 而第一距离为 2厘米, 那么可以得到精度调节倍数 =1 倍 /厘 米 χ2厘米 =2倍, 若用户控制第一距离为 3厘米, 则精度调节倍数就是 3 倍, 其中, 精度调 节倍数 =预设倍数 X第一距离的公式只是本申请的一个实施例, 用户可以根据需要设置精度调 节倍数、 预设倍数和第一距离三者之间的关联关系。 In this technical solution, the precision adjustment multiple may be determined according to the distance between the termination point of the user operation and the first main progress bar of the player (the first progress bar) and the preset multiple, and the user operation may be at least one of the following or a combination thereof : a starting point of any point on the player, and a sliding operation with any point other than the first progress bar as a starting point, starting point at any point on the player, and any point other than the first progress bar Click to terminate the point. Since the preset multiple is preset, the user can obtain the desired precision adjustment multiple by controlling the distance between the end point of the operation and the main progress bar, for example, the preset multiple is 1 time/cm, and the first distance is 2 cm. , then you can get the precision adjustment factor = 1 / l Rice χ 2 cm = 2 times, if the user controls the first distance to be 3 cm, the precision adjustment factor is 3 times, wherein the precision adjustment factor = preset multiple X The first distance formula is only one embodiment of the present application, the user can Set the relationship between the precision adjustment multiple, the preset multiple and the first distance as needed.
在上述技术方案中, 优选地, 所述进度条处理单元包括: 进度条生成单元, 其中, 所述 计算单元还用于根据所述第一进度条的第一播放精度与所述精度调节倍数得到第二播放精 度; 所述进度条生成单元用于根据所述第二播放精度生成第二进度条。  In the above technical solution, preferably, the progress bar processing unit includes: a progress bar generating unit, wherein the calculating unit is further configured to obtain, according to the first playing precision of the first progress bar and the precision adjusting multiple a second play precision; the progress bar generating unit is configured to generate a second progress bar according to the second play precision.
在该技术方案中, 可以通过精度调节操作来生成第二进度条 (即在播放器原有的进度条 以外生成的新进度条) , 第二进度条的精度与精度调节操作的终止点的位置到第一进度条 (即播放器原有的进度条) 的距离相关, 从而可以通过控制精度调节操作的终止点的位置来 调节第二进度条的精度, 比如将第二进度条的精度调节为第一进度条的精度的四倍 3 倍, 用 户则可以在第二进度条上精确地调节文件的播放进度, 方便地将文件调节到自己所需的播放 时间点, 其中, 第一进度条的播放精度与第二进度条的播放精度的关系可以是, 第二播放精 度=第一播放精度 X ( 1 +第一距离 X预设倍数) , 即在用户操作的终止点到第一进度条的距离 为 2 厘米时, 第二播放精度 =第一播放精度 x3 倍, 即第二进度条的播放精度是第一进度条的 播放精度的 3 倍, 从而在第二进度条上, 用户可以更加精确地调节进度条上的滑块来确定播 放时间。  In the technical solution, the second progress bar (ie, a new progress bar generated outside the player's original progress bar) may be generated by the precision adjustment operation, and the accuracy of the second progress bar and the position of the end point of the precision adjustment operation The distance to the first progress bar (ie, the original progress bar of the player) is related, so that the accuracy of the second progress bar can be adjusted by controlling the position of the end point of the precision adjustment operation, for example, adjusting the accuracy of the second progress bar to The accuracy of the first progress bar is four times 3 times, and the user can accurately adjust the playback progress of the file on the second progress bar, and conveniently adjust the file to the playback time point required by himself, wherein the first progress bar The relationship between the playing precision and the playing precision of the second progress bar may be: the second playing precision = the first playing precision X (1 + the first distance X preset multiple), that is, at the end point of the user operation to the first progress bar When the distance is 2 cm, the second playback precision=the first playback precision is x3 times, that is, the playback precision of the second progress bar is three times the playback precision of the first progress bar, On the second progress bar, the user can adjust the slider on the progress bar more precisely to determine the play time.
在上述技术方案中, 优选地, 所述进度条处理单元还包括: 播放时间确定单元, 其中, 所述记录单元还用于记录所述操作的起始点的位置信息; 所述计算单元还用于根据所述终止 点到所述起始点的水平距离以及所述第二播放精度计算偏移值; 所述播放时间确定单元用于 根据所述操作发起时所述第一进度条上的基准播放时间, 确定所述第二进度条的中点的播放 时间, 并根据所述第二进度条的中点的播放时间和所述偏移值在所述第二进度条上确定继续 播放时间, 并从所述继续播放时间继续播放。  In the above technical solution, preferably, the progress bar processing unit further includes: a play time determining unit, wherein the recording unit is further configured to record position information of a starting point of the operation; the calculating unit is further configured to: Calculating an offset value according to the horizontal distance from the termination point to the starting point and the second playing precision; the playing time determining unit is configured to use a reference playing time on the first progress bar according to the operation initiation Determining a play time of a midpoint of the second progress bar, and determining a resume play time on the second progress bar according to a play time of the midpoint of the second progress bar and the offset value, and The resume play time continues to play.
在该技术方案中, 用户可以通过控制操作的终止点到起始点的水平距离, 来控制第二进 度条上继续播放的时间点与第一进度条上的基准时间点的偏移值, 比如操作的终止点到起始 点的水平距离为 3厘米, 而得到的第二播放精度为第一播放精度的 3倍, 第一播放精度为 50 秒 /厘米, 那么第二播放精度为 150 秒 /厘米, 即 2.5 分钟 /厘米, 根据水平距离和第二播放精 度得到偏移值为 3厘米 x2.5分钟 /厘米 =7.5分钟。 并且, 当用户发起操作时, 第一进度条上滑 块所在的时间即为基准播放时间, 比如 52 : 30 , 那么确定出的继续播放时间为 52 : 30+7 : 30=60 : 00。  In this technical solution, the user can control the offset value of the time point of continuing playback on the second progress bar and the reference time point on the first progress bar by controlling the horizontal distance from the termination point of the operation to the starting point, for example, the operation The horizontal distance from the end point to the starting point is 3 cm, and the obtained second playing precision is 3 times of the first playing precision, and the first playing precision is 50 sec/cm, then the second playing precision is 150 sec/cm. That is, 2.5 minutes/cm, and the offset value is 3 cm x 2.5 minutes/cm = 7.5 minutes according to the horizontal distance and the second play precision. Moreover, when the user initiates the operation, the time at which the slider on the first progress bar is the reference play time, for example, 52:30, then the determined resume play time is 52: 30+7: 30=60: 00.
即用户可以在播放器上所在终端的屏幕上进行操作, 操作的终止点距离播放器的原有进 度条 2厘米, 操作的终止点到操作的起始点的水平距离为 3厘米, 那么可以在播放器原有的 进度条之外生成新的进度条, 新生成的进度条的播放精度是原进度条的播放精度的 3 倍, 同 时, 播放器在第二进度条上从 60 : 00继续播放。  That is, the user can operate on the screen of the terminal where the player is located, the end point of the operation is 2 cm from the original progress bar of the player, and the horizontal distance from the end point of the operation to the starting point of the operation is 3 cm, then it can be played. A new progress bar is generated outside the original progress bar. The newly generated progress bar plays three times faster than the original progress bar. At the same time, the player continues to play from 60: 00 on the second progress bar.
在上述技术方案中, 优选地, 所述计算单元还用于根据所述精度调节倍数的倒数和所述 第二进度条的长度, 在所述第一进度条上确定以所述基准播放时间作为中点的待放大部分; 所述播放时间确定单元根据所述待放大部分的起始点的播放时间确定所述第二进度条起始点 的播放时间, 并根据所述待放大部分的终止点的播放时间确定所述第二进度条终止点的播放 时间。  In the above technical solution, preferably, the calculating unit is further configured to determine, according to the reciprocal of the precision adjustment multiple and the length of the second progress bar, on the first progress bar, a portion to be enlarged of the midpoint; the play time determining unit determines a play time of the start point of the second progress bar according to a play time of the start point of the to-be-magnified portion, and plays according to the end point of the to-be-amplified portion The time determines the play time of the second progress bar termination point.
在该技术方案中, 当用户发起精度调节操作时, 第一进度条上的基准播放时间 (即发起 精度调节操作时第一进度条上的滑块所对应的时间) 两侧的部分区域, 就包含用户需要精确 确定播放时间的一点, 从而将基准播放时间对应到第二进度条的中点, 可以使得生成的第二 进度条有更大可能性包含用户需要精确确定播放时间的一点, 便于用户在第二进度条上精确 确定自己所需的播放时间点。 并且生成的第二进度条可以与第一进度条的长度一致, 而第二 进度条在第一进度条上对应的部分则是以基准播放时间为中点的部分, 其长度可以根据第二 进度条的长度和精度调节倍数来确定, 比如生成的第二进度条长 20 厘米, 精度调节倍数为 10, 那么待放大部分的长度为 2 厘米, 该部分经过放大, 形成第二进度条, 并且该部分的起 始点、 终止点和中点的播放时间也分别对应到第二进度条的起始点、 终止点和中点, 假设待 放大部分为第一进度条上 10: 00到 15 : 00的时间段, 占第一进度条的百分之十, 比如 2厘 米, 且此时第一进度条的播放精度是 15 秒 /毫米, 而待放大部分经过放大形成第二进度条 后, 其播放精度将变为 1.5秒 /毫米, 若滑块的最小移动距离是 1 毫米, 那么通过在第二进度 条上移动滑块, 可以准确地确定 10: 03、 10: 09等时间点, 而在第一进度条上的则只能粗略 地确定到 10: 15、 10 : 30等时间点, 从而在经过精度调节操作生成第二进度条后, 使得用户 在第二进度条上可以准确地确定播放时间点。 In this technical solution, when the user initiates the precision adjustment operation, the reference play time on the first progress bar (ie, the time corresponding to the slider on the first progress bar when the precision adjustment operation is initiated) is a partial area on both sides. Including the point that the user needs to accurately determine the playing time, so that the reference playing time is corresponding to the midpoint of the second progress bar, so that the generated second progress bar has a greater possibility to include a point that the user needs to accurately determine the playing time, which is convenient for the user. Accurately determine the playback time point you need on the second progress bar. And the generated second progress bar may be consistent with the length of the first progress bar, and the corresponding part of the second progress bar on the first progress bar is the part with the reference playing time as the midpoint, and the length may be according to the second The length of the progress bar and the precision adjustment factor are determined, for example, the generated second progress bar is 20 cm long, the precision adjustment multiple is 10, and the length of the portion to be enlarged is 2 cm, and the portion is enlarged to form a second progress bar, and The starting point, ending point and midpoint playing time of the part also correspond to the starting point, ending point and midpoint of the second progress bar, respectively, assuming that the part to be enlarged is 10: 00 to 15: 00 on the first progress bar. The time period, which is 10% of the first progress bar, such as 2 cm, and the playback precision of the first progress bar is 15 seconds/mm, and the playback precision is after the enlarged portion is enlarged to form the second progress bar. Will become 1.5 seconds / mm, if the minimum moving distance of the slider is 1 mm, then by moving the slider on the second progress bar, you can accurately determine the time point of 10: 03, 10: 09, etc., and at the first The progress bar can only be roughly determined to the time point of 10:15, 10:30, etc., so that after the second progress bar is generated by the precision adjustment operation, the user can accurately determine the playing time on the second progress bar. Point.
在上述技术方案中, 优选地, 所述进度条处理单元还包括: 放大校准单元, 用于判断所 述待放大部分的起始点是否超出所述第一进度条的起始点, 和 /或所述待放大部分的终止点是 否超出所述第一进度条的终止点, 并在所述待放大部分的起始点超出所述第一进度条的起始 点的情况下, 以所述第一进度条的起始点为起始点, 在所述第一进度条上获取与所述待放大 部分长度相等的部分作为所述待放大部分, 和 /或在所述待放大部分的终止点超出所述第一进 度条的终止点的情况下, 以所述第一进度条的终止点为终止点, 在所述第一进度条上获取与 所述待放大部分长度相等的部分作为所述待放大部分。  In the above technical solution, the progress bar processing unit further includes: an amplification calibration unit, configured to determine whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or Whether the end point of the portion to be enlarged exceeds the end point of the first progress bar, and in a case where the starting point of the portion to be enlarged exceeds the starting point of the first progress bar, with the first progress bar a starting point is a starting point, a portion equal to the length of the portion to be enlarged is obtained as the portion to be enlarged on the first progress bar, and/or a termination point of the portion to be enlarged exceeds the first progress In the case of the termination point of the strip, the end point of the first progress bar is used as the end point, and a portion equal to the length of the portion to be enlarged is acquired on the first progress bar as the portion to be enlarged.
在该技术方案中, 若待放大部分起始点或者终止点超出第一进度条的起始点或者终止 点, 那么最多只能在第一进度条上获取到起始点或者终止点为止的一段放大生成第二进度 条, 比如待放大部分的终止点超出了第一进度条的终止点, 即第一进度条的终止点的播放时 间为 90: 00 , 而基准时间点为 87: 00 , 而确定得到的待放大部分的长度为 2厘米, 在第一进 度条上对应 10分钟, 那么在 87: 00 两侧各取 5分钟的一段作为待放大部分, 则需要获取到 82 : 00至 92: 00的一段, 但是 90 : 00至 92: 00的部分显然不存在于第一进度条, 则可以 以第一进度条的终止点作为终止点获取时长 10 分钟的一段作为待放大部分, 即 80 : 00 至 90: 00 的部分, 这段时间依然包含 87: 00 附近的时间点, 从而保证了用户能够精确地在第 二进度条上确定播放时间。  In the technical solution, if the starting point or the ending point of the portion to be enlarged exceeds the starting point or the ending point of the first progress bar, then at most the first step bar can obtain the starting point or the ending point. The second progress bar, for example, the end point of the portion to be enlarged exceeds the end point of the first progress bar, that is, the play time of the end point of the first progress bar is 90: 00, and the reference time point is 87: 00, and the determined time is obtained. The length of the part to be enlarged is 2 cm, corresponding to 10 minutes on the first progress bar, then a section of 5 minutes on each side of 87: 00 is taken as the part to be enlarged, and a section of 82: 00 to 92: 00 is required. , but the part of 90: 00 to 92: 00 obviously does not exist in the first progress bar, and the end point of the first progress bar can be used as the end point to obtain a section of 10 minutes in length as the part to be enlarged, that is, 80: 00 to 90 : The part of 00, this time still contains the time point around 87: 00, thus ensuring that the user can accurately determine the play time on the second progress bar.
在上述技术方案中, 优选地, 所述调节精度确定单元还包括: 位置判断单元, 用于根据 所述终止点的位置信息和预设的位置与精度的关联关系判断提高精度或降低精度, 其中, 所 述计算单元在所述位置判断单元判定提高精度时, 根据所述第一距离与所述预设倍数得到所 述精度调节倍数, 并在所述位置判断单元判定降低精度时, 根据所述第一距离与所述预设倍 数的倒数得到所述精度调节倍数。  In the above technical solution, preferably, the adjustment precision determining unit further includes: a position determining unit, configured to determine, according to the position information of the end point and the preset relationship between the position and the accuracy, to improve accuracy or reduce accuracy, wherein When the position determining unit determines that the accuracy is improved, the calculating unit obtains the precision adjusting multiple according to the first distance and the preset multiple, and when the position determining unit determines the reducing precision, according to the The first distance and the reciprocal of the preset multiple are obtained by the precision adjustment multiple.
在该技术方案中, 生成的第二进度条, 其播放精度可以比第一进度条小 (即可以在第二 进度条上更快的调节播放进度) , 也可以比第一进度条大 (即可以在第二进度条上更精确地 调节播放进度) , 具体确定提高精度还是降低精度, 可以通过控制精度调节操作的终止点来 确定, 比如终止点位于第一进度条上下方, 则可以判定为降低精度, 终止点位于第一进度条 上方, 则可以判定为提高精度, 其中, 当判定为提高精度时, 比如精度调节操作的终止点位 于第一进度条上方, 且距离第一进度条 2厘米, 那么如果预设倍数为 2倍 /厘米, 则可以确定 精度调节倍数为 4 倍, 而第一进度条的播放精度为 1 倍精度 (即第一进度条为正常播放精 度) , 那么第二进度条的精度则为 4倍精度, 也就是说, 第一进度条上 10分钟时长的内容如 果在进度条上占 1厘米, 那么在第二进度条上, 该段 10分钟时长的内容则为 4厘米, 用户 4 厘米的长度内调节进度条的滑块来确定所需的播放时间点, 相对于在 1 厘米的长度内调节滑 块来确定所需的播放时间点, 更加准确且方便。  In the technical solution, the generated second progress bar can be played with a smaller precision than the first progress bar (ie, the playback progress can be adjusted faster on the second progress bar), or can be larger than the first progress bar (ie, The playback progress can be adjusted more precisely on the second progress bar. Specifically, whether the accuracy is improved or the accuracy is lowered can be determined by controlling the termination point of the precision adjustment operation. For example, if the termination point is located above and below the first progress bar, it can be determined as If the accuracy is lowered, the termination point is located above the first progress bar, and it can be determined that the accuracy is improved. When it is determined that the precision is improved, for example, the end point of the precision adjustment operation is located above the first progress bar, and the distance from the first progress bar is 2 cm. , then if the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 4 times, and the first progress bar has a playback precision of 1 times (that is, the first progress bar is the normal playback precision), then the second progress The accuracy of the bar is 4 times the precision, that is, the content of the 10 minute duration on the first progress bar is in the progress bar. 1 cm, then on the second progress bar, the length of the 10-minute period is 4 cm. The user adjusts the slider of the progress bar within 4 cm of the length to determine the desired playback time point, relative to 1 cm. Adjust the slider within the length to determine the desired playback time point, which is more accurate and convenient.
当判定为降低精度时, 比如精度调节操作的终止点位于第一进度条下方, 且距离第一进 度条 2厘米, 那么如果预设倍数为 2倍 /厘米, 则可以确定精度调节倍数为 1/4倍, 而第一进 度条的播放精度为 1 倍精度 (即第一进度条为正常播放精度) , 那么第二进度条的精度则为 1/4倍精度, 也就是说, 第一进度条上 10分钟时长的内容如果在进度条上占 20厘米, 那么在 第二进度条上, 该段 10分钟时长的内容则为 5厘米, 用户可以在 5厘米的长度范围内调节滑 块, 相对于在 20厘米的长度范围内调节滑块, 可以更快地浏览完播放文件中的内容, 以及更 快地确定自己所需的播放时间点。 When it is determined that the accuracy is lowered, for example, the end point of the precision adjustment operation is located below the first progress bar and is 2 cm away from the first progress bar, then if the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 1/1 4 times, and the playback precision of the first progress bar is 1x precision (that is, the first progress bar is normal playback accuracy), then the accuracy of the second progress bar is 1/4 times accuracy, that is, if the content of the 10-minute duration on the first progress bar accounts for 20 cm on the progress bar, then on the second progress bar, the content of the 10-minute duration is 5 cm, the user The slider can be adjusted over a length of 5 cm, allowing you to view the contents of the playback file faster and to determine your desired playback time point faster than adjusting the slider over a length of 20 cm.
在上述任一技术方案中, 优选地, 还包括: 进度条关闭单元, 用于在所述第二进度条的 播放时间结束时、 在预设时间内未识别到对所述第二进度条的操作时或在接收到关闭所述第 二进度条的指令时, 关闭所述第二进度条, 和 /或在接收到的关闭所述第一进度条的指令时, 关闭所述第一进度条。  In any one of the above aspects, the method further includes: a progress bar closing unit, configured to: when the playing time of the second progress bar ends, the second progress bar is not recognized within a preset time Closing the second progress bar upon operation or upon receiving an instruction to close the second progress bar, and/or closing the first progress bar upon receiving an instruction to close the first progress bar .
在该技术方案中, 可以根据预设条件, 比如第二进度条的播放时间结束, 此时第二进度 条上的滑块位于第二进度条的终止点, 第一进度条上待放大部分的内容已播放完毕, 则自动 关闭第二进度条, 或者在一段时间内未识别到对第二进度条的操作时, 说明用户无需精确确 定播放时间点, 则自动关闭第二进度条, 或者根据接收到的关闭指令, 关闭第一进度条和 /或 第二进度条。  In the technical solution, according to a preset condition, for example, the playing time of the second progress bar ends, at this time, the slider on the second progress bar is located at the end point of the second progress bar, and the part to be enlarged on the first progress bar After the content has been played, the second progress bar is automatically closed, or when the operation of the second progress bar is not recognized for a period of time, indicating that the user does not need to accurately determine the playback time point, the second progress bar is automatically closed, or according to the reception. The close instruction to the close, the first progress bar and / or the second progress bar.
在上述任一技术方案中, 优选地, 还包括: 存储单元, 用于根据接收到的保存指令, 保 存所述第二播放精度, 其中, 所述进度条生成单元还用于在识别到预设操作时, 根据所述第 二播放精度生成所述第二进度条。  In any one of the above aspects, the method further includes: a storage unit, configured to save the second play precision according to the received save instruction, where the progress bar generating unit is further configured to: In operation, the second progress bar is generated according to the second play precision.
在该技术方案中, 可以保存生成的第二进度条的精度, 当识别到预设操作 (比如对第一 进度条进行双击操作、 长按第一进度条、 将鼠标悬浮在第一进度条上等等) 时, 则可以根据 该精度自动生成扩展进度条, 无需进行存在起始点和终止点的精度调节操作, 就可以生成具 有新的精度的进度条。  In the technical solution, the accuracy of the generated second progress bar may be saved, when a preset operation is recognized (for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar) When you wait, you can automatically generate an extension progress bar based on the precision, and you can generate a progress bar with new precision without performing the precision adjustment operation with the start point and the end point.
在上述任一技术方案中, 优选地, 还包括: 倍数调节单元, 用于根据接收到的倍数调节 指令, 调节所述预设倍数。  In any one of the above aspects, preferably, the method further includes: a multiple adjustment unit, configured to adjust the preset multiple according to the received multiple adjustment instruction.
在该技术方案中, 用户可以根据需要调节预设倍数, 比如可以将预设倍数 4倍 /厘米调节 为 10 倍 /厘米, 从而在精度调节操作的终止点到第一进度条的距离不变的情况下, 将生成精 度更高的第二进度条。  In this technical solution, the user can adjust the preset multiple according to needs, for example, the preset multiple 4 times/cm can be adjusted to 10 times/cm, so that the distance from the end point of the precision adjustment operation to the first progress bar is constant. In the case, a second progress bar with higher precision will be generated.
在上述技术方案中, 优选地, 所述调节精度确定单元包括: 记录单元, 用于记录所述操 作在所述播放器的进度条上的至少一个起始点的位置信息和相应的终止点的位置信息; 计算 单元, 用于计算所述终止点到与其相应的起始点的第二距离, 根据每个终止点到与其相应的 起始点的第二距离得到平均距离, 根据所述平均距离与预设倍数得到所述精度调节倍数。  In the above technical solution, preferably, the adjustment precision determining unit includes: a recording unit, configured to record position information of the at least one starting point of the operation on the progress bar of the player and a position of a corresponding termination point a calculation unit, configured to calculate a second distance from the termination point to a corresponding starting point thereof, and obtain an average distance according to the second distance from each of the termination points to a corresponding starting point, according to the average distance and the preset The multiple is obtained by the multiple of the precision adjustment.
在该技术方案中, 可以在播放器上的进度条上进行操作, 比如以进度条上的两个点为两 个起始点, 在进度条上做向终止点和起始点的滑动操作, 那么根据每个终止点到相应起始点 的距离, 可以计算出一个平均距离, 比如拇指在进度条上的终止点到起始点的距离是 3 厘 米, 食指在进度条上的终止点到起始点的距离是 5厘米, 则平均距离是 4厘米, 而预设倍数 为 1倍 /厘米, 则精度调节倍数为 4倍。  In the technical solution, the operation bar can be operated on the progress bar, for example, two points on the progress bar are used as two starting points, and the sliding operation to the end point and the starting point is performed on the progress bar, then The distance from each termination point to the corresponding starting point can be calculated as an average distance. For example, the distance from the end point of the thumb on the progress bar to the starting point is 3 cm, and the distance from the end point of the index finger on the progress bar to the starting point is 5 cm, the average distance is 4 cm, and the preset multiple is 1 / cm, the precision adjustment factor is 4 times.
在上述技术方案中, 优选地, 所述进度条处理单元包括: 进度条调节单元, 用于根据所 述精度调节倍数调节所述播放器的进度条的播放精度; 播放时间确定单元, 用于根据所述起 始点和 /或所述终止点在所述播放器上对应的播放时间, 确定调节后的进度条的起始点的播放 时间和终止点的播放时间。  In the above technical solution, preferably, the progress bar processing unit includes: a progress bar adjusting unit, configured to adjust a playing precision of the progress bar of the player according to the precision adjusting multiple; a playing time determining unit, configured to The starting point and/or the ending point of the playing time on the player determine the playing time of the starting point of the adjusted progress bar and the playing time of the ending point.
在该技术方案中, 可以根据得到的精度调节倍数调节进度条的播放精度, 比如精度调节 倍数为 4倍, 则可以将进度条的播放精度调整为原来的 4倍, 同时将进度条的长度扩展为原 来的 4 倍, 同时, 可以将操作的一个起始点的播放时间作为调节后的进度条的起始播放时 间, 并将操作另一个起始点播放时间作为调节后的进度条的终止播放时间, 即通过拇指和食 指进行操作时, 拇指和食指在进度条上操作开始时点击的两点, 就分别对应调节后的进度条 的起始播放时间和终止播放时间。 在上述技术方案中, 优选地, 所述调节精度确定单元包括: 操作识别单元, 用于识别在 所述播放器中进行的操作; 精度查询单元, 用于判断所述操作是否属于预设操作, 若属于预 设操作, 则查询与所述操作相对应的精度调节倍数。 In the technical solution, the playback precision of the progress bar can be adjusted according to the obtained precision adjustment. For example, the precision adjustment multiple is 4 times, the playback precision of the progress bar can be adjusted to 4 times, and the length of the progress bar is expanded. For the original 4 times, at the same time, the playing time of one starting point of the operation can be used as the starting playing time of the adjusted progress bar, and the other starting point playing time is used as the ending playing time of the adjusted progress bar. That is, when the thumb and the index finger are operated, the two points clicked by the thumb and the index finger at the beginning of the operation on the progress bar correspond to the start play time and the end play time of the adjusted progress bar, respectively. In the above technical solution, preferably, the adjustment precision determining unit includes: an operation identifying unit, configured to identify an operation performed in the player; and an accuracy query unit, configured to determine whether the operation belongs to a preset operation, If it belongs to a preset operation, the precision adjustment multiple corresponding to the operation is queried.
在该技术方案中, 可以预先设置某些操作与特定的精度调节倍数相关联, 比如对进度条 的双击操作与将进度条的播放精度放大到两倍相关联, 而对进度条的三击操作则与将进度条 的播放精度放大到三倍相关联, 从而使得用户可以通过预设操作快速地调整进度条的播放精 度。  In this technical solution, some operations may be preset to be associated with a specific precision adjustment multiple, such as a double-click operation on the progress bar and a double-folding of the progress of the progress bar, and a three-click operation on the progress bar. Then, the playback precision of the progress bar is enlarged to three times, so that the user can quickly adjust the playback precision of the progress bar by the preset operation.
本申请还提出了一种播放系统, 包括上述任一项所述的进度条精度调节装置。  The present application also provides a playback system comprising the progress bar precision adjustment device of any of the above.
本申请还提出了一种终端, 包括权利要求上述任一项所述的进度条精度调节装置和 /或播 放系统。  The present application also proposes a terminal comprising the progress bar precision adjusting device and/or the playing system according to any one of the preceding claims.
本申请还提出了一种进度条精度调节方法, 应用于播放器, 包括: 步骤 202, 根据识别 到的操作确定精度调节倍数; 步骤 204, 根据所述精度调节倍数对所述播放器的进度条进行 调节。  The present application also provides a method for adjusting the accuracy of the progress bar, which is applied to the player, and includes: Step 202: Determine a precision adjustment multiple according to the identified operation; Step 204, adjust a progress bar of the player according to the precision adjustment multiple Make adjustments.
在该技术方案中, 用户在通过播放器播放文件时, 可以在播放器上进行特定的操作, 通 过识别用户的操作, 可以得到相应的精度调节倍数, 进而根据得到的精度调节倍数, 可以对 播放器的进度条进行相应调节, 以改变进度条的播放精度, 使得用户可以更加精确地在进度 条上调节播放时间。  In the technical solution, when the user plays a file through the player, the user can perform a specific operation on the player, and by recognizing the operation of the user, the corresponding precision adjustment multiple can be obtained, and then the adjustment ratio can be adjusted according to the obtained precision, and the playback can be performed. The progress bar of the device is adjusted accordingly to change the playing precision of the progress bar, so that the user can adjust the playing time more accurately on the progress bar.
在上述技术方案中, 优选地, 所述步骤 202 包括: 步骤 2022, 记录所述操作的终止点的 位置信息; 步骤 2024, 计算所述终止点到所述播放器的第一进度条的第一距离, 并根据所述 第一距离与预设倍数得到所述精度调节倍数。  In the above technical solution, preferably, the step 202 includes: Step 2022, recording location information of a termination point of the operation; Step 2024, calculating a first point of the termination point to a first progress bar of the player a distance, and the precision adjustment multiple is obtained according to the first distance and a preset multiple.
在该技术方案中, 可以根据用户操作的终止点与播放器的固有主进度条 (的第一进度 条) 的距离和预设倍数确定精度调节倍数, 用户操作可以是以下至少一种或其组合: 以所述 播放器上任一点起始点, 并以所述第一进度条以外任一点为终止点的滑动操作, 以所述播放 器上任一点起始点, 并以所述第一进度条以外任一点为终止点的点击操作。 由于预设倍数是 预先设定的, 用户可以通过控制操作的终止点与主进度条的距离来得到所需的精度调节倍 数, 比如预设倍数是 1 倍 /厘米, 而第一距离为 2厘米, 那么可以得到精度调节倍数 = 1 倍 /厘 米 x2厘米 =2倍, 若用户控制第一距离为 3厘米, 则精度调节倍数就是 3 倍, 其中, 精度调 节倍数 =预设倍数 X第一距离的公式只是本申请的一个实施例, 用户可以根据需要设置精度调 节倍数、 预设倍数和第一距离三者之间的关联关系。  In this technical solution, the precision adjustment multiple may be determined according to the distance between the termination point of the user operation and the first main progress bar of the player (the first progress bar) and the preset multiple, and the user operation may be at least one of the following or a combination thereof : a starting point of any point on the player, and a sliding operation with any point other than the first progress bar as a starting point, starting point at any point on the player, and any point other than the first progress bar Click to terminate the point. Since the preset multiple is preset, the user can obtain the desired precision adjustment multiple by controlling the distance between the end point of the operation and the main progress bar, for example, the preset multiple is 1 time/cm, and the first distance is 2 cm. , then you can get the precision adjustment multiple = 1 times / cm x 2 cm = 2 times, if the user controls the first distance to be 3 cm, the precision adjustment multiple is 3 times, wherein the precision adjustment multiple = preset multiple X The formula is only one embodiment of the present application, and the user can set the relationship between the precision adjustment multiple, the preset multiple and the first distance as needed.
在上述技术方案中, 优选地, 所述步骤 2024包括: 根据所述第一进度条的第一播放精度 与所述精度调节倍数得到第二播放精度; 则所述步骤 204 还包括: 用于根据所述第二播放精 度生成第二进度条。  In the above technical solution, preferably, the step 2024 includes: obtaining a second playing precision according to the first playing precision of the first progress bar and the precision adjusting multiple; the step 204 further includes: The second playback accuracy generates a second progress bar.
在该技术方案中, 可以通过精度调节操作来生成第二进度条 (即在播放器原有的进度条 以外生成的新进度条) , 第二进度条的精度与精度调节操作的终止点的位置到第一进度条 (即播放器原有的进度条) 的距离相关, 从而可以通过控制精度调节操作的终止点的位置来 调节第二进度条的精度, 比如将第二进度条的精度调节为第一进度条的精度的四倍 3 倍, 用 户则可以在第二进度条上精确地调节文件的播放进度, 方便地将文件调节到自己所需的播放 时间点, 其中, 第一进度条的播放精度与第二进度条的播放精度的关系可以是, 第二播放精 度=第一播放精度 X ( 1 +第一距离 X预设倍数) , 即在用户操作的终止点到第一进度条的距离 为 2 厘米时, 第二播放精度 =第一播放精度 x3 倍, 即第二进度条的播放精度是第一进度条的 播放精度的 3 倍, 从而在第二进度条上, 用户可以更加精确地调节进度条上的滑块来确定播 放时间。  In the technical solution, the second progress bar (ie, a new progress bar generated outside the player's original progress bar) may be generated by the precision adjustment operation, and the accuracy of the second progress bar and the position of the end point of the precision adjustment operation The distance to the first progress bar (ie, the original progress bar of the player) is related, so that the accuracy of the second progress bar can be adjusted by controlling the position of the end point of the precision adjustment operation, for example, adjusting the accuracy of the second progress bar to The accuracy of the first progress bar is four times 3 times, and the user can accurately adjust the playback progress of the file on the second progress bar, and conveniently adjust the file to the playback time point required by himself, wherein the first progress bar The relationship between the playing precision and the playing precision of the second progress bar may be: the second playing precision = the first playing precision X (1 + the first distance X preset multiple), that is, at the end point of the user operation to the first progress bar When the distance is 2 cm, the second playback precision=the first playback precision is x3 times, that is, the playback precision of the second progress bar is three times the playback precision of the first progress bar, On the second progress bar, the user can adjust the slider on the progress bar more precisely to determine the play time.
在上述技术方案中, 优选地, 所述步骤 202 还包括: 记录所述操作的起始点的位置信 息, 根据所述终止点到所述起始点的水平距离以及所述第二播放精度计算偏移值; 则所述步 骤 204 还包括: 根据所述操作发起时所述第一进度条上的基准播放时间, 确定所述第二进度 条的中点的播放时间, 并根据所述第二进度条的中点的播放时间和所述偏移值在所述第二进 度条上确定继续播放时间, 并从所述继续播放时间继续播放。 In the above technical solution, preferably, the step 202 further includes: recording location information of a starting point of the operation, and calculating an offset according to a horizontal distance from the termination point to the starting point and the second playing precision Value; then the step The step 204 further includes: determining a play time of the midpoint of the second progress bar according to the reference play time on the first progress bar when the operation is initiated, and playing according to the midpoint of the second progress bar The time and the offset value determine a resume play time on the second progress bar and continue playback from the resume play time.
在该技术方案中, 用户可以通过控制操作的终止点到起始点的水平距离, 来控制第二进 度条上继续播放的时间点与第一进度条上的基准时间点的偏移值, 比如操作的终止点到起始 点的水平距离为 3厘米, 而得到的第二播放精度为第一播放精度的 3倍, 第一播放精度为 50 秒 /厘米, 那么第二播放精度为 150 秒 /厘米, 即 2.5 分钟 /厘米, 根据水平距离和第二播放精 度得到偏移值为 3厘米 x2.5分钟 /厘米 =7.5分钟。 并且, 当用户发起操作时, 第一进度条上滑 块所在的时间即为基准播放时间, 比如 52 : 30 , 那么确定出的继续播放时间为 52 : 30+7 : 30=60: 00。  In this technical solution, the user can control the offset value of the time point of continuing playback on the second progress bar and the reference time point on the first progress bar by controlling the horizontal distance from the termination point of the operation to the starting point, for example, the operation The horizontal distance from the end point to the starting point is 3 cm, and the obtained second playing precision is 3 times of the first playing precision, and the first playing precision is 50 sec/cm, then the second playing precision is 150 sec/cm. That is, 2.5 minutes/cm, and the offset value is 3 cm x 2.5 minutes/cm = 7.5 minutes according to the horizontal distance and the second play precision. Moreover, when the user initiates the operation, the time at which the slider on the first progress bar is the reference play time, for example, 52:30, then the determined resume play time is 52: 30+7: 30=60: 00.
即用户可以在播放器上所在终端的屏幕上进行操作, 操作的终止点距离播放器的原有进 度条 2厘米, 操作的终止点到操作的起始点的水平距离为 3厘米, 那么可以在播放器原有的 进度条之外生成新的进度条, 新生成的进度条的播放精度是原进度条的播放精度的 3 倍, 同 时, 播放器在第二进度条上从 60: 00继续播放。  That is, the user can operate on the screen of the terminal where the player is located, the end point of the operation is 2 cm from the original progress bar of the player, and the horizontal distance from the end point of the operation to the starting point of the operation is 3 cm, then it can be played. A new progress bar is generated outside the original progress bar. The newly generated progress bar plays three times faster than the original progress bar. At the same time, the player continues to play from 60: 00 on the second progress bar.
在上述技术方案中, 优选地, 所述步骤 202 还包括: 根据所述精度调节倍数的倒数和所 述第二进度条的长度, 在所述第一进度条上确定以所述基准播放时间作为中点的待放大部 分; 则所述步骤 204 还包括: 根据所述待放大部分的起始点的播放时间确定所述第二进度条 起始点的播放时间, 并根据所述待放大部分的终止点的播放时间确定所述第二进度条终止点 的播放时间。  In the above technical solution, preferably, the step 202 further includes: determining, according to the reciprocal of the precision adjustment multiple and the length of the second progress bar, on the first progress bar by using the reference playing time as And the step 204 further includes: determining, according to a playing time of the starting point of the to-be-amplified portion, a playing time of the starting point of the second progress bar, and according to the ending point of the to-be-amplified portion The play time determines the play time of the second progress bar termination point.
在该技术方案中, 当用户发起精度调节操作时, 第一进度条上的基准播放时间 (即发起 精度调节操作时第一进度条上的滑块所对应的时间) 两侧的部分区域, 就包含用户需要精确 确定播放时间的一点, 从而将基准播放时间对应到第二进度条的中点, 可以使得生成的第二 进度条有更大可能性包含用户需要精确确定播放时间的一点, 便于用户在第二进度条上精确 确定自己所需的播放时间点。 并且生成的第二进度条可以与第一进度条的长度一致, 而第二 进度条在第一进度条上对应的部分则是以基准播放时间为中点的部分, 其长度可以根据第二 进度条的长度和精度调节倍数来确定, 比如生成的第二进度条长 20 厘米, 精度调节倍数为 10, 那么待放大部分的长度为 2 厘米, 该部分经过放大, 形成第二进度条, 并且该部分的起 始点、 终止点和中点的播放时间也分别对应到第二进度条的起始点、 终止点和中点, 假设待 放大部分为第一进度条上 10: 00到 15 : 00的时间段, 占第一进度条的百分之十, 比如 2厘 米, 且此时第一进度条的播放精度是 15 秒 /毫米, 而待放大部分经过放大形成第二进度条 后, 其播放精度将变为 1.5秒 /毫米, 若滑块的最小移动距离是 1 毫米, 那么通过在第二进度 条上移动滑块, 可以准确地确定 10: 03、 10: 09等时间点, 而在第一进度条上的则只能粗略 地确定到 10: 15、 10 : 30等时间点, 从而在经过精度调节操作生成第二进度条后, 使得用户 在第二进度条上可以准确地确定播放时间点。  In this technical solution, when the user initiates the precision adjustment operation, the reference play time on the first progress bar (ie, the time corresponding to the slider on the first progress bar when the precision adjustment operation is initiated) is a partial area on both sides. Including the point that the user needs to accurately determine the playing time, so that the reference playing time is corresponding to the midpoint of the second progress bar, so that the generated second progress bar has a greater possibility to include a point that the user needs to accurately determine the playing time, which is convenient for the user. Accurately determine the playback time point you need on the second progress bar. And the generated second progress bar may be consistent with the length of the first progress bar, and the corresponding part of the second progress bar on the first progress bar is the part with the reference playing time as the midpoint, and the length may be according to the second progress. The length and precision adjustment of the strip are determined by, for example, the generated second progress bar is 20 cm long, and the precision adjustment factor is 10, then the length of the portion to be enlarged is 2 cm, and the portion is enlarged to form a second progress bar, and the The playback time of the starting point, the ending point and the midpoint of the part also correspond to the starting point, ending point and midpoint of the second progress bar, respectively, assuming that the part to be enlarged is the time of 10: 00 to 15: 00 on the first progress bar. Segment, accounting for 10% of the first progress bar, such as 2 cm, and the playback precision of the first progress bar is 15 seconds/mm, and the playback precision will be after the enlarged portion is enlarged to form the second progress bar. It becomes 1.5 sec/mm. If the minimum moving distance of the slider is 1 mm, you can accurately determine 10: 03, 10: 09, etc. by moving the slider on the second progress bar. The point on the first progress bar can only be roughly determined to the time point of 10:15, 10:30, etc., so that after the second progress bar is generated by the precision adjustment operation, the user is on the second progress bar. The playback time point can be accurately determined.
在上述技术方案中, 优选地, 所述步骤 204 还包括: 判断所述待放大部分的起始点是否 超出所述第一进度条的起始点, 和 /或所述待放大部分的终止点是否超出所述第一进度条的终 止点, 并在所述待放大部分的起始点超出所述第一进度条的起始点的情况下, 以所述第一进 度条的起始点为起始点, 在所述第一进度条上获取与所述待放大部分长度相等的部分作为所 述待放大部分, 和 /或在所述待放大部分的终止点超出所述第一进度条的终止点的情况下, 以 所述第一进度条的终止点为终止点, 在所述第一进度条上获取与所述待放大部分长度相等的 部分作为所述待放大部分。  In the above technical solution, preferably, the step 204 further includes: determining whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or a termination point of the to-be-amplified portion exceeds a termination point of the first progress bar, and in a case where a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, starting from a starting point of the first progress bar, Obtaining, on the first progress bar, a portion equal to the length of the portion to be enlarged as the portion to be enlarged, and/or in a case where the end point of the portion to be enlarged exceeds a termination point of the first progress bar, Taking a termination point of the first progress bar as a termination point, a portion equal to the length of the portion to be enlarged is acquired on the first progress bar as the portion to be enlarged.
在该技术方案中, 若待放大部分起始点或者终止点超出第一进度条的起始点或者终止 点, 那么最多只能在第一进度条上获取到起始点或者终止点为止的一段放大生成第二进度 条, 比如待放大部分的终止点超出了第一进度条的终止点, 即第一进度条的终止点的播放时 间为 90: 00 , 而基准时间点为 87: 00 , 而确定得到的待放大部分的长度为 2厘米, 在第一进 度条上对应 10分钟, 那么在 87: 00 两侧各取 5分钟的一段作为待放大部分, 则需要获取到 82: 00至 92: 00的一段, 但是 90 : 00至 92: 00的部分显然不存在于第一进度条, 则可以 以第一进度条的终止点作为终止点获取时长 10 分钟的一段作为待放大部分, 即 80 : 00 至 90: 00 的部分, 这段时间依然包含 87: 00 附近的时间点, 从而保证了用户能够精确地在第 二进度条上确定播放时间。 In the technical solution, if the starting point or the ending point of the portion to be enlarged exceeds the starting point or the ending point of the first progress bar, then at most the first step bar can obtain the starting point or the ending point. The second progress bar, for example, the end point of the portion to be enlarged exceeds the end point of the first progress bar, that is, the end point of the first progress bar is played. The interval is 90: 00, and the reference time point is 87: 00, and the determined length to be enlarged is 2 cm, corresponding to 10 minutes on the first progress bar, then 5 minutes on each side of 87: 00 As a part to be enlarged, you need to get a section from 82: 00 to 92: 00, but the part of 90: 00 to 92: 00 obviously does not exist in the first progress bar, you can use the termination point of the first progress bar as The end point acquires a period of 10 minutes as the part to be enlarged, that is, the part of 80: 00 to 90: 00, and this time still contains the time point around 87: 00, thereby ensuring that the user can accurately on the second progress bar. Determine the playback time.
在上述技术方案中, 优选地, 所述步骤 202 还包括: 根据所述终止点的位置信息和预设 的位置与精度的关联关系判断提高精度或降低精度, 在所述位置判断单元判定提高精度时, 根据所述第一距离与所述预设倍数得到所述精度调节倍数, 并在所述位置判断单元判定降低 精度时, 根据所述第一距离与所述预设倍数的倒数得到所述精度调节倍数。  In the above technical solution, preferably, the step 202 further includes: determining, according to the position information of the termination point, a preset relationship between the position and the accuracy, improving the accuracy or reducing the accuracy, and determining, by the position determining unit, the improvement accuracy. Obtaining the precision adjustment multiple according to the first distance and the preset multiple, and when the position determining unit determines the reduction precision, obtaining the according to the reciprocal of the first distance and the preset multiple Precision adjustment multiples.
在该技术方案中, 生成的第二进度条, 其播放精度可以比第一进度条小 (即可以在第二 进度条上更快的调节播放进度) , 也可以比第一进度条大 (即可以在第二进度条上更精确地 调节播放进度) , 具体确定提高精度还是降低精度, 可以通过控制精度调节操作的终止点来 确定, 比如终止点位于第一进度条上下方, 则可以判定为降低精度, 终止点位于第一进度条 上方, 则可以判定为提高精度, 其中, 当判定为提高精度时, 比如精度调节操作的终止点位 于第一进度条上方, 且距离第一进度条 2厘米, 那么如果预设倍数为 2倍 /厘米, 则可以确定 精度调节倍数为 4 倍, 而第一进度条的播放精度为 1 倍精度 (即第一进度条为正常播放精 度) , 那么第二进度条的精度则为 4倍精度, 也就是说, 第一进度条上 10分钟时长的内容如 果在进度条上占 1厘米, 那么在第二进度条上, 该段 10分钟时长的内容则为 4厘米, 用户 4 厘米的长度内调节进度条的滑块来确定所需的播放时间点, 相对于在 1 厘米的长度内调节滑 块来确定所需的播放时间点, 更加准确且方便。  In the technical solution, the generated second progress bar can be played with a smaller precision than the first progress bar (ie, the playback progress can be adjusted faster on the second progress bar), or can be larger than the first progress bar (ie, The playback progress can be adjusted more precisely on the second progress bar. Specifically, whether the accuracy is improved or the accuracy is lowered can be determined by controlling the termination point of the precision adjustment operation. For example, if the termination point is located above and below the first progress bar, it can be determined as If the accuracy is lowered, the termination point is located above the first progress bar, and it can be determined that the accuracy is improved. When it is determined that the precision is improved, for example, the end point of the precision adjustment operation is located above the first progress bar, and the distance from the first progress bar is 2 cm. , then if the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 4 times, and the first progress bar has a playback precision of 1 times (that is, the first progress bar is the normal playback precision), then the second progress The accuracy of the bar is 4 times the precision, that is, the content of the 10 minute duration on the first progress bar is in the progress bar. 1 cm, then on the second progress bar, the length of the 10-minute period is 4 cm. The user adjusts the slider of the progress bar within 4 cm of the length to determine the desired playback time point, relative to 1 cm. Adjust the slider within the length to determine the desired playback time point, which is more accurate and convenient.
当判定为降低精度时, 比如精度调节操作的终止点位于第一进度条下方, 且距离第一进 度条 2厘米, 那么如果预设倍数为 2倍 /厘米, 则可以确定精度调节倍数为 1/4倍, 而第一进 度条的播放精度为 1 倍精度 (即第一进度条为正常播放精度) , 那么第二进度条的精度则为 1/4倍精度, 也就是说, 第一进度条上 10分钟时长的内容如果在进度条上占 20厘米, 那么在 第二进度条上, 该段 10分钟时长的内容则为 5厘米, 用户可以在 5厘米的长度范围内调节滑 块, 相对于在 20厘米的长度范围内调节滑块, 可以更快地浏览完播放文件中的内容, 以及更 快地确定自己所需的播放时间点。  When it is determined that the accuracy is lowered, for example, the end point of the precision adjustment operation is located below the first progress bar and is 2 cm away from the first progress bar, then if the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 1/1 4 times, and the playback precision of the first progress bar is 1 times precision (that is, the first progress bar is normal playback precision), then the accuracy of the second progress bar is 1/4 times precision, that is, the first progress bar If the content of the last 10 minutes is 20 cm on the progress bar, then on the second progress bar, the content of the 10-minute duration is 5 cm, and the user can adjust the slider within a length of 5 cm, as opposed to Adjusting the slider over a length of 20 cm allows you to quickly view the contents of the playback file and determine the playback time point you need more quickly.
在上述任一技术方案中, 优选地, 还包括: 当所述第二进度条的播放时间结束时、 在预 设时间内未识别到对所述第二进度条的操作时或在接收到关闭所述第二进度条的指令时, 关 闭所述第二进度条, 和 /或在接收到的关闭所述第一进度条的指令时, 关闭所述第一进度条。  In any one of the above technical solutions, preferably, the method further includes: when the playing time of the second progress bar ends, when the operation of the second progress bar is not recognized within a preset time, or when the receiving is closed When the instruction of the second progress bar is closed, the second progress bar is closed, and/or the first progress bar is closed when the received instruction to close the first progress bar is received.
在该技术方案中, 可以根据预设条件, 比如第二进度条的播放时间结束, 此时第二进度 条上的滑块位于第二进度条的终止点, 第一进度条上待放大部分的内容已播放完毕, 则自动 关闭第二进度条, 或者在一段时间内未识别到对第二进度条的操作时, 说明用户无需精确确 定播放时间点, 则自动关闭第二进度条, 或者根据接收到的关闭指令, 关闭第一进度条和 /或 第二进度条。  In the technical solution, according to a preset condition, for example, the playing time of the second progress bar ends, at this time, the slider on the second progress bar is located at the end point of the second progress bar, and the part to be enlarged on the first progress bar After the content has been played, the second progress bar is automatically closed, or when the operation of the second progress bar is not recognized for a period of time, indicating that the user does not need to accurately determine the playback time point, the second progress bar is automatically closed, or according to the reception. The close instruction to the close, the first progress bar and / or the second progress bar.
在上述任一技术方案中, 优选地, 还包括: 根据接收到的保存指令, 保存所述第二播放 精度, 并在识别到预设操作时, 根据所述第二播放精度生成所述第二进度条。  In any one of the above aspects, preferably, the method further includes: saving the second play precision according to the received save instruction, and generating the second according to the second play precision when the preset operation is recognized progress bar.
在该技术方案中, 可以保存生成的第二进度条的精度, 当识别到预设操作 (比如对第一 进度条进行双击操作、 长按第一进度条、 将鼠标悬浮在第一进度条上等等) 时, 则可以根据 该精度自动生成扩展进度条, 无需进行存在起始点和终止点的精度调节操作, 就可以生成具 有新的精度的进度条。  In the technical solution, the accuracy of the generated second progress bar may be saved, when a preset operation is recognized (for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar) When you wait, you can automatically generate an extension progress bar based on the precision, and you can generate a progress bar with new precision without performing the precision adjustment operation with the start point and the end point.
在上述任一技术方案中, 优选地, 还包括: 根据接收到的倍数调节指令, 调节所述预设 倍数。 在该技术方案中, 用户可以根据需要调节预设倍数, 比如可以将预设倍数 4倍 /厘米调节 为 10 倍 /厘米, 从而在精度调节操作的终止点到第一进度条的距离不变的情况下, 将生成精 度更高的第二进度条。 In any one of the above technical solutions, preferably, the method further includes: adjusting the preset multiple according to the received multiple adjustment instruction. In this technical solution, the user can adjust the preset multiple according to needs, for example, the preset multiple 4 times/cm can be adjusted to 10 times/cm, so that the distance from the end point of the precision adjustment operation to the first progress bar is constant. In the case, a second progress bar with higher precision will be generated.
在上述技术方案中, 优选地, 所述步骤 202 包括: 步骤 2022, 记录所述操作的起始点的 位置信息和终止点的位置信息; 步骤 2024, 计算所述终止点到与其相应的起始点的第二距 离, 并根据所述第二距离与预设倍数得到所述精度调节倍数。  In the above technical solution, preferably, the step 202 includes: Step 2022, recording location information of a starting point of the operation and location information of the termination point; Step 2024, calculating the termination point to a corresponding starting point thereof a second distance, and obtaining the precision adjustment multiple according to the second distance and a preset multiple.
在该技术方案中, 可以在播放器上的进度条上进行操作, 比如以进度条上的两个点为两 个起始点, 在进度条上做向终止点和起始点的滑动操作, 那么根据每个终止点到相应起始点 的距离, 可以计算出一个平均距离, 比如拇指在进度条上的终止点到起始点的距离是 3 厘 米, 食指在进度条上的终止点到起始点的距离是 5厘米, 则平均距离是 4厘米, 而预设倍数 为 1倍 /厘米, 则精度调节倍数为 4倍。  In the technical solution, the operation bar can be operated on the progress bar, for example, two points on the progress bar are used as two starting points, and the sliding operation to the end point and the starting point is performed on the progress bar, then The distance from each termination point to the corresponding starting point can be calculated as an average distance. For example, the distance from the end point of the thumb on the progress bar to the starting point is 3 cm, and the distance from the end point of the index finger on the progress bar to the starting point is 5 cm, the average distance is 4 cm, and the preset multiple is 1 / cm, the precision adjustment factor is 4 times.
在上述技术方案中, 优选地, 所述步骤 204 包括: 步骤 2042, 根据所述精度调节倍数调 节所述播放器的进度条的播放精度; 步骤 2044, 根据所述起始点和 /或所述终止点在所述播放 器上对应的播放时间, 确定调节后的进度条的起始点的播放时间和终止点的播放时间。  In the above technical solution, preferably, the step 204 includes: Step 2042, adjusting a play precision of the progress bar of the player according to the precision adjustment multiple; Step 2044, according to the start point and/or the termination Clicking on the corresponding playing time on the player determines the playing time of the starting point of the adjusted progress bar and the playing time of the ending point.
在该技术方案中, 可以根据得到的精度调节倍数调节进度条的播放精度, 比如精度调节 倍数为 4倍, 则可以将进度条的播放精度调整为原来的 4倍, 同时将进度条的长度扩展为原 来的 4 倍, 同时, 可以将操作的一个起始点的播放时间作为调节后的进度条的起始播放时 间, 并将操作另一个起始点播放时间作为调节后的进度条的终止播放时间, 即通过拇指和食 指进行操作时, 拇指和食指在进度条上操作开始时点击的两点, 就分别对应调节后的进度条 的起始播放时间和终止播放时间。  In the technical solution, the playback precision of the progress bar can be adjusted according to the obtained precision adjustment. For example, the precision adjustment multiple is 4 times, the playback precision of the progress bar can be adjusted to 4 times, and the length of the progress bar is expanded. For the original 4 times, at the same time, the playing time of one starting point of the operation can be used as the starting playing time of the adjusted progress bar, and the other starting point playing time is used as the ending playing time of the adjusted progress bar. That is, when the thumb and the index finger are operated, the two points clicked by the thumb and the index finger at the beginning of the operation on the progress bar correspond to the start play time and the end play time of the adjusted progress bar, respectively.
在上述技术方案中, 优选地, 所述步骤 202 包括: 步骤 2022, 识别在所述播放器中进行 的操作; 步骤 2024, 判断所述操作是否属于预设操作, 若属于预设操作, 则查询与所述操作 相对应的精度调节倍数。  In the above technical solution, preferably, the step 202 includes: Step 2022: Identify an operation performed in the player; Step 2024, determine whether the operation belongs to a preset operation, and if it belongs to a preset operation, query The precision adjustment multiple corresponding to the operation.
在该技术方案中, 可以预先设置某些操作与特定的精度调节倍数相关联, 比如对进度条 的双击操作与将进度条的播放精度放大到两倍相关联, 而对进度条的三击操作则与将进度条 的播放精度放大到三倍相关联, 从而使得用户可以通过预设操作快速地调整进度条的播放精 度。  In this technical solution, some operations may be preset to be associated with a specific precision adjustment multiple, such as a double-click operation on the progress bar and a double-folding of the progress of the progress bar, and a three-click operation on the progress bar. Then, the playback precision of the progress bar is enlarged to three times, so that the user can quickly adjust the playback precision of the progress bar by the preset operation.
根据本发明的实施方式, 还提供了一种存储在非易失性机器可读介质上的程序产品, 用 于播放器进度条的调节, 所述程序产品包括用于使计算机系统执行以下步骤的机器可执行指 令: 记录识别到的操作的终止点的位置信息, 计算所述终止点到所述播放器的第一进度条的 第一距离, 并根据所述第一距离与预设倍数得到所述精度调节倍数。  According to an embodiment of the present invention, there is also provided a program product stored on a non-transitory machine readable medium for adjustment of a player progress bar, the program product comprising a computer system for performing the following steps The machine executable instruction: recording location information of the termination point of the identified operation, calculating a first distance of the termination point to the first progress bar of the player, and obtaining the location according to the first distance and the preset multiple The precision adjustment factor is described.
根据本发明的实施方式, 还提供了一种非易失机器可读介质, 存储有用于播放器进度条 的调节的程序产品, 所述程序产品包括用于使计算机系统执行以下步骤的机器可执行指令: 记录识别到的操作的终止点的位置信息, 计算所述终止点到所述播放器的第一进度条的第一 距离, 并根据所述第一距离与预设倍数得到所述精度调节倍数。  According to an embodiment of the present invention, there is also provided a non-volatile machine readable medium storing a program product for adjustment of a player progress bar, the program product comprising a machine executable for causing a computer system to perform the following steps Command: recording position information of the end point of the identified operation, calculating a first distance of the end point to the first progress bar of the player, and obtaining the precision adjustment according to the first distance and a preset multiple multiple.
根据本发明的实施方式, 还提供了一种机器可读程序, 所述程序使机器执行如上所述技 术方案中任一所述的进度条精度调节方法。  According to an embodiment of the present invention, there is also provided a machine readable program, the program causing a machine to perform the progress bar precision adjustment method of any of the above-described technical solutions.
根据本发明的实施方式, 还提供了一种存储有机器可读程序的存储介质, 其中, 所述机 器可读程序使得机器执行如上所述技术方案中任一所述的进度条精度调节方法。  According to an embodiment of the present invention, there is further provided a storage medium storing a machine readable program, wherein the machine readable program causes the machine to perform the progress bar precision adjustment method of any one of the above-described technical solutions.
通过以上技术方案, 能够根据用户操作来确定精度调节倍数, 进而精度调节倍数调节进 度条的播放精度, 以使用户可以在调节后的进度条上精确地确定播放时间。 附图说明 Through the above technical solution, the precision adjustment multiple can be determined according to the user operation, and the precision adjustment multiple adjusts the playing precision of the progress bar, so that the user can accurately determine the playing time on the adjusted progress bar. DRAWINGS
图 1示出了根据本发明的实施例的一种进度条精度调节装置的框图;  1 shows a block diagram of a progress bar precision adjustment apparatus in accordance with an embodiment of the present invention;
图 2示出了根据本发明的实施例的一种进度条精度调节方法的流程图;  2 shows a flow chart of a method for adjusting the progress of the progress bar according to an embodiment of the present invention;
图 3A至图 3H示出了根据本发明的实施例的调节进度条精度的示意图;  3A through 3H are diagrams showing the adjustment of the progress bar accuracy according to an embodiment of the present invention;
图 4A至图 4C示出了根据本发明的实施例的在终端中调节播放精度的示意图; 图 5示出了根据本发明的实施例的进度条精度调节方法的具体流程图。 具体实施方式  4A to 4C are diagrams showing adjustment of playback precision in a terminal according to an embodiment of the present invention; and Fig. 5 is a specific flowchart showing a method of adjusting progress bar accuracy according to an embodiment of the present invention. detailed description
为了能够更清楚地理解本发明的上述目的、 特征和优点, 下面结合附图和具体实施方式 对本发明进行进一步的详细描述。 需要说明的是, 在不冲突的情况下, 本申请的实施例及实 施例中的特征可以相互组合。  The present invention will be further described in detail below with reference to the drawings and specific embodiments. It should be noted that the features of the embodiments and embodiments of the present application may be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本发明, 但是, 本发明还可以采用 其他不同于在此描述的其他方式来实施, 因此, 本发明的保护范围并不受下面公开的具体实 施例的限制。  In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the invention may be practiced otherwise than as described herein. Limitations of the embodiments.
图 1示出了根据本发明的实施例的一种进度条精度调节装置的框图。  FIG. 1 shows a block diagram of a progress bar precision adjustment apparatus in accordance with an embodiment of the present invention.
如图 1 所示, 根据本发明的实施例的进度条精度调节装置 100 包括: 调节精度确定单元 102 , 用于根据识别到的操作确定精度调节倍数; 进度条处理单元 104, 用于根据精度调节倍 数对播放器的进度条进行调节。  As shown in FIG. 1, the progress bar precision adjusting apparatus 100 according to an embodiment of the present invention includes: an adjustment precision determining unit 102, configured to determine a precision adjustment multiple according to the identified operation; a progress bar processing unit 104, configured to adjust according to the accuracy The multiple adjusts the progress bar of the player.
用户在通过播放器播放文件时, 可以在播放器上进行特定的操作, 通过识别用户的操 作, 可以得到相应的精度调节倍数, 进而根据得到的精度调节倍数, 可以对播放器的进度条 进行相应调节, 以改变进度条的播放精度, 使得用户可以更加精确地在进度条上调节播放时 间。  When the user plays a file through the player, the user can perform a specific operation on the player. By recognizing the user's operation, the corresponding precision adjustment multiple can be obtained, and according to the obtained precision adjustment multiple, the progress bar of the player can be correspondingly Adjust to change the playback accuracy of the progress bar so that the user can adjust the play time more accurately on the progress bar.
优选地, 调节精度确定单元 102 包括: 记录单元 1020, 用于记录操作的终止点的位置信 息; 计算单元 1022, 用于计算终止点到播放器的第一进度条的第一距离, 并根据第一距离与 预设倍数得到精度调节倍数。  Preferably, the adjustment precision determining unit 102 includes: a recording unit 1020 for recording position information of a termination point of the operation; a calculating unit 1022, configured to calculate a first distance of the termination point to the first progress bar of the player, and according to the first A distance and a preset multiple get the precision adjustment multiple.
可以根据用户操作的终止点与播放器的固有主进度条 (的第一进度条) 的距离和预设倍 数确定精度调节倍数, 用户操作可以是以下至少一种或其组合: 以播放器上任一点起始点, 并以第一进度条以外任一点为终止点的滑动操作, 以播放器上任一点起始点, 并以第一进度 条以外任一点为终止点的点击操作 由于预设倍数是预先设定的, 用户可以通过控制操作的 终止点与主进度条的距离来得到所需的精度调节倍数, 比如预设倍数是 1 倍 /厘米, 而第一距 离为 2厘米, 那么可以得到精度调节倍数 =1倍 /厘米 x2厘米 =2倍, 若用户控制第一距离为 3 厘米, 则精度调节倍数就是 3 倍, 其中, 精度调节倍数 =预设倍数 X第一距离的公式只是本申 请的一个实施例, 用户可以根据需要设置精度调节倍数、 预设倍数和第一距离三者之间的关 联关系。  The precision adjustment multiple may be determined according to the distance between the termination point of the user operation and the player's inherent main progress bar (the first progress bar) and the preset multiple. The user operation may be at least one of the following or a combination thereof: Any point on the player The starting point, and the sliding operation of the ending point by any point other than the first progress bar, the starting point of any point on the player, and the clicking operation with any point other than the first progress bar as the ending point is preset according to the preset multiple The user can obtain the required precision adjustment multiple by controlling the distance between the end point of the operation and the main progress bar. For example, the preset multiple is 1 time/cm, and the first distance is 2 cm, then the precision adjustment multiple can be obtained. 1 times / cm x 2 cm = 2 times, if the user controls the first distance to be 3 cm, the precision adjustment factor is 3 times, wherein the precision adjustment factor = the preset multiple X the first distance formula is only one embodiment of the present application The user can set the relationship between the precision adjustment multiple, the preset multiple and the first distance as needed.
优选地, 进度条处理单元 104 包括: 进度条生成单元 1040, 其中, 计算单元 1022还用 于根据第一进度条的第一播放精度与精度调节倍数得到第二播放精度; 进度条生成单元 1040 用于根据第二播放精度生成第二进度条。  Preferably, the progress bar processing unit 104 includes: a progress bar generating unit 1040, wherein the calculating unit 1022 is further configured to obtain a second playing precision according to the first playing precision and the precision adjusting multiple of the first progress bar; the progress bar generating unit 1040 uses Generating a second progress bar according to the second playback precision.
可以通过精度调节操作来生成第二进度条 (即在播放器原有的进度条以外生成的新进度 条) , 第二进度条的精度与精度调节操作的终止点的位置到第一进度条 (即播放器原有的进 度条) 的距离相关, 从而可以通过控制精度调节操作的终止点的位置来调节第二进度条的精 度, 比如将第二进度条的精度调节为第一进度条的精度的四倍 3 倍, 用户则可以在第二进度 条上精确地调节文件的播放进度, 方便地将文件调节到自己所需的播放时间点, 其中, 第一 进度条的播放精度与第二进度条的播放精度的关系可以是, 第二播放精度 =第一播放精度 X ( 1 +第一距离 x预设倍数) , 即在用户操作的终止点到第一进度条的距离为 2 厘米时, 第二 播放精度=第一播放精度 x3 倍, 即第二进度条的播放精度是第一进度条的播放精度的 3 倍, 从而在第二进度条上, 用户可以更加精确地调节进度条上的滑块来确定播放时间。 A second progress bar (ie, a new progress bar generated outside the player's original progress bar) can be generated by the precision adjustment operation, the accuracy of the second progress bar and the position of the end point of the precision adjustment operation to the first progress bar ( That is, the distance of the original progress bar of the player is related, so that the accuracy of the second progress bar can be adjusted by controlling the position of the end point of the precision adjustment operation, for example, adjusting the accuracy of the second progress bar to the accuracy of the first progress bar. Four times 3 times, the user can precisely adjust the playback progress of the file on the second progress bar, and conveniently adjust the file to the playback time point required by itself, wherein the playback accuracy of the first progress bar and the second progress The relationship of the playing precision of the bar may be: the second playing precision = the first playing precision X (1 + first distance x preset multiple), that is, when the distance from the end point of the user operation to the first progress bar is 2 cm, the second playback precision = the first playback precision x 3 times, that is, the playback of the second progress bar The accuracy is 3 times the playback precision of the first progress bar, so that on the second progress bar, the user can more precisely adjust the slider on the progress bar to determine the play time.
优选地, 进度条处理单元 104 还包括: 播放时间确定单元 1042, 其中, 记录单元 1020 还用于记录操作的起始点的位置信息; 计算单元 1022还用于根据终止点到起始点的水平距离 以及第二播放精度计算偏移值; 播放时间确定单元 1042用于根据操作发起时第一进度条上的 基准播放时间, 确定第二进度条的中点的播放时间, 并根据第二进度条的中点的播放时间和 偏移值在第二进度条上确定继续播放时间, 并从继续播放时间继续播放。  Preferably, the progress bar processing unit 104 further includes: a play time determining unit 1042, wherein the recording unit 1020 is further configured to record position information of a starting point of the operation; the calculating unit 1022 is further configured to use the horizontal distance from the end point to the starting point and The second playing precision calculates the offset value; the playing time determining unit 1042 is configured to determine the playing time of the midpoint of the second progress bar according to the reference playing time on the first progress bar when the operation is initiated, and according to the second progress bar The play time and offset value of the point determine the resume play time on the second progress bar, and continue playback from the resume play time.
用户可以通过控制操作的终止点到起始点的水平距离, 来控制第二进度条上继续播放的 时间点与第一进度条上的基准时间点的偏移值, 比如操作的终止点到起始点的水平距离为 3 厘米, 而得到的第二播放精度为第一播放精度的 3 倍, 第一播放精度为 50 秒 /厘米, 那么第 二播放精度为 150秒 /厘米, 即 2.5分钟 /厘米, 根据水平距离和第二播放精度得到偏移值为 3 厘米 x2.5分钟 /厘米 =7.5分钟。 并且, 当用户发起操作时, 第一进度条上滑块所在的时间即为 基准播放时间, 比如 52 : 30 , 那么确定出的继续播放时间为 52 : 30+7 : 30=60 : 00。  The user can control the offset value of the time point on the second progress bar from the reference time point on the first progress bar by controlling the horizontal distance of the end point of the operation to the starting point, such as the end point of the operation to the starting point. The horizontal distance is 3 cm, and the obtained second playing precision is 3 times of the first playing precision, and the first playing precision is 50 seconds/cm, then the second playing precision is 150 seconds/cm, that is, 2.5 minutes/cm. The offset value obtained from the horizontal distance and the second playback precision is 3 cm x 2.5 minutes/cm = 7.5 minutes. Moreover, when the user initiates the operation, the time of the slider on the first progress bar is the reference playing time, for example, 52:30, then the determined resume playing time is 52: 30+7: 30=60: 00.
即用户可以在播放器上所在终端的屏幕上进行操作, 操作的终止点距离播放器的原有进 度条 2厘米, 操作的终止点到操作的起始点的水平距离为 3厘米, 那么可以在播放器原有的 进度条之外生成新的进度条, 新生成的进度条的播放精度是原进度条的播放精度的 3 倍, 同 时, 播放器在第二进度条上从 60 : 00继续播放。  That is, the user can operate on the screen of the terminal where the player is located, the end point of the operation is 2 cm from the original progress bar of the player, and the horizontal distance from the end point of the operation to the starting point of the operation is 3 cm, then it can be played. A new progress bar is generated outside the original progress bar. The newly generated progress bar plays three times faster than the original progress bar. At the same time, the player continues to play from 60: 00 on the second progress bar.
优选地, 计算单元 1020还用于根据精度调节倍数的倒数和第二进度条的长度, 在第一进 度条上确定以基准播放时间作为中点的待放大部分; 播放时间确定单元 1042根据待放大部分 的起始点的播放时间确定第二进度条起始点的播放时间, 并根据待放大部分的终止点的播放 时间确定第二进度条终止点的播放时间。  Preferably, the calculating unit 1020 is further configured to determine, according to a reciprocal of the precision adjustment multiple and a length of the second progress bar, a portion to be enlarged with the reference playing time as a midpoint on the first progress bar; the playing time determining unit 1042 is to be enlarged according to The playing time of the starting point of the part determines the playing time of the starting point of the second progress bar, and determines the playing time of the ending point of the second progress bar according to the playing time of the ending point of the part to be enlarged.
当用户发起精度调节操作时, 第一进度条上的基准播放时间 (即发起精度调节操作时第 一进度条上的滑块所对应的时间) 两侧的部分区域, 就包含用户需要精确确定播放时间的一 点, 从而将基准播放时间对应到第二进度条的中点, 可以使得生成的第二进度条有更大可能 性包含用户需要精确确定播放时间的一点, 便于用户在第二进度条上精确确定自己所需的播 放时间点。 并且生成的第二进度条可以与第一进度条的长度一致, 而第二进度条在第一进度 条上对应的部分则是以基准播放时间为中点的部分, 其长度可以根据第二进度条的长度和精 度调节倍数来确定, 比如生成的第二进度条长 20 厘米, 精度调节倍数为 10, 那么待放大部 分的长度为 2 厘米, 该部分经过放大, 形成第二进度条, 并且该部分的起始点、 终止点和中 点的播放时间也分别对应到第二进度条的起始点、 终止点和中点, 假设待放大部分为第一进 度条上 10 : 00到 15 : 00的时间段, 占第一进度条的百分之十, 比如 2厘米, 且此时第一进 度条的播放精度是 15 秒 /毫米, 而待放大部分经过放大形成第二进度条后, 其播放精度将变 为 1.5秒 /毫米, 若滑块的最小移动距离是 1 毫米, 那么通过在第二进度条上移动滑块, 可以 准确地确定 10 : 03、 10 : 09 等时间点, 而在第一进度条上的则只能粗略地确定到 10 : 15、 10 : 30 等时间点, 从而在经过精度调节操作生成第二进度条后, 使得用户在第二进度条上可 以准确地确定播放时间点。  When the user initiates the precision adjustment operation, the reference play time on the first progress bar (ie, the time corresponding to the slider on the first progress bar when the precision adjustment operation is initiated) includes the user needs to accurately determine the play. A point of time, thereby matching the reference play time to the midpoint of the second progress bar, may make the generated second progress bar have a greater possibility to include a point at which the user needs to accurately determine the play time, so that the user can conveniently on the second progress bar. Accurately determine the playback time point you need. And the generated second progress bar may be consistent with the length of the first progress bar, and the corresponding part of the second progress bar on the first progress bar is the part with the reference playing time as the midpoint, and the length may be according to the second progress. The length and precision adjustment of the strip are determined by, for example, the generated second progress bar is 20 cm long, and the precision adjustment factor is 10, then the length of the portion to be enlarged is 2 cm, and the portion is enlarged to form a second progress bar, and the The playback time of the starting point, the ending point and the midpoint of the part also correspond to the starting point, ending point and midpoint of the second progress bar, respectively, assuming that the part to be enlarged is the time of 10: 00 to 15: 00 on the first progress bar. Segment, accounting for 10% of the first progress bar, such as 2 cm, and the playback precision of the first progress bar is 15 seconds/mm, and the playback precision will be after the enlarged portion is enlarged to form the second progress bar. It becomes 1.5 sec/mm. If the minimum moving distance of the slider is 1 mm, you can accurately determine 10 : 03, 10 : 09 by moving the slider on the second progress bar. The time point, while on the first progress bar, can only be roughly determined to the time point of 10:15, 10:30, etc., so that after the second progress bar is generated by the precision adjustment operation, the user is on the second progress bar. The playback time point can be accurately determined.
优选地, 进度条处理单元 104还包括: 放大校准单元 1044, 用于判断待放大部分的起始 点是否超出第一进度条的起始点, 和 /或待放大部分的终止点是否超出第一进度条的终止点, 并在待放大部分的起始点超出第一进度条的起始点的情况下, 以第一进度条的起始点为起始 点, 在第一进度条上获取与待放大部分长度相等的部分作为待放大部分, 和 /或在待放大部分 的终止点超出第一进度条的终止点的情况下, 以第一进度条的终止点为终止点, 在第一进度 条上获取与待放大部分长度相等的部分作为待放大部分。  Preferably, the progress bar processing unit 104 further includes: an amplification calibration unit 1044, configured to determine whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or whether a termination point of the to-be-amplified portion exceeds the first progress bar The termination point, and in the case where the starting point of the portion to be enlarged exceeds the starting point of the first progress bar, starting from the starting point of the first progress bar, obtaining the length of the portion to be enlarged on the first progress bar Partially as part to be enlarged, and/or in the case where the end point of the portion to be enlarged exceeds the end point of the first progress bar, the end point of the first progress bar is used as the end point, and the first progress bar is acquired and to be enlarged A portion of equal length is used as the portion to be enlarged.
若待放大部分起始点或者终止点超出第一进度条的起始点或者终止点, 那么最多只能在 第一进度条上获取到起始点或者终止点为止的一段放大生成第二进度条, 比如待放大部分的 终止点超出了第一进度条的终止点, 即第一进度条的终止点的播放时间为 90 : 00 , 而基准时 间点为 87: 00 , 而确定得到的待放大部分的长度为 2厘米, 在第一进度条上对应 10分钟, 那么在 87: 00两侧各取 5分钟的一段作为待放大部分, 则需要获取到 82: 00至 92: 00的一 段, 但是 90 : 00至 92: 00 的部分显然不存在于第一进度条, 则可以以第一进度条的终止点 作为终止点获取时长 10分钟的一段作为待放大部分, 即 80: 00至 90 : 00的部分, 这段时间 依然包含 87: 00附近的时间点, 从而保证了用户能够精确地在第二进度条上确定播放时间。 If the starting point or ending point of the portion to be enlarged exceeds the starting point or ending point of the first progress bar, then at most A step of obtaining the starting point or the ending point on the first progress bar generates a second progress bar, for example, the ending point of the portion to be enlarged exceeds the ending point of the first progress bar, that is, the playing time of the ending point of the first progress bar. It is 90: 00, and the reference time point is 87: 00, and the length of the part to be enlarged is 2 cm, and the first progress bar corresponds to 10 minutes. Then, each side of the 87: 00 takes 5 minutes. As the part to be enlarged, it is necessary to obtain a section of 82: 00 to 92: 00, but the part of 90: 00 to 92: 00 obviously does not exist in the first progress bar, and can be terminated by the termination point of the first progress bar. The point is obtained as a part to be enlarged for 10 minutes, that is, a portion of 80: 00 to 90: 00, and this time still contains a time point around 87: 00, thereby ensuring that the user can accurately determine on the second progress bar. play time.
优选地, 调节精度确定单元 102还包括: 位置判断单元 1024, 用于根据终止点的位置信 息和预设的位置与精度的关联关系判断提高精度或降低精度, 其中, 计算单元 1022在位置判 断单元 1024判定提高精度时, 根据第一距离与预设倍数得到精度调节倍数, 并在位置判断单 元 1024判定降低精度时, 根据第一距离与预设倍数的倒数得到精度调节倍数。  Preferably, the adjustment accuracy determining unit 102 further includes: a position determining unit 1024, configured to determine, according to the position information of the ending point and the preset relationship between the position and the accuracy, to improve the accuracy or reduce the accuracy, wherein the calculating unit 1022 is in the position determining unit When the 1024 determines the accuracy, the precision adjustment multiple is obtained according to the first distance and the preset multiple, and when the position determination unit 1024 determines the reduction precision, the precision adjustment multiple is obtained according to the reciprocal of the first distance and the preset multiple.
生成的第二进度条, 其播放精度可以比第一进度条小 (即可以在第二进度条上更快的调 节播放进度) , 也可以比第一进度条大 (即可以在第二进度条上更精确地调节播放进度) , 具体确定提高精度还是降低精度, 可以通过控制精度调节操作的终止点来确定, 比如终止点 位于第一进度条上下方, 则可以判定为降低精度, 终止点位于第一进度条上方, 则可以判定 为提高精度, 其中, 当判定为提高精度时, 比如精度调节操作的终止点位于第一进度条上 方, 且距离第一进度条 2厘米, 那么如果预设倍数为 2倍 /厘米, 则可以确定精度调节倍数为 4 倍, 而第一进度条的播放精度为 1 倍精度 (即第一进度条为正常播放精度) , 那么第二进 度条的精度则为 4倍精度, 也就是说, 第一进度条上 10分钟时长的内容如果在进度条上占 1 厘米, 那么在第二进度条上, 该段 10分钟时长的内容则为 4厘米, 用户 4厘米的长度内调节 进度条的滑块来确定所需的播放时间点, 相对于在 1 厘米的长度内调节滑块来确定所需的播 放时间点, 更加准确且方便。  The generated second progress bar can be played with a smaller precision than the first progress bar (ie, the playback progress can be adjusted faster on the second progress bar), or can be larger than the first progress bar (ie, can be in the second progress bar) Adjusting the playback progress more accurately, specifically determining the accuracy or reducing the accuracy, which can be determined by controlling the termination point of the precision adjustment operation. For example, if the termination point is located above and below the first progress bar, it can be determined that the accuracy is lowered, and the termination point is located. Above the first progress bar, it can be determined that the accuracy is improved, wherein when it is determined that the precision is improved, for example, the end point of the precision adjustment operation is located above the first progress bar and is 2 cm away from the first progress bar, then if the preset multiple is If it is 2 times/cm, it can be determined that the precision adjustment factor is 4 times, and the playback precision of the first progress bar is 1 times precision (that is, the first progress bar is normal playback precision), then the accuracy of the second progress bar is 4 Double precision, that is, if the content of the 10-minute duration on the first progress bar accounts for 1 cm on the progress bar, then On the second progress bar, the length of the 10-minute period is 4 cm. The user adjusts the slider of the progress bar within 4 cm of the length to determine the desired playback time point, relative to adjusting the slider within a length of 1 cm. Determining the desired playback time point is more accurate and convenient.
当判定为降低精度时, 比如精度调节操作的终止点位于第一进度条下方, 且距离第一进 度条 2厘米, 那么如果预设倍数为 2倍 /厘米, 则可以确定精度调节倍数为 1/4倍, 而第一进 度条的播放精度为 1 倍精度 (即第一进度条为正常播放精度) , 那么第二进度条的精度则为 1/4倍精度, 也就是说, 第一进度条上 10分钟时长的内容如果在进度条上占 20厘米, 那么在 第二进度条上, 该段 10分钟时长的内容则为 5厘米, 用户可以在 5厘米的长度范围内调节滑 块, 相对于在 20厘米的长度范围内调节滑块, 可以更快地浏览完播放文件中的内容, 以及更 快地确定自己所需的播放时间点。  When it is determined that the accuracy is lowered, for example, the end point of the precision adjustment operation is located below the first progress bar and is 2 cm away from the first progress bar, then if the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 1/1 4 times, and the playback precision of the first progress bar is 1 times precision (that is, the first progress bar is normal playback precision), then the accuracy of the second progress bar is 1/4 times precision, that is, the first progress bar If the content of the last 10 minutes is 20 cm on the progress bar, then on the second progress bar, the content of the 10-minute duration is 5 cm, and the user can adjust the slider within a length of 5 cm, as opposed to Adjusting the slider over a length of 20 cm allows you to quickly view the contents of the playback file and determine the playback time point you need more quickly.
优选地, 还包括: 进度条关闭单元 106, 用于在第二进度条的播放时间结束时、 在预设 时间内未识别到对第二进度条的操作时或在接收到关闭第二进度条的指令时, 关闭第二进度 条, 和 /或在接收到的关闭第一进度条的指令时, 关闭第一进度条。  Preferably, the method further includes: a progress bar closing unit 106, configured to: when the playing time of the second progress bar ends, when the operation of the second progress bar is not recognized within the preset time, or when the second progress bar is closed When the instruction is executed, the second progress bar is closed, and/or the first progress bar is closed when the received instruction to close the first progress bar is received.
可以根据预设条件, 比如第二进度条的播放时间结束, 此时第二进度条上的滑块位于第 二进度条的终止点, 第一进度条上待放大部分的内容已播放完毕, 则自动关闭第二进度条, 或者在一段时间内未识别到对第二进度条的操作时, 说明用户无需精确确定播放时间点, 则 自动关闭第二进度条, 或者根据接收到的关闭指令, 关闭第一进度条和 /或第二进度条。  According to a preset condition, for example, the playing time of the second progress bar ends. At this time, the slider on the second progress bar is located at the end point of the second progress bar, and the content of the portion to be enlarged on the first progress bar has been played, then Automatically close the second progress bar, or when the operation of the second progress bar is not recognized for a period of time, indicating that the user does not need to accurately determine the playback time point, then automatically closes the second progress bar, or closes according to the received shutdown command. First progress bar and / or second progress bar.
优选地, 还包括: 存储单元 108, 用于根据接收到的保存指令, 保存第二播放精度, 其 中, 进度条生成单元还用于在识别到预设操作时, 根据第二播放精度生成第二进度条。  Preferably, the method further includes: a storage unit 108, configured to save the second play precision according to the received save instruction, where the progress bar generating unit is further configured to generate a second according to the second play precision when the preset operation is recognized progress bar.
可以保存生成的第二进度条的精度, 当识别到预设操作 (比如对第一进度条进行双击操 作、 长按第一进度条、 将鼠标悬浮在第一进度条上等等) 时, 则可以根据该精度自动生成扩 展进度条, 无需进行存在起始点和终止点的精度调节操作, 就可以生成具有新的精度的进度 条。  The accuracy of the generated second progress bar can be saved, and when a preset operation is recognized (such as double-clicking the first progress bar, long pressing the first progress bar, hovering the mouse on the first progress bar, etc.), An extended progress bar can be automatically generated based on the accuracy, and a progress bar with new precision can be generated without performing an accuracy adjustment operation with a start point and an end point.
优选地, 还包括: 倍数调节单元 1 10, 用于根据接收到的倍数调节指令, 调节预设倍 数。 用户可以根据需要调节预设倍数, 比如可以将预设倍数 4倍 /厘米调节为 10倍 /厘米, 从 而在精度调节操作的终止点到第一进度条的距离不变的情况下, 将生成精度更高的第二进度 条。 Preferably, the method further includes: a multiple adjustment unit 1 10, configured to adjust the preset multiple according to the received multiple adjustment instruction. The user can adjust the preset multiple according to the need, for example, the preset multiple 4 times/cm can be adjusted to 10 times/cm, so that the accuracy is generated when the distance from the end point of the precision adjustment operation to the first progress bar is constant. A higher second progress bar.
优选地, 调节精度确定单元 102 包括: 记录单元 1020, 用于记录操作在播放器的进度条 上的至少一个起始点的位置信息和相应的终止点的位置信息; 计算单元 1022, 用于计算终止 点到与其相应的起始点的第二距离, 根据每个终止点到与其相应的起始点的第二距离得到平 均距离, 根据平均距离与预设倍数得到精度调节倍数。  Preferably, the adjustment precision determining unit 102 includes: a recording unit 1020, configured to record position information of at least one starting point operated on a progress bar of the player and position information of the corresponding ending point; and a calculating unit 1022, configured to terminate The second distance from the point to the corresponding starting point is obtained according to the second distance from each of the ending points to the corresponding starting point, and the precision adjustment multiple is obtained according to the average distance and the preset multiple.
可以在播放器上的进度条上进行操作, 比如以进度条上的两个点为两个起始点, 在进度 条上做向终止点和起始点的滑动操作, 那么根据每个终止点到相应起始点的距离, 可以计算 出一个平均距离, 比如拇指在进度条上的终止点到起始点的距离是 3 厘米, 食指在进度条上 的终止点到起始点的距离是 5厘米, 则平均距离是 4厘米, 而预设倍数为 1倍 /厘米, 则精度 调节倍数为 4倍。  You can operate on the progress bar on the player, for example, two points on the progress bar are used as two starting points, and the sliding operation to the ending point and the starting point is performed on the progress bar, then according to each termination point to the corresponding The distance from the starting point, you can calculate an average distance, such as the distance from the end point of the thumb on the progress bar to the starting point is 3 cm, the distance from the end point of the index finger on the progress bar to the starting point is 5 cm, then the average distance It is 4 cm, and the preset multiple is 1 time/cm, and the precision adjustment factor is 4 times.
优选地, 进度条处理单元 104 包括: 进度条调节单元 1046, 用于根据精度调节倍数调节 播放器的进度条的播放精度; 播放时间确定单元 1042, 用于根据起始点和 /或终止点在播放器 上对应的播放时间, 确定调节后的进度条的起始点的播放时间和终止点的播放时间。  Preferably, the progress bar processing unit 104 includes: a progress bar adjusting unit 1046, configured to adjust a playing precision of the progress bar of the player according to the precision adjustment multiple; a playing time determining unit 1042, configured to play according to the starting point and/or the ending point The corresponding playing time on the device determines the playing time of the starting point of the adjusted progress bar and the playing time of the ending point.
可以根据得到的精度调节倍数调节进度条的播放精度, 比如精度调节倍数为 4 倍, 则可 以将进度条的播放精度调整为原来的 4倍, 同时将进度条的长度扩展为原来的 4倍, 同时, 可以将操作的一个起始点的播放时间作为调节后的进度条的起始播放时间, 并将操作另一个 起始点播放时间作为调节后的进度条的终止播放时间, 即通过拇指和食指进行操作时, 拇指 和食指在进度条上操作开始时点击的两点, 就分别对应调节后的进度条的起始播放时间和终 止播放时间。  The playback precision of the progress bar can be adjusted according to the obtained precision adjustment. For example, the precision adjustment multiple is 4 times, the playback precision of the progress bar can be adjusted to 4 times, and the length of the progress bar is expanded to 4 times. At the same time, the playing time of one starting point of the operation can be used as the starting playing time of the adjusted progress bar, and the other starting point playing time can be operated as the ending playing time of the adjusted progress bar, that is, through the thumb and the index finger. During operation, the two points clicked by the thumb and forefinger at the beginning of the operation on the progress bar correspond to the start play time and the end play time of the adjusted progress bar, respectively.
优选地, 调节精度确定单元包括: 操作识别单元 1026, 用于识别在播放器中进行的操 作; 精度查询单元 1028, 用于判断操作是否属于预设操作, 若属于预设操作, 则查询与操作 相对应的精度调节倍数。  Preferably, the adjustment accuracy determining unit includes: an operation identifying unit 1026, configured to identify an operation performed in the player; an accuracy query unit 1028, configured to determine whether the operation belongs to a preset operation, and if it belongs to a preset operation, query and operate Corresponding precision adjustment multiples.
可以预先设置某些操作与特定的精度调节倍数相关联, 比如对进度条的双击操作与将进 度条的播放精度放大到两倍相关联, 而对进度条的三击操作则与将进度条的播放精度放大到 三倍相关联, 从而使得用户可以通过预设操作快速地调整进度条的播放精度。  Some operations can be preset to be associated with a specific precision adjustment factor, such as double-clicking on the progress bar and zooming in on the progress of the progress bar by a factor of two, while the three-click operation on the progress bar is the same as the progress bar. The playback accuracy is enlarged to three times associative, so that the user can quickly adjust the playback accuracy of the progress bar by a preset operation.
本申请还提出了一种播放系统, 包括上述进度条精度调节装置 100。  The present application also proposes a playback system including the above-described progress bar precision adjustment device 100.
本申请还提出了一种终端, 包括上述进度条精度调节装置 100和 /或播放系统。  The present application also proposes a terminal comprising the above-described progress bar precision adjustment device 100 and/or a playback system.
图 2示出了根据本发明的实施例的一种进度条精度调节方法的流程图。  2 shows a flow chart of a method of adjusting the progress of the progress bar according to an embodiment of the present invention.
如图 2 所示, 根据本发明的实施例的进度条精度调节方法包括: 步骤 202, 根据识别到 的操作确定精度调节倍数; 步骤 204, 根据精度调节倍数对播放器的进度条进行调节。  As shown in FIG. 2, the progress bar precision adjustment method according to an embodiment of the present invention includes: Step 202: Determine a precision adjustment multiple according to the identified operation; Step 204, adjust a progress bar of the player according to the precision adjustment multiple.
在该技术方案中, 用户在通过播放器播放文件时, 可以在播放器上进行特定的操作, 通 过识别用户的操作, 可以得到相应的精度调节倍数, 进而根据得到的精度调节倍数, 可以对 播放器的进度条进行相应调节, 以改变进度条的播放精度, 使得用户可以更加精确地在进度 条上调节播放时间。  In the technical solution, when the user plays a file through the player, the user can perform a specific operation on the player, and by recognizing the operation of the user, the corresponding precision adjustment multiple can be obtained, and then the adjustment ratio can be adjusted according to the obtained precision, and the playback can be performed. The progress bar of the device is adjusted accordingly to change the playing precision of the progress bar, so that the user can adjust the playing time more accurately on the progress bar.
在上述技术方案中, 优选地, 步骤 202 包括: 步骤 2022, 记录操作的终止点的位置信 息; 步骤 2024, 计算终止点到播放器的第一进度条的第一距离, 并根据第一距离与预设倍数 得到精度调节倍数。  In the above technical solution, preferably, step 202 includes: Step 2022, recording location information of a termination point of the operation; Step 2024, calculating a first distance from the termination point to the first progress bar of the player, and according to the first distance The preset multiple is obtained by the precision adjustment multiple.
在该技术方案中, 可以根据用户操作的终止点与播放器的固有主进度条 (的第一进度 条) 的距离和预设倍数确定精度调节倍数, 用户操作可以是以下至少一种或其组合: 以播放 器上任一点起始点, 并以第一进度条以外任一点为终止点的滑动操作, 以播放器上任一点起 始点, 并以第一进度条以外任一点为终止点的点击操作。 由于预设倍数是预先设定的, 用户 可以通过控制操作的终止点与主进度条的距离来得到所需的精度调节倍数, 比如预设倍数是 1倍 /厘米, 而第一距离为 2厘米, 那么可以得到精度调节倍数 = 1倍 /厘米 x2厘米 =2倍, 若用 户控制第一距离为 3厘米, 则精度调节倍数就是 3倍, 其中, 精度调节倍数 =预设倍数 X第一 距离的公式只是本申请的一个实施例, 用户可以根据需要设置精度调节倍数、 预设倍数和第 一距离三者之间的关联关系。 In this technical solution, the precision adjustment multiple may be determined according to the distance between the termination point of the user operation and the first main progress bar of the player (the first progress bar) and the preset multiple, and the user operation may be at least one of the following or a combination thereof : Starts at any point on the player and slides at any point other than the first progress bar to start at any point on the player, and clicks at any point other than the first progress bar as the end point. Since the preset multiple is preset, the user can obtain the required precision adjustment multiple by controlling the distance between the end point of the operation and the main progress bar, for example, the preset multiple is 1 times / cm, and the first distance is 2 cm, then you can get the precision adjustment factor = 1 / cm x 2 cm = 2 times, if the user controls the first distance is 3 cm, the precision adjustment factor is 3 times, The formula of the precision adjustment multiple=preset multiple X first distance is only one embodiment of the present application, and the user can set the relationship between the precision adjustment multiple, the preset multiple and the first distance as needed.
在上述技术方案中, 优选地, 步骤 2024包括: 根据第一进度条的第一播放精度与精度调 节倍数得到第二播放精度; 则步骤 204还包括: 用于根据第二播放精度生成第二进度条。  In the above technical solution, preferably, the step 2024 includes: obtaining a second play precision according to the first play precision and the precision adjustment multiple of the first progress bar; and the step 204 further includes: generating a second progress according to the second play precision. article.
在该技术方案中, 可以通过精度调节操作来生成第二进度条 (即在播放器原有的进度条 以外生成的新进度条) , 第二进度条的精度与精度调节操作的终止点的位置到第一进度条 (即播放器原有的进度条) 的距离相关, 从而可以通过控制精度调节操作的终止点的位置来 调节第二进度条的精度, 比如将第二进度条的精度调节为第一进度条的精度的四倍 3 倍, 用 户则可以在第二进度条上精确地调节文件的播放进度, 方便地将文件调节到自己所需的播放 时间点, 其中, 第一进度条的播放精度与第二进度条的播放精度的关系可以是, 第二播放精 度=第一播放精度 X ( 1 +第一距离 X预设倍数) , 即在用户操作的终止点到第一进度条的距离 为 2 厘米时, 第二播放精度 =第一播放精度 x3 倍, 即第二进度条的播放精度是第一进度条的 播放精度的 3 倍, 从而在第二进度条上, 用户可以更加精确地调节进度条上的滑块来确定播 放时间。  In the technical solution, the second progress bar (ie, a new progress bar generated outside the player's original progress bar) may be generated by the precision adjustment operation, and the accuracy of the second progress bar and the position of the end point of the precision adjustment operation The distance to the first progress bar (ie, the original progress bar of the player) is related, so that the accuracy of the second progress bar can be adjusted by controlling the position of the end point of the precision adjustment operation, for example, adjusting the accuracy of the second progress bar to The accuracy of the first progress bar is four times 3 times, and the user can accurately adjust the playback progress of the file on the second progress bar, and conveniently adjust the file to the playback time point required by himself, wherein the first progress bar The relationship between the playing precision and the playing precision of the second progress bar may be: the second playing precision = the first playing precision X (1 + the first distance X preset multiple), that is, at the end point of the user operation to the first progress bar When the distance is 2 cm, the second playback precision=the first playback precision is x3 times, that is, the playback precision of the second progress bar is three times the playback precision of the first progress bar, On the second progress bar, the user can adjust the slider on the progress bar more precisely to determine the play time.
在上述技术方案中, 优选地, 步骤 202 还包括: 记录操作的起始点的位置信息, 根据终 止点到起始点的水平距离以及第二播放精度计算偏移值; 则步骤 204 还包括: 根据操作发起 时第一进度条上的基准播放时间, 确定第二进度条的中点的播放时间, 并根据第二进度条的 中点的播放时间和偏移值在第二进度条上确定继续播放时间, 并从继续播放时间继续播放。  In the above technical solution, preferably, the step 202 further includes: recording location information of a starting point of the operation, calculating an offset value according to a horizontal distance from the termination point to the starting point, and a second playing precision; and the step 204 further includes: The reference play time on the first progress bar at the time of initiation, determining the play time of the midpoint of the second progress bar, and determining the resume play time on the second progress bar according to the play time and the offset value of the midpoint of the second progress bar , and continue playing from the time of continued playback.
在该技术方案中, 用户可以通过控制操作的终止点到起始点的水平距离, 来控制第二进 度条上继续播放的时间点与第一进度条上的基准时间点的偏移值, 比如操作的终止点到起始 点的水平距离为 3厘米, 而得到的第二播放精度为第一播放精度的 3倍, 第一播放精度为 50 秒 /厘米, 那么第二播放精度为 150 秒 /厘米, 即 2.5 分钟 /厘米, 根据水平距离和第二播放精 度得到偏移值为 3厘米 x2.5分钟 /厘米 =7.5分钟。 并且, 当用户发起操作时, 第一进度条上滑 块所在的时间即为基准播放时间, 比如 52 : 30 , 那么确定出的继续播放时间为 52 : 30+7 : 30=60 : 00。  In this technical solution, the user can control the offset value of the time point of continuing playback on the second progress bar and the reference time point on the first progress bar by controlling the horizontal distance from the termination point of the operation to the starting point, for example, the operation The horizontal distance from the end point to the starting point is 3 cm, and the obtained second playing precision is 3 times of the first playing precision, and the first playing precision is 50 sec/cm, then the second playing precision is 150 sec/cm. That is, 2.5 minutes/cm, and the offset value is 3 cm x 2.5 minutes/cm = 7.5 minutes according to the horizontal distance and the second play precision. Moreover, when the user initiates the operation, the time at which the slider on the first progress bar is the reference play time, for example, 52:30, then the determined resume play time is 52: 30+7: 30=60: 00.
即用户可以在播放器上所在终端的屏幕上进行操作, 操作的终止点距离播放器的原有进 度条 2厘米, 操作的终止点到操作的起始点的水平距离为 3厘米, 那么可以在播放器原有的 进度条之外生成新的进度条, 新生成的进度条的播放精度是原进度条的播放精度的 3 倍, 同 时, 播放器在第二进度条上从 60 : 00继续播放。  That is, the user can operate on the screen of the terminal where the player is located, the end point of the operation is 2 cm from the original progress bar of the player, and the horizontal distance from the end point of the operation to the starting point of the operation is 3 cm, then it can be played. A new progress bar is generated outside the original progress bar. The newly generated progress bar plays three times faster than the original progress bar. At the same time, the player continues to play from 60: 00 on the second progress bar.
在上述技术方案中, 优选地, 步骤 202 还包括: 根据精度调节倍数的倒数和第二进度条 的长度, 在第一进度条上确定以基准播放时间作为中点的待放大部分; 则步骤 204 还包括: 根据待放大部分的起始点的播放时间确定第二进度条起始点的播放时间, 并根据待放大部分 的终止点的播放时间确定第二进度条终止点的播放时间。  In the above technical solution, preferably, the step 202 further includes: determining, according to the reciprocal of the precision adjustment multiple and the length of the second progress bar, the portion to be enlarged with the reference playing time as the midpoint on the first progress bar; The method further includes: determining a play time of the start point of the second progress bar according to a play time of the start point of the to-be-amplified portion, and determining a play time of the second progress bar end point according to the play time of the end point of the to-be-amplified portion.
在该技术方案中, 当用户发起精度调节操作时, 第一进度条上的基准播放时间 (即发起 精度调节操作时第一进度条上的滑块所对应的时间) 两侧的部分区域, 就包含用户需要精确 确定播放时间的一点, 从而将基准播放时间对应到第二进度条的中点, 可以使得生成的第二 进度条有更大可能性包含用户需要精确确定播放时间的一点, 便于用户在第二进度条上精确 确定自己所需的播放时间点。 并且生成的第二进度条可以与第一进度条的长度一致, 而第二 进度条在第一进度条上对应的部分则是以基准播放时间为中点的部分, 其长度可以根据第二 进度条的长度和精度调节倍数来确定, 比如生成的第二进度条长 20 厘米, 精度调节倍数为 10, 那么待放大部分的长度为 2 厘米, 该部分经过放大, 形成第二进度条, 并且该部分的起 始点、 终止点和中点的播放时间也分别对应到第二进度条的起始点、 终止点和中点, 假设待 放大部分为第一进度条上 10: 00到 15 : 00的时间段, 占第一进度条的百分之十, 比如 2厘 米, 且此时第一进度条的播放精度是 15 秒 /毫米, 而待放大部分经过放大形成第二进度条 后, 其播放精度将变为 1.5秒 /毫米, 若滑块的最小移动距离是 1 毫米, 那么通过在第二进度 条上移动滑块, 可以准确地确定 10: 03、 10: 09等时间点, 而在第一进度条上的则只能粗略 地确定到 10: 15、 10 : 30等时间点, 从而在经过精度调节操作生成第二进度条后, 使得用户 在第二进度条上可以准确地确定播放时间点。 In this technical solution, when the user initiates the precision adjustment operation, the reference play time on the first progress bar (ie, the time corresponding to the slider on the first progress bar when the precision adjustment operation is initiated) is a partial area on both sides. Including the point that the user needs to accurately determine the playing time, so that the reference playing time is corresponding to the midpoint of the second progress bar, so that the generated second progress bar has a greater possibility to include a point that the user needs to accurately determine the playing time, which is convenient for the user. Accurately determine the playback time point you need on the second progress bar. And the generated second progress bar may be consistent with the length of the first progress bar, and the corresponding part of the second progress bar on the first progress bar is the part with the reference playing time as the midpoint, and the length may be according to the second progress. The length and precision adjustment of the strip are determined by, for example, the generated second progress bar is 20 cm long, and the precision adjustment factor is 10, then the length of the portion to be enlarged is 2 cm, and the portion is enlarged to form a second progress bar, and the The playback time of the starting point, the ending point and the midpoint of the part also correspond to the starting point, ending point and midpoint of the second progress bar, respectively. The enlarged part is the time period of 10: 00 to 15: 00 on the first progress bar, which is 10% of the first progress bar, such as 2 cm, and the playback precision of the first progress bar is 15 seconds/mm. After the enlarged portion is enlarged to form the second progress bar, the playback precision will become 1.5 seconds/mm. If the minimum moving distance of the slider is 1 mm, then by moving the slider on the second progress bar, it is possible to accurately Determine the time points of 10: 03, 10: 09, and the first progress bar can only be roughly determined to the time points of 10:15, 10:30, etc., so that after the second progress bar is generated by the precision adjustment operation , allowing the user to accurately determine the playback time point on the second progress bar.
在上述技术方案中, 优选地, 步骤 204 还包括: 判断待放大部分的起始点是否超出第一 进度条的起始点, 和 /或待放大部分的终止点是否超出第一进度条的终止点, 并在待放大部分 的起始点超出第一进度条的起始点的情况下, 以第一进度条的起始点为起始点, 在第一进度 条上获取与待放大部分长度相等的部分作为待放大部分, 和 /或在待放大部分的终止点超出第 一进度条的终止点的情况下, 以第一进度条的终止点为终止点, 在第一进度条上获取与待放 大部分长度相等的部分作为待放大部分。  In the above technical solution, preferably, the step 204 further includes: determining whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or a termination point of the to-be-amplified portion exceeds a termination point of the first progress bar, And if the starting point of the portion to be enlarged exceeds the starting point of the first progress bar, starting from the starting point of the first progress bar, obtaining a portion equal to the length of the portion to be enlarged on the first progress bar as to be enlarged Part, and/or in the case where the end point of the portion to be enlarged exceeds the end point of the first progress bar, the end point of the first progress bar is used as the end point, and the length of the portion to be enlarged is equal to the length of the portion to be enlarged on the first progress bar Part of it is the part to be enlarged.
在该技术方案中, 若待放大部分起始点或者终止点超出第一进度条的起始点或者终止 点, 那么最多只能在第一进度条上获取到起始点或者终止点为止的一段放大生成第二进度 条, 比如待放大部分的终止点超出了第一进度条的终止点, 即第一进度条的终止点的播放时 间为 90: 00 , 而基准时间点为 87: 00 , 而确定得到的待放大部分的长度为 2厘米, 在第一进 度条上对应 10分钟, 那么在 87: 00 两侧各取 5分钟的一段作为待放大部分, 则需要获取到 82: 00至 92: 00的一段, 但是 90 : 00至 92: 00的部分显然不存在于第一进度条, 则可以 以第一进度条的终止点作为终止点获取时长 10 分钟的一段作为待放大部分, 即 80 : 00 至 90: 00 的部分, 这段时间依然包含 87: 00 附近的时间点, 从而保证了用户能够精确地在第 二进度条上确定播放时间。  In the technical solution, if the starting point or the ending point of the portion to be enlarged exceeds the starting point or the ending point of the first progress bar, then at most the first step bar can obtain the starting point or the ending point. The second progress bar, for example, the end point of the portion to be enlarged exceeds the end point of the first progress bar, that is, the play time of the end point of the first progress bar is 90: 00, and the reference time point is 87: 00, and the determined time is obtained. The length of the part to be enlarged is 2 cm, corresponding to 10 minutes on the first progress bar, then a section of 5 minutes on each side of 87: 00 is taken as the part to be enlarged, and a section of 82: 00 to 92: 00 is required. , but the part of 90: 00 to 92: 00 obviously does not exist in the first progress bar, and the end point of the first progress bar can be used as the end point to obtain a section of 10 minutes in length as the part to be enlarged, that is, 80: 00 to 90 : The part of 00, this time still contains the time point around 87: 00, thus ensuring that the user can accurately determine the play time on the second progress bar.
在上述技术方案中, 优选地, 步骤 202 还包括: 根据终止点的位置信息和预设的位置与 精度的关联关系判断提高精度或降低精度, 在位置判断单元判定提高精度时, 根据第一距离 与预设倍数得到精度调节倍数, 并在位置判断单元判定降低精度时, 根据第一距离与预设倍 数的倒数得到精度调节倍数。  In the above technical solution, preferably, the step 202 further includes: determining, according to the position information of the termination point and the preset relationship between the position and the accuracy, the improvement accuracy or the accuracy, and when the position determination unit determines to improve the accuracy, according to the first distance. The precision adjustment multiple is obtained with the preset multiple, and when the position determination unit determines the reduction precision, the precision adjustment multiple is obtained according to the reciprocal of the first distance and the preset multiple.
在该技术方案中, 生成的第二进度条, 其播放精度可以比第一进度条小 (即可以在第二 进度条上更快的调节播放进度) , 也可以比第一进度条大 (即可以在第二进度条上更精确地 调节播放进度) , 具体确定提高精度还是降低精度, 可以通过控制精度调节操作的终止点来 确定, 比如终止点位于第一进度条上下方, 则可以判定为降低精度, 终止点位于第一进度条 上方, 则可以判定为提高精度, 其中, 当判定为提高精度时, 比如精度调节操作的终止点位 于第一进度条上方, 且距离第一进度条 2厘米, 那么如果预设倍数为 2倍 /厘米, 则可以确定 精度调节倍数为 4 倍, 而第一进度条的播放精度为 1 倍精度 (即第一进度条为正常播放精 度) , 那么第二进度条的精度则为 4倍精度, 也就是说, 第一进度条上 10分钟时长的内容如 果在进度条上占 1厘米, 那么在第二进度条上, 该段 10分钟时长的内容则为 4厘米, 用户 4 厘米的长度内调节进度条的滑块来确定所需的播放时间点, 相对于在 1 厘米的长度内调节滑 块来确定所需的播放时间点, 更加准确且方便。  In the technical solution, the generated second progress bar can be played with a smaller precision than the first progress bar (ie, the playback progress can be adjusted faster on the second progress bar), or can be larger than the first progress bar (ie, The playback progress can be adjusted more precisely on the second progress bar. Specifically, whether the accuracy is improved or the accuracy is lowered can be determined by controlling the termination point of the precision adjustment operation. For example, if the termination point is located above and below the first progress bar, it can be determined as If the accuracy is lowered, the termination point is located above the first progress bar, and it can be determined that the accuracy is improved. When it is determined that the precision is improved, for example, the end point of the precision adjustment operation is located above the first progress bar, and the distance from the first progress bar is 2 cm. , then if the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 4 times, and the first progress bar has a playback precision of 1 times (that is, the first progress bar is the normal playback precision), then the second progress The accuracy of the bar is 4 times the precision, that is, the content of the 10 minute duration on the first progress bar is in the progress bar. 1 cm, then on the second progress bar, the length of the 10-minute period is 4 cm. The user adjusts the slider of the progress bar within 4 cm of the length to determine the desired playback time point, relative to 1 cm. Adjust the slider within the length to determine the desired playback time point, which is more accurate and convenient.
当判定为降低精度时, 比如精度调节操作的终止点位于第一进度条下方, 且距离第一进 度条 2厘米, 那么如果预设倍数为 2倍 /厘米, 则可以确定精度调节倍数为 1/4倍, 而第一进 度条的播放精度为 1 倍精度 (即第一进度条为正常播放精度) , 那么第二进度条的精度则为 1/4倍精度, 也就是说, 第一进度条上 10分钟时长的内容如果在进度条上占 20厘米, 那么在 第二进度条上, 该段 10分钟时长的内容则为 5厘米, 用户可以在 5厘米的长度范围内调节滑 块, 相对于在 20厘米的长度范围内调节滑块, 可以更快地浏览完播放文件中的内容, 以及更 快地确定自己所需的播放时间点。  When it is determined that the accuracy is lowered, for example, the end point of the precision adjustment operation is located below the first progress bar and is 2 cm away from the first progress bar, then if the preset multiple is 2 times/cm, it can be determined that the precision adjustment multiple is 1/1 4 times, and the playback precision of the first progress bar is 1 times precision (that is, the first progress bar is normal playback precision), then the accuracy of the second progress bar is 1/4 times precision, that is, the first progress bar If the content of the last 10 minutes is 20 cm on the progress bar, then on the second progress bar, the content of the 10-minute duration is 5 cm, and the user can adjust the slider within a length of 5 cm, as opposed to Adjusting the slider over a length of 20 cm allows you to quickly view the contents of the playback file and determine the playback time point you need more quickly.
在上述任一技术方案中, 优选地, 还包括: 当第二进度条的播放时间结束时、 在预设时 间内未识别到对第二进度条的操作时或在接收到关闭第二进度条的指令时, 关闭第二进度 条, 和 /或在接收到的关闭第一进度条的指令时, 关闭第一进度条。 In any one of the above technical solutions, preferably, the method further includes: when the playing time of the second progress bar ends, at the preset time When the operation of the second progress bar is not recognized in the room or when the instruction to close the second progress bar is received, the second progress bar is closed, and/or when the received instruction to close the first progress bar is closed, A progress bar.
在该技术方案中, 可以根据预设条件, 比如第二进度条的播放时间结束, 此时第二进度 条上的滑块位于第二进度条的终止点, 第一进度条上待放大部分的内容已播放完毕, 则自动 关闭第二进度条, 或者在一段时间内未识别到对第二进度条的操作时, 说明用户无需精确确 定播放时间点, 则自动关闭第二进度条, 或者根据接收到的关闭指令, 关闭第一进度条和 /或 第二进度条。  In the technical solution, according to a preset condition, for example, the playing time of the second progress bar ends, at this time, the slider on the second progress bar is located at the end point of the second progress bar, and the part to be enlarged on the first progress bar After the content has been played, the second progress bar is automatically closed, or when the operation of the second progress bar is not recognized for a period of time, indicating that the user does not need to accurately determine the playback time point, the second progress bar is automatically closed, or according to the reception. The close instruction to the close, the first progress bar and / or the second progress bar.
在上述任一技术方案中, 优选地, 还包括: 根据接收到的保存指令, 保存第二播放精 度, 并在识别到预设操作时, 根据第二播放精度生成第二进度条。  In any one of the above aspects, preferably, the method further includes: saving the second playing precision according to the received saving instruction, and generating a second progress bar according to the second playing precision when the preset operation is recognized.
在该技术方案中, 可以保存生成的第二进度条的精度, 当识别到预设操作 (比如对第一 进度条进行双击操作、 长按第一进度条、 将鼠标悬浮在第一进度条上等等) 时, 则可以根据 该精度自动生成扩展进度条, 无需进行存在起始点和终止点的精度调节操作, 就可以生成具 有新的精度的进度条。  In the technical solution, the accuracy of the generated second progress bar may be saved, when a preset operation is recognized (for example, double-clicking the first progress bar, long pressing the first progress bar, and hovering the mouse on the first progress bar) When you wait, you can automatically generate an extension progress bar based on the precision, and you can generate a progress bar with new precision without performing the precision adjustment operation with the start point and the end point.
在上述任一技术方案中, 优选地, 还包括: 根据接收到的倍数调节指令, 调节预设倍 数。  In any one of the above technical solutions, preferably, the method further includes: adjusting the preset multiple according to the received multiple adjustment instruction.
在该技术方案中, 用户可以根据需要调节预设倍数, 比如可以将预设倍数 4倍 /厘米调节 为 10 倍 /厘米, 从而在精度调节操作的终止点到第一进度条的距离不变的情况下, 将生成精 度更高的第二进度条。  In this technical solution, the user can adjust the preset multiple according to needs, for example, the preset multiple 4 times/cm can be adjusted to 10 times/cm, so that the distance from the end point of the precision adjustment operation to the first progress bar is constant. In the case, a second progress bar with higher precision will be generated.
在上述技术方案中, 优选地, 步骤 202 包括: 步骤 2022, 记录操作的起始点的位置信息 和终止点的位置信息; 步骤 2024, 计算终止点到与其相应的起始点的第二距离, 并根据第二 距离与预设倍数得到精度调节倍数。  In the above technical solution, preferably, step 202 includes: Step 2022, recording location information of a starting point of the operation and location information of the termination point; Step 2024, calculating a second distance from the termination point to a corresponding starting point thereof, and according to The second distance and the preset multiple are obtained by the precision adjustment multiple.
在该技术方案中, 可以在播放器上的进度条上进行操作, 比如以进度条上的两个点为两 个起始点, 在进度条上做向终止点和起始点的滑动操作, 那么根据每个终止点到相应起始点 的距离, 可以计算出一个平均距离, 比如拇指在进度条上的终止点到起始点的距离是 3 厘 米, 食指在进度条上的终止点到起始点的距离是 5厘米, 则平均距离是 4厘米, 而预设倍数 为 1倍 /厘米, 则精度调节倍数为 4倍。  In the technical solution, the operation bar can be operated on the progress bar, for example, two points on the progress bar are used as two starting points, and the sliding operation to the end point and the starting point is performed on the progress bar, then The distance from each termination point to the corresponding starting point can be calculated as an average distance. For example, the distance from the end point of the thumb on the progress bar to the starting point is 3 cm, and the distance from the end point of the index finger on the progress bar to the starting point is 5 cm, the average distance is 4 cm, and the preset multiple is 1 / cm, the precision adjustment factor is 4 times.
在上述技术方案中, 优选地, 步骤 204 包括: 步骤 2042, 根据精度调节倍数调节播放器 的进度条的播放精度; 步骤 2044, 根据起始点和 /或终止点在播放器上对应的播放时间, 确定 调节后的进度条的起始点的播放时间和终止点的播放时间。  In the above technical solution, preferably, the step 204 includes: Step 2042, adjusting a play precision of the progress bar of the player according to the precision adjustment multiple; Step 2044, according to the start time and/or the end point corresponding play time on the player, Determine the playback time of the starting point of the adjusted progress bar and the playback time of the termination point.
在该技术方案中, 可以根据得到的精度调节倍数调节进度条的播放精度, 比如精度调节 倍数为 4倍, 则可以将进度条的播放精度调整为原来的 4倍, 同时将进度条的长度扩展为原 来的 4 倍, 同时, 可以将操作的一个起始点的播放时间作为调节后的进度条的起始播放时 间, 并将操作另一个起始点播放时间作为调节后的进度条的终止播放时间, 即通过拇指和食 指进行操作时, 拇指和食指在进度条上操作开始时点击的两点, 就分别对应调节后的进度条 的起始播放时间和终止播放时间。  In the technical solution, the playback precision of the progress bar can be adjusted according to the obtained precision adjustment. For example, the precision adjustment multiple is 4 times, the playback precision of the progress bar can be adjusted to 4 times, and the length of the progress bar is expanded. For the original 4 times, at the same time, the playing time of one starting point of the operation can be used as the starting playing time of the adjusted progress bar, and the other starting point playing time is used as the ending playing time of the adjusted progress bar. That is, when the thumb and the index finger are operated, the two points clicked by the thumb and the index finger at the beginning of the operation on the progress bar correspond to the start play time and the end play time of the adjusted progress bar, respectively.
在上述技术方案中, 优选地, 步骤 202 包括: 步骤 2022, 识别在播放器中进行的操作; 步骤 2024, 判断操作是否属于预设操作, 若属于预设操作, 则查询与操作相对应的精度调节 倍数。  In the above technical solution, step 202 includes: Step 2022: Identify an operation performed in the player; Step 2024, determine whether the operation belongs to a preset operation, and if it belongs to a preset operation, query an accuracy corresponding to the operation. Adjust the multiple.
在该技术方案中, 可以预先设置某些操作与特定的精度调节倍数相关联, 比如对进度条 的双击操作与将进度条的播放精度放大到两倍相关联, 而对进度条的三击操作则与将进度条 的播放精度放大到三倍相关联, 从而使得用户可以通过预设操作快速地调整进度条的播放精 度。  In this technical solution, some operations may be preset to be associated with a specific precision adjustment multiple, such as a double-click operation on the progress bar and a double-folding of the progress of the progress bar, and a three-click operation on the progress bar. Then, the playback precision of the progress bar is enlarged to three times, so that the user can quickly adjust the playback precision of the progress bar by the preset operation.
图 3A至图 3H示出了根据本发明的实施例的调节进度条精度的示意图。  3A through 3H are schematic diagrams showing the adjustment of the progress bar accuracy in accordance with an embodiment of the present invention.
如图 3A 所示, 用户在播放器上 (通过鼠标或触屏) 进行滑动操作 (操作路径可以是直 线, 也可以是曲线) , 记录滑动操作的起始点 302 的位置信息和终止点 304 的位置信息, 确 定终止点 304位于第一进度条 308的上方, 则进行精度放大, 计算终止点 304到第一进度条 308的第一距离 306, 比如为 2厘米, 根据预设倍数 1倍 /厘米, 可以可到第二进度条 310的 第二播放精度为第一进度条 308 的第一播放精度的 3倍, 然后根据第二播放精度通过终止点 304生成第二进度条 310 (需要说明的是, 第二进度条可以不通过终止点 304, 也可以不平行 于第一进度条 308 ) , 其中, 播放精度和预设倍数与第一距离 306 的计算公式可由用户进行 具体设置, 此处采用的公式为: 第二播放精度 =第一播放精度 X ( 1+第一距离 X预设倍数) 。 As shown in Figure 3A, the user slides on the player (via mouse or touch screen) (the operation path can be straight The line, which may also be a curve), records the position information of the starting point 302 of the sliding operation and the position information of the ending point 304, and determines that the ending point 304 is located above the first progress bar 308, and then performs precision amplification, and calculates the ending point 304 to the The first distance 306 of the progress bar 308 is, for example, 2 cm. According to the preset multiple of 1/cm, the second playback precision of the second progress bar 310 can be 3 of the first playback precision of the first progress bar 308. And then generating a second progress bar 310 through the termination point 304 according to the second playback precision (it is noted that the second progress bar may not pass through the termination point 304 or may not be parallel to the first progress bar 308), wherein, The calculation formula of the precision and the preset multiple and the first distance 306 can be specifically set by the user, and the formula adopted here is: the second playback precision = the first playback precision X (1 + the first distance X preset multiple).
如图 3B 所示, 生成第二进度条 310后, 将精度调节操作发起时第一进度条 308 上的基 准播放时间 312 (即发起精度调节操作时第一进度条 308 上的滑块所在位置对应的时间) 对 应到第二进度条的中点 322。  As shown in FIG. 3B, after the second progress bar 310 is generated, the reference play time 312 on the first progress bar 308 when the precision adjustment operation is initiated (ie, the position of the slider on the first progress bar 308 when the precision adjustment operation is initiated corresponds to Time) corresponds to the midpoint 322 of the second progress bar.
如图 3C所示, 第一进度条 308 的播放时长是 00: 00至 90: 00, 基准播放时间 3 12为 52 : 30 , 根据精度调节倍数 3 (即第二播放精度和第一播放精度的比值) 可以得到第一进度 条 308上的待放大区域 3 14的时长为 30分钟, 即 ( 90: 00-00: 00 ) /3=30: 00, 然后在基准 播放时间的两侧各取待放大区域 314的时长的一半, 即 15分钟, 将所取到的两部分合并得到 待放大区域 314, 其时长为 37: 30至 67: 30。  As shown in FIG. 3C, the playback duration of the first progress bar 308 is 00: 00 to 90: 00, and the reference playback time 3 12 is 52: 30, and the adjustment ratio 3 is adjusted according to the accuracy (ie, the second playback precision and the first playback accuracy are The ratio of the area to be enlarged on the first progress bar 308 is 30 minutes, that is, (90: 00-00: 00) / 3 = 30: 00, and then is taken on both sides of the reference play time. Half of the duration of the enlarged area 314, i.e., 15 minutes, combines the two portions taken to obtain an area 314 to be enlarged, which is 37:30 to 67:30.
将待放大区域 314起始点的时长对应到第二进度条 310的起始点, 将待放大区域 314终 止点的时长对应到第二进度条 310的终止点, 从而完成了第二进度条的确定。  The duration of the start point of the area to be enlarged 314 corresponds to the start point of the second progress bar 310, and the duration of the end point of the area to be enlarged 314 corresponds to the end point of the second progress bar 310, thereby completing the determination of the second progress bar.
如图 3D所示, 还可以根据起始点 302的位置信息, 计算终止点 304到起始点 302的水 平距离 3 16, 比如为 3厘米。  As shown in Fig. 3D, the horizontal distance 3 from the end point 304 to the starting point 302, for example, 3 cm, can also be calculated based on the position information of the starting point 302.
如图 3E所示, 根据水平距离 316和第二播放精度 (30分钟 /12厘米 =2.5分钟 /厘米) , 得到偏移值为 3厘米 x2.5分钟 /厘米 =7.5分钟, 从而确定出继续播放时间 318为 52: 30+7: 30=60: 00。  As shown in Fig. 3E, according to the horizontal distance 316 and the second playback precision (30 minutes / 12 cm = 2.5 minutes / cm), an offset value of 3 cm x 2.5 minutes / cm = 7.5 minutes is obtained, thereby determining to continue playing. Time 318 is 52: 30+7: 30=60: 00.
如图 3F 所示, 若用户设置当精度调节操作的终止点位于第一进度条下方则判定降低精 度, 那么精度调节倍数 = 1/ (第一距离 X预设倍数) , 比如第一距离 306 为 1 厘米, 预设倍数 为 2倍 /厘米, 那么精度调节倍数为 1/2倍, 即第二进度条 310的播放精度为第一进度条 308 的播放精度的一半, 则生成的第二进度条 310的起始点的播放时间为 00: 00 , 终止点的播放 时间为 90: 00 , 且第二进度条 310的中点的播放时间与第一进度条的中点的播放时间相同, 均为 45 : 00 , 第二进度条 310的长度为第一进度条 308的一半, 用户可以在第二进度条 310 上拖动滑块, 从而实现播放时间的快速调节。  As shown in FIG. 3F, if the user sets the end point of the precision adjustment operation to be below the first progress bar and determines the reduction accuracy, then the precision adjustment multiple = 1 / (the first distance X preset multiple), for example, the first distance 306 is 1 cm, the preset multiple is 2 times/cm, then the precision adjustment factor is 1/2 times, that is, the playback precision of the second progress bar 310 is half of the playback precision of the first progress bar 308, and the second progress bar is generated. The playback time of the starting point of 310 is 00: 00, the playing time of the ending point is 90: 00, and the playing time of the midpoint of the second progress bar 310 is the same as the playing time of the midpoint of the first progress bar, both are 45. The length of the second progress bar 310 is half of the first progress bar 308, and the user can drag the slider on the second progress bar 310 to achieve fast adjustment of the play time.
如图 3G和图 3H所示, 用户还可以预先设置一个调节倍数, 每当识别到用户进行预设操 作时, 就根据该调节倍数来调节第一进度条 308 的播放精度, 而无需生成第二进度条 310, 比如设置的调节倍数为 3 倍, 那么当识别到用户双击第一进度条 308 的操作时 (用户可以设 置与调节进度条的精度相关的预设操作, 比如长按第一进度条 308、 鼠标悬浮于第一进度条 308之上) , 确定双击操作的目标点 330的播放时间为 52 : 30 , 根据调节倍数 3倍可以确定 第一进度条 308上以 52: 30秒为中点, 且时长为 00: 00至 90 : 00的 1/3—段为待放大区域 314 , 在 52: 30的两侧各取待放大区域 314的时长的一半, 即 15分钟, 将所取到的两部分合 并得到待放大区域 314, 其时长为 37 : 30至 67: 30 , 将 37: 30秒作为调节后的进度条 332 的起始点的播放时间, 将 67: 30秒作为调节后的进度条 332的终止点的播放时间。 用户在调 节后的进度条 332 上拖动滑块来调节播放进度, 可以精确地控制文件的播放进度, 准确且方 便地找到感兴趣的播放时间点。  As shown in FIG. 3G and FIG. 3H, the user can also preset a adjustment multiple. Whenever the user performs the preset operation, the playback precision of the first progress bar 308 is adjusted according to the adjustment multiple, without generating the second. The progress bar 310, for example, the adjustment magnification of the setting is 3 times, then when the operation of the user double-clicking the first progress bar 308 is recognized (the user can set a preset operation related to adjusting the precision of the progress bar, such as long pressing the first progress bar) 308. The mouse is hovered over the first progress bar 308. The play time of the target point 330 of the double-click operation is determined to be 52:30. According to the adjustment multiple of 3 times, the first progress bar 308 can be determined to have a midpoint of 52:30 seconds. , and the duration is 00: 00 to 90: 00 of 1/3 - the segment is the area to be enlarged 314, and on each side of 52: 30, the half of the length of the enlarged area 314 is taken, that is, 15 minutes, which will be taken The two parts merge to obtain the area to be enlarged 314, the length is 37:30 to 67:30, 37:30 seconds is used as the starting time of the adjusted starting point of the progress bar 332, and 67:30 seconds is taken as the adjusted progress bar. The playback time of the end point of 332. The user drags the slider on the progress bar 332 after adjustment to adjust the playback progress, which can accurately control the playback progress of the file, and accurately and conveniently find the playback time point of interest.
图 4A至图 4C示出了根据本发明的实施例的在终端中调节播放精度的示意图。  4A to 4C are diagrams showing adjustment of playback precision in a terminal according to an embodiment of the present invention.
根据本发明的实施例的终端 400 可以是智能手机、 平板电脑等触屏设备, 用户可以在通 过终端 400 播放文件时, 通过触屏操作来实现播放精度的调节, 当然, 根据本发明的实施例 的终端 400 也可以是笔记本电脑、 台式机等通过鼠标操作的设备, 用户可以通过鼠标在终端 400中的播放器上进行操作来实现播放进度的调节。 The terminal 400 according to the embodiment of the present invention may be a touch screen device such as a smart phone or a tablet computer. The user can adjust the playing precision by using a touch screen operation when playing a file through the terminal 400. Of course, according to an embodiment of the present invention The terminal 400 can also be a device operated by a mouse such as a laptop or a desktop computer, and the user can use the mouse at the terminal. The player on the 400 operates to adjust the playback progress.
如图 4A 所示, 此处以智能手机为例对精度调节操作进行描述, 其中的操作对于其他设 备也同样适用。 假设终端 400 中的播放器充满终端 400 的显示屏, 且进度条与播放器的长度 相等。  As shown in Fig. 4A, the precision adjustment operation is described here by using a smartphone as an example, and the operation is also applicable to other devices. Assume that the player in the terminal 400 is full of the display of the terminal 400, and the progress bar is equal in length to the player.
正常播放情况下, 播放器中只存在第一进度条 308, 正在播放的文件的时长为 00: 00至 In normal playback, only the first progress bar 308 exists in the player, and the duration of the file being played is 00: 00 to
90 : 00 , 当用户想要观看正在播放的文件的第 48 : 45处的内容时, 通过拖动第一进度条 308 上的滑块, 播放时间只能定位到 48 : 30 和 48 : 50, 而无法定位到这两点之间的时间, 即无 法精确定位到用户想要观看的播放时间点 48 : 45。 90 : 00 , when the user wants to view the content at 48:45 of the file being played, by dragging the slider on the first progress bar 308, the playback time can only be positioned to 48: 30 and 48: 50, It is impossible to locate the time between these two points, that is, it is impossible to accurately locate the playback time point 48: 45 that the user wants to watch.
用户可以在第一进度条 308 上选择一个起始点 302 (也可以以播放器上任一点为起始 点, 在第一进度条 308 上选择起始点 302 可以方便确定精度调节操作发起时第一进度条 308 上的基准播放时间, 此时基准播放时间即起始点 302在第一进度条 308上对应的时间) 进行 精度调节操作 (可以是拖动操作、 点击操作等, 操作轨迹可以是直线也可以是曲线) , 记录 下精度调节操作的终止点 304 的位置信息, 以及精度调节操作发起时第一进度条 308上的基 准播放时间, 根据终止点 304 的位置信息计算出终止点 304 到第一进度条 308 的第一距离 306 , 比如 2厘米, 然后确定通过起始点 302且垂直于第一直线 (此处可以认为是第二进度条 310 ) 的第三直线 (图中未画出) 与第一直线的交点 324, 根据终止点 304的位置信息计算终 止点 304到第二交点 324的第二距离 3 16, 比如为 3厘米。  The user can select a starting point 302 on the first progress bar 308 (may also use any point on the player as a starting point, and selecting the starting point 302 on the first progress bar 308 can conveniently determine the first progress bar 308 when the precision adjustment operation is initiated. The reference play time, the reference play time is the time corresponding to the start point 302 on the first progress bar 308. The precision adjustment operation (may be a drag operation, a click operation, etc., the operation track may be a straight line or a curve) And recording the position information of the end point 304 of the precision adjustment operation, and the reference play time on the first progress bar 308 when the precision adjustment operation is initiated, and calculating the termination point 304 to the first progress bar 308 according to the position information of the termination point 304. The first distance 306, such as 2 cm, then determines a third line (not shown) that passes through the starting point 302 and is perpendicular to the first line (which may be considered the second progress bar 310 herein) and the first straight The intersection 324 of the line calculates a second distance 3 16 from the termination point 304 to the second intersection 324 according to the position information of the termination point 304. The 3 cm.
如图 4B 所示, 根据第一距离 306 和预设倍数 (比如 1 倍 /厘米) 计算出精度调节倍数 =1+第一距离 X预设倍数 =3倍, 即生成的第二进度条 310的精度为第一进度条 308的精度的 3 倍, 根据第一进度条 308 上的基准播放时间 (比如 48 : 35 ) , 确定待放大区域 314, 由于第 二进度条 310 的精度为第一进度条 308 的 3 倍, 并且第二进度条 3 10 的长度与第一进度条 308 的长度相等, 因此确定第一进度条 308 上以 48 : 35秒为中点的时长为 30: 00的区域为 待放大区域 314, 待放大区域 314 的起始点对应的播放时间为 33 : 35 , 截止点对应的播放时 间为 63 : 35 , 根据待放大区域 314的播放时间确定第二进度条 310的播放时间, 即第二进度 条 310 的起始点的播放时间为 33 : 35 , 中点的播放时间为 48 : 35 , 截止点的播放时间为 63 : 35。  As shown in FIG. 4B, the precision adjustment multiple is calculated according to the first distance 306 and the preset multiple (for example, 1×/cm)=1+the first distance X is preset multiple=3 times, that is, the generated second progress bar 310 is The accuracy is 3 times the precision of the first progress bar 308, and the area to be enlarged 314 is determined according to the reference playing time (for example, 48:35) on the first progress bar 308, because the precision of the second progress bar 310 is the first progress bar. 3 times of 308, and the length of the second progress bar 3 10 is equal to the length of the first progress bar 308, so it is determined that the area on the first progress bar 308 with a midpoint of 48:35 seconds is 30:00 In the zoom-in area 314, the play time corresponding to the start point of the area to be enlarged 314 is 33:35, and the play time corresponding to the cut-off point is 63:35, and the play time of the second progress bar 310 is determined according to the play time of the area to be enlarged 314, that is, The start time of the second progress bar 310 is 33:35, the play time of the midpoint is 48:35, and the play time of the cutoff point is 63:35.
如图 4C所示, 根据第二距离 316和第二进度条 310的播放精度计算偏移值 =3厘米 χ2.5 分钟 /厘米 =7.5分钟 (此处假设第一进度条 308的第一播放精度为 7.5分钟 /厘米, 则第二进度 条 310 的第二播放精度=第一播放精度 /精度调节倍数) , 然后根据第二进度条 310 的中点的 播放时间和偏移值在第二进度条上确定第三播放时间, 即 48 : 35+7 : 30=56: 05 , 则从 56 : 05继续播放。 可见, 第一进度条 308上长度为 1厘米的一段区域对应的播放片段, 在第二进 度条 310上对应的长度为 3厘米, 用户在第一进度条 308上所无法准确定位的 48 : 45的时间 点, 则可以在第二进度条上进行相对精确的定位。  As shown in FIG. 4C, the offset value is calculated according to the playback precision of the second distance 316 and the second progress bar 310 = 3 cm χ 2.5 minutes / cm = 7.5 minutes (here, the first playback accuracy of the first progress bar 308 is assumed here) 7.5 minutes/cm, the second play precision of the second progress bar 310 = first play precision / precision adjustment multiple), and then according to the play time and offset value of the midpoint of the second progress bar 310 in the second progress bar Determine the third play time, ie 48: 35+7: 30=56: 05, then continue playback from 56:05. It can be seen that the playback segment corresponding to a segment of the first progress bar 308 having a length of 1 cm has a corresponding length of 3 cm on the second progress bar 310, and the user cannot accurately locate the first progress bar 308. At the point in time, relatively precise positioning can be performed on the second progress bar.
图 5示出了根据本发明的实施例的进度条精度调节方法的具体流程图。  FIG. 5 shows a detailed flow chart of a progress bar precision adjustment method according to an embodiment of the present invention.
如图 5所示, 根据本发明的实施例的进度条精度调节方法具体包括:  As shown in FIG. 5, the method for adjusting the accuracy of the progress bar according to the embodiment of the present invention specifically includes:
步骤 502, 拖动主进度条 (相当于第一进度条) 上的滑块粗略定位所需播放时间点; 步骤 504, 通过拖动主进度条上的滑块是否定位到所需播放时间点, 若已定位, 则进入 步骤 510, 若未定位, 则进入步骤 506;  Step 502: Drag the slider on the main progress bar (equivalent to the first progress bar) to roughly locate the desired playing time point; Step 504, by dragging the slider on the main progress bar to locate the desired playing time point, If it has been located, proceed to step 510, if not, proceed to step 506;
步骤 506, 识别用户的精度调节操作, 并记录精度调节操作的终止点的位置信息, 根据 终止点到第二进度条的距离和预设倍数确定精度放大倍数, 进而得到第二进度条的播放精 度;  Step 506, identifying the user's precision adjustment operation, and recording the position information of the termination point of the precision adjustment operation, determining the precision magnification according to the distance from the termination point to the second progress bar and the preset multiple, thereby obtaining the playback precision of the second progress bar. ;
步骤 508, 根据终止点到第二进度条中点的距离 (即上述第二距离, 当第二进度条与第 一进度条平行, 且长度与第一进度条相等, 那么通过第一进度条的中点向第二进度条做垂线 与第二进度条的交点就是第二进度条的中点) 和第二进度条的播放精度计算偏移值, 然后根 据第二进度条中点的播放时间和偏移值确定继续播放时间; Step 508, according to the distance from the termination point to the midpoint of the second progress bar (ie, the second distance, when the second progress bar is parallel to the first progress bar, and the length is equal to the first progress bar, then the first progress bar is adopted. The intersection of the midpoint to the second progress bar and the second progress bar is the midpoint of the second progress bar) and the playback accuracy of the second progress bar calculates the offset value, and then the root The playing time is determined according to the playing time and the offset value of the midpoint of the second progress bar;
步骤 510, 根据主进度条上滑块的位置跳转, 或根据调节播放精度后确定的继续播放时 间进行跳转, 以继续播放当前文件。  Step 510: Jump according to the position of the slider on the main progress bar, or jump according to the continued playing time determined after adjusting the playing precision, to continue playing the current file.
以上结合附图详细说明了本发明的技术方案, 考虑到相关技术中, 调节播放进度难以准 确定位到用户所需的播放时间点。 通过本申请的技术方案, 能够根据用户操作来生成具有新 的播放精度的进度条, 进而在新生成的进度条上准确地调节播放进度。  The technical solution of the present invention is described in detail above with reference to the accompanying drawings. In consideration of the related art, it is difficult to adjust the playback progress to the playback time point required by the user. With the technical solution of the present application, a progress bar having a new playback accuracy can be generated according to a user operation, and the playback progress can be accurately adjusted on the newly generated progress bar.
在本发明中, 术语"第一"、 "第二 "仅用于描述目的, 而不能理解为指示或暗示相对重要 性。 术语"多个"指两个或两个以上, 除非另有明确的限定。  In the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "plurality" refers to two or more, unless specifically defined otherwise.
根据本发明的实施方式, 还提供了一种存储在非易失性机器可读介质上的程序产品, 用 于播放器进度条的调节, 所述程序产品包括用于使计算机系统执行以下步骤的机器可执行指 令: 记录识别到的操作的终止点的位置信息, 计算所述终止点到所述播放器的第一进度条的 第一距离, 并根据所述第一距离与预设倍数得到所述精度调节倍数。  According to an embodiment of the present invention, there is also provided a program product stored on a non-transitory machine readable medium for adjustment of a player progress bar, the program product comprising a computer system for performing the following steps The machine executable instruction: recording location information of the termination point of the identified operation, calculating a first distance of the termination point to the first progress bar of the player, and obtaining the location according to the first distance and the preset multiple The precision adjustment factor is described.
根据本发明的实施方式, 还提供了一种非易失机器可读介质, 存储有用于播放器进度条 的调节的程序产品, 所述程序产品包括用于使计算机系统执行以下步骤的机器可执行指令: 记录识别到的操作的终止点的位置信息, 计算所述终止点到所述播放器的第一进度条的第一 距离, 并根据所述第一距离与预设倍数得到所述精度调节倍数。  According to an embodiment of the present invention, there is also provided a non-volatile machine readable medium storing a program product for adjustment of a player progress bar, the program product comprising a machine executable for causing a computer system to perform the following steps Command: recording position information of the end point of the identified operation, calculating a first distance of the end point to the first progress bar of the player, and obtaining the precision adjustment according to the first distance and a preset multiple multiple.
根据本发明的实施方式, 还提供了一种机器可读程序, 所述程序使机器执行如上所述技 术方案中任一所述的进度条精度调节方法。  According to an embodiment of the present invention, there is also provided a machine readable program, the program causing a machine to perform the progress bar precision adjustment method of any of the above-described technical solutions.
根据本发明的实施方式, 还提供了一种存储有机器可读程序的存储介质, 其中, 所述机 器可读程序使得机器执行如上所述技术方案中任一所述的进度条精度调节方法。  According to an embodiment of the present invention, there is further provided a storage medium storing a machine readable program, wherein the machine readable program causes the machine to perform the progress bar precision adjustment method of any one of the above-described technical solutions.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技术人员 来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的任何修改、 等 同替换、 改进等, 均应包含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种进度条精度调节装置, 应用于播放器, 其特征在于, 包括: A progress bar precision adjusting device, which is applied to a player, and includes:
调节精度确定单元, 用于根据识别到的操作确定精度调节倍数;  An adjustment precision determining unit, configured to determine a precision adjustment multiple according to the identified operation;
进度条处理单元, 用于根据所述精度调节倍数对所述播放器的进度条进行调节。  a progress bar processing unit, configured to adjust a progress bar of the player according to the precision adjustment multiple.
2. 根据权利要求 1所述的进度条精度调节装置, 其特征在于, 所述调节精度确定单元包 括:  2. The progress bar precision adjusting device according to claim 1, wherein the adjustment accuracy determining unit comprises:
记录单元, 用于记录所述操作的终止点的位置信息;  a recording unit, configured to record location information of a termination point of the operation;
计算单元, 用于计算所述终止点到所述播放器的第一进度条的第一距离, 并根据所述第 一距离与预设倍数得到所述精度调节倍数。  And a calculating unit, configured to calculate a first distance of the termination point to the first progress bar of the player, and obtain the precision adjustment multiple according to the first distance and a preset multiple.
3. 根据权利要求 2 所述的进度条精度调节装置, 其特征在于, 所述进度条处理单元包 括: 进度条生成单元,  3. The progress bar precision adjustment apparatus according to claim 2, wherein the progress bar processing unit comprises: a progress bar generating unit,
其中, 所述计算单元还用于根据所述第一进度条的第一播放精度与所述精度调节倍数得 到第二播放精度;  The calculating unit is further configured to obtain a second playing precision according to the first playing precision of the first progress bar and the precision adjusting multiple;
所述进度条生成单元用于根据所述第二播放精度生成第二进度条。  The progress bar generating unit is configured to generate a second progress bar according to the second playing precision.
4. 根据权利要求 3所述的进度条精度调节装置, 其特征在于, 所述进度条处理单元还包 括: 播放时间确定单元,  4. The progress bar precision adjustment apparatus according to claim 3, wherein the progress bar processing unit further comprises: a play time determining unit,
其中, 所述记录单元还用于记录所述操作的起始点的位置信息;  The recording unit is further configured to record location information of a starting point of the operation;
所述计算单元还用于根据所述终止点到所述起始点的水平距离以及所述第二播放精度计 算偏移值;  The calculating unit is further configured to calculate an offset value according to the horizontal distance from the termination point to the starting point and the second playing precision;
所述播放时间确定单元用于根据所述操作发起时所述第一进度条上的基准播放时间, 确 定所述第二进度条的中点的播放时间, 并根据所述第二进度条的中点的播放时间和所述偏移 值在所述第二进度条上确定继续播放时间, 并从所述继续播放时间继续播放。  The play time determining unit is configured to determine a play time of the midpoint of the second progress bar according to the reference play time on the first progress bar when the operation is initiated, and according to the middle of the second progress bar The play time of the dot and the offset value determine a resume play time on the second progress bar, and continue playback from the resume play time.
5. 根据权利要求 4所述的进度条精度调节装置, 其特征在于, 所述计算单元还用于根据 所述精度调节倍数的倒数和所述第二进度条的长度, 在所述第一进度条上确定以所述基准播 放时间作为中点的待放大部分;  The progress bar precision adjusting device according to claim 4, wherein the calculating unit is further configured to: according to the reciprocal of the precision adjustment multiple and the length of the second progress bar, in the first progress Determining, on the strip, the portion to be enlarged with the reference playing time as a midpoint;
所述播放时间确定单元根据所述待放大部分的起始点的播放时间确定所述第二进度条起 始点的播放时间, 并根据所述待放大部分的终止点的播放时间确定所述第二进度条终止点的 播放时间。  The playing time determining unit determines a playing time of the starting point of the second progress bar according to a playing time of the starting point of the to-be-amplified portion, and determines the second progress according to a playing time of the ending point of the to-be-amplified portion. The playback time of the end point.
6. 根据权利要求 5所述的进度条精度调节装置, 其特征在于, 所述进度条处理单元还包 括:  The progress bar precision adjustment device according to claim 5, wherein the progress bar processing unit further comprises:
放大校准单元, 用于判断所述待放大部分的起始点是否超出所述第一进度条的起始点, 和 /或所述待放大部分的终止点是否超出所述第一进度条的终止点, 并在所述待放大部分的起 始点超出所述第一进度条的起始点的情况下, 以所述第一进度条的起始点为起始点, 在所述 第一进度条上获取与所述待放大部分长度相等的部分作为所述待放大部分, 和 /或在所述待放 大部分的终止点超出所述第一进度条的终止点的情况下, 以所述第一进度条的终止点为终止 点, 在所述第一进度条上获取与所述待放大部分长度相等的部分作为所述待放大部分。  Amplifying the calibration unit, configured to determine whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or a termination point of the to-be-amplified portion exceeds a termination point of the first progress bar, And in the case that the starting point of the to-be-amplified portion exceeds the starting point of the first progress bar, starting from the starting point of the first progress bar, acquiring and speaking on the first progress bar a portion of the length to be enlarged as the portion to be enlarged, and/or in the case where the end point of the portion to be enlarged exceeds the end point of the first progress bar, with the end point of the first progress bar As a termination point, a portion equal to the length of the portion to be enlarged is acquired on the first progress bar as the portion to be enlarged.
7. 根据权利要求 2所述的进度条精度调节装置, 其特征在于, 所述调节精度确定单元还 包括:  The adjustment bar precision adjustment device according to claim 2, wherein the adjustment accuracy determining unit further comprises:
位置判断单元, 用于根据所述终止点的位置信息和预设的位置与精度的关联关系判断提 高精度或降低精度,  a position determining unit, configured to determine, according to the position information of the termination point and a preset relationship between the position and the accuracy, to improve accuracy or reduce accuracy,
其中, 所述计算单元在所述位置判断单元判定提高精度时, 根据所述第一距离与所述预 设倍数得到所述精度调节倍数, 并在所述位置判断单元判定降低精度时, 根据所述第一距离 与所述预设倍数的倒数得到所述精度调节倍数。 The calculation unit obtains the precision adjustment multiple according to the first distance and the preset multiple when the position determining unit determines to improve the accuracy, and when the position determining unit determines the reduction precision, according to the First distance And the reciprocal of the preset multiple is obtained by the precision adjustment multiple.
8. 根据权利要求 3至 6中任一项所述的进度条精度调节装置, 其特征在于, 还包括: 进度条关闭单元, 用于在所述第二进度条的播放时间结束时、 在预设时间内未识别到对 所述第二进度条的操作时或在接收到关闭所述第二进度条的指令时, 关闭所述第二进度条, 和 /或在接收到的关闭所述第一进度条的指令时, 关闭所述第一进度条。  The progress bar precision adjusting device according to any one of claims 3 to 6, further comprising: a progress bar closing unit, configured to: at the end of the playing time of the second progress bar, Turning off the second progress bar when the operation of the second progress bar is not recognized or when receiving the instruction to close the second progress bar, and/or closing the received When the instruction of the progress bar is closed, the first progress bar is closed.
9. 根据权利要求 3至 6中任一项所述的进度条精度调节装置, 其特征在于, 还包括: 存储单元, 用于根据接收到的保存指令, 保存所述第二播放精度,  The progress bar precision adjustment apparatus according to any one of claims 3 to 6, further comprising: a storage unit, configured to save the second play precision according to the received save instruction,
其中, 所述进度条生成单元还用于在识别到预设操作时, 根据所述第二播放精度生成所 述第二进度条。  The progress bar generating unit is further configured to generate the second progress bar according to the second play precision when the preset operation is recognized.
10. 根据权利要求 3至 6中任一项所述的进度条精度调节装置, 其特征在于, 还包括: 倍数调节单元, 用于根据接收到的倍数调节指令, 调节所述预设倍数。  The progress bar precision adjusting device according to any one of claims 3 to 6, further comprising: a multiple adjusting unit, configured to adjust the preset multiple according to the received multiple adjustment command.
1 1. 根据权利要求 1 所述的进度条精度调节装置, 其特征在于, 所述调节精度确定单元 包括:  1 . The progress bar precision adjustment device according to claim 1, wherein the adjustment accuracy determining unit comprises:
记录单元, 用于记录所述操作在所述播放器的进度条上的至少一个起始点的位置信息和 相应的终止点的位置信息;  a recording unit, configured to record position information of the at least one starting point of the operation on the progress bar of the player and position information of the corresponding termination point;
计算单元, 用于计算所述终止点到与其相应的起始点的第二距离, 根据每个终止点到与 其相应的起始点的第二距离得到平均距离, 根据所述平均距离与预设倍数得到所述精度调节 倍数。  a calculating unit, configured to calculate a second distance from the termination point to a corresponding starting point thereof, and obtain an average distance according to a second distance from each of the ending points to a corresponding starting point, according to the average distance and the preset multiple The precision adjustment factor.
12. 根据权利要求 1 1所述的进度条精度调节装置, 其特征在于, 所述进度条处理单元包 括:  12. The progress bar precision adjustment apparatus according to claim 1, wherein the progress bar processing unit comprises:
进度条调节单元, 用于根据所述精度调节倍数调节所述播放器的进度条的播放精度; 播放时间确定单元, 用于根据所述起始点和 /或所述终止点在所述播放器上对应的播放时 间, 确定调节后的进度条的起始点的播放时间和终止点的播放时间。  a progress bar adjusting unit, configured to adjust a playing precision of the progress bar of the player according to the precision adjusting multiple; a playing time determining unit, configured to be on the player according to the starting point and/or the ending point The corresponding playing time determines the playing time of the starting point of the adjusted progress bar and the playing time of the ending point.
13. 根据权利要求 1 所述的进度条精度调节装置, 其特征在于, 所述调节精度确定单元 包括:  The adjustment bar precision adjustment device according to claim 1, wherein the adjustment accuracy determining unit comprises:
操作识别单元, 用于识别在所述播放器中进行的操作;  An operation identifying unit, configured to identify an operation performed in the player;
精度查询单元, 用于判断所述操作是否属于预设操作, 若属于预设操作, 则查询与所述 操作相对应的精度调节倍数。  The precision query unit is configured to determine whether the operation belongs to a preset operation, and if it belongs to a preset operation, query a precision adjustment multiple corresponding to the operation.
14. 一种播放系统, 其特征在于, 包括权利要求 1至 13中任一项所述的进度条精度调节 装置。  A playback system, comprising the progress bar precision adjustment device according to any one of claims 1 to 13.
15. —种终端, 其特征在于, 包括权利要求 1 至 13 中任一项所述的进度条精度调节装 置, 和 /或权利要求 14所述的播放系统。  A terminal characterized by comprising the progress bar precision adjusting device according to any one of claims 1 to 13, and/or the playing system according to claim 14.
16. 一种进度条精度调节方法, 应用于播放器, 其特征在于, 包括:  A method for adjusting the accuracy of a progress bar, which is applied to a player, and includes:
步骤 202, 根据识别到的操作确定精度调节倍数;  Step 202: Determine a precision adjustment multiple according to the identified operation;
步骤 204, 根据所述精度调节倍数对所述播放器的进度条进行调节。  Step 204: Adjust a progress bar of the player according to the precision adjustment multiple.
17. 根据权利要求 16所述的进度条精度调节方法, 其特征在于, 所述步骤 202包括: 步骤 2022, 记录所述操作的终止点的位置信息;  The method for adjusting the accuracy of the progress bar according to claim 16, wherein the step 202 includes: Step 2022, recording location information of a termination point of the operation;
步骤 2024, 计算所述终止点到所述播放器的第一进度条的第一距离, 并根据所述第一距 离与预设倍数得到所述精度调节倍数。  Step 2024: Calculate a first distance from the termination point to the first progress bar of the player, and obtain the precision adjustment multiple according to the first distance and a preset multiple.
18. 根据权利要求 17所述的进度条精度调节方法, 其特征在于, 所述步骤 2024 包括: 根据所述第一进度条的第一播放精度与所述精度调节倍数得到第二播放精度; 则所述步骤 204还包括: 用于根据所述第二播放精度生成第二进度条。  The method for adjusting the accuracy of the progress bar according to claim 17, wherein the step 2024 includes: obtaining a second playing precision according to the first playing precision of the first progress bar and the precision adjusting multiple; The step 204 further includes: generating a second progress bar according to the second play precision.
19. 根据权利要求 18所述的进度条精度调节方法, 其特征在于, 所述步骤 202还包括: 记录所述操作的起始点的位置信息, 根据所述终止点到所述起始点的水平距离以及所述第二 播放精度计算偏移值; 则所述步骤 204 还包括: 根据所述操作发起时所述第一进度条上的基 准播放时间, 确定所述第二进度条的中点的播放时间, 并根据所述第二进度条的中点的播放 时间和所述偏移值在所述第二进度条上确定继续播放时间, 并从所述继续播放时间继续播 放。 The method according to claim 18, wherein the step 202 further comprises: recording location information of a starting point of the operation, according to a horizontal distance from the termination point to the starting point And the second The playing precision calculates the offset value; the step 204 further includes: determining a playing time of the midpoint of the second progress bar according to the reference playing time on the first progress bar when the operation is initiated, and determining The play time of the midpoint of the second progress bar and the offset value determine the resume play time on the second progress bar, and continue playback from the resume play time.
20. 根据权利要求 19所述的进度条精度调节方法, 其特征在于, 所述步骤 202还包括: 根据所述精度调节倍数的倒数和所述第二进度条的长度, 在所述第一进度条上确定以所述基 准播放时间作为中点的待放大部分; 则所述步骤 204 还包括: 根据所述待放大部分的起始点 的播放时间确定所述第二进度条起始点的播放时间, 并根据所述待放大部分的终止点的播放 时间确定所述第二进度条终止点的播放时间。  The method according to claim 19, wherein the step 202 further comprises: adjusting the reciprocal of the multiple of the precision and the length of the second progress bar according to the first progress The step of determining the playing time of the second progress bar according to the playing time of the starting point of the to-be-amplified portion, determining the playing time of the starting point of the starting point of the to-be-amplified portion, And determining, according to the playing time of the ending point of the to-be-amplified portion, the playing time of the second progress bar ending point.
21. 根据权利要求 20所述的进度条精度调节方法, 其特征在于, 所述步骤 204还包括: 判断所述待放大部分的起始点是否超出所述第一进度条的起始点, 和 /或所述待放大部分的终 止点是否超出所述第一进度条的终止点, 并在所述待放大部分的起始点超出所述第一进度条 的起始点的情况下, 以所述第一进度条的起始点为起始点, 在所述第一进度条上获取与所述 待放大部分长度相等的部分作为所述待放大部分, 和 /或在所述待放大部分的终止点超出所述 第一进度条的终止点的情况下, 以所述第一进度条的终止点为终止点, 在所述第一进度条上 获取与所述待放大部分长度相等的部分作为所述待放大部分。  The method according to claim 20, wherein the step 204 further comprises: determining whether a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, and/or Whether the end point of the to-be-amplified portion exceeds a termination point of the first progress bar, and in a case where a starting point of the to-be-amplified portion exceeds a starting point of the first progress bar, with the first progress a starting point of the strip is a starting point, a portion equal to the length of the portion to be enlarged is obtained as the portion to be enlarged on the first progress bar, and/or a termination point of the portion to be enlarged exceeds the number In the case of a termination point of the progress bar, the end point of the first progress bar is used as a termination point, and a portion equal to the length of the portion to be enlarged is acquired on the first progress bar as the portion to be enlarged.
22. 根据权利要求 17所述的进度条精度调节方法, 其特征在于, 所述步骤 202还包括: 根据所述终止点的位置信息和预设的位置与精度的关联关系判断提高精度或降低精度, 在所 述位置判断单元判定提高精度时, 根据所述第一距离与所述预设倍数得到所述精度调节倍 数, 并在所述位置判断单元判定降低精度时, 根据所述第一距离与所述预设倍数的倒数得到 所述精度调节倍数。  The method according to claim 17, wherein the step 202 further comprises: determining, according to the position information of the termination point and the preset relationship between the position and the accuracy, improving the accuracy or reducing the accuracy. When the position determining unit determines to improve the accuracy, the precision adjustment multiple is obtained according to the first distance and the preset multiple, and when the position determining unit determines the reduction precision, according to the first distance The reciprocal of the preset multiple is obtained by the precision adjustment multiple.
23. 根据权利要求 18 至 21 中任一项所述的进度条精度调节方法, 其特征在于, 还包 括: 当所述第二进度条的播放时间结束时、 在预设时间内未识别到对所述第二进度条的操作 时或在接收到关闭所述第二进度条的指令时, 关闭所述第二进度条, 和 /或在接收到的关闭所 述第一进度条的指令时, 关闭所述第一进度条。  The method for adjusting the accuracy of the progress bar according to any one of claims 18 to 21, further comprising: when the playing time of the second progress bar ends, the pair is not recognized within the preset time The second progress bar is closed when the second progress bar is operated or when an instruction to close the second progress bar is received, and/or when the received instruction to close the first progress bar is received, Close the first progress bar.
24. 根据权利要求 18 至 21 中任一项所述的进度条精度调节方法, 其特征在于, 还包 括: 根据接收到的保存指令, 保存所述第二播放精度, 并在识别到预设操作时, 根据所述第 二播放精度生成所述第二进度条。  The method for adjusting the progress of the progress bar according to any one of claims 18 to 21, further comprising: saving the second play precision according to the received save instruction, and identifying the preset operation And generating the second progress bar according to the second playing precision.
25. 根据权利要求 18 至 21 中任一项所述的进度条精度调节方法, 其特征在于, 还包 括: 根据接收到的倍数调节指令, 调节所述预设倍数。  The method for adjusting the accuracy of the progress bar according to any one of claims 18 to 21, further comprising: adjusting the preset multiple according to the received multiple adjustment command.
26. 根据权利要求 16所述的进度条精度调节方法, 其特征在于, 所述步骤 202包括: 步骤 2022, 记录所述操作的起始点的位置信息和终止点的位置信息;  The method for adjusting the accuracy of the progress bar according to claim 16, wherein the step 202 includes: Step 2022, recording location information of the starting point of the operation and location information of the termination point;
步骤 2024, 计算所述终止点到与其相应的起始点的第二距离, 并根据所述第二距离与预 设倍数得到所述精度调节倍数。  Step 2024: Calculate a second distance from the termination point to a corresponding starting point thereof, and obtain the precision adjustment multiple according to the second distance and a preset multiple.
27. 根据权利要求 26所述的进度条精度调节方法, 其特征在于, 所述步骤 204包括: 步骤 2042, 根据所述精度调节倍数调节所述播放器的进度条的播放精度;  The method for adjusting the accuracy of the progress bar according to claim 26, wherein the step 204 includes: Step 2042, adjusting a play precision of the progress bar of the player according to the precision adjustment multiple;
步骤 2044, 根据所述起始点和 /或所述终止点在所述播放器上对应的播放时间, 确定调节 后的进度条的起始点的播放时间和终止点的播放时间。  Step 2044: Determine, according to the starting time and/or the ending time of the ending point on the player, a playing time of the starting point of the adjusted progress bar and a playing time of the ending point.
28. 根据权利要求 16所述的进度条精度调节方法, 其特征在于, 所述步骤 202包括: 步骤 2022, 识别在所述播放器中进行的操作;  The method for adjusting the accuracy of the progress bar according to claim 16, wherein the step 202 includes: Step 2022, identifying an operation performed in the player;
步骤 2024, 判断所述操作是否属于预设操作, 若属于预设操作, 则查询与所述操作相对 应的精度调节倍数。  Step 2024: Determine whether the operation belongs to a preset operation, and if it belongs to a preset operation, query a precision adjustment multiple corresponding to the operation.
PCT/CN2013/083670 2013-09-17 2013-09-17 Progress bar precision adjusting device and method, playing system and terminal WO2015039288A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380068889.0A CN104903961B (en) 2013-09-17 2013-09-17 Progress bar precision adjusting device, method and play system and terminal
PCT/CN2013/083670 WO2015039288A1 (en) 2013-09-17 2013-09-17 Progress bar precision adjusting device and method, playing system and terminal

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 (1)

Publication Number Publication Date
WO2015039288A1 true WO2015039288A1 (en) 2015-03-26

Family

ID=52688083

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083670 WO2015039288A1 (en) 2013-09-17 2013-09-17 Progress bar precision adjusting device and method, playing system and terminal

Country Status (2)

Country Link
CN (1) CN104903961B (en)
WO (1) WO2015039288A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185566A1 (en) * 2016-04-28 2017-11-02 北京小米移动软件有限公司 Method and apparatus for adjusting playback progress of media file
CN113467679A (en) * 2021-06-11 2021-10-01 北京达佳互联信息技术有限公司 Multimedia resource display progress adjusting method, device, equipment and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110719531A (en) * 2019-10-16 2020-01-21 维沃移动通信有限公司 Video playing progress adjusting method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132921A1 (en) * 2007-11-16 2009-05-21 Samsung Electronics Co., Ltd. User interface for displaying and playing multimedia contents, apparatus comprising the same, and control method thereof
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 (4)

* Cited by examiner, † Cited by third party
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
CN102426841A (en) * 2009-10-31 2012-04-25 华为技术有限公司 Device, method and system for positioning played video
CN104508746A (en) * 2013-06-08 2015-04-08 华为终端有限公司 Method for controlling multimedia browsing progress and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132921A1 (en) * 2007-11-16 2009-05-21 Samsung Electronics Co., Ltd. User interface for displaying and playing multimedia contents, apparatus comprising the same, 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
CN102664032A (en) * 2012-05-07 2012-09-12 乐视网信息技术(北京)股份有限公司 Live broadcast time shifting play progress slider and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185566A1 (en) * 2016-04-28 2017-11-02 北京小米移动软件有限公司 Method and apparatus for adjusting playback progress of media file
CN113467679A (en) * 2021-06-11 2021-10-01 北京达佳互联信息技术有限公司 Multimedia resource display progress adjusting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104903961B (en) 2017-12-22
CN104903961A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
WO2015039288A1 (en) Progress bar precision adjusting device and method, playing system and terminal
JP6220953B2 (en) Gesture-based control method and apparatus
US9430128B2 (en) Method and apparatus for controls based on concurrent gestures
AU2012263123B2 (en) Method and apparatus for controlling a display of multimedia content using a timeline-based interface
US20120179967A1 (en) Method and Apparatus for Gesture-Based Controls
US9836271B2 (en) Delivery of synchronised soundtracks for electronic media content
US9354797B2 (en) Progress adjustment method and electronic device
JP6169285B2 (en) Reproduction adjustment method and apparatus
CN103927107B (en) A kind of information processing method and electronic equipment
WO2014190829A1 (en) Multi-level progress bars, progress control method and apparatus
EP3465405B1 (en) Slow motion video playback method for computing devices with touch interfaces
WO2017096793A1 (en) Song playback progress control method and device
US10496199B2 (en) Device and method for controlling playback of digital multimedia data as well as a corresponding computer-readable storage medium and a corresponding computer program
WO2017084178A1 (en) Method and apparatus for optimizing air mouse remote controller and terminal device
WO2014194527A1 (en) Method for controlling multimedia browsing progress and terminal
US10430069B2 (en) Device, a method and/or a non-transitory computer-readable storage means for controlling playback of digital multimedia data using touch input
AU2021312196B2 (en) Video dubbing method. device, apparatus, and storage medium
WO2017185566A1 (en) Method and apparatus for adjusting playback progress of media file
WO2022143525A1 (en) Video playing method and apparatus, and electronic device
WO2016008410A1 (en) Video play method and system
WO2016197743A2 (en) Touch screen control method and device, and terminal
WO2022126664A1 (en) Video editing method, terminal device, and computer-readable storage medium
WO2018218392A1 (en) Touch operation processing method and touch keyboard
CN103886882A (en) Progress adjusting method and electronic device
CN107256125B (en) Storage device, mobile terminal and control method for multimedia cyclic playing of mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13893968

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13893968

Country of ref document: EP

Kind code of ref document: A1