CN110209330A - A kind of control method of progress bar, terminal and computer storage medium - Google Patents
A kind of control method of progress bar, terminal and computer storage medium Download PDFInfo
- Publication number
- CN110209330A CN110209330A CN201910453078.1A CN201910453078A CN110209330A CN 110209330 A CN110209330 A CN 110209330A CN 201910453078 A CN201910453078 A CN 201910453078A CN 110209330 A CN110209330 A CN 110209330A
- Authority
- CN
- China
- Prior art keywords
- progress bar
- sub
- mode
- progress
- amplification
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0485—Scrolling or panning
- G06F3/04855—Interaction with scrollbars
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of control method of progress bar, this method is applied in a terminal, this method comprises: on the display interface of terminal, the mode of sub- progress bar in the progress bar for showing object is switched into amplification mode by normal mode, wherein, sub- progress bar is to carry out being segmented obtained every section of progress bar according to preset number to progress bar;Normal mode is the mode that the progress bar after being segmented progress bar according to preset number is shown;Amplification mode is to be segmented to obtain the mode that sub- progress bar is shown according to preset number for sub- progress bar.The embodiment of the present application also provides a kind of terminal and computer storage medium simultaneously.
Description
Technical field
This application involves the control technology of progress bar more particularly to a kind of control methods of progress bar, terminal and computer
Storage medium.
Background technique
Currently, people watch video commonly using electronic equipment, news and books etc. are read, what is watched or read
In the process, due to the length of the duration of video and reading content, the progress bar that can be shown viewing on a display screen or read leads to
Progress bar is crossed, user can not only grasp the progress of display content, can also select aobvious on display screen by controlling progress bar
Show content.
However, existing progress bar be all it is ready-portioned in advance according to the capacity of complete content, by taking video as an example for, when
When the duration of video is longer, dividing to the duration of complete video can be relatively rough, when the duration of video is shorter, to complete video
Duration can be relatively fine to divide, it can thus be seen that be directed to the display object of different capabilities, the division of progress bar exist than
Rougher technical problem causes terminal in the control instruction for receiving progress bar, can not accurately control progress bar.
Summary of the invention
The embodiment of the present application provides the control method, terminal and computer storage medium of a kind of progress bar, can be accurately
Control progress bar.
The technical solution of the application is achieved in that
The embodiment of the present application provides a kind of control method of progress bar, and the method is applied in a terminal, the side
Method includes:
On the display interface of the terminal, the mode of the sub- progress in the progress bar for showing object is cut by normal mode
Shift to amplification mode;
Wherein, the sub- progress bar is to carry out being segmented obtained every section of progress according to preset number to the progress bar
Item;The normal mode is the mode that the progress bar after being segmented the progress bar according to preset number is shown;Institute
Stating amplification mode is to be segmented to obtain the mode that sub- progress bar is shown according to preset number for the sub- progress bar.
In the above-mentioned methods, the mode by the sub- progress in the progress bar for showing object is switched to by normal mode puts
Large model, comprising:
Receive the first touch operation to the sub- progress bar;
When first touch operation is preset touch operation, by the mode of the sub- progress bar by the normal mode
Formula switches to the amplification mode.
In the above-mentioned methods, described when first touch operation is preset touch operation, by the sub- progress bar
Mode the amplification mode is switched to by the normal mode, comprising:
When first touch operation for by starting point from the current location of progress bar point to the progress bar and/or institute
The terminal sliding of progress bar is stated, and when generated sliding trace is within the scope of the sub- progress bar, by the sub- progress
The mode of item switches to the amplification mode by the normal mode.
In the above-mentioned methods, described when first touch operation is preset touch operation, by the sub- progress bar
Pattern switching to amplification mode, comprising:
When first touch operation for by starting point from the current location of progress bar point to the progress bar and/or institute
The terminal sliding of progress bar is stated, and generated sliding trace is within the scope of the sub- progress bar, and described first touches
When the operation duration of operation is equal to preset duration, the mode of the sub- progress bar is switched into the amplification by the normal mode
Mode.
In the above-mentioned methods, the mode of the sub- progress in the progress bar that will show object switches to amplification by normal mode
After mode, the method also includes:
When the first touch operation end operation, the mode of the sub- progress bar is switched to by the amplification mode
The normal mode.
In the above-mentioned methods, described when first touch operation is preset touch operation, by the sub- progress bar
Mode amplification mode is switched to by normal mode, comprising:
When first touch operation is the long press operation to the current location point of the progress bar, by the sub- progress
The mode of item switches to the amplification mode by the normal mode.
In the above-mentioned methods, the mode by the sub- progress in the progress bar for showing object is switched to by normal mode puts
Large model, comprising:
It is segmented the sub- progress bar to obtain sub- progress bar according to preset number;
Sub- progress bar is obtained according to segmentation, generates the display parameters of the sub- progress bar under the amplification mode;
By the display parameters of progress bar described in display area where progress bar described on the display interface, it is updated to institute
The display parameters of the sub- progress bar of amplification mode are stated, so that on the display interface where the progress bar in display area
Show the sub- progress bar.
In the above-mentioned methods, after the pattern switching to amplification mode of the sub- progress in the progress bar that will show object,
Include:
Receive the second touch operation to the sub- progress bar of the amplification mode;
When the long press operation for the current location point that second touch operation is the sub- progress bar, by the sub- progress
The mode of item switches to the normal mode by the amplification mode.
The embodiment of the present application provides a kind of terminal, and the terminal includes:
Display module, for the display interface in the terminal, by the mould of the sub- progress in the progress bar for showing object
Formula switches to amplification mode by normal mode;
Wherein, the sub- progress bar is to carry out being segmented obtained every section of progress according to preset number to the progress bar
Item;The normal mode is the mode that the progress bar after being segmented the progress bar according to preset number is shown;Institute
Stating amplification mode is to be segmented to obtain the mode that sub- progress bar is shown according to preset number for the sub- progress bar.
In above-mentioned terminal, the display module is specifically used for:
Receive the first touch operation to the sub- progress bar;
When first touch operation is preset touch operation, by the mode of the sub- progress bar by the normal mode
Formula switches to the amplification mode.
In above-mentioned terminal, when first touch operation is preset touch operation, the display module will be described
The mode of sub- progress bar is switched in the amplification mode by the normal mode, comprising:
When first touch operation for by starting point from the current location of progress bar point to the progress bar and/or institute
The terminal sliding of progress bar is stated, and when generated sliding trace is within the scope of the sub- progress bar, by the sub- progress
The mode of item switches to the amplification mode by the normal mode.
In above-mentioned terminal, when first touch operation is preset touch operation, the display module will be described
The mode of sub- progress bar is switched in the amplification mode by the normal mode, comprising:
When first touch operation for by starting point from the current location of progress bar point to the progress bar and/or institute
The terminal sliding of progress bar is stated, and generated sliding trace is within the scope of the sub- progress bar, and described first touches
When the operation duration of operation is equal to preset duration, the mode of the sub- progress bar is switched into the amplification by the normal mode
Mode.
In above-mentioned terminal, the display module is also used to:
After the mode of sub- progress in the progress bar that will show object switches to amplification mode by normal mode, work as institute
When stating the first touch operation end operation, the mode of the sub- progress bar is switched into the normal mode by the amplification mode
Formula.
In above-mentioned terminal, when first touch operation is preset touch operation, the display module will be described
The mode of sub- progress bar is switched in the amplification mode by the normal mode, comprising:
When first touch operation is the long press operation to the current location point of the progress bar, by the sub- progress
The mode of item switches to the amplification mode by the normal mode.
In above-mentioned terminal, the display module is specifically used for:
It is segmented the sub- progress bar to obtain sub- progress bar according to preset number;
Sub- progress bar is obtained according to segmentation, generates the display parameters of the sub- progress bar under the amplification mode;
By the display parameters of progress bar described in display area where progress bar described on the display interface, it is updated to institute
The display parameters of the sub- progress bar of amplification mode are stated, so that on the display interface where the progress bar in display area
Show the sub- progress bar.
In above-mentioned terminal, the display module is also used to:
After the pattern switching to amplification mode of sub- progress in the progress bar that will show object, receives and put to described
Second touch operation of the sub- progress bar of large model;
When the long press operation for the current location point that second touch operation is the sub- progress bar, by the sub- progress
The mode of item switches to the normal mode by the amplification mode.
The embodiment of the present application also provides a kind of terminal, the terminal includes: processor and is stored with the processor
The storage medium of executable instruction, the storage medium relies on the processor by communication bus and executes operation, when the finger
When enabling by processor execution, the control method of progress bar described in said one or multiple embodiments is executed.
The embodiment of the present application provides a kind of computer storage medium, is stored with executable instruction, when the executable finger
When order is executed by one or more processors, the processor executes progress bar described in said one or multiple embodiments
Control method.
The embodiment of the present application provides the control method, terminal and computer storage medium of a kind of progress bar, and this method is answered
For in a terminal, this method comprises: on the display interface of terminal, by the mould of the sub- progress bar in the progress bar for showing object
Formula switches to amplification mode by normal mode, wherein sub- progress bar is obtained by being segmented to progress bar according to preset number
Every section of progress bar, normal mode is the mode that the progress bar after being segmented progress bar according to preset number is shown;
Amplification mode is to be segmented to obtain the mode that sub- progress bar is shown according to preset number for sub- progress bar;That is,
In the embodiment of the present application, when display interface show progress bar when, terminal can will be segmented according to preset number after into
The mode that is shown of degree item, sub- progress after switching to the segmentation being segmented according to preset number to sub- progress bar into
The mode of row display so, it is possible further to refine the division to progress bar, progress bar be accurately controlled, to meet use
The demand at family improves the Experience Degree of user.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the control method of progress bar provided by the embodiments of the present application;
Fig. 2 is the arrangement schematic diagram of traditional progress bar;
Fig. 3 is a kind of arrangement schematic diagram of the amplification mode of optional sub- progress bar provided by the embodiments of the present application;
Fig. 4 is the arrangement signal of a kind of optional progress bar provided by the embodiments of the present application and sub- progress bar pattern switching
Figure;
Fig. 5 is the arrangement signal that a kind of optional normal mode and amplification mode provided by the embodiments of the present application switch over
Figure;
Fig. 6 is a kind of structural schematic diagram one of terminal provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram two of terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description.
Embodiment one
The embodiment of the present application provides a kind of control method of progress bar, and this method is applied in a terminal, and Fig. 1 is this Shen
Please embodiment provide a kind of optional progress bar control method flow diagram, refering to what is shown in Fig. 1, the control of the progress bar
Method processed may include:
S101: on the display interface of terminal, by the mode of the sub- progress in the progress bar for showing object by normal mode
Switch to amplification mode;
In the terminal, the mobile phone application (APP, Application) that video playback class can be used in user plays video,
The APP that class can be read by novel reads novel etc., in general, APP when playing video, will come according to the duration of video
The progress bar of video is set, and when showing novel also progress will be arranged according to text number shown by novel or number of pages in APP
Item.
Fig. 2 is the arrangement schematic diagram of traditional progress bar, as shown in Fig. 2, display object can be video, it is at this time transverse screen
Display pattern, it is assumed that the when a length of T of video, then, progress bar can be divided into 11 cross-talk progress bars, and progress bar is divided into
11 sub- progress bars, wherein the when a length of T/11 of every sub- progress bar, progress bar is other than including 11 sub- progress bars, also
Starting point including progress bar, the terminal of progress bar and the current location point of progress bar.
Currently, when starting to play video, progress bar can show the progress of video playing with current location point, when needs fall
When moving back video, the starting point of progress bar can be clicked, is clicked once, progress bar is fallen back to the sub- progress bar where the point of current location
Starting point, then click once, progress bar is fallen back to the starting point of a upper sub- progress bar for current location point, can also be by current location
It puts towards the direction of the starting point of progress bar, is dragged to target position, still, since the division of progress bar is limited, leads to sub- progress
The limited amount of item, at a certain position that user needs for current location point to be dragged to certain sub- progress bar, existing progress
Item, which cannot achieve, accurately to be controlled.
Similarly, when showing object is novel, show the novel of current page in the display interface, user by into
The page turn over operation of item is spent to read novel, and when the content of every page novel is more, user cannot be to the progress of every page novel
It is controlled, is unfavorable for user and reads novel.
In order to realize the accurate control to progress bar, in the embodiment of the present application, shown on the display interface of terminal aobvious
When showing object, the mode of the sub- progress bar for the progress bar for showing object is switched into amplification mode by normal mode.
Wherein, sub- progress bar is to carry out being segmented obtained every section of progress bar according to preset number to progress bar;Normal mode
Formula is the mode that the progress bar after being segmented progress bar according to preset number is shown;Amplification mode is by sub- progress bar
It is segmented to obtain the mode that sub- progress bar is shown according to preset number.
That is, in the embodiment of the present application, to show that the sub- progress bar of progress bar of object is provided with normal mode
And amplification mode, for normal mode as shown in Fig. 2, for by taking sub- progress bar 7 as an example, sub- progress bar 7 is a part of progress bar, with
The mode that other sub- progress bars are shown together is the normal mode of sub- progress bar 7.
Fig. 3 is a kind of arrangement schematic diagram of the amplification mode of optional sub- progress bar provided by the embodiments of the present application, such as Fig. 3
Shown, it is 11 sections that sub- progress bar 7, which divides, is indicated respectively with 71,72,73,74,75,76,77,78,79,710 and 711, Mei Yiduan
When a length of T/121.
In practical applications, user clicks the starting point of a second son progress bar 7, when current location point is in 75, current location
Point is moved to 75 starting point, and user clicks the starting point of a second son progress bar 7 again, and current location o'clock is moved by 75 starting point to 74
Starting point.
When the mode of group progress bar 7 is in amplification mode, due to being divided again to sub- progress bar 7 so that son into
The segmentation for spending item 7 is finer, in this way, being conducive to control of the user to the corresponding video length of sub- progress bar 7.
In order to which the mode of sub- progress bar is switched to amplification mode by normal mode, in an alternative embodiment,
S101 may include:
Receive the first touch operation to sub- progress bar;
When the first touch operation is preset touch operation, the mode of sub- progress bar is switched into amplification by normal mode
Mode.
Here, firstly, receiving the first touch operation to sub- progress bar, then by the first touch operation and preset touching
It touches operation to be compared, when the first touch operation is preset touch operation, just by the mode of sub- progress bar by normal mode
Switch to amplification mode, when the first touch operation is not preset touch operation, do not execute by the mode of sub- progress bar by
Normal mode switches to amplification mode.
It, can be by the mode of sub- progress bar between normal mode and amplification mode by the preset touch operation of setting
It switches over, in this way, sub- progress bar can be switched to amplification mould when user needs to finely control certain section of video
Otherwise sub- progress bar can be switched to normal mode by formula, in this manner it is achieved that the accurate control to video progress.
In addition, it is necessary to explanation, above-mentioned preset touch operation can be slide, long press operation, clicking operation
Etc., here, the embodiment of the present application is not especially limited.
In order to further realize that the mode by sub- progress bar switches to amplification mode by normal mode, a kind of optional
In embodiment, when the first touch operation is preset touch operation, the mode of sub- progress bar is switched to by normal mode and is put
Large model may include:
When the first touch operation is that the current location point of progress bar is sliding to the starting point of progress bar and/or the terminal of progress bar
It is dynamic, and when generated sliding trace is within the scope of sub- progress bar, the mode of sub- progress bar is switched to by normal mode
Amplification mode.
Specifically, in Fig. 2, when user by current location point towards the starting point of progress bar and/or the terminal of progress bar
When sliding, and, the distance slided to the left or to the right all within the scope of sub- progress bar 75 when, at this time, it is believed that user need
Display object is searched in sub- progress bar 75, is accurately controlled progress in sub- progress bar 75 for the ease of user, is found aobvious
Show object, the mode of sub- progress bar 75 is switched to by the normal mode in Fig. 2 to the amplification mode in Fig. 3.
In this way, being convenient for accurate control of the user to sub- progress bar 75.
In order to further quickly realize that the mode by sub- progress bar switches to amplification mode by normal mode, in one kind
In optional embodiment, when the first touch operation is preset touch operation, by the pattern switching of sub- progress bar to amplifying mould
Formula may include:
When the first touch operation is that the current location point of progress bar is sliding to the starting point of progress bar and/or the terminal of progress bar
It is dynamic, and generated sliding trace is within the scope of sub- progress bar, and when the operation duration of the first touch operation is equal to default
When long, the mode of sub- progress bar is switched into amplification mode by normal mode.
Specifically, in Fig. 2, when user by current location point towards the starting point of progress bar and/or the terminal of progress bar
When sliding, and, the distance slided to the left or to the right is all within the scope of sub- progress bar 75, also, the sliding duration is equal to
When preset duration, at this time, it is believed that user needs to search display object in sub- progress bar 75, for the ease of user in sub- progress bar
Progress is accurately controlled in 75, and the mode of sub- progress bar 75 is switched to by the normal mode in Fig. 2 to the amplification mode in Fig. 3.
In this way, being convenient for accurate control of the user to sub- progress bar 75.
Here it is to be noted that it group progress bar switches to after amplification mode, the first touch operation may not tied also
Beam, it is also possible to be over, here, the embodiment of the present application is not especially limited.
Group progress bar switches to after amplification mode, when the first touch operation may also be not finished, a kind of optional
In embodiment, after S101, this method can also include:
When the first touch operation end operation, the mode of sub- progress bar is switched into normal mode by amplification mode.
That is, when the first touch operation is by starting point from the current location point of progress bar to progress bar and/or progress
The terminal of item slides, and generated sliding trace is within the scope of sub- progress bar, and the operation duration of the first touch operation
When equal to preset duration, the mode of sub- progress bar is switched into amplification mode by normal mode, at this point, the first touch operation is also not
Terminate, under the amplification mode of sub- progress bar, user can continue the first touch operation, until terminating first touches behaviour
Make, when receiving the end operation to the first touch operation, it is believed that user has completed the accurate control to sub- progress bar, institute
The mode of sub- progress bar is switched to normal mode by amplification mode again.
Other than switching the mode of sub- progress bar above by horizontally slipping, in an alternative embodiment, when
When first touch operation is preset touch operation, the mode of sub- progress bar is switched into amplification mode by normal mode, it can be with
Include:
When the first touch operation is the long press operation to the current location point of progress bar, by the mode of sub- progress bar by just
Norm formula switches to amplification mode.
That is, user can be with long-pressing present bit when user needs the pattern switching of sub- progress bar to amplification mode
It sets a little, the mode of sub- progress bar is switched into amplification mode by normal mode to realize.
Under amplification mode, the sub- progress bar that segmentation obtains can be shown to the upper area or lower zone in progress bar
Domain can also show the sub- progress bar that segmentation obtains in the display area of progress bar, to cover progress bar, here, the application
Embodiment is not especially limited the display mode of sub- progress bar.
In order to preferably show the sub- progress bar under amplification mode, in an alternative embodiment, S101 be can wrap
It includes:
Sub- progress bar is segmented to obtain sub- progress bar according to preset number;
According to the sub- progress bar that segmentation obtains, the display parameters of the sub- progress bar under amplification mode are generated;
By on display interface in display area where progress bar progress bar display parameters, be updated to the son of amplification mode into
The display parameters of item are spent, so that showing sub- progress bar in display area where progress bar in the display interface.
It specifically, can be first according to segmentation in order to which the mode of sub- progress bar is switched to amplification mode by normal mode
Obtained sub- progress bar, generates the display parameters of sub- progress bar, then by display interface in display area where progress bar into
The display parameters of degree item are updated to the display parameters of the sub- progress bar of amplification mode, in this way, the display of original progress bar is joined
Number is replaced with the display parameters of progress bar under amplification mode, is obtained so that covering display segment on the display area of progress bar
Sub- progress bar.
In order to which the mode of sub- progress bar is switched to normal mode by amplification mode, in an alternative embodiment,
After S101, this method can also include:
Receive the second touch operation to the sub- progress bar of amplification mode;
When the long press operation for the current location point that the second touch operation is sub- progress bar, by the mode of sub- progress bar by putting
Large model switches to normal mode.
That is, when the first touch operation is by starting point from the current location point of progress bar to progress bar and/or progress
The terminal of item slides, and generated sliding trace is within the scope of sub- progress bar, and the operation duration of the first touch operation
When equal to preset duration, the mode of sub- progress bar is switched into amplification mode by normal mode, at this point, if the first touch operation
Through terminating, under the amplification mode of sub- progress bar, user can carry out touch operation with antithetical phrase progress bar, to control amplification mode elder generation
Sub- progress bar, until completing the operation to the sub- progress bar of amplification mode elder generation.
Complete to the operation of the sub- progress bar of amplification mode elder generation after, in order to by the mode of sub- progress bar by amplification mode
Normal mode is switched to, user can issue the second touch operation, when the present bit that the second touch operation is the sub- progress bar of long-pressing
When setting, it is believed that user has completed the accurate control to sub- progress bar, so, by the mode of sub- progress bar again by amplification mode
Switch to normal mode.
It is given an actual example below to be illustrated to the control method of the progress bar in said one or multiple embodiments.
Fig. 4 is the arrangement signal of a kind of optional progress bar provided by the embodiments of the present application and sub- progress bar pattern switching
Figure, as shown in figure 4, when showing object is 1000 minutes videos, video when it is 1000 minutes a length of, progress bar is divided into 10
Section, each section of progress are 100 minutes, and progress bar includes 0-100 minutes sub- progress bars, 100-200 minutes sub- progress bars,
200-300 minutes sub- progress bars, 300-400 minutes sub- progress bars, 400-500 minutes sub- progress bars, 500-600 minutes
Sub- progress bar, 600-700 minutes sub- progress bars, 700-800 minutes sub- progress bars, 800-900 minutes sub- progress bars
With 900-1000 minutes sub- progress bars.
In order to precisely control sub- progress bar, to more precisely control the playback progress of video, user's dragging is current
When location point horizontally slips within 500-600 minutes sub- progress bars, terminal switches to 500-600 minutes sub- progress bars
Amplification mode, can also be user's long-pressing current location point, and 500-600 minutes sub- progress bars are switched to amplification mould by terminal
Formula.
For example, amplification mode can be current location point institute when between the sub- progress bar that current location point is 500-600 minutes
500-600 minute sub- progress bar, by that can slide 10 times, i.e. precision can become 10, it can accurately select 500-
510 minutes, 510-520 minutes, 520-530 minutes, 530-540 minutes, 540-550 minutes, 550-560 minutes, 560-570 points
Clock, 570-580 minutes, 580-590 minutes and 590-600 minutes etc..
As shown in figure 4, when group progress bar is in amplification mode, the current location point of the sub- progress bar of user's long-pressing, terminal
The amplification mode of sub- progress bar is switched into normal mode.
So as to realize sub- progress bar normal mode and amplification mode switching.
Fig. 5 is the arrangement signal that a kind of optional normal mode and amplification mode provided by the embodiments of the present application switch over
Figure, as shown in figure 5, sub- progress bar can switch to amplification mode from normal mode, it can also be on the basis of amplification mode again
It amplifies, the function of further side is realized, for example, as shown in figure 4,550-560 minutes sub- progress bars can be carried out again
Further precision divides, and 550-560 minutes sub- progress bars are divided into 551-552 minutes, 552-553 minutes, 553-554 points
Clock, 555-556 minutes, 556-557 minutes, 557-558 minutes, 558-559 minutes and 559-510 minutes, then realization pair
Further fine division in 550-560 minutes.
The embodiment of the present application provides a kind of control method of progress bar, and this method is applied in a terminal, this method packet
It includes: on the display interface of terminal, the mode of the sub- progress bar in the progress bar for showing object being switched to by normal mode and is put
Large model, wherein sub- progress bar is to carry out being segmented obtained every section of progress bar, normal mode according to preset number to progress bar
The mode shown for the progress bar after being segmented progress bar according to preset number;Amplification mode is to press sub- progress bar
It is segmented to obtain the mode that sub- progress bar is shown according to preset number;That is, in the embodiment of the present application, working as display
When interface display progress bar, the mode that terminal can show the progress bar after being segmented according to preset number, switching
The mode that sub- progress after to the segmentation being segmented according to preset number to sub- progress bar is shown, so, it is possible
Division of the further refinement to progress bar, accurately controls progress bar, to meet the needs of users, improves the body of user
Degree of testing.
Embodiment two
Fig. 6 is a kind of structural schematic diagram one of terminal provided by the embodiments of the present application, as shown in fig. 6, the embodiment of the present application
A kind of terminal is provided, which can also include:
Display module 61, for the display interface in terminal, by the mode of the sub- progress in the progress bar for showing object
Amplification mode is switched to by normal mode;
Wherein, sub- progress bar is to carry out being segmented obtained every section of progress bar according to preset number to progress bar;Normal mode
Formula is the mode that the progress bar after being segmented progress bar according to preset number is shown;Amplification mode is by sub- progress bar
It is segmented to obtain the mode that sub- progress bar is shown according to preset number.
Optionally, display module 61 are specifically used for:
Receive the first touch operation to sub- progress bar;
When the first touch operation is preset touch operation, the mode of sub- progress bar is switched into amplification by normal mode
Mode.
Optionally, display module 61 when the first touch operation be preset touch operation when, by the mode of sub- progress bar by
Normal mode switches in amplification mode, may include:
When the first touch operation is that the current location point of progress bar is sliding to the starting point of progress bar and/or the terminal of progress bar
It is dynamic, and when generated sliding trace is within the scope of sub- progress bar, the mode of sub- progress bar is switched to by normal mode
Amplification mode.
Optionally, display module 61 when the first touch operation be preset touch operation when, by the mode of sub- progress bar by
Normal mode switches in amplification mode, may include:
When the first touch operation is that the current location point of progress bar is sliding to the starting point of progress bar and/or the terminal of progress bar
It is dynamic, and generated sliding trace is within the scope of sub- progress bar, and when the operation duration of the first touch operation is equal to default
When long, the mode of sub- progress bar is switched into amplification mode by normal mode.
Optionally, display module 61 are also used to:
After the mode of sub- progress in the progress bar that will show object switches to amplification mode by normal mode, when
When one touch operation end operation, the mode of sub- progress bar is switched into normal mode by amplification mode.
Optionally, display module 61 when the first touch operation be preset touch operation when, by the mode of sub- progress bar by
Normal mode switches in amplification mode, may include:
When the first touch operation is the long press operation to the current location point of progress bar, by the mode of sub- progress bar by just
Norm formula switches to amplification mode.
Optionally, display module 61 are specifically used for:
Sub- progress bar is segmented to obtain sub- progress bar according to preset number;
Sub- progress bar is obtained according to segmentation, generates the display parameters of the sub- progress bar under amplification mode;
By on display interface in display area where progress bar progress bar display parameters, be updated to the son of amplification mode into
The display parameters of item are spent, so that showing sub- progress bar in display area where progress bar in the display interface.
Optionally, display module 61 are also used to:
After the pattern switching to amplification mode of sub- progress in the progress bar that will show object, receive to amplification mould
Second touch operation of the sub- progress bar of formula;
When the long press operation for the current location point that the second touch operation is sub- progress bar, by the mode of sub- progress bar by putting
Large model switches to normal mode.
In practical applications, above-mentioned display module 61 can be realized by the processor being located in terminal, specially central processing
Device (CPU, Central Processing Unit), microprocessor (MPU, Microprocessor Unit), at digital signal
Manage device (DSP, Digital Signal Processing) or field programmable gate array (FPGA, Field Programmable
Gate Array) etc. realize.
Fig. 7 is a kind of structural schematic diagram two of terminal provided by the embodiments of the present application, as shown in fig. 7, the embodiment of the present application
Provide a kind of terminal 700, comprising:
Processor 71 and the storage medium 72 for being stored with 71 executable instruction of processor, the storage medium 72 are logical
It crosses communication bus 73 and relies on the processor 71 and execute operation, when described instruction is executed by the processor 71, execute above-mentioned
The control method of progress bar described in embodiment one.
It should be noted that the various components in terminal are coupled by communication bus 73 when practical application.It can manage
Solution, communication bus 73 is for realizing the connection communication between these components.Communication bus 73 also wraps in addition to including data/address bus
Include power bus, control bus and status signal bus in addition.But for the sake of clear explanation, various buses are all marked in Fig. 7
For communication bus 73.
The embodiment of the present application provides a kind of computer storage medium, is stored with executable instruction, when the executable finger
When order is executed by one or more processors, the processor executes the control method of progress bar described in embodiment one.
Wherein, computer readable storage medium can be magnetic RAM (ferromagnetic random
Access memory, FRAM), read-only memory (Read Only Memory, ROM), programmable read only memory
(Programmable Read-Only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable
Programmable Read-Only Memory, EPROM), electrically erasable programmable read-only memory (Electrically
Erasable Programmable Read-Only Memory, EEPROM), flash memory (Flash Memory), magnetic table
The memories such as face memory, CD or CD-ROM (Compact Disc Read-Only Memory, CD-ROM).
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the application
Formula.Moreover, the application, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The above, the only preferred embodiment of the application, are not intended to limit the protection scope of the application.
Claims (11)
1. a kind of control method of progress bar, which is characterized in that the method is applied in a terminal, which comprises
On the display interface of the terminal, the mode of the sub- progress in the progress bar for showing object is switched to by normal mode
Amplification mode;
Wherein, the sub- progress bar is to carry out being segmented obtained every section of progress bar according to preset number to the progress bar;Institute
Stating normal mode is the mode that the progress bar after being segmented the progress bar according to preset number is shown;The amplification
Mode is to be segmented to obtain the mode that sub- progress bar is shown according to preset number for the sub- progress bar.
2. the method according to claim 1, wherein the mould by the sub- progress in the progress bar for showing object
Formula switches to amplification mode by normal mode, comprising:
Receive the first touch operation to the sub- progress bar;
When first touch operation is preset touch operation, the mode of the sub- progress bar is cut by the normal mode
Shift to the amplification mode.
3. according to the method described in claim 2, it is characterized in that, described when first touch operation is preset touch behaviour
When making, the mode of the sub- progress bar is switched into the amplification mode by the normal mode, comprising:
When first touch operation be by starting point from the current location point of the progress bar to the progress bar and/or it is described into
The terminal sliding of item is spent, and when generated sliding trace is within the scope of the sub- progress bar, by the sub- progress bar
Mode switches to the amplification mode by the normal mode.
4. according to the method described in claim 3, it is characterized in that, described when first touch operation is preset touch behaviour
When making, by the pattern switching of the sub- progress bar to amplification mode, comprising:
When first touch operation be by starting point from the current location point of the progress bar to the progress bar and/or it is described into
The terminal sliding of item is spent, and generated sliding trace is within the scope of the sub- progress bar, and first touch operation
Operation duration be equal to preset duration when, the mode of the sub- progress bar is switched into the amplification mould by the normal mode
Formula.
5. according to the method described in claim 4, it is characterized in that, the mode of the sub- progress in the progress bar that will show object
After switching to amplification mode by normal mode, the method also includes:
When the first touch operation end operation, the mode of the sub- progress bar is switched to by the amplification mode described
Normal mode.
6. according to the method described in claim 2, it is characterized in that, described when first touch operation is preset touch behaviour
When making, the mode of the sub- progress bar is switched into amplification mode by normal mode, comprising:
When first touch operation is the long press operation to the current location point of the progress bar, by the sub- progress bar
Mode switches to the amplification mode by the normal mode.
7. the method according to claim 1, wherein the mould by the sub- progress in the progress bar for showing object
Formula switches to amplification mode by normal mode, comprising:
It is segmented the sub- progress bar to obtain sub- progress bar according to preset number;
Sub- progress bar is obtained according to segmentation, generates the display parameters of the sub- progress bar under the amplification mode;
By the display parameters of progress bar described in display area where progress bar described on the display interface, it is updated to described put
The display parameters of the sub- progress bar of large model, so that being shown in display area where the progress bar on the display interface
The sub- progress bar.
8. method according to claim 1 or 2, which is characterized in that sub- progress in the progress bar that will show object
After pattern switching to amplification mode, comprising:
Receive the second touch operation to the sub- progress bar of the amplification mode;
When the long press operation for the current location point that second touch operation is the sub- progress bar, by the sub- progress bar
Mode switches to the normal mode by the amplification mode.
9. a kind of terminal, which is characterized in that the terminal includes:
Display module, for the display interface in the terminal, by the mode of the sub- progress in the progress bar for showing object by
Normal mode switches to amplification mode;
Wherein, the sub- progress bar is to carry out being segmented obtained every section of progress bar according to preset number to the progress bar;Institute
Stating normal mode is the mode that the progress bar after being segmented the progress bar according to preset number is shown;The amplification
Mode is to be segmented to obtain the mode that sub- progress bar is shown according to preset number for the sub- progress bar.
10. a kind of terminal, which is characterized in that the terminal includes:
Processor and the storage medium for being stored with the processor-executable instruction, the storage medium by communication bus according to
Rely the processor to execute operation, when described instruction is executed by the processor, it is any to execute above-mentioned claim 1 to 8
The control method of progress bar described in.
11. a kind of computer storage medium, which is characterized in that executable instruction is stored with, when the executable instruction is by one
Or multiple processors, when execute, the processor executes the control of the described in any item progress bars of claim 1 to 8
Method processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910453078.1A CN110209330B (en) | 2019-05-28 | 2019-05-28 | Control method of progress bar, terminal and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910453078.1A CN110209330B (en) | 2019-05-28 | 2019-05-28 | Control method of progress bar, terminal and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110209330A true CN110209330A (en) | 2019-09-06 |
CN110209330B CN110209330B (en) | 2022-03-08 |
Family
ID=67789163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910453078.1A Active CN110209330B (en) | 2019-05-28 | 2019-05-28 | Control method of progress bar, terminal and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110209330B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112581202A (en) * | 2019-09-29 | 2021-03-30 | 北京向上一心科技有限公司 | Order placing interface display method and device, computer equipment and storage medium |
WO2023185519A1 (en) * | 2022-03-30 | 2023-10-05 | 北京字跳网络技术有限公司 | Display control method and apparatus, and electronic device, storage medium and program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102610255A (en) * | 2012-03-06 | 2012-07-25 | 上海聚力传媒技术有限公司 | Method, device and equipment for determining playing time point of media information |
CN104090705A (en) * | 2014-07-28 | 2014-10-08 | 联想(北京)有限公司 | Progress adjusting method and electronic device |
CN105677187A (en) * | 2016-02-16 | 2016-06-15 | 小天才科技有限公司 | Image display control method and device |
CN105898593A (en) * | 2016-03-31 | 2016-08-24 | 乐视控股(北京)有限公司 | Playing progress adjusting method and device |
CN108984092A (en) * | 2018-06-27 | 2018-12-11 | Oppo广东移动通信有限公司 | Apparatus control method, device, storage medium and electronic equipment |
-
2019
- 2019-05-28 CN CN201910453078.1A patent/CN110209330B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102610255A (en) * | 2012-03-06 | 2012-07-25 | 上海聚力传媒技术有限公司 | Method, device and equipment for determining playing time point of media information |
CN104090705A (en) * | 2014-07-28 | 2014-10-08 | 联想(北京)有限公司 | Progress adjusting method and electronic device |
CN105677187A (en) * | 2016-02-16 | 2016-06-15 | 小天才科技有限公司 | Image display control method and device |
CN105898593A (en) * | 2016-03-31 | 2016-08-24 | 乐视控股(北京)有限公司 | Playing progress adjusting method and device |
CN108984092A (en) * | 2018-06-27 | 2018-12-11 | Oppo广东移动通信有限公司 | Apparatus control method, device, storage medium and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112581202A (en) * | 2019-09-29 | 2021-03-30 | 北京向上一心科技有限公司 | Order placing interface display method and device, computer equipment and storage medium |
WO2023185519A1 (en) * | 2022-03-30 | 2023-10-05 | 北京字跳网络技术有限公司 | Display control method and apparatus, and electronic device, storage medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN110209330B (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12001665B2 (en) | Slide bar display control device and slide bar display control method | |
EP2942779B1 (en) | Multi-level progress bars, progress control method and apparatus | |
WO2017014800A1 (en) | Video editing on mobile platform | |
DE112013002387T5 (en) | Apparatus, method and graphical user interface for providing tactile feedback for operations in a user interface | |
CN108156407A (en) | A kind of video clipping method and terminal | |
WO2018076174A1 (en) | Multimedia editing method and device, and smart terminal | |
CN104469515B (en) | A kind of control method and terminal of playback of media files progress | |
CN105573648A (en) | Multimedia play control method and terminal | |
CN105528173A (en) | Multimedia operation method and terminal | |
EP4268913A1 (en) | Position adjustment method and apparatus for operation controls, and terminal, and storage medium | |
CN103605461A (en) | Method and terminal for displaying application interfaces | |
CN106980438A (en) | Cursor control method, apparatus and system | |
CN104216618A (en) | Interface control method | |
CN112486377B (en) | Text editing method and device and electronic equipment | |
CN110209330A (en) | A kind of control method of progress bar, terminal and computer storage medium | |
CN106354378A (en) | Method and device for quickly selecting multiple targets | |
WO2022126664A1 (en) | Video editing method, terminal device, and computer-readable storage medium | |
CN109189301A (en) | Screen capture method and device | |
CN109542320A (en) | A kind of display methods, terminal and computer storage medium | |
CN105487801A (en) | Progress bar adjusting method and mobile terminal | |
CN104391633A (en) | Device control method and apparatus | |
CN112470103A (en) | Intelligent watch and interface control method thereof | |
WO2021036868A1 (en) | Audio cutting position determination method and apparatus, electronic device, and storage medium | |
CN107885414A (en) | A kind of method and device for controlling cursor positioning | |
CN104216710A (en) | Terminal |
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 |