The method of impression window and terminal
Technical field
The present embodiments relate to field of terminal, particularly to method and the terminal of a kind of impression window.
Background technology
Along with the development of terminal technology, the screen size of terminal is from 3,4 inch, and to 5 inch, screen size is increasing. Due to the operating experience that Touch Screen can bring convenience for user, the screen great majority of terminal adopt Touch Screen. In use, the content needing display is showed user by the form of window by terminal, and user can be operated accordingly by the option in touching window. Therefore, the display form of window directly affects the display of content.
Prior art, when impression window, arranges the displaying scope of window according to the screen size of terminal, and the displaying scope of window is traditionally arranged to be the full frame size of terminal, and according to full frame impression window.
Owing to window is shown according to full frame, when the screen of terminal is bigger, if user adopts one-handed performance terminal, then generally cannot touch the whole window of screen shows, thus the total Options in window cannot be operated, cause that user operation has certain limitation.
Summary of the invention
In order to solve according to full frame impression window, prior art causes that user operation has certain circumscribed problem all the time, embodiments provide method and the terminal of a kind of impression window, to improve the feasibility of user operation window.
First aspect, it is provided that a kind of method of impression window, described method includes:
The mode of operation of user operation terminal is determined according at least two sensor being positioned at terminal;
Determine that scope shown by the window corresponding with the mode of operation of described user operation terminal;
Show that scope shows the window of described terminal according to the window determined;
Wherein, at least one sensor is positioned at the lower left corner of described terminal, and at least one sensor is positioned at the lower right corner of described terminal.
In the first possible implementation of first aspect, described basis is positioned at least two sensor of terminal and determines the mode of operation of user, including:
The mode of operation of user operation terminal is determined according to the sensing result of at least two sensor being positioned at terminal and the operating habit that pre-sets.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, described sensing result includes sensing target and being not sensed by target, and described operating habit includes left-handed operation custom and right-hand operated custom;
The sensing result that described basis is positioned at least two sensor of terminal and the operating habit pre-set determine the mode of operation of user operation terminal, including:
When described operating habit is left-handed operation custom, it is sense target and be positioned at the sensing result of all the sensors in the lower right corner of described terminal for being not sensed by target if located in the sensing result of at least one sensor in the lower left corner being positioned at described terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is one-handed performance; It is be not sensed by target or be positioned at the sensing result of at least one sensor in the lower right corner of described terminal for sensing target if located in the sensing result of all the sensors in the lower left corner being positioned at described terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is bimanualness;
When described operating habit is right-hand operated custom, it is sense target and be positioned at the sensing result of all the sensors in the lower left corner of described terminal for being not sensed by target if located in the sensing result of at least one sensor in the lower right corner being positioned at described terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is one-handed performance; It is be not sensed by target or be positioned at the sensing result of at least one sensor in the lower left corner of described terminal for sensing target if located in the sensing result of all the sensors in the lower right corner being positioned at described terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is bimanualness.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, described determine that scope shown by the window corresponding with the mode of operation of described user operation terminal, including:
If it is determined that the mode of operation of described user operation terminal is one-handed performance, it is determined that the window displaying corresponding with described one-handed performance ranges for preset range, and described preset range is less than the full frame scope of described terminal;
If it is determined that the mode of operation of described user operation terminal is bimanualness, it is determined that the full frame scope ranging for described terminal shown by the window corresponding with described bimanualness.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described determine that the window corresponding with described one-handed performance is shown and ranged for preset range before, also include:
Obtain the test trails that user touches on the screen of described terminal in advance, and described preset range is set according to the test trails got.
In conjunction with the third possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, described determine that the window corresponding with described one-handed performance is shown and ranged for preset range before, also include:
Determine whether described terminal is in transverse screen mode, and after determining that described terminal is not in transverse screen mode, perform to determine that the step ranging for preset range shown by the window corresponding with described one-handed performance.
In conjunction with first aspect, first aspect the first possible implementation to the either side in the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation of first aspect, before the described window showing the scope described terminal of displaying according to the window determined, also include:
The display interface of described terminal displays whether to adjust described window and shows the option of scope, and receiving after user selects to adjust the option that scope shown by described window, perform to show that scope shows the step of the window of described terminal according to the window determined.
Second aspect, additionally provides a kind of terminal, and described terminal includes:
First determines module, for determining the mode of operation of user operation terminal according at least two sensor being positioned at terminal;
Second determines module, and scope shown by the corresponding window of mode of operation for determining the user operation terminal determining that with described first module determines;
According to described second, display module, for determining that the window that module is determined shows that scope shows the window of described terminal;
Wherein, at least one sensor is positioned at the lower left corner of described terminal, and at least one sensor is positioned at the lower right corner of described terminal.
In the first possible implementation of second aspect, described first determines module, and the sensing result being positioned at least two sensor of terminal for basis and the operating habit pre-set determine the mode of operation of user operation terminal.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described sensing result includes sensing target and being not sensed by target, and described operating habit includes left-handed operation custom and right-hand operated custom;
Described first determines module, including:
First determines unit, for when described operating habit is left-handed operation custom, the at least two sensor being arranged in terminal be positioned at the sensing result of at least one sensor in the lower left corner of described terminal be sense target and be positioned at the sensing result of all the sensors in the lower right corner of described terminal for being not sensed by target time, it is determined that the mode of operation of user operation terminal is one-handed performance;
Second determines unit, for when described operating habit is left-handed operation custom, when being arranged in the sensing result of all the sensors in the lower left corner of the be set forth in terminal at least two sensor position of terminal and being be not sensed by target or be positioned at the sensing result of at least one sensor in the lower right corner of described terminal for sensing target, it is determined that the mode of operation of user operation terminal is bimanualness;
3rd determines unit, for when described operating habit is right-hand operated custom, the at least two sensor being arranged in terminal be positioned at the sensing result of at least one sensor in the lower right corner of described terminal be sense target and be positioned at the sensing result of all the sensors in the lower left corner of described terminal for being not sensed by target time, it is determined that the mode of operation of user operation terminal is one-handed performance;
4th determines unit, for when described operating habit is right-hand operated custom, the at least two sensor being arranged in terminal be positioned at the sensing result of all the sensors in the lower right corner of described terminal be not sensed by target or be positioned at the sensing result of at least one sensor in the lower left corner of described terminal for sensing target time, it is determined that the mode of operation of user operation terminal is bimanualness.
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described second determines module, including:
First determines unit, for when determining that the mode of operation of described user operation terminal is one-handed performance, it is determined that the window corresponding with described one-handed performance is shown and ranged for preset range, and described preset range is less than the full frame scope of described terminal;
Second determines unit, for when determining that the mode of operation of described user operation terminal is bimanualness, it is determined that the full frame scope ranging for described terminal shown by the window corresponding with described bimanualness.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described terminal also includes:
Acquisition module, obtains the test trails that user touches on the screen of described terminal in advance;
Module is set, described preset range is set for the test trails got according to described acquisition module.
In conjunction with the third possible implementation of second aspect, in the 5th kind of possible implementation of second aspect,
3rd determines module, is used for determining whether described terminal is in transverse screen mode, and after determining that described terminal is not in transverse screen mode, performs described second and determine that the first of module determines unit.
In conjunction with second aspect, second aspect the first possible implementation to the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation of second aspect, described terminal also includes:
Display module, for displaying whether that on the display interface of described terminal adjusting described window shows the option of scope, and after the option adjusting described window displaying scope that the described display module receiving user's selection shows, performs described display module.
The technical scheme that the embodiment of the present invention provides has the benefit that
The mode of operation of user operation terminal is determined by being positioned at the sensor of terminal, and after determining the window displaying scope corresponding with the mode of operation of user operation terminal, the window of scope displaying terminal is shown according to the window determined, extend the mode that window is shown, and it is less corresponding window can be shown, scope is arranged when user adopts one-handed performance terminal, make user also be able to operate easily the window of terminal display when one-handed performance terminal, improve the feasibility of user operation window.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of impression window that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of a kind of impression window that the embodiment of the present invention two provides;
The sight schematic diagram of user operation terminal when Fig. 3 (a) to Fig. 3 (d) is a kind of left-handed operation custom of the embodiment of the present invention two offer;
The sight schematic diagram of user operation terminal when Fig. 4 (a) to Fig. 4 (d) is a kind of right-hand operated custom of the embodiment of the present invention two offer;
Fig. 5 (a) and Fig. 5 (b) is a kind of schematic diagram arranging preset range that the embodiment of the present invention two provides;
Fig. 6 (a) to Fig. 6 (d) is that the schematic diagram of scope shown by a kind of window that adjusts that the embodiment of the present invention two provides;
Fig. 7 is the structural representation of the first terminal that the embodiment of the present invention three provides;
Fig. 8 is the structural representation of the second terminal that the embodiment of the present invention three provides;
Fig. 9 is the structural representation of the third terminal that the embodiment of the present invention three provides;
Figure 10 is the structural representation of the 4th kind of terminal that the embodiment of the present invention three provides;
Figure 11 is the structural representation of the 5th kind of terminal that the embodiment of the present invention three provides;
Figure 12 is the structural representation of a kind of terminal that the embodiment of the present invention four provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
A kind of method embodiments providing impression window, referring to Fig. 1, method flow includes:
101: determine the mode of operation of user operation terminal according at least two sensor being positioned at terminal.
Wherein, at least one sensor is positioned at the lower left corner of terminal, and at least one sensor is positioned at the lower right corner of terminal.
Specifically, determine the mode of operation of user operation terminal according at least two sensor being positioned at terminal, include but not limited to:
The mode of operation of user operation terminal is determined according to the sensing result of at least two sensor being positioned at terminal and the operating habit that pre-sets.
Specifically, sensing result includes sensing target and being not sensed by target, and operating habit includes left-handed operation custom and right-hand operated custom;
Determine the mode of operation of user operation terminal according to the sensing result of at least two sensor being positioned at terminal and the operating habit that pre-sets, include but not limited to:
When operating habit is left-handed operation custom, it is sense target and be positioned at the sensing result of all the sensors in the lower right corner of terminal for being not sensed by target if located in the sensing result of at least one sensor in the lower left corner being positioned at terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is one-handed performance; It is be not sensed by target or be positioned at the sensing result of at least one sensor in the lower right corner of terminal for sensing target if located in the sensing result of all the sensors in the lower left corner being positioned at terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is bimanualness;
When operating habit is right-hand operated custom, it is sense target and be positioned at the sensing result of all the sensors in the lower left corner of terminal for being not sensed by target if located in the sensing result of at least one sensor in the lower right corner being positioned at terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is one-handed performance; It is be not sensed by target or be positioned at the sensing result of at least one sensor in the lower left corner of terminal for sensing target if located in the sensing result of all the sensors in the lower right corner being positioned at terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is bimanualness.
102: determine that scope shown by the window corresponding with the mode of operation of user operation terminal.
Specifically, it is determined that scope shown by the window corresponding with the mode of operation of user operation terminal, include but not limited to:
If it is determined that the mode of operation of user operation terminal is one-handed performance, it is determined that the window displaying corresponding with one-handed performance ranges for preset range, and preset range is less than the full frame scope of terminal;
If it is determined that the mode of operation of user operation terminal is bimanualness, it is determined that the full frame scope ranging for terminal shown by the window corresponding with bimanualness.
Preferably, it is determined that the window displaying corresponding with one-handed performance also includes before ranging for preset range:
Obtain the test trails that user touches on the screen of terminal in advance, and preset range is set according to the test trails got.
Preferably, it is determined that the window displaying corresponding with one-handed performance also includes before ranging for preset range:
Determine whether terminal is in transverse screen mode, and after determining that terminal is not in transverse screen mode, perform to determine that the step ranging for preset range shown by the window corresponding with one-handed performance.
103: show the window of scope displaying terminal according to the window determined.
Preferably, show the window of scope displaying terminal according to the window determined before, also include:
The display interface of terminal displays whether to adjust window and shows the option of scope, and receiving after user selects to adjust the option that scope shown by window, perform to show according to the window determined the step of the window of scope displaying terminal.
In sum, the method that the embodiment of the present invention provides, the mode of operation of user operation terminal is determined by being positioned at the sensor of terminal, and after determining the window displaying scope corresponding with the mode of operation of user operation terminal, the window of scope displaying terminal is shown according to the window determined, extend the mode that window is shown, and it is less corresponding window can be shown, scope is arranged when user adopts one-handed performance terminal, make user also be able to operate easily the window of terminal display when one-handed performance terminal, improve the feasibility of user operation window.
Embodiment two
The feasibility of user operation window, a kind of method embodiments providing impression window during in order to improve impression window. the present embodiment illustrates that the method for this impression window is applied to include in the terminal touching display screen or Trackpad, this terminal can include smart mobile phone, panel computer, E-book reader, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert's compression standard audio frequency aspect 3), MP4(MovingPictureExpertsGroupAudioLayerIV, dynamic image expert's compression standard audio frequency aspect 4) player, pocket computer on knee and desk computer etc., the type touching display screen or Trackpad can be condenser type, inductance type, piezoelectric type and photosensitive type etc. in conjunction with the content of above-described embodiment one, referring to Fig. 2, method flow includes:
201: determine the mode of operation of user operation terminal according at least two sensor being positioned at terminal.
For this step, user is when operating terminal, and mode of operation can be divided into one-handed performance and bimanualness. The method that the embodiment of the present invention provides can for the different operating mode of user operation terminal, it is provided that the mode of different impression windows. Further, the mode of operation of user operation terminal can automatically determine according at least two sensor being positioned at terminal. Wherein, at least one sensor is positioned at the lower left corner of terminal, and at least one sensor is positioned at the lower right corner of terminal. Sensor can be proximity transducer, infrared sensor or other sensors, and this is not specifically limited by the embodiment of the present invention, and the sensor of selection can sense neighbouring target.
When determining the mode of operation of user operation terminal according at least two sensor being positioned at terminal, it is specifically including but not limited to: determine the mode of operation of user operation terminal according to sensing result and the operating habit pre-set of at least two sensor being positioned at terminal.
Wherein, the sensing result of sensor includes sensing target or being not sensed by target. In order to the mode of operation of user operation terminal detected, at least two sensor pre-set, at least one sensor is positioned at the lower left corner of terminal, and at least one sensor is positioned at the lower right corner of terminal. Wherein, the lower left corner when lower left corner of terminal and the lower right corner respectively terminal are in perpendicular screen pattern and the lower right corner. Certainly, in order to sense close target more accurately, it is possible to adjusting the quantity of the position of sensor or the sensor being positioned at terminal, the embodiment of the present invention is defined at this particular location of sensor not being pointed to terminal and quantity.
Consider user's custom when using mobile phone, user operation habits can be divided into left-handed operation custom and right-hand operated custom, left-handed operation custom refers to that user's ordinary practice when one-handed performance terminal uses left hand to be operated, and right-hand operated custom refers to that user's ordinary practice when one-handed performance terminal uses the right hand to be operated.The operating habit of user can be pre-set according to the use habit of self by user, and the difference of operating habit will influence whether to determine the mode of operation of user operation terminal.
When determining the mode of operation of user operation terminal according to the sensing result of at least two sensor being positioned at terminal and the operating habit that pre-sets, concrete is regular as follows:
(1) when operating habit is left-handed operation custom, it is sense target and be positioned at the sensing result of all the sensors in the lower right corner of terminal for being not sensed by target if located in the sensing result of at least one sensor in the lower left corner being positioned at terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is one-handed performance; It is be not sensed by target or be positioned at the sensing result of at least one sensor in the lower right corner of terminal for sensing target if located in the sensing result of all the sensors in the lower left corner being positioned at terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is bimanualness.
Wherein, above-mentioned determine mode correspondence user use terminal time following two situation:
Situation one: when user adopts left hand one-handed performance terminal, left hand is typically more near the lower left corner of terminal, therefore, being positioned at the sensing result of the sensor in the lower left corner of terminal is sense target and be positioned at the sensing result of sensor in the lower right corner of terminal for being not sensed by target, it may be determined that the mode of operation of user operation terminal is one-handed performance. It should be noted that when being positioned at the sensor in the lower left corner of terminal and having multiple, as long as being positioned at the sensing result of at least one sensor in the lower left corner of terminal for sensing target; When being positioned at the sensor in the lower right corner of terminal and having multiple, it is desirable to be positioned at multiple sensors in the lower right corner of terminal and be and be not sensed by target.
Situation two: when user is provided without left hand one-handed performance terminal, such as user's bimanualness terminal, or terminal is placed in the positions such as desktop and is operated by user, now, being positioned at the sensing result of all the sensors in the lower left corner of terminal is be not sensed by target or be positioned at the sensing result of at least one sensor in the lower right corner of terminal for sensing target, it may be determined that the mode of operation of user operation terminal is bimanualness. In some sight, user's right hand when operating terminal is closer to the lower right corner of terminal, it is positioned at the sensing result of all the sensors that sensing result is the lower left corner sensing that target is positioned at terminal of at least one sensor in the lower right corner of terminal for being not sensed by target, owing to the operating habit of now user is left-handed operation custom, it can be considered that user will not right hand one-handed performance terminal, thus the mode of operation by user operation terminal is defined as bimanualness. In the sight of some bimanualness, the left hand of user and the right hand are respectively in the lower left corner of terminal and the lower right corner, and at least one sensor being now placed in the lower left corner of terminal and at least one sensor being positioned at the terminal lower right corner all sense target.
For example, being respectively arranged with a sensor for the lower left corner of terminal and the lower right corner, wherein, sensor is usually located at terminal inner, is represented by dashed line; The sensing result of the sensor of black is for sensing target, and the sensing result of the sensor of non-black is for being not sensed by target. For situation one, sight is such as shown in Fig. 3 (a), the left hand of user is near the lower left corner of terminal, being positioned at the sensing result of the sensor in the lower left corner of terminal is sense target and be positioned at the sensing result of sensor in the lower right corner of terminal for being not sensed by target, it is determined that the mode of operation of user operation terminal is one-handed performance.
For situation two, in sight as shown in Figure 3 (b), the both hands of user, all not near the lower left corner of terminal and the lower right corner, are positioned at the sensing result of the lower left corner of terminal and the sensor in the lower right corner and are and are not sensed by target, it is determined that the mode of operation of user operation terminal is bimanualness.In sight as shown in Figure 3 (c), the right hand of user is near the lower right corner of terminal, it is positioned at the sensing result of sensor in the lower right corner of terminal for sensing target, and the sensing result being positioned at the sensor in the lower left corner of terminal is non-induction targets, thus determine that the mode of operation of user operation terminal is bimanualness.
Certainly, user's mode of concrete hand held terminal when practical operation terminal is more, possibly cannot accurately determine the mode of operation of user operation terminal in some cases, such as, the sight of the user operation terminal as shown in Fig. 3 (d), the mode of operation adopting the user operation terminal that above-mentioned rule determines is bimanualness, it is determined that error. For such situation, the posture of user's active accommodation operation terminal can be passed through thus allowing terminal can accurately determine the mode of operation of user operation terminal, certainly, can also pass through to arrange the sensor in terminal more accurately such that it is able to determine the mode of operation of user operation terminal more accurately.
(2) when operating habit is right-hand operated custom, it is sense target and be positioned at the sensing result of all the sensors in the lower left corner of terminal for being not sensed by target if located in the sensing result of at least one sensor in the lower right corner being positioned at terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is one-handed performance; It is be not sensed by target or be positioned at the sensing result of at least one sensor in the lower left corner of terminal for sensing target if located in the sensing result of all the sensors in the lower right corner being positioned at terminal at least two sensor of terminal, it is determined that the mode of operation of user operation terminal is bimanualness.
Wherein, above-mentioned determine mode correspondence user use terminal time following two situation:
Situation one: when user adopts right hand one-handed performance terminal, the right hand is typically more near the lower right corner of terminal, therefore, being positioned at the sensing result of at least one sensor in the lower right corner of terminal is sense target and be positioned at the sensing result of all the sensors in the lower left corner of terminal for being not sensed by target, it may be determined that the mode of operation of user operation terminal is one-handed performance. It should be noted that when being positioned at the sensor in the lower right corner of terminal and having multiple, as long as being positioned at the sensing result of at least one sensor in the lower right corner of terminal for sensing target; When being positioned at the sensor in the lower left corner of terminal and having multiple, it is desirable to be positioned at multiple sensors in the lower left corner of terminal and be and be not sensed by target.
Situation two: when user is provided without right hand one-handed performance terminal, such as user's bimanualness terminal, or terminal is placed in the positions such as desktop and is operated by user, now, being positioned at the sensing result of all the sensors in the lower right corner of terminal is be not sensed by target or be positioned at the sensing result of at least one sensor in the lower left corner of terminal for sensing target, it is determined that the mode of operation of user operation terminal is bimanualness. In some sight, user's left hand when operating terminal is closer to the lower left corner of terminal, it is positioned at the sensing result of all the sensors that sensing result is the lower right corner sensing that target is positioned at terminal of at least one sensor in the lower left corner of terminal for being not sensed by target, owing to the operating habit of now user is right-hand operated custom, it can be considered that user will not left hand one-handed performance terminal, thus the mode of operation by user operation terminal is defined as bimanualness.
For example, being respectively arranged with a sensor for the lower left corner of terminal and the lower right corner, wherein, sensor is usually located at terminal inner, is represented by dashed line; The sensing result of the sensor of black is for sensing target, and the sensing result of the sensor of non-black is for being not sensed by target. For situation one, in sight as shown in Figure 4 (a), the right hand of user is near the lower right corner of terminal, being positioned at the sensing result of the sensor in the lower right corner of terminal is sense target and be positioned at the sensing result of sensor in the lower left corner of terminal for being not sensed by target, it is determined that the mode of operation of user operation terminal is one-handed performance.
For situation two, in sight as shown in Figure 4 (b), the both hands of user, all not near the lower left corner of terminal and the lower right corner, are positioned at the sensing result of the lower left corner of terminal and the sensor in the lower right corner and are and are not sensed by target, it is determined that the mode of operation of user operation terminal is bimanualness. In sight as shown in Figure 4 (c), the left hand of user is near the lower left corner of terminal, it is positioned at the sensing result of sensor in the lower left corner of terminal for sensing target, and the sensing result being positioned at the sensor in the lower right corner of terminal is non-induction targets, thus determine that the mode of operation of user operation terminal is bimanualness.
Certainly, when adopting the mode of operation that above-mentioned rule determines user operation terminal, may also appear in possibly in some cases and cannot accurately determine the mode of operation of user operation terminal, such as, the sight of the user operation terminal as shown in Fig. 4 (d), the mode of operation adopting the user operation terminal that above-mentioned rule determines is bimanualness, it is determined that error. For such situation, the posture of user's active accommodation operation terminal can be passed through thus allowing terminal can accurately determine the mode of operation of user operation terminal, certainly, can also pass through to arrange the sensor in terminal more accurately such that it is able to determine the mode of operation of user operation terminal more accurately.
Above-mentioned determine that rule is configured according to principle of human engineering, can being adjusted as required in actual applications, the embodiment of the present invention does not specifically limit for the method determining the mode of operation of user operation terminal according to sensing result and the operating habit that pre-sets of at least two sensor being positioned at terminal.
Except the method for mode of operation that above-mentioned basis the sensing result being positioned at least two sensor of terminal and the operating habit pre-set determine user operation terminal, other modes can also be adopted to determine the mode of operation of user operation terminal, such as, a fixing button can be shown in the screen of terminal, including one-handed performance and two kinds of options of bimanualness, user can select the option of fixing button according to the mode of operation of current operation terminal, and terminal determines the mode of operation of user operation terminal according to the option that user selects. In embodiments of the present invention, the mode of operation for determining user operation terminal is not especially limited.
After determining the mode of operation of user operation terminal, it is thus necessary to determine that scope shown by the window corresponding with the mode of operation of user operation terminal. When the mode of operation of user operation terminal is one-handed performance, perform subsequent step 202; When the mode of operation of user operation terminal is bimanualness, perform subsequent step 203. In the specific implementation, terminal can in use continue to determine the mode of operation of user terminal according at least two sensor being positioned at terminal, if this mode of operation determined is identical with the mode of operation that the last time is determined, then it is performed without subsequent step 202 or step 203, only when this mode of operation determined differs with the last mode of operation determined, just select to perform subsequent step 202 or step 203 according to the mode of operation determined.
202: when the mode of operation of user operation terminal is one-handed performance, it is determined that the window displaying corresponding with one-handed performance ranges for preset range, and preset range is less than the full frame scope of terminal.
For this step, when user's one-handed performance terminal, if the screen of terminal is relatively big or user's hand-type is shorter, it is possible to the area size touching screen is relatively limited. In order to facilitate user to remain able to the operation all regions to window when one-handed performance terminal, it is possible to the window displaying pre-setting one-handed performance corresponding ranges for preset range, and preset range is less than the full frame scope of terminal.
So that preset range more meets the hand-type feature of user self, it is possible to arranged the size of preset range voluntarily by user. Therefore, before determining that the window displaying corresponding with one-handed performance ranges for preset range, it is also possible to including: obtain the test trails that user touches on the screen of terminal in advance, and preset range is set according to the test trails got. Specifically may refer in the following manner (1) and (2):
(1) when user's left hand one-handed performance terminal, it is possible to obtain the test trails from top to bottom or from bottom to up that user touches on the screen of terminal; The highest point and lowest point and farthest, right side that user can touch in the terminal is determined according to the test trails got; Owing to left side is near the left hand of user, user can touch the left side of the screen of terminal the most nearby; A closed figure is constructed the most nearby according to highest point, lowest point, farthest, right side and left side that user can touch, such as, rectangle, circle, ellipse etc., the closed figure of structure is preset range, the size of closed figure and shape are size and the shape of preset range, as shown in Fig. 5 (a). When user's right hand one-handed performance terminal, the mode arranging preset range is similar with the mode of user's left hand one-handed performance terminal, does not repeat them here.
(2) when user's left hand one-handed performance terminal, the test trails of the closed figure that user touches on the screen of terminal can be obtained, the closed figure of the test trails structure correspondence according to the closed figure got, closed figure can be rectangle, circle, ellipse etc., the closed figure of structure is preset range, the size of closed figure and shape are size and the shape of preset range, as shown in Fig. 5 (b). When user's right hand one-handed performance terminal, the mode arranging preset range is similar with the mode of user's left hand one-handed performance terminal, does not repeat them here.
When arranging preset range, it is not limited to adopt user and be configured when left hand one-handed performance terminal or right hand one-handed performance terminal, for instance, it is also possible to when user adopts bimanualness terminal, preset range is set. Further, in the use procedure of terminal, user can also continue to adopt aforesaid way that preset range is repeatedly changed as required. Additionally, except the above-mentioned mode (1) arranging preset range and mode (2), it is also possible to there are other that mode of preset range is set. For example, it is possible to pre-set one or more fixed range, and one of them fixed range is set to preset range by the selection according to user. The size of the fixed range pre-set is less than the full frame scope of the screen of terminal, and the shape of the fixed range pre-set can also arbitrarily be arranged, such as rectangle, circle, ellipse etc. Such as, for the screen of 5.0 inches, pre-set 3 fixed ranges: the rectangle of 3.0 inches, the circle of 3.0 inches, the rectangle of 4.0 inches, according to the selection of user, one of them rectangle can be set to preset range afterwards.For arranging the mode of preset range, the embodiment of the present invention is not specifically limited at this.
Based on the preset range arranged, when mode of operation is one-handed performance, may determine that the window corresponding with one-handed performance is shown and range for preset range so that the size of window is consistent with the size of preset range and shape with shape, thus follow-up can according to the window of preset range displaying terminal. Owing to only changing the size of window when the window of follow-up displaying terminal, remain in the current window that user is browsing, the experience of user will not be impacted. Owing to preset range is less than the full frame scope of terminal, after the size of the window of terminal is become preset range from full frame scope, facilitate user's one-handed performance.
It should be noted that before determining that the window displaying corresponding with one-handed performance ranges for preset range, it is also possible to select to perform according to practical situation: determine whether terminal is in transverse screen mode.
When being in transverse screen mode due to terminal, typically without distinguishing user's one-handed performance terminal or bimanualness terminal. Therefore, when determining that terminal is in transverse screen mode, it is not necessary to perform to determine that the step ranging for preset range shown by the window corresponding with one-handed performance; After determining that terminal is not in transverse screen mode, perform to determine that the step ranging for preset range shown by the window corresponding with one-handed performance.
In the specific implementation, above-mentioned determine terminal whether be in transverse screen mode step can determine the window corresponding with one-handed performance show range for preset range before perform, it is also possible to performed before determine the step of mode of operation of user operation terminal according at least two sensor being positioned at terminal. Determine whether terminal is in the step of transverse screen mode when determining execution before the mode of operation of user operation terminal according at least two sensor being positioned at terminal when above-mentioned, after determining that terminal is not in transverse screen mode, perform to determine the step of the mode of operation of user operation terminal according at least two sensor being positioned at terminal.
After determining that the window displaying corresponding with one-handed performance ranges for preset range, it is possible to continue executing with step 204, to carry out window displaying.
203: when the mode of operation of user operation terminal is bimanualness, it is determined that the full frame scope ranging for terminal shown by the window corresponding with bimanualness.
For this step, when the mode of operation of user operation terminal is bimanualness, the current window of terminal display can be operated by user comparatively freely. Owing to the full frame scope adopting terminal is shown current window, no matter it is that user is watching the content that current window comprises, or when the option selecting current window to comprise, all convenient. Therefore, pre-set window corresponding to bimanualness and show the full frame scope ranging for terminal, when the mode of operation determined in step 201 is bimanualness, it is determined that show that scope is set to the full frame scope of terminal in the window that bimanualness is corresponding. It should be noted that, pre-set window corresponding to bimanualness when showing scope, it is not limited to the full frame scope of terminal, it is also possible to window corresponding for bimanualness is shown the preset range that scope is adjusted when being set greater than one-handed performance, and less than the full frame scope of terminal. After determining that the full frame scope ranging for terminal shown by the window corresponding with bimanualness, it is possible to continue executing with step 204, to carry out window displaying.
204: show the window of scope displaying terminal according to the window determined.
After step 202 or step 203 are determined window displaying scope, it is possible to show the window of scope displaying terminal according to the window determined.
For the difference of the window displaying scope that step 202 and step 203 are determined, it is divided into situations below when the window of concrete displaying terminal:
(1), after determining that window displaying ranges for preset range in step 202., window is shown the size being sized and shaped to preset range and the shape of scope, and preset range is less than the full frame scope of terminal. When showing the window of preset range, it is possible to the window of preset range is accurately positioned over the position of terminal screen residing for the preset range pre-set. Certainly, the window of preset range is also not limited to this in the display location of terminal screen, it is also possible to place the window of preset range according to the operating habit of user. Such as, if operating habit is left-handed operation custom, then the window of preset range is positioned over and is shown near the left side of terminal screen; If operating habit is right-hand operated custom, then the window of preset range is positioned over and is shown near the right side of terminal screen. In addition, other can also be had to show the mode of the window of preset range, for instance, it is possible to the window fixed placement of preset range is shown in the middle of terminal screen, or, other positions that the window of preset range is arbitrarily positioned over terminal screen are shown. For the particular location placed in terminal screen of the window of preset range, the embodiment of the present invention does not specifically limit at this. In the specific implementation, it is that the window of terminal is adjusted to preset range by the full frame scope of terminal according to the window of the window displaying scope displaying terminal determined, this process can also adopt the mode of continuous animation, thus allowing user visually experience the seriality of operation.
For example, for the current window of terminal as shown in Figure 6 (a), determine when the mode of operation of user operation terminal is one-handed performance in step 201, determine that the window corresponding with one-handed performance is shown and range for preset range, when showing the window of scope displaying terminal according to the window determined, if operating habit is left-handed operation custom, then the left side that preset range window is positioned over the screen near terminal is shown, as shown in Figure 6 (b); If operating habit is right-hand operated custom, then the right side that the window of preset range is positioned over the screen near terminal is shown, as shown in Figure 6 (c). In addition it is also possible to select the middle that the window of preset range is positioned over terminal screen to be shown, as shown in Fig. 6 (d).
(2) after determining that the full frame scope ranging for terminal shown by window in step 202., then directly current window is shown according to the full frame scope of terminal. In the specific implementation, it is that the window of terminal is adjusted to the full frame scope of terminal by preset range according to the window of the window displaying scope displaying terminal determined, this process can also adopt the mode of continuous animation, thus allowing user visually experience the seriality of operation.
For example, for the preset range shown in the current window of terminal such as Fig. 6 (b), Fig. 6 (c) or Fig. 6 (d), determine when the mode of operation of user operation terminal is bimanualness in step 201, determine that the full frame scope ranged for as shown in Figure 6 (a) shown by the window corresponding with bimanualness, and according to the window of the displaying scope displaying terminal determined.
In order to determine that the window being about to show disclosure satisfy that the expectation of user better, before show the window of scope displaying terminal according to the window determined, can also include: on the display interface of terminal, display whether that adjusting window shows the option of scope, and receiving after user selects to adjust the option that scope shown by window, perform to show the step of the window of scope displaying terminal according to the window determined.
The display interface of terminal can showing, adjusting window shows the option of scope and do not adjust the option of window displaying scope, when user expects the displaying scope adjusting current window, can select to adjust window and show the option of scope, terminal, receiving after user selects to adjust the option that scope shown by window, performs to show the step of the window of scope displaying terminal according to the window determined; When user undesirably adjusts the displaying scope of current window, can select to cancel the option adjusted, terminal, receiving after user selects not adjust the option that scope shown by window, no longer will be performed the step of the window showing scope displaying terminal according to the window determined.
The display interface of terminal displaying whether, adjusting window shows that the option of scope the option according to user's selection determine whether that the step of the window of scope displaying terminal is shown in execution according to the window determined, make user can adjust the window of terminal according to the wish of oneself, and, if made a mistake when judging the mode of operation of user operation terminal in step 202., according to the situation of practical operation terminal, user still can decide whether that the window adjusting terminal is to meet the mode of operation of the operation terminal of reality.
In sum, the method that the embodiment of the present invention provides, the mode of operation of user operation terminal is determined by being positioned at the sensor of terminal, and after determining the window displaying scope corresponding with the mode of operation of user operation terminal, the window of scope displaying terminal is shown according to the window determined, extend the mode that window is shown, and it is less corresponding window can be shown, scope is arranged when user adopts one-handed performance terminal, make user also be able to operate easily the window of terminal display when one-handed performance terminal, improve the feasibility of user operation window. Further, after the mode of operation determining user operation terminal is bimanualness, window is shown, and scope is adjusted to full frame scope by preset range, it is achieved that adjust the displaying scope of window according to mode of operation, it is provided that the mode of impression window flexibly.
Embodiment three
Embodiments provide a kind of terminal, this terminal method for performing the impression window of above-described embodiment one or embodiment two offer. Referring to Fig. 7, this terminal includes:
First determines module 701, for determining the mode of operation of user operation terminal according at least two sensor being positioned at terminal;
Second determines module 702, and scope shown by the corresponding window of mode of operation for determining the user operation terminal determining that with first module 701 determines;
According to second, display module 703, for determining that the window of scope displaying terminal shown by the window that module 702 is determined;
Wherein, at least one sensor is positioned at the lower left corner of terminal, and at least one sensor is positioned at the lower right corner of terminal.
Specifically, first determines module 701, and the sensing result being positioned at least two sensor of terminal for basis and the operating habit pre-set determine the mode of operation of user operation terminal.
Wherein, sensing result includes sensing target and being not sensed by target, and operating habit includes left-handed operation custom and right-hand operated custom.
Referring to Fig. 8, first determines module 701, including:
First determines unit 7011, for when operating habit is left-handed operation custom, the at least two sensor being arranged in terminal be positioned at the sensing result of at least one sensor in the lower left corner of terminal be sense target and be positioned at the sensing result of all the sensors in the lower right corner of terminal for being not sensed by target time, it is determined that the mode of operation of user operation terminal is one-handed performance;
Second determines unit 7012, for when operating habit is left-handed operation custom, the at least two sensor being arranged in terminal be positioned at the sensing result of all the sensors in the lower left corner of terminal be not sensed by target or be positioned at the sensing result of at least one sensor in the lower right corner of terminal for sensing target time, it is determined that the mode of operation of user operation terminal is bimanualness;
3rd determines unit 7013, for when operating habit is right-hand operated custom, the at least two sensor being arranged in terminal be positioned at the sensing result of at least one sensor in the lower right corner of terminal be sense target and be positioned at the sensing result of all the sensors in the lower left corner of terminal for being not sensed by target time, it is determined that the mode of operation of user operation terminal is one-handed performance;
4th determines unit 7014, for when operating habit is right-hand operated custom, the at least two sensor being arranged in terminal be positioned at the sensing result of all the sensors in the lower right corner of terminal be not sensed by target or be positioned at the sensing result of at least one sensor in the lower left corner of terminal for sensing target time, it is determined that the mode of operation of user operation terminal is bimanualness.
Specifically, referring to Fig. 8, second determines module 702, including:
First determines unit 7021, for when determining that the mode of operation of user operation terminal is one-handed performance, it is determined that the window corresponding with one-handed performance is shown and ranged for preset range, and preset range is less than the full frame scope of terminal;
Second determines unit 7022, for when determining that the mode of operation of user operation terminal is bimanualness, it is determined that the full frame scope ranging for terminal shown by the window corresponding with bimanualness.
Referring to Fig. 9, this terminal can also include:
Acquisition module 704, obtains the test trails that user touches on the screen of terminal in advance;
Module 705 is set, preset range is set for the test trails got according to acquisition module 704.
Referring to Figure 10, this terminal can also include:
3rd determines module 706, is used for determining whether terminal is in transverse screen mode, and after determining that terminal is not in transverse screen mode, performs second and determine that the first of module 702 determines unit 7021.
Referring to Figure 11, this terminal can also include:
Display module 707, for displaying whether that on the display interface of terminal adjusting window shows the option of scope, and after the option adjusting window displaying scope that the display module receiving user's selection shows, performs display module 703.
In sum, the terminal that the embodiment of the present invention provides, the mode of operation of user operation terminal is determined by being positioned at the sensor of terminal, and after determining the window displaying scope corresponding with the mode of operation of user operation terminal, the window of scope displaying terminal is shown according to the window determined, extend the mode that window is shown, and it is less corresponding window can be shown, scope is arranged when user adopts one-handed performance terminal, make user also be able to operate easily the window of terminal display when one-handed performance terminal, improve the feasibility of user operation window.Further, after the mode of operation determining user operation terminal is bimanualness, window is shown, and scope is adjusted to full frame scope by preset range, it is achieved that adjust the displaying scope of window according to mode of operation, it is provided that the mode of impression window flexibly.
Embodiment four
Present embodiments providing a kind of terminal, referring to Figure 12, this terminal includes multiple memorizer 1201, at least one processor 1202 and at least two sensor 1203. Such as processor 1202 can be CPU(CentralProcessingUnit, CPU) etc., memorizer 1201 can comprise high speed Ram memorizer, can also also include non-labile memorizer (non-volatilememory), memorizer 1201 is for storing the program code performed by processor 1202, processor 1202 is coupled with multiple memorizeies 1201 by bus, it is possible to performing the function of impression window, sensor 1203 is for sensing close target.
Processor 1202, for determining the mode of operation of user operation terminal according at least two sensor 1203 being positioned at terminal;
Determine that scope shown by the window corresponding with the mode of operation of user operation terminal;
The window of scope displaying terminal is shown according to the window determined;
Wherein, at least one sensor 1203 is positioned at the lower left corner of terminal, and at least one sensor 1203 is positioned at the lower right corner of terminal.
Processor 1202, the sensing result being positioned at least two sensor 1203 of terminal for basis and the operating habit pre-set determine the mode of operation of user operation terminal.
Wherein, sensing result includes sensing target and being not sensed by target, and operating habit includes left-handed operation custom and right-hand operated custom;
Processor 1202, when operating habit is left-handed operation custom, it is sense target and be positioned at the sensing result of all of sensor 1203 in the lower right corner of terminal for being not sensed by target if located in the sensing result of at least one sensor 1203 in the lower left corner being positioned at terminal at least two sensor 1203 of terminal, it is determined that the mode of operation of user operation terminal is one-handed performance; It is be not sensed by target or be positioned at the sensing result of at least one sensor 1203 in the lower right corner of terminal for sensing target if located in the sensing result of all the sensors 1203 in the lower left corner being positioned at terminal at least two sensor 1203 of terminal, it is determined that the mode of operation of user operation terminal is bimanualness;
When operating habit is right-hand operated custom, it is sense target and be positioned at the sensing result of all the sensors 1203 in the lower left corner of terminal for being not sensed by target if located in the sensing result of at least one sensor 1203 in the lower right corner being positioned at terminal at least two sensor 1203 of terminal, it is determined that the mode of operation of user operation terminal is one-handed performance; It is be not sensed by target or be positioned at the sensing result of at least one sensor 1203 in the lower left corner of terminal for sensing target if located in the sensing result of all the sensors 1203 in the lower right corner being positioned at terminal at least two sensor 1203 of terminal, it is determined that the mode of operation of user operation terminal is bimanualness.
Processor 1202, for if it is determined that the mode of operation of user operation terminal is one-handed performance, it is determined that the window displaying corresponding with one-handed performance ranges for preset range, and preset range is less than the full frame scope of terminal;
If it is determined that the mode of operation of user operation terminal is bimanualness, it is determined that the full frame scope ranging for terminal shown by the window corresponding with bimanualness.
Processor 1202, obtains the test trails that user touches on the screen of terminal, and arranges preset range according to the test trails got in advance.
Processor 1202, is used for determining whether terminal is in transverse screen mode, and after determining that terminal is not in transverse screen mode, performs to determine that the step ranging for preset range shown by the window corresponding with one-handed performance.
Processor 1202, shows the option of scope for displaying whether to adjust window on the display interface of terminal, and receiving after user selects to adjust the option that scope shown by window, performs to show the step of the window of scope displaying terminal according to the window determined.
In sum, the terminal that the embodiment of the present invention provides, the mode of operation of user operation terminal is determined by being positioned at the sensor of terminal, and after determining the window displaying scope corresponding with the mode of operation of user operation terminal, the window of scope displaying terminal is shown according to the window determined, extend the mode that window is shown, and it is less corresponding window can be shown, scope is arranged when user adopts one-handed performance terminal, make user also be able to operate easily the window of terminal display when one-handed performance terminal, improve the feasibility of user operation window. Further, after the mode of operation determining user operation terminal is bimanualness, window is shown, and scope is adjusted to full frame scope by preset range, it is achieved that adjust the displaying scope of window according to mode of operation, it is provided that the mode of impression window flexibly.
It should be understood that the terminal that above-described embodiment provides is when impression window, only it is illustrated with the division of above-mentioned each functional module, in practical application, as desired above-mentioned functions distribution can be completed by different functional modules, it is divided into different functional modules, to complete all or part of function described above by the internal structure of terminal. It addition, the embodiment of the method for the terminal of above-described embodiment offer and impression window belongs to same design, it implements process and refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be completed by hardware, can also be completed by the hardware that program carrys out instruction relevant, described program can be stored in a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.