Summary of the invention
All the time cause the user to operate according to full frame impression window in the prior art having certain circumscribed problem in order to solve, the embodiment of the invention provides a kind of method and terminal of impression window, to improve the feasibility of user's action pane.
First aspect provides a kind of method of impression window, and described method comprises:
Determine the mode of operation of user's operating terminal at least according to two sensors that are positioned at terminal;
Determine the window displaying scope corresponding with the mode of operation of described user's operating terminal;
Show the window of described terminal according to the window displaying scope of determining;
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 possible implementation of the first of first aspect, at least two sensors that described basis is positioned at terminal are determined user's mode of operation, comprising:
Determine the mode of operation of user's operating terminal at least according to the induction result of two sensors that are positioned at terminal and the operating habit that sets in advance.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, described induction result comprises and senses target and do not sense target, and described operating habit comprises that left-handed operation custom and right-hand operated be accustomed to;
Described basis is positioned at the induction result of at least two sensors of terminal and the mode of operation that the operating habit that sets in advance is determined user's operating terminal, comprising:
When described operating habit is the left-handed operation custom, if be arranged in the induction result of at least one sensor that at least two sensors of terminal are positioned at the lower left corner of described terminal and be the induction result of all the sensors in the lower right corner that senses target and be positioned at described terminal for not sensing target, determine that then the mode of operation of user's operating terminal is one-handed performance; If be arranged at least two sensors of terminal be positioned at described terminal the lower left corner all the sensors the induction result for the induction result of at least one sensor in the lower right corner that do not sense target or be positioned at described terminal for sensing target, then the mode of operation of definite user's operating terminal is bimanualness;
When described operating habit is the right-hand operated custom, if be arranged in the induction result of at least one sensor that at least two sensors of terminal are positioned at the lower right corner of described terminal and be the induction result of all the sensors in the lower left corner that senses target and be positioned at described terminal for not sensing target, determine that then the mode of operation of user's operating terminal is one-handed performance; If be arranged at least two sensors of terminal be positioned at described terminal the lower right corner all the sensors the induction result for the induction result of at least one sensor in the lower left corner that do not sense target or be positioned at described terminal for sensing target, then the mode of operation of definite user's operating terminal is bimanualness.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation of first aspect, described definite window corresponding with the mode of operation of described user's operating terminal showed scope, comprising:
If determine that the mode of operation of described user's operating terminal is one-handed performance, determine that then the window displaying scope corresponding with described one-handed performance is preset range, described preset range is less than the full frame scope of described terminal;
If determine that the mode of operation of described user's operating terminal is bimanualness, determine that then the window displaying scope corresponding with described bimanualness is the full frame scope of described terminal.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, describedly determine that the window displaying scope corresponding with described one-handed performance is before the preset range, also comprises:
Obtain in advance the test trails that the user touches at the screen of described terminal, and according to the test trails that gets access to described preset range is set.
In conjunction with the third possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, describedly determine that the window displaying scope corresponding with described one-handed performance is before the preset range, also comprises:
Determine whether described terminal is in horizontal screen pattern, and after definite described terminal is not in horizontal screen pattern, carries out and determine that the window displaying scope corresponding with described one-handed performance is the step of preset range.
In conjunction with the either side of the possible implementation of the first of first aspect, first aspect to the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation of first aspect, the described displaying according to the window displaying scope of determining also comprises before the window of described terminal:
Show whether adjust the option that described window is showed scope at the display interface of described terminal, and after receiving user selection and adjusting described window and show the option of scope, carry out the step of showing the window of described terminal according to the window displaying scope of determining.
Second aspect also provides a kind of terminal, and described terminal comprises:
The first determination module is for the mode of operation of determining user's operating terminal at least according to two sensors that are positioned at terminal;
The second determination module is showed scope for the window that the mode of operation of user's operating terminal of determining to determine with described the first determination module is corresponding;
Display module is used for showing the window of described terminal according to the window displaying scope that described the second determination module is 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 possible implementation of the first of second aspect, described the first determination module is used for determining according to the induction result of at least two sensors that are positioned at terminal and the operating habit that sets in advance the mode of operation of user's operating terminal.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, described induction result comprises and senses target and do not sense target, and described operating habit comprises that left-handed operation custom and right-hand operated be accustomed to;
Described the first determination module comprises:
The first determining unit, be used for when described operating habit is the left-handed operation custom, the induction result of at least one sensor who is positioned at the lower left corner of described terminal at least two sensors that are arranged in terminal be the induction result of all the sensors in the lower right corner that senses target and be positioned at described terminal when not sensing target, the mode of operation of determining user's operating terminal is one-handed performance;
The second determining unit, be used for when described operating habit is the left-handed operation custom, the induction result of all the sensors in the lower left corner of the terminal that at least two sensor metas are set forth in that is positioned at terminal for the induction result of at least one sensor in the lower right corner that do not sense target or be positioned at described terminal when sensing target, the mode of operation of determining user's operating terminal is bimanualness;
The 3rd determining unit, be used for when described operating habit is the right-hand operated custom, the induction result of at least one sensor who is positioned at the lower right corner of described terminal at least two sensors that are arranged in terminal be the induction result of all the sensors in the lower left corner that senses target and be positioned at described terminal when not sensing target, the mode of operation of determining user's operating terminal is one-handed performance;
The 4th determining unit, be used for when described operating habit is the right-hand operated custom, at least two sensors that are arranged in terminal be positioned at described terminal the lower right corner all the sensors the induction result for the induction result of at least one sensor in the lower left corner that do not sense target or be positioned at described terminal when sensing target, the mode of operation of determining user's operating terminal is bimanualness.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of second aspect, described the second determination module comprises:
The first determining unit is used for when the mode of operation of determining described user's operating terminal is one-handed performance, determines that the window displaying scope corresponding with described one-handed performance is preset range, and described preset range is less than the full frame scope of described terminal;
The second determining unit is used for when the mode of operation of determining described user's operating terminal is bimanualness, determines that the window displaying scope corresponding with described bimanualness is the full frame scope of described terminal.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described terminal also comprises:
Acquisition module is used for obtaining in advance the test trails that the user touches at the screen of described terminal;
Module is set, and the test trails that is used for getting access to according to described acquisition module arranges described preset range.
In conjunction with the third possible implementation of second aspect, in the 5th kind of possible implementation of second aspect,
The 3rd determination module is used for determining whether described terminal is in horizontal screen pattern, and after definite described terminal is not in horizontal screen pattern, carries out the first determining unit of described the second determination module.
In conjunction with the five kind possible implementation of the possible implementation of the first of second aspect, second aspect to second aspect, in the 6th kind of possible implementation of second aspect, described terminal also comprises:
Display module is used for showing whether adjust the option that described window is showed scope at the display interface of described terminal, and after the described window of adjustment that the described display module that receives user selection shows is showed the option of scope, carries out described display module.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
Determine the mode of operation of user's operating terminal by the sensor that is positioned at terminal, and determine after the window displaying scope corresponding with the mode of operation of user's operating terminal, the window of showing the scope displaying terminal according to the window of determining, expanded the mode that window is showed, and what the window displaying scope of correspondence can be arranged when the user adopts the one-handed performance terminal is less, so that user's also window of showing of operating terminal easily when the one-handed performance terminal, improved the feasibility of user's action pane.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
The embodiment of the invention provides a kind of method of impression window, and referring to Fig. 1, method flow comprises:
101: the mode of operation of determining user's operating terminal at least according to two sensors that are 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.
Particularly, determine the mode of operation of user's operating terminal at least according to two sensors that are positioned at terminal, include but not limited to:
Determine the mode of operation of user's operating terminal at least according to the induction result of two sensors that are positioned at terminal and the operating habit that sets in advance.
Particularly, induction is the result comprise and sense target and do not sense target, and operating habit comprises that left-handed operation custom and right-hand operated be accustomed to;
Determine the mode of operation of user's operating terminal at least according to the induction result of two sensors that are positioned at terminal and the operating habit that sets in advance, include but not limited to:
When operating habit is the left-handed operation custom, if be arranged in the induction result of at least one sensor that at least two sensors of terminal are positioned at the lower left corner of terminal and be the induction result of all the sensors in the lower right corner that senses target and be positioned at terminal for not sensing target, determine that then the mode of operation of user's operating terminal is one-handed performance; If be arranged at least two sensors of terminal be positioned at terminal the lower left corner all the sensors the induction result for the induction result of at least one sensor in the lower right corner that do not sense target or be positioned at terminal for sensing target, then the mode of operation of definite user's operating terminal is bimanualness;
When operating habit is the right-hand operated custom, if be arranged in the induction result of at least one sensor that at least two sensors of terminal are positioned at the lower right corner of terminal and be the induction result of all the sensors in the lower left corner that senses target and be positioned at terminal for not sensing target, determine that then the mode of operation of user's operating terminal is one-handed performance; If be arranged at least two sensors of terminal be positioned at terminal the lower right corner all the sensors the induction result for the induction result of at least one sensor in the lower left corner that do not sense target or be positioned at terminal for sensing target, then the mode of operation of definite user's operating terminal is bimanualness.
102: determine the window displaying scope corresponding with the mode of operation of user's operating terminal.
Particularly, determine the window displaying scope corresponding with the mode of operation of user's operating terminal, include but not limited to:
If determine that the mode of operation of user's operating terminal is one-handed performance, determine that then the window displaying scope corresponding with one-handed performance is preset range, preset range is less than the full frame scope of terminal;
If determine that the mode of operation of user's operating terminal is bimanualness, determine that then the window displaying scope corresponding with bimanualness is the full frame scope of terminal.
Preferably, determine that the window displaying scope corresponding with one-handed performance is before the preset range, also comprises:
Obtain in advance the test trails that the user touches at the screen of terminal, and according to the test trails that gets access to preset range is set.
Preferably, determine that the window displaying scope corresponding with one-handed performance is before the preset range, also comprises:
Determine whether terminal is in horizontal screen pattern, and after definite terminal is not in horizontal screen pattern, carries out and determine that the window displaying scope corresponding with one-handed performance is the step of preset range.
103: the window of showing the scope displaying terminal according to the window of determining.
Preferably, show according to the window of determining before the window of scope displaying terminal, also comprise:
Display interface in terminal shows whether adjust the option that window is showed scope, and behind the option that receives user selection adjustment window displaying scope, carries out the step of showing the window of scope displaying terminal according to the window of determining.
In sum, the method that the embodiment of the invention provides, determine the mode of operation of user's operating terminal by the sensor that is positioned at terminal, and determine after the window displaying scope corresponding with the mode of operation of user's operating terminal, the window of showing the scope displaying terminal according to the window of determining, expanded the mode that window is showed, and what the window displaying scope of correspondence can be arranged when the user adopts the one-handed performance terminal is less, so that user's also window of showing of operating terminal easily when the one-handed performance terminal, improved the feasibility of user's action pane.
Embodiment two
The feasibility of user's action pane when improving impression window, the embodiment of the invention provides a kind of method of impression window.The method that the present embodiment illustrates this impression window is applied to include in the terminal of touch display screen or Trackpad, this terminal can comprise smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc., the type of touch display screen or Trackpad can be condenser types, inductance type, piezoelectric type and photosensitive formula etc.In conjunction with the content of above-described embodiment one, referring to Fig. 2, method flow comprises:
201: the mode of operation of determining user's operating terminal at least according to two sensors that are positioned at terminal.
For this step, the 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 invention provides can be for the different operating mode of user's operating terminal, and the mode of different impression window is provided.And the mode of operation of user's operating terminal can be determined automatically according to two sensors that are positioned at terminal at least.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 the embodiment of the invention does not specifically limit this, and near the target the sensor of selecting can be sensed gets final product.
When determining the mode of operation of user's operating terminal according at least two sensors that are positioned at terminal, specifically include but not limited to: the mode of operation of determining user's operating terminal at least according to induction result and the operating habit that sets in advance of two sensors that are positioned at terminal.
Wherein, the induction result of sensor comprises and senses target or do not sense target.In order to detect the mode of operation of user's operating terminal, at least two sensors that set in advance, 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 of terminal and the lower right corner are respectively the lower left corner and the lower right corner of terminal when being in perpendicular screen pattern.Certainly, in order to sense more accurately approaching target, can be positioned at the position of sensor of terminal or the quantity of sensor in adjustment, the embodiment of the invention does not limit particular location and the quantity of the sensor that is positioned at terminal at this.
Consider the custom of user when using mobile phone, user operation habits can be divided into left-handed operation custom and right-hand operated custom, the left-handed operation custom refers to that user's ordinary practice use left hand when the one-handed performance terminal operates, and the right-hand operated custom refers to that user's ordinary practice use right hand when the one-handed performance terminal operates.User's operating habit can be to be set in advance according to the use habit of self by the user, and the difference of operating habit will have influence on the mode of operation of determining user's operating terminal.
When the induction result according at least two sensors that are positioned at terminal determined the mode of operation of user's operating terminal with the operating habit that sets in advance, concrete was regular as follows:
(1) when operating habit is the left-handed operation custom, if be arranged in the induction result of at least one sensor that at least two sensors of terminal are positioned at the lower left corner of terminal and be the induction result of all the sensors in the lower right corner that senses target and be positioned at terminal for not sensing target, determine that then the mode of operation of user's operating terminal is one-handed performance; If be arranged at least two sensors of terminal be positioned at terminal the lower left corner all the sensors the induction result for the induction result of at least one sensor in the lower right corner that do not sense target or be positioned at terminal for sensing target, then the mode of operation of definite user's operating terminal is bimanualness.
Wherein, the following two kind situations of above-mentioned definite mode respective user when using terminal:
Situation one: when the user adopts left hand one-handed performance terminal, left hand is the lower left corner of comparatively close terminal usually, therefore, the induction result of sensor who is positioned at the lower left corner of terminal be the induction result of sensor in the lower right corner that senses target and be positioned at terminal for not sensing target, the mode of operation that can determine user's operating terminal is one-handed performance.Need to prove, when the sensor in the lower left corner that is positioned at terminal has when a plurality of, as long as the induction result of at least one sensor in the lower left corner who is positioned at terminal is for sensing target; When the sensor in the lower right corner that is positioned at terminal has when a plurality of, a plurality of sensors that require to be positioned at the lower right corner of terminal are does not sense target.
Situation two: when the user does not adopt left hand one-handed performance terminal, user's bimanualness terminal for example, or the user is placed in terminal the positions such as desktop and operates, at this moment, be positioned at terminal the lower left corner all the sensors the induction result for the induction result of at least one sensor in the lower right corner that do not sense target or be positioned at terminal for sensing target, the mode of operation that can determine user's operating terminal is bimanualness.The lower right corner of user's comparatively close terminal of the right hand when operating terminal in some sight, the induction result of at least one sensor who is positioned at the lower right corner of terminal senses target to be positioned at the induction result of all the sensors in the lower left corner of terminal for not sensing target, because this moment, user's operating habit was the left-handed operation custom, therefore can think that the user can right hand one-handed performance terminal, thereby the mode of operation of user's operating terminal is defined as bimanualness.In the sight of some bimanualness, user's left hand and the right hand are respectively in the lower left corner and the lower right corner of terminal, and at least one sensor that is positioned at the lower left corner of terminal this moment is all sensed target with at least one sensor that is positioned at the terminal lower right corner.
For instance, be respectively arranged with a sensor as example take the lower left corner and the lower right corner of terminal, wherein, sensor is usually located at terminal inner, dots; The induction result of the sensor of black is for sensing target, and the induction result of the sensor of non-black is not for sensing target.For situation one, sight is shown in Fig. 3 (a), user's left hand is near the lower left corner of terminal, the induction result of sensor who is positioned at the lower left corner of terminal be the induction result of sensor in the lower right corner that senses target and be positioned at terminal for not sensing target, the mode of operation of determining user's operating terminal is one-handed performance.
For situation two, in the sight shown in Fig. 3 (b), user's both hands are all near the lower left corner and the lower right corner of terminal, and the induction result who is positioned at the sensor in the lower left corner of terminal and the lower right corner is and does not sense target, and the mode of operation of determining user's operating terminal is bimanualness.In the sight shown in Fig. 3 (c), user's the right hand is near the lower right corner of terminal, be positioned at the induction result of sensor in the lower right corner of terminal for sensing target, and the induction result of sensor who is positioned at the lower left corner of terminal is induction targets not, thereby the mode of operation of definite user's operating terminal is bimanualness.
Certainly, the mode of user's concrete hand held terminal in the practical operation terminal is more, possibly can't accurately determine in some cases the mode of operation of user's operating terminal, for example, the sight of the user's operating terminal shown in Fig. 3 (d), adopting the mode of operation of the definite user's operating terminal of above-mentioned rule is bimanualness, determines error.For such situation, thereby can allow by the posture of user's active accommodation operating terminal terminal can determine exactly the mode of operation of user's operating terminal, certainly, also can be by the sensor in the terminal be set more accurately, thus can determine more accurately the mode of operation of user's operating terminal.
(2) when operating habit is the right-hand operated custom, if be arranged in the induction result of at least one sensor that at least two sensors of terminal are positioned at the lower right corner of terminal and be the induction result of all the sensors in the lower left corner that senses target and be positioned at terminal for not sensing target, determine that then the mode of operation of user's operating terminal is one-handed performance; If be arranged at least two sensors of terminal be positioned at terminal the lower right corner all the sensors the induction result for the induction result of at least one sensor in the lower left corner that do not sense target or be positioned at terminal for sensing target, then the mode of operation of definite user's operating terminal is bimanualness.
Wherein, the following two kind situations of above-mentioned definite mode respective user when using terminal:
Situation one: when the user adopts right hand one-handed performance terminal, the right hand is the lower right corner of comparatively close terminal usually, therefore, the induction result of at least one sensor who is positioned at the lower right corner of terminal be the induction result of all the sensors in the lower left corner that senses target and be positioned at terminal for not sensing target, the mode of operation that can determine user's operating terminal is one-handed performance.Need to prove, when the sensor in the lower right corner that is positioned at terminal has when a plurality of, as long as the induction result of at least one sensor in the lower right corner who is positioned at terminal is for sensing target; When the sensor in the lower left corner that is positioned at terminal has when a plurality of, a plurality of sensors that require to be positioned at the lower left corner of terminal are does not sense target.
Situation two: when the user does not adopt right hand one-handed performance terminal, user's bimanualness terminal for example, or the user is placed in terminal the positions such as desktop and operates, at this moment, be positioned at terminal the lower right corner all the sensors the induction result for the induction result of at least one sensor in the lower left corner that do not sense target or be positioned at terminal for sensing target, the mode of operation of determining user's operating terminal is bimanualness.The lower left corner of user's comparatively close terminal of left hand when operating terminal in some sight, the induction result of at least one sensor who is positioned at the lower left corner of terminal senses target to be positioned at the induction result of all the sensors in the lower right corner of terminal for not sensing target, because this moment, user's operating habit was the right-hand operated custom, therefore can think that the user can left hand one-handed performance terminal, thereby the mode of operation of user's operating terminal is defined as bimanualness.
For instance, be respectively arranged with a sensor as example take the lower left corner and the lower right corner of terminal, wherein, sensor is usually located at terminal inner, dots; The induction result of the sensor of black is for sensing target, and the induction result of the sensor of non-black is not for sensing target.For situation one, in the sight shown in Fig. 4 (a), user's the right hand is near the lower right corner of terminal, the induction result of sensor who is positioned at the lower right corner of terminal be the induction result of sensor in the lower left corner that senses target and be positioned at terminal for not sensing target, the mode of operation of determining user's operating terminal is one-handed performance.
For situation two, in the sight shown in Fig. 4 (b), user's both hands are all near the lower left corner and the lower right corner of terminal, and the induction result who is positioned at the sensor in the lower left corner of terminal and the lower right corner is and does not sense target, and the mode of operation of determining user's operating terminal is bimanualness.In the sight shown in Fig. 4 (c), user's left hand is near the lower left corner of terminal, be positioned at the induction result of sensor in the lower left corner of terminal for sensing target, and the induction result of sensor who is positioned at the lower right corner of terminal is induction targets not, thereby the mode of operation of definite user's operating terminal is bimanualness.
Certainly, when adopting above-mentioned rule to determine the mode of operation of user's operating terminal, the mode of operation of user's operating terminal also can appear possibly can't accurately determining in some cases, for example, the sight of the user's operating terminal shown in Fig. 4 (d), adopting the mode of operation of the definite user's operating terminal of above-mentioned rule is bimanualness, determines error.For such situation, thereby can allow by the posture of user's active accommodation operating terminal terminal can determine exactly the mode of operation of user's operating terminal, certainly, also can be by the sensor in the terminal be set more accurately, thus can determine more accurately the mode of operation of user's operating terminal.
Above-mentioned definite rule arranges according to principle of human engineering, can adjust as required in actual applications, the embodiment of the invention is for determining that according to the induction result of at least two sensors that are positioned at terminal and the operating habit that sets in advance the method for the mode of operation of user's operating terminal does not specifically limit.
Except above-mentioned basis is positioned at the method for the induction result of at least two sensors of terminal and the mode of operation that the operating habit that sets in advance is determined user's operating terminal, can also adopt other modes to determine the mode of operation of user's operating terminal, for example, can in the screen of terminal, show a fixedly button, comprise two kinds of options of one-handed performance and bimanualness, the user can select the fixedly option of button according to the mode of operation of current operation terminal, and terminal is determined the mode of operation of user's operating terminal according to the option of user selection.In embodiments of the present invention, do not do concrete restriction for the mode of operation of determining user's operating terminal.
After the mode of operation of determining user's operating terminal, need to determine the window displaying scope corresponding with the mode of operation of user's operating terminal.When the mode of operation of user's operating terminal is one-handed performance, carry out subsequent step 202; When the mode of operation of user's operating terminal is bimanualness, carry out subsequent step 203.In the specific implementation, terminal can in use continue to determine according at least two sensors that are positioned at terminal the mode of operation of user terminal, if this mode of operation of determining is identical with the last mode of operation of determining, then need not to carry out subsequent step 202 or step 203, only have when this mode of operation of determining is not identical with the last mode of operation of determining, just select to carry out subsequent step 202 or step 203 according to the mode of operation of determining.
202: when the mode of operation of user's operating terminal is one-handed performance, determine that the window displaying scope corresponding with one-handed performance is preset range, 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 large or user's hand-type is shorter, the area size that can touch screen is comparatively limited.In order to make things convenient for the user still can operate the All Ranges of window when the one-handed performance terminal, can set in advance window displaying scope corresponding to one-handed performance is preset range, and preset range is less than the full frame scope of terminal.
For so that preset range more meets user's self hand-type characteristics, the size of preset range can be set voluntarily by the user.Therefore, before definite window displaying scope corresponding with one-handed performance is preset range, can also comprise: obtain in advance the test trails that the user touches at the screen of terminal, and according to the test trails that gets access to preset range is set.Specifically can be referring to following mode (1) and (2):
(1) when user's left hand one-handed performance terminal, can obtain the user the screen of terminal touch from top to bottom or test trails from bottom to up; Determine highest point and lowest part and the farthest, right side that the user can touch according to the test trails that gets access in terminal; Because the left side is near user's left hand, the user can touch terminal screen the left side the most nearby; Construct a closed figure the most nearby according to highest point, lowest part, farthest, right side and left side that the user can touch, for example, rectangle, circle, ellipse etc., the closed figure of structure is preset range, the size and shape of closed figure is the size and shape of preset range, shown in Fig. 5 (a).When user's right hand one-handed performance terminal, the mode that the mode of preset range and user's left hand one-handed performance terminal are set is similar, does not repeat them here.
(2) when user's left hand one-handed performance terminal, can obtain the test trails of the closed figure that the user touches at the screen of terminal, closed figure corresponding to test trails structure according to the closed figure that gets access to, closed figure can be rectangle, circle, ellipse etc., the closed figure of structure is preset range, the size and shape of closed figure is the size and shape of preset range, shown in Fig. 5 (b).When user's right hand one-handed performance terminal, the mode that the mode of preset range and user's left hand one-handed performance terminal are set is similar, does not repeat them here.
When preset range is set, be not limited to when the user adopts left hand one-handed performance terminal or right hand one-handed performance terminal and arrange, for example, also can when the user adopts the bimanualness terminal, preset range be set.And in the use procedure of terminal, the user can also continue to adopt aforesaid way that preset range is repeatedly changed as required.In addition, except above-mentioned mode (1) and the mode (2) that preset range is set, can also there be other that mode of preset range is set.For example, can set in advance one or more fixed ranges, and be set to preset range according to one of them fixed range of selection of user.The size of the fixed range that sets in advance is less than the full frame scope of the screen of terminal, and the shape of the fixed range that sets in advance also can arrange arbitrarily, such as rectangle, circle, ellipse etc.For example, for 5.0 inches screen, set in advance 3 fixed ranges: 3.0 inches rectangle, 3.0 inches circle, 4.0 inches rectangle can be set to preset range according to one of them rectangle of selection of user afterwards.For the mode that preset range is set, the embodiment of the invention is not specifically limited at this.
Based on the preset range that arranges, when mode of operation is one-handed performance, can determine that the window displaying scope corresponding with one-handed performance is preset range, so that the size and shape of window is consistent with the size and shape of preset range, can be according to the window of preset range displaying terminal thereby follow-up.Owing to when the window of follow-up displaying terminal, only having changed the size of window, still remain in the current window of user's browsing, can user's experience not impacted.Because preset range is less than the full frame scope of terminal, the size of the window of terminal makes things convenient for user's one-handed performance after becoming preset range by full frame scope.
Need to prove, before definite window displaying scope corresponding with one-handed performance is preset range, can also select to carry out according to actual conditions: determine whether terminal is in horizontal screen pattern.
Owing to when terminal is in horizontal screen pattern, usually need not to distinguish user's one-handed performance terminal or bimanualness terminal.Therefore, when definite terminal is in horizontal screen pattern, need not to carry out and determine that the window displaying scope corresponding with one-handed performance is the step of preset range; After definite terminal is not in horizontal screen pattern, carries out and determine that the window displaying scope corresponding with one-handed performance is the step of preset range.
In the specific implementation, whether above-mentioned definite terminal is in the step of horizontal screen pattern can be carried out before definite window displaying scope corresponding with one-handed performance is preset range, can also carry out before the step of the mode of operation of determining user's operating terminal at least according to two sensors that are positioned at terminal.When the step whether above-mentioned definite terminal is in horizontal screen pattern was carried out before the mode of operation of determining user's operating terminal at least according to two sensors that are positioned at terminal, after definite terminal was not in horizontal screen pattern, at least two sensors that executive basis is positioned at terminal were determined the step of the mode of operation of user's operating terminal.
After definite window displaying scope corresponding with one-handed performance is preset range, can continue execution in step 204, show to carry out window.
203: when the mode of operation of user's operating terminal is bimanualness, determine that the window displaying scope corresponding with bimanualness is the full frame scope of terminal.
For this step, when the mode of operation of user's operating terminal was bimanualness, the user can be comparatively freely operates the current window of terminal display.Owing to will adopt the full frame scope of terminal to show current window, no matter be the user in the content of watching current window to comprise, or when the option that the selection current window comprises, all convenient.Therefore, setting in advance window displaying scope corresponding to bimanualness is the full frame scope of terminal, when the mode of operation of determining in the step 201 is bimanualness, is determined at the full frame scope that the corresponding window displaying scope of bimanualness is set to terminal.Need to prove, when setting in advance window corresponding to bimanualness and showing scope, be not limited to the full frame scope of terminal, the preset range of adjusting to when also can window displaying scope corresponding to bimanualness being set to greater than one-handed performance, and less than the full frame scope of terminal.After definite window displaying scope corresponding with bimanualness is the full frame scope of terminal, can continue execution in step 204, show to carry out window.
204: the window of showing the scope displaying terminal according to the window of determining.
After in step 202 or step 203, determining window displaying scope, can show according to the window of determining the window of scope displaying terminal.
Show the different of scope for the window that step 202 and step 203 are determined, when the window of concrete displaying terminal, be divided into following situation:
(1) after definite window displaying scope was preset range in step 202, window showed that the size and shape of scope is set to the size and shape of preset range, and preset range is less than the full frame scope of terminal.When showing the window of preset range, the window of preset range accurately can be positioned over the position of the residing terminal screen of preset range that sets in advance.Certainly, the window of preset range also is not limited to this in the display location of terminal screen, can also place according to user's operating habit the window of preset range.For example, if operating habit is left-handed operation custom, then the window of preset range is positioned near the left side of terminal screen and shows; If operating habit is right-hand operated custom, then the window of preset range is positioned near the right side of terminal screen and shows.In addition, can also there be other to show the mode of the window of preset range, for example, the window fixed placement of preset range can be showed in the middle of terminal screen, perhaps, other positions that the window of preset range are positioned over arbitrarily terminal screen are showed.For the particular location of placing in terminal screen of the window of preset range, the embodiment of the invention does not specifically limit at this.In the specific implementation, show that according to the window of determining the window of scope displaying terminal is that the window of terminal is adjusted into preset range by the full frame scope of terminal, in this process, can also adopt the mode of continuous animation, thereby allow the user visually experience the continuity of operation.
For instance, current window such as Fig. 6 (a) with terminal are depicted as example, when the mode of operation of definite user's operating terminal is one-handed performance in step 201, determine that the window displaying scope corresponding with one-handed performance is preset range, when showing the window of scope displaying terminal according to the window of determining, if operating habit is the left-handed operation custom, the left side that then the preset range window is positioned over the screen of close terminal is showed, shown in Fig. 6 (b); If operating habit is right-hand operated custom, then the window of preset range is positioned near the right side of the screen of terminal and shows, shown in Fig. 6 (c).In addition, the middle that also can select window with preset range to be positioned over terminal screen is showed, shown in Fig. 6 (d).
(2) after definite window displaying scope is the full frame scope of terminal in step 202, then directly show current window according to the full frame scope of terminal.In the specific implementation, show that according to the window of determining the window of scope displaying terminal is that window with terminal is adjusted into the full frame scope of terminal by preset range, in this process, can also adopt the mode of continuous animation, thereby allow the user visually experience the continuity of operation.
For instance, take the preset range of current window shown in Fig. 6 (b), Fig. 6 (c) or Fig. 6 (d) of terminal as example, when the mode of operation of definite user's operating terminal is bimanualness in step 201, determine that the window displaying scope corresponding with bimanualness is the full frame scope shown in Fig. 6 (a), and according to the window of definite displaying scope displaying terminal.
In order to determine better that the window that is about to show can satisfy user's expectation, before showing the window of scope displaying terminal according to the window of determining, can also comprise: the display interface in terminal shows whether adjust the option that window is showed scope, and behind the option that receives user selection adjustment window displaying scope, carry out the step of showing the window of scope displaying terminal according to the window of determining.
Can show on the display interface of terminal that adjusting window shows the option of scope and do not adjust the option that window is showed scope, when the user expects to adjust the displaying scope of current window, can select to adjust the option that window is showed scope, terminal is carried out the step of showing the window of scope displaying terminal according to the window of determining behind the option that receives user selection adjustment window displaying scope; When the user does not expect to adjust the displaying scope of current window, can select to cancel the option of adjustment, terminal will no longer be carried out the step of showing the window of scope displaying terminal according to the window of determining after receiving user selection and not adjusting window and show the option of scope.
Show that at the display interface of terminal whether adjusting window shows the option of scope and determine whether to carry out the step of showing the window of scope displaying terminal according to the window of determining according to the option of user selection, so that the user can adjust according to the wish of oneself window of terminal, and, if make a mistake when judging the mode of operation of user's operating terminal in step 202, the user still can determine whether adjust the window of terminal with the mode of operation of realistic operating terminal according to the situation of practical operation terminal.
In sum, the method that the embodiment of the invention provides, determine the mode of operation of user's operating terminal by the sensor that is positioned at terminal, and determine after the window displaying scope corresponding with the mode of operation of user's operating terminal, the window of showing the scope displaying terminal according to the window of determining, expanded the mode that window is showed, and what the window displaying scope of correspondence can be arranged when the user adopts the one-handed performance terminal is less, so that user's also window of showing of operating terminal easily when the one-handed performance terminal, improved the feasibility of user's action pane.And, after the mode of operation of determining user's operating terminal is bimanualness, window is showed that scope is adjusted into full frame scope by preset range, realized adjusting according to mode of operation the displaying scope of window, the flexibly mode of impression window is provided.
Embodiment three
The embodiment of the invention provides a kind of terminal, and this terminal be used for to be carried out the method for the impression window that above-described embodiment one or embodiment two provide.Referring to Fig. 7, this terminal comprises:
The first determination module 701 is for the mode of operation of determining user's operating terminal at least according to two sensors that are positioned at terminal;
The second determination module 702 is showed scope for the corresponding window of mode of operation of user's operating terminal of determining to determine with the first determination module 701;
Display module 703 is for the window of the windows displaying scope displaying terminal of determining according to the second determination module 702;
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.
Particularly, the first determination module 701 is used for determining according to the induction result of at least two sensors that are positioned at terminal and the operating habit that sets in advance the mode of operation of user's operating terminal.
Wherein, induction is the result comprise and sense target and do not sense target, and operating habit comprises that left-handed operation custom and right-hand operated be accustomed to.
Referring to Fig. 8, the first determination module 701 comprises:
The first determining unit 7011, be used for when operating habit is the left-handed operation custom, the induction result of at least one sensor who is positioned at the lower left corner of terminal at least two sensors that are arranged in terminal be the induction result of all the sensors in the lower right corner that senses target and be positioned at terminal when not sensing target, the mode of operation of determining user's operating terminal is one-handed performance;
The second determining unit 7012, be used for when operating habit is the left-handed operation custom, at least two sensors that are arranged in terminal be positioned at terminal the lower left corner all the sensors the induction result for the induction result of at least one sensor in the lower right corner that do not sense target or be positioned at terminal when sensing target, the mode of operation of determining user's operating terminal is bimanualness;
The 3rd determining unit 7013, be used for when operating habit is the right-hand operated custom, the induction result of at least one sensor who is positioned at the lower right corner of terminal at least two sensors that are arranged in terminal be the induction result of all the sensors in the lower left corner that senses target and be positioned at terminal when not sensing target, the mode of operation of determining user's operating terminal is one-handed performance;
The 4th determining unit 7014, be used for when operating habit is the right-hand operated custom, at least two sensors that are arranged in terminal be positioned at terminal the lower right corner all the sensors the induction result for the induction result of at least one sensor in the lower left corner that do not sense target or be positioned at terminal when sensing target, the mode of operation of determining user's operating terminal is bimanualness.
Particularly, referring to Fig. 8, the second determination module 702 comprises:
The first determining unit 7021 is used for when the mode of operation of determining user's operating terminal is one-handed performance, determines that the window displaying scope corresponding with one-handed performance is preset range, and preset range is less than the full frame scope of terminal;
The second determining unit 7022 is used for when the mode of operation of determining user's operating terminal is bimanualness, determines that the window displaying scope corresponding with bimanualness is the full frame scope of terminal.
Referring to Fig. 9, this terminal can also comprise:
Acquisition module 704 is used for obtaining in advance the test trails that the user touches at the screen of terminal;
Module 705 is set, and the test trails that is used for getting access to according to acquisition module 704 arranges preset range.
Referring to Figure 10, this terminal can also comprise:
The 3rd determination module 706 is used for determining whether terminal is in horizontal screen pattern, and after definite terminal is not in horizontal screen pattern, carries out the first determining unit 7021 of the second determination module 702.
Referring to Figure 11, this terminal can also comprise:
Display module 707 is used for showing whether adjust the option that window is showed scope at the display interface of terminal, and after the adjustment window that the display module that receives user selection shows is showed the option of scope, carries out display module 703.
In sum, the terminal that the embodiment of the invention provides, determine the mode of operation of user's operating terminal by the sensor that is positioned at terminal, and determine after the window displaying scope corresponding with the mode of operation of user's operating terminal, the window of showing the scope displaying terminal according to the window of determining, expanded the mode that window is showed, and what the window displaying scope of correspondence can be arranged when the user adopts the one-handed performance terminal is less, so that user's also window of showing of operating terminal easily when the one-handed performance terminal, improved the feasibility of user's action pane.And, after the mode of operation of determining user's operating terminal is bimanualness, window is showed that scope is adjusted into full frame scope by preset range, realized adjusting according to mode of operation the displaying scope of window, the flexibly mode of impression window is provided.
Embodiment four
The present embodiment provides a kind of terminal, and referring to Figure 12, this terminal comprises a plurality of storeies 1201, at least one processor 1202 and at least two sensors 1203.For example processor 1202 can be CPU(Central Processing Unit, CPU (central processing unit)) etc., storer 1201 can comprise high speed Ram storer, also can also comprise non-unsettled storer (non-volatile memory), storer 1201 is used for the performed program code of storage of processor 1202, processor 1202 can be carried out the function of impression window by bus and 1201 couplings of a plurality of storer, and sensor 1203 is used for the target that induction approaches.
Processor 1202 is used for the mode of operation according at least two sensors 1203 definite user's operating terminals that are positioned at terminal;
Determine the window displaying scope corresponding with the mode of operation of user's operating terminal;
The window of showing the scope displaying terminal according to the window of determining;
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 is used for determining according to the induction result of at least two sensors 1203 that are positioned at terminal and the operating habit that sets in advance the mode of operation of user's operating terminal.
Wherein, induction is the result comprise and sense target and do not sense target, and operating habit comprises that left-handed operation custom and right-hand operated be accustomed to;
Processor 1202, when operating habit is the left-handed operation custom, if be arranged in the induction result of at least one sensor 1203 that at least two sensors 1203 of terminal are positioned at the lower left corner of terminal and be the induction result that senses target and be positioned at all sensors 1203 in the lower right corner of terminal for not sensing target, determine that then the mode of operation of user's operating terminal is one-handed performance; If be arranged at least two sensors 1203 of terminal be positioned at terminal the lower left corner all the sensors 1203 the induction result for the induction result of at least one sensor 1203 in the lower right corner that do not sense target or be positioned at terminal for sensing target, then the mode of operation of definite user's operating terminal is bimanualness;
When operating habit is the right-hand operated custom, if be arranged in the induction result of at least one sensor 1203 that at least two sensors 1203 of terminal are positioned at the lower right corner of terminal and be the induction result of all the sensors 1203 in the lower left corner that senses target and be positioned at terminal for not sensing target, determine that then the mode of operation of user's operating terminal is one-handed performance; If be arranged at least two sensors 1203 of terminal be positioned at terminal the lower right corner all the sensors 1203 the induction result for the induction result of at least one sensor 1203 in the lower left corner that do not sense target or be positioned at terminal for sensing target, then the mode of operation of definite user's operating terminal is bimanualness.
Processor 1202 if be used for determining that the mode of operation of user's operating terminal is one-handed performance, determines that then the window displaying scope corresponding with one-handed performance is preset range, and preset range is less than the full frame scope of terminal;
If determine that the mode of operation of user's operating terminal is bimanualness, determine that then the window displaying scope corresponding with bimanualness is the full frame scope of terminal.
Processor 1202 is used for obtaining in advance the test trails that the user touches at the screen of terminal, and according to the test trails that gets access to preset range is set.
Processor 1202 is used for determining whether terminal is in horizontal screen pattern, and after definite terminal is not in horizontal screen pattern, carries out and determine that the window displaying scope corresponding with one-handed performance is the step of preset range.
Processor 1202 is used for showing whether adjust the option that window is showed scope at the display interface of terminal, and behind the option that receives user selection adjustment window displaying scope, carries out the step of showing the window of scope displaying terminal according to the window of determining.
In sum, the terminal that the embodiment of the invention provides, determine the mode of operation of user's operating terminal by the sensor that is positioned at terminal, and determine after the window displaying scope corresponding with the mode of operation of user's operating terminal, the window of showing the scope displaying terminal according to the window of determining, expanded the mode that window is showed, and what the window displaying scope of correspondence can be arranged when the user adopts the one-handed performance terminal is less, so that user's also window of showing of operating terminal easily when the one-handed performance terminal, improved the feasibility of user's action pane.And, after the mode of operation of determining user's operating terminal is bimanualness, window is showed that scope is adjusted into full frame scope by preset range, realized adjusting according to mode of operation the displaying scope of window, the flexibly mode of impression window is provided.
Need to prove: the terminal that above-described embodiment provides is when impression window, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure that is about to terminal is divided into different functional modules, to finish all or part of function described above.In addition, the terminal that above-described embodiment provides and the embodiment of the method for impression window belong to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.