Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow diagram of interface zone adjusting method in the embodiment of the present invention, and this method process can be by
Interface zone regulating device is implemented, and the interface zone regulating device can be user terminal or the software for operating in user terminal
Program, the user terminal may include mobile phone, laptop, tablet computer, vehicle-mounted computer, POS (Point Of
Sales, point of sale) machine etc..The method as shown in the figure includes at least:
Step S101, reception interface reduce touch command.
It can be user specifically, interface reduces touch command and click, repeatedly click or long-pressing etc. on the screen of terminal
Operation is also possible to user and preset interface is selected to reduce icon or the interface inputted in preset instruction input frame diminution touching
Control instruction etc..For example, user can click on browser interface three times or long-pressing is to issue interface diminution touch command.Into one
Step ground can reduce touch switch with set interface, and after user opens the switch, terminal then can receive interface diminution touch-control and refer to
It enables and executes subsequent operating procedure.
Step S102 determines that the interface reduces the touch point position of touch command.
Specifically, touch point position can be determined by reducing touch command according to the interface of the user's input received.Tool
Body implement in, if user input interface reduce touch command be user clicked on the screen of terminal, repeatedly click or long-pressing
Deng operation, then terminal can be directly by position when incuding user's click or long-pressing screen as touch point position;If user
It is that preset interface reduces icon or the interface inputted in preset instruction input frame contracting that the interface of input, which reduces touch command,
Small touch command etc., then terminal can pop up prompting frame, prompt user to put a certain position of touching on a terminal screen, then by user
The position of point touching is as touch point position.It, can be with it should be noted that if when user's adopting consecutive click chemical reaction screen and click location difference
Selection wherein subject to the position of one click, using the click location as touch point position, can also take several adopting consecutive click chemical reaction positions
The geometric center set is as touch point position.
Step S103 determines the display position of the interface zone after reducing according to the touch point position.
Specifically, can determine the display of the interface zone after reducing according to the touch point position determined in step S102
Position.In specific implementation, terminal can be using the center of the display position of interface zone of the touch point position as after reducing, can also
With angle, left/right inferior horn in the left/right of the display position of the interface zone using touch point position as after reducing, in up/down edge
The heart or left/right edge center, or even can also be using any of the display position of interface zone of the touch point position as after reducing
Preset position coordinates.
For example, as shown in figure 4, a-quadrant GC group connector screen, dot represent the touch point that user inputs on the screen, if
Using the center of the display position of interface zone of the touch point position as after reducing, then after can determining that B area is reduces in figure
Interface zone display position.In another example as shown in figure 5, the display of the interface zone using touch point position as after reducing
The lower right corner of position can then determine that B area in figure is the display position of the interface zone after reducing.For another example such as Fig. 6 institute
Show, it, then can be with using the center in 1/4 region of preset upper left of the display position of interface zone of the touch point position as after reducing
Determine that B area in figure is the display position of the interface zone after reducing.
Further, terminal can be with pre-determined distance threshold value, if it is detected that on the screen side of touch point positional distance terminal
It, can be according to touch point position, according to other when edge is less than distance threshold and cannot follow above-mentioned display position and determine method
Setting rule is shown, for example, can be by a certain edge of the interface zone after diminution weight corresponding with the display edge of screen
Close, can also directly using preset position as diminution after interface zone display position.
Step S104 shows the interface zone after the diminution according to preset interface dimensions according to the display position.
Specifically, according to the display position of the interface zone after the diminution determined in step S103, it can be according to preset
Interface dimensions accordingly show the interface zone after reducing on determining display position.It should be noted that here preset at
Interface dimensions can be what user pre-selected or adjusted, be also possible to terminal profile, and interface dimensions are not unique.
Optionally, when detecting that touch command is restored at the interface in the interface zone after the diminution, according to display screen
The size of curtain shows the interface zone.
Specifically, terminal can will contract when input interface restores touch command to user in the interface zone after diminution
Interface zone after small reverts to the matched interface zone of size with the display screen of terminal and shows.It should be noted that
Interface reduces touch command and interface and restores touch command and can be consistent in the present embodiment, be also possible to it is inconsistent,
Here it is not especially limited.
The embodiment of the present invention passes through the touch point position that the interface received reduces touch command, determines the interface after reducing
The display position in region, and then according to display position, according to the interface zone after the display diminution of preset interface dimensions, thus just
Interface zone when being hold by one hand is adjusted, and then improves the convenience that interface zone is adjusted.
Fig. 2 is the flow diagram of another embodiment of the present invention median surface region adjusting method, the method as shown in the figure
Include:
Step S201, reception interface reduce touch command.
Specific method can refer to step S101.
Step S202 determines that the interface reduces the touch point position of touch command.
Specific method can refer to step S102.
Step S203 determines the first distance threshold value according to the lateral length of the preset interface dimensions.
Specifically, terminal is according to preset interface dimensions, the lateral length of available interface dimensions, according to the interface ruler
Very little lateral length, the relationship of combination of touch control point position and display position, can determine first distance threshold value.In specific implementation,
If first distance threshold value is then interface ruler using the lower right corner of the display position of interface zone of the touch point position as after reducing
The overall length of very little lateral length or 0;If using the preset of the display position of interface zone of the touch point position as after reducing
The center in 1/4 region of upper left, then first distance threshold value is then the 1/4 or 3/4 of the lateral length of interface dimensions.
It in the present embodiment, can be using the center of the display position of interface zone of the touch point position as after reducing, then
First distance threshold value is then the half of the lateral length of interface dimensions.
It is default to judge whether the lateral distance of the longitudinal edge of the touch point position and display screen is less than by step S204
First distance threshold value.
Specifically, after determining touch point position, it is available to touch point position and the longitudinal edge for showing screen
Lateral distance, for example, the length of d1 or d2 as shown in Figure 7.By the transverse direction of touch point position and the longitudinal edge of display screen
Distance and preset first distance threshold value comparison, judge touch point position and show screen longitudinal edge lateral distance whether
Less than preset first distance threshold value.
In the present embodiment, it can be determined that whether the length of d1 or d2 shown in Fig. 7 are less than the lateral length of interface dimensions
Half, that is, d3 length.
Step S205, if determining the diminution according to the touch point position not less than preset first distance threshold value
The center of the display position of interface zone afterwards.
Specifically, if step S204 judges to obtain touch point position and the lateral distance for the longitudinal edge for showing screen is not small
It, then can be using the center of the display position of interface zone of the touch point position as after reducing in first distance threshold value.
Step S206 shows the boundary after the diminution according to preset interface dimensions according to the center of the display position
Face region.
Specifically, can determine display position according to the center of display position, it can then proceed in preset interface dimensions
The interface zone after reducing accordingly is shown on determining display position.For example, as shown in figure 4, a-quadrant GC group connector screen
Curtain, dot represent the touch point that user inputs on the screen, using the display position of interface zone of the touch point position as after reducing
The center set can then determine that B area in figure is the display position of the interface zone after reducing, show in B area present position
Interface zone after diminution.
Step S207, if be less than preset first distance threshold value, the longitudinal edge of the interface zone after the diminution with
The longitudinal edge of the display screen is corresponding to be overlapped.
Specifically, when the step S204 lateral distance for judging to obtain the longitudinal edge of touch point position and display screen is less than
When first distance threshold value, the longitudinal edge of the interface zone after diminution is corresponding with the display longitudinal edge of screen to be overlapped, that is, if touching
The lateral distance of longitudinal left edge of control point position and display screen is less than first distance threshold value, then the interface zone after reducing
Longitudinal left edge is overlapped with longitudinal left edge of display screen, if the transverse direction of longitudinal right hand edge of touch point position and display screen
Distance is less than first distance threshold value, then longitudinal right hand edge of the interface zone after reducing and longitudinal right hand edge weight of display screen
It closes.
For example, setting first distance threshold value is the overall length or 0 of the lateral length of interface dimensions, when touch point position and show
When the lateral distance of the longitudinal edge of display screen curtain is not less than first distance threshold value, using interface area of the touch point position as after reducing
The upper left corner of the display position in domain;When touch point is fallen on the longitudinal left edge of display screen, then the interface zone after reducing
Longitudinal left edge is overlapped with longitudinal left edge of display screen, when the transverse direction of touch point position and longitudinal right hand edge of display screen
When distance is less than the overall length of the lateral length of interface dimensions, then longitudinal right hand edge and the display screen of the interface zone after reducing
Longitudinal right hand edge is overlapped.
In the present embodiment, the half that the lateral length that first distance threshold value is interface dimensions can be set, works as touch point
When the half for the lateral length that the lateral distance of longitudinal left edge of position and display screen is less than interface dimensions (as shown in fig. 7,
D1 < d3), longitudinal left edge of the interface zone after diminution is overlapped with longitudinal left edge of display screen;When touch point position with
When showing that the lateral distance of longitudinal right hand edge of screen is less than the half of the lateral length of interface dimensions (as shown in fig. 7, d2 <
D3), longitudinal right hand edge of the interface zone after diminution is overlapped with longitudinal right hand edge of display screen.
Further, in the present embodiment, the longitudinal edge of the longitudinal edge of the interface zone after diminution and display screen
, can be using the longitudinal center of interface zone of the touch point position as after reducing while corresponding coincidence, i.e. touch point position is arrived
Two transverse edges of the interface zone after diminution are equidistant.For example, as shown in figure 8, touch point position and display screen
Longitudinal left edge lateral distance be less than interface dimensions lateral length half (d1 < d3), interface zone after diminution
Longitudinal left edge is overlapped with longitudinal left edge of display screen, meanwhile, two of interface zone of the touch point position to after reducing
Transverse edge is equidistant (D1=D2), so that B area present position can show the interface zone after reducing.
It in an alternative embodiment, can also include: to determine described according to the longitudinal length of the preset interface dimensions
Two distance thresholds.
Specifically, terminal is according to preset interface dimensions, the longitudinal length of available interface dimensions, according to the interface ruler
Very little longitudinal length, the relationship of combination of touch control point position and display position, can determine second distance threshold value.In specific implementation,
If second distance threshold value is then interface ruler using the lower right corner of the display position of interface zone of the touch point position as after reducing
The overall length of very little longitudinal length or 0;If using the preset of the display position of interface zone of the touch point position as after reducing
The center in 1/4 region of upper left, then second distance threshold value is then the 1/4 or 3/4 of the longitudinal length of interface dimensions.In optional implementation
Example in, can using touch point position as diminution after interface zone display position center, then second distance threshold value be then
The half of the longitudinal length of interface dimensions.
In turn, can also include: in an alternative embodiment
Judge the touch point position and show screen transverse edge fore-and-aft distance whether be less than preset second away from
From threshold value.
Specifically, after determining touch point position, it is available to touch point position and the transverse edge for showing screen
Fore-and-aft distance, for example, the length of h1 or h2 as shown in Figure 9.By the longitudinal direction of touch point position and the transverse edge of display screen
Distance and preset second distance threshold value comparison, judge touch point position and show screen transverse edge fore-and-aft distance whether
Less than preset second distance threshold value.In an alternative embodiment, it can be determined that whether the length of h1 or h2 shown in Fig. 9 are less than boundary
Half, that is, h3 length of the longitudinal length of face size.
If being not less than preset second distance threshold value, the interface according to the touch point position, after determining the diminution
The center of the display position in region.
Specifically, if judgement obtain touch point position and show screen transverse edge fore-and-aft distance not less than second away from
It, then can be using the center of the display position of interface zone of the touch point position as after reducing from threshold value.Thereby executing step
S206。
If being less than preset second distance threshold value, the transverse edge of the interface zone after the diminution and the display screen
The transverse edge of curtain is corresponding to be overlapped.
Specifically, when the fore-and-aft distance that judgement obtains the transverse edge of touch point position and display screen is less than second distance
When threshold value, the transverse edge of the interface zone after diminution is corresponding with the display transverse edge of screen to be overlapped, that is, if touch point position
It is less than second distance threshold value with the lateral upper edge fore-and-aft distance of display screen, then the lateral upper edge of the interface zone after reducing
Is overlapped with the lateral upper edge of display screen, if the fore-and-aft distance of touch point position and the lateral lower edge for showing screen is less than the
The lateral lower edge of two distance thresholds, the then interface zone after reducing is overlapped with the lateral lower edge of display screen.
For example, setting second distance threshold value is the overall length or 0 of the longitudinal length of interface dimensions, when touch point position and show
When the fore-and-aft distance of the transverse edge of display screen curtain is not less than second distance threshold value, using interface area of the touch point position as after reducing
The upper left corner of the display position in domain;When touch point is fallen in the lateral upper edge of display screen, then the interface zone after reducing
Lateral upper edge is overlapped with the lateral upper edge of display screen, when the longitudinal direction of touch point position and the lateral lower edge of display screen
When distance is less than the overall length of the longitudinal length of interface dimensions, then lateral lower edge and the display screen of the interface zone after reducing
Lateral lower edge is overlapped.
In an alternative embodiment, the half that the longitudinal length that second distance threshold value is interface dimensions can be set, works as touch-control
(such as Fig. 9 when the half for the longitudinal length that the fore-and-aft distance of point position and the vertically and horizontally top edge of display screen is less than interface dimensions
It is shown, h1 < h3), the lateral upper edge of the interface zone after diminution is overlapped with the lateral upper edge of display screen;When touch-control point
(as shown in figure 9, h2 when setting the half for the longitudinal length for being less than interface dimensions with the fore-and-aft distance of the lateral lower edge of display screen
< h3), the lateral lower edge of the interface zone after diminution is overlapped with the lateral lower edge of display screen.
Further, in an alternative embodiment, the widthwise edge of the transverse edge of the interface zone after diminution and display screen
It, can be using the transverse center of interface zone of the touch point position as after reducing, i.e. touch point position while edge corresponds to coincidence
Two longitudinal edges of the interface zone after to diminution are equidistant.For example, as shown in Figure 10, touch point position and display screen
The fore-and-aft distance of the lateral upper edge of curtain is less than the half (h1 < h3) of the longitudinal length of interface dimensions, the interface zone after diminution
Lateral upper edge with display screen lateral upper edge is overlapped, meanwhile, touch point position to diminution after interface zone show
That shows two longitudinal edges of position is equidistant (H1=H2), so that B area present position can show the interface after reducing
Region.
Further, when touch point position and display screen longitudinal edge lateral distance be less than first distance threshold value,
And touch point position and display screen transverse edge fore-and-aft distance be less than second distance threshold value when, then according to above-mentioned correspondence
It is overlapped rule, the longitudinal edge of the interface zone after diminution is corresponding with the display longitudinal edge of screen to be overlapped, and, the boundary after diminution
The transverse edge in face region is corresponding with the display transverse edge of screen to be overlapped, that is, the interface zone after reducing will be in display screen
Corner.
The embodiment of the present invention passes through the touch point position that the interface received reduces touch command, determines the interface after reducing
The display position in region, and then according to display position, according to the interface zone after the display diminution of preset interface dimensions, thus just
Interface zone when being hold by one hand is adjusted, and then improves the convenience that interface zone is adjusted.
Fig. 3 is that a kind of composite structural diagram of interface zone regulating device, described device include: in the embodiment of the present invention
Receiving module 301 reduces touch command for reception interface.
It can be user specifically, interface reduces touch command and click, repeatedly click or long-pressing etc. on the screen of terminal
Operation is also possible to user and preset interface is selected to reduce icon or the interface inputted in preset instruction input frame diminution touching
Control instruction etc..For example, user can click on browser interface three times or long-pressing is to issue interface diminution touch command.Into one
Step ground can reduce touch switch with set interface, and after user opens the switch, receiving module 301 then can receive interface contracting
Small touch command simultaneously executes subsequent operating procedure.
Touch-control module 302, for determining that the interface reduces the touch point position of touch command.
Specifically, the interface that touch-control module 302 is inputted according to the user received, which reduces touch command, can determine to touch
Control point position.In specific implementation, if it is that user clicks, repeatedly on the screen of terminal that the interface of user's input, which reduces touch command,
The operation such as click or long-pressing, then touch-control module 302 can be directly by incuding position conduct when user's click or long-pressing screen
Touch point position;If it is that preset interface reduces icon or in preset instruction input that the interface of user's input, which reduces touch command,
The interface inputted in frame reduces touch command etc., then touch-control module 302 can pop up prompting frame, prompts user on a terminal screen
Point touches a certain position, and the position for then touching user's point is as touch point position.It should be noted that if user's adopting consecutive click chemical reaction screen
Curtain and when click location difference, can choose subject to the wherein position of one click, using the click location as touch point position,
The geometric center of several adopting consecutive click chemical reaction positions can also be taken as touch point position.
Position module 303, for determining the display position of the interface zone after reducing according to the touch point position.
Specifically, can determine the display of the interface zone after reducing according to the touch point position that touch-control module 302 determines
Position.In specific implementation, position module 303 can be using in the display position of interface zone of the touch point position as after reducing
The heart, can also using angle in the left/right of the display position of interface zone of the touch point position as after reducing, left/right inferior horn, it is upper/
Lower edge center or left/right edge center, or even can also be using the display position of interface zone of the touch point position as after reducing
Any preset position coordinates set.
For example, as shown in figure 4, a-quadrant GC group connector screen, dot represent the touch point that user inputs on the screen, if
Using the center of the display position of interface zone of the touch point position as after reducing, then after can determining that B area is reduces in figure
Interface zone display position.In another example as shown in figure 5, the display of the interface zone using touch point position as after reducing
The lower right corner of position can then determine that B area in figure is the display position of the interface zone after reducing.For another example such as Fig. 6 institute
Show, it, then can be with using the center in 1/4 region of preset upper left of the display position of interface zone of the touch point position as after reducing
Determine that B area in figure is the display position of the interface zone after reducing.
Further, position module 303 can be with pre-determined distance threshold value, if it is detected that in touch point positional distance terminal
When screen edge is less than distance threshold and cannot follow above-mentioned display position and determine method, it can be pressed according to touch point position
It is shown according to other setting rules, for example, can be by the edge at a certain edge of the interface zone after diminution and display screen
It is corresponding to be overlapped, display position that can also directly using preset position as the interface zone after diminution.
Optionally, the position module 303 is used for: the interface area according to the touch point position, after determining the diminution
The center of the display position in domain.
Specifically, if judgement obtain touch point position and show screen longitudinal edge lateral distance not less than first away from
Fore-and-aft distance from threshold value or touch point position and the transverse edge of display screen is not less than second distance threshold value, then can be with
Center of the touch point position as the display position of the interface zone after reducing.
Display module 304, for showing the boundary after the diminution according to preset interface dimensions according to the display position
Face region.
Specifically, display position of the display module 304 according to the interface zone after determining diminution, it can be according to preset
Interface dimensions accordingly show the interface zone after reducing on determining display position.It should be noted that here preset at
Interface dimensions can be what user pre-selected or adjusted, be also possible to terminal profile, and interface dimensions are not unique.
Optionally, the display module 304 is used for: according to the center of the display position, according to preset interface dimensions
Interface zone after showing the diminution.
Specifically, can determine display position according to the center of display position, then display module 304 can be according to pre-
If interface dimensions on determining display position accordingly show reduce after interface zone.For example, as shown in figure 4, a-quadrant
GC group connector screen, dot represent the touch point that user inputs on the screen, using interface area of the touch point position as after reducing
The center of the display position in domain can then determine that B area in figure is the display position of the interface zone after reducing, in B area institute
Locate the interface zone after position display is reduced.
First judgment module 305, the lateral distance of the longitudinal edge for judging the touch point position and display screen
Whether preset first distance threshold value is less than.
Specifically, after determining touch point position, it is available to touch point position and the longitudinal edge for showing screen
Lateral distance, for example, the length of d1 or d2 as shown in Figure 7.First judgment module 305 is by touch point position and shows screen
The lateral distance of longitudinal edge and preset first distance threshold value comparison judge touch point position and show the longitudinal edge of screen
Lateral distance whether be less than preset first distance threshold value.In the present embodiment, it can be determined that the length of d1 or d2 shown in Fig. 7
Whether degree is less than half, that is, d3 length of the lateral length of interface dimensions.
First edge module 306, if being used to be less than preset first distance threshold value, the interface zone after the diminution
Longitudinal edge is corresponding with the display longitudinal edge of screen to be overlapped.
Specifically, when the lateral distance that judgement obtains the longitudinal edge of touch point position and display screen is less than first distance
When threshold value, first edge module 306 makes the longitudinal edge of the interface zone after reducing weight corresponding with the display longitudinal edge of screen
It closes, that is, if the lateral distance of longitudinal left edge of touch point and display screen is less than first distance threshold value, the interface after reducing
Longitudinal left edge in region is overlapped with longitudinal left edge of display screen, if the cross of longitudinal right hand edge of touch point and display screen
It is less than first distance threshold value to distance, then longitudinal right hand edge of the interface zone after reducing and longitudinal right hand edge weight of display screen
It closes.
For example, setting first distance threshold value is the overall length or 0 of the lateral length of interface dimensions, when touch point and display screen
When the lateral distance of the longitudinal edge of curtain is not less than first distance threshold value, using interface zone of the touch point position as after reducing
The upper left corner of display position;When touch point fall in display screen longitudinal left edge on, then reduce after interface zone longitudinal direction
Left edge is overlapped with longitudinal left edge of display screen, when the lateral distance of touch point and longitudinal right hand edge of display screen is less than
When the overall length of the lateral length of interface dimensions, then longitudinal right hand edge of the interface zone after reducing and longitudinal the right of display screen
Edge is overlapped.
In the present embodiment, the half that the lateral length that first distance threshold value is interface dimensions can be set, works as touch point
When the half for the lateral length that the lateral distance of longitudinal left edge of position and display screen is less than interface dimensions (as shown in fig. 7,
D1 < d3), longitudinal left edge of the interface zone after diminution is overlapped with longitudinal left edge of display screen;When touch point position with
When showing that the lateral distance of longitudinal right hand edge of screen is less than the half of the lateral length of interface dimensions (as shown in fig. 7, d2 <
D3), longitudinal right hand edge of the interface zone after diminution is overlapped with longitudinal right hand edge of display screen.
Further, in the present embodiment, the longitudinal edge of the longitudinal edge of the interface zone after diminution and display screen
, can be using the longitudinal center of interface zone of the touch point position as after reducing while corresponding coincidence, i.e. touch point position is arrived
Two transverse edges of the interface zone after diminution are equidistant.For example, as shown in figure 8, touch point position and display screen
Longitudinal left edge lateral distance be less than interface dimensions lateral length half (d1 < d3), interface zone after diminution
Longitudinal left edge is overlapped with longitudinal left edge of display screen, meanwhile, two of interface zone of the touch point position to after reducing
Transverse edge is equidistant (D1=D2), so that B area present position can show the interface zone after reducing.
First threshold module 307 determines the first distance for the lateral length according to the preset interface dimensions
Threshold value.
Specifically, first threshold module 307 is according to preset interface dimensions, the lateral length of available interface dimensions,
According to the lateral length of the interface dimensions, the relationship of combination of touch control point position and display position can determine first distance threshold value.
In specific implementation, if the lower right corner of the display position of the interface zone using touch point position as after reducing, first distance threshold
Value is then the overall length or 0 of the lateral length of interface dimensions;If using the display of interface zone of the touch point position as after reducing
The center in 1/4 region of preset upper left of position, then first distance threshold value is then the 1/4 or 3/ of the lateral length of interface dimensions
4.In the present embodiment, can using touch point position as reduce after interface zone display position center, then first away from
It is then the half of the lateral length of interface dimensions from threshold value.
Second judgment module 308, the fore-and-aft distance of the transverse edge for judging the touch point position and display screen
Whether preset second distance threshold value is less than.
Specifically, after determining touch point position, it is available to touch point position and the transverse edge for showing screen
Fore-and-aft distance, for example, the length of h1 or h2 as shown in Figure 9.Second judgment module 308 is by touch point position and shows screen
The fore-and-aft distance of transverse edge and preset second distance threshold value comparison judge touch point position and show the transverse edge of screen
Fore-and-aft distance whether be less than preset second distance threshold value.In an alternative embodiment, it can be determined that h1's or h2 shown in Fig. 9
Whether length is less than the half i.e. length of h3 of the longitudinal length of interface dimensions.
Second edge module 309, if being used to be less than preset second distance threshold value, the interface zone after the diminution
Transverse edge is corresponding with the display transverse edge of screen to be overlapped.
Specifically, when the fore-and-aft distance that judgement obtains the transverse edge of touch point position and display screen is less than second distance
When threshold value, second edge module 309 makes the transverse edge of the interface zone after reducing weight corresponding with the display transverse edge of screen
It closes, that is, if the lateral upper edge fore-and-aft distance of touch point and display screen is less than second distance threshold value, the interface area after reducing
The lateral upper edge in domain is overlapped with the lateral upper edge of display screen, if the longitudinal direction of the lateral lower edge of touch point and display screen
Distance is less than second distance threshold value, then the lateral lower edge of the interface zone after reducing and the lateral lower edge weight of display screen
It closes.
For example, setting second distance threshold value is the overall length or 0 of the longitudinal length of interface dimensions, when touch point and display screen
When the fore-and-aft distance of the transverse edge of curtain is not less than second distance threshold value, using interface zone of the touch point position as after reducing
The upper left corner of display position;When touch point fall in display screen lateral upper edge on, then reduce after interface zone transverse direction
Top edge is overlapped with the lateral upper edge of display screen, when touch point and the fore-and-aft distance of the lateral lower edge of display screen are less than
When the overall length of the longitudinal length of interface dimensions, then the lateral lower edge of the interface zone after reducing and display screen it is laterally following
Edge is overlapped.
In an alternative embodiment, the half that the longitudinal length that first distance threshold value is interface dimensions can be set, works as touch-control
(such as Fig. 9 when the half for the longitudinal length that the fore-and-aft distance of point position and the vertically and horizontally top edge of display screen is less than interface dimensions
It is shown, h1 < h3), the lateral upper edge of the interface zone after diminution is overlapped with the lateral upper edge of display screen;When touch-control point
(as shown in fig. 7, h2 when setting the half for the longitudinal length for being less than interface dimensions with the fore-and-aft distance of the lateral lower edge of display screen
< h3), the lateral lower edge of the interface zone after diminution is overlapped with the lateral lower edge of display screen.
Further, in an alternative embodiment, the widthwise edge of the transverse edge of the interface zone after diminution and display screen
It, can be using the transverse center of interface zone of the touch point position as after reducing, i.e. touch point position while edge corresponds to coincidence
Two longitudinal edges of the interface zone after to diminution are equidistant.For example, as shown in Figure 10, touch point position and display screen
The fore-and-aft distance of the lateral upper edge of curtain is less than the half (h1 < h3) of the longitudinal length of interface dimensions, the interface zone after diminution
Lateral upper edge with display screen lateral upper edge is overlapped, meanwhile, touch point position to diminution after interface zone show
That shows two longitudinal edges of position is equidistant (H1=H2), so that B area present position can show the interface after reducing
Region.
Second threshold module 310 determines the second distance for the longitudinal length according to the preset interface dimensions
Threshold value.
Specifically, second threshold module 310 is according to preset interface dimensions, the longitudinal length of available interface dimensions,
According to the longitudinal length of the interface dimensions, the relationship of combination of touch control point position and display position can determine second distance threshold value.
In specific implementation, if the lower right corner of the display position of the interface zone using touch point position as after reducing, second distance threshold
Value is then the overall length or 0 of the longitudinal length of interface dimensions;If using the display of interface zone of the touch point position as after reducing
The center in 1/4 region of preset upper left of position, then second distance threshold value is then the 1/4 or 3/ of the longitudinal length of interface dimensions
4.In an alternative embodiment, can using the center of the display position of interface zone of the touch point position as after reducing, then first
Distance threshold is then the half of the longitudinal length of interface dimensions.
Recovery module 311 is pressed when for detecting that touch command is restored at the interface in the interface zone after the diminution
The interface zone is shown according to the size of display screen.
Specifically, recovery module 311 can when input interface restores touch command to user in the interface zone after diminution
The interface zone after reducing is reverted to the matched interface zone of size with the display screen of terminal and is shown.It needs to illustrate
, interface reduces touch command in the present embodiment and interface is restored touch command and can be consistent, and is also possible to different
It causes, is not especially limited here.
The embodiment of the present invention passes through the touch point position that the interface received reduces touch command, determines the interface after reducing
The display position in region, and then according to display position, according to the interface zone after the display diminution of preset interface dimensions, thus just
Interface zone when being hold by one hand is adjusted, and then improves the convenience that interface zone is adjusted.
Those of ordinary skill in the art will appreciate that realizing all or part of the process 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-readable storage medium
In, the program is when being executed, it may include such as the process 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, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.