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 only 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.
Fig. 1 is the schematic flow sheet of a kind of interface zone control method in the embodiment of the present invention, this method flow process can be implemented by interface zone regulating device, described interface zone regulating device can be user terminal or the software program operating in user terminal, described user terminal can comprise mobile phone, notebook computer, panel computer, vehicle-mounted computer, POS (PointOfSales, point of sale) machine etc.Described method at least comprises as shown in the figure:
Step S101, reception interface reduces touch command.
Concrete, interface reduce touch command can be user click on the screen of terminal, repeatedly click or long by etc. operation, also can be that interface that user selects to preset reduces icon or the interface that inputs in the instruction input frame preset reduces touch command etc.Such as, user can click three times or grow and reduce touch command by send interface on browser interface.Further, can also arrange interface and reduce touch switch, after user opens this switch, terminal then can reduce touch command and performs follow-up operation steps by reception interface.
Step S102, determines that described interface reduces the touch point position of touch command.
Concrete, reduce touch command according to the interface of the user's input received and can determine touch point position.In concrete enforcement, if the interface of user's input reduce touch command be user click on the screen of terminal, repeatedly click or long by etc. operation, then terminal can directly be clicked by induction user or long position when pressing screen as touch point position; If it is that default interface reduces icon or the interface that inputs reduces touch command etc. in the instruction input frame preset that the interface of user's input reduces touch command, then terminal can eject prompting frame, prompting user taps a certain position on a terminal screen, and the position then user tapped is as touch point position.It should be noted that, if when user's adopting consecutive click chemical reaction screen and click location are different, the position of wherein one click can be selected to be as the criterion, using this click location as touch point position, also can get the geometric center of several adopting consecutive click chemical reaction position as touch point position.
Step S103, according to described touch point position, determines the display position of the interface zone after reducing.
Concrete, according to the touch point position determined in step S102, the display position of the interface zone after reducing can be determined.In concrete enforcement, terminal can using touch point position as the center of the display position of the interface zone after reducing, also can using touch point position as angle, left/right inferior horn, up/down edge center or left/right edge center in the left/right of the display position of the interface zone after reducing, even can also using touch point position as the position coordinates preset arbitrarily of the display position of the interface zone after reducing.
Such as, as shown in Figure 4, a-quadrant GC group connector screen, the touch point that round dot representative of consumer inputs on screen, if using touch point position as the center of the display position of the interface zone after reducing, then can determine that in figure, B region is the display position of the interface zone after reducing.Again such as, as shown in Figure 5, using touch point position as the lower right corner of the display position of the interface zone after reducing, then can determine that in figure, B region is the display position of the interface zone after reducing.Again such as, as shown in Figure 6, using touch point position as the center in the region, upper left 1/4 of presetting of the display position of the interface zone after reducing, then can determine that in figure, B region is the display position of the interface zone after reducing.
Further, the all right predeterminable range threshold value of terminal, if detect when the screen edge of touch point positional distance terminal is less than distance threshold and can not follows above-mentioned display position defining method, can according to touch point position, show according to other setting rules, such as, can overlap corresponding with the edge of display screen for a certain edge of the interface zone after reducing, also can directly using the position of presetting as the display position of the interface zone after reducing.
Step S104, according to described display position, the interface zone after reducing described in showing according to the interface dimensions preset.
Concrete, according to determine in step S103 reduce after the display position of interface zone, the interface zone after can reducing according to the interface dimensions preset display accordingly on the display position determined.It should be noted that, the interface dimensions preset here can be that user selects in advance or adjusts, and can be also terminal profile, and interface dimensions is not unique.
Optionally, when the interface recovery touch command in the interface zone after described reducing being detected, described interface zone is shown according to the size of display screen.
Concrete, when in the interface zone of user after reducing, inputting interface recovers touch command, the interface zone after reducing can be reverted to the interface zone that mates with the size of the display screen of terminal and show by terminal.It should be noted that, interface reduces touch command with interface recovery touch command in the present embodiment can be consistent, also can be inconsistent, not do concrete restriction here.
The embodiment of the present invention reduces the touch point position of touch command by the interface received, determine the display position of the interface zone after reducing, and then according to display position, interface zone after reducing according to the interface dimensions display preset, thus the interface zone be convenient to when being hold by one hand regulates, and then improve the convenience of interface zone adjustment.
Fig. 2 is the schematic flow sheet of region, another embodiment of the present invention median surface control method, and described method comprises as shown in the figure:
Step S201, reception interface reduces touch command.
Concrete grammar can refer step S101.
Step S202, determines that described interface reduces the touch point position of touch command.
Concrete grammar can refer step S102.
Step S203, according to the lateral length of described default interface dimensions, determines described first distance threshold.
Concrete, terminal is according to the interface dimensions preset, and can obtain the lateral length of interface dimensions, according to the lateral length of this interface dimensions, the relation of combination of touch control point position and display position, can determine the first distance threshold.In concrete enforcement, if using touch point position as the lower right corner of the display position of the interface zone after reducing, then the first distance threshold is then the overall length or 0 of the lateral length of interface dimensions; If using touch point position as the center in the region, upper left 1/4 of presetting of the display position of the interface zone after reducing, then the first distance threshold is then 1/4 or 3/4 of the lateral length of interface dimensions.
In the present embodiment, can using touch point position as the center of the display position of the interface zone after reducing, then the first distance threshold is then the half of the lateral length of interface dimensions.
Step S204, judges whether the lateral separation of the longitudinal edge of described touch point position and display screen is less than the first default distance threshold.
Concrete, after determining touch point position, the lateral separation of the longitudinal edge of touch point position and display screen can be got, such as, the length of d1 or d2 as shown in Figure 7.Touch point position is compared with the first distance threshold preset with the lateral separation of the longitudinal edge of display screen, judges whether the lateral separation of the longitudinal edge of touch point position and display screen is less than the first default distance threshold.
In the present embodiment, can judge whether the length of d1 or d2 shown in Fig. 7 is less than the half of the lateral length of interface dimensions and the length of d3.
Step S205, if be not less than the first default distance threshold, then according to described touch point position, the center of the display position of the interface zone after reducing described in determining.
Concrete, if step S204 judges that the lateral separation obtaining the longitudinal edge of touch point position and display screen is not less than the first distance threshold, then can using touch point position as the center of the display position of the interface zone after reducing.
Step S206, according to the center of described display position, the interface zone after reducing described in showing according to the interface dimensions preset.
Concrete, according to the center of display position, can display position be determined, the interface zone after then can reducing according to the interface dimensions preset display accordingly on the display position determined.Such as, as shown in Figure 4, a-quadrant GC group connector screen, the touch point that round dot representative of consumer inputs on screen, using touch point position as the center of the display position of the interface zone after reducing, then can determine that in figure, B region is the display position of the interface zone after reducing, the interface zone after the display of present position, B region is reduced.
Step S207, if be less than the first default distance threshold, then the longitudinal edge of the interface zone after reducing described in is corresponding with the longitudinal edge of described display screen to be overlapped.
Concrete, when the lateral separation that step S204 judges to obtain the longitudinal edge of touch point position and display screen is less than the first distance threshold, the longitudinal edge of the interface zone after reducing is corresponding with the longitudinal edge of display screen to be overlapped, namely, if the lateral separation of longitudinal left hand edge of touch point position and display screen is less than the first distance threshold, longitudinal left hand edge of the interface zone after then reducing overlaps with longitudinal left hand edge of display screen, if the lateral separation of longitudinal right hand edge of touch point position and display screen is less than the first distance threshold, longitudinal right hand edge of the interface zone after then reducing overlaps with longitudinal right hand edge of display screen.
Such as, the overall length or 0 that first distance threshold is the lateral length of interface dimensions is set, when the lateral separation of the longitudinal edge of touch point position and display screen is not less than the first distance threshold, using touch point position as the upper left corner of the display position of the interface zone after reducing; When touch point drops on longitudinal left hand edge of display screen, longitudinal left hand edge of the interface zone after then reducing overlaps with longitudinal left hand edge of display screen, when the lateral separation of longitudinal right hand edge of touch point position and display screen is less than the overall length of the lateral length of interface dimensions, then longitudinal right hand edge of the interface zone after reducing overlaps with longitudinal right hand edge of display screen.
In the present embodiment, the half that first distance threshold is the lateral length of interface dimensions can be set, when the lateral separation of longitudinal left hand edge of touch point position and display screen is less than a half of the lateral length of interface dimensions (as shown in Figure 7, d1<d3), longitudinal left hand edge of the interface zone after reducing overlaps with longitudinal left hand edge of display screen; When the lateral separation of longitudinal right hand edge of touch point position and display screen is less than a half of the lateral length of interface dimensions (as shown in Figure 7, d2<d3), longitudinal right hand edge of the interface zone after reducing overlaps with longitudinal right hand edge of display screen.
Further, in the present embodiment, the longitudinal edge of the interface zone after reducing is corresponding with the longitudinal edge of display screen overlap while, can using touch point position as the longitudinal center of the interface zone after reducing, namely touch point position is equal to the distance of two transverse edges of the interface zone after reducing.Such as, as shown in Figure 8, the lateral separation of longitudinal left hand edge of touch point position and display screen is less than the half (d1<d3) of the lateral length of interface dimensions, longitudinal left hand edge of the interface zone after reducing overlaps with longitudinal left hand edge of display screen, simultaneously, touch point position is to the distance equal (D1=D2) of two transverse edges of the interface zone after reducing, thus present position, B region can show the interface zone after reducing.
In an alternative embodiment, can also comprise: according to the longitudinal length of described default interface dimensions, determine described second distance threshold value.
Concrete, terminal is according to the interface dimensions preset, and can obtain the longitudinal length of interface dimensions, according to the longitudinal length of this interface dimensions, the relation of combination of touch control point position and display position, can determine second distance threshold value.In concrete enforcement, if using touch point position as the lower right corner of the display position of the interface zone after reducing, then second distance threshold value is then the overall length or 0 of the longitudinal length of interface dimensions; If using touch point position as the center in the region, upper left 1/4 of presetting of the display position of the interface zone after reducing, then second distance threshold value is then 1/4 or 3/4 of the longitudinal length of interface dimensions.In an alternative embodiment, can using touch point position as the center of the display position of the interface zone after reducing, then the first distance threshold is then the half of the longitudinal length of interface dimensions.
And then, can also comprise in an alternative embodiment:
Judge whether the fore-and-aft distance of the transverse edge of described touch point position and display screen is less than default second distance threshold value.
Concrete, after determining touch point position, the fore-and-aft distance of the transverse edge of touch point position and display screen can be got, such as, the length of h1 or h2 as shown in Figure 9.Touch point position is compared with the second distance threshold value preset with the fore-and-aft distance of the transverse edge of display screen, judges whether the fore-and-aft distance of the transverse edge of touch point position and display screen is less than default second distance threshold value.In an alternative embodiment, can judge whether the length of h1 or h2 shown in Fig. 9 is less than the half of the longitudinal length of interface dimensions and the length of h3.
If be not less than default second distance threshold value, then according to described touch point position, the center of the display position of the interface zone after reducing described in determining.
Concrete, if judge, the fore-and-aft distance obtaining the transverse edge of touch point position and display screen is not less than second distance threshold value, then can using touch point position as the center of the display position of the interface zone after reducing.Thus perform step S206.
If be less than default second distance threshold value, then the transverse edge of the interface zone after reducing described in is corresponding with the transverse edge of described display screen to be overlapped.
Concrete, when the fore-and-aft distance judging to obtain the transverse edge of touch point position and display screen is less than second distance threshold value, the transverse edge of the interface zone after reducing is corresponding with the transverse edge of display screen to be overlapped, namely, if the lateral upper edge fore-and-aft distance of touch point position and display screen is less than second distance threshold value, the lateral upper edge of the interface zone after then reducing overlaps with the lateral upper edge of display screen, if the fore-and-aft distance of the lateral lower edge of touch point position and display screen is less than second distance threshold value, the lateral lower edge of the interface zone after then reducing overlaps with the lateral lower edge of display screen.
Such as, the overall length or 0 that second distance threshold value is the longitudinal length of interface dimensions is set, when the fore-and-aft distance of the transverse edge of touch point position and display screen is not less than second distance threshold value, using touch point position as the upper left corner of the display position of the interface zone after reducing; When touch point drops in the lateral upper edge of display screen, the lateral upper edge of the interface zone after then reducing overlaps with the lateral upper edge of display screen, when the fore-and-aft distance of the lateral lower edge of touch point position and display screen is less than the overall length of the longitudinal length of interface dimensions, then the lateral lower edge of the interface zone after reducing overlaps with the lateral lower edge of display screen.
In an alternative embodiment, the half that first distance threshold is the longitudinal length of interface dimensions can be set, when the fore-and-aft distance of the vertical lateral upper edge of touch point position and display screen is less than a half of the longitudinal length of interface dimensions (as shown in Figure 9, h1<h3), the lateral upper edge of the interface zone after reducing overlaps with the lateral upper edge of display screen; When the fore-and-aft distance of the lateral lower edge of touch point position and display screen is less than a half of the longitudinal length of interface dimensions (as shown in Figure 7, h2<h3), the lateral lower edge of the interface zone after reducing overlaps with the lateral lower edge of display screen.
Further, in an alternative embodiment, the transverse edge of the interface zone after reducing is corresponding with the transverse edge of display screen overlap while, can using touch point position as the transverse center of the interface zone after reducing, namely touch point position is equal to the distance of two longitudinal edges of the interface zone after reducing.Such as, as shown in Figure 10, the fore-and-aft distance of the lateral upper edge of touch point position and display screen is less than the half (h1<h3) of the longitudinal length of interface dimensions, the lateral upper edge of the interface zone after reducing overlaps with the lateral upper edge of display screen, simultaneously, touch point position is to the distance equal (H1=H2) of two longitudinal edges of the display position of the interface zone after reducing, thus present position, B region can show the interface zone after reducing.
Further, when the lateral separation of the longitudinal edge of touch point position and display screen is less than the first distance threshold, and, when the fore-and-aft distance of the transverse edge of touch point position and display screen is less than second distance threshold value, then overlap regular according to above-mentioned correspondence, the longitudinal edge of the interface zone after reducing is corresponding with the longitudinal edge of display screen to be overlapped, and, the transverse edge of the interface zone after reducing is corresponding with the transverse edge of display screen to be overlapped, and the interface zone after namely reducing will be in the corner of display screen.
The embodiment of the present invention reduces the touch point position of touch command by the interface received, determine the display position of the interface zone after reducing, and then according to display position, interface zone after reducing according to the interface dimensions display preset, thus the interface zone be convenient to when being hold by one hand regulates, and then improve the convenience of interface zone adjustment.
Fig. 3 is the composition structural drawing of a kind of interface zone regulating device in the embodiment of the present invention, and described device comprises:
Receiver module 301, reduces touch command for reception interface.
Concrete, interface reduce touch command can be user click on the screen of terminal, repeatedly click or long by etc. operation, also can be that interface that user selects to preset reduces icon or the interface that inputs in the instruction input frame preset reduces touch command etc.Such as, user can click three times or grow and reduce touch command by send interface on browser interface.Further, can also arrange interface and reduce touch switch, after user opens this switch, receiver module 301 can reduce touch command and performs follow-up operation steps by reception interface.
Touch-control module 302, for determining that described interface reduces the touch point position of touch command.
Concrete, touch-control module 302 reduces touch command according to the interface of the user's input received can determine touch point position.In concrete enforcement, if the interface of user's input reduce touch command be user click on the screen of terminal, repeatedly click or long by etc. operation, then touch-control module 302 can directly be clicked by induction user or long position when pressing screen as touch point position; If it is that default interface reduces icon or the interface that inputs reduces touch command etc. in the instruction input frame preset that the interface of user's input reduces touch command, then touch-control module 302 can eject prompting frame, prompting user taps a certain position on a terminal screen, and the position then user tapped is as touch point position.It should be noted that, if when user's adopting consecutive click chemical reaction screen and click location are different, the position of wherein one click can be selected to be as the criterion, using this click location as touch point position, also can get the geometric center of several adopting consecutive click chemical reaction position as touch point position.
Position module 303, for according to described touch point position, determines the display position of the interface zone after reducing.
Concrete, according to the touch point position that touch-control module 302 is determined, the display position of the interface zone after reducing can be determined.In concrete enforcement, position module 303 can using touch point position as the center of the display position of the interface zone after reducing, also can using touch point position as angle, left/right inferior horn, up/down edge center or left/right edge center in the left/right of the display position of the interface zone after reducing, even can also using touch point position as the position coordinates preset arbitrarily of the display position of the interface zone after reducing.
Such as, as shown in Figure 4, a-quadrant GC group connector screen, the touch point that round dot representative of consumer inputs on screen, if using touch point position as the center of the display position of the interface zone after reducing, then can determine that in figure, B region is the display position of the interface zone after reducing.Again such as, as shown in Figure 5, using touch point position as the lower right corner of the display position of the interface zone after reducing, then can determine that in figure, B region is the display position of the interface zone after reducing.Again such as, as shown in Figure 6, using touch point position as the center in the region, upper left 1/4 of presetting of the display position of the interface zone after reducing, then can determine that in figure, B region is the display position of the interface zone after reducing.
Further, the all right predeterminable range threshold value of position module 303, if detect when the screen edge of touch point positional distance terminal is less than distance threshold and can not follows above-mentioned display position defining method, can according to touch point position, show according to other setting rules, such as, can overlap corresponding with the edge of display screen for a certain edge of the interface zone after reducing, also can directly using the position of presetting as the display position of the interface zone after reducing.
Optionally, described position module 303 for: according to described touch point position, the center of the display position of the interface zone after reducing described in determining.
Concrete, if judge, the lateral separation obtaining the longitudinal edge of touch point position and display screen is not less than the first distance threshold, or the fore-and-aft distance of the transverse edge of touch point position and display screen is not less than second distance threshold value, then can using touch point position as the center of the display position of the interface zone after reducing.
Display module 304, for according to described display position, according to the interface zone after reducing described in the interface dimensions display preset.
Concrete, display module 304 according to determine reduce after the display position of interface zone, the interface zone after can reducing according to the interface dimensions preset display accordingly on the display position determined.It should be noted that, the interface dimensions preset here can be that user selects in advance or adjusts, and can be also terminal profile, and interface dimensions is not unique.
Optionally, described display module 304 for: according to the center of described display position, according to preset interface dimensions display described in reduce after interface zone.
Concrete, according to the center of display position, can determine display position, then display module 304 can show the interface zone after reducing according to the interface dimensions preset accordingly on the display position determined.Such as, as shown in Figure 4, a-quadrant GC group connector screen, the touch point that round dot representative of consumer inputs on screen, using touch point position as the center of the display position of the interface zone after reducing, then can determine that in figure, B region is the display position of the interface zone after reducing, the interface zone after the display of present position, B region is reduced.
First judge module 305, whether the lateral separation for the longitudinal edge judging described touch point position and display screen is less than the first default distance threshold.
Concrete, after determining touch point position, the lateral separation of the longitudinal edge of touch point position and display screen can be got, such as, the length of d1 or d2 as shown in Figure 7.Touch point position is compared with the first distance threshold preset with the lateral separation of the longitudinal edge of display screen by the first judge module 305, judges whether the lateral separation of the longitudinal edge of touch point position and display screen is less than the first default distance threshold.In the present embodiment, can judge whether the length of d1 or d2 shown in Fig. 7 is less than the half of the lateral length of interface dimensions and the length of d3.
First edge module 306, if for being less than the first default distance threshold, then the longitudinal edge of the interface zone after reducing described in is corresponding with the longitudinal edge of described display screen to be overlapped.
Concrete, when the lateral separation judging to obtain the longitudinal edge of touch point position and display screen is less than the first distance threshold, first edge module 306 makes that the longitudinal edge of the interface zone after reducing is corresponding with the longitudinal edge of display screen to be overlapped, namely, if the lateral separation of longitudinal left hand edge of touch point and display screen is less than the first distance threshold, longitudinal left hand edge of the interface zone after then reducing overlaps with longitudinal left hand edge of display screen, if the lateral separation of longitudinal right hand edge of touch point and display screen is less than the first distance threshold, longitudinal right hand edge of the interface zone after then reducing overlaps with longitudinal right hand edge of display screen.
Such as, the overall length or 0 that first distance threshold is the lateral length of interface dimensions is set, when the lateral separation of the longitudinal edge of touch point and display screen is not less than the first distance threshold, using touch point position as the upper left corner of the display position of the interface zone after reducing; When touch point drops on longitudinal left hand edge of display screen, longitudinal left hand edge of the interface zone after then reducing overlaps with longitudinal left hand edge of display screen, when the lateral separation of longitudinal right hand edge of touch point and display screen is less than the overall length of the lateral length of interface dimensions, then longitudinal right hand edge of the interface zone after reducing overlaps with longitudinal right hand edge of display screen.
In the present embodiment, the half that first distance threshold is the lateral length of interface dimensions can be set, when the lateral separation of longitudinal left hand edge of touch point position and display screen is less than a half of the lateral length of interface dimensions (as shown in Figure 7, d1<d3), longitudinal left hand edge of the interface zone after reducing overlaps with longitudinal left hand edge of display screen; When the lateral separation of longitudinal right hand edge of touch point position and display screen is less than a half of the lateral length of interface dimensions (as shown in Figure 7, d2<d3), longitudinal right hand edge of the interface zone after reducing overlaps with longitudinal right hand edge of display screen.
Further, in the present embodiment, the longitudinal edge of the interface zone after reducing is corresponding with the longitudinal edge of display screen overlap while, can using touch point position as the longitudinal center of the interface zone after reducing, namely touch point position is equal to the distance of two transverse edges of the interface zone after reducing.Such as, as shown in Figure 8, the lateral separation of longitudinal left hand edge of touch point position and display screen is less than the half (d1<d3) of the lateral length of interface dimensions, longitudinal left hand edge of the interface zone after reducing overlaps with longitudinal left hand edge of display screen, simultaneously, touch point position is to the distance equal (D1=D2) of two transverse edges of the interface zone after reducing, thus present position, B region can show the interface zone after reducing.
First threshold module 307, for the lateral length according to described default interface dimensions, determines described first distance threshold.
Concrete, first threshold module 307 is according to the interface dimensions preset, and can obtain the lateral length of interface dimensions, according to the lateral length of this interface dimensions, the relation of combination of touch control point position and display position, can determine the first distance threshold.In concrete enforcement, if using touch point position as the lower right corner of the display position of the interface zone after reducing, then the first distance threshold is then the overall length or 0 of the lateral length of interface dimensions; If using touch point position as the center in the region, upper left 1/4 of presetting of the display position of the interface zone after reducing, then the first distance threshold is then 1/4 or 3/4 of the lateral length of interface dimensions.In the present embodiment, can using touch point position as the center of the display position of the interface zone after reducing, then the first distance threshold is then the half of the lateral length of interface dimensions.
Second judge module 308, whether the fore-and-aft distance for the transverse edge judging described touch point position and display screen is less than default second distance threshold value.
Concrete, after determining touch point position, the fore-and-aft distance of the transverse edge of touch point position and display screen can be got, such as, the length of h1 or h2 as shown in Figure 9.Touch point position is compared with the second distance threshold value preset with the fore-and-aft distance of the transverse edge of display screen by the second judge module 308, judges whether the fore-and-aft distance of the transverse edge of touch point position and display screen is less than default second distance threshold value.In an alternative embodiment, can judge whether the length of h1 or h2 shown in Fig. 9 is less than the half of the longitudinal length of interface dimensions and the length of h3.
Second edge module 309, if for being less than default second distance threshold value, then the transverse edge of the interface zone after reducing described in is corresponding with the transverse edge of described display screen to be overlapped.
Concrete, when the fore-and-aft distance judging to obtain the transverse edge of touch point position and display screen is less than second distance threshold value, second edge module 309 makes that the transverse edge of the interface zone after reducing is corresponding with the transverse edge of display screen to be overlapped, namely, if the lateral upper edge fore-and-aft distance of touch point and display screen is less than second distance threshold value, the lateral upper edge of the interface zone after then reducing overlaps with the lateral upper edge of display screen, if the fore-and-aft distance of the lateral lower edge of touch point and display screen is less than second distance threshold value, the lateral lower edge of the interface zone after then reducing overlaps with the lateral lower edge of display screen.
Such as, the overall length or 0 that second distance threshold value is the longitudinal length of interface dimensions is set, when the fore-and-aft distance of the transverse edge of touch point and display screen is not less than second distance threshold value, using touch point position as the upper left corner of the display position of the interface zone after reducing; When touch point drops in the lateral upper edge of display screen, the lateral upper edge of the interface zone after then reducing overlaps with the lateral upper edge of display screen, when the fore-and-aft distance of the lateral lower edge of touch point and display screen is less than the overall length of the longitudinal length of interface dimensions, then the lateral lower edge of the interface zone after reducing overlaps with the lateral lower edge of display screen.
In an alternative embodiment, the half that first distance threshold is the longitudinal length of interface dimensions can be set, when the fore-and-aft distance of the vertical lateral upper edge of touch point position and display screen is less than a half of the longitudinal length of interface dimensions (as shown in Figure 9, h1<h3), the lateral upper edge of the interface zone after reducing overlaps with the lateral upper edge of display screen; When the fore-and-aft distance of the lateral lower edge of touch point position and display screen is less than a half of the longitudinal length of interface dimensions (as shown in Figure 7, h2<h3), the lateral lower edge of the interface zone after reducing overlaps with the lateral lower edge of display screen.
Further, in an alternative embodiment, the transverse edge of the interface zone after reducing is corresponding with the transverse edge of display screen overlap while, can using touch point position as the transverse center of the interface zone after reducing, namely touch point position is equal to the distance of two longitudinal edges of the interface zone after reducing.Such as, as shown in Figure 10, the fore-and-aft distance of the lateral upper edge of touch point position and display screen is less than the half (h1<h3) of the longitudinal length of interface dimensions, the lateral upper edge of the interface zone after reducing overlaps with the lateral upper edge of display screen, simultaneously, touch point position is to the distance equal (H1=H2) of two longitudinal edges of the display position of the interface zone after reducing, thus present position, B region can show the interface zone after reducing.
Second Threshold module 310, for the longitudinal length according to described default interface dimensions, determines described second distance threshold value.
Concrete, Second Threshold module 310 is according to the interface dimensions preset, and can obtain the longitudinal length of interface dimensions, according to the longitudinal length of this interface dimensions, the relation of combination of touch control point position and display position, can determine second distance threshold value.In concrete enforcement, if using touch point position as the lower right corner of the display position of the interface zone after reducing, then second distance threshold value is then the overall length or 0 of the longitudinal length of interface dimensions; If using touch point position as the center in the region, upper left 1/4 of presetting of the display position of the interface zone after reducing, then second distance threshold value is then 1/4 or 3/4 of the longitudinal length of interface dimensions.In an alternative embodiment, can using touch point position as the center of the display position of the interface zone after reducing, then the first distance threshold is then the half of the longitudinal length of interface dimensions.
Recovering module 311, during for the interface recovery touch command in the interface zone after described reducing being detected, showing described interface zone according to the size of display screen.
Concrete, when inputting interface recovers touch command in the interface zone of user after reducing, recover module 311 and the interface zone after reducing can be reverted to the interface zone that mates with the size of the display screen of terminal and show.It should be noted that, interface reduces touch command with interface recovery touch command in the present embodiment can be consistent, also can be inconsistent, not do concrete restriction here.
The embodiment of the present invention reduces the touch point position of touch command by the interface received, determine the display position of the interface zone after reducing, and then according to display position, interface zone after reducing according to the interface dimensions display preset, thus the interface zone be convenient to when being hold by one hand regulates, and then improve the convenience of interface zone adjustment.
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 store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.