CN106897013A - A kind of adjusting method and device of video progress - Google Patents
A kind of adjusting method and device of video progress Download PDFInfo
- Publication number
- CN106897013A CN106897013A CN201510955705.3A CN201510955705A CN106897013A CN 106897013 A CN106897013 A CN 106897013A CN 201510955705 A CN201510955705 A CN 201510955705A CN 106897013 A CN106897013 A CN 106897013A
- Authority
- CN
- China
- Prior art keywords
- dragging
- interface
- video
- progress
- adjusting step
- 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
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000001960 triggered effect Effects 0.000 claims description 7
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 241000208340 Araliaceae Species 0.000 description 4
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 4
- 235000003140 Panax quinquefolius Nutrition 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 235000008434 ginseng Nutrition 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000004308 accommodation Effects 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 230000003100 immobilizing effect Effects 0.000 description 1
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/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- 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
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 kind of adjusting method and device of video progress.Wherein, method includes:Obtain the touch information of generation when carrying out touch control operation in the interface for playing video;Wherein, the touch information includes dragging position, drawing direction and dragging distance;Determine the corresponding adjusting step in the dragging position, and the corresponding video progress regulation direction of the drawing direction;According to the adjusting step and the dragging distance, progress regulation is carried out in video progress regulation direction.Adjusting step in the present invention is related to dragging position, the different adjusting step of different dragging position correspondences, therefore no longer only according to the amplitude of dragging distance controlling progress regulation, user can choose different dragging positions to carry out progress regulation according to different adjusting steps according to the actual state of video, so as to meet the different demands of user, the accuracy of video progress regulation is improved, Consumer's Experience is lifted.
Description
Technical field
The present invention relates to multimedia technology field, more particularly to a kind of adjusting method of video progress and
A kind of adjusting means of video progress.
Background technology
With developing rapidly for multimedia technology, user can watch various each by various playback terminals
The video of sample, when certain video is watched, can be potentially encountered the problem of positioning preview.For example, user exists
On smart mobile phone when certain video is watched, it is desirable to jump to certain before or after current play position
Individual position is watched, and needs to be adjusted the progress of video in the case of this kind, so that it plays user
Wish the position of viewing.
In the prior art, user can carry out drag operation in the interface for playing video, with to video
Progress is adjusted, such as dragging can forward be adjusted the progress of video to the left in interface, be dragged to the right
It is dynamic the progress of video backward to be adjusted.In dragging to the adjusting step of video progress in the above method
It is fixed, user can only be by dragging the amplitude that distance controlling progress is adjusted, such as dragging distance more progress
The amplitude for spending regulation is bigger, and the amplitude of dragging distance shorter progress regulation is smaller.But, the above method pair
The regulation of video progress is inaccurate, it is impossible to meet the demand of user, and Consumer's Experience is poor.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes above mentioned problem or at least portion to provide one kind
The adjusting method and the adjusting means of corresponding video progress of the video progress for solving the above problems with dividing.
According to one aspect of the present invention, there is provided a kind of adjusting method of video progress, including:
Obtain the touch information of generation when carrying out touch control operation in the interface for playing video;Wherein, it is described
Touch information includes dragging position, drawing direction and dragging distance;
Determine the corresponding adjusting step in the dragging position, and the corresponding video progress of the drawing direction
Regulation direction;
According to the adjusting step and the dragging distance, progress is carried out in video progress regulation direction
Regulation.
Preferably, it is described the step of determine the corresponding adjusting step in the dragging position, including:
Determine the coverage between the dragging position and default reference position;
The corresponding adjusting step of the coverage, the tune that will be found are searched from default corresponding relation
Synchronizing is long as the corresponding adjusting step in the dragging position.
Preferably, the reference position is the reference point of the predeterminated position on the interface,
It is described determine between the dragging position and default reference position coverage the step of, bag
Include:
Calculate the air line distance between the dragging position and the reference point, using the air line distance as
Coverage between the dragging position and default reference position.
Preferably, the reference point is any one summit at the interface, or appointing for the interface
The midpoint in meaning a line boundary line, or be the central point at the interface.
Preferably, the reference position is the reference straight line of the predeterminated position on the interface,
It is described determine between the dragging position and default reference position coverage the step of, bag
Include:
The vertical range between the dragging position and the reference straight line is calculated, the vertical range is made
It is the coverage between the dragging position and default reference position.
Preferably, the reference straight line is any one boundary line at the interface.
Preferably, the touch-control letter for obtaining generation when carrying out touch control operation in the interface for playing video
The step of breath, including:
Generation touches when acquisition carries out touch control operation in the effective operating area in the interface for playing video
Control information;Wherein, effective operating area is after receiving the displaying instruction triggered in the interface
In region shown in the interface, or, it is setting regions in the interface and not at the interface
Middle displaying.
Preferably, it is described according to the adjusting step and the dragging distance, in video progress regulation
The step of direction carries out progress and adjusts, including:
The product of the adjusting step and the dragging distance is calculated, using the product as regulation duration;
The progress of the video is adjusted into the regulation duration in video progress regulation direction.
According to another aspect of the present invention, there is provided a kind of adjusting means of video progress, including:
Acquisition module, is suitable to obtain the touch-control letter of generation when carrying out touch control operation in the interface for playing video
Breath;Wherein, the touch information includes dragging position, drawing direction and dragging distance;
Determining module, is adapted to determine that the corresponding adjusting step in the dragging position, and the drawing direction
Corresponding video progress adjusts direction;
Adjustment module, is suitable to according to the adjusting step and the dragging distance, is adjusted in the video progress
Section direction carries out progress regulation.
Preferably, the determining module includes:
Apart from determination sub-module, it is adapted to determine that effective between the dragging position and default reference position
Distance;
Step-length searches submodule, is suitable to search the corresponding tune of the coverage from default corresponding relation
Synchronizing is long, and the adjusting step that will be found is used as the corresponding adjusting step in the dragging position.
Preferably, the reference position is the reference point of the predeterminated position on the interface,
It is described apart from determination sub-module, be particularly adapted to calculate between the dragging position and the reference point
Air line distance, using the air line distance as effective between the dragging position and default reference position
Distance.
Preferably, the reference point is any one summit at the interface, or appointing for the interface
The midpoint in meaning a line boundary line, or be the central point at the interface.
Preferably, the reference position is the reference straight line of the predeterminated position on the interface,
It is described apart from determination sub-module, be particularly adapted to calculate between the dragging position and the reference straight line
Vertical range, using the vertical range as having between the dragging position and default reference position
Effect distance.
Preferably, the reference straight line is any one boundary line at the interface.
Preferably, the acquisition module, is particularly adapted to obtain the effective operation in the interface for playing video
The touch information of generation during touch control operation is carried out in region;
Wherein, effective operating area is to receive after the displaying triggered in the interface is instructed in institute
Region shown in interface is stated, or, it is the setting regions in the interface and the exhibition not in the interface
Show.
Preferably, the adjustment module includes:
Duration calculation submodule, is suitable to calculate the product of the adjusting step and the dragging distance, by institute
Product is stated as regulation duration;
Progress adjusts submodule, is suitable to adjust the progress of the video in video progress regulation direction
The regulation duration.
The touch information that the present invention is obtained includes dragging position, drawing direction and dragging distance, is getting
The corresponding adjusting step in dragging position is determined after touch information, and the corresponding video progress of drawing direction is adjusted
Section direction, then according to above-mentioned adjusting step and dragging distance, progress is carried out in video progress regulation direction
Regulation.It follows that the adjusting step in the present invention is related to dragging position, different dragging positions
The different adjusting step of correspondence is put, therefore no longer only according to the amplitude of dragging distance controlling progress regulation,
User can choose different dragging positions to be walked according to different adjustment according to the actual state of video
Progress traveling degree is adjusted such that it is able to meet the different demands of user, improves the accurate of video progress regulation
Property, lift Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, of the invention in order to better understand
Technological means, and being practiced according to the content of specification, and in order to allow it is of the invention above-mentioned and
Other objects, features and advantages can become apparent, below especially exemplified by specific embodiment party of the invention
Formula.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for
Those of ordinary skill in the art will be clear understanding.Accompanying drawing is only used for showing the mesh of preferred embodiment
, and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol
Number represent identical part.In the accompanying drawings:
The step of Fig. 1 shows a kind of adjusting method of according to embodiments of the present invention one video progress flow
Figure;
The step of Fig. 2 shows a kind of adjusting method of according to embodiments of the present invention two video progress flow
Figure;
Fig. 3 shows a kind of structural frames of the adjusting means of according to embodiments of the present invention three video progress
Figure;And,
Fig. 4 shows a kind of structural frames of the adjusting means of according to embodiments of the present invention four video progress
Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing
The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure
Without that should be limited by embodiments set forth here.Conversely, there is provided these embodiments are able to more
Thoroughly understand the disclosure, and can be by the complete technology for conveying to this area of the scope of the present disclosure
Personnel.
Embodiment one
Reference picture 1, shows a kind of step of the adjusting method of according to embodiments of the present invention one video progress
Rapid flow chart.The adjusting method of video progress may include steps of in the present embodiment:
Step 101, obtains the touch information of generation when carrying out touch control operation in the interface for playing video;
Wherein, the touch information includes dragging position, drawing direction and dragging distance.
User watches video on playback terminal, wherein, playback terminal can be the intelligence with touch screen
Mobile phone, panel computer, intelligent television etc., can install for playing video on playback terminal in advance
Using by the application viewing video, it is also possible to watch video in the browser installed on playback terminal.
The interface for playing video is shown on playback terminal, user can be by carrying out touch control operation in the interface
Corresponding touch-control letter will be generated to realize the regulation to video progress, when touch control operation is carried out in interface
Breath, at least includes dragging position, drawing direction and dragging distance in touch information, get touch information
Different regulations can be carried out according to the different progresses to video of touch information afterwards.
Step 102, determines the corresponding adjusting step in the dragging position, and drawing direction correspondence
Video progress regulation direction.
In the present embodiment, when the progress to video is adjusted, adjusting step be not it is changeless,
But dragging position when touch control operation is carried out to user is related, therefore will enter after dragging position is got
One step determines the corresponding adjusting step in dragging position.Regulation to video progress includes that regulation is (i.e. forward
Rewind is adjusted) and (i.e. F.F. regulation) is adjusted backward, video progress regulation direction carries out touch-control with user
Drawing direction during operation is related, therefore the drawing direction is will further determine after drawing direction is got
Corresponding video progress adjusts direction.
Step 103, according to the adjusting step and the dragging distance, in the video progress regulation side
To the progress of carrying out regulation.
After determining adjusting step and video progress regulation direction, you can according to adjusting step and get
Dragging distance, it is determined that video progress regulation direction on progress regulation is carried out to the video.
Each step is briefly described above, for the detailed process of each step, will implemented
It is described in detail in example two.
The touch information that the embodiment of the present invention is obtained includes dragging position, drawing direction and dragging distance,
Determine the corresponding adjusting step in dragging position, and the corresponding video of drawing direction after getting touch information
Progress adjusts direction, then according to above-mentioned adjusting step and dragging distance, enters in video progress regulation direction
Traveling degree is adjusted.It follows that the adjusting step in the embodiment of the present invention is related to dragging position,
The different adjusting step of different dragging position correspondences, therefore no longer only according to dragging distance controlling progress
The amplitude of regulation, user can choose different dragging positions so as to according to or not the actual state of video
Same adjusting step carries out progress regulation such that it is able to meet the different demands of user, improves video progress
The accuracy of regulation, lifts Consumer's Experience.
Embodiment two
Reference picture 2, shows a kind of step of the adjusting method of according to embodiments of the present invention two video progress
Rapid flow chart.The adjusting method of video progress may include steps of in the present embodiment:
Step 201, when acquisition carries out touch control operation in the effective operating area in the interface for playing video
The touch information of generation;Wherein, the touch information includes dragging position, drawing direction and dragging distance.
In the present embodiment, effective operating area, effective operating space are also included in the interface for playing video
Domain is the region for carrying out progress regulation, and the concrete condition foundation user of progress regulation is in effective operating area
The touch information for inside carrying out generation during touch control operation determines.
Wherein, effective operating area can be the whole interface for playing video, can also be to play video
Subregion in interface, those skilled in the art can be any suitable in practical experience setting interface
With the subregion of position as effective operating area, the present embodiment is not any limitation as to this.
Preferably, effective operating area can be shown according to the triggering of user, when user regards in broadcasting
Generation displaying instruction can be triggered during the trigger action set in the interface of frequency, is being received at interface
Can show effective operating area in interface after the displaying instruction of middle triggering, effective operating area is entered
Row displaying can become apparent from user, intuitively know and need the region of touch-control, so as to avoid touch-control wrong
By mistake.Wherein, the trigger action of setting can be configured according to actual conditions, for example, can set in advance
A trigger button is put, the trigger button is shown in the interface for playing video, pressed when user clicks on the triggering
Generation displaying instruction is can trigger during button;Again for example, a specific touch trajectory can be pre-set (such as
Given shape etc.), generation is can trigger when user completes the touch trajectory in the interface for playing video
Displaying instruction.It is, of course, also possible to trigger generation displaying instruction, ability by other trigger actions for setting
It is feasible that field technique personnel select any suitable mode according to practical experience.
Preferably, the position of effective operating area can be known with default user, and without playing video
Interface in individually show effective operating area, therefore effectively operating area is the setting regions in interface
And show not in interface, do not show that effective operating area can be avoided after displaying to the display effect at interface
The influence of generation, makes interface more succinct, clear.
Step 202, determines the corresponding adjusting step in the dragging position, and drawing direction correspondence
Video progress regulation direction.
The above-mentioned touch information for getting at least includes dragging position, drawing direction and dragging distance, according to
Dragging position can determine corresponding adjusting step, and corresponding video progress can be determined according to drawing direction
Regulation direction.
Preferably, it is reference bit that certain position in the interface for playing video can be pre-set in the present embodiment
Put, and the corresponding relation of coverage and adjusting step be set, wherein coverage for dragging position with it is pre-
If reference position between coverage, by determining after coverage from above-mentioned corresponding relation
The corresponding adjusting step of the coverage is found, it is corresponding that the adjusting step for finding is dragging position
Adjusting step.Therefore, the step of corresponding adjusting step in the dragging position is determined in the present embodiment can be with
Including:
A1, determines the coverage between the dragging position and default reference position;
In the present embodiment, reference position can be following two different situations:
The first situation:
Reference position is the reference point of the predeterminated position on the interface, in the case of this kind, it is determined that described
The step of dragging the coverage between position and default reference position includes:Calculate the dragging position
With the air line distance between the reference point, using the air line distance as the dragging position with it is default
Coverage between reference position.Wherein, the reference point can be any one top at the interface
Point, or be any one midpoint of boundary line at the interface, or be the central point at the interface,
Certain reference point can also be the point of other applicable positions in interface, and the embodiment of the present invention is not subject to this
Limitation.
Second situation:
Reference position is the reference straight line of the predeterminated position on the interface, in the case of this kind, determines institute
The step of stating the coverage between dragging position and default reference position includes:Calculate the dragging position
Put with the vertical range between the reference straight line, using the vertical range as the dragging position with it is pre-
If reference position between coverage.Wherein, the reference straight line can be any of the interface
A line boundary line, can also be the straight line of other applicable positions in interface with reference to straight line certainly, and the present invention is real
Example is applied not to be any limitation as this.
A2, searches the corresponding adjusting step of the coverage from default corresponding relation, will find
Adjusting step as the corresponding adjusting step in the dragging position.
Coverage and the corresponding relation of adjusting step can be any suitable form, example in the present embodiment
Such as, coverage and the corresponding relation of adjusting step can be mapping table as shown in Table 1, and this reflects certainly
Firing table is only intended to for example, being not intended as the limitation to corresponding relation.
Coverage (unit:mm) | Adjusting step (unit:s/mm) |
[0~10] | a |
(10~20] | b |
(20~30] | c |
...... | ...... |
Table one
Corresponding to two kinds of different situations of above-mentioned reference position, different mapping relations can be set.For example,
For the reference point that above-mentioned the first situation reference position is the predeterminated position on interface, can be provided with
Effect bigger its corresponding adjusting step of distance is smaller, and smaller its corresponding adjusting step of coverage is bigger,
So if user wish adjust progress when adjusting step it is smaller, then can distance reference position compared with
Remote position is dragged, if instead user wishes that adjusting step is larger in the progress of regulation, then may be used
Dragged with the nearer position in distance reference position;It is position for above-mentioned second situation reference position
In the reference straight line of predeterminated position on interface, bigger its corresponding adjusting step of coverage can be set more
Greatly, smaller its corresponding adjusting step of coverage is smaller, so if user is wished in the progress of regulation
Adjusting step is smaller, then position that can be nearer in distance reference position is dragged, if instead with
Wish that adjusting step is larger in the progress of regulation, then can enter in distance reference position remote position in family
Row dragging.By aforesaid way, the individual demand that user is adjusted to video progress can be met, for
Different videos is adjusted according to different adjusting steps.
Certainly, those skilled in the art can also set the corresponding relation of other forms, such as above-mentioned the
A kind of situation reference position is the reference point of the predeterminated position on interface, it is also possible to sets coverage and gets over
Big its corresponding adjusting step is bigger, and smaller its corresponding adjusting step of coverage is smaller;For above-mentioned
Second situation reference position is the reference straight line of the predeterminated position on interface, it is also possible to set effectively away from
It is smaller from bigger its corresponding adjusting step, smaller its corresponding adjusting step of coverage is bigger, etc.,
The embodiment of the present invention is not any limitation as to this.
Another certain position that can preferably, in the present embodiment pre-set in the interface for playing video is ginseng
Position is examined, and the algorithm that adjusting step is calculated by coverage is set, wherein coverage is dragging position
Put with the coverage between default reference position, according to above-mentioned calculation by determining after coverage
Method calculates the corresponding adjusting step of the coverage, and the adjusting step being calculated is dragging position correspondence
Adjusting step.Therefore, the step of corresponding adjusting step in the dragging position is determined in the present embodiment can
To include:
B1, determines the coverage between the dragging position and default reference position;
Similar to above-mentioned a1, the reference position in b1 can also be the different situation of above two, specifically
With reference to the associated description of a1, the present embodiment is not repeated to discuss herein.
B2, calculates the corresponding adjusting step of the coverage, by what is be calculated according to default algorithm
Adjusting step is used as the corresponding adjusting step in the dragging position.
Corresponding to two kinds of different situations of above-mentioned reference position, different algorithms can be set.
For example, for the reference point that above-mentioned the first situation reference position is the predeterminated position on interface,
Calculating the process of the corresponding adjusting step of the coverage can be:With the coverage as radius,
Calculate the length of the corresponding circle of the coverage or circular arc;Determine the total duration of the video with it is described
The ratio of length, using the ratio as the corresponding adjusting step of the coverage.Wherein, according to reference
The different situations of point position calculate the length of the corresponding circle of coverage or circular arc, for example, working as reference point
For interface any one summit when, the radius can be calculated corresponding four points with coverage as radius
One of circle this section of length of circular arc;When midpoint of the reference point for any one boundary line at interface,
With coverage as radius, the length of the radius corresponding 1/2nd circle this section circular arc can be calculated
Degree;When central point of the reference point for interface, radius correspondence can be calculated with coverage as radius
Whole circle length (i.e. round girth).The length of the above-mentioned circle being calculated or circular arc can be seen
Work is the total length that can be dragged at dragging position, calculates the total duration of video and the ratio of the total length
Value, the ratio can be used as adjusting step, for example, the length of the circle for calculating or circular arc is 100mm,
The total duration of video is 3600s, then the corresponding adjusting step of coverage is
3600s/100mm=36s/mm.
For example, being that the reference of predeterminated position is straight on interface for above-mentioned second situation reference position
Line, calculating the process of the corresponding adjusting step of the coverage can be:Calculate the length at the interface
Or the difference of width and the coverage;Determine the total duration of the video and the ratio of the difference
Value, using the ratio as the corresponding adjusting step of the coverage.Wherein, foundation refers to linear position
Different situations calculate the length at interface or the difference of width and coverage, for example, when referring to straight line
For the interface left side boundary line or the right boundary line when, calculate the length at the interface with it is described effectively away from
From difference;When being the upper border line or following boundary line at the interface with reference to straight line, the boundary is calculated
The difference of the width in face and the coverage.The above-mentioned difference being calculated can be regarded as in dragging position
The total length that the place of putting can drag, calculates the total duration of video and the ratio of the total length, the ratio
Used as adjusting step, for example, the difference for calculating is 100mm, the total duration of video is 3600s, then
The corresponding adjusting step of coverage is 3600s/100mm=36s/mm.
Certainly, those skilled in the art can also calculate the corresponding adjustment of coverage using other algorithms
Step-length, the embodiment of the present invention is not any limitation as to this.
Include regulation (i.e. rewind regulation) forward and backward regulation (i.e. F.F. tune to the regulation of video progress
Section) two regulation directions, video progress regulation direction carries out drawing direction phase during touch control operation with user
Close, therefore the corresponding video progress regulation of the drawing direction is will further determine after drawing direction is got
Direction.
Preferably, it is that reference position is the predeterminated position on the interface corresponding to above-mentioned the first situation
Reference point, dragging track of the user on interface and non-rectilinear but circular arc, dragging side in the case of this kind
It is continually changing to not immobilizing, drawing direction now refers to that the change of drawing direction becomes
Gesture.For example, if drawing direction changes to the left, the corresponding video progress of the drawing direction is adjusted
Direction is regulation (i.e. rewind regulation) forward, if drawing direction changes to the right, the dragging side
It is regulation (i.e. F.F. regulation) backward to corresponding video progress regulation direction;Or if drawing direction
It is change upwards, then the corresponding video progress regulation direction of the drawing direction is regulation (i.e. rewind forward
Regulation), if drawing direction is change, the corresponding video progress regulation side of the drawing direction downwards
To be backward adjust (i.e. F.F. regulation).
Preferably, it is that reference position is the predeterminated position on the interface corresponding to above-mentioned second situation
Reference straight line, dragging track of the user on interface be straight line, drawing direction is fixed in the case of this kind
It is constant, namely drawing direction now refers to the direction of a certain fixation.If for example, drawing direction is
To the left, then the corresponding video progress regulation direction of the drawing direction is that (i.e. rewind is adjusted for regulation forward to level
Section), if drawing direction be level to the right, the drawing direction corresponding video progress regulation direction is
Adjust (i.e. F.F. regulation) backward;Or if drawing direction is straight up, then the drawing direction pair
Answer video progress regulation direction for forward adjust (i.e. rewind regulation), if drawing direction be vertically to
Under, then the corresponding video progress regulation direction of the drawing direction is regulation (i.e. F.F. regulation) backward.
Step 203, according to the adjusting step and the dragging distance, in the video progress regulation side
To the progress of carrying out regulation.
Regulation duration can be calculated according to the adjusting step and the dragging distance, the regulation duration is
It is the amplitude of accommodation to progress, therefore the step 203 can include:Calculate the adjusting step with it is described
The product of distance is dragged, using the product as regulation duration;Direction is adjusted by institute in the video progress
The progress for stating video adjusts the regulation duration.For example, adjusting step is 5s/mm, dragging distance is
10mm, then a length of 50s when adjusting, video progress regulation direction are regulation (i.e. F.F. regulation) backward,
The progress of video is then adjusted into 50s backward.
Can be according to the actual conditions (such as difference of video total duration) of video not in the embodiment of the present invention
Same dragging position is dragged, to be adjusted to the progress of video according to different adjusting steps,
If such as video total duration is more long, can select to carry out progress regulation using larger adjusting step,
If video total duration is shorter, can select to carry out progress regulation using less adjusting step, so that
Can more flexibly, exactly to video progress be adjusted, meet the individual demand of user.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of action group
Close, but those skilled in the art should know, and the embodiment of the present invention is not suitable by described action
The limitation of sequence, because according to the embodiment of the present invention, some steps can using other orders or simultaneously
Carry out.Secondly, those skilled in the art should also know, embodiment described in this description belongs to
Necessary to preferred embodiment, the involved action not necessarily embodiment of the present invention.
Embodiment three
Reference picture 3, shows a kind of knot of the adjusting means of according to embodiments of the present invention three video progress
Structure block diagram.The adjusting means of video progress can include such as lower module in the present embodiment:
Acquisition module 301, be suitable to obtain play video interface in carry out touch control operation when generation touch
Control information;Wherein, the touch information includes dragging position, drawing direction and dragging distance;
Determining module 302, is adapted to determine that the corresponding adjusting step in the dragging position, and the dragging
The corresponding video progress regulation direction in direction;
Adjustment module 303, is suitable to, according to the adjusting step and the dragging distance, enter in the video
Degree regulation direction carries out progress regulation.
The touch information that the embodiment of the present invention is obtained includes dragging position, drawing direction and dragging distance,
Determine the corresponding adjusting step in dragging position, and the corresponding video of drawing direction after getting touch information
Progress adjusts direction, then according to above-mentioned adjusting step and dragging distance, enters in video progress regulation direction
Traveling degree is adjusted.It follows that the adjusting step in the embodiment of the present invention is related to dragging position,
The different adjusting step of different dragging position correspondences, therefore no longer only according to dragging distance controlling progress
The amplitude of regulation, user can choose different dragging positions so as to according to or not the actual state of video
Same adjusting step carries out progress regulation such that it is able to meet the different demands of user, improves video progress
The accuracy of regulation, lifts Consumer's Experience.
Example IV
Reference picture 4, shows a kind of knot of the adjusting means of according to embodiments of the present invention four video progress
Structure block diagram.The adjusting means of video progress can include such as lower module in the present embodiment:
Acquisition module 401, be suitable to obtain play video interface in carry out touch control operation when generation touch
Control information;Wherein, the touch information includes dragging position, drawing direction and dragging distance;
Determining module 402, is adapted to determine that the corresponding adjusting step in the dragging position, and the dragging
The corresponding video progress regulation direction in direction;
Adjustment module 403, is suitable to, according to the adjusting step and the dragging distance, enter in the video
Degree regulation direction carries out progress regulation.
Preferably, the determining module 402 includes:Apart from determination sub-module 4021, it is adapted to determine that described
Coverage between dragging position and default reference position;Step-length search submodule 4022, be suitable to from
The corresponding adjusting step of the coverage, the adjusting step that will be found are searched in default corresponding relation
As the corresponding adjusting step in the dragging position.
Preferably, the reference position is the reference point of the predeterminated position on the interface.The distance
Determination sub-module, is particularly adapted to calculate the air line distance between the dragging position and the reference point, will
The air line distance is used as the coverage between the dragging position and default reference position.The ginseng
Examination point is any one summit at the interface, or in any one boundary line at the interface
Point, or be the central point at the interface.
Preferably, the reference position is the reference straight line of the predeterminated position on the interface.It is described away from
From determination sub-module, be particularly adapted to calculate between the dragging position and the reference straight line it is vertical away from
From using the vertical range as the coverage between the dragging position and default reference position.
The reference straight line is any one boundary line at the interface.
Preferably, the acquisition module, is particularly adapted to obtain the effective operation in the interface for playing video
The touch information of generation during touch control operation is carried out in region;Wherein, effective operating area is to receive
In region shown in the interface after the displaying instruction triggered in the interface, or, it is the boundary
Setting regions in face and the displaying not in the interface.
Preferably, the adjustment module 403 includes:Duration calculation submodule 4031, is suitable to calculate described
Adjusting step and the product for dragging distance, using the product as regulation duration;Progress adjusts submodule
Block 4032, is suitable to when the progress of the video is adjusted the regulation by video progress regulation direction
It is long.
Can be according to the actual conditions (such as difference of video total duration) of video not in the embodiment of the present invention
Same dragging position is dragged, to be adjusted to the progress of video according to different adjusting steps,
If such as video total duration is more long, can select to carry out progress regulation using larger adjusting step,
If video total duration is shorter, can select to carry out progress regulation using less adjusting step, so that
Can more flexibly, exactly to video progress be adjusted, meet the individual demand of user.
For device embodiment, because it is substantially similar to embodiment of the method, so the ratio of description
Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Provided herein algorithm and display not with any certain computer, virtual system or miscellaneous equipment
It is intrinsic related.Various general-purpose systems can also be used together with based on teaching in this.According to above
Description, the structure constructed required by this kind of system is obvious.Additionally, the present invention is not also directed to
Any certain programmed language.It is understood that, it is possible to use various programming languages realize described here
The content of invention, and the description done to language-specific above is to disclose optimal reality of the invention
Apply mode.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that
Embodiments of the invention can be put into practice in the case of without these details.In some instances,
Known method, structure and technology is not been shown in detail, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and helping understand in each inventive aspect one
Individual or multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention
Sometimes it is grouped together into single embodiment, figure or descriptions thereof.However, should be by
The method of the disclosure is construed to reflect following intention:I.e. the present invention for required protection requirement ratio is at each
The more features of feature being expressly recited in claim.More precisely, as following right will
As asking book to reflect, inventive aspect is all spies less than single embodiment disclosed above
Levy.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment party
Formula, wherein each claim are in itself as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out to the module in the equipment in embodiment
Adaptively change and they are arranged in one or more equipment different from the embodiment.
Module or unit or component in embodiment can be combined into a module or unit or component, and
In addition multiple submodule or subelement or sub-component can be divided into.Except such feature and/or
Outside at least some in process or unit exclude each other, can be using any combinations to this explanation
All features disclosed in book (including adjoint claim, summary and accompanying drawing) and so disclosed
All processes or unit of any method or equipment are combined.Unless expressly stated otherwise, this theory
Each feature disclosed in bright book (including adjoint claim, summary and accompanying drawing) can be by offer phase
The alternative features of same, equivalent or similar purpose replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include
Some included features are rather than further feature, but the feature of different embodiments in other embodiments
Combination mean to be within the scope of the present invention and formed different embodiments.For example, under
In the claims in face, the one of any of embodiment required for protection can be in any combination
Mode is used.
All parts embodiment of the invention can realize with hardware, or with one or more
The software module run on reason device is realized, or is realized with combinations thereof.Those skilled in the art
It should be appreciated that can be realized using microprocessor or digital signal processor (DSP) in practice
Some or all parts in the adjustment equipment of video progress according to embodiments of the present invention some or
Person's repertoire.The present invention be also implemented as a part for performing method as described herein or
Person whole equipment or program of device (for example, computer program and computer program product).So
Realize that program of the invention can be stored on a computer-readable medium, or can have one or
The form of person's multiple signal.Such signal can be downloaded from internet website and obtained, or carried
There is provided on body signal, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described is limited rather than to the present invention
Make, and those skilled in the art can design without departing from the scope of the appended claims
Alternative embodiment.In the claims, any reference symbol being located between bracket should not be configured to
Limitations on claims.Word " including " do not exclude the presence of element not listed in the claims or
Step.Word " one " or " one " before element do not exclude the presence of unit as multiple
Part.The present invention can be by means of the hardware for including some different elements and by means of properly programmed
Computer is realized.If some in these devices in the unit claim for listing equipment for drying
Individual can be embodied by same hardware branch.Word first, second, and third
Using not indicating that any order.These words can be construed to title.
The invention discloses A1, a kind of adjusting method of video progress, including:
Obtain the touch information of generation when carrying out touch control operation in the interface for playing video;Wherein, it is described
Touch information includes dragging position, drawing direction and dragging distance;
Determine the corresponding adjusting step in the dragging position, and the corresponding video progress of the drawing direction
Regulation direction;
According to the adjusting step and the dragging distance, progress is carried out in video progress regulation direction
Regulation.
A2, the method as described in A1, the step of the corresponding adjusting step in the determination dragging position
Suddenly, including:
Determine the coverage between the dragging position and default reference position;
The corresponding adjusting step of the coverage, the tune that will be found are searched from default corresponding relation
Synchronizing is long as the corresponding adjusting step in the dragging position.
A3, the method as described in A2, the reference position are the ginseng of the predeterminated position on the interface
Examination point,
It is described determine between the dragging position and default reference position coverage the step of, bag
Include:Calculate the air line distance between the dragging position and the reference point, using the air line distance as
Coverage between the dragging position and default reference position.
A4, the method as described in A3, the reference point are any one summit at the interface, or
It is any one midpoint of boundary line at the interface, or is the central point at the interface.
A5, the method as described in A2, the reference position are the ginseng of the predeterminated position on the interface
Examine straight line,
It is described determine between the dragging position and default reference position coverage the step of, bag
Include:The vertical range between the dragging position and the reference straight line is calculated, the vertical range is made
It is the coverage between the dragging position and default reference position.
A6, the method as described in A5, the reference straight line are any one boundary line at the interface.
A7, the method as described in A1, when the acquisition carries out touch control operation in the interface for playing video
The step of touch information of generation, including:
Generation touches when acquisition carries out touch control operation in the effective operating area in the interface for playing video
Control information;Wherein, effective operating area is after receiving the displaying instruction triggered in the interface
In region shown in the interface, or, it is setting regions in the interface and not at the interface
Middle displaying.
A8, the method as described in A1, it is described according to the adjusting step and the dragging distance, in institute
The step of stating video progress regulation direction and carry out progress and adjust, including:
The product of the adjusting step and the dragging distance is calculated, using the product as regulation duration;
The progress of the video is adjusted into the regulation duration in video progress regulation direction.
The invention also discloses B9, a kind of adjusting means of video progress, including:
Acquisition module, is suitable to obtain the touch-control letter of generation when carrying out touch control operation in the interface for playing video
Breath;Wherein, the touch information includes dragging position, drawing direction and dragging distance;
Determining module, is adapted to determine that the corresponding adjusting step in the dragging position, and the drawing direction
Corresponding video progress adjusts direction;
Adjustment module, is suitable to according to the adjusting step and the dragging distance, is adjusted in the video progress
Section direction carries out progress regulation.
B10, the device as described in B9, the determining module include:
Apart from determination sub-module, it is adapted to determine that effective between the dragging position and default reference position
Distance;
Step-length searches submodule, is suitable to search the corresponding tune of the coverage from default corresponding relation
Synchronizing is long, and the adjusting step that will be found is used as the corresponding adjusting step in the dragging position.
B11, the device as described in B10, the reference position are the predeterminated position on the interface
Reference point,
It is described apart from determination sub-module, be particularly adapted to calculate between the dragging position and the reference point
Air line distance, using the air line distance as effective between the dragging position and default reference position
Distance.
B12, the device as described in B11, the reference point are any one summit at the interface, or
Person is any one midpoint of boundary line at the interface, or is the central point at the interface.
B13, the device as described in B10, the reference position are the predeterminated position on the interface
With reference to straight line,
It is described apart from determination sub-module, be particularly adapted to calculate between the dragging position and the reference straight line
Vertical range, using the vertical range as having between the dragging position and default reference position
Effect distance.
B14, the device as described in B13, the reference straight line are any one border at the interface
Line.
B15, the device as described in B9, the acquisition module are particularly adapted to obtain and are playing video
The touch information of generation during touch control operation is carried out in effective operating area in interface;
Wherein, effective operating area is to receive after the displaying triggered in the interface is instructed in institute
Region shown in interface is stated, or, it is the setting regions in the interface and the exhibition not in the interface
Show.
B16, the device as described in B9, the adjustment module include:
Duration calculation submodule, is suitable to calculate the product of the adjusting step and the dragging distance, by institute
Product is stated as regulation duration;
Progress adjusts submodule, is suitable to adjust the progress of the video in video progress regulation direction
The regulation duration.
Claims (10)
1. a kind of adjusting method of video progress, including:
Obtain the touch information of generation when carrying out touch control operation in the interface for playing video;Wherein, it is described
Touch information includes dragging position, drawing direction and dragging distance;
Determine the corresponding adjusting step in the dragging position, and the corresponding video progress of the drawing direction
Regulation direction;
According to the adjusting step and the dragging distance, progress is carried out in video progress regulation direction
Regulation.
2. the method for claim 1, it is characterised in that the determination dragging position pair
The step of adjusting step answered, including:
Determine the coverage between the dragging position and default reference position;
The corresponding adjusting step of the coverage, the tune that will be found are searched from default corresponding relation
Synchronizing is long as the corresponding adjusting step in the dragging position.
3. method as claimed in claim 2, it is characterised in that the reference position is positioned at described
The reference point of predeterminated position on interface,
It is described determine between the dragging position and default reference position coverage the step of, bag
Include:
Calculate the air line distance between the dragging position and the reference point, using the air line distance as
Coverage between the dragging position and default reference position.
4. method as claimed in claim 3, it is characterised in that the reference point is the interface
Any one summit, or be any one midpoint of boundary line at the interface, or be the interface
Central point.
5. method as claimed in claim 2, it is characterised in that the reference position is positioned at described
The reference straight line of predeterminated position on interface,
It is described determine between the dragging position and default reference position coverage the step of, bag
Include:
The vertical range between the dragging position and the reference straight line is calculated, the vertical range is made
It is the coverage between the dragging position and default reference position.
6. method as claimed in claim 5, it is characterised in that the reference straight line is the interface
Any one boundary line.
7. the method for claim 1, it is characterised in that the boundary of video is being played in the acquisition
The step of touch information of generation during touch control operation is carried out in face, including:
Generation touches when acquisition carries out touch control operation in the effective operating area in the interface for playing video
Control information;Wherein, effective operating area is after receiving the displaying instruction triggered in the interface
In region shown in the interface, or, it is setting regions in the interface and not at the interface
Middle displaying.
8. the method for claim 1, it is characterised in that it is described according to the adjusting step and
The dragging distance, the step of video progress regulation direction carries out progress and adjusts, including:
The product of the adjusting step and the dragging distance is calculated, using the product as regulation duration;
The progress of the video is adjusted into the regulation duration in video progress regulation direction.
9. a kind of adjusting means of video progress, including:
Acquisition module, is suitable to obtain the touch-control letter of generation when carrying out touch control operation in the interface for playing video
Breath;Wherein, the touch information includes dragging position, drawing direction and dragging distance;
Determining module, is adapted to determine that the corresponding adjusting step in the dragging position, and the drawing direction
Corresponding video progress adjusts direction;
Adjustment module, is suitable to according to the adjusting step and the dragging distance, is adjusted in the video progress
Section direction carries out progress regulation.
10. device as claimed in claim 9, it is characterised in that the determining module includes:
Apart from determination sub-module, it is adapted to determine that effective between the dragging position and default reference position
Distance;
Step-length searches submodule, is suitable to search the corresponding tune of the coverage from default corresponding relation
Synchronizing is long, and the adjusting step that will be found is used as the corresponding adjusting step in the dragging position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955705.3A CN106897013B (en) | 2015-12-17 | 2015-12-17 | Video progress adjusting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955705.3A CN106897013B (en) | 2015-12-17 | 2015-12-17 | Video progress adjusting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106897013A true CN106897013A (en) | 2017-06-27 |
CN106897013B CN106897013B (en) | 2020-11-24 |
Family
ID=59188587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510955705.3A Active CN106897013B (en) | 2015-12-17 | 2015-12-17 | Video progress adjusting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106897013B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648359A (en) * | 2016-11-29 | 2017-05-10 | 维沃移动通信有限公司 | Method for adjusting video playback progress and mobile terminal |
CN109121008A (en) * | 2018-08-03 | 2019-01-01 | 腾讯科技(深圳)有限公司 | A kind of video previewing method, device, terminal and storage medium |
CN109240578A (en) * | 2018-09-26 | 2019-01-18 | 三星电子(中国)研发中心 | A kind of parameter adjusting method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130067332A1 (en) * | 2011-09-12 | 2013-03-14 | Microsoft Corporation | Media seek bar |
CN103399703A (en) * | 2012-07-16 | 2013-11-20 | 华为终端有限公司 | User equipment system bar control method and user equipment |
CN104378686A (en) * | 2014-11-18 | 2015-02-25 | 广东欧珀移动通信有限公司 | Audio and video playing progress control method and device |
-
2015
- 2015-12-17 CN CN201510955705.3A patent/CN106897013B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130067332A1 (en) * | 2011-09-12 | 2013-03-14 | Microsoft Corporation | Media seek bar |
CN103399703A (en) * | 2012-07-16 | 2013-11-20 | 华为终端有限公司 | User equipment system bar control method and user equipment |
CN104378686A (en) * | 2014-11-18 | 2015-02-25 | 广东欧珀移动通信有限公司 | Audio and video playing progress control method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648359A (en) * | 2016-11-29 | 2017-05-10 | 维沃移动通信有限公司 | Method for adjusting video playback progress and mobile terminal |
CN109121008A (en) * | 2018-08-03 | 2019-01-01 | 腾讯科技(深圳)有限公司 | A kind of video previewing method, device, terminal and storage medium |
CN109240578A (en) * | 2018-09-26 | 2019-01-18 | 三星电子(中国)研发中心 | A kind of parameter adjusting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106897013B (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9927946B2 (en) | Method and device for progress control | |
US10496160B2 (en) | Gaze tracking system with calibration improvement, accuracy compensation, and gaze localization smoothing | |
EP3232930B1 (en) | Assessment of an attentional deficit | |
CN109893852B (en) | Interface information processing method and device | |
CN109663345B (en) | Information processing method and device for 3D game | |
CN104869429A (en) | Video previewing method and apparatus | |
EP2827332B1 (en) | Navigating within a media item | |
CN106897013A (en) | A kind of adjusting method and device of video progress | |
US9797929B2 (en) | Waveform processing assistance method and system | |
CN109107153B (en) | Method and device for releasing game skill, electronic equipment and storage medium | |
CN105872652A (en) | Multichannel video stream playing method and device | |
CN109002230B (en) | Touch screen calibration method and device and electronic equipment | |
CN115113778A (en) | Method for selecting waveforms on electronic test equipment | |
CN106527862A (en) | Method and device for displaying application icons | |
CN103713814A (en) | Information processing method and electronic device | |
CN103699220A (en) | Method and device for operating according to gesture movement locus | |
CN108021307A (en) | A kind of player control changes method and device | |
CN106919247A (en) | Virtual image methods of exhibiting and device | |
US20150253980A1 (en) | Information processing method and electronic device | |
KR101706237B1 (en) | Touch screen display device and method for determining touch in the same | |
CN104317504A (en) | Control method and control device | |
JP6507719B2 (en) | Screen information processing apparatus, screen information processing method and screen information processing program | |
CN106897014A (en) | The adjusting method and device of a kind of video volume | |
US10275109B2 (en) | Traversing between nodes | |
WO2011141990A1 (en) | Image processing device and image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240115 Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |