CN105975178A - Progress bar display method and apparatus - Google Patents

Progress bar display method and apparatus Download PDF

Info

Publication number
CN105975178A
CN105975178A CN201610274283.8A CN201610274283A CN105975178A CN 105975178 A CN105975178 A CN 105975178A CN 201610274283 A CN201610274283 A CN 201610274283A CN 105975178 A CN105975178 A CN 105975178A
Authority
CN
China
Prior art keywords
progress bar
progress
bar
media file
user
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.)
Pending
Application number
CN201610274283.8A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610274283.8A priority Critical patent/CN105975178A/en
Publication of CN105975178A publication Critical patent/CN105975178A/en
Pending legal-status Critical Current

Links

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/0486Drag-and-drop

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a progress bar display method and apparatus. The progress bar display method comprises the steps of receiving a first operation performed by a user on a progress bar of a media file in a first position; and displaying the progress bar of the media file within a first progress range according to a preset progress bar display rule, wherein the first position is located within the first progress range. According to the technical scheme provided by the method and apparatus, display parameters of the progress bar of the media file can be automatically adjusted according to the operation input by the user, the progress bar is adjusted to a dimension suitable for user operation, and then the progress bar is displayed, so that the user can quickly and accurately adjust a playing progress of the media file.

Description

Progress bar display packing and device
Technical field
It relates to communication technical field, particularly to a kind of progress bar display packing and device.
Background technology
In recent years, the fast development of network technology makes the kind of network application and function more and more abundanter, with As a example by the application of audio frequency broadcast message class, this application can play the multiple formats such as MP3, FLAC, APE and WAV Audio file.At present, when the audio frequency broadcast message class application designing mobile terminal, by mobile terminal screen size Restriction, for the audio frequency of different durations, if the progress bar of design audio frequency is a screen width, then exist When regulating the playing progress rate of audio frequency by the way of dragging progress bar, regulation situation the most accurately easily occurs. If the progress bar of design audio frequency is multiple screen width, although can reach the purpose accurately regulated, but But need to expend longer dragging duration.
It is therefore proposed that a kind of reasonably progress bar display packing, to facilitate the user can be both quick, the most precisely The playing progress rate of ground regulation media file, it has also become those skilled in the art's problem demanding prompt solution.
Summary of the invention
In order to solve the problems referred to above, the disclosure provides a kind of progress bar display packing and device.
Specifically, the disclosure is achieved by the following technical solution:
First aspect according to disclosure embodiment, it is provided that a kind of progress bar display packing, described method includes:
Receive the first operation that user makes for the progress bar of media file first position;
Rule is shown, to described media file progress in the range of the first progress according to default progress bar Bar is shown, wherein, in the range of described primary importance is positioned at described first progress.
In one embodiment, described first operation, including following at least one:
Length presses progress bar, suspends and drags progress bar, drag progress bar during progress bar is dragged.
In one embodiment, described first operation is long by progress bar;
The progress bar that described basis is preset shows rule, to described media file in the range of the first progress Progress bar is shown, including:
Judge that whether the length of progress bar of media file is higher than preset length;
When judging the length of progress bar of described media file higher than preset length, by described media literary composition The progress bar of part foreshortens to pre-set dimension and is shown.
In one embodiment, described first operation is to suspend to drag progress bar during progress bar is dragged;
The progress bar that described basis is preset shows rule, to described media file in the range of the first progress Progress bar is shown, including:
According to predetermined physical distance interval and time-out position, determine the first object display area of progress bar, Wherein, described primary importance is positioned at described first object display area;
According to presetting the first displaying ratio, the progress bar in described first object display area is shown.
In one embodiment, described first operation is to drag progress bar;
The progress bar that described basis is preset shows rule, to described media file in the range of the first progress Progress bar is shown, including:
Obtain the dragging speed of described drag operation;
According to the corresponding relation that dragging speed is interval with physical distance, determine the thing that described drag operation is corresponding Reason distance is interval;
Physical distance determined by according to is interval and the position of described drag operation, determines the second intended display Region, wherein, described primary importance is positioned at described second intended display region;
According to presetting the second displaying ratio, the progress bar in described second intended display region is shown.
In one embodiment, described method also includes:
The first operation of user's input whether is received in preset duration being detected;
After not receiving the first operation of user's input in preset duration being detected, to give tacit consent to exhibition method The progress bar of described media file is shown.
Second aspect according to disclosure embodiment, it is provided that a kind of progress bar display device, described device includes:
Receiver module, is configured to receive what user made for the progress bar of media file first position First operation;
First display module, is configured to show rule, to described media file according to the progress bar preset Progress bar in the range of the first progress is shown, and wherein, described primary importance is positioned at described first and enters In the range of degree.
In one embodiment, described first operation, including following at least one:
Length presses progress bar, suspends and drags progress bar, drag progress bar during progress bar is dragged.
In one embodiment, described first operation is long by progress bar;
Described first display module, including:
Judge submodule, be configured to judge that whether the length of the progress bar of media file is higher than preset length;
First shows submodule, is configured in the case of the described judged result judging submodule is as being, The progress bar of described media file is foreshortened to pre-set dimension be shown.
In one embodiment, described first operation is to suspend to drag progress bar during progress bar is dragged;
Described first display module, including:
First area determines submodule, is configured to interval according to predetermined physical distance and suspends position, really Determining the first object display area of progress bar, wherein, described primary importance is positioned at described first object and shows In region;
Second shows submodule, is configured to according to default first displaying ratio, true to described first area Progress bar in the first object display area that stator modules is determined is shown.
In one embodiment, described first operation is to drag progress bar;
Described first display module, including:
Speed obtains submodule, is configured to obtain the dragging speed of described drag operation;
Second area determines submodule, is configured to the corresponding pass interval according to dragging speed and physical distance System, determines that physical distance corresponding to described drag operation is interval, according to determined by physical distance interval and The position of described drag operation, determines the second intended display region, and wherein, described primary importance is positioned at institute State in the second intended display region;
3rd shows submodule, is configured to according to default second displaying ratio, true to described second area Progress bar in the second intended display region that stator modules is determined is shown.
In one embodiment, described device also includes:
Whether detection module, receive the first operation of user's input in being configured to preset duration be detected;
Second display module, be configured to the testing result at described detection module for being in the case of, with The progress bar of described media file is shown by acquiescence exhibition method.
The third aspect according to disclosure embodiment, it is provided that a kind of progress bar display device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive the first operation that user makes for the progress bar of media file first position;
Rule is shown, to described media file progress in the range of the first progress according to default progress bar Bar is shown, wherein, in the range of described primary importance is positioned at described first progress.
The present embodiment can adjust the displaying of media file progress bar automatically according to the operation of user's input Parameter, the size adjusted by progress bar to suitable user operation is shown, thus facilitates the user can be both Quickly, the playing progress rate of media file is regulated the most accurately.
Being directed to the progress bar that length is longer, this progress bar can be foreshortened to be easy to user behaviour by the present embodiment The size made is shown, thus reaches the purpose facilitating user quickly to adjust playback of media files progress.
Being directed to the progress bar of a screen width, the present embodiment can be by this progress bar local expansion to being easy to use The size of family operation is shown, thus reaches the mesh facilitating user precisely to adjust playback of media files progress 's.
The present embodiment can be during progress bar be dragged, and dynamically extension shows that progress bar is currently dragged The progress bar near position moved, thus reach user can be accurate in more smooth dragging process The purpose of playing progress rate of regulation media file.
The present embodiment can be when user terminates to regulate operation for the progress of media file, in time by this matchmaker The exhibition method of the progress bar of body file recovers to giving tacit consent to displaying.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not Limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the present invention Embodiment, and for explaining the principle of the present invention together with description.
Fig. 1 is the disclosure flow chart according to a kind of progress bar display packing shown in an exemplary embodiment;
Fig. 2 is that the disclosure is according in the embodiment illustrated in fig. 1 shown in an exemplary embodiment the one of step 102 Plant the flow chart of embodiment;
Fig. 3 is the disclosure according to step 102 another in the embodiment illustrated in fig. 1 shown in an exemplary embodiment A kind of flow chart of embodiment;
Fig. 4 is the disclosure according to step 102 another in the embodiment illustrated in fig. 1 shown in an exemplary embodiment A kind of flow chart of embodiment;
Fig. 5 is the disclosure block diagram according to a kind of progress bar display device shown in an exemplary embodiment;
Fig. 6 is the disclosure block diagram according to the another kind of progress bar display device shown in an exemplary embodiment;
Fig. 7 is the disclosure block diagram according to the another kind of progress bar display device shown in an exemplary embodiment;
Fig. 8 is the disclosure block diagram according to the another kind of progress bar display device shown in an exemplary embodiment;
Fig. 9 is the disclosure block diagram according to the another kind of progress bar display device shown in an exemplary embodiment;
Figure 10 is that the disclosure is according to a kind of knot for progress bar display device shown in an exemplary embodiment Structure schematic diagram.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure Formula.On the contrary, they only with describe in detail in appended claims, the disclosure some in terms of mutually one The example of the apparatus and method caused.
The term used in the disclosure is only merely for describing the purpose of specific embodiment, and is not intended to be limiting The disclosure." a kind of ", " described " of singulative used in disclosure and the accompanying claims book " it is somebody's turn to do " be also intended to include most form, unless context clearly shows that other implications.It is also understood that Term "and/or" used herein refers to and comprises any of one or more project of listing being associated Or likely combine.
Although should be appreciated that may use term first, second, third, etc. various to describe in the disclosure Information, but these information should not necessarily be limited by these terms.These terms only be used for by same type of information that This distinguishes.Such as, without departing from the scope of this disclosure, the first information can also be referred to as Two information, similarly, the second information can also be referred to as the first information.Depend on linguistic context, as in this institute The word that uses " if " can be construed to " ... time " or " when ... " or " in response to determining ".
In recent years, the fast development of network technology makes the kind of network application and function more and more abundanter, with As a example by the application of audio frequency broadcast message class, this application can play the multiple formats such as MP3, FLAC, APE and WAV Audio file.At present, when the audio frequency broadcast message class application designing mobile terminal, by mobile terminal screen size Restriction, for the audio frequency of different durations, if designing a length of of the progress bar of whole audio file Screen width, then, when regulating the playing progress rate of audio frequency by the way of dragging progress bar, easily occur adjusting Joint situation the most accurately.If designing a length of multiple screen widths of the progress bar of whole audio file, though So can reach the purpose accurately regulated, but but need to expend longer dragging duration.
It is therefore proposed that a kind of reasonably progress bar display packing, to facilitate the user can be both quick, the most precisely The playing progress rate of ground regulation media file, it has also become those skilled in the art's problem demanding prompt solution.For understanding Certainly the problems referred to above, present disclosure proposes a kind of progress bar display packing and device.
A kind of progress bar display packing provided the disclosure first below is introduced.
It should be noted that the method that the disclosure provides is applicable to terminal unit, in actual applications, should Terminal unit may include that smart mobile phone, panel computer etc., and this is not limited by the disclosure.
As it is shown in figure 1, Fig. 1 is that the disclosure is according to a kind of progress bar display side shown in an exemplary embodiment The flow chart of method, the method may comprise steps of:
In a step 101, receive that user makes for the progress bar of media file first position first Operation.
Media file in the present embodiment may include that video file and audio file, and user can be for The progress bar of video file or audio file makes multiple operation, such as, click on progress bar, pressing progress bar And quickly drag, slowly drag, forward drags or reversely drags progress bar etc..
Progress bar in the present embodiment may include that and carries out showing with multiple terminal unit display screen width Progress bar, it is also possible to including: carry out the progress bar shown with single terminal unit display screen width.
In a step 102, show rule according to default progress bar, above-mentioned media file is entered first Progress bar in the range of degree is shown, wherein, in the range of above-mentioned primary importance is positioned at above-mentioned first progress.
Progress bar in the present embodiment is shown can record action type and progress bar presentation parameter in rule Corresponding relation, after terminal unit receives the first operation that user makes, can show according to the progress bar preset In rule, the action type of record and the corresponding relation of progress bar presentation parameter, determine corresponding above-mentioned first behaviour The progress bar presentation parameter made, afterwards, according to the above-mentioned progress bar presentation parameter determined, to media literary composition Part progress bar in the range of the first progress is shown.
The first progress in the present embodiment may range from the whole progress bar of media file, it is also possible to for media The local of the progress bar of file.
It should be noted that the corresponding different regulation of different types of operation is intended to, such as A operates correspondence User expects that progress bar shortens and shows, the corresponding user of B operation expects that progress bar extension is shown.Therefore, logical In the case of Chang, the corresponding different progress bar presentation parameter of different types of operation, the progress in the present embodiment Bar presentation parameter may include that the displaying size of progress bar, the shortening ratio of progress bar, the expansion of progress bar Exhibition ratio, and for the physical distance interval determining progress bar display area etc., the present embodiment is to this not Limit.
As seen from the above-described embodiment, the operation that this embodiment can be made according to user, automatically adjust matchmaker The presentation parameter of body file progress bar, adjusts progress bar the size operated to suitable user and is shown, Thus facilitate user both quickly can regulate the playing progress rate of media file the most accurately.
As a example by audio file, check fine sound wave change for the convenience of the user when audio file is play, Terminal unit can be given tacit consent to and the progress bar of audio file is shown as multiple terminal unit display screen width, such as When one section, the audio frequency of a length of 1 hour may need the width at 3 screens to show, now, if needing to drag To the audio position compared rearward, then need to move for a long time on screen.As can be seen here, the above side of display Although formula can reach the purpose accurately regulated, but needs to expend longer dragging duration.
In order to solve the problems referred to above, reach quick-adjustsing purpose, present disclosure proposes another kind of embodiment, For the angle of technique effect, it is directed to the progress bar of multi-screen width, this progress bar can be contracted Short display;For in terms of technological means, in the present embodiment, can in advance terminal unit be carried out as Lower setting: when the progress bar shown on terminal unit display screen is long pressed, if this progress bar is many Individual display screen width, then carry out this progress bar shortening showing.
Accordingly, as in figure 2 it is shown, Fig. 2 is that the disclosure is according to Fig. 1 institute shown in an exemplary embodiment Show the flow chart of a kind of embodiment of step 102 in embodiment, be long by progress at above-mentioned gesture operation In the case of bar, above-mentioned steps 102 may include that
In step 201, it is judged that whether the length of the progress bar of media file is higher than preset length.
It should be noted that, and the use habit of most users limited in view of terminal unit screen size Used, the preset length in the present embodiment is usually a screen width of terminal unit display screen;Certainly, actual In application, can be configured the value of preset length according to demand, this is not limited by the present embodiment.
In step 202., when judging the length of progress bar of above-mentioned media file higher than preset length, The progress bar of above-mentioned media file is foreshortened to pre-set dimension be shown.
Assume the screen width that preset length is terminal unit display screen, the length of the progress bar of audio file It is three screen width, attempts this audio file is carried out progress regulation, long entering by this audio file user During degree bar, if be detected that this progress bar is long pressed, then terminal unit shortens whole audio file progress bar Displaying length to the width of a screen.
It should be noted that, and the use habit of most users limited in view of terminal unit screen size Used, the pre-set dimension in the present embodiment is usually a screen width of terminal unit display screen;Certainly, actual In application, can be configured the value of pre-set dimension according to demand, this is not limited by the present embodiment.
As seen from the above-described embodiment, being directed to the progress bar that length is longer, this embodiment can be by this progress Bar foreshortens to user-friendly size and is shown, thus reaches to facilitate user quickly to adjust media literary composition The purpose of part playing progress rate.
Still as a example by audio file, terminal unit can be given tacit consent to the progress bar of audio file is shown as one sometimes Individual terminal unit display screen width, now, uses the regulation that generally more difficult acquisition is less of finger displacement Scope, such as a length of 1 hour audio frequency when one section, finger, moving schedule bar 1 millimeter, corresponds approximately to 3 Minute audio frequency progress adjustment, if it is desired to accurately adjust 1 point of audio frequency progress of 48 seconds, be then difficulty with.
In order to solve the problems referred to above, reach the purpose precisely adjusted, present disclosure proposes another kind of embodiment, For the angle of technique effect, it is directed to the progress bar of a screen width, this progress bar can be carried out office Portion's extension display;For in terms of technological means, in the present embodiment, can in advance terminal unit be entered Row is following to be arranged: if the progress bar shown on terminal unit display screen suspends quilt during dragged Drag, or above-mentioned progress bar is dragged, then this progress bar is carried out local expansion displaying.
It is understood that user is dragging during progress bar, when drag to soon target progress point or When somewhat adjusting excessive, user would generally suspend drag operation, the most slowly drags progress bar or reversely returns Adjust progress bar.Additionally, the progress bar local expansion of media file is shown that also contributing to user adjusts accurately Whole progress bar.In view of this, can be extended showing to suspend the progress bar near position on progress bar.
Accordingly, as it is shown on figure 3, Fig. 3 is that the disclosure is according to shown in the Fig. 1 shown in an exemplary embodiment The flow chart of the another embodiment of step 102 in embodiment, is at progress bar at above-mentioned gesture operation Suspending during dragged in the case of dragging progress bar, above-mentioned steps 102 may include that
In step 301, and time-out position interval according to predetermined physical distance, determine the first of progress bar Intended display region, wherein, above-mentioned primary importance is positioned at above-mentioned first object display area.
It is understood that user is dragging during progress bar, when drag to soon target progress point or When somewhat adjusting excessive, user would generally suspend drag operation, the most slowly drags progress bar or reversely returns Adjust progress bar.Additionally, the progress bar local expansion of media file is shown that also contributing to user adjusts accurately Whole progress bar.In view of this, can be extended showing to suspend the progress bar near position on progress bar.
It should be noted that the predetermined physical distance interval in the present embodiment can be 4 millimeters, the most also Can be set according to the actual requirements, this is not limited by the present embodiment.
As a example by predetermined physical distance interval is 4 millimeters, in actual applications, can be left by suspending position Progress bar region in 4 millimeters of side is defined as first object display area, afterwards to entering in this region Degree bar is extended showing;Or the progress bar region suspended in 4 millimeters on the right side of position can be determined For first object display area, it is extended the progress bar in this region afterwards showing;Or can be by The progress bar region suspended in 4 millimeters on the right side of position is defined as first object display area, afterwards to this Progress bar in region is extended showing, is expanded by the progress bar suspended in the Y millimeter on the right side of position Exhibition is shown, wherein, and X+Y=4.
In step 302, according to presetting the first displaying ratio, in above-mentioned first object display area Progress bar is shown.
When user drags progress bar and after some position stays for some time, by entering near this position (now 1 millimeter represents 20 seconds, and 1 millimeter before extension is shown represents 6 minutes) is shown in degree bar extension, Now user left and right again drags and accurately regulates location.
As seen from the above-described embodiment, being directed to the progress bar of a screen width, this embodiment can be by this progress Bar local expansion to user-friendly size is shown, thus reaches to facilitate user precisely to adjust matchmaker The purpose of body file playing progress rate.
Additionally, make user can regulate the broadcasting of media file in more smooth dragging process accurately Progress, in the another kind of embodiment that the disclosure proposes, as shown in Figure 4, Fig. 4 is that the disclosure is shown according to one The flow chart of the another embodiment of step 102 in embodiment illustrated in fig. 1 shown in example embodiment, In the case of above-mentioned gesture operation is to drag progress bar, above-mentioned steps 102 may include that
In step 401, the dragging speed of drag operation is obtained.
In step 402, according to the corresponding relation that dragging speed is interval with physical distance, above-mentioned dragging is determined The physical distance interval that dynamic operation is corresponding, according to the position of this interval and above-mentioned drag operation, determines second Intended display region, wherein, above-mentioned primary importance is positioned at above-mentioned second intended display region.
According to the speed of drag operation, the present embodiment can determine that physical distance is interval, with satisfied difference User is for the demand of the length in the second intended display region.
In step 403, according to presetting the second displaying ratio, in above-mentioned second intended display region Progress bar is shown.
Due to determination method and methods of exhibiting about the second intended display region in the present embodiment, with Fig. 3 In illustrated embodiment, determination method and methods of exhibiting about first object display area are similar to, and difference only exists In participating in calculating and the parameter shown, therefore this is repeated no more by the present embodiment, detail as per shown in Fig. 3 Embodiment.
As seen from the above-described embodiment, this embodiment dynamically can extend during progress bar is dragged Show the progress bar near the position that progress bar is currently dragged to, thus reach user in more smoothness Dragging process can regulate the purpose of the playing progress rate of media file accurately.
In the another kind of embodiment that the disclosure proposes, this embodiment can be in reality arbitrary shown in Fig. 1~Fig. 4 On the basis of executing example, above-mentioned progress bar display packing can also comprise the following steps:
The first operation of user's input whether is received in preset duration being detected;
After not receiving the first operation of user's input in preset duration being detected, to give tacit consent to exhibition method The progress bar of described media file is shown.
If it is understood that terminal unit does not receives the first behaviour of user's input in one section of duration Make, then illustrate that this user is likely to finish to regulate operation for the progress of media file, at this point it is possible to The exhibition method of the progress bar of this media file is recovered to giving tacit consent to displaying.
Exemplary, it is assumed that terminal unit was not detected by what user inputted for media file in 40 seconds First operation, then recover the progress bar of this media file to giving tacit consent to displaying.
As seen from the above-described embodiment, this embodiment can terminate to regulate for the progress of media file user During operation, in time the exhibition method of the progress bar of this media file is recovered to giving tacit consent to displaying.
Although it should be noted that, describe the operation of the inventive method in the accompanying drawings with particular order, but, This does not requires that or implies and must according to this particular order to perform these operations, or have to carry out complete Operation shown in portion could realize desired result.On the contrary, the step described in flow chart can change to be held Row order.Additionally or alternatively, it is convenient to omit some step, multiple steps are merged into a step Perform, and/or a step is decomposed into the execution of multiple step.
Corresponding with the embodiment of aforementioned progress bar display packing, the disclosure additionally provides progress bar display device Embodiment.
As it is shown in figure 5, Fig. 5 is the disclosure shows dress according to a kind of progress bar shown in an exemplary embodiment The block diagram put, described device may include that
Receiver module 510, is configured to receive user and does for the progress bar of media file first position The first operation gone out;
First display module 520, is configured to show rule, to described media according to the progress bar preset File progress bar in the range of the first progress is shown, and wherein, described primary importance is positioned at described In the range of one progress.
As seen from the above-described embodiment, this embodiment can adjust automatically according to the operation made of user The presentation parameter of media file progress bar, adjusts progress bar the size operated to suitable user and is shown, Thus facilitate user both quickly can regulate the playing progress rate of media file the most accurately.
In the another kind of embodiment that the disclosure provides, this embodiment can be at the base of embodiment illustrated in fig. 5 On plinth, described first operation, can include following at least one:
Length presses progress bar, suspends and drags progress bar, drag progress bar during progress bar is dragged.
As shown in Figure 6, Fig. 6 is that the disclosure shows according to the another kind of progress bar shown in an exemplary embodiment The block diagram of showing device, described first operation is long by progress bar, and described first display module 520 is permissible Including:
Judge submodule 521, be configured to judge that whether the length of the progress bar of media file is higher than presetting Length;
First shows submodule 522, and it is yes for being configured in the described judged result judging submodule 521 In the case of, the progress bar of described media file is foreshortened to pre-set dimension and is shown.
Show as it is shown in fig. 7, Fig. 7 is the disclosure according to the another kind of progress bar shown in an exemplary embodiment The block diagram of showing device, described first operation is to suspend to drag progress bar, institute during progress bar is dragged State the first display module 520, may include that
First area determines submodule 523, is configured to interval according to predetermined physical distance and suspends position, Determining the first object display area of progress bar, wherein, described primary importance is positioned at described first object exhibition In showing region;
Second shows submodule 524, is configured to according to default first displaying ratio, to described firstth district Territory determines that the progress bar in the first object display area that submodule is determined is shown.
As shown in Figure 8, Fig. 8 is that the disclosure shows according to the another kind of progress bar shown in an exemplary embodiment The block diagram of showing device, described first operation is to drag progress bar, and described first display module 520 is permissible Including:
Speed obtains submodule 525, is configured to obtain the dragging speed of described drag operation;
Second area determines submodule 526, is configured to according to interval right of dragging speed and physical distance Should be related to, determine that physical distance corresponding to described drag operation is interval, according to determined by physical distance district Between and the position of described drag operation, determine the second intended display region, wherein, described primary importance position In described second intended display region;
3rd shows submodule 527, is configured to according to default second displaying ratio, to described secondth district Territory determines that the progress bar in the second intended display region that submodule is determined is shown.
Show as it is shown in figure 9, Fig. 9 is the disclosure according to the another kind of progress bar shown in an exemplary embodiment The block diagram of showing device, this embodiment can be on the basis of any embodiment shown in Fig. 5~Fig. 8, described dress Put and can also include:
Whether detection module 530, receive the first of user's input in being configured to preset duration be detected Operation;
Second display module 540, is configured to the feelings being yes in the testing result of described detection module 530 Under condition, the progress bar of described media file is shown giving tacit consent to exhibition method.
In said apparatus, the function of modules and the process that realizes of effect specifically refer in said method corresponding Step realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part ginseng See that the part of embodiment of the method illustrates.Device embodiment described above is only schematically, The wherein said unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole module of person realizes the purpose of disclosure scheme.Those of ordinary skill in the art are not paying creativeness In the case of work, i.e. it is appreciated that and implements.
Accordingly, the disclosure additionally provides a kind of progress bar display device, including: processor;For depositing The memorizer of storage processor executable;Wherein, described processor is configured to: receive user for The first operation that the progress bar of media file first position is made;Rule is shown according to default progress bar, Described media file progress bar in the range of the first progress is shown, wherein, described primary importance In the range of being positioned at described first progress.
As shown in Figure 10, Figure 10 be the disclosure according to the one shown in an exemplary embodiment for progress One structural representation of bar display device 1000.Such as, device 1000 can be mobile phone, calculates Machine, digital broadcast terminal, messaging devices, game console, tablet device, armarium, strong Body equipment, personal digital assistant, aircraft etc..
With reference to Figure 10, device 1000 can include following one or more assembly: processes assembly 1002, Memorizer 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, input/output (I/O) interface 1012, sensor cluster 1014, and communications component 1016.
Process assembly 1002 and generally control the integrated operation of device 1000, such as with display, call, The operation that data communication, camera operation and record operation are associated.Treatment element 1002 can include one Or multiple processor 1020 performs instruction, to complete all or part of step of above-mentioned method.Additionally, Process assembly 1002 and can include one or more module, it is simple to process assembly 1002 and other assemblies it Between mutual.Such as, processing component 1002 can include multi-media module, to facilitate multimedia groupware 1008 and process between assembly 1002 mutual.
Memorizer 1004 is configured to store various types of data to support the operation at equipment 1000. The example of these data includes any application program for operation on device 1000 or the instruction of method, Contact data, telephone book data, message, picture, video etc..Memorizer 1004 can be by any class The volatibility of type or non-volatile memory device or combinations thereof realize, such as static random access memory Device (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is only Reading memorizer (EPROM), programmable read only memory (PROM), read only memory (ROM), Magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1006 is device 1000 provide electric power.Electric power assembly 1006 can wrap Include power-supply management system, one or more power supplys, and other generate with for device 1000, manage and distribute The assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 1008 is included between device 1000 and user Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes that touch panel, screen may be implemented as touch screen, to receive the input from user Signal.Touch panel includes that one or more touch sensor touches with sensing, slides and on touch panel Gesture.Touch sensor can not only sense touch or the border of sliding action, but also detection is with tactile Touch or persistent period that slide is relevant and pressure.In certain embodiments, multimedia groupware 1008 Including a front-facing camera and/or post-positioned pick-up head.When equipment 1000 is in operator scheme, such as shooting When pattern or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside. Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and Optical zoom ability.
Audio-frequency assembly 1010 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1010 Including a mike (MIC), when device 1000 is in operator scheme, such as call model, record mould When formula and speech recognition mode, mike is configured to receive external audio signal.The audio frequency letter received Number can be further stored at memorizer 1004 or send via communications component 1016.Implement at some In example, audio-frequency assembly 1010 also includes a speaker, is used for exporting audio signal.
I/O interface 1012 is to process to provide interface between assembly 1002 and peripheral interface module, above-mentioned outside Enclosing interface module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: homepage Button, volume button, start button and locking press button.
Sensor cluster 1014 includes one or more sensor, for providing each side for device 1000 The state estimation in face.Such as, what sensor cluster 1014 can detect equipment 1000 beats opening/closing shape State, the relative localization of assembly, the most described assembly is display and the keypad of device 1000, sensor Assembly 1014 can also detect device 1000 or the position change of 1,000 1 assemblies of device, user and dress Put the presence or absence of 600 contacts, device 1000 orientation or acceleration/deceleration and the temperature of device 1000 Change.Sensor cluster 1014 can include proximity transducer, is configured to do not having any physics The existence of object near detection during contact.Sensor cluster 1014 can also include optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, should Sensor cluster 1014 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure Sensor or temperature sensor.
Communications component 1016 is configured to facilitate wired or wireless mode between device 1000 and other equipment Communication.Device 1000 can access wireless network based on communication standard, such as WiFi, 2G or 3G, Or combinations thereof.In one exemplary embodiment, communication component 1016 receives via broadcast channel From broadcast singal or the broadcast related information of external broadcasting management system.In one exemplary embodiment, Described communication component 1016 also includes near-field communication (NFC) module, to promote junction service.Such as, Can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, Ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), can compile Journey logical device (PLD), field programmable gate array (FPGA), controller, microcontroller, micro- Processor or other electronic components realize, and are used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage including instruction is additionally provided Medium, such as, include the memorizer 1004 of instruction, and above-mentioned instruction can be by the processor 1020 of device 1000 Perform to complete said method.Such as, described non-transitory computer-readable recording medium can be ROM, Random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to this Other embodiment disclosed.The application is intended to any modification, purposes or the adaptability of the disclosure Change, these modification, purposes or adaptations are followed the general principle of the disclosure and include these public affairs Open undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by Being considered as exemplary, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure be not limited to described above and illustrated in the accompanying drawings accurately Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by institute Attached claim limits.

Claims (13)

1. a progress bar display packing, it is characterised in that described method includes:
Receive the first operation that user makes for the progress bar of media file first position;
Rule is shown, to described media file progress in the range of the first progress according to default progress bar Bar is shown, wherein, in the range of described primary importance is positioned at described first progress.
Method the most according to claim 1, it is characterised in that described first operation, including under State at least one:
Length presses progress bar, suspends and drags progress bar, drag progress bar during progress bar is dragged.
Method the most according to claim 2, it is characterised in that described first operation is long pressing in Degree bar;
The progress bar that described basis is preset shows rule, to described media file in the range of the first progress Progress bar is shown, including:
Judge that whether the length of progress bar of media file is higher than preset length;
When judging the length of progress bar of described media file higher than preset length, by described media literary composition The progress bar of part foreshortens to pre-set dimension and is shown.
4. according to the method described in right 2, it is characterised in that described first operation is at progress bar quilt Dragging process suspends and drags progress bar;
The progress bar that described basis is preset shows rule, to described media file in the range of the first progress Progress bar is shown, including:
According to predetermined physical distance interval and time-out position, determine the first object display area of progress bar, Wherein, described primary importance is positioned at described first object display area;
According to presetting the first displaying ratio, the progress bar in described first object display area is shown.
Method the most according to claim 2, it is characterised in that described first operation be drag into Degree bar;
The progress bar that described basis is preset shows rule, to described media file in the range of the first progress Progress bar is shown, including:
Obtain the dragging speed of described drag operation;
According to the corresponding relation that dragging speed is interval with physical distance, determine the thing that described drag operation is corresponding Reason distance is interval;
Physical distance determined by according to is interval and the position of described drag operation, determines the second intended display Region, wherein, described primary importance is positioned at described second intended display region;
According to presetting the second displaying ratio, the progress bar in described second intended display region is shown.
Method the most according to claim 1, it is characterised in that described method also includes:
The first operation of user's input whether is received in preset duration being detected;
After not receiving the first operation of user's input in preset duration being detected, to give tacit consent to exhibition method The progress bar of described media file is shown.
7. a progress bar display device, it is characterised in that described device includes:
Receiver module, is configured to receive what user made for the progress bar of media file first position First operation;
First display module, is configured to show rule, to described media file according to the progress bar preset Progress bar in the range of the first progress is shown, and wherein, described primary importance is positioned at described first and enters In the range of degree.
Device the most according to claim 7, it is characterised in that described first operation, including under State at least one:
Length presses progress bar, suspends and drags progress bar, drag progress bar during progress bar is dragged.
Device the most according to claim 8, it is characterised in that described first operation is long pressing in Degree bar;
Described first display module, including:
Judge submodule, be configured to judge that whether the length of the progress bar of media file is higher than preset length;
First shows submodule, is configured in the case of the described judged result judging submodule is as being, The progress bar of described media file is foreshortened to pre-set dimension be shown.
Device the most according to claim 8, it is characterised in that described first operation is in progress Suspend during bar is dragged and drag progress bar;
Described first display module, including:
First area determines submodule, is configured to interval according to predetermined physical distance and suspends position, really Determining the first object display area of progress bar, wherein, described primary importance is positioned at described first object and shows In region;
Second shows submodule, is configured to according to default first displaying ratio, true to described first area Progress bar in the first object display area that stator modules is determined is shown.
11. devices according to claim 8, it is characterised in that described first operation be drag into Degree bar;
Described first display module, including:
Speed obtains submodule, is configured to obtain the dragging speed of described drag operation;
Second area determines submodule, is configured to the corresponding pass interval according to dragging speed and physical distance System, determines that physical distance corresponding to described drag operation is interval, according to determined by physical distance interval and The position of described drag operation, determines the second intended display region, and wherein, described primary importance is positioned at institute State in the second intended display region;
3rd shows submodule, is configured to according to default second displaying ratio, true to described second area Progress bar in the second intended display region that stator modules is determined is shown.
12. devices according to claim 7, it is characterised in that described device also includes:
Whether detection module, receive the first operation of user's input in being configured to preset duration be detected;
Second display module, be configured to the testing result at described detection module for being in the case of, with The progress bar of described media file is shown by acquiescence exhibition method.
13. 1 kinds of progress bar display devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive the first operation that user makes for the progress bar of media file first position;
Rule is shown, to described media file progress in the range of the first progress according to default progress bar Bar is shown, wherein, in the range of described primary importance is positioned at described first progress.
CN201610274283.8A 2016-04-27 2016-04-27 Progress bar display method and apparatus Pending CN105975178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610274283.8A CN105975178A (en) 2016-04-27 2016-04-27 Progress bar display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610274283.8A CN105975178A (en) 2016-04-27 2016-04-27 Progress bar display method and apparatus

Publications (1)

Publication Number Publication Date
CN105975178A true CN105975178A (en) 2016-09-28

Family

ID=56993766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610274283.8A Pending CN105975178A (en) 2016-04-27 2016-04-27 Progress bar display method and apparatus

Country Status (1)

Country Link
CN (1) CN105975178A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067973A (en) * 2018-06-27 2018-12-21 维沃移动通信有限公司 A kind of voice messaging playback method and mobile terminal
CN109618234A (en) * 2018-12-19 2019-04-12 惠州Tcl移动通信有限公司 Video playing control method, device, mobile terminal and storage medium
CN110011884A (en) * 2019-04-01 2019-07-12 宁波奥克斯电气股份有限公司 A kind of distribution progress display methods, device and air conditioner
CN111277903A (en) * 2018-12-05 2020-06-12 阿里巴巴集团控股有限公司 Multimedia resource playing method and device and storage medium
CN112399259A (en) * 2019-08-19 2021-02-23 上海哔哩哔哩科技有限公司 Progress bar control method of player
CN112764627A (en) * 2021-01-28 2021-05-07 青岛海信传媒网络技术有限公司 Upgrade package installation progress display method and display device
CN113608816A (en) * 2021-08-18 2021-11-05 北京字跳网络技术有限公司 Progress adjusting method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199611A (en) * 2014-08-29 2014-12-10 广东欧珀移动通信有限公司 Method and device for adjusting playing progress through mobile terminal
CN104881225A (en) * 2015-05-18 2015-09-02 百度在线网络技术(北京)有限公司 Control method and device for adjusting bar
CN105472469A (en) * 2015-12-08 2016-04-06 小米科技有限责任公司 Video playing progress adjusting method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199611A (en) * 2014-08-29 2014-12-10 广东欧珀移动通信有限公司 Method and device for adjusting playing progress through mobile terminal
CN104881225A (en) * 2015-05-18 2015-09-02 百度在线网络技术(北京)有限公司 Control method and device for adjusting bar
CN105472469A (en) * 2015-12-08 2016-04-06 小米科技有限责任公司 Video playing progress adjusting method and apparatus

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067973A (en) * 2018-06-27 2018-12-21 维沃移动通信有限公司 A kind of voice messaging playback method and mobile terminal
CN111277903A (en) * 2018-12-05 2020-06-12 阿里巴巴集团控股有限公司 Multimedia resource playing method and device and storage medium
CN109618234A (en) * 2018-12-19 2019-04-12 惠州Tcl移动通信有限公司 Video playing control method, device, mobile terminal and storage medium
CN110011884A (en) * 2019-04-01 2019-07-12 宁波奥克斯电气股份有限公司 A kind of distribution progress display methods, device and air conditioner
CN112399259A (en) * 2019-08-19 2021-02-23 上海哔哩哔哩科技有限公司 Progress bar control method of player
CN112399259B (en) * 2019-08-19 2023-05-02 上海哔哩哔哩科技有限公司 Progress bar control method of player
CN112764627A (en) * 2021-01-28 2021-05-07 青岛海信传媒网络技术有限公司 Upgrade package installation progress display method and display device
CN112764627B (en) * 2021-01-28 2022-08-26 青岛海信传媒网络技术有限公司 Upgrade package installation progress display method and display device
CN113608816A (en) * 2021-08-18 2021-11-05 北京字跳网络技术有限公司 Progress adjusting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105975178A (en) Progress bar display method and apparatus
WO2021135655A1 (en) Method and device for generating multimedia resources
CN105975166B (en) Application control method and device
CN105955607A (en) Content sharing method and apparatus
CN106371688A (en) Full-screen single-hand operation method and apparatus
CN104850329A (en) Method and device for adjusting parameters
CN104063123A (en) Icon displaying method and device
CN104281432A (en) Method and device for regulating sound effect
CN104199598A (en) Menu display method and device
CN105955579A (en) Music playing control method and device
CN107124508A (en) Location regulation method, device and the terminal of suspension control, readable storage medium storing program for executing
CN105288941A (en) Treadmill speed regulating method and device
EP3239827B1 (en) Method and apparatus for adjusting playing progress of media file
CN105487749A (en) Application icon organizing method and device
CN103885691A (en) Method and device for executing backspacing operation
CN105487805A (en) Object operating method and device
CN105912258A (en) Method and device for operation processing
CN107315792A (en) Method for updating pages, device, electronic equipment and computer-readable recording medium
CN105224171A (en) icon display method, device and terminal
CN104536669B (en) Information displaying method and device
CN104461283A (en) Network view screen shooting method and device and electronic device
CN105607817A (en) Parameter adjustment method and apparatus
CN106503131A (en) Obtain the method and device of interest information
CN105979465A (en) Method and device for determining maximum output power value of earphone equipment
CN107656694A (en) The display control method and device of user interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160928

RJ01 Rejection of invention patent application after publication