CN110148429B - Progress bar control method, progress bar control device, storage medium and electronic equipment - Google Patents

Progress bar control method, progress bar control device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110148429B
CN110148429B CN201910412434.5A CN201910412434A CN110148429B CN 110148429 B CN110148429 B CN 110148429B CN 201910412434 A CN201910412434 A CN 201910412434A CN 110148429 B CN110148429 B CN 110148429B
Authority
CN
China
Prior art keywords
progress bar
current
time
playing
endpoint
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910412434.5A
Other languages
Chinese (zh)
Other versions
CN110148429A (en
Inventor
贾永炘
赵明义
蒋蕊遥
冯韵
仉长娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910412434.5A priority Critical patent/CN110148429B/en
Publication of CN110148429A publication Critical patent/CN110148429A/en
Application granted granted Critical
Publication of CN110148429B publication Critical patent/CN110148429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/022Control panels
    • G11B19/025'Virtual' control panels, e.g. Graphical User Interface [GUI]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to a progress bar control method, a progress bar control device, a storage medium and electronic equipment, and belongs to the technical field of human-computer interaction. The method comprises the following steps: presenting a current progress bar of a currently played file, wherein the duration of the current progress bar is less than the total duration of the currently played file; and responding to the preset position of the current progress bar played by the current playing file, and adjusting the moment of at least one endpoint of the current progress bar. The method and the device can improve the operation precision of the user in adjusting the playing progress of the multimedia file so as to realize the accurate positioning of the playing time.

Description

Progress bar control method, progress bar control device, storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of human-computer interaction, in particular to a progress bar control method, a progress bar control device, a storage medium and electronic equipment.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims and the description herein is not admitted to be prior art by inclusion in this section.
In the existing multimedia playing software, for example, a video player, a music APP (Application program), and the like, a function of adjusting a playing progress is set, and a user can drag a playing progress bar of a multimedia file to return to a certain time before the current playing time or jump to a certain time after the current playing time.
Disclosure of Invention
However, in the prior art, it is difficult for the user to precisely adjust the playing progress to the time that the user wants to play, especially in the case that the total duration of the file is long (for example, a movie) or the size of the operation interface is small (for example, on a mobile phone), the user dragging a short distance on the progress bar will cause the playing time to change by several minutes or even tens of minutes, and the playing time cannot be precisely positioned to the second level.
Therefore, an improved progress bar control method is highly needed, which can improve the operation precision when the user adjusts the playing progress.
In this context, embodiments of the present invention are intended to provide a progress bar control method, a progress bar control device, a storage medium, and an electronic apparatus.
According to a first aspect of embodiments of the present invention, there is provided a progress bar control method including: presenting a current progress bar of a currently played file, wherein the duration of the current progress bar is less than the total duration of the currently played file; and responding to the preset position of the current progress bar played by the current playing file, and adjusting the moment of at least one endpoint of the current progress bar.
In one embodiment of the present invention, the current progress bar has a fixed duration.
In an embodiment of the present invention, the preset position includes an end point of the current progress bar; the adjusting the time of at least one endpoint of the current progress bar comprises: and adjusting the moment of the starting endpoint of the current progress bar to the current playing moment of the current playing file, and adjusting the moment of the ending endpoint to the moment determined by the current playing moment plus the fixed duration.
In an embodiment of the present invention, the adjusting the time of at least one endpoint of the current progress bar further includes: and if the moment determined by adding the fixed time length to the current playing moment exceeds the ending moment of the current playing file, adjusting the moment of the ending endpoint to the ending moment of the current playing file.
In an embodiment of the present invention, the presenting a current progress bar of a currently playing file includes: and responding to the beginning of playing the current playing file, and presenting a current progress bar which starts at zero time and ends at the time of adding the fixed time length to the zero time.
In an embodiment of the present invention, the adjusting, in response to the currently playing file being played to the preset position of the current progress bar, a time of at least one end point of the current progress bar includes: after the currently played file is played to the preset position of the currently played file, the time of the starting end point and the ending end point of the currently played file is synchronously adjusted according to the playing progress of the currently played file, so that the currently played time of the currently played file is maintained at the preset position.
In an embodiment of the present invention, a play progress control is further displayed on the current progress bar, and is used for identifying a current play time of the currently played file; the method further comprises the following steps: and responding to a first preset operation acted on the playing progress control, moving the playing progress control according to the first preset operation, and synchronously adjusting the current playing time of the current playing file.
In one embodiment of the invention, the method further comprises: and responding to the first preset operation, and displaying a scale mark on the current progress bar.
In one embodiment of the present invention, the first preset operation includes a first sliding operation; the method further comprises the following steps: and responding to the first sliding operation to slide to the starting endpoint or the ending endpoint of the current progress bar, and adjusting the time of at least one endpoint of the current progress bar according to the first sliding operation.
In an embodiment of the present invention, the adjusting, in response to the first sliding operation sliding to a starting end point or an ending end point of the current progress bar, a time of at least one end point of the current progress bar according to the first sliding operation includes: if the first sliding operation slides to the starting endpoint, reducing the time of the starting endpoint and the ending endpoint according to the time of the first sliding operation staying at the starting endpoint; and if the first sliding operation slides to the end endpoint, increasing the time of the starting endpoint and the end endpoint according to the time of the first sliding operation staying at the end endpoint.
In one embodiment of the invention, the method further comprises: and responding to a second preset operation acted in a first preset range near the starting end point of the current progress bar or a second preset range near the ending end point of the current progress bar, and adjusting the moment of at least one end point of the current progress bar according to the second preset operation.
In one embodiment of the present invention, the second preset operation includes a second sliding operation; the adjusting the time of at least one endpoint of the current progress bar according to the second preset operation comprises: if the second sliding operation slides along the first direction, reducing the time of the starting endpoint and the ending endpoint; increasing the time of the starting end point and the ending end point if the second sliding operation slides in a second direction.
In an embodiment of the present invention, a prompt message about the second preset operation is displayed in the first preset range and/or the second preset range.
In one embodiment of the present invention, the starting end point and the ending end point of the current progress bar are in the shape of a measuring tape; an animation of the tape measure being rolled up or released is also presented when the moment of the starting or ending end point is adjusted.
In an embodiment of the present invention, the presenting a current progress bar of a currently playing file includes: and responding to a third preset operation, and activating and displaying a current progress bar of the current playing file.
According to a second aspect of embodiments of the present invention, there is provided a progress bar control device including: the presentation module is used for presenting a current progress bar of a current playing file, and the duration of the current progress bar is less than the total duration of the current playing file; and the adjusting module is used for responding to the preset position of the current progress bar played by the current playing file and adjusting the moment of at least one endpoint of the current progress bar.
In one embodiment of the present invention, the current progress bar has a fixed duration.
In an embodiment of the present invention, the preset position includes an end point of the current progress bar; and the adjusting module is used for adjusting the moment of the starting endpoint of the current progress bar to the current playing moment of the current playing file, and adjusting the moment of the ending endpoint to the moment determined by the current playing moment plus the fixed duration.
In an embodiment of the present invention, the adjusting module is further configured to adjust the time of the ending endpoint to the ending time of the current playing file if the time determined by adding the fixed duration to the current playing time exceeds the ending time of the current playing file.
In an embodiment of the present invention, the presenting module is configured to respond to the start of playing the currently played file, and present the current progress bar starting at zero time and ending at zero time plus the fixed duration.
In an embodiment of the present invention, the adjusting module is configured to synchronously adjust the time of the starting end point and the ending end point of the current progress bar according to the playing progress of the current playing file after the current playing file is played to the preset position of the current progress bar, so that the current playing time of the current playing file is maintained at the preset position.
In an embodiment of the present invention, a play progress control is further displayed on the current progress bar, and is used for identifying a current play time of the currently played file; the adjustment module further comprises: and the first manual adjusting unit is used for responding to a first preset operation acted on the playing progress control, moving the playing progress control according to the first preset operation and synchronously adjusting the current playing time of the current playing file.
In one embodiment of the present invention, the presentation module further comprises: and the scale mark display unit is used for responding to the first preset operation and displaying scale marks on the current progress bar.
In one embodiment of the present invention, the first preset operation includes a first sliding operation; the adjustment module further comprises: and the second manual adjusting unit is used for responding to the sliding of the first sliding operation to the starting endpoint or the ending endpoint of the current progress bar and adjusting the time of at least one endpoint of the current progress bar according to the first sliding operation.
In an embodiment of the present invention, the second manual adjustment unit is configured to decrease the time of the starting end point and the ending end point according to the time of the first sliding operation staying at the starting end point if the first sliding operation slides to the starting end point, and increase the time of the starting end point and the ending end point according to the time of the first sliding operation staying at the ending end point if the first sliding operation slides to the ending end point.
In an embodiment of the present invention, the adjusting module further includes: and the third manual adjusting unit is used for responding to a second preset operation acted in a first preset range near the starting end point of the current progress bar or a second preset range near the ending end point of the current progress bar and adjusting the moment of at least one end point of the current progress bar according to the second preset operation.
In one embodiment of the present invention, the second preset operation includes a second sliding operation; the third manual adjustment unit is configured to decrease the time of the starting endpoint and the ending endpoint if the second sliding operation slides in the first direction, and increase the time of the starting endpoint and the ending endpoint if the second sliding operation slides in the second direction.
In one embodiment of the present invention, the presentation module further comprises: and the prompt information display unit is used for displaying prompt information about the second preset operation in the first preset range and/or the second preset range.
In one embodiment of the present invention, the starting end point and the ending end point of the current progress bar are in the shape of a measuring tape; the display module is further used for displaying the animation of rolling up or releasing the tape measure when the adjusting module adjusts the moment of the starting end point or the ending end point.
In one embodiment of the present invention, the presentation module further comprises: and the activation display unit is used for responding to a third preset operation and activating and displaying the current progress bar of the current playing file.
According to a third aspect of embodiments of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the above.
According to a fourth aspect of the embodiments of the present invention, there is provided an electronic apparatus including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the method of any one of the above via execution of the executable instructions.
According to the progress bar control method, the progress bar control device, the storage medium and the electronic equipment, the current progress bar of the currently played file is displayed in the graphical user interface, so that a user can operate the current progress bar to adjust the playing progress of the file. In addition, the time of the current progress bar is adjusted along with the file playing, so that the progress information of the file playing can be accurately represented, and the user experience is improved.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 is a flowchart illustrating a progress bar control method according to an embodiment of the present invention;
FIG. 2 shows a schematic interface diagram according to an embodiment of the invention;
fig. 3 is a flowchart illustrating another progress bar control method according to an embodiment of the present invention;
fig. 4 to 6 are interface diagrams illustrating a control progress bar during a file playing process according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an interface for a manual adjustment progress bar according to an embodiment of the present invention;
FIG. 8 is an interface diagram illustrating another manual adjustment progress bar according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of an interface of yet another manual adjustment progress bar according to an embodiment of the present invention;
fig. 10 is a block diagram showing the construction of a progress bar control apparatus according to an embodiment of the present invention;
FIG. 11 illustrates a schematic diagram of a storage medium according to an embodiment of the present invention; and
fig. 12 shows a block diagram of the structure of an electronic device according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Thus, the present invention may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to an embodiment of the invention, a method, an apparatus, a storage medium and an electronic device are provided.
In this document, any number of elements in the drawings is by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that, in the prior art, it is difficult for a user to accurately adjust the playing progress to the time that the user wants to play, and especially in the case that the total duration of a file is long or the size of an operation interface is small, dragging a short distance on a progress bar by the user causes the playing time to change by several minutes or even more than ten minutes, and cannot be accurately positioned to the second level.
In view of the above, the basic idea of the present invention is: the method and the device for controlling the progress bar, the storage medium and the electronic equipment are provided, the current progress bar of the currently played file is displayed in a graphical user interface, so that a user can operate the current progress bar to adjust the playing progress of the file, the current progress bar has shorter duration, the current playing time of the file can be accurately adjusted by the user within a shorter duration range, and particularly under the condition that the total duration of the file is longer or the size of an operation interface is smaller, the condition that the user operates excessively during adjustment is reduced, and even the accurate time positioning at the second level is realized. In addition, the time of the current progress bar is adjusted along with the file playing, so that the progress information of the file playing can be accurately represented, and the user experience is improved.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
It should be noted that the following application scenarios are merely illustrated to facilitate understanding of the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
When multimedia software such as a video player, a music APP and the like is operated on electronic equipment such as a computer, a mobile phone and the like, the current progress bar of file playing is displayed and controlled in the graphical user interface through the implementation mode of the invention, so that a user can accurately adjust the playing progress.
Exemplary method
An exemplary embodiment of the present invention first provides a progress bar control method, which may include steps S110 to S120, as shown in fig. 1:
step S110, presenting a current progress bar of the current playing file, wherein the duration of the current progress bar is less than the total duration of the current playing file.
The currently played file can be any form of multimedia file such as audio, video, web animation, and the like. In the exemplary embodiment, the current progress bar is a sub-progress bar of the total progress bar of the currently played file, and represents a progress bar of a sub-period of time near the current playing time, which may be presented in a graphical user interface of the electronic device. Fig. 2 shows an exemplary interface of the present exemplary embodiment, which is described by taking fig. 2 as an example, a currently played file is a 4-minute song, a current progress bar 210 may be a sub-progress bar with a duration of 1 minute, a current playing time 211 may be marked by a dot and is located on the current progress bar 210, as shown in the figure, the currently played file is 03:00, and the current progress bar 210 is a progress bar with a portion 02:30 to 03: 30.
Step S120, adjusting a time of at least one endpoint of the current progress bar in response to the current playing file being played to a preset position of the current progress bar.
With the playing of the currently played file, the current playing time of the currently played file is constantly changed, and in order to enable the current playing time to be always located on the current progress bar, the time period represented by the current progress bar can be adjusted so as to include the current playing time. As shown in fig. 2, the current progress bar 210 has a start endpoint 212 and an end endpoint 213, the time of the two endpoints respectively represents the start time and the end time of the current progress bar 210, the current playing time 211 gradually moves to the right on the current progress bar 210 along with the playing of the file, and when the preset position is reached, the time of the start endpoint 212 or the end endpoint 213 may be adjusted, or the time of the start endpoint 212 and the time of the end endpoint 213 may be adjusted at the same time, so as to prevent the current playing time 211 from exceeding the current progress bar 210. It should be understood that the preset position may be set at any position of the current progress bar, for example, a middle point, an end point, and the like of the current progress bar, which is not limited by the present exemplary embodiment.
By displaying the current progress bar in the playing interface of the multimedia file, the user can move the playing progress on the current progress bar to adjust the current playing time of the file, and because the duration of the current progress bar is short, for example, the duration of the current progress bar 210 shown in fig. 2 is 1 minute, the time range corresponding to the unit length of the current progress bar is short, and the user can conveniently and accurately adjust the playing time.
In step S120, when adjusting the endpoint time of the current progress bar, the endpoint end time may be increased, so that the end time of the current progress bar is adjusted backwards; the time of the starting endpoint may be kept unchanged or reduced, so as to lengthen the time period covered by the current progress bar, or may be increased, so as to shift backward the time period covered by the current progress bar as a whole. In one embodiment of the present invention, the current progress bar may have a fixed time length, for example, in fig. 2, the time length of the current progress bar 210 may be fixed to 1 minute, and when the endpoint time is adjusted, the time lengths of the start endpoint 212 and the end endpoint 213 may be adjusted to the same direction by the same amount at the same time to maintain the 1 minute time length of the current progress bar 210. The fixed time length can be determined according to the type or the total time length of the currently played file, for example, the fixed time length of the current progress bar of the song audio file can be 1 minute or 2 minutes, the fixed time length of the current progress bar of the movie video file can be 10 minutes, and the like, and certainly, a function of setting the fixed time length by user definition can also be added, so that the user can set the fixed time length according to the requirement.
As shown in fig. 2, the effect of the tape measure can be presented at the starting end point 212 and the ending end point 213 of the current progress bar 210, which respectively represent a file portion earlier than the starting time and a file portion later than the ending time, as the file is played, the time of the starting end point 212 increases, an animation effect that the tape measure is continuously rolled up and more can be presented, and as the time of the ending end point 213 increases, an animation effect that the tape measure is continuously released and less can be presented, so that the current playing condition of the file can be visually presented, the attractiveness of the interface and the interest of the interaction can be increased, and the user experience can be improved. Of course, other display means besides tape measures may be used, such as: the animation effect of the color depth change of the starting end point and the ending end point is adopted, and as the file is played, the color of the starting end point is darker and darker, the color of the ending end point is lighter and lighter, and the like.
In an embodiment of the present invention, the preset position may be an end point of the current progress bar, and the end point time of the current progress bar may be adjusted through the following steps:
and adjusting the moment of the starting endpoint of the current progress bar to the current playing moment of the current playing file, and adjusting the moment of the ending endpoint to the moment determined by the current playing moment plus the fixed time length.
Taking a fixed time length of 1 minute as an example, when playing, playing the content of the current 1 minute, after the playing is completed, switching the current progress bar to the next 1 minute, pulling the playing progress back to the starting point of the current progress bar, and continuing playing.
It is necessary to supplement that, if the time determined by adding the fixed time length to the current playing time exceeds the ending time of the current playing file, the time of ending the endpoint is adjusted to the ending time of the current playing file. Still taking the above-mentioned fixed time length of 1 minute as an example, after a segment of the currently playing file is played, if the remaining content of the currently playing file is less than 1 minute, for example, 30 seconds remain, the last segment of the currently playing file is switched to, the time length of the currently playing file is 30 seconds, and the ending time of the currently playing file is the ending time of the entire currently playing file.
Further, the progress bar control method may further include the steps of:
and responding to the start of playing the current playing file, and presenting the current progress bar which starts at zero time and ends at the time of adding the fixed time length to the zero time.
Still taking the fixed time length of 1 minute as an example, when the file starts to be played, the current progress bar of 00: 00-01: 00 is displayed at first.
Based on the above steps, the present invention provides a method flow for controlling a progress bar in a complete process of playing a file, as shown in fig. 3, including the following steps:
step S310, when the playing of the current playing file is started, presenting a current progress bar which takes zero time as the start and the time of adding the fixed time length to the zero time as the end;
step S320, when the end point of the current progress bar is played, adjusting the moment of the starting end point of the current progress bar to the current playing moment of the current playing file, and adjusting the moment of the ending end point to the moment determined by the current playing moment and a fixed duration;
in step S330, if the time determined by adding the fixed duration to the current playing time exceeds the ending time of the current playing file, the time of the ending endpoint is adjusted to the ending time of the current playing file.
The method flow of fig. 3 is further explained with reference to fig. 4, 5 and 6: the currently playing file is a song audio with a duration of 03:30, fig. 4 shows a case where the file does not start playing, the current playing time 211 is 00:00, the fixed duration of the current progress bar 210 is 1 minute, the time of the starting endpoint 212 is 00:00, and the time of the ending endpoint 213 is 01: 00. After the playing is started, the current playing time 211 moves to the right on the current progress bar 210 until the end endpoint 213 is reached, which indicates that the playing reaches 01:00, the time period of the current progress bar 210 can be adjusted to 01: 00-02: 00, that is, the time of the start endpoint 212 is the current playing time 01:00, and the time of the end endpoint 213 is the time 02:00 determined by adding the fixed time length 1 minute to the current playing time 01: 00. The current play time 211 returns to the start end point 212 of the current progress bar 210 and moves right again with the progress of the play, as can be seen in fig. 5. When the current progress bar 210 is played to 02: 00-03: 00, the total time length is 03:30, and only 30 seconds of non-played time length remains when the current progress bar 210 is played to 03: 00-03: 30, as shown in fig. 6.
As can be seen from the above, in the present exemplary embodiment, it is equivalent to divide the total progress bar of the currently played file into multiple segments with fixed duration, and during playing, the first segment of progress bar is displayed first, and after the playing reaches the end point of the first segment, the second segment of progress bar is switched to, and so on.
The embodiment of the present invention further provides another method for adjusting a progress bar, wherein step S120 may be implemented by:
after the current playing file is played to the preset position of the current progress bar, the time of the starting end point and the ending end point of the current progress bar is synchronously adjusted according to the playing progress of the current playing file, so that the current playing time of the current playing file is maintained at the preset position.
The preset position may be any position of the current progress bar, and the following description takes the preset position as a midpoint as an example: taking the audio file playing shown in fig. 4 as an example, the fixed duration of the current progress bar is 1 minute, when the playing starts, the displayed current progress bar 210 is 00:00 to 01:00 as shown in fig. 4, after the playing reaches the middle point of the current progress bar 210, that is, 00:30, the time of both ends of the current progress bar 210 is synchronously adjusted along with the playing progress, for example, when the file is played to 00:31, the time of the current progress bar 210 is 00:01 to 01:01, and when the playing reaches 00:32, the time of the current progress bar 210 is 00:02 to 01:02, so that the current playing time 211 is always at the middle point of the current progress bar 210. Based on this, when the user adjusts the playing progress at any time, the progress bar can be moved to the left direction and the right direction, and the adjustment operation is convenient.
It should be added that, at the end stage of the file playing, the time at both ends of the current progress bar may be maintained, so that the current playing time moves on the current progress bar until the end point is reached. For example, for an audio file with a duration of 03:30 shown in fig. 4, when the audio file is played to 02:59, the current progress bar 210 may be 02:29 to 03:29, when the audio file is played to 03:00, the current progress bar 210 may be 02:30 to 03:30, and when the audio file is played continuously thereafter, the current progress bar 210 may be maintained at 02:30 to 03:30, and the current playing time 211 "runs on the current progress bar 210 until the audio file is played to 03: 30.
It should be understood that when the preset position is set to other positions, for example, 60% or 80% of the current progress bar, the implementation process of the above-mentioned scheme is similar, and a function of setting the preset position by user self-definition can be added, so that the user can set the preset position according to the requirement, for example, in the case of more review, the user can set the preset position on the right half of the current progress bar so as to move the progress bar to the left, in the case of more fast forward, the user can set the preset position on the left half so as to move the progress bar to the right, and so on.
The embodiment of the invention also provides a method for controlling the progress bar under the condition that the user interacts. In an embodiment of the present invention, a play progress control is further displayed on the current progress bar, which may be as shown in 211 in fig. 2 or fig. 4, and is used to identify the current play time of the current play file, and may also be in other forms such as a square, an arrow, and the like; correspondingly, the progress bar control method can further comprise the following steps:
and responding to a first preset operation acted on the playing progress control, moving the playing progress control according to the first preset operation, and synchronously adjusting the current playing time of the current playing file.
For example, on a touch terminal such as a mobile phone, the first preset operation may be an operation of pressing and holding the play progress control to slide, or an operation of sliding left and right in a specific area of a touch screen, on a computer, the first preset operation may be an operation of dragging the play progress control with a mouse, or an operation of controlling the movement of the play progress control with a left and right direction key of a keyboard, and so on. The user can move the playing progress control through a first preset operation to move the playing progress control to a target position on the current progress bar, so that the current playing time is adjusted to the time corresponding to the target position. For example, in fig. 7, the user can move the play progress control 711 on the current progress bar 710, so as to adjust the current play time within a range of 01:00 to 02: 00. Therefore, by the mode, a user can accurately adjust the playing time of the file, and even the second-level playing time positioning is realized.
In an embodiment of the present invention, the current playing time may be displayed on the current progress bar by a numerical value, as shown in fig. 8 as 02:40, when the user moves the playing progress control through the first preset operation, the current playing time may be changed along with the change of the position of the playing progress control, which is more beneficial for the user to perform accurate adjustment, and certainly, the numerical value may also be hidden when the file is normally played, and the numerical value may be activated and displayed when the user moves the playing progress control through the first preset operation.
In one embodiment of the present invention, in response to the first preset operation, a tick mark may be further displayed on the current progress bar. As shown in fig. 8, when the user moves the playing progress control 211, a scale mark for identifying time is displayed on the current progress bar 210, so as to provide a reference for the user to adjust the playing time, so that the user can more accurately adjust to the target time, each cell on the scale mark may be 1 second, 2 seconds, 5 seconds, or the like, and the present exemplary embodiment does not limit this according to the duration and length of the current progress bar 210. It is added that, during normal playing, the graduation line on the current progress bar can be hidden. If the two end points of the current progress bar are displayed in the form of a tape measure, scale marks are also displayed on the current progress bar, so that an interface effect close to a real tape measure can be presented, and the interest of interaction is improved.
In an embodiment of the present invention, the first preset operation may be a first sliding operation including a sliding operation on a touch screen, a dragging operation of a mouse, and the like, and accordingly, the progress bar control method may further include the steps of:
in response to the first sliding operation sliding to a start endpoint or an end endpoint of the current progress bar, a time of at least one endpoint of the current progress bar may be adjusted according to the first sliding operation.
This step actually provides a processing method that the target time is not on the current progress bar when the user adjusts the playing time, that is, the user can slide the playing progress control to the starting end point or the ending end point of the current progress bar to adjust the time range of the current progress bar, which is equivalent to manually adjusting the end point time of the current progress bar. Taking fig. 8 as an example, the current progress bar 210 is 02: 00-03: 00, and if the user wants to adjust to 01:40 and is not within the range of the current progress bar 210, the play progress control 211 may be slid to the starting endpoint to adjust the starting time of the current progress bar 210, and the current play time may be continuously adjusted to 01:40 at a time earlier than 01: 40.
The following provides 3 specific methods for manually adjusting the end point time of the current progress bar, and it should be understood that the following methods should not limit the scope of the present invention:
(1) when the user performs the first sliding operation, if the first sliding operation slides to the starting endpoint, the time of the starting endpoint is reduced according to the time of the first sliding operation staying at the starting endpoint, and the time of the ending endpoint is kept unchanged, and if the first sliding operation slides to the ending endpoint, the time of the ending endpoint is increased according to the time of the first sliding operation staying at the ending endpoint, and the time of the starting endpoint is kept unchanged.
Still taking fig. 8 as an example, when the user slides the playing progress control 211 to the starting end point and continues to operate, for example, the finger does not loosen after the finger holds the playing progress control 211 to slide to the starting end point, or the left mouse button does not loosen after the left mouse button holds the playing progress control 211 to slide to the starting end point, at this time, the time of the starting end point is scrolled forward at a constant speed, for example, the user maintains 1 second of operation, the time of the starting end point is scrolled forward for 10 seconds, so that after 3 seconds, the time of the starting end point becomes 01:30, the current progress bar 210 is 01: 30-03: 00, the user can continue to move the playing progress control 211 to the right a little bit to the position of 01:40, and the adjustment operation of the playing time is completed; for the case where the first sliding operation acts on the end point, the adjustment is similar except that the time at which the end point is scrolled backwards.
The method is equivalent to increasing the time range of the current progress bar through manual adjustment.
(2) When the user performs the first sliding operation, if the first sliding operation slides to the starting endpoint, the time of the starting endpoint and the time of the ending endpoint are reduced according to the time of the first sliding operation staying at the starting endpoint, and if the first sliding operation slides to the ending endpoint, the time of the starting endpoint and the time of the ending endpoint are increased according to the time of the first sliding operation staying at the ending endpoint.
When the time of the starting end point and the ending end point is reduced or increased, the time of the two end points can be synchronously adjusted, so that the current progress bar is always kept at the fixed time length. Still taking fig. 8 as an example, when the user slides the playing progress control 211 to the starting end point and continues to operate, the two end points of the current progress bar 210 synchronously scroll forward, for example, after the user clicks the playing progress control 211 and stops at the starting end point for 3 seconds, the time of the starting end point is 01:30, the time of the ending end point is 02:30, which is equivalent to that the whole current progress bar 210 scrolls forward for 30 seconds, and the user can continue to move the playing progress control 211 to the right a little to the position of 01:40 without loosing his hand, and the operation of adjusting the playing time is completed. Therefore, the fixed time length of the current progress bar is not changed, and subsequent adjustment operation is facilitated to continue. Of course, the time of the two endpoints may be adjusted asynchronously, for example, in the above example, after the user operation stays for 3 seconds, the time of the starting endpoint becomes 01:30, and the time of the ending endpoint becomes 02:45, that is, the time of the two endpoints scrolls forward, but the scrolling speed may be different. The present exemplary embodiment does not limit this.
In the methods (1) and (2), the adjustment speed of the starting endpoint or the ending endpoint may be determined according to the ratio of the duration of the current progress bar to the total duration of the current playing file, or may be set by a user in a user-defined manner. Or, when the user performs the first sliding operation, the playing progress control may be slid to positions beyond two end points of the current progress bar, for example, after the user slides the playing progress control to a starting end point (usually located at the leftmost side of the current progress bar), the user continues to slide to the left, at this time, the adjustment speed of the starting end point or the ending end point time may be determined according to the distance between the sliding position and the starting end point, that is, the more the position of the user sliding to the left exceeds the current progress bar, the faster the adjustment speed of the end point time; the rightward sliding is similar, and therefore, the description is omitted.
(3) Besides the first sliding operation, an operation function special for manually adjusting the endpoint time of the current progress bar can be added. As shown in fig. 9, a first preset range 914 is set near a start endpoint 912 of the current progress bar 910, a second preset range 915 is set near an end endpoint 913, and the first preset range 914 and the second preset range 915 may be displayed by specific marks or may be hidden operation areas. In the present exemplary embodiment, it may be defined that the second preset operation is a specific operation acting on the first preset range 914 and the second preset range 915, and may be, for example, a click, a long press, a slide operation, or the like.
Based on the above setting, in response to a second preset operation that acts on the first preset range or the second preset range, a timing of at least one end point of the current progress bar may be adjusted according to the second preset operation.
Taking the second preset operation as a long press operation as an example, the user may adjust the time range of the current progress bar 910 forward by long pressing the first preset range 914, or adjust the time range of the current progress bar 910 backward by long pressing the second preset range 915.
Taking the second preset operation as an example of the second sliding operation, when the user performs the second sliding operation, if the second sliding operation slides in the first direction, the time of the starting endpoint and the ending endpoint is decreased, and if the second sliding operation slides in the second direction, the time of the starting endpoint and the ending endpoint is increased. Wherein the first sliding direction may be leftward sliding and the second sliding direction may be rightward sliding; or the first sliding direction may be a counterclockwise sliding movement and the second sliding direction may be a clockwise sliding movement, simulating the direction of roll-up and release of the tape measure.
Further, prompt information about a second preset operation can be displayed in the first preset range and/or the second preset range. As shown in fig. 9, the prompt message 916 may be a text prompt message, such as "try here" in the figure, or may operate a guidance message, such as a sliding direction shown in the figure, so that the user may quickly learn the function of the second preset operation, so as to reduce the learning cost of the user.
In an embodiment of the present invention, the starting end point and the ending end point of the current progress bar are in the shape of a tape measure, and when the time of the starting end point or the time of the ending end point are adjusted, an animation that the tape measure is rolled up or released may also be presented, for example, if the time of the starting end point and the time of the ending end point is adjusted forward, the tape measure that presents the starting end point is released, the tape measure that ends the end point is rolled up, and the time of the starting end point and the time of the ending end point is adjusted backward, the tape measure that presents the starting end point is rolled up, and the tape measure that ends the end point is released, thereby increasing the interest of the interaction.
In an embodiment of the present invention, when a file is played normally, the current progress bar may be hidden, and the current progress bar is activated and displayed in response to a third preset operation, so that the display interface is simpler. The third preset operation may be any type of operation, for example, a click operation or a slide operation in a specific area in the interface, which is not limited in this exemplary embodiment.
Exemplary devices
Having described the progress bar control method according to the exemplary embodiment of the present invention, a progress bar control apparatus according to an exemplary embodiment of the present invention will be described with reference to fig. 10.
As shown in fig. 10, the progress bar control apparatus 1000 may include: a presenting module 1010, configured to present a current progress bar of a currently played file, where a duration of the current progress bar is less than a total duration of the currently played file; the adjusting module 1020 is configured to adjust a time of at least one endpoint of the current progress bar in response to the currently played file being played to a preset position of the current progress bar.
In one embodiment of the invention, the current progress bar has a fixed duration.
In an embodiment of the present invention, the preset position may be an end point of the current progress bar; the adjusting module 1020 may be configured to adjust the time of the starting endpoint of the current progress bar to the current playing time of the current playing file, and adjust the time of the ending endpoint to the time determined by adding a fixed duration to the current playing time.
In an embodiment of the present invention, the adjusting module 1020 may further be configured to adjust the time of the ending endpoint to the ending time of the currently playing file if the time determined by adding the fixed time length to the current playing time exceeds the ending time of the currently playing file.
In an embodiment of the present invention, the presenting module 1010 may be configured to present the current progress bar starting at zero time and ending at zero time plus a fixed duration in response to the currently playing file starting to play.
In an embodiment of the present invention, the adjusting module 1020 may be configured to synchronously adjust the time of the starting endpoint and the ending endpoint of the current progress bar according to the playing progress of the current playing file after the current playing file is played to the preset position of the current progress bar, so that the current playing time of the current playing file is maintained at the preset position.
In an embodiment of the present invention, a play progress control may be further displayed on the current progress bar, for identifying a current play time of the currently played file; the adjustment module 1020 may include: an automatic adjusting unit 1021, configured to adjust a time of at least one endpoint of the current progress bar in response to that the currently played file is played to a preset position of the current progress bar; the first manual adjustment unit 1022 is configured to, in response to a first preset operation applied to the play progress control, move the play progress control according to the first preset operation, and synchronously adjust the current play time of the currently played file.
In an embodiment of the present invention, the presenting module 1010 may further include: and a tick mark display unit 1011 for displaying a tick mark on the current progress bar in response to the first preset operation.
In one embodiment of the present invention, the first preset operation may be a first sliding operation; the adjustment module 1020 may further include: and a second manual adjustment unit 1023 for adjusting a time of at least one end point of the current progress bar according to the first sliding operation in response to the first sliding operation sliding to the start end point or the end point of the current progress bar.
In one embodiment of the present invention, the second manual adjustment unit 1023 may be configured to decrease the time of the starting endpoint and the ending endpoint according to the time of the first sliding operation staying at the starting endpoint if the first sliding operation slides to the starting endpoint, and increase the time of the starting endpoint and the ending endpoint according to the time of the first sliding operation staying at the ending endpoint if the first sliding operation slides to the ending endpoint.
In an embodiment of the present invention, the adjusting module 1020 may further include: a third manual adjusting unit 1024, configured to adjust, in response to a second preset operation that acts on a first preset range near a starting end point of the current progress bar or a second preset range near an ending end point of the current progress bar, a time of at least one end point of the current progress bar according to the second preset operation.
In one embodiment of the present invention, the second preset operation may be a second sliding operation; the third manual adjustment unit 1024 may be configured to decrease the timings of the start endpoint and the end endpoint if the second sliding operation slides in the first direction, and increase the timings of the start endpoint and the end endpoint if the second sliding operation slides in the second direction.
In an embodiment of the present invention, the presenting module 1010 may further include: and a prompt information display unit 1012 for displaying prompt information about the second preset operation in the first preset range and/or the second preset range.
In one embodiment of the present invention, the starting end point and the ending end point of the current progress bar are in the shape of a tape measure; the presentation module 1010 may also be used to present an animation of the tape roll or release as the adjustment module adjusts the timing of the starting end point or the ending end point.
In an embodiment of the present invention, the presenting module 1010 may further include: and an activation display unit 1013 configured to activate, in response to a third preset operation, a current progress bar for displaying a currently playing file.
In addition, other specific details not disclosed in the above apparatus have been described in detail in the above invention embodiments of the method, and reference may be made to the contents of the method section, which are not described herein again.
Exemplary storage Medium
Having described the progress bar control method and apparatus according to the exemplary embodiment of the present invention, a storage medium according to an exemplary embodiment of the present invention will be described with reference to fig. 11.
As shown in fig. 11, a program product 1100 for implementing the above-described method according to an embodiment of the present invention is depicted, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RE, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (FAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Exemplary electronic device
Having described the storage medium of an exemplary embodiment of the present invention, next, an electronic device of an exemplary embodiment of the present invention will be described with reference to fig. 12.
The electronic device 1200 shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 12, the electronic device 1200 is embodied in the form of a general purpose computing device. The components of the electronic device 1200 may include, but are not limited to: the at least one processing unit 1210, the at least one memory unit 1220, the bus 1230 connecting the various system components (including the memory unit 1220 and the processing unit 1210), and the display unit 1240.
Wherein the storage unit 1220 stores program code, which may be executed by the processing unit 1210, such that the processing unit 1210 performs the steps according to various exemplary embodiments of the present invention described in the above section "exemplary methods" of the present specification. For example, the processing unit 1210 may perform the method steps as shown in fig. 1, 3, etc.
The storage unit 1220 may include volatile storage units such as a random access memory unit (RAM)1221 and/or a cache memory unit 1222, and may further include a read only memory unit (ROM) 1223.
Storage unit 1220 may also include a program/utility 1224 having a set (at least one) of program modules 1225, such program modules 1225 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1230 may include a data bus, an address bus, and a control bus.
The electronic device 1200 may also communicate with one or more external devices 1300 (e.g., keyboard, pointing device, bluetooth device, etc.) via an input/output (I/O) interface 1250. The electronic device 1200 further comprises a display unit 1240 connected to the input/output (I/O) interface 1250 for displaying. Also, the electronic device 1200 may communicate with one or more networks (e.g., a local area network (FAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 1260. As shown, the network adapter 1260 communicates with the other modules of the electronic device 1200 via the bus 1230. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several modules or sub-modules of the apparatus are mentioned, such division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (26)

1. A progress bar control method, comprising:
presenting a current progress bar of a currently played file, wherein the duration of the current progress bar is less than the total duration of the currently played file; a playing progress control is also displayed on the current progress bar and used for identifying the current playing time of the current playing file; the current playing file is a single file;
responding to the current playing file to be played to a preset position of the current progress bar, and adjusting the moment of at least one endpoint of the current progress bar;
responding to a first preset operation acted on the playing progress control, displaying a scale mark on the current progress bar, and moving the playing progress control to a target position on the current progress bar according to the first preset operation so as to adjust the current playing time to a time corresponding to the target position;
and responding to a first preset range acting near the starting end point of the current progress bar or a second preset range acting near the ending end point of the current progress bar and a second preset operation not acting on the playing progress control, and adjusting the moment of at least one end point of the current progress bar according to the second preset operation.
2. The method of claim 1, wherein the current progress bar has a fixed duration.
3. The method of claim 2, wherein the preset position comprises an end point of the current progress bar;
the adjusting the time of at least one endpoint of the current progress bar comprises:
and adjusting the moment of the starting endpoint of the current progress bar to the current playing moment of the current playing file, and adjusting the moment of the ending endpoint to the moment determined by the current playing moment plus the fixed duration.
4. The method of claim 3, wherein the adjusting the timing of at least one endpoint of the current progress bar further comprises:
and if the moment determined by adding the fixed time length to the current playing moment exceeds the ending moment of the current playing file, adjusting the moment of the ending endpoint to the ending moment of the current playing file.
5. The method of claim 3, wherein the presenting the current progress bar of the currently playing file comprises:
and responding to the beginning of playing the current playing file, and presenting a current progress bar which starts at zero time and ends at the time of adding the fixed time length to the zero time.
6. The method according to claim 1, wherein said adjusting the time of at least one end point of the current progress bar in response to the currently playing file playing to the preset position of the current progress bar comprises:
after the currently played file is played to the preset position of the currently played file, the time of the starting end point and the ending end point of the currently played file is synchronously adjusted according to the playing progress of the currently played file, so that the currently played time of the currently played file is maintained at the preset position.
7. The method of claim 1, wherein the first preset operation comprises a first sliding operation; the method further comprises the following steps:
and responding to the first sliding operation to slide to the starting endpoint or the ending endpoint of the current progress bar, and adjusting the time of at least one endpoint of the current progress bar according to the first sliding operation.
8. The method of claim 7, wherein the adjusting a time of at least one end point of the current progress bar according to the first sliding operation in response to the first sliding operation sliding to a starting end point or an ending end point of the current progress bar comprises:
if the first sliding operation slides to the starting endpoint, reducing the time of the starting endpoint and the ending endpoint according to the time of the first sliding operation staying at the starting endpoint;
and if the first sliding operation slides to the end endpoint, increasing the time of the starting endpoint and the end endpoint according to the time of the first sliding operation staying at the end endpoint.
9. The method according to claim 1, wherein the second preset operation comprises a second sliding operation;
the adjusting the time of at least one endpoint of the current progress bar according to the second preset operation comprises:
if the second sliding operation slides along the first direction, reducing the time of the starting endpoint and the ending endpoint;
increasing the time of the starting end point and the ending end point if the second sliding operation slides in a second direction.
10. The method according to claim 1, wherein a prompt message about the second preset operation is displayed in the first preset range and/or the second preset range.
11. The method of claim 1, wherein a starting end point and an ending end point of the current progress bar are in a shape of a tape measure; an animation of the tape measure being rolled up or released is also presented when the moment of the starting or ending end point is adjusted.
12. The method of claim 1, wherein the presenting the current progress bar of the currently playing file comprises:
and responding to a third preset operation, and activating and displaying a current progress bar of the current playing file.
13. A progress bar control apparatus, comprising:
the presentation module is used for presenting a current progress bar of a current playing file, and the duration of the current progress bar is less than the total duration of the current playing file; a playing progress control is also displayed on the current progress bar and used for identifying the current playing time of the current playing file; the current playing file is a single file;
the adjusting module is used for responding to the preset position of the current progress bar played by the current playing file and adjusting the moment of at least one endpoint of the current progress bar;
the adjustment module includes:
the first manual adjusting unit is used for responding to a first preset operation acted on the playing progress control, displaying scale marks, and moving the playing progress control to a target position on the current progress bar according to the first preset operation so as to adjust the current playing time to be the time corresponding to the target position;
a third manual adjustment unit, configured to, in response to a second preset operation that is applied to a first preset range near a starting end point of the current progress bar or a second preset range near an ending end point of the current progress bar and is not applied to the play progress control, adjust a time of at least one end point of the current progress bar according to the second preset operation;
the presentation module includes:
and the scale mark display unit is used for responding to the first preset operation and displaying scale marks on the current progress bar.
14. The apparatus of claim 13, wherein the current progress bar has a fixed duration.
15. The apparatus of claim 14, wherein the preset position comprises an end point of the current progress bar;
and the adjusting module is used for adjusting the moment of the starting endpoint of the current progress bar to the current playing moment of the current playing file, and adjusting the moment of the ending endpoint to the moment determined by the current playing moment plus the fixed duration.
16. The apparatus according to claim 15, wherein the adjusting module is further configured to adjust the time of the end point to the end time of the currently playing file if the time determined by the current playing time plus the fixed time length exceeds the end time of the currently playing file.
17. The apparatus of claim 15, wherein the presenting module is configured to present the current progress bar starting at zero time and ending at zero time plus the fixed duration in response to the currently playing file starting to play.
18. The apparatus according to claim 13, wherein the adjusting module is configured to synchronously adjust the time of the starting endpoint and the ending endpoint of the current progress bar according to the playing progress of the current playing file after the current playing file is played to the preset position of the current progress bar, so that the current playing time of the current playing file is maintained at the preset position.
19. The apparatus of claim 13, wherein the first preset operation comprises a first sliding operation;
the adjustment module further comprises:
and the second manual adjusting unit is used for responding to the sliding of the first sliding operation to the starting endpoint or the ending endpoint of the current progress bar and adjusting the time of at least one endpoint of the current progress bar according to the first sliding operation.
20. The apparatus according to claim 19, wherein the second manual adjustment unit is configured to decrease the time between the start endpoint and the end endpoint according to the time the first sliding operation stays at the start endpoint if the first sliding operation slides to the start endpoint, and increase the time between the start endpoint and the end endpoint according to the time the first sliding operation stays at the end endpoint if the first sliding operation slides to the end endpoint.
21. The apparatus of claim 13, wherein the second preset operation comprises a second sliding operation;
the third manual adjustment unit is configured to decrease the time of the starting endpoint and the ending endpoint if the second sliding operation slides in the first direction, and increase the time of the starting endpoint and the ending endpoint if the second sliding operation slides in the second direction.
22. The apparatus of claim 13, wherein the presentation module further comprises:
and the prompt information display unit is used for displaying prompt information about the second preset operation in the first preset range and/or the second preset range.
23. The apparatus of claim 13, wherein a starting end point and an ending end point of the current progress bar are in a shape of a tape measure;
the display module is further used for displaying the animation of rolling up or releasing the tape measure when the adjusting module adjusts the moment of the starting end point or the ending end point.
24. The apparatus of claim 13, wherein the presentation module further comprises:
and the activation display unit is used for responding to a third preset operation and activating and displaying the current progress bar of the current playing file.
25. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1-12.
26. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-12 via execution of the executable instructions.
CN201910412434.5A 2019-05-17 2019-05-17 Progress bar control method, progress bar control device, storage medium and electronic equipment Active CN110148429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910412434.5A CN110148429B (en) 2019-05-17 2019-05-17 Progress bar control method, progress bar control device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910412434.5A CN110148429B (en) 2019-05-17 2019-05-17 Progress bar control method, progress bar control device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110148429A CN110148429A (en) 2019-08-20
CN110148429B true CN110148429B (en) 2022-04-19

Family

ID=67594304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910412434.5A Active CN110148429B (en) 2019-05-17 2019-05-17 Progress bar control method, progress bar control device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110148429B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399736B (en) * 2020-03-17 2021-09-21 腾讯科技(深圳)有限公司 Progress bar control method, device and equipment and readable storage medium
CN111432254B (en) * 2020-03-24 2022-02-08 杭州海康威视数字技术股份有限公司 Video information display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140038791A (en) * 2012-09-21 2014-03-31 현대모비스 주식회사 The method of playing multimedia data and the multimedia playing apparatus thereof
CN106293410A (en) * 2016-08-22 2017-01-04 维沃移动通信有限公司 A kind of video progress control method and mobile terminal
CN109286847A (en) * 2018-09-29 2019-01-29 传线网络科技(上海)有限公司 The playback progress methods of exhibiting and device of video

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140038791A (en) * 2012-09-21 2014-03-31 현대모비스 주식회사 The method of playing multimedia data and the multimedia playing apparatus thereof
CN106293410A (en) * 2016-08-22 2017-01-04 维沃移动通信有限公司 A kind of video progress control method and mobile terminal
CN109286847A (en) * 2018-09-29 2019-01-29 传线网络科技(上海)有限公司 The playback progress methods of exhibiting and device of video

Also Published As

Publication number Publication date
CN110148429A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
US8566301B2 (en) Document revisions in a collaborative computing environment
US7900145B2 (en) System and method for synchronizing data
EP2689346B1 (en) Managing playback of synchronized content
US9792027B2 (en) Managing playback of synchronized content
US10657834B2 (en) Smart bookmarks
US8862255B2 (en) Managing playback of synchronized content
US20120054612A1 (en) Method and apparatus for playing contents
US10353533B2 (en) Manipulating visual representations of data
CN110148429B (en) Progress bar control method, progress bar control device, storage medium and electronic equipment
KR20130128381A (en) Method for creating and navigating link based multimedia
CN110109590B (en) Automatic reading method and device
US11528513B2 (en) Preemptively altering advertising content
US9087508B1 (en) Presenting representative content portions during content navigation
CN113282269B (en) Audio playing method, device, storage medium and computing equipment
US20230054388A1 (en) Method and apparatus for presenting audiovisual work, device, and medium
CN110909261A (en) Time axis processing method, device, equipment and storage medium
JP6474728B2 (en) Enhanced information gathering environment
US8803808B1 (en) Keyboard event detection and network event generation
KR102485507B1 (en) Method and apparatus for providing online lecture contents
Freeman et al. Tools for real-time music notation
KR101853322B1 (en) Device and method of learning application providing with editing of learning content
US20150242368A1 (en) Method and device for reproducing a content item
JP2007279847A (en) Content reproduction device, program, and recording medium
JP5695769B1 (en) Server in electronic book distribution system, control method thereof, and control program thereof
TWI717627B (en) E-book apparatus with audible narration and method using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant