CN105159582A - Video region adjusting method and terminal - Google Patents

Video region adjusting method and terminal Download PDF

Info

Publication number
CN105159582A
CN105159582A CN201510536515.8A CN201510536515A CN105159582A CN 105159582 A CN105159582 A CN 105159582A CN 201510536515 A CN201510536515 A CN 201510536515A CN 105159582 A CN105159582 A CN 105159582A
Authority
CN
China
Prior art keywords
touch
video playback
playback area
length
regulating parameter
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
Application number
CN201510536515.8A
Other languages
Chinese (zh)
Other versions
CN105159582B (en
Inventor
李建林
李家达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510536515.8A priority Critical patent/CN105159582B/en
Publication of CN105159582A publication Critical patent/CN105159582A/en
Application granted granted Critical
Publication of CN105159582B publication Critical patent/CN105159582B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention discloses a video region adjusting method and a terminal. The method comprises: receiving an input adjusting touch control instruction for a current display interface in a video play region; obtaining a target touch control pressure value of a touch control position corresponding to the adjusting touch control instruction; according to a mapping relationship between a preset adjusting parameter and a touch control pressure value, obtaining a target adjusting parameter corresponding to the target touch control pressure value; and according to the target adjusting parameter, adjusting the video play area. By adopting the embodiment of the present invention, when the video is watched, the size of video play region can be conveniently adjusted, so that the user experience is improved.

Description

A kind of video area method of adjustment and terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of video area method of adjustment and terminal.
Background technology
Along with the development of the communication technology, people can be made a phone call by mobile terminal, send short messages, and greatly facilitate the work of people, study and amusement, make it to become a part indispensable in people's daily life.For the portability of mobile terminal and the consideration of gripping sense, the display screen of mobile terminal is not too large, therefore, usual user is when using mobile terminal viewing video, the video display window watching mode of the full frame watching mode of user or fixed size can be supplied to, usually the less user of this display window to use this pattern to carry out video-see very hard, and when video resolution is less, use screen mode toggle that picture can be made again unintelligible, visible existing video-see pattern underaction and hommization.
Summary of the invention
Embodiments provide a kind of video area method of adjustment and terminal, the size of video area can be adjusted when watching video easily, improve Consumer's Experience.
Embodiments provide a kind of video area method of adjustment, described method comprises:
Receive the adjustment touch command for video playback area input in current display interface;
Obtain the target touch-control force value suffered by position of touch corresponding to described adjustment touch command;
According to the mapping relations of regulating parameter and the touch-control force value preset, obtain and target regulating parameter corresponding to described target touch-control force value;
According to described target regulating parameter, adjust described video playback area.
Accordingly, embodiments provide a kind of terminal, described terminal comprises:
Instruction reception unit, for receiving the adjustment touch command for video playback area input in current display interface;
Force value acquiring unit, for obtaining the target touch-control force value suffered by the position of touch corresponding to described adjustment touch command;
Parameter acquiring unit, for the mapping relations according to the regulating parameter preset and touch-control force value, obtains and the target regulating parameter corresponding to described target touch-control force value;
Video adjustment unit, for according to described target regulating parameter, adjusts described video playback area.
The embodiment of the present invention, when receiving the adjustment touch command of video playback area input in for current display interface, can obtain the target touch-control force value suffered by position of touch corresponding to described adjustment touch command; Also can according to the mapping relations of regulating parameter and the touch-control force value preset, obtain and target regulating parameter corresponding to described target touch-control force value; And then according to described target regulating parameter, adjust described video playback area.The size of video area can be adjusted when watching video easily, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of video area method of adjustment schematic flow sheet that the embodiment of the present invention provides;
Fig. 2 is the another kind of video area method of adjustment schematic flow sheet that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the instruction reception unit that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In specific implementation, terminal mentioned in the embodiment of the present invention includes but not limited to: the electronic equipment such as smart mobile phone (as Android phone, IOS mobile phone), panel computer, notebook computer, palm PC, mobile internet device (MID, MobileInternetDevice), wearable intelligent equipment.It should be noted that, method described in the invention is performed by the one group of code stored in memory, and this code is executed in the computer system based on von Neumann system.
In the present embodiment, especially for having in the terminal of touch display screen, user can obtain the target touch-control force value at user touch point place accordingly when (such as long by, double-click or clicking operation) touches in display interface video playback area in a specific way at display interface, and then according to the mapping relations of the touch-control force value preset in terminal with the regulating parameter preset, obtain the target regulating parameter corresponding with target touch-control force value, and then according to described target regulating parameter, adjust described video playback area.In contrast prior art, in the mobile terminal of such as smart mobile phone class, the video playback area of the fixed size that can only be provided by terminal or with the pattern of full frame viewing viewing video playback, can go according to user intention the size adjusting video playback area flexibly and easily, can Consumer's Experience be improved.
A kind of video area method of adjustment provided the embodiment of the present invention below in conjunction with Fig. 1 to Fig. 4 and terminal are specifically described.
See Fig. 1, be a kind of video area method of adjustment schematic flow sheet that the embodiment of the present invention provides, video area method of adjustment as shown in the figure can comprise the following steps:
S101, receives the adjustment touch command for video playback area input in current display interface.
In specific implementation, user clicks video playback area in terminal demonstration interface, double-click or grow on time, just can be considered that user regulates touch command to video playback area input, when terminal receives this instruction, just step S102 is performed to step S104, to realize regulating the size of video playback area and the object of shape.It should be noted that, regulating touch command to be generally, user inputted by the input media (physical keyboard or touch-screen) of terminal.Based on the visuality of terminal and the consideration of portability, nowadays have the mobile terminal of touch-screen and minority physical button more by the welcome of users, therefore menu displaying touch command is input as master with the touch-screen by mobile terminal.
S102, obtains the target touch-control force value suffered by position of touch corresponding to described adjustment touch command.
In specific implementation, in the terminal with touch screen functionality, the structure of its touch-screen comprises at least three layers: screen glass layer, touch surface flaggy and display surface flaggy.Wherein screen glass layer is protective seam, and touch panel layer is used for the touch operation of perception user, and display surface flaggy is for showing image.In order to make the fuselage of terminal especially mobile terminal thinner, more attractive in appearance, nowadays prior art makes touch surface flaggy and display surface flaggy merge.In order to realize obtaining the touch-control force value suffered by position of touch, can increase pressure transducer layer in advance in the screen construction of terminal, such terminal just can when user's touch display screen, by the dynamics of pressure transducer layer perception user touch display screen.Therefore just when user regulates touch command by touch-screen for video playback area input, this target touch-control force value suffered by position of touch corresponding to adjustment touch command can be obtained simultaneously.
S103, according to the mapping relations of regulating parameter and the touch-control force value preset, obtains and target regulating parameter corresponding to described target touch-control force value.
In specific implementation, the regulating parameter of video playback area includes but not limited to: the long parameter of video playback area, wide parameter, long convergent-divergent multiple, wide convergent-divergent multiple, account for screen scale parameter and other can in order to regulate the parameter of video playback area size and shape.The mapping relations table of default regulating parameter and touch-control force value can be stored in advance in the terminal, be convenient to terminal according to this mapping relations table fast finding to the target regulating parameter corresponding to target touch-control force value.
In the mapping relations table of this regulating parameter and touch-control force value, each concrete regulating parameter specifically can correspond to a certain concrete touch-control force value, forms regulating parameter and touch-control force value relation one to one.When adopting in this way, need user to hold touch-control dynamics accurately, just video playback area can be adjusted to oneself satisfied size and shape as early as possible.
Or each concrete regulating parameter may correspond to the range intervals in a touch-control force value, wherein, do not occur simultaneously between the range intervals of each touch-control force value.Such as, when regulating parameter comprises long parameter and wide parameter (regulating parameter can (X, Y) form represent, wherein, X is long parameter, and Y is wide parameter); Predeterminable two touch-control range of pressure values [5N, 7N] and [9N, 11N] respectively with (3cm, 2cm) corresponding with (4cm, 3cm), represent touch-control force value and be positioned at [5N, 7N] in time, the length of corresponding video playback area is 3cm, and width is 2cm.When adopting in this way, user only needs probably to grasp and the size of the touch-control dynamics that draws oneself up, and just video playback area can be adjusted to suitable size and shape, hommization more.
S104, according to described target regulating parameter, adjusts described video playback area.
In specific implementation, after getting the target regulating parameter of video playback area, the size of video playback area and shape can be regulated according to this target regulating parameter, the final size of the amplitude of accommodation of video playback area size or video playback area and shape and target regulating parameter are matched.
Optionally, target regulating parameter comprises and accounts for screen scale parameter, step S104 can specifically comprise: the length and the width that regulate described video playback area, makes the length ratio value between described video playback area with current display screen and width ratio value shield scale parameter mate with described accounting for.
In specific implementation, account for the ratio that screen scale parameter specifically can refer to the length of video playback area and the length of display screen, and the ratio of the width of video playback area and the width of display screen.Also the ratio between the length of video playback area itself and width can specifically be referred to.Generally for the video frame image play in video playback area undistorted, and make user have better visual experience when watching video, account for the value that screen scale parameter can be set to have certain aesthetic feeling, such as when the Aspect Ratio value of display screen is 16:9, also can be set to 16:9 or 4:3 by accounting for screen scale parameter (specifically referring to the ratio between the length of play area frequently itself and width here).
Optionally, before performing step S103, described method also comprises: determine that described target touch-control force value is greater than or equal to Second Threshold.
In specific implementation, in order to prevent user misoperation, such as, point in viewing video process and touched video playback area because of carelessness, a Second Threshold can be set, when terminal get regulate the target touch-control force value suffered by the position of touch corresponding to touch command to be greater than or equal to Second Threshold time, just execution step S103; Otherwise terminal thinks that this is maloperation, can not continue to perform the flow process described in this programme, can conservation of power resource.
The embodiment of the present invention, when receiving the adjustment touch command of video playback area input in for current display interface, can obtain the target touch-control force value suffered by position of touch corresponding to described adjustment touch command; Also can according to the mapping relations of regulating parameter and the touch-control force value preset, obtain and target regulating parameter corresponding to described target touch-control force value; And then according to described target regulating parameter, adjust described video playback area.The size of video playback area can be adjusted when watching video easily, improve Consumer's Experience.
See Fig. 2, be the another kind of video area method of adjustment schematic flow sheet that the embodiment of the present invention provides, video area method of adjustment as shown in the figure can comprise the following steps:
S201, when detecting that length for video playback area in current display interface is by touch control operation, judges whether described length reaches first threshold by the duration of touch control operation.
S202, if so, generates the adjustment touch command of described video playback area by touch control operation according to described length.
In specific implementation, when video is not played in full screen, has the operation that video playback area is conventional and suspend and play two kinds, if use the video of the mobile terminal viewing of touch-screen, these two kinds operations be realized and only need click video playback area gently; And when video is played in full screen, when will operate video, first video playback area ejection function menu need be clicked, function choosing-item again in selection function menu operates, these two kinds of modes are very convenient and accepted by most of user, retain the custom that existing mode of operation meets current most of user.Therefore, in the present embodiment, user can be considered as user to the length that video playback area inputs by touch control operation and input adjustment touch command, and in order to prevent the maloperation of user, can first threshold be set, only have and exceed this operation of first threshold just onset when long by the duration of touch control operation, and then the adjustment touch command of generating video play area.
S203, obtains the target touch-control force value suffered by position of touch corresponding to described adjustment touch command.
In specific implementation, in the terminal with touch screen functionality, the structure of its touch-screen comprises at least three layers: screen glass layer, touch surface flaggy and display surface flaggy.Wherein screen glass layer is protective seam, and touch panel layer is used for the touch operation of perception user, and display surface flaggy is for showing image.In order to make the fuselage of terminal especially mobile terminal thinner, more attractive in appearance, nowadays prior art makes touch surface flaggy and display surface flaggy merge.In order to realize obtaining the touch-control force value suffered by position of touch, can increase pressure transducer layer in advance in the screen construction of terminal, such terminal just can when user's touch display screen, by the dynamics of pressure transducer layer perception user touch display screen.Therefore, when user regulates touch command by touching to video playback area input, terminal obtains this target touch-control force value suffered by position of touch corresponding to adjustment touch command simultaneously.
S204, according to the mapping relations of regulating parameter and the touch-control force value preset, obtain and target regulating parameter corresponding to described target touch-control force value, described target regulating parameter comprises long convergent-divergent multiple and/or wide convergent-divergent multiple.
In specific implementation, the mapping relations table of default regulating parameter and touch-control force value can be stored in advance in the terminal, be convenient to terminal according to this mapping relations table fast finding to the target regulating parameter corresponding to target touch-control force value.
In the present embodiment, in the mapping relations table of this regulating parameter and touch-control force value, each concrete regulating parameter specifically can correspond to a certain concrete touch-control force value, forms regulating parameter and touch-control force value relation one to one.When adopting in this way, need user to hold touch-control dynamics accurately, just video playback area can be adjusted to oneself satisfied size and shape as early as possible.
Or each concrete regulating parameter may correspond to the range intervals in a touch-control force value, wherein, do not occur simultaneously between the range intervals of each touch-control force value.Such as, when regulating parameter comprises long convergent-divergent multiple and wide convergent-divergent multiple (regulating parameter can (X, Y) form represent, wherein, X is long convergent-divergent multiple, and Y is wide convergent-divergent multiple); Predeterminable two touch-control force value interval [5N, 7N] and [9N, 11N] respectively with (0.8,0.8) and (1.1,1.1) corresponding, represent touch-control force value when being positioned in [5N, 7N], the long convergent-divergent multiple of corresponding video playback area is 0.8 times, wide convergent-divergent multiple is also 0.8 times, relative to current video, when convergent-divergent multiple is less than 1, time in fact, reduce video playback area.When adopting in this way, user only needs probably to grasp and the size of the touch-control dynamics that draws oneself up, and just can obtain and video playback area is adjusted to suitable size and shape, hommization more.
S205, with the long convergent-divergent multiple in described target regulating parameter, carries out length to described video playback area and carries out convergent-divergent; And/or with the wide convergent-divergent multiple in described target regulating parameter, width is carried out to described video playback area and carries out convergent-divergent.
Optionally, after performing step S205, described method also comprises: if the width of length or described video playback area that the length of described video playback area is greater than current display screen is greater than the width of current display screen after adjustment, the length of described video playback area and width are adjusted to identical with width with the length of described display screen respectively, and to make, the frame of video play in described video playback area is complete to be shown in described display screen.
In specific implementation, in the convergent-divergent process of video playback area, may the size of video playback area be adjusted be greater than display screen, and when user watches video playback, usually need to watch whole video pictures.Therefore, when length or width that convergent-divergent rear video region detected are greater than length or the width of display screen, just can automatically the length of screen play area and width be adjusted to identical with the Length x Width of display screen (namely played in full screen pattern) respectively.
The embodiment of the present invention, can grow by touch control operation video playback area, and the adjustment touch command of generating video play area when the time of touch control operation reaches first threshold, and obtain long target touch-control force value of pressing suffered by touch control operation corresponding position; And then obtain corresponding target regulating parameter according to target touch-control force value, wherein, target regulating parameter comprises long convergent-divergent multiple and/or wide convergent-divergent multiple; Finally according to long convergent-divergent multiple and/or wide convergent-divergent multiple, convergent-divergent is carried out to video playback area, can adjust video playback area easily in video display process, improve Consumer's Experience.In addition, if when the length of video playback area or width are greater than display screen after the zooming, the length of video playback area and width are adjusted to identical with width with the length of display screen respectively, make the frame of video play in video playback area to be completely shown in display screen, the convergent-divergent that can limit video area avoids the maloperation of user.
See Fig. 3, the structure schematic diagram of a kind of terminal knot that the embodiment of the present invention provides, terminal at least can comprise as shown in the figure: instruction reception unit 301, force value acquiring unit 302, parameter acquiring unit 303 and video adjustment unit 304.
Instruction reception unit 301, for receiving the adjustment touch command for video playback area input in current display interface.
In specific implementation, user clicks video playback area in terminal demonstration interface, double-click or grow on time, just can be considered that user regulates touch command to video playback area input, when instruction reception unit 301 receives this instruction, just go to realize regulating the size of video playback area and the object of shape by force value acquiring unit 302, parameter acquiring unit 303 and video adjustment unit 304.It should be noted that, regulating touch command to be generally, user inputted by the input media (physical keyboard or touch-screen) of terminal.Based on the visuality of terminal and the consideration of portability, nowadays have the mobile terminal of touch-screen and minority physical button more by the welcome of users, therefore menu displaying touch command is input as master with the touch-screen by mobile terminal.
Further, see Fig. 4, Fig. 4 be the structural representation of the instruction reception unit that the embodiment of the present invention provides; Instruction reception unit 301 as described in Figure can comprise: operation judges subelement 3101 and instruction generate subelement 3102.
Operation judges subelement 3101, during for detecting that length for video playback area in current display interface is by touch control operation, judges whether described length reaches first threshold by the duration of touch control operation;
Instruction generates subelement 3102, during for the judged result of described operation judges subelement for being, generates the adjustment touch command of described video playback area according to described length by touch control operation.
In specific implementation, when video is not played in full screen, has the operation that video playback area is conventional and suspend and play two kinds, if use the video of the mobile terminal viewing of touch-screen, these two kinds operations be realized and only need click video playback area gently; And when video is played in full screen, when will operate video, first video playback area ejection function menu need be clicked, function choosing-item again in selection function menu operates, these two kinds of modes are very convenient and accepted by most of user, retain the custom that existing mode of operation meets current most of user.Therefore, in the present embodiment, user can be considered as user to the length that video playback area inputs by touch control operation and input adjustment touch command, and in order to prevent the maloperation of user, can first threshold be set, length exceedes this operation of first threshold just onset by the duration of touch control operation to only have operation judges subelement 3101 to detect, and then instruction generates the adjustment touch command of subelement 3102 generating video play area.
Force value acquiring unit 302, for obtaining the target touch-control force value suffered by the position of touch corresponding to described adjustment touch command.
In specific implementation, in the terminal with touch screen functionality, the structure of its touch-screen comprises at least three layers: screen glass layer, touch surface flaggy and display surface flaggy.Wherein screen glass layer is protective seam, and touch panel layer is used for the touch operation of perception user, and display surface flaggy is for showing image.In order to make the fuselage of terminal especially mobile terminal thinner, more attractive in appearance, nowadays prior art makes touch surface flaggy and display surface flaggy merge.In order to realize obtaining the touch-control force value suffered by position of touch, can increase pressure transducer layer in advance in the screen construction of terminal, such terminal just can when user's touch display screen, by the dynamics of pressure transducer layer perception user touch display screen.Therefore, when user regulates touch command by touching to video playback area input, force value acquiring unit 302 obtains this target touch-control force value suffered by position of touch corresponding to adjustment touch command simultaneously.
Parameter acquiring unit 303, for the mapping relations according to the regulating parameter preset and touch-control force value, obtains and the target regulating parameter corresponding to described target touch-control force value.
In specific implementation, the regulating parameter of video playback area includes but not limited to: the long parameter of video playback area, wide parameter, long convergent-divergent multiple, wide convergent-divergent multiple, account for screen scale parameter and other can in order to regulate the parameter of video playback area size and shape.The mapping relations table of default regulating parameter and touch-control force value can be stored in advance in the terminal, be convenient to parameter acquiring unit 303 according to this mapping relations table fast finding to the target regulating parameter corresponding to target touch-control force value.
In the mapping relations table of this regulating parameter and touch-control force value, each concrete regulating parameter specifically can correspond to a certain concrete touch-control force value, forms regulating parameter and touch-control force value relation one to one.When adopting in this way, need user to hold touch-control dynamics accurately, just video playback area can be adjusted to oneself satisfied size and shape as early as possible.
Or each concrete regulating parameter may correspond to the range intervals in a touch-control force value, wherein, do not occur simultaneously between the range intervals of each touch-control force value.Such as, when regulating parameter comprises long parameter and wide parameter (regulating parameter can (X, Y) form represent, wherein, X is long parameter, and Y is wide parameter); Predeterminable two touch-control range of pressure values [5N, 7N] and [9N, 11N] respectively with (3cm, 2cm) corresponding with (4cm, 3cm), represent touch-control force value and be positioned at [5N, 7N] in time, the length of corresponding video playback area is 3cm, and width is 2cm.When adopting in this way, user only needs probably to grasp and the size of the touch-control dynamics that draws oneself up, and just video playback area can be adjusted to suitable size and shape, hommization more.
Video adjustment unit 304, for according to described target regulating parameter, adjusts described video playback area.
In specific implementation, after getting the target regulating parameter of video playback area, video adjustment unit 304 can regulate the size of video playback area and shape according to this target regulating parameter, and the final size of the amplitude of accommodation of video playback area size or video playback area and shape and target regulating parameter are matched.
Optionally, described target regulating parameter comprises long convergent-divergent multiple and/or wide convergent-divergent multiple, and described video adjustment unit 304 can be specifically for: with the long convergent-divergent multiple in described target regulating parameter, carry out length carry out convergent-divergent to described video playback area; And/or with the wide convergent-divergent multiple in described target regulating parameter, width is carried out to described video playback area and carries out convergent-divergent.
Optionally, if after described video adjustment unit 304 adjusts described video playback area, the width of length or described video playback area that the length of described video playback area is greater than current display screen is greater than the width of current display screen, described video adjustment unit 304 also for: the length of described video playback area and width are adjusted to identical with width with the length of described display screen respectively, and to make, the frame of video play in described video playback area is complete to be shown in described display screen.
In specific implementation, in the convergent-divergent process of video playback area, may the size of video playback area be adjusted be greater than display screen, and when user watches video playback, usually need to watch whole video pictures.Therefore, when length or width that convergent-divergent rear video region detected are greater than length or the width of display screen, just can automatically the length of screen play area and width be adjusted to identical with the Length x Width of display screen (namely played in full screen pattern) respectively.
Optionally, described target regulating parameter comprises and accounts for screen scale parameter, described video adjustment unit 304 can be specifically for: the length and the width that regulate described video playback area, makes the length ratio value between described video playback area with current display screen and width ratio value shield scale parameter mate with described accounting for.
In specific implementation, account for the ratio that screen scale parameter specifically can refer to the length of video playback area and the length of display screen, and the ratio of the width of video playback area and the width of display screen, also specifically can refer to the ratio between the length of video playback area itself and width.Generally for the video frame image play in video playback area undistorted, and make user have better visual experience when watching video, account for the value that screen scale parameter can be set to have certain aesthetic feeling, such as when the Aspect Ratio value of display screen is 16:9, also can be set to 16:9 or 4:3 by accounting for screen scale parameter (specifically referring to the ratio between the length of play area frequently itself and width here).
Optionally, described terminal also comprises: force value determining unit 305, before obtaining described target regulating parameter, determines that described target touch-control force value is greater than or equal to Second Threshold for described parameter acquiring unit.
In specific implementation, in order to prevent user misoperation, such as, point in viewing video process and touched video playback area because of carelessness, a Second Threshold can be set, when force value determining unit 305 is determined to regulate the target touch-control force value suffered by the position of touch corresponding to touch command to be greater than or equal to Second Threshold, just continue through the adjustment that parameter acquiring unit 303 and video adjustment unit 304 go to realize video playback area; Otherwise terminal thinks that this is maloperation, can conservation of power resource.
The embodiment of the present invention, receives the adjustment touch command for video playback area input in current display interface by instruction reception unit 301; Also by target touch-control force value that force value acquiring unit 302 obtains corresponding to described adjustment touch command suffered by position of touch; And then by the mapping relations of parameter acquiring unit 303 according to regulating parameter and the touch-control force value preset, obtain and target regulating parameter corresponding to described target touch-control force value; Finally by video adjustment unit 304 according to described target regulating parameter, adjust described video playback area.The size of video area can be adjusted when watching video easily, improve Consumer's Experience.
For each embodiment of the method aforesaid, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, certain some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and unit might not be that the application is necessary.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random access memory (RandomAccessMemory is called for short RAM) etc.
Above a kind of video area method of adjustment disclosed in the embodiment of the present invention and terminal are described in detail, above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, therefore according to the equivalent variations that the claims in the present invention are done, the scope that the present invention is contained still is belonged to.

Claims (12)

1. a video area method of adjustment, is characterized in that, comprising:
Receive the adjustment touch command for video playback area input in current display interface;
Obtain the target touch-control force value suffered by position of touch corresponding to described adjustment touch command;
According to the mapping relations of regulating parameter and the touch-control force value preset, obtain and target regulating parameter corresponding to described target touch-control force value;
According to described target regulating parameter, adjust described video playback area.
2. method according to claim 1, is characterized in that, described target regulating parameter comprises long convergent-divergent multiple and/or wide convergent-divergent multiple, described according to described target regulating parameter, adjusts described video playback area and comprises:
With the long convergent-divergent multiple in described target regulating parameter, length is carried out to described video playback area and carries out convergent-divergent; And/or
With the wide convergent-divergent multiple in described target regulating parameter, width is carried out to described video playback area and carries out convergent-divergent.
3. method according to claim 2, is characterized in that, if the width of length or described video playback area that the length of described video playback area is greater than current display screen is greater than the width of current display screen after adjustment, described method also comprises:
The length of described video playback area and width are adjusted to identical with width with the length of described display screen respectively, and to make, the frame of video play in described video playback area is complete to be shown in described display screen.
4. method according to claim 1, is characterized in that, described target regulating parameter comprises and accounts for screen scale parameter, described according to described target regulating parameter, adjusts described video playback area and comprises:
Regulate length and the width of described video playback area, make the length ratio value between described video playback area with current display screen and width ratio value shield scale parameter mate with described accounting for.
5. the method according to any one of claim 1-4, is characterized in that, described reception comprises for the adjustment touch command of video playback area input in current display interface:
When detecting that length for video playback area in current display interface is by touch control operation, judge whether described length reaches first threshold by the duration of touch control operation;
If so, generate the adjustment touch command of described video playback area by touch control operation according to described length.
6. the method according to any one of claim 1-4, is characterized in that, the mapping relations of the regulating parameter that described basis is preset and touch-control force value, obtain with target regulating parameter corresponding to described target touch-control force value before, described method also comprises:
Determine that described target touch-control force value is greater than or equal to Second Threshold.
7. a terminal, is characterized in that, described terminal comprises:
Instruction reception unit, for receiving the adjustment touch command for video playback area input in current display interface;
Force value acquiring unit, for obtaining the target touch-control force value suffered by the position of touch corresponding to described adjustment touch command;
Parameter acquiring unit, for the mapping relations according to the regulating parameter preset and touch-control force value, obtains and the target regulating parameter corresponding to described target touch-control force value;
Video adjustment unit, for according to described target regulating parameter, adjusts described video playback area.
8. terminal according to claim 7, is characterized in that, described target regulating parameter comprises long convergent-divergent multiple and/or wide convergent-divergent multiple, described video adjustment unit specifically for:
With the long convergent-divergent multiple in described target regulating parameter, length is carried out to described video playback area and carries out convergent-divergent; And/or
With the wide convergent-divergent multiple in described target regulating parameter, width is carried out to described video playback area and carries out convergent-divergent.
9. terminal according to claim 8, it is characterized in that, described video adjustment unit also for: after adjusting described video playback area, if when the width of length or described video playback area that the length of described video playback area is greater than current display screen is greater than the width of current display screen, the length of described video playback area and width are adjusted to identical with width with the length of described display screen respectively, and to make, the frame of video play in described video playback area is complete to be shown in described display screen.
10. terminal according to claim 7, is characterized in that, described target regulating parameter comprises and accounts for screen scale parameter, described video adjustment unit specifically for:
Regulate length and the width of described video playback area, make the length ratio value between described video playback area with current display screen and width ratio value shield scale parameter mate with described accounting for.
11. terminals according to any one of claim 7-10, it is characterized in that, described instruction reception unit comprises:
Operation judges subelement, during for detecting that length for video playback area in current display interface is by touch control operation, judges whether described length reaches first threshold by the duration of touch control operation;
Instruction generates subelement, during for the judged result of described operation judges subelement for being, generates the adjustment touch command of described video playback area according to described length by touch control operation.
12. terminals according to any one of claim 7-10, it is characterized in that, described terminal also comprises:
Force value determining unit, before obtaining described target regulating parameter, determines that described target touch-control force value is greater than or equal to Second Threshold for described parameter acquiring unit.
CN201510536515.8A 2015-08-27 2015-08-27 A kind of video area method of adjustment and terminal Expired - Fee Related CN105159582B (en)

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 true CN105159582A (en) 2015-12-16
CN105159582B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
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
CN106791894A (en) * 2016-11-26 2017-05-31 广州华多网络科技有限公司 A kind of method and apparatus for playing live video
CN106843725A (en) * 2016-12-31 2017-06-13 广州视声智能科技有限公司 The control method and device of a kind of touch-screen
WO2018010549A1 (en) * 2016-07-15 2018-01-18 中兴通讯股份有限公司 Method and device for video local zooming
CN108920089A (en) * 2018-07-19 2018-11-30 斑马音乐文化科技(深圳)有限公司 Requesting song plays display methods, device, program request equipment and storage medium
CN109213349A (en) * 2017-06-30 2019-01-15 北京小米移动软件有限公司 Exchange method and device, computer readable storage medium based on touch screen
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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464777A (en) * 2007-12-19 2009-06-24 索尼株式会社 Information processing apparatus, information processing method, and program
US20120274662A1 (en) * 2010-01-22 2012-11-01 Kun Nyun Kim Method for providing a user interface based on touch pressure, and electronic device using same
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464777A (en) * 2007-12-19 2009-06-24 索尼株式会社 Information processing apparatus, information processing method, and program
US20120274662A1 (en) * 2010-01-22 2012-11-01 Kun Nyun Kim Method for providing a user interface based on touch pressure, and electronic device using same
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

Cited By (10)

* Cited by examiner, † Cited by third party
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
WO2018010549A1 (en) * 2016-07-15 2018-01-18 中兴通讯股份有限公司 Method and device for video local zooming
CN106791894A (en) * 2016-11-26 2017-05-31 广州华多网络科技有限公司 A kind of method and apparatus for playing live video
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

Also Published As

Publication number Publication date
CN105159582B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN105159582A (en) Video region adjusting method and terminal
CN105260109B (en) A kind of playing speed adjusting method and terminal
AU2014208041B2 (en) Portable terminal and method for providing haptic effect to input unit
CN106793046B (en) Screen display adjusting method and mobile terminal
US20180364865A1 (en) Touch control method, user equipment, input processing method, mobile terminal and intelligent terminal
AU2014275609B2 (en) Portable terminal and user interface method in portable terminal
CN105068721A (en) Operation menu display method and terminal
CN110297594A (en) Input equipment and user interface interaction
CN104020936A (en) Terminal and controlling method thereof
CN106325663B (en) Mobile terminal and its screenshotss method
CN104063128B (en) A kind of information processing method and electronic equipment
US20160091979A1 (en) Interactive displaying method, control method and system for achieving displaying of a holographic image
KR102542913B1 (en) Apparatus and method for displaying data in an eletronic device
CN107479818B (en) Information interaction method and mobile terminal
US20150248213A1 (en) Method to enable hard keys of a device from the screen
CN103365541A (en) Window display method and terminal
CN106407027B (en) Information display method of mobile terminal and mobile terminal
US20230269418A1 (en) Video display method, apparatus and storage medium
CN106569708B (en) Method and terminal for realizing pressing simulation display
US20140223328A1 (en) Apparatus and method for automatically controlling display screen density
US10318131B2 (en) Method for scaling down effective display area of screen, and mobile terminal
CN109547623B (en) Interface switching method and device
CN107817927B (en) Application icon management method and device
CN110908580B (en) Method and device for controlling application
CN106155614B (en) Operation information transmission method and electronic equipment

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
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.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180529