Summary of the invention
The technical problem to be solved in the present invention is to provide the operation control of a kind of browser of mobile terminal video playback
Method processed, device and browser, realize button on the video playback interface of browser by gesture operation
Operation, is user-friendly to, and increases user's experience.
For solving above-mentioned technical problem, embodiments of the invention provide a kind of browser of mobile terminal video playback
Method of controlling operation thereof, including:
Obtain the operating gesture to video playback interface;
Determine the operation that operating gesture is corresponding;Wherein, described operating gesture at least includes the operation in a direction;
Described video playback interface is performed described operation.
Wherein, obtain the step to the operating gesture at video playback interface to include:
The movement locus of the operation by human hand on acquisition video playback interface;
Described operating gesture is determined according to described movement locus.
Wherein, the step of the movement locus obtaining the operation by human hand on video playback interface includes:
Movement locus by the operation by human hand on image capture device acquisition video playback interface.
Wherein it is determined that the step of operation corresponding to operating gesture includes:
According to the corresponding relation of predefined operating gesture Yu operation, according to described operating gesture, determine institute
State the operation that operating gesture is corresponding.
Wherein, described operating gesture includes with the corresponding relation of operation:
The operating gesture correspondence video forward operation slided to the first direction of operating;
The operating gesture laggard operation of correspondence video slided to the second direction of operating;Wherein, described first operation
Direction is in opposite direction with described second direction of operating;
Simultaneously to the 3rd direction of operating and to the operating gesture correspondence video playback of the 4th direction of operating slip
The amplifieroperation at interface;Wherein, described 3rd direction of operating is contrary with described 4th direction of operating;
Simultaneously to the 5th direction of operating and to the operating gesture correspondence video playback of the 6th direction of operating slip
The reduction operation at interface;Wherein, described 5th direction of operating is with described 6th direction of operating in opposite directions;
The operation increased to the volume of the operating gesture correspondence video playback of the 7th direction of operating slip;
The operation reduced to the volume of the operating gesture correspondence video playback of the 8th direction of operating slip;Wherein,
Described 7th direction of operating is contrary with described 8th direction of operating;
Video playback interface carries out the behaviour that the operating gesture correspondence video playback of one click starts/suspends
Make;
The behaviour that display brightness to the operating gesture correspondence video playback interface that the 9th direction of operating slides increases
Make;
The behaviour that display brightness to the operating gesture correspondence video playback interface that the tenth direction of operating slides reduces
Making, wherein, described 9th direction of operating is contrary with described tenth direction of operating;
And described first direction of operating, the second direction of operating, the 3rd direction of operating, the 4th direction of operating,
Five direction of operating, the 6th direction of operating, the 7th direction of operating, the 8th direction of operating, the 9th direction of operating with
And the tenth direction of operating different.
Wherein, described first direction of operating is along described video playback interface level direction to the right, described
Two direction of operating are along described video playback interface level direction to the left.
Wherein, described 3rd direction of operating and be cornerwise along video playback interface to the 4th direction of operating
Direction;
Described 5th direction of operating and be cornerwise along described video playback interface to the 6th direction of operating
Direction.
Wherein, during described 3rd operation and the 4th operation carry out slide and the 5th operation and the
During six operations carry out slide:
If the distance sum that the 3rd operation and the 4th operation are slided is more than the first preset value, enter video playback
First mode;
If the distance sum that the 3rd operation and the 4th operation are slided is more than the second preset value and less than described first
During preset value, enter the second pattern of video playback;
If the distance sum that described 5th operation and the 6th operation are slided is more than three preset values, enter video
The 3rd pattern play;
Wherein, described first preset value, less than 2 times of video playback interface catercorner length, described is more than the
Two preset values, described 3rd preset value is less than video playback interface catercorner length.
Wherein, described 7th direction of operating is along described video playback interface vertically upward direction;
Described 8th direction of operating is direction vertically downward along described video playback interface.
Wherein, described 9th operation be on described video playback interface except described first, second, third and fourth,
Five, six any one operation outside, seven, operating.
Embodiments of the invention also provide for the operating control device of a kind of browser of mobile terminal video playback, bag
Include:
Acquisition module, for obtaining the operating gesture to video playback interface;
Determine module, for determining the operation that operating gesture is corresponding;Wherein, described operating gesture at least includes
The operation in one direction;
Control module, for performing described operation to described video playback interface.
Wherein, acquisition module includes:
Obtain submodule, for obtaining the movement locus of the operation by human hand on video playback interface;
Determine submodule, for determining described operating gesture according to described movement locus.
Wherein, described determine module specifically for: according to predefined operating gesture corresponding with operation close
System, according to described operating gesture, determines the operation that described operating gesture is corresponding.
Wherein, described operating gesture includes with the corresponding relation of operation:
The operating gesture correspondence video forward operation slided to the first direction of operating;
The operating gesture laggard operation of correspondence video slided to the second direction of operating;Wherein, described first operation
Direction is in opposite direction with described second direction of operating;
Simultaneously to the 3rd direction of operating and to the operating gesture correspondence video playback of the 4th direction of operating slip
The amplifieroperation at interface;Wherein, described 3rd direction of operating is contrary with described 4th direction of operating;
Simultaneously to the 5th direction of operating and to the operating gesture correspondence video playback of the 6th direction of operating slip
The reduction operation at interface;Wherein, described 5th direction of operating is with described 6th direction of operating in opposite directions;
The operation increased to the volume of the operating gesture correspondence video playback of the 7th direction of operating slip;
The operation reduced to the volume of the operating gesture correspondence video playback of the 8th direction of operating slip;Wherein,
Described 7th direction of operating is contrary with described 8th direction of operating;
Video playback interface carries out the behaviour that the operating gesture correspondence video playback of one click starts/suspends
Make;
The behaviour that display brightness to the operating gesture correspondence video playback interface that the 9th direction of operating slides increases
Make;
The behaviour that display brightness to the operating gesture correspondence video playback interface that the tenth direction of operating slides reduces
Making, wherein, described 9th direction of operating is contrary with described tenth direction of operating;
And described first direction of operating, the second direction of operating, the 3rd direction of operating, the 4th direction of operating,
Five direction of operating, the 6th direction of operating, the 7th direction of operating, the 8th direction of operating, the 9th direction of operating with
And the tenth direction of operating different.
Embodiments of the invention also provide for a kind of browser, and the operation including video playback as above controls
Device, described operating control device is broadcast for the video controlling the video playback interface on described browsing device net page
Put.
Having the beneficial effect that of the technique scheme of the present invention:
In such scheme, by obtaining the operating gesture to video playback interface;Determine that operating gesture is corresponding
Operation;Wherein, described operating gesture at least includes the operation in a direction;Described video playback interface is held
The described operation of row.It is achieved thereby that the operation of button on the video playback interface of browser, it is user-friendly to,
Increase user's experience.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached
Figure and specific embodiment are described in detail.
It should be noted that embodiments of the invention are preferably applied to mobile device, such as, IOS operates system
System (IOS is the handheld equipment operating system developed by Apple), Android operation system (android system
A kind of freedom based on Linux and the operating system of open source code), Windows Phone operate system
The mobile device of system (Windows Phone is the Mobile phone operating system that Microsoft issues), certainly
Being also applied for personal computer and other Intelligent mobile equipments, this is not construed as limiting by the present invention.
As it is shown in figure 1, embodiments of the invention provide the operation control of a kind of browser of mobile terminal video playback
Method processed, including:
Step 11, obtains the operating gesture to video playback interface;
Step 12, determines the operation that operating gesture is corresponding;Wherein, described operating gesture at least includes one
The operation in direction;
Step 13, performs described operation to described video playback interface.
The above embodiment of the present invention is by obtaining the operating gesture to video playback interface;Determine operating gesture
Corresponding operation;Wherein, described operating gesture at least includes the operation in a direction;To described video playback
Interface performs described operation.It is achieved thereby that the operation of button on the video playback interface of browser, convenient use
Family uses, and increases user's experience.
In another embodiment of the invention, on the basis of above-mentioned steps 11-13, wherein, step
11 can specifically include:
Step 111, the movement locus of the operation by human hand on acquisition video playback interface;
Step 112, determines described operating gesture according to described movement locus.
, by obtaining the movement locus of operation by human hand on video playback interface, at the end of operation by human hand, can
To determine this movement locus specifically which type of operating gesture.As one embodiment of the present invention, use
The sensing that the movement locus of the operation by human hand at family is produced when can be contacted with display screen by the finger of user
Signal acquisition;Another embodiment as the present invention, it is also possible to obtained by image capture device,
Wherein, this image capture device can be such as the first-class device of shooting of mobile terminal, obtains video playback interface
On the step of movement locus of operation by human hand specifically may include that obtaining video by image capture device broadcasts
Put the movement locus of operation by human hand on interface;When implementing, image capture device can be first passed through and obtain
Take the moving image of operation by human hand on video playback interface, described moving image is carried out picture frame decomposition,
The position at hand images place in each picture frame, afterwards, by hand images position in every two field picture
Couple together, form the movement locus of this operation by human hand;
Wherein, described moving image is carried out picture frame decomposition, obtain hand images place in each picture frame
Position, each image can be determined by extracting the similar image area of rgb value in each picture frame
Hand images in frame, it is also possible to by removing the dissimilar image area of rgb value, by true for remaining image area
It is set to hand images;
Certainly, in other embodiments of the invention, it would however also be possible to employ alternate manner determines the motion of operation by human hand
Track, as long as the implementation of the movement locus of operation by human hand can be obtained all in embodiments of the invention scope
In.
Accordingly, above-mentioned steps 12 specifically includes:
According to the corresponding relation of predefined operating gesture Yu operation, according to described operating gesture, determine institute
State the operation that operating gesture is corresponding.
Wherein, described operating gesture includes with the corresponding relation of operation:
The operating gesture correspondence video forward operation slided to the first direction of operating;
The operating gesture laggard operation of correspondence video slided to the second direction of operating;Wherein, described first operation
Direction is in opposite direction with described second direction of operating;
Simultaneously to the 3rd direction of operating and to the operating gesture correspondence video playback of the 4th direction of operating slip
The amplifieroperation at interface;Wherein, described 3rd direction of operating is contrary with described 4th direction of operating;
Simultaneously to the 5th direction of operating and to the operating gesture correspondence video playback of the 6th direction of operating slip
The reduction operation at interface;Wherein, described 5th direction of operating is with described 6th direction of operating in opposite directions;
The operation increased to the volume of the operating gesture correspondence video playback of the 7th direction of operating slip;
The operation reduced to the volume of the operating gesture correspondence video playback of the 8th direction of operating slip;Wherein,
Described 7th direction of operating is contrary with described 8th direction of operating;
Video playback interface carries out the behaviour that the operating gesture correspondence video playback of one click starts/suspends
Make;
The behaviour that display brightness to the operating gesture correspondence video playback interface that the 9th direction of operating slides increases
Make;
The behaviour that display brightness to the operating gesture correspondence video playback interface that the tenth direction of operating slides reduces
Making, wherein, described 9th direction of operating is contrary with described tenth direction of operating;
And described first direction of operating, the second direction of operating, the 3rd direction of operating, the 4th direction of operating,
Five direction of operating, the 6th direction of operating, the 7th direction of operating, the 8th direction of operating, the 9th direction of operating with
And the tenth direction of operating different.
Certainly, in other embodiments of the invention, also include other behaviour of control about video playback interface
Making a sign with the hand, as closed video playback interface, mobile video broadcast interface, these all can pass through associative operation
Gesture realizes;Further, such as the display of current display time of picture at video playback interface, it is possible to
To be realized by relevant gesture, as certain viewing area at the picture at video playback interface is clicked on and connect
Touch a scheduled duration, the currently playing duration of the picture at currently playing interface can be shown.
Concrete, as in figure 2 it is shown, the gesture operation schematic diagram that this Fig. 2 is corresponding video forward operation;Institute
Stating the first direction of operating is along described video playback interface 21 level direction to the right;Wherein, this video is broadcast
Put the video playback interface in the page 20 that interface is browser;The label 20 of figure 3 below-Figure 10 is equal
Refer to the video playback interface 21 that the page 20,21 of browser each means in the page 20.And here clear
Device of looking at can be the browser of the small-sized intelligent terminal with touch-screen such as mobile phone, PAD.
As it is shown on figure 3, be the gesture operation schematic diagram of the corresponding laggard operation of video;Described second direction of operating
It is along described video playback interface level direction to the left.
As shown in Figure 4, for the operating gesture schematic diagram of amplifieroperation at corresponding video playback interface;Described
Three direction of operating and be along cornerwise direction, video playback interface to the 4th direction of operating;Figure only illustrates
Be a cornerwise direction, certainly, another cornerwise direction at this video playback interface is also permissible
, operating principle is same as shown in Figure 4;Wherein, the operating process of the amplification at this video playback interface
In,
If the distance sum that the 3rd operation and the 4th operation are slided is more than the first preset value, enter video playback
First mode;
If the distance sum that the 3rd operation and the 4th operation are slided is more than the second preset value and less than described first
During preset value, enter the second pattern of video playback;
Wherein, described first preset value, less than 2 times of video playback interface catercorner length, described is more than the
Two preset values, described 3rd preset value is less than video playback interface catercorner length.
Wherein, above-mentioned first mode can be played in full screen pattern, and the second pattern can be that mould is play in stretching
Formula, it is also possible to be such as 4:3 video play mode, it is also possible to be such as 16:9 video play mode.
As it is shown in figure 5, the operating gesture schematic diagram of the reduction operation at corresponding video playback interface;Described 5th
Direction of operating and be along cornerwise direction, described video playback interface to the 6th direction of operating, and described
Five direction of operating are with described 6th direction of operating in opposite directions.
Wherein, if the distance sum that described 5th operation and the 6th operation are slided is more than three preset values, enter
Entering the 3rd pattern of video playback, wherein, the 3rd pattern can be the original size at video playback interface
Pattern.
As shown in Figure 6, the operating gesture schematic diagram that the volume of corresponding video playback increases;Described 7th operation
Direction is along described video playback interface vertically upward direction.
As it is shown in fig. 7, the operating gesture schematic diagram that the volume of corresponding video playback reduces;Described 8th operation
Direction is direction vertically downward along described video playback interface.
As shown in Figure 8, the operating gesture schematic diagram starting in video playback interface correspondence video playback/suspending.
As it is shown in figure 9, the operating gesture schematic diagram that the display brightness at corresponding video playback interface increases;Described
9th operation be on described video playback interface except described first, second, third and fourth, five, six, seven, make
Any one operation outside operation.
As shown in Figure 10, the operating gesture schematic diagram that the display brightness at corresponding video playback interface reduces;And
Described tenth operation is in opposite direction with above-mentioned 9th operation.
The operating gesture shown in above-mentioned Fig. 2-Figure 10 of the present invention is only video playback circle that the present invention is described
One that the operation in face controls implements example, is not used to video playback interface operates the whole of control
Limit, it is also possible to use other operating gesture to control, the operation at video playback interface as long as can be according in advance
The operating gesture of definition is controlled with video play button corresponding relation, belongs to embodiments of the invention institute
The scope stated.
Embodiments of the invention also provide for the operating control device of a kind of browser of mobile terminal video playback, bag
Include:
Acquisition module, for obtaining the operating gesture to video playback interface;
Determine module, for determining the operation that operating gesture is corresponding;Wherein, described operating gesture at least includes
The operation in one direction;
Control module, for performing described operation to described video playback interface.
Wherein, acquisition module includes:
Obtain submodule, for obtaining the movement locus of the operation by human hand on video playback interface;
Determine submodule, for determining described operating gesture according to described movement locus.
Wherein, obtain submodule and can obtain the operation by human hand on video playback interface by image capture device
Movement locus;This image capture device can be such as the first-class device of shooting of mobile terminal, obtains submodule
When obtaining the movement locus of operation by human hand, when implementing, image capture device can be first passed through and obtain
The moving image of operation by human hand on video playback interface, carries out picture frame decomposition to described moving image, obtains
The position at hand images place in each picture frame, afterwards, by hand images position in every two field picture even
Pick up, form the movement locus of this operation by human hand;
Wherein, described moving image is carried out picture frame decomposition, obtain hand images place in each picture frame
Position, each image can be determined by extracting the similar image area of rgb value in each picture frame
Hand images in frame, it is also possible to by removing the dissimilar image area of rgb value, by true for remaining image area
It is set to hand images;
Certainly, in other embodiments of the invention, it would however also be possible to employ alternate manner determines the motion of operation by human hand
Track, as long as the implementation of the movement locus of operation by human hand can be obtained all in embodiments of the invention scope
In.
Wherein, described determine module specifically for: according to predefined operating gesture corresponding with operation close
System, according to described operating gesture, determines the operation that described operating gesture is corresponding.
Wherein, described operating gesture includes with the corresponding relation of operation:
The operating gesture correspondence video forward operation slided to the first direction of operating;
The operating gesture laggard operation of correspondence video slided to the second direction of operating;Wherein, described first operation
Direction is in opposite direction with described second direction of operating;
Simultaneously to the 3rd direction of operating and to the operating gesture correspondence video playback of the 4th direction of operating slip
The amplifieroperation at interface;Wherein, described 3rd direction of operating is contrary with described 4th direction of operating;
Simultaneously to the 5th direction of operating and to the operating gesture correspondence video playback of the 6th direction of operating slip
The reduction operation at interface;Wherein, described 5th direction of operating is with described 6th direction of operating in opposite directions;
The operation increased to the volume of the operating gesture correspondence video playback of the 7th direction of operating slip;
The operation reduced to the volume of the operating gesture correspondence video playback of the 8th direction of operating slip;Wherein,
Described 7th direction of operating is contrary with described 8th direction of operating;
Video playback interface carries out the behaviour that the operating gesture correspondence video playback of one click starts/suspends
Make;
The behaviour that display brightness to the operating gesture correspondence video playback interface that the 9th direction of operating slides increases
Make;
The behaviour that display brightness to the operating gesture correspondence video playback interface that the tenth direction of operating slides reduces
Making, wherein, described 9th direction of operating is contrary with described tenth direction of operating;
And described first direction of operating, the second direction of operating, the 3rd direction of operating, the 4th direction of operating,
Five direction of operating, the 6th direction of operating, the 7th direction of operating, the 8th direction of operating, the 9th direction of operating with
And the tenth direction of operating different.
Wherein, in the operating process of the amplification at this video playback interface,
If the distance sum that the 3rd operation and the 4th operation are slided is more than the first preset value, enter video playback
First mode;
If the distance sum that the 3rd operation and the 4th operation are slided is more than the second preset value and less than described first
During preset value, enter the second pattern of video playback;
Wherein, described first preset value, less than 2 times of video playback interface catercorner length, described is more than the
Two preset values, described 3rd preset value is less than video playback interface catercorner length.
Wherein, above-mentioned first mode can be played in full screen pattern, and the second pattern can be that mould is play in stretching
Formula, it is also possible to be such as 4:3 video play mode, it is also possible to be such as 16:9 video play mode.
Wherein, in the operating process that video playback interface reduces, if described 5th operation and the 6th operation are sliding
When dynamic distance sum is more than three preset values, enter the 3rd pattern of video playback, wherein, the 3rd mould
Formula can be the pattern of the original size at video playback interface.
It should be understood that the embodiment of this device is the device corresponding with said method, above-mentioned Fig. 2-figure
Implement example all be applicable to the embodiment of this device shown in 10, also can reach identical technology effect
Really, do not repeat them here.
Embodiments of the invention also provide for a kind of browser, and the operation including video playback as above controls
Device, described operating control device is broadcast for the video controlling the video playback interface on described browsing device net page
Put.
In the embodiment of this browser, by using the control device at above-mentioned video playback interface, can make clear
Looking at the video playback interface of device need not again with the presence of relevant button, as long as carrying out with corresponding operating gesture
Operation can realize the control at video playback interface, has touch especially for mobile phone, PAD etc. are small-sized
The browser of the intelligent terminal of screen, can no longer click on the little control button on video playback interface, thus
The problem avoiding maloperation or troublesome poeration.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, on the premise of without departing from principle of the present invention, it is also possible to make some improvements and modifications,
These improvements and modifications also should be regarded as protection scope of the present invention.