CN105549871B - A kind of interface zone adjusting method and device - Google Patents

A kind of interface zone adjusting method and device Download PDF

Info

Publication number
CN105549871B
CN105549871B CN201510703642.2A CN201510703642A CN105549871B CN 105549871 B CN105549871 B CN 105549871B CN 201510703642 A CN201510703642 A CN 201510703642A CN 105549871 B CN105549871 B CN 105549871B
Authority
CN
China
Prior art keywords
interface
interface zone
preset
touch point
display
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.)
Active
Application number
CN201510703642.2A
Other languages
Chinese (zh)
Other versions
CN105549871A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Dongguan Coolpad Software Technology Co 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 Dongguan Coolpad Software Technology Co Ltd filed Critical Dongguan Coolpad Software Technology Co Ltd
Priority to CN201510703642.2A priority Critical patent/CN105549871B/en
Publication of CN105549871A publication Critical patent/CN105549871A/en
Application granted granted Critical
Publication of CN105549871B publication Critical patent/CN105549871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of interface zone adjusting methods, which comprises reception interface reduces touch command;Determine that the interface reduces the touch point position of touch command;According to the touch point position, the display position of the interface zone after reducing is determined;According to the display position, the interface zone after the diminution is shown according to preset interface dimensions.The invention also discloses a kind of interface zone regulating devices.It using the present invention, can be adjusted in order to interface zone when being hold by one hand, and then improve the convenience that interface zone is adjusted.

Description

A kind of interface zone adjusting method and device
Technical field
The present invention relates to electronic technology field more particularly to a kind of interface zone adjusting methods and device.
Background technique
With the continuous development of electric terminal, the display screen of electric terminal becomes increasing, is hold by one hand in user When electric terminal, it just will appear and hold the display screen ranges that hand can not touch, for example, user's right hand is hold by one hand a large-size screen monitors Mobile phone, if user wants to click the left side interface zone that large-screen mobile phone shows screen with the right hand, a hand is difficult to accomplish.Cause This, can be such that user is more easily correspondingly operated by the way of reducing interface display region.However, existing boundary User is generally required in the regulative mode of face to zoom in and out interface at least two fingers, or is clicked preset key and contracted Small, this is all difficult to accomplish when being hold by one hand electric terminal, and operation ease is insufficient.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that a kind of interface zone adjusting method and device are provided, it can Interface zone when in order to be hold by one hand is adjusted, and then improves the convenience that interface zone is adjusted.
The embodiment of the invention provides a kind of interface zone adjusting methods, which comprises
Reception interface reduces touch command;
Determine that the interface reduces the touch point position of touch command;
According to the touch point position, the display position of the interface zone after reducing is determined;
According to the display position, the interface zone after the diminution is shown according to preset interface dimensions.
Correspondingly, the embodiment of the invention provides a kind of interface zone regulating device, described device includes:
Receiving module reduces touch command for reception interface;
Touch-control module, for determining that the interface reduces the touch point position of touch command;
Position module, for determining the display position of the interface zone after reducing according to the touch point position;
Display module, for showing the interface after the diminution according to preset interface dimensions according to the display position Region.
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.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of interface zone adjusting method in the embodiment of the present invention;
Fig. 2 is the flow diagram of another embodiment of the present invention median surface region adjusting method;
Fig. 3 is a kind of composite structural diagram of interface zone regulating device in the embodiment of the present invention;
Fig. 4 is a kind of interface zone display position schematic diagram in the embodiment of the present invention;
Fig. 5 is another interface zone display position schematic diagram in the embodiment of the present invention;
Fig. 6 is another interface zone display position schematic diagram in the embodiment of the present invention;
Fig. 7 is another interface zone display position schematic diagram in the embodiment of the present invention;
Fig. 8 is another interface zone display position schematic diagram in the embodiment of the present invention;
Fig. 9 is another interface zone display position schematic diagram in the embodiment of the present invention;
Figure 10 is another interface zone display position schematic diagram in the embodiment of the present invention.
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.

Claims (14)

1. a kind of interface zone adjusting method, which is characterized in that the described method includes:
The interface for receiving user's input reduces touch command, and it is to select preset boundary according to user that the interface, which reduces touch command, Reduction of area small icon or the interface inputted in preset instruction input frame reduce touch command;
Touch command output prompting frame is reduced according to the interface of the user's input received, the prompting frame is for prompting user to exist Any position is clicked on terminal screen;
If detecting the clicking operation of user on a terminal screen, it is determined that the target position that the clicking operation is clicked is Touch point position;
Judge whether the touch point position meets preset condition at a distance from the edge for showing screen;
If the determination result is YES, then the display position of the interface zone after reducing, the touching are determined according to the touch point position Control point is set to any preset position coordinates of the display position of the interface zone after reducing;
According to the display position, after accordingly showing the diminution on determining display position according to preset interface dimensions Interface zone.
2. interface zone adjusting method as described in claim 1, which is characterized in that it is described according to the touch point position, really It is reduced it is small after the display position of interface zone include:
According to the touch point position, the center of the display position of the interface zone after determining the diminution;
It is described according to the display position, show that the interface zone after the diminution includes: according to preset interface dimensions
According to the center of the display position, the interface zone after the diminution is shown according to preset interface dimensions.
3. interface zone adjusting method as claimed in claim 2, which is characterized in that described to judge the touch point position and show Whether the distance at the edge of display screen curtain meets preset condition, comprising:
Judge the touch point position and shows whether the lateral distance of the longitudinal edge of screen is less than preset first distance threshold Value;
If being not less than preset first distance threshold value, the interface according to the touch point position, after determining the diminution is executed The step of center of the display position in region;
If being less than preset first distance threshold value, the longitudinal edge of the interface zone after the diminution and the display screen Longitudinal edge is corresponding to be overlapped.
4. interface zone adjusting method as claimed in claim 3, which is characterized in that described to judge the touch point position and show Whether the lateral distance of the longitudinal edge of display screen curtain is less than before preset first distance threshold value further include:
According to the lateral length of the preset interface dimensions, the first distance threshold value is determined.
5. interface zone adjusting method as claimed in claim 2, which is characterized in that it is described according to the touch point position, really Before the center of the display position of interface zone after the fixed diminution further include:
Judge the touch point position and shows whether the fore-and-aft distance of the transverse edge of screen is less than preset second distance threshold Value;
If being not less than preset second distance threshold value, the interface according to the touch point position, after determining the diminution is executed The step of center of the display position in region;
If being less than preset second distance threshold value, the transverse edge of the interface zone after the diminution and the display screen Transverse edge is corresponding to be overlapped.
6. interface zone adjusting method as claimed in claim 5, which is characterized in that described to judge the touch point position and show Whether the fore-and-aft distance of the transverse edge of display screen curtain is less than before preset second distance threshold value further include:
According to the longitudinal length of the preset interface dimensions, the second distance threshold value is determined.
7. interface zone adjusting method as described in claim 1, which is characterized in that the method also includes:
When detecting that touch command is restored at the interface in the interface zone after the diminution, shown according to the size of display screen The interface zone.
8. a kind of interface zone regulating device, which is characterized in that described device includes:
Receiving module, the interface for receiving user's input reduce touch command, the interface reduce touch command be according to Family selects preset interface to reduce icon or the interface inputted in preset instruction input frame diminution touch command;
Touch-control module, for reducing touch command output prompting frame, the prompting frame according to the interface of the user's input received For prompting user to click any position on a terminal screen;
Position module, if for detecting the clicking operation of user on a terminal screen, it is determined that clicking operation institute point The target position hit is touch point position;
First judgment module, for judging whether the touch point position meets default item at a distance from the edge for showing screen Part;If the determination result is YES, then the display position of the interface zone after reducing, the touching are determined according to the touch point position Control point is set to any preset position coordinates of the display position of the interface zone after reducing;
Display module, for according to the display position, according to preset interface dimensions on determining display position accordingly Interface zone after showing the diminution.
9. interface zone regulating device as claimed in claim 8, which is characterized in that the position module is used for:
According to the touch point position, the center of the display position of the interface zone after determining the diminution;
The display module is used for:
According to the center of the display position, the interface zone after the diminution is shown according to preset interface dimensions.
10. interface zone regulating device as claimed in claim 9, which is characterized in that
The first judgment module, for judge the touch point position and show screen longitudinal edge lateral distance whether Less than preset first distance threshold value;
The position module includes:
If being not less than preset first distance threshold value, the interface zone according to the touch point position, after determining the diminution Display position center;
First edge module, if for being less than preset first distance threshold value, the longitudinal edge of the interface zone after the diminution Edge is corresponding with the display longitudinal edge of screen to be overlapped.
11. interface zone regulating device as claimed in claim 10, which is characterized in that described device further include:
First threshold module determines the first distance threshold value for the lateral length according to the preset interface dimensions.
12. interface zone regulating device as claimed in claim 9, which is characterized in that described device further include:
Second judgment module, for judging whether the touch point position and the fore-and-aft distance for the transverse edge for showing screen are less than Preset second distance threshold value;
The position module is used for:
If being not less than preset second distance threshold value, the interface zone according to the touch point position, after determining the diminution Display position center;
Second edge module, if for being less than preset second distance threshold value, the widthwise edge of the interface zone after the diminution Edge is corresponding with the display transverse edge of screen to be overlapped.
13. interface zone regulating device as claimed in claim 12, which is characterized in that described device further include:
Second threshold module determines the second distance threshold value for the longitudinal length according to the preset interface dimensions.
14. interface zone regulating device as claimed in claim 8, which is characterized in that described device further include:
Recovery module, when for detecting that touch command is restored at the interface in the interface zone after the diminution, according to display The size of screen shows the interface zone.
CN201510703642.2A 2015-10-23 2015-10-23 A kind of interface zone adjusting method and device Active CN105549871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510703642.2A CN105549871B (en) 2015-10-23 2015-10-23 A kind of interface zone adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510703642.2A CN105549871B (en) 2015-10-23 2015-10-23 A kind of interface zone adjusting method and device

Publications (2)

Publication Number Publication Date
CN105549871A CN105549871A (en) 2016-05-04
CN105549871B true CN105549871B (en) 2019-03-22

Family

ID=55829079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510703642.2A Active CN105549871B (en) 2015-10-23 2015-10-23 A kind of interface zone adjusting method and device

Country Status (1)

Country Link
CN (1) CN105549871B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210916A (en) * 2016-06-29 2016-12-07 乐视控股(北京)有限公司 Video calling interface control method and device
CN106648413B (en) * 2016-09-28 2020-07-28 北京小米移动软件有限公司 Mobile phone-based operable area processing method and device
CN107272956A (en) * 2017-06-23 2017-10-20 维沃移动通信有限公司 A kind of display methods, mobile terminal and computer-readable recording medium
CN108776572A (en) * 2018-05-28 2018-11-09 北京小米移动软件有限公司 Window treatments method and device
CN109327605B (en) * 2018-08-29 2021-07-06 维沃移动通信有限公司 Display control method and device and mobile terminal
CN109298909B (en) * 2018-09-14 2021-03-26 Oppo广东移动通信有限公司 Window adjusting method, mobile terminal and computer readable storage medium
CN109407955B (en) * 2018-09-28 2021-04-02 广东省海洋工程装备技术研究所 User interface interaction method, computer device and computer readable storage medium
CN109491577B (en) * 2018-11-26 2021-06-15 努比亚技术有限公司 Holding interaction method and device and computer readable storage medium
CN113518149B (en) * 2020-03-27 2022-09-20 北京小米移动软件有限公司 Screen display method and device and storage medium
CN111672103B (en) * 2020-06-05 2021-10-29 腾讯科技(深圳)有限公司 Virtual object control method in virtual scene, computer device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850348A (en) * 2015-05-21 2015-08-19 努比亚技术有限公司 Realizing method of single-hand mode of mobile terminal, and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101391602B1 (en) * 2007-05-29 2014-05-07 삼성전자주식회사 Method and multimedia device for interacting using user interface based on touch screen
JP4412737B2 (en) * 2007-09-06 2010-02-10 シャープ株式会社 Information display device
US9542097B2 (en) * 2010-01-13 2017-01-10 Lenovo (Singapore) Pte. Ltd. Virtual touchpad for a touch device
CN104298433A (en) * 2014-09-30 2015-01-21 小米科技有限责任公司 Screen display method, device and mobile terminal
CN104571918B (en) * 2015-01-26 2018-11-20 努比亚技术有限公司 Terminal one-handed performance interface triggering method and device
CN104636044B (en) * 2015-02-28 2018-05-01 努比亚技术有限公司 The method and mobile terminal of one-handed performance
CN105183273B (en) * 2015-08-04 2019-03-15 京东方科技集团股份有限公司 A kind of control method of display panel, mobile terminal and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850348A (en) * 2015-05-21 2015-08-19 努比亚技术有限公司 Realizing method of single-hand mode of mobile terminal, and mobile terminal

Also Published As

Publication number Publication date
CN105549871A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105549871B (en) A kind of interface zone adjusting method and device
CN105824559B (en) False touch recognition and processing method and electronic equipment
US9007314B2 (en) Method for touch processing and mobile terminal
US9060068B2 (en) Apparatus and method for controlling mobile terminal user interface execution
CN105975152B (en) Fingerprint-based application program calling method and mobile terminal
EP2508972B1 (en) Portable electronic device and method of controlling same
US9785335B2 (en) Systems and methods for adaptive gesture recognition
WO2018196699A1 (en) Method for displaying fingerprint recognition region, and mobile terminal
US20150370449A1 (en) Terminal and method for controlling terminal with touchscreen
EP2187291A1 (en) Portable terminal device and display control method
US9213482B2 (en) Touch control device and method
US8456433B2 (en) Signal processing apparatus, signal processing method and selection method of user interface icon for multi-touch panel
CN107102809B (en) Fingerprint identification method and mobile terminal
CN104834456A (en) Multi-task switching method and system of touch interface and electronic device
US20150363037A1 (en) Control method of touch panel
CN103870156A (en) Method and device for processing object
US20110069006A1 (en) Method and system for detecting a finger contact on a touchpad
CN105677199A (en) Inputting method and device based on pressure touch
CN106873874B (en) Application program starting method and mobile terminal
CN105677147B (en) A kind of application program launching method and device
JP5388246B1 (en) INPUT DISPLAY CONTROL DEVICE, THIN CLIENT SYSTEM, INPUT DISPLAY CONTROL METHOD, AND PROGRAM
CN106775378B (en) Method for determining candidate words of input method and mobile terminal
CN103809853A (en) Information processing method and electronic device
CN105630397A (en) Method and terminal equipment for opening popup boxes
KR101686495B1 (en) Display control device, thin-client system, display control method, and recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231211

Address after: 518000 floor 21, block a, Kupai building, intersection of Keyuan Avenue and Baoshen Road, north high tech Zone, songpingshan community, Xili street, Nanshan District, Shenzhen, Guangdong

Patentee after: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

Address before: 3 / F, plant No.1, phase I project, No.3, Gongye West 1st Road, Songshan Lake high tech Industrial Development Zone, Dongguan City, Guangdong Province 523500

Patentee before: DONGGUAN COOLPAD SOFTWARE TECH Co.,Ltd.