Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, when the first trigger pip acting on destination object being detected, first response region of this destination object is adjusted to the second larger response region of area, reach the object of the response region of destination object being carried out to dynamic conditioning, make the response region providing area larger under the suitable conditions to user operation, make user fast and accurately its operating position can be navigated to the response region of destination object.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
Fig. 3 shows the realization flow of the method for adjustment of the response region that the embodiment of the present invention provides, and details are as follows:
S101, display-object object.
In the present embodiment, destination object is that supply user and the terminal device in human-computer interaction interface carries out mutual interface element, as viewing area, and button control, text control, separator bar etc.Preferably, this destination object is for carrying out the less interface element in region in mutual interface element shared by display interface for user and terminal device in human-computer interaction interface.Region wherein shared by display interface is less refers to that the region of destination object shared by display interface is less than default region threshold, and this region threshold preset can be arranged according to the screen size of the design needs of human-computer interaction interface and terminal device.
S102, detects the first trigger pip acting on this destination object.
Wherein detect the detailed process acting on the first trigger pip of described destination object as follows:
Detect operating position, if there is overlapping or this operating position and fall in the first response region of destination object in this operating position and the first response region of destination object, or the first response region of this operating position approaching target object, then detect the first trigger pip acting on this destination object.Wherein the first response region of operating position approaching target object refers to that the minor increment at the first response region edge of operating position and destination object is less than default distance threshold.The distance threshold wherein preset can according to settings such as the first response regions of destination object.
Concrete, the position of mouse in display screen can be detected, using the position of mouse in display screen as the operating position detected, as long as the position of mouse in display screen and the first response region of this destination object exist overlapping or fall into or close on the first response region of this destination object like this, then the first trigger pip acting on this destination object detected.Also the touch track that touch operation is corresponding on the touchscreen can be detected, using touch track all as the operating position detected, as long as touch track and the first response region of this destination object exist overlapping or fall into or close on the first response region of this destination object like this, then the first trigger pip acting on this destination object detected.
Wherein the default response region of destination object is generally arrange according to the region of destination object shared by display interface, default response region as destination object is generally rectangle or square, be appreciated that, the default response region of destination object can also be other shapes, does not limit at this.
S103, acts on the first trigger pip of this destination object if detect, then the first response region of this destination object is adjusted to the second response region.Wherein the first response region can be the default response region of this destination object, and the area of the second response region is greater than the first response region.
In the present embodiment, when the first trigger pip acting on destination object being detected, first response region of destination object is adjusted to the second response region that area is greater than the first response region, thus make user can navigate to the response region of this destination object fast and accurately, to carry out the operations such as click pulls to this destination object.
Wherein the shape of the second response region can be consistent with the first response region, also can do on the basis of the first response region and be out of shape.
The detailed process wherein the first response region of destination object being adjusted to the second response region is as follows:
First response region laterally and/or is longitudinally being expanded preset length, as the second response region.
Refer to Fig. 4 a and 4b, wherein destination object is separator bar Z, Fig. 4 a is the response region schematic diagram adjusting front separator bar Z, and Fig. 4 b is the response region schematic diagram of separator bar Z after adjustment.As can be seen from Fig. 4 a and Fig. 4 b, when the trigger pip acting on separator bar Z being detected, by first response region (dotted portion of Fig. 4 a) of the separator bar Z shown in Fig. 4 a after longitudinally expanding preset length, obtain second response region (dotted portion of Fig. 4 b) of the separator bar Z shown in Fig. 4 b.
In an alternative embodiment of the invention, the first response region laterally and/or is longitudinally being expanded preset length, and the detailed process as the second response region is as follows:
A1, judge whether the lateral length of the first response region of destination object is less than first threshold, if so, then by the first response region in horizontal expansion first preset length, if not, then the first response region of destination object is not processed;
A2, judge whether the longitudinal length of the first response region of destination object is less than Second Threshold, if so, then by the first response region longitudinally expanding the second preset length, if not, then the first response region of destination object is not processed.
In an alternative embodiment of the invention, the first response region laterally and/or is longitudinally being expanded preset length, and the detailed process as the second response region is as follows:
A1, judge whether the lateral length of the first response region of destination object is less than first threshold, if so, then by the first response region in horizontal expansion first preset length, and perform A2 in turn, if not, jump to A3.
A2, judge whether the longitudinal length of the first response region of destination object is less than Second Threshold, if so, then the first response region is longitudinally being expanded the second preset length, and terminating adjustment, if not, jumping to A3.
The lateral length of the first response region of A3, comparison object object and longitudinal length, when lateral length is greater than longitudinal length, by the first response region longitudinally expanding the second preset length, when lateral length is less than longitudinal length, by the first response region in horizontal expansion first preset length.
Wherein first threshold is identical with Second Threshold or not identical, and the first preset length is identical with the second preset length or not identical.
In the present embodiment, by the first response region laterally and/or is longitudinally being expanded preset length, as the second response region, thus make the area of the second response region be greater than the first response region, its operating position can be navigated in the response region of destination object by user more accurately.
In an alternative embodiment of the invention, the detailed process the first response region of destination object being adjusted to the second response region is as follows:
First response region of destination object is expanded preset multiple, as the second response region of destination object.
In the present embodiment, by the first response region is expanded preset multiple as the second response region, thus the area of the second response region of destination object is made to be greater than the first response region.
In an alternative embodiment of the invention, the detailed process the first response region of destination object being adjusted to the second response region is as follows:
When the first response region of destination object is square, four summits that this is square are divided into two groups, often group comprises two summits, respectively with two summits in every group for end points, in the mode expanding the first response region, the line segment between two summits in the first response region often in group is transformed to camber line, wave or broken line, obtains the second response region.Be appreciated that and in the mode expanding the first response region the line segment between two summits in the first response region often in group can also be transformed to that all the other are linear, be not limited in any way at this.
Refer to Fig. 5 a, 5b and 5c, wherein Fig. 5 a is the schematic diagram of first response region of separator bar Z, in figure 5b, after to be the mode that expands the first response region be transformed to camber line by the line segment between two summits in the first response region shown in Fig. 5 a often in group, the schematic diagram of the second response region (dotted portion in Fig. 5 b) obtained.Fig. 5 c is after to be the mode that expands the first response region be transformed to broken line by the line segment between two summits in the first response region shown in Fig. 5 a often in group, the schematic diagram of the second response region (dotted portion in Fig. 5 c) obtained.
In an alternative embodiment of the invention, when the first response region of destination object is square, the concrete mode these four square summits being divided into two groups can be any packet mode of employing, as at random four summits being divided into two groups, or in the following way:
Two the longest for this square length of side summits are divided into one group, as shown in Figure 5 a, because the length of side between A and B of summit is longer than the length of side between A and D of summit, therefore, summit A, B are divided into one group, because becoming between C and D of summit is longer than the length of side between D and A of summit, therefore, summit C, D are divided into one group.
In an alternative embodiment of the invention, the detailed process the first response region of destination object being adjusted to the second response region is as follows:
B1, obtain and act on the position of the first trigger pip of destination object.
In the present embodiment, when the first trigger pip of the first response region acting on destination object being detected, obtain the position of mouse in the first response region of destination object when this first trigger pip being detected, or obtain the position of touch point in the first response region of destination object when this first trigger pip being detected, or to obtain when this first trigger pip being detected mouse in the position at the edge of the first response region of destination object.
The position that B2, basis get is determined to convert end points from the boundary line of the first response region.Its detailed process is as follows:
When the lateral length of the first response region of destination object is less than longitudinal length, using the horizontal straight line of the position through getting as with reference to line, the point being first threshold with the distance of reference line in the longitudinal edge boundary line of the first response region of destination object is defined as converting end points;
When the lateral length of the first response region of destination object is greater than longitudinal length, using longitudinal straight line of the position through getting as with reference to line, the point being first threshold with the distance of reference line in the widthwise edge boundary line of the first response region of destination object is defined as converting end points.
Refer to Fig. 6 a, 6b, wherein 6a, 6b are respectively the schematic diagram of the conversion end points determined, as in Fig. 6 a, because the lateral length of separator bar Z is less than longitudinal length, therefore, using the horizontal straight line (the straight line L as in Fig. 6 a) of the position (the position E as in Fig. 6 a) through getting as reference line, be that the point (as F and G, and H and I) of first threshold is defined as converting end points by the distance of (as the boundary line be made up of terminal A and D and the boundary line be made up of terminal B and C) in the longitudinal edge boundary line of first response region of separator bar Z and reference line L.As in Fig. 6 b, the lateral length of separator bar Z is less than longitudinal length, therefore, using longitudinal straight line (the straight line L as in Fig. 6 b) of the position (the position E as in Fig. 6 b) through getting as reference line, be that the point (as F and G, and H and I) of first threshold is defined as converting end points by the distance of (as the boundary line be made up of terminal A and D and the boundary line be made up of terminal B and C) in the widthwise edge boundary line of first response region of separator bar Z and reference line L.
B3, by the line segment between two that are positioned on the same boundary line of the first response region conversion end points, to expand, the mode conversion of the first response region is camber line, wave or broken line, obtains the second response region.Be appreciated that and the line segment between two conversion end points can also be transformed to that all the other are linear, be not limited in any way at this.
Or for the figure shown in Fig. 6 a and 6b, after determining conversion end points, in Fig. 6 a, because F and G is positioned on the same boundary line of the first response region, H and I is positioned on the same boundary line of the first response region, therefore, by the line segment between the line segment between F and G and H and I, to expand, the mode conversion of the first response region is camber line, wave or broken line, obtains the second response region.Wherein Fig. 6 c to show conversion end points F and G shown in Fig. 6 a between line segment and H and I between line segment to expand the schematic diagram of mode conversion for camber line of the first response region.In figure 6b, also be that F and G is positioned on the same boundary line of the first response region, H and I is positioned on the same boundary line of the first response region, therefore, by the line segment between the line segment between F and G and H and I, to expand, the mode conversion of the first response region is camber line, wave or broken line, obtains the second response region.Wherein Fig. 6 d to show conversion end points F and G shown in Fig. 6 b between line segment and H and I between line segment to expand the schematic diagram of mode conversion for broken line of the first response region.
Fig. 7 shows the realization flow of the method for adjustment of the response region that another embodiment of the present invention provides, and wherein S201 to S203 is identical with the S101 to S103 in Fig. 1, and its difference is, also comprises after S203:
S204, detects the second trigger pip acting on this destination object.
Wherein detect the detailed process acting on the second trigger pip of this destination object as follows:
Detect operating position, if when this operating position is not in the second response region of destination object, then the second trigger pip acting on this destination object detected.
Concrete, the position of mouse in display screen can be detected, using the position of mouse in display screen as the operating position detected, as long as mouse shifts out in the second response region of this destination object like this, then the second trigger pip acting on this destination object detected.Also the touch track that touch operation is corresponding on the touchscreen can be detected, using touch track all as the operating position detected, as long as touch the place outside the second response region of this destination object like this, the second trigger pip acting on this destination object just detected.。
S205, acts on the second trigger pip of this destination object if detect, then the second response region of destination object is reverted to the first response region.
In the present embodiment, when the second trigger pip acting on destination object being detected, target is reverted to the first response region to that the second response region of play, thus make the response region of destination object be only when meeting certain condition, just be adjusted to the second response region, when this does not meet this condition or this condition clears, revert to the first response region, thus the interference that the adjustment reducing the response region of this destination object to greatest extent causes to the destination object adjacent with this destination object.
Fig. 8 shows the structure of the adjusting gear of the response region that the embodiment of the present invention provides, and illustrate only the part relevant to the embodiment of the present invention for convenience of explanation.
The adjusting gear of this response region may be used for computing machine, mobile phone etc., can be the unit that software unit, hardware cell or the software and hardware run in the equipment such as computing machine, mobile phone combines, also can be integrated in the equipment such as computing machine, mobile phone as independently suspension member or run in the application system of the equipment such as computing machine, mobile phone.The wherein details of not detailed description in device embodiment, can with reference to the embodiment of the method for above-mentioned correspondence.
The adjusting gear of this response region comprises:
Display unit 1 is for display-object object.
In the present embodiment, destination object is carry out mutual interface element for user and terminal device in human-computer interaction interface.Preferably, this destination object is carry out for user and terminal device the interface element that in mutual interface element, the first response region is less in human-computer interaction interface.
First detecting unit 2 is for detecting the first trigger pip of the destination object acting on the display of described display unit 1.
This first detecting unit 2 is specifically for detecting operating position, fall in the first response region of described destination object if described operating position and the first response region of described destination object exist overlapping or described operating position, or described operating position closes on the first response region of described destination object, then the first trigger pip acting on described destination object detected.
Concrete, the position of mouse in display screen can be detected, using the position of mouse in display screen as the operating position detected, as long as the position of mouse in display screen and the first response region of this destination object exist overlapping or fall into or close on the first response region of this destination object like this, then the first trigger pip acting on this destination object detected.Also the touch track that touch operation is corresponding on the touchscreen can be detected, using touch track all as the operating position detected, as long as touch track and the first response region of this destination object exist overlapping or fall into or close on the first response region of this destination object like this, then the first trigger pip acting on this destination object detected.。
First response region of described destination object, for when described detecting unit detects the first trigger pip acting on described destination object, is adjusted to the second response region by the first adjustment unit 3.Wherein said first response region is the first response region of described destination object or the default response region for described destination object setting, and the area of described second response region is greater than described first response region.
Wherein the shape of the second response region can be consistent with the first response region, also can do on the basis of the first response region and be out of shape.
During in the present invention, another is implemented, this adjustment unit 3 is specifically for when described detecting unit 2 detects the first trigger pip acting on described destination object, first response region of described destination object laterally and/or is longitudinally being expanded preset length, as the second response region of described destination object.
In an alternative embodiment of the invention, this adjustment unit 3 is when described detecting unit 2 detects the first trigger pip acting on described destination object, judge whether the lateral length of the first response region of destination object is less than first threshold, if, then by the first response region in horizontal expansion first preset length, if not, then the first response region of destination object is not processed; Judge whether the longitudinal length of the first response region of destination object is less than Second Threshold, if so, then the first response region is expanded the second preset length longitudinal, if not, then the first response region of destination object is not processed.
In an alternative embodiment of the invention, this adjustment unit 3 is when described detecting unit 2 detects the first trigger pip acting on described destination object, if the lateral length of the first response region of destination object is less than first threshold, then by the first response region in horizontal expansion first preset length, if the longitudinal length of the first response region of destination object is less than Second Threshold, then the first response region is longitudinally being expanded the second preset length, if the lateral length of the first response region of destination object is greater than first threshold, and the longitudinal length of the first response region of destination object is greater than Second Threshold, the then lateral length of the first response region of comparison object object and longitudinal length, when lateral length is greater than longitudinal length, first response region is longitudinally being expanded the second preset length, when lateral length is less than longitudinal length, by the first response region in horizontal expansion first preset length.
In an alternative embodiment of the invention, the first response region of destination object, when described detecting unit 2 detects the first trigger pip acting on described destination object, is expanded preset multiple, as the second response region of destination object by this adjustment unit 3.
In an alternative embodiment of the invention, this adjustment unit 3 is specifically for when described detecting unit 2 detects the first trigger pip acting on described destination object, if the first response region of destination object is square, described four square summits are divided into two groups, often group comprises two summits, respectively with two summits in every group for end points, in the mode expanding the first response region, the line segment between two summits in the first response region often in group is transformed to camber line, wave or broken line, obtains the second response region of described destination object.
In an alternative embodiment of the invention, this adjustment unit 3 comprises:
Position acquisition module 31 is for obtaining the position of the first trigger pip acting on destination object.
Change point determination module 32 converts end points for determining from the boundary line of the first response region according to the position got.
When this change point determination module 32 is less than longitudinal length specifically for the lateral length of the first response region at destination object, using the horizontal straight line of the position through getting as with reference to line, the point being first threshold with the distance of reference line in the longitudinal edge boundary line of the first response region of destination object is defined as converting end points; When the lateral length of the first response region of destination object is greater than longitudinal length, using longitudinal straight line of the position through getting as with reference to line, the point being first threshold with the distance of reference line in the widthwise edge boundary line of the first response region of destination object is defined as converting end points.
Response region adjusting module 33, for the mode conversion of the first response region is camber line to expand, wave or broken line by the line segment between two that are positioned on the same boundary line of the first response region conversion end points, obtains the second response region of described destination object.
In an alternative embodiment of the invention, this device also comprises:
Second detecting unit 4 acts on the second trigger pip of this destination object for detecting.
In an alternative embodiment of the invention, this second detecting unit 4 specifically for detect operating position, if when described operating position is not in the second response region of described destination object, then the second trigger pip acting on described destination object detected.
Concrete, the position of mouse in display screen can be detected, using the position of mouse in display screen as the operating position detected, as long as mouse shifts out in the second response region of this destination object like this, then the second trigger pip acting on this destination object detected.Also the touch track that touch operation is corresponding on the touchscreen can be detected, using touch track all as the operating position detected, as long as touch the place outside the second response region of this destination object like this, the second trigger pip acting on this destination object just detected.Second adjustment unit 5 acts on the second trigger pip of this destination object detecting, then the second response region of destination object is reverted to the first response region.
It should be noted that said system, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.Above-mentioned relate to first, second only for distinguishing and mark, do not represent ordinal relation, also not represented first just necessarily has the second, or has second just necessarily to have first.
One of ordinary skill in the art will appreciate that, the all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
In the present embodiment, when the first trigger pip acting on destination object being detected, first response region of this destination object is adjusted to the second larger response region of area, reach the object of the response region of destination object being carried out to dynamic conditioning, make the response region providing area larger under the suitable conditions to user operation, make user fast and accurately its operating position can be navigated to the response region of destination object.When the second trigger pip acting on destination object being detected, target is reverted to the first response region to that the second response region of play, thus make the response region of destination object be only when meeting certain condition, just be adjusted to the second response region, when this does not meet this condition or this condition clears, revert to the first response region, thus the interference that the adjustment reducing the response region of this destination object to greatest extent causes to the destination object adjacent with this destination object.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.