CN105159582B - A kind of video area method of adjustment and terminal - Google Patents
A kind of video area method of adjustment and terminal Download PDFInfo
- Publication number
- CN105159582B CN105159582B CN201510536515.8A CN201510536515A CN105159582B CN 105159582 B CN105159582 B CN 105159582B CN 201510536515 A CN201510536515 A CN 201510536515A CN 105159582 B CN105159582 B CN 105159582B
- Authority
- CN
- China
- Prior art keywords
- touch
- video playback
- playback area
- video
- target
- 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.)
- Expired - Fee Related
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of video area method of adjustment and terminal, wherein method includes:Receive the adjusting touch command inputted for video playback area in current display interface;Obtain the target touch-control pressure value suffered by the position of touch corresponding to the adjusting touch command;According to default adjustment parameter and the mapping relations of touch-control pressure value, obtain and the target adjustment parameter corresponding to the target touch-control pressure value;According to the target adjustment parameter, the video playback area is adjusted.Using the embodiment of the present invention, the size of video playback area can be easily adjusted when watching video, improves user experience.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of video area methods of adjustment and terminal.
Background technology
With the continuous development of the communication technology, people can be made a phone call by mobile terminal, sent short messages, be greatly facilitated
The work of people, study and amusement, make a part indispensable in people's daily life.For mobile terminal
The considerations of portability and gripping sense, the display screen of mobile terminal is not too large, and therefore, usual user is watched using mobile terminal
During video, the full frame watching mode of user or the video display window watching mode of fixed size can be supplied to, the usual display
The smaller user of window is very hard using this pattern progress video-see, and when video resolution is smaller, use full screen mode
Formula can so that picture is unintelligible again, it is seen that existing video-see pattern underaction and hommization.
The content of the invention
An embodiment of the present invention provides a kind of video area method of adjustment and terminals, can easily be adjusted when watching video
The size of video area, improves user experience.
An embodiment of the present invention provides a kind of video area method of adjustment, the described method includes:
Receive the adjusting touch command inputted for video playback area in current display interface;
Obtain the target touch-control pressure value suffered by the position of touch corresponding to the adjusting touch command;
According to default adjustment parameter and the mapping relations of touch-control pressure value, it is right with target touch-control pressure value institute to obtain
The target adjustment parameter answered;
According to the target adjustment parameter, the video playback area is adjusted.
Correspondingly, an embodiment of the present invention provides a kind of terminal, the terminal includes:
Instruction reception unit refers to for receiving the adjusting touch-control inputted for video playback area in current display interface
Order;
Pressure value acquiring unit, for obtaining the target touch-control suffered by the position of touch corresponding to the adjusting touch command
Pressure value;
Parameter acquiring unit, for the mapping relations according to default adjustment parameter and touch-control pressure value, obtain with it is described
Target adjustment parameter corresponding to target touch-control pressure value;
Video adjustment unit, for according to the target adjustment parameter, adjusting the video playback area.
The embodiment of the present invention can refer to receiving the adjusting touch-control for video playback area input in current display interface
When making, the target touch-control pressure value suffered by the position of touch adjusted corresponding to touch command is obtained;It can also be according to default
The mapping relations of adjustment parameter and touch-control pressure value obtain and the target adjustment parameter corresponding to the target touch-control pressure value;
And then according to the target adjustment parameter, adjust the video playback area.Video area can be easily adjusted when watching video
The size in domain, improves user experience.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of video area method of adjustment flow diagram provided in an embodiment of the present invention;
Fig. 2 is another video area method of adjustment flow diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of instruction reception unit provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work
Example, belongs to the scope of protection of the invention.
In the specific implementation, the terminal mentioned in the embodiment of the present invention includes but not limited to:Smart mobile phone (such as Android
Mobile phone, IOS mobile phones), tablet computer, laptop, palm PC, mobile internet device (MID, Mobile Internet
Device), the electronic equipments such as wearable intelligent equipment.It should be noted that method described in the invention is by being stored in
One group of code in reservoir performs, which is implemented in the computer system based on von Neumann system.
In the present embodiment, in particular in the terminal with touch display screen, user is in display interface with certain party
Formula (such as long-press, double-click or clicking operation) can obtain user accordingly when touching the video playback area in display interface and touch
A target touch-control pressure value at touching, and then closed according to the mapping of default touch-control pressure value in terminal and default adjustment parameter
System, obtain with the corresponding target adjustment parameter of target touch-control pressure value, and then according to the target adjustment parameter, described in adjustment
Video playback area.To than in the prior art, in such as mobile terminal of smart mobile phone class, the fixation of terminal offer can only be passed through
Video playing is watched in the video playback area of size with the pattern of full frame viewing, and energy is flexible and is easily anticipated according to user
It is willing to go the size of adjustment video playback area, user experience can be improved.
A kind of video area method of adjustment provided in an embodiment of the present invention and terminal are carried out below in conjunction with Fig. 1 to Fig. 4
It specifically describes.
It is a kind of video area method of adjustment flow diagram provided in an embodiment of the present invention, as depicted referring to Fig. 1
Video area method of adjustment may include following steps:
S101 receives the adjusting touch command inputted for video playback area in current display interface.
In the specific implementation, user in terminal display interface video playback area clicked on, double-clicked or grown on time,
User can be considered as, adjusting touch command is inputted to video playback area, when terminal receives the instruction, just perform step
S102 to step S104, to realize the purpose of the size and shape that adjust video playback area.It should be noted that adjust touch-control
Instruction is usually that user is inputted by the input unit (physical keyboard or touch-screen) of terminal.Based on terminal visuality and
The considerations of portability, the mobile terminal nowadays with touch-screen and a small number of physical buttons are more welcome by users, therefore
Menu displaying touch command is based on the touch screen input by mobile terminal.
S102 obtains the target touch-control pressure value suffered by the position of touch adjusted corresponding to touch command.
In the specific implementation, in the terminal with touch screen functionality, the structure of touch-screen includes at least three layers:Screen glass
Layer, touch surface flaggy and display surface flaggy.Wherein screen glass layer is protective layer, and touch surface flaggy is used to perceive the touch of user
Operation, display surface flaggy are used to show image.In order to enable the fuselage of terminal especially mobile terminal is thinner, more attractive, nowadays
Prior art merges touch surface flaggy and display surface flaggy.It, can in order to realize the touch-control pressure value obtained suffered by position of touch
Increase pressure sensor layer in the screen construction of terminal in advance, such terminal can pass through pressure in user's touch display screen
Force sensor layer perceives the dynamics of user's touch display screen.Therefore video playback area can be directed to by touch-screen in user
When input adjusts touch command, while obtain the target touch-control pressure suffered by the position of touch corresponding to the adjusting touch command
Value.
S103 according to default adjustment parameter and the mapping relations of touch-control pressure value, is obtained and the target touch-control pressure
The corresponding target adjustment parameter of value.
In the specific implementation, the adjustment parameter of video playback area includes but not limited to:The long parameter of video playback area, width
Parameter, length scale multiple, width scales multiple, account for screen scale parameter and other can be used to adjusting video playback area size and shape
The parameter of shape.The mapping table of default adjustment parameter and touch-control pressure value can be stored in the terminal in advance, convenient for terminal root
Target adjustment parameter corresponding to quickly being found with target touch-control pressure value according to the mapping table.
In the mapping table of the adjustment parameter and touch-control pressure value, each specific adjustment parameter can correspond specifically to
A certain specific touch-control pressure value forms adjustment parameter and the one-to-one relation of touch-control pressure value.When in this way, need
User is wanted accurately to hold touch-control dynamics, video playback area can just be adjusted to size and shape to oneself satisfaction as early as possible.
Alternatively, each specific adjustment parameter may correspond to the range intervals of a touch-control pressure value, wherein, each touch-control pressure
There is no intersection between the range intervals of force value.(adjustment parameter can be with for example, when adjustment parameter includes long parameter and wide parameter
The expression of (X, Y) form, wherein, X is long parameter, and Y is wide parameter);Predeterminable two touch-control range of pressure values [5N, 7N] and [9N,
11N] it is corresponding with (3cm, 2cm) and (4cm, 3cm) respectively, when representing touch-control pressure value and being located in [5N, 7N], corresponding video is broadcast
The length for putting region is 3cm, width 2cm.When in this way, user only need to probably grasp and the touch-control dynamics that draws oneself up
Size, video playback area can be adjusted to suitable size and shape, more hommization.
S104 according to the target adjustment parameter, adjusts the video playback area.
In the specific implementation, after getting the target adjustment parameter of video playback area, it can be according to the target adjustment parameter
Adjust the size and shape of video playback area so that the amplitude of accommodation of video playback area size or video playback area are most
Whole size and shape matches with target adjustment parameter.
Optionally, target adjustment parameter includes accounting for screen scale parameter, and step S104 may particularly include:The video is adjusted to broadcast
The length and width in region is put, makes length ratio value and width ratio between the video playback area and current display screen
Value is matched with the screen scale parameter that accounts for.
In the specific implementation, the ratio of the length of video playback area and the length of display screen can be specifically referred to by accounting for screen scale parameter
The ratio of the width of the width and display screen of value and video playback area.Also the length of video playback area in itself can be referred specifically to
Ratio between degree and width.It is undistorted and user is made to exist generally for the video image frame that is played in video playback area
There is better visual experience when watching video, account for screen scale parameter and may be configured as the value with certain aesthetic feeling, such as when aobvious
The Aspect Ratio value of display screen is 16:When 9, it can will account for screen scale parameter and (specifically refer to the length of frequency play area in itself herein
Ratio between width) it is also configured as 16:9 or 4:3.
Optionally, before performing step S103, the method further includes:Determine the target touch-control pressure value be more than or
Equal to second threshold.
In the specific implementation, user misoperation in order to prevent, for example, finger has accidentally been touched during viewing video
Video playback area can set a second threshold, when terminal is got suffered by the position of touch adjusted corresponding to touch command
Target touch-control pressure value when being more than or equal to second threshold, just execution step S103;Otherwise terminal is it is thought that maloperation,
The flow described in this programme cannot be continued to execute, electric power resource can be saved.
The embodiment of the present invention can refer to receiving the adjusting touch-control for video playback area input in current display interface
When making, the target touch-control pressure value suffered by the position of touch adjusted corresponding to touch command is obtained;It can also be according to default
The mapping relations of adjustment parameter and touch-control pressure value obtain and the target adjustment parameter corresponding to the target touch-control pressure value;
And then according to the target adjustment parameter, adjust the video playback area.Video can be easily adjusted when watching video to broadcast
The size in region is put, improves user experience.
It is another video area method of adjustment flow diagram provided in an embodiment of the present invention, as shown in the figure referring to Fig. 2
Video area method of adjustment may include following steps:
S201 is detected for during the long-press touch control operation of video playback area, judging the length in current display interface
Whether reach first threshold by the duration of touch control operation.
S202, if so, generating the adjusting touch command of the video playback area according to the long-press touch control operation.
In the specific implementation, when video is not played in full screen, operation common to video playback area has pause and broadcasting
Two kinds, if the video watched using the mobile terminal of touch-screen, to realize that both operations only need to gently click on video playing
Region;And when video is played in full screen, when being operated to video, video playback area pop-up function dish need to be first clicked on
Single, the function choosing-item in reselection function menu is operated, both modes are very convenient and connect by most users
By retaining the custom that existing mode of operation meets current most users.It therefore, in the present embodiment, can be by user to regarding
The long-press touch control operation of frequency play area input is considered as user and inputs adjusting touch command, and the mistake behaviour of user in order to prevent
Make, first threshold can be set, and only the operation just works more than first threshold when the duration of long-press touch control operation, Jin Ersheng
Into the adjusting touch command of video playback area.
S203 obtains the target touch-control pressure value suffered by the position of touch adjusted corresponding to touch command.
In the specific implementation, in the terminal with touch screen functionality, the structure of touch-screen includes at least three layers:Screen glass
Layer, touch surface flaggy and display surface flaggy.Wherein screen glass layer is protective layer, and touch surface flaggy is used to perceive the touch of user
Operation, display surface flaggy are used to show image.In order to enable the fuselage of terminal especially mobile terminal is thinner, more attractive, nowadays
Prior art merges touch surface flaggy and display surface flaggy.It, can in order to realize the touch-control pressure value obtained suffered by position of touch
Increase pressure sensor layer in the screen construction of terminal in advance, such terminal can pass through pressure in user's touch display screen
Force sensor layer perceives the dynamics of user's touch display screen.Therefore touched in user by touching to adjust video playback area input
During control instruction, terminal obtains the target touch-control pressure value suffered by the position of touch corresponding to the adjusting touch command simultaneously.
S204 according to default adjustment parameter and the mapping relations of touch-control pressure value, is obtained and the target touch-control pressure
The corresponding target adjustment parameter of value, the target adjustment parameter include long scaling multiple and/or wide scaling multiple.
In the specific implementation, the mapping table of default adjustment parameter and touch-control pressure value can be stored in the terminal in advance,
Convenient for target adjustment parameter of the terminal according to corresponding to quickly being found with target touch-control pressure value the mapping table.
In the present embodiment, in the mapping table of the adjustment parameter and touch-control pressure value, each specific adjust is joined
Number can correspond specifically to a certain specific touch-control pressure value, form adjustment parameter and the one-to-one relation of touch-control pressure value.It adopts
, it is necessary to which user accurately holds touch-control dynamics when in this way, video playback area can be just adjusted to oneself and be satisfied with as early as possible
Size and shape.
Alternatively, each specific adjustment parameter may correspond to the range intervals of a touch-control pressure value, wherein, each touch-control pressure
There is no intersection between the range intervals of force value.For example, (adjust ginseng when adjustment parameter includes long scaling multiple and wide scaling multiple
Number can (X, Y) form represent, wherein, X is long scaling multiple, and Y is wide scaling multiple);Predeterminable two touch-control pressure values area
Between [5N, 7N] and [9N, 11N] it is corresponding with (0.8,0.8) and (1.1,1.1) respectively, represent touch-control pressure value and be located in [5N, 7N]
When, the long scaling multiple of corresponding video playback area is 0.8 times, and wide scaling multiple is also 0.8 times, is regarded compared with current
Frequently, when scale multiple be less than 1 when, actually when reduce video playback area.When in this way, user only need to probably slap
It holds and the size for the touch-control dynamics that draws oneself up, can obtain and adjust video playback area to suitable size and shape, more
Add hommization.
With the long scaling multiple in the target adjustment parameter, length progress is carried out to the video playback area by S205
Scaling;And/or it with the wide scaling multiple in the target adjustment parameter, contracts to the video playback area into line width
It puts.
Optionally, after performing step S205, the method further includes:If the length of the video playback area after adjustment
Degree is more than the width of current display screen more than the length of current display screen or the width of the video playback area, is regarded by described in
The length and width of frequency play area is adjusted to identical with the length and width of the display screen respectively, so that the video playing
The video frame played in region is completely shown in the display screen.
It in the concrete realization, may be by the big ditty of video playback area during the scaling of video playback area
It is whole to be more than display screen, and during user's viewing video playing, it usually needs watch entire video pictures.Therefore, when detecting
It, can be automatically by screen broadcast area when scaling the length in backsight frequency domain either width being more than the length or width of display screen
The length and width in domain is adjusted to (namely played in full screen pattern) identical with the Length x Width of display screen respectively.
The embodiment of the present invention can carry out long-press touch control operation to video playback area, and the time of touch control operation reaches
The adjusting touch command of video playback area is generated during first threshold, and obtains the mesh suffered by long-press touch control operation corresponding position
Mark touch-control pressure value;And then corresponding target adjustment parameter is obtained according to target touch-control pressure value, wherein, target adjustment parameter bag
Include long scaling multiple and/or wide scaling multiple;Finally according to long scaling multiple and/or wide scaling multiple to video playback area into
Row scaling, easily can be adjusted video playback area in video display process, improve user experience.Except this it
Outside, if the length of video playback area or width are more than display screen after the zooming, by the length and width of video playback area
Degree is adjusted to identical with the length and width of display screen respectively so that the video frame played in video playback area can completely be shown
Into display screen, the scaling that can limit video area avoids the maloperation of user.
Referring to Fig. 3, a kind of structure schematic diagram of terminal knot provided in an embodiment of the present invention, as shown in the figure terminal can at least wrap
It includes:Instruction reception unit 301, pressure value acquiring unit 302, parameter acquiring unit 303 and video adjustment unit 304.
Instruction reception unit 301, for receiving the adjusting touch-control inputted for video playback area in current display interface
Instruction.
In the specific implementation, user in terminal display interface video playback area clicked on, double-clicked or grown on time,
User can be considered as, adjusting touch command is inputted to video playback area, when instruction reception unit 301 receives the instruction, just
It goes to realize by pressure value acquiring unit 302, parameter acquiring unit 303 and video adjustment unit 304 and adjusts video playback area
Size and shape purpose.It should be noted that it is usually input unit (physics of the user by terminal to adjust touch command
Keyboard or touch-screen) input.Based on the considerations of the visuality and portability of terminal, nowadays with touch-screen and a small number of objects
The mobile terminal of reason button is more welcome by users, therefore menu displaying touch command is to pass through the touch-screen of mobile terminal
Based on input.
Further, referring to Fig. 4, Fig. 4 is the structure diagram of instruction reception unit provided in an embodiment of the present invention;Such as figure
The instruction reception unit 301 may include:Operation judges subelement 3101 and instruction generation subelement 3102.
Operation judges subelement 3101, for detecting the long-press touch-control for being directed to video playback area in current display interface
During operation, judge whether the duration of the long-press touch control operation reaches first threshold;
Instruction generation subelement 3102, the judging result for the operation judges subelement are when being, according to the length
The adjusting touch command of the video playback area is generated by touch control operation.
In the specific implementation, when video is not played in full screen, operation common to video playback area has pause and broadcasting
Two kinds, if the video watched using the mobile terminal of touch-screen, to realize that both operations only need to gently click on video playing
Region;And when video is played in full screen, when being operated to video, video playback area pop-up function dish need to be first clicked on
Single, the function choosing-item in reselection function menu is operated, both modes are very convenient and connect by most users
By retaining the custom that existing mode of operation meets current most users.It therefore, in the present embodiment, can be by user to regarding
The long-press touch control operation of frequency play area input is considered as user and inputs adjusting touch command, and the mistake behaviour of user in order to prevent
Make, first threshold can be set, only operation judges subelement 3101 detects that the duration of long-press touch control operation is more than first
The threshold value operation just works, and then instructs the adjusting touch command of the generation generation of subelement 3102 video playback area.
Pressure value acquiring unit 302, for obtaining the target suffered by the position of touch corresponding to the adjusting touch command
Touch-control pressure value.
In the specific implementation, in the terminal with touch screen functionality, the structure of touch-screen includes at least three layers:Screen glass
Layer, touch surface flaggy and display surface flaggy.Wherein screen glass layer is protective layer, and touch surface flaggy is used to perceive the touch of user
Operation, display surface flaggy are used to show image.In order to enable the fuselage of terminal especially mobile terminal is thinner, more attractive, nowadays
Prior art merges touch surface flaggy and display surface flaggy.It, can in order to realize the touch-control pressure value obtained suffered by position of touch
Increase pressure sensor layer in the screen construction of terminal in advance, such terminal can pass through pressure in user's touch display screen
Force sensor layer perceives the dynamics of user's touch display screen.Therefore touched in user by touching to adjust video playback area input
During control instruction, the target that pressure value acquiring unit 302 obtains suffered by the position of touch corresponding to the adjusting touch command simultaneously is touched
Pressure control force value.
Parameter acquiring unit 303, for the mapping relations according to default adjustment parameter and touch-control pressure value, acquisition and institute
State the target adjustment parameter corresponding to target touch-control pressure value.
In the specific implementation, the adjustment parameter of video playback area includes but not limited to:The long parameter of video playback area, width
Parameter, length scale multiple, width scales multiple, account for screen scale parameter and other can be used to adjusting video playback area size and shape
The parameter of shape.The mapping table of default adjustment parameter and touch-control pressure value can be stored in the terminal in advance, obtained convenient for parameter
Take target adjustment parameter of the unit 303 according to corresponding to quickly being found with target touch-control pressure value the mapping table.
In the mapping table of the adjustment parameter and touch-control pressure value, each specific adjustment parameter can correspond specifically to
A certain specific touch-control pressure value forms adjustment parameter and the one-to-one relation of touch-control pressure value.When in this way, need
User is wanted accurately to hold touch-control dynamics, video playback area can just be adjusted to size and shape to oneself satisfaction as early as possible.
Alternatively, each specific adjustment parameter may correspond to the range intervals of a touch-control pressure value, wherein, each touch-control pressure
There is no intersection between the range intervals of force value.(adjustment parameter can be with for example, when adjustment parameter includes long parameter and wide parameter
The expression of (X, Y) form, wherein, X is long parameter, and Y is wide parameter);Predeterminable two touch-control range of pressure values [5N, 7N] and [9N,
11N] it is corresponding with (3cm, 2cm) and (4cm, 3cm) respectively, when representing touch-control pressure value and being located in [5N, 7N], corresponding video is broadcast
The length for putting region is 3cm, width 2cm.When in this way, user only need to probably grasp and the touch-control dynamics that draws oneself up
Size, video playback area can be adjusted to suitable size and shape, more hommization.
Video adjustment unit 304, for according to the target adjustment parameter, adjusting the video playback area.
In the specific implementation, after getting the target adjustment parameter of video playback area, video adjustment unit 304 can basis
The target adjustment parameter adjust video playback area size and shape so that the amplitude of accommodation of video playback area size or
The final size in video playback area and shape match with target adjustment parameter.
Optionally, the target adjustment parameter includes long scaling multiple and/or wide scaling multiple, the video adjustment unit
304 can be specifically used for:With the long scaling multiple in the target adjustment parameter, length progress is carried out to the video playback area
Scaling;And/or it with the wide scaling multiple in the target adjustment parameter, contracts to the video playback area into line width
It puts.
Optionally, if after the video adjustment unit 304 adjusts the video playback area, the video playback area
Length be more than current display screen length or the video playback area width be more than current display screen width, it is described
Video adjustment unit 304 is additionally operable to:The length and width of the video playback area is adjusted to and the display screen respectively
Length and width is identical, so that the video frame played in the video playback area is completely shown in the display screen.
It in the concrete realization, may be by the big ditty of video playback area during the scaling of video playback area
It is whole to be more than display screen, and during user's viewing video playing, it usually needs watch entire video pictures.Therefore, when detecting
It, can be automatically by screen broadcast area when scaling the length in backsight frequency domain either width being more than the length or width of display screen
The length and width in domain is adjusted to (namely played in full screen pattern) identical with the Length x Width of display screen respectively.
Optionally, the target adjustment parameter includes accounting for screen scale parameter, and the video adjustment unit 304 can be used specifically
In:The length and width of the video playback area is adjusted, makes the length between the video playback area and current display screen
Degree ratio value and width ratio value are matched with the screen scale parameter that accounts for.
In the specific implementation, the ratio of the length of video playback area and the length of display screen can be specifically referred to by accounting for screen scale parameter
The ratio of the width of the width and display screen of value and video playback area, can also refer specifically to the length of video playback area in itself
Ratio between degree and width.It is undistorted and user is made to exist generally for the video image frame that is played in video playback area
There is better visual experience when watching video, account for screen scale parameter and may be configured as the value with certain aesthetic feeling, such as when aobvious
The Aspect Ratio value of display screen is 16:When 9, it can will account for screen scale parameter and (specifically refer to the length of frequency play area in itself herein
Ratio between width) it is also configured as 16:9 or 4:3.
Optionally, the terminal further includes:Pressure value determination unit 305, for described in parameter acquiring unit acquisition
Before target adjustment parameter, determine that the target touch-control pressure value is more than or equal to second threshold.
In the specific implementation, user misoperation in order to prevent, for example, finger has accidentally been touched during viewing video
Video playback area can set a second threshold, when pressure value determination unit 305 determines to adjust corresponding to touch command
When target touch-control pressure value suffered by position of touch is more than or equal to second threshold, parameter acquiring unit 303 is just continued through
The adjustment of realization video playback area is gone with video adjustment unit 304;Otherwise terminal is it is thought that maloperation, can save electric power money
Source.
The embodiment of the present invention can be received by instruction reception unit 301 for video playback area in current display interface
The adjusting touch command of input;The touch-control corresponding to the adjusting touch command can be also obtained by pressure value acquiring unit 302
Target touch-control pressure value suffered by position;And then by parameter acquiring unit 303 according to default adjustment parameter and touch-control pressure
The mapping relations of value obtain and the target adjustment parameter corresponding to the target touch-control pressure value;It is adjusted finally by video single
Member 304 adjusts the video playback area according to the target adjustment parameter.Video area can be easily adjusted when watching video
The size in domain, improves user experience.
For foregoing each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions,
But those skilled in the art should know, the application and from the limitation of described sequence of movement, because according to the application,
Certain some step may be employed other orders or be carried out at the same time.Secondly, those skilled in the art should also know, in specification
Described embodiment belongs to preferred embodiment, necessary to involved action and unit not necessarily the application.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, abbreviation RAM) etc..
A kind of video area method of adjustment disclosed by the embodiments of the present invention and terminal are described in detail above, more than
Disclosed is only present pre-ferred embodiments, cannot limit the interest field of the present invention with this certainly, therefore according to this
The equivalent variations that invention claim is made, are still within the scope of the present invention.
Claims (7)
1. a kind of video area method of adjustment, which is characterized in that including:
Receive the adjusting touch command inputted for video playback area in current display interface;
Obtain the target touch-control pressure value suffered by the position of touch corresponding to the adjusting touch command;
Determine that the target touch-control pressure value is more than or equal to second threshold;
According to the mapping relations of default adjustment parameter and touch-control pressure value, obtain with corresponding to the target touch-control pressure value
Target adjustment parameter;
According to the target adjustment parameter, the video playback area is adjusted;
Wherein, the target adjustment parameter includes long scaling multiple and/or wide scaling multiple, described adjusted according to the target are joined
Number, adjusting the video playback area includes:With the long scaling multiple in the target adjustment parameter, to the video playing area
Domain carries out length and zooms in and out;And/or with the wide scaling multiple in the target adjustment parameter, to the video playback area
It is zoomed in and out into line width;
Alternatively,
The target adjustment parameter includes accounting for screen scale parameter, described according to the target adjustment parameter, adjusts the video and broadcasts
Putting region includes:The length and width of the video playback area is adjusted, makes the video playback area and current display screen
Between length ratio value and width ratio value with it is described account for screen scale parameter match.
2. according to the method described in claim 1, it is characterized in that, if the length of the video playback area is more than after adjustment
The length of current display screen or the width of the video playback area are more than the width of current display screen, and the method is also wrapped
It includes:
The length and width of the video playback area is adjusted to identical with the length and width of the display screen respectively, so that
The video frame played in the video playback area is completely shown in the display screen.
3. according to claim 1-2 any one of them methods, which is characterized in that the reception, which is directed in current display interface, to be regarded
The adjusting touch command of frequency play area input includes:
It detects for during the long-press touch control operation of video playback area, judging the long-press touch control operation in current display interface
Duration whether reach first threshold;
If so, the adjusting touch command of the video playback area is generated according to the long-press touch control operation.
4. a kind of terminal, which is characterized in that the terminal includes:
Instruction reception unit, for receiving the adjusting touch command inputted for video playback area in current display interface;
Pressure value acquiring unit, for obtaining the target touch-control pressure suffered by the position of touch corresponding to the adjusting touch command
Value;
Parameter acquiring unit for the mapping relations according to default adjustment parameter and touch-control pressure value, obtains and the target
Target adjustment parameter corresponding to touch-control pressure value;
Video adjustment unit, for according to the target adjustment parameter, adjusting the video playback area;
The terminal further includes:Pressure value determination unit, for the parameter acquiring unit obtain the target adjustment parameter it
Before, determine that the target touch-control pressure value is more than or equal to second threshold;
Wherein, the target adjustment parameter includes long scaling multiple and/or wide scaling multiple, the video adjustment unit are specifically used
In:With the long scaling multiple in the target adjustment parameter, length is carried out to the video playback area and is zoomed in and out;And/or
With the wide scaling multiple in the target adjustment parameter, the video playback area is zoomed in and out into line width;
Alternatively,
The target adjustment parameter includes accounting for screen scale parameter, and the video adjustment unit is specifically used for:The video is adjusted to broadcast
The length and width in region is put, makes length ratio value and width ratio between the video playback area and current display screen
Value is matched with the screen scale parameter that accounts for.
5. terminal according to claim 4, which is characterized in that the video adjustment unit is additionally operable to:Adjust the video
After play area, if the length of the video playback area is more than the length of current display screen or the video playback area
Width when being more than the width of current display screen, by the length and width of the video playback area be adjusted to respectively with it is described aobvious
The length and width of display screen is identical, so that the video frame played in the video playback area is completely shown to the display screen
In.
6. according to claim 4-5 any one of them terminals, which is characterized in that described instruction receiving unit includes:
Operation judges subelement, when being directed to the long-press touch control operation of video playback area in current display interface for detecting,
Judge whether the duration of the long-press touch control operation reaches first threshold;
Instruction generation subelement, the judging result for the operation judges subelement are when being, to be grasped according to the long-press touch-control
Make the adjusting touch command of the generation video playback area.
7. a kind of computer read/write memory medium, which is characterized in that the computer read/write memory medium has program stored therein,
For described program for relevant hardware to be instructed, perform claim requires the method described in 1 to 3 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510536515.8A CN105159582B (en) | 2015-08-27 | 2015-08-27 | A kind of video area method of adjustment and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510536515.8A CN105159582B (en) | 2015-08-27 | 2015-08-27 | A kind of video area method of adjustment and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159582A CN105159582A (en) | 2015-12-16 |
CN105159582B true CN105159582B (en) | 2018-05-29 |
Family
ID=54800456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510536515.8A Expired - Fee Related CN105159582B (en) | 2015-08-27 | 2015-08-27 | A kind of video area method of adjustment and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159582B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105760044A (en) * | 2016-01-29 | 2016-07-13 | 深圳天珑无线科技有限公司 | Method and system for rapidly adjusting size of video play frame through pressure touch technology |
CN106201318A (en) * | 2016-07-13 | 2016-12-07 | 乐视控股(北京)有限公司 | Adjust the method for video playback window, device and display terminal |
CN107623798A (en) * | 2016-07-15 | 2018-01-23 | 中兴通讯股份有限公司 | A kind of method and device of video local scale |
CN106791894B (en) * | 2016-11-26 | 2018-08-31 | 广州华多网络科技有限公司 | A kind of method and apparatus playing live video |
CN106843725A (en) * | 2016-12-31 | 2017-06-13 | 广州视声智能科技有限公司 | The control method and device of a kind of touch-screen |
CN109213349A (en) * | 2017-06-30 | 2019-01-15 | 北京小米移动软件有限公司 | Exchange method and device, computer readable storage medium based on touch screen |
CN108920089A (en) * | 2018-07-19 | 2018-11-30 | 斑马音乐文化科技(深圳)有限公司 | Requesting song plays display methods, device, program request equipment and storage medium |
CN110083302A (en) * | 2019-04-30 | 2019-08-02 | 维沃移动通信有限公司 | A kind of method, apparatus and terminal executing predetermined registration operation |
CN112243152A (en) * | 2019-07-18 | 2021-01-19 | 深圳Tcl新技术有限公司 | Method for adjusting picture size, intelligent terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101464777A (en) * | 2007-12-19 | 2009-06-24 | 索尼株式会社 | Information processing apparatus, information processing method, and program |
CN104375693A (en) * | 2013-08-12 | 2015-02-25 | Lg电子株式会社 | Terminal and method for controlling the same |
CN104714741A (en) * | 2013-12-11 | 2015-06-17 | 北京三星通信技术研究有限公司 | Method and device for touch operation |
CN104793967A (en) * | 2014-01-22 | 2015-07-22 | 鸿富锦精密工业(深圳)有限公司 | Handheld device and screen starting system and method thereof |
CN104866195A (en) * | 2015-05-27 | 2015-08-26 | 努比亚技术有限公司 | Intelligent browsing method and intelligent browsing terminal |
CN105607793A (en) * | 2014-11-25 | 2016-05-25 | 联想(北京)有限公司 | Window adjusting method and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101319264B1 (en) * | 2010-01-22 | 2013-10-18 | 전자부품연구원 | Method for providing UI according to multi touch pressure and electronic device using the same |
-
2015
- 2015-08-27 CN CN201510536515.8A patent/CN105159582B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101464777A (en) * | 2007-12-19 | 2009-06-24 | 索尼株式会社 | Information processing apparatus, information processing method, and program |
CN104375693A (en) * | 2013-08-12 | 2015-02-25 | Lg电子株式会社 | Terminal and method for controlling the same |
CN104714741A (en) * | 2013-12-11 | 2015-06-17 | 北京三星通信技术研究有限公司 | Method and device for touch operation |
CN104793967A (en) * | 2014-01-22 | 2015-07-22 | 鸿富锦精密工业(深圳)有限公司 | Handheld device and screen starting system and method thereof |
CN105607793A (en) * | 2014-11-25 | 2016-05-25 | 联想(北京)有限公司 | Window adjusting method and electronic equipment |
CN104866195A (en) * | 2015-05-27 | 2015-08-26 | 努比亚技术有限公司 | Intelligent browsing method and intelligent browsing terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105159582A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105159582B (en) | A kind of video area method of adjustment and terminal | |
CN105260109B (en) | A kind of playing speed adjusting method and terminal | |
CN107797658B (en) | Equipment, method and graphic user interface for tactile mixing | |
CN108139863B (en) | For with the equipment, method and graphic user interface of feedback are provided during strength sensitive button interaction | |
CN106933526B (en) | A kind of method, device and mobile terminal of dynamic regulation screen refresh rate | |
CN104903834B (en) | For equipment, method and the graphic user interface in touch input to transition between display output relation | |
JP6211721B2 (en) | Button interaction method, apparatus, program, and recording medium | |
CN106201219B (en) | The quick call method of function of application and system | |
CN109690445A (en) | Special locking mode user interface | |
CN105824693B (en) | A kind of control method that multitask is shown and mobile terminal | |
CN104333449B (en) | A kind of picture time slot scrambling and system | |
CN109219796A (en) | Digital touch on real-time video | |
CN106803993B (en) | Method and device for realizing video branch selection playing | |
CN110096186A (en) | For adjusting the equipment, method and graphic user interface of the appearance of control | |
CN110297594A (en) | Input equipment and user interface interaction | |
CN106462321A (en) | Application menu for video system | |
CN105302458B (en) | A kind of message display method and device | |
CN106055301B (en) | A kind of sound volume setting method and mobile terminal | |
US20160103554A1 (en) | Portable apparatus and method for controlling portable apparatus | |
CN107479818B (en) | Information interaction method and mobile terminal | |
CN108829325A (en) | For dynamically adjusting the equipment, method and graphic user interface of the presentation of audio output | |
WO2017032063A1 (en) | Screen switching method and mobile terminal | |
CN109219791A (en) | With the real time, the content of instruction swipes item | |
CN109800045A (en) | A kind of display methods and terminal | |
CN112817443A (en) | Display interface control method, device and equipment based on gestures and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180529 |
|
CF01 | Termination of patent right due to non-payment of annual fee |