CN103577051A - Method and device for controlling menu - Google Patents

Method and device for controlling menu Download PDF

Info

Publication number
CN103577051A
CN103577051A CN201310476957.9A CN201310476957A CN103577051A CN 103577051 A CN103577051 A CN 103577051A CN 201310476957 A CN201310476957 A CN 201310476957A CN 103577051 A CN103577051 A CN 103577051A
Authority
CN
China
Prior art keywords
rotation
longitudinal
anglec
menu item
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310476957.9A
Other languages
Chinese (zh)
Other versions
CN103577051B (en
Inventor
陈志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ucweb Inc filed Critical Ucweb Inc
Priority to CN201310476957.9A priority Critical patent/CN103577051B/en
Publication of CN103577051A publication Critical patent/CN103577051A/en
Application granted granted Critical
Publication of CN103577051B publication Critical patent/CN103577051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and a device for controlling a menu. The method comprises the steps of firstly acquiring the angles of a terminal rotating around a horizontal rotary shaft and a longitudinal rotary shaft respectively, determining the mode of the terminal according to the rotary angles, and controlling the operation of a target menu item according to the angle of the terminal rotating around the longitudinal rotary shaft when the terminal is positioned in a lying-on-back mode; when the terminal is positioned in a lying-on-side mode, controlling the operation of the target menu item according to the angles of the terminal rotating around the horizontal rotary shaft and the longitudinal rotary shaft respectively. Known from the above content, after the method and the device for controlling the menu are applied and when a user lies on the own back or side, the operation of the target menu item can be controlled by surrounding the horizontal rotary shaft and the longitudinal rotary shaft, and the operation is convenient and can be realized by one hand.

Description

The method of Control-Menu and device
Technical field
The present invention relates to the communications field, particularly relate to method and the device of Control-Menu.
Background technology
Along with the development of communication, touch screen terminal is more and more universal, as panel computer, and smart mobile phone etc., touch screen terminal all needs armrest to refer on screen, click or slide and carry out the operation of menu substantially.When user lies on the back or lies on one's side use mobile phone, mobile phone need to be raised, in this case, while user is lifting mobile phone finger manipulation mobile phone, can make arm tired, mobile phone also easily drops simultaneously, once injure face by a crashing object, can damage user.Therefore,, when user lies on the back or lie on one's side use touch screen terminal, operate very inconvenient.
Summary of the invention
The embodiment of the present invention provides method and the device of Control-Menu, to solve the problem of user's inconvenient operation when lying on one's side or lie on one's side in prior art.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect, the application provides a kind of menu control method, and described method comprises:
Obtain terminal around the first transverse rotation angle of transverse rotation axle rotation, and first longitudinal anglec of rotation of rotating around longitudinal rotating shaft, wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
When determining that according to described the first transverse rotation angle and described first longitudinal anglec of rotation terminal is when lying on the back pattern, obtain terminal around second longitudinal anglec of rotation of longitudinal rotating shaft rotation;
According to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or described second longitudinal anglec of rotation is controlled the operation to target menu item.
Preferably, determine that the step of terminal in the pattern of lying on the back comprises:
When described the first transverse rotation angle is in the first preset range, and described first longitudinal anglec of rotation is in the second preset range time, determines that terminal is in the pattern of lying on the back.
Preferably, in the described terminal of obtaining, after second longitudinal anglec of rotation of longitudinal rotating shaft rotation, also comprise:
When described second longitudinal anglec of rotation is in described the second preset range, carry out according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or described second longitudinal anglec of rotation is controlled the step to the operation of target menu item.
Preferably, according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation control, the step of the operation of target menu item is comprised:
When described second longitudinal anglec of rotation is in the 3rd preset range, according to described first longitudinal anglec of rotation and described second anglec of rotation, determine sense of rotation corresponding to described second longitudinal anglec of rotation, described sense of rotation comprises clockwise direction and counter clockwise direction;
If clockwise direction is carried out first kind operation to described target menu item; If counterclockwise, described target menu item is carried out to Equations of The Second Kind operation;
Or,
If clockwise direction is carried out Equations of The Second Kind operation to described target menu item;
If counterclockwise, described target menu item is carried out to first kind operation;
Described first kind operation comprises to be returned to previous menu, hide menu or finishes described target menu item; The operation of described Equations of The Second Kind comprises and enters next stage menu or trigger described target menu item;
When described second longitudinal anglec of rotation is not in described the 3rd preset range, return to carry out and from described default menu item, select a menu item as the step of described target menu item.
Preferably, obtaining terminal around before second longitudinal anglec of rotation of longitudinal rotating shaft rotation, also comprising:
When the number of the default menu item showing when terminal is greater than one,
Obtain terminal around the second transverse rotation angle of transverse rotation axle rotation;
According to the magnitude relationship of described the second transverse rotation angle and the first transverse rotation angle, determine that corresponding default menu item is as described target menu item.
Second aspect, the application also provides a kind of menu control method, and described method comprises:
Obtain terminal around the first transverse rotation angle of transverse rotation axle rotation, and first longitudinal anglec of rotation of rotating around longitudinal rotating shaft, wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
When determining that according to described the first transverse rotation angle and described first longitudinal anglec of rotation terminal is when lying on one's side pattern, obtain terminal around the second transverse rotation angle of described transverse rotation axle rotation, and terminal is around second longitudinal anglec of rotation of described longitudinal rotating shaft rotation;
When determining that according to described the second transverse rotation angle and described second longitudinal anglec of rotation terminal is when lying on one's side pattern, the magnitude relationship that compares the first transverse rotation angle variable quantity and first longitudinal anglec of rotation variable quantity, wherein, described the first transverse rotation angle variable quantity is the difference of described the second transverse rotation angle and described the first transverse rotation angle, and described first longitudinal anglec of rotation variable quantity is the difference of described second longitudinal anglec of rotation and described first longitudinal anglec of rotation;
When described the first transverse rotation angle variable quantity is not more than described first longitudinal anglec of rotation variable quantity, according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, control the operation to target menu item.
Preferably, according to described the first transverse rotation angle and described the second transverse rotation angle, determine that the step of terminal in the pattern of lying on one's side comprises: when described the first transverse rotation angle is in the 4th preset range, and described first longitudinal anglec of rotation, in the 5th preset range, determines that terminal is in the pattern of lying on one's side;
According to described the second transverse rotation angle and described second longitudinal anglec of rotation, determine that the step of terminal in the pattern of lying on one's side comprises:
When described the second transverse rotation angle is in described the 4th preset range, and described second longitudinal anglec of rotation determines that in the 5th preset range terminal is in the pattern of lying on one's side.
Preferably, describedly according to described the first transverse rotation angle variable quantity and the described first longitudinal anglec of rotation variable quantity, control the step of the operation of target menu item comprised:
According to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, judgement terminal is around the sense of rotation of longitudinal rotating shaft;
If clockwise direction is carried out first kind operation to described target menu item;
If counterclockwise, described target menu item is carried out to Equations of The Second Kind operation;
Or,
If clockwise direction is carried out Equations of The Second Kind operation to described target menu item;
If counterclockwise, described target menu item is carried out to first kind operation;
Described first kind operation comprises to be returned to previous menu, hide menu or finishes described target menu item; The operation of described Equations of The Second Kind comprises and enters next stage menu or trigger described target menu item.
Preferably, before controlling the operation of target menu item according to described the first transverse rotation angle variable quantity and the described first longitudinal anglec of rotation variable quantity, also comprise:
The number of the default menu item showing when terminal is greater than one, and described the first transverse rotation angle variable quantity is while being greater than first longitudinal anglec of rotation variable quantity, selects a menu item according to the first transverse rotation angle variable quantity from described default menu item;
And, again obtain terminal around the transverse rotation angle of transverse rotation axle rotation, and longitudinal anglec of rotation of rotating around longitudinal rotating shaft, when determining that according to current transverse rotation angle and the current longitudinal anglec of rotation again obtained terminal is when lying on one's side pattern, the magnitude relationship of more current transverse rotation angle variable quantity and current longitudinal anglec of rotation variable quantity, until described current transverse rotation angle variable quantity is while being not more than described current longitudinal anglec of rotation, determine that the menu item of current selection is as target menu item, wherein, described current transverse rotation angle variable quantity is the difference of described current transverse rotation angle and the previous transverse rotation angle of described current transverse rotation angle, the difference that described current longitudinal anglec of rotation variable quantity is described current longitudinal anglec of rotation and the previous longitudinal anglec of rotation of described current longitudinal anglec of rotation.
The third aspect, the application also provides a kind of menu control device, comprising:
The first acquiring unit, for obtaining terminal around the first transverse rotation angle of transverse rotation axle rotation;
Second acquisition unit, for obtaining terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation, wherein, the plane parallel that transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
The first judging unit, for judging that according to described the first transverse rotation angle and described first longitudinal anglec of rotation whether terminal is in the pattern of lying on the back;
The 3rd acquiring unit, when obtaining the judged result of terminal in the pattern of lying on the back when described the first judging unit, obtains terminal around second longitudinal anglec of rotation of longitudinal rotating shaft rotation;
The first performance element, for according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or described second longitudinal anglec of rotation is controlled the operation to target menu item.
Fourth aspect, the application also provides a kind of menu control device, comprising:
The 4th acquiring unit, for obtaining terminal around the first transverse rotation angle of transverse rotation axle rotation;
The 5th acquiring unit, for obtaining terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation, wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
The 5th judging unit, for judging that according to described the first transverse rotation angle and described first longitudinal anglec of rotation whether terminal is in the pattern of lying on one's side;
The 6th acquiring unit, for determining that when described the 5th judging unit described terminal is when lying on one's side pattern, obtains terminal around the second transverse rotation angle of described transverse rotation axle rotation;
The 7th acquiring unit, for determining that when described the 5th judging unit described terminal is when lying on one's side pattern, obtains terminal around second longitudinal anglec of rotation of described longitudinal rotating shaft rotation;
The 6th judging unit, for judging that according to described the second transverse rotation angle and described second longitudinal anglec of rotation whether terminal is in the pattern of lying on one's side;
The 7th judging unit, for determining that when described the 6th judging unit described terminal is when lying on one's side pattern, judge the magnitude relationship of the first transverse rotation angle variable quantity and first longitudinal anglec of rotation variable quantity, wherein, described the first transverse rotation angle variable quantity is the difference of described the second transverse rotation angle and described the first transverse rotation angle, and described first longitudinal anglec of rotation variable quantity is the difference of described second longitudinal anglec of rotation and described first longitudinal anglec of rotation;
The second performance element, for when described the 7th judging unit determines that described the first transverse rotation angle variable quantity is not more than described first longitudinal anglec of rotation variable quantity, according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, control the operation to target menu item.
As can be seen from the above-described embodiment, the menu control method that the embodiment of the present invention provides and device, first obtain the angle that terminal is rotated around transverse rotation axle, longitudinal rotating shaft respectively, according to the described anglec of rotation, determine the residing pattern of terminal, when terminal is when lying on the back pattern, according to terminal, around the angle of longitudinal rotating shaft rotation, control the operation of target menu item; When terminal is when lying on one's side pattern, according to terminal, around the angle of transverse rotation axle and longitudinal rotating shaft rotation, control respectively the operation of target menu item.Foregoing is known, and user, when lying on the back or lie on one's side, only need can control the operation of target menu item around transverse rotation axle and longitudinal rotating shaft, easy to operate, and can realize one-handed performance.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below the accompanying drawing to embodiment is briefly described, apparently, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of menu control method of the embodiment of the present application;
Fig. 2 is the schematic diagram of terminal place coordinate system;
Fig. 3 is a kind of method flow schematic diagram of step 130;
Fig. 4 is the another kind of method flow schematic diagram of step 130;
Fig. 5 is a kind of method flow schematic diagram of step 150;
Fig. 6 is the schematic flow sheet of the another kind of menu control method of the embodiment of the present application;
Fig. 7 is the method flow schematic diagram of step 650 in Fig. 6;
Fig. 8 a is a kind of demonstration schematic diagram of default menu item;
The another kind that Fig. 8 b is default menu item shows schematic diagram;
Fig. 9 is the schematic flow sheet of a kind of menu control method of the embodiment of the present application;
Figure 10 is the method flow schematic diagram of step 930 in Fig. 9;
Figure 11 is the another kind of method flow schematic diagram of step 930 in Fig. 9;
Figure 12 is a kind of method flow schematic diagram of step 980 in Fig. 9;
Figure 13 is the method flow schematic diagram of step 1210 in Figure 12;
Figure 14 is the schematic flow sheet of the another kind of menu control method of the embodiment of the present application;
Figure 15 is the structural representation of a kind of menu control device of the embodiment of the present application;
Figure 16 is the structural representation of the present embodiment the first judging unit;
Figure 17 is the structural representation of the present embodiment the first performance element;
Figure 18 is the structural representation of the another kind of menu control device of the embodiment of the present application;
Figure 19 is the structural representation of the present embodiment first object menu item determining unit;
Figure 20 is the structural representation of the another kind of menu control device of the present embodiment;
Figure 21 is the structural representation of the present embodiment the 5th judging unit;
Figure 22 is the structural representation of the present embodiment the 6th judging unit;
Figure 23 is the structural representation of the present embodiment the second performance element;
Figure 24 is the structural representation of the another kind of menu control device of the present embodiment.
Embodiment
In order to make those skilled in the art person understand better the technical scheme in the embodiment of the present invention, and the above-mentioned purpose of the embodiment of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
Refer to Fig. 1, show the schematic flow sheet of a kind of menu control method of the embodiment of the present application, the method is applied to have the terminal of touch screen, terminal receives user and triggers the trigger action that adopts gravity control menu item, utilize the method to control the operation to menu item, said method comprising the steps of:
110, obtain terminal around the first transverse rotation angle of transverse rotation axle rotation.
120, obtain terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation; Wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft.
In the application, as shown in Figure 2, the plane parallel at transverse rotation axle and along slope coordinate axle place is in large ground level, and the X-axis in figure is transverse rotation axle, and Y-axis is longitudinal rotating shaft.
Inductor in terminal can sense terminals around the angle of X-axis or Y-axis rotation, described inductor can adopt direction sensor, gravity sensor, acceleration transducer or gyroscope etc.
It is pitch angle that terminal rotates around X-axis the angle obtaining, and around Y-axis, rotating the angle obtaining is roll angle.The first transverse rotation angle is designated as pitch1, and first longitudinal anglec of rotation is designated as roll1.
In the application, the span at pitch angle is [180 °, 180 °], the span at roll angle is [90 °, 90 °], if the pitch angle that inductor provides or roll angle be not in above-mentioned respective range, need to be converted in corresponding scope, so that unified calculation.
Certainly, in the application's other embodiment, can choose other turning axle, and the span of other the anglec of rotation, the application does not limit this.
It should be noted that, step 110 and 120 execution sequence can exchange, and first perform step 120, then perform step 110.
130, according to described the first transverse rotation angle and described first longitudinal anglec of rotation, judge that whether terminal is in the pattern of lying on the back.
As shown in Figure 3, in step 130, judge terminal whether the flow process in the pattern of lying on the back comprise the following steps:
131, judge that the first transverse rotation angle is whether in the first preset range, if in the first preset range, perform step 132; If, in the first preset range, do not finished.
Preferably, the first preset range can be [15 °, 75 °], certainly, can be also other preset range, and the application's contrast does not limit.
132, judge that described first longitudinal anglec of rotation is whether in the second preset range, if in the second preset range, perform step 133; If, in the second preset range, do not finished.
Preferably, the second preset range can be [15 °, 15 °], certainly, can be also other preset range, and the application's contrast does not limit.
133, determine that terminal is in the pattern of lying on the back.
When-15 °≤pitch1≤75 °, during and-15 °≤roll1≤15 °, determine that terminal is in the pattern of lying on the back.
As shown in Figure 4, in step 130, judge terminal whether the flow process in the pattern of lying on the back comprise the following steps:
134, judge that described first longitudinal anglec of rotation whether in the second preset range, if described first longitudinal anglec of rotation is in the second preset range, performs step 135; If, in the second preset range, do not finished.
135, judge that described the first transverse rotation angle is whether in the first preset range, if in the first preset range, perform step 136; If, in the first preset range, do not finished.
136, determine that terminal is in the pattern of lying on the back.
140, if terminal in the pattern of lying on the back, is obtained terminal around second longitudinal anglec of rotation of longitudinal rotating shaft rotation.Wherein, second longitudinal anglec of rotation is designated as roll2.
150, according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or described second longitudinal anglec of rotation is controlled the operation to target menu item.
As shown in Figure 5, step 150 can realize by the following method:
151, judge that the difference of described first longitudinal anglec of rotation and second longitudinal anglec of rotation is whether in the 3rd preset range, if in described the 3rd preset range; Execution step 152, if not in described the 3rd preset range,, after the first Preset Time, returns to execution step 151.
Wherein, the 3rd preset range can be greater than 15 ° and be less than in the scope of 90 °, and this step is to judge whether terminal is greater than 15 ° around the rotation of longitudinal rotating shaft.
In other embodiment of the application, when the span at pitch angle and roll angle is different, the value of described the 3rd preset range also can Adaptive change.
152, according to described first longitudinal anglec of rotation and described second anglec of rotation, judge sense of rotation corresponding to described second longitudinal anglec of rotation, described sense of rotation comprises clockwise direction and counter clockwise direction, if clockwise direction performs step 153; If counterclockwise, perform step 154.
When judging 15 ° of < | during 90 ° of roll1-roll2| <, continue judgement and from roll1, rotate to the sense of rotation of roll2, if 15 ° of roll2-roll1 >, determine that sense of rotation is counterclockwise; If roll2-roll1 <-15 °, determine that sense of rotation is clockwise direction.
153, described target menu item is carried out to first kind operation;
154, described target menu item is carried out to Equations of The Second Kind operation; Wherein, the operation of the described first kind comprises and returns to previous menu, hide menu or finish described target menu item; The operation of described Equations of The Second Kind comprises and enters next stage menu or trigger described target menu item.
In the present embodiment, if determine, the sense of rotation of terminal is clockwise direction (counterclockwise), first judges that whether described target menu item exists previous menu item, if there is previous menu item, returns to previous menu item; If there is no previous menu item, exits menu item, finishes.
If determine, the sense of rotation of terminal is counter clockwise direction (clockwise direction), first judge that whether described target menu item exists next stage menu item, if there is next stage menu item, enters next stage menu item, if there is no next stage menu item, triggers described target menu item.
Or, in step 152, if terminal is clockwise direction, perform step 154; If terminal is counterclockwise, perform step 153.
Wherein, described target menu item can be the menu item of terminal acquiescence, and the menu item of described acquiescence can be any one in a plurality of default menu item in terminal, can be also the unique default menu item in terminal.Also can be the menu item of user preset.In addition, default menu item can be the predefined menu item of user, can be also the menu item that terminal is set.
The menu control method that the present embodiment provides, first obtain the angle that terminal is rotated around transverse rotation axle, longitudinal rotating shaft respectively, according to the described anglec of rotation, determine that terminal is when lying on the back pattern, according to terminal, around the angle of longitudinal rotating shaft rotation, control the operation of target menu item, make user when lying on the back, only need can control the operation of target menu item around transverse rotation axle and longitudinal rotating shaft, easy to operate, and can realize one-handed performance.
Refer to Fig. 6, show the schematic flow sheet of the another kind of menu control method of the embodiment of the present application, different from the method flow shown in Fig. 1, when the quantity of the default menu item showing when terminal is a plurality of, need to therefrom select one as target menu item.
Preferably, terminal is when receiving the trigger action of user's Control-Menu, at the tactile default menu item of screen display.
610, obtain terminal around the first transverse rotation angle of transverse rotation axle rotation;
620, obtain around first longitudinal anglec of rotation of longitudinal rotating shaft rotation, wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft.
630, according to described the first transverse rotation angle and described first longitudinal anglec of rotation, judge that whether terminal is in the pattern of lying on the back, if terminal, in the pattern of lying on the back, performs step 640; If terminal, not in the pattern of lying on the back, finishes.
640, judge whether the number of the default menu item that terminal shows is greater than one, if be greater than one, perform step 650; If be not more than one, perform step 660.
650, from described default menu item, select a menu item as target menu item.
As shown in Figure 7, step 650 can realize by following steps:
651, obtain terminal around the second transverse rotation angle of transverse rotation axle rotation.The second transverse rotation angle is designated as pitch2.
652, according to the magnitude relationship of described the second transverse rotation angle and the first transverse rotation angle, determine that corresponding default menu item is as described target menu item.
In the present embodiment, calculate the difference of pitch1 and pitch2, according to described difference, determine target menu item.For example, as shown in Figure 8 a, the quantity of the default menu item showing on the display unit of terminal is 2, is respectively the first menu item 801 and the second menu item 802, now, if pitch2 is not less than pitch1, selects the first menu item 801 as target menu item; If pitch2 is less than pitch1, select the second menu item 802 as target menu item.
As shown in Figure 8 b, the quantity of the default menu item showing on the display unit of terminal is 3, is respectively the first menu item 801, the second menu item 802 and the 3rd menu item 803.Now, if pitch2 is in (pitch1-15 °, pitch+15 °) interval, using the second menu item 802 as target menu item; If pitch2 is not less than pitch1+15 °, using the first menu item 801 as target menu item; If pitch2 is not more than pitch1-15 °, using the 3rd menu item 803 as target menu item.
Determine after target menu item, perform step 660, obtain terminal around second longitudinal anglec of rotation of longitudinal rotating shaft rotation;
Finally, in step 670, according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or described second longitudinal anglec of rotation is controlled the operation to target menu item.
Wherein, step 660 is identical with related procedure in 670 the realization flow embodiment corresponding with Fig. 1, repeats no more herein.
The menu control method that the present embodiment provides, in definite terminal after the pattern of lying on the back, obtain terminal respectively around transverse rotation axle, the angle of longitudinal rotating shaft rotation, according to the described anglec of rotation, determine that terminal is in the pattern of lying on the back, and when the quantity of the default menu item showing when terminal is a plurality of, can select corresponding default menu item as target menu item according to the anglec of rotation of terminal, according to terminal, around the angle of longitudinal rotating shaft rotation, control the operation of target menu item, make user when lying on the back or lie on one's side, only need can control the operation of target menu item around transverse rotation axle and longitudinal rotating shaft, easy to operate, and can realize one-handed performance.
Refer to Fig. 9, show a kind of schematic flow sheet that is applied to the menu control method of the pattern of lying on one's side of the embodiment of the present application, the method is applied to have the terminal of touch screen, terminal receives user and triggers the trigger action that adopts gravity control menu item, utilize the method to control the operation to menu item, said method comprising the steps of:
910, obtain terminal around the first transverse rotation angle of transverse rotation axle rotation.
920, obtain terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation.Wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft.
Wherein, the execution sequence of step 910 and step 920 can exchange.
930, according to described the first transverse rotation angle and described first longitudinal anglec of rotation, judge that whether terminal is in the pattern of lying on one's side, if terminal, in the pattern of lying on one's side, performs step 940, if terminal, not in the pattern of lying on one's side, is returned to step 910.
As shown in figure 10, step 930 flow process realization by the following method:
1010, judge that the first transverse rotation angle is whether in the 4th preset range, if in described the 4th preset range, perform step 1011; If, in the 4th preset range, do not finished.
In the present embodiment, described the 4th preset range can be [15 °, 15 °] or [65 ° ,-90 °], and in other embodiment of the application, described the 4th preset range can be other interval range, and the application does not limit this.
1011, judge that first longitudinal anglec of rotation is whether in the 5th preset range, if in described the 5th preset range, perform step 1012; If, in the 5th preset range, do not finished.
In the present embodiment, described the 5th preset range can be for [65 ° ,-90 °] or [65 °, 90 °], and in other embodiment of the application, described the 5th preset range can be other interval range, and the application does not limit this.
1012, determine that described terminal is in the pattern of lying on one's side.
Or as shown in figure 11, step 930 by the following method flow process realizes:
1110, judge that first longitudinal anglec of rotation is whether in the 5th preset range, if in described the 5th preset range, perform step 1111; If, in the 5th preset range, do not finished.
1111, judge that the first transverse rotation angle is whether in the 4th preset range, if in described the 4th preset range, perform step 1112; If, in the 4th preset range, do not finished.
1112, determine that described terminal is in the pattern of lying on one's side.
As shown in the above, in the present embodiment, the first transverse rotation angle is designated as pitch1, and first longitudinal anglec of rotation is designated as roll1, if pitch1 is in interval [15 °, 15 °] or [65 °,-90 °], and roll1 is in interval [65 ° ,-90 °] or [65 °, 90 °], determine that terminal is in the pattern of lying on one's side.
940, obtain terminal around the second transverse rotation angle of described transverse rotation axle rotation.Wherein, the second transverse rotation angle is designated as pitch2.
950, obtain terminal around second longitudinal anglec of rotation of described longitudinal rotating shaft rotation.Wherein, second longitudinal anglec of rotation is designated as roll2.
960, according to described the second transverse rotation angle and described second longitudinal anglec of rotation, judge that whether terminal is in the pattern of lying on one's side, if terminal, in the pattern of lying on one's side, performs step 970; If terminal, not in the pattern of lying on one's side, finishes.
When if the second transverse rotation angle pitch2 is different from pitch1 or second longitudinal anglec of rotation roll2 is different with roll1, continue to judge that whether terminal is still in the pattern of lying on one's side, if not in the pattern of lying on one's side, finished.
970, relatively the magnitude relationship of the first transverse rotation angle variable quantity and first longitudinal anglec of rotation variable quantity, if described the first transverse rotation angle variable quantity is not more than described first longitudinal anglec of rotation variable quantity, performs step 980; If described the first transverse rotation angle variable quantity is greater than described first longitudinal anglec of rotation variable quantity, finish.
Wherein, described the first transverse rotation angle variable quantity is the difference DELTA pitch of described the second transverse rotation angle pitch2 and described the first transverse rotation angle pitch1, and described first longitudinal anglec of rotation variable quantity is the difference DELTA roll of described second longitudinal anglec of rotation roll2 and described first longitudinal anglec of rotation roll1.
980, according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, control the operation to target menu item.
As shown in figure 12, step 980 can realize according to following steps:
1210, according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, judgement terminal is around the sense of rotation of longitudinal rotating shaft; If clockwise direction performs step 1211; If counterclockwise, perform step 1212.
1211, described target menu item is carried out to first kind operation.
1212, described target menu item is carried out to Equations of The Second Kind operation; Wherein, the operation of the described first kind comprises and returns to previous menu, hide menu or finish described target menu item; The operation of described Equations of The Second Kind comprises and enters next stage menu or trigger described target menu item.
As shown in figure 13, step 1210 can realize according to following steps:
1310, according to described the first transverse rotation angle variable quantity, judge whether the touch screen of terminal changes towards, if changed, perform step 1320; If do not change, perform step 1330;
1320, continue according to described the first transverse rotation angle and current transverse rotation angle judge described touch screen towards change direction, if from becoming upward, perform step 1370 down; If from becoming down, perform step 1380 upward.
1330, judge that described the first transverse rotation angle variable quantity is no to be not less than the first preset value, if be not less than the first preset value, perform step 1340; If be less than the first preset value, determine terminal without spin.
1340, judge that whether described first longitudinal anglec of rotation variable quantity is not less than zero, if be not less than zero, performs step 1350; If be less than zero, perform step 1360.
1350, while judging the original state of described terminal, whether upward touch screen, if upward, performs step 1370; If perform step 1380 down.
1360, while judging the original state of described terminal, whether upward touch screen, if upward, performs step 1380; If perform step 1370 down.
1370, determine that sense of rotation is clockwise direction;
1380, determine that sense of rotation is counterclockwise.
In the present embodiment, described target menu item can be the menu item of terminal acquiescence, and the menu item of described acquiescence can be any one in a plurality of default menu item in terminal, can be also the unique default menu item in terminal.Also can be the menu item of user preset.In addition, default menu item can be the predefined menu item of user, can be also the menu item that terminal is set.
In the present embodiment, if determine, the sense of rotation of terminal is clockwise direction (counterclockwise), first judges that whether described target menu item exists previous menu item, if there is previous menu item, returns to previous menu item; If there is no previous menu item, exits menu item, finishes.
The menu control method that the present embodiment provides, according to the first transverse rotation angle and first longitudinal anglec of rotation, determine that terminal is when lying on one's side pattern, according to terminal, around the angle of transverse rotation axle and longitudinal rotating shaft rotation, control respectively the operation of target menu item, make user when lying on one's side, only need can control the operation of target menu item around transverse rotation axle and longitudinal rotating shaft, easy to operate, and can realize one-handed performance.
When the quantity of the default menu item showing when terminal is a plurality of, need to from a plurality of menu items, select to preset menu item accordingly, as shown in figure 14, said method comprising the steps of:
1410, obtain terminal around the first transverse rotation angle of transverse rotation axle rotation.
1420, obtain terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation.Wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft.
It should be noted that, the execution sequence of step 1410 and step 1420 can exchange, and the application does not limit this.
1430, according to described the first transverse rotation angle and described first longitudinal anglec of rotation, judge that whether terminal is in the pattern of lying on one's side, if terminal, in the pattern of lying on one's side, performs step 1440, if terminal, not in the pattern of lying on one's side, is returned to step 1410.
1440, obtain terminal around the second transverse rotation angle of described transverse rotation axle rotation.Wherein, the second transverse rotation angle is designated as pitch2.
1450, obtain terminal around second longitudinal anglec of rotation of longitudinal rotating shaft rotation.Wherein, second longitudinal anglec of rotation is designated as roll2.
It should be noted that, the execution sequence of step 1440 and step 1450 can exchange, and the application does not limit this.
1460, according to described the second transverse rotation angle and described second longitudinal anglec of rotation, judge that whether terminal is in the pattern of lying on one's side, if terminal in the pattern of lying on one's side, performs step 1470, if terminal is not in the pattern of lying on one's side, finish.
1470, relatively the magnitude relationship of the first transverse rotation angle variable quantity and first longitudinal anglec of rotation variable quantity, if described the first transverse rotation angle variable quantity is not more than described first longitudinal anglec of rotation variable quantity, performs step 14100; If described the first transverse rotation angle variable quantity is greater than described first longitudinal anglec of rotation variable quantity, perform step 1480
1480, judge whether the number of the default menu item that terminal shows is greater than one, if be greater than one, perform step 1490, if be not more than one, perform step 14100.
Wherein, terminal can show default menu item always, preferred, and terminal also can, when receiving user and control the operation of default menu, show default menu item.
1490, from described default menu item, select a menu item as target menu item.
Preferably, the number of judging the default menu item of terminal demonstration in step 1480 is greater than after one, can return to execution step 1440, again obtain the current transverse rotation angle of transverse rotation axle and current longitudinal anglec of rotation of longitudinal rotating shaft, and then whether rejudge terminal still in the pattern of lying on one's side, until described current transverse rotation angle variable quantity while being not more than described current longitudinal anglec of rotation, determines that the menu item of current selection is as target menu item.
14100, according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, control the operation to target menu item.
The implementation method flow process of this step is identical with the flow process shown in Figure 13, repeats no more herein.
The menu control method that the present embodiment provides, when the quantity of the default menu item showing when terminal is a plurality of, can select corresponding default menu item as target menu item according to the anglec of rotation of terminal, and, have to return and confirm that the current default menu item of choosing is whether as the function of target menu item, thus the intellectuality that has improved terminal.According to terminal, around the angle of longitudinal rotating shaft rotation, control the operation of target menu item, make user when lying on the back or lie on one's side, only need can control the operation of target menu item around transverse rotation axle and longitudinal rotating shaft, easy to operate, and can realize one-handed performance.
Corresponding to above-mentioned embodiment of the method, the application also provides menu control device embodiment.
As shown in figure 15, a kind of menu control device comprises: the first acquiring unit 1501, second acquisition unit 1502, the first judging unit 1503, the 3rd acquiring unit 1504, the first performance element 1505.
The first acquiring unit 1501, for obtaining terminal around the first transverse rotation angle of transverse rotation axle rotation.
Second acquisition unit 1502, for obtaining terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation; Wherein, the plane parallel that transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft.
The first judging unit 1503, for judging that according to described the first transverse rotation angle and described first longitudinal anglec of rotation whether terminal is in the pattern of lying on the back.
As shown in figure 16, the first judging unit comprises: the first judgment sub-unit 1601 and the second judgment sub-unit 1602.
Described the first judgment sub-unit 1601, for judging that described the first transverse rotation angle is whether in the first preset range.
Described the second judgment sub-unit 1602, when obtaining the judged result of described the first transverse rotation angle in the first preset range when the first judgment sub-unit, judge that described first longitudinal anglec of rotation is whether in the second preset range, if in the second preset range, determine that terminal is in the pattern of lying on the back.
Or described the first judgment sub-unit 1601, for judging that described first longitudinal anglec of rotation is whether in the second preset range;
Described the second judgment sub-unit 1602, when obtaining the judged result of described first longitudinal anglec of rotation in the second preset range when the first judgment sub-unit, judge that described the first transverse rotation angle is whether in the first preset range, if in the first preset range, determine that terminal is in the pattern of lying on the back.
The 3rd acquiring unit 1504, when obtaining the judged result of terminal in the pattern of lying on the back when described the first judging unit, obtains terminal around second longitudinal anglec of rotation of longitudinal rotating shaft rotation.
The first performance element 1505, for according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or, according to described second longitudinal anglec of rotation, the operation of control to target menu item.
As shown in figure 17, the first performance element comprises: the second judging unit 1710, sense of rotation determining unit 1720, first are carried out subelement 1730.
The second judging unit 1710, for judging that described second longitudinal anglec of rotation is whether in the 3rd preset range.
Sense of rotation determining unit 1720, for when second longitudinal anglec of rotation is in described the 3rd preset range, according to described first longitudinal anglec of rotation and described second anglec of rotation, determine sense of rotation corresponding to described second longitudinal anglec of rotation, described sense of rotation comprises clockwise direction and counter clockwise direction.
First carries out subelement 1730, for if clockwise direction is carried out first kind operation to described target menu item; If counterclockwise, described target menu item is carried out to Equations of The Second Kind operation.
Or, if clockwise direction is carried out Equations of The Second Kind operation to described target menu item; If counterclockwise, described target menu item is carried out to first kind operation.Described first kind operation comprises to be returned to previous menu, hide menu or finishes described target menu item; The operation of described Equations of The Second Kind comprises and enters next stage menu or trigger described target menu item.
The menu control device that the present embodiment provides, first obtain the angle that terminal is rotated around transverse rotation axle, longitudinal rotating shaft respectively, according to the described anglec of rotation, determine that terminal is when lying on the back pattern, according to terminal, around the angle of longitudinal rotating shaft rotation, control the operation of target menu item, make user when lying on the back, only need can control the operation of target menu item around transverse rotation axle and longitudinal rotating shaft, easy to operate, and can realize one-handed performance
Refer to Figure 18, show the structural representation of the another kind of menu control device of the embodiment of the present application, comprise: the first acquiring unit 1501, second acquisition unit 1502, the first judging unit 1503, the 3rd acquiring unit 1504, the first performance element 1505, the 3rd judging unit 1506, first object menu item determining unit 1507, the 4th judging unit 1508, receiving element 1509, and touch screen 1500.Wherein, also identical with the function of the module that in the embodiment shown in Figure 15, label is identical, repeat no more herein.
The 3rd judging unit 1506, for judging whether the number of the default menu item that terminal shows is greater than one.
First object menu item determining unit 1507 while being greater than one for the number when described default menu item, selects a menu item as target menu item from described default menu item.
As shown in figure 19, described first object menu item determining unit comprises: the 4th acquiring unit 1901, determine subelement 1902.
The 4th acquiring unit 1901, for obtaining terminal around the second transverse rotation angle of transverse rotation axle rotation;
Determine subelement 1902, for according to the magnitude relationship of described the second transverse rotation angle and described the first transverse rotation angle, determine that corresponding default menu item is as described target menu item.
The 4th judging unit 1508, for judging that described second longitudinal anglec of rotation is whether in described the second preset range, if in described the second preset range, so that described performance element is carried out the operation to target menu item.
The first receiving element 1509, for receiving the trigger action of user's Control-Menu item, and triggers the described default menu item of touch screen 1500 demonstration.
Refer to Figure 20, the structural representation that shows the another kind of menu control device of the embodiment of the present application, described device comprises: the 4th acquiring unit 2001, the 5th acquiring unit 2002, the 5th judging unit 2003, the 6th acquiring unit 2004, the 7th acquiring unit 2005, the 6th judging unit 2006, the 7th judging unit 2007, the second performance element 2008.
The 4th acquiring unit 2001, for obtaining terminal around the first transverse rotation angle of transverse rotation axle rotation.
The 5th acquiring unit 2002, for obtaining terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation, wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
The 5th judging unit 2003, for judging that according to described the first transverse rotation angle and described first longitudinal anglec of rotation whether terminal is in the pattern of lying on one's side.
As shown in figure 21, described the 5th judging unit comprises:
The 4th judgment sub-unit 2101, for judging that described the first transverse rotation angle is whether in the 4th preset range;
The 5th judgment sub-unit 2102, for when described the 4th judgment sub-unit determines that described the first transverse rotation angle is in the 4th preset range, judge that described first longitudinal anglec of rotation is whether in the 5th preset range, if described first longitudinal anglec of rotation, in the 5th preset range, determines that described terminal is in the pattern of lying on one's side;
Or,
Described the 4th judgment sub-unit 2101, for judging that described first longitudinal anglec of rotation is whether in the 5th preset range;
Described the 5th judgment sub-unit 2102, for when described the 4th judgment sub-unit determines that described first longitudinal anglec of rotation is in the 5th preset range, judge that described the first transverse rotation angle is whether in the 4th preset range, if described the first transverse rotation angle, in the 4th preset range, determines that described terminal is in the pattern of lying on one's side.
The 6th acquiring unit 2004, for determining that when described the 5th judging unit described terminal is when lying on one's side pattern, obtains terminal around the second transverse rotation angle of described transverse rotation axle rotation.
The 7th acquiring unit 2005, for determining that when described the 5th judging unit described terminal is when lying on one's side pattern, obtains terminal around second longitudinal anglec of rotation of described longitudinal rotating shaft rotation.
The 6th judging unit 2006, for judging that according to described the second transverse rotation angle and described second longitudinal anglec of rotation whether terminal is in the pattern of lying on one's side.
As shown in figure 22, described the 6th judging unit comprises:
The 6th judgment sub-unit 2201, for judging that described the second transverse rotation angle is whether in the 4th preset range;
The 7th judgment sub-unit 2202, for when described the 4th judgment sub-unit determines that described the second transverse rotation angle is in the 4th preset range, judge that described second longitudinal anglec of rotation is whether in the 5th preset range, if described second longitudinal anglec of rotation, in the 5th preset range, determines that described terminal is in the pattern of lying on one's side;
Or,
Described the 6th judgment sub-unit 2201, for judging that described second longitudinal anglec of rotation is whether in the 5th preset range.
Described the 7th judgment sub-unit 2202, for when described the 4th judgment sub-unit determines that described second longitudinal anglec of rotation is in the 5th preset range, judge that described the second transverse rotation angle is whether in the 4th preset range, if described the second transverse rotation angle, in the 4th preset range, determines that described terminal is in the pattern of lying on one's side.
The 7th judging unit 2007, for determining that when described the 6th judging unit described terminal is when lying on one's side pattern, judge the magnitude relationship of the first transverse rotation angle variable quantity and first longitudinal anglec of rotation variable quantity, wherein, described the first transverse rotation angle variable quantity is the difference of described the second transverse rotation angle and described the first transverse rotation angle, and described first longitudinal anglec of rotation variable quantity is the difference of described second longitudinal anglec of rotation and described first longitudinal anglec of rotation.
The second performance element 2008, for when described the 7th judging unit determines that described the first transverse rotation angle variable quantity is not more than described first longitudinal anglec of rotation variable quantity, according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, control the operation to target menu item.
As shown in figure 23, described the second performance element comprises:
The 8th judging unit 2301, for according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, judges that terminal is around the sense of rotation of longitudinal rotating shaft;
Second carries out subelement 2302, for if clockwise direction is carried out first kind operation to described target menu item; If counterclockwise, described target menu item is carried out to Equations of The Second Kind operation;
Or, for if clockwise direction, described target menu item is carried out to Equations of The Second Kind operation; If counterclockwise, described target menu item is carried out to first kind operation; Wherein, the operation of the described first kind comprises and returns to previous menu, hide menu or finish described target menu item; The operation of described Equations of The Second Kind comprises and enters next stage menu or trigger described target menu item.
Refer to Figure 24, show the structural representation of the another kind of menu control device of the embodiment of the present application, described device comprises: the 4th acquiring unit 2001, the 5th acquiring unit 2002, the 5th judging unit 2003, the 6th acquiring unit 2004, the 7th acquiring unit 2005, the 6th judging unit 2006, the 7th judging unit 2007, the second performance element 2008, the second receiving element 2009, the 9th judging unit 2010, the second target menu item determining unit 2011, and touch screen 2000.Wherein, the effect of the module that label is identical with label in Figure 20 is also identical, repeats no more herein.
The second receiving element 2009, for receiving the trigger action of Control-Menu item, triggers touch screen 2000 and shows described default menu item.
The 9th judging unit 2010, for judging whether the number of the default menu item that terminal shows is greater than one;
The second target menu item determining unit 2011 for when described the 9th judging unit determines that the number of described default menu item is greater than one, selects a menu item as described target menu item from described default menu item.
Described the second target menu determining unit comprises: second determines subelement, for when described the 7th judging unit determines that described the first transverse rotation angle variable quantity is greater than first longitudinal anglec of rotation variable quantity, according to the first transverse rotation angle variable quantity, from described default menu item, select a menu item.
And, trigger described the 5th acquiring unit and again obtain terminal around the transverse rotation angle of transverse rotation axle rotation, trigger described the 6th acquiring unit and again obtain terminal around longitudinal anglec of rotation of longitudinal rotating shaft rotation, when determining that according to current transverse rotation angle and the current longitudinal anglec of rotation again obtained terminal is when lying on one's side pattern, the magnitude relationship of more current transverse rotation angle variable quantity and current longitudinal anglec of rotation variable quantity, until described current transverse rotation angle variable quantity is while being not more than described current longitudinal anglec of rotation, determine that the menu item of current selection is as target menu item.
Wherein, described current transverse rotation angle variable quantity is the difference of described current transverse rotation angle and the previous transverse rotation angle of described current transverse rotation angle, the difference that described current longitudinal anglec of rotation variable quantity is described current longitudinal anglec of rotation and the previous longitudinal anglec of rotation of described current longitudinal anglec of rotation.
The menu control device that the present embodiment provides, when the quantity of the default menu item showing when terminal is a plurality of, can select corresponding default menu item as target menu item according to the anglec of rotation of terminal, and, have to return and confirm that the current default menu item of choosing is whether as the function of target menu item, thus the intellectuality that has improved terminal.And then the operation around the angle control target menu item of longitudinal rotating shaft rotation according to terminal, make user when lying on the back or lie on one's side, only need can control the operation of target menu item around transverse rotation axle and longitudinal rotating shaft, easy to operate, and can realize one-handed performance.
Those skilled in the art can be well understood to the mode that technology in the embodiment of the present invention can add essential common hardware by software and realize, common hardware comprises universal integrated circuit, universal cpu, general-purpose storage, universal elements etc., can certainly comprise that special IC, dedicated cpu, private memory, special-purpose components and parts etc. realize by specialized hardware, but in a lot of situation, the former is better embodiment.Understanding based on such, the part that technical scheme in the embodiment of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) method described in some part of execution each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for system embodiment, because it is substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (11)

1. a menu control method, is characterized in that, described method comprises:
Obtain terminal around the first transverse rotation angle of transverse rotation axle rotation, and first longitudinal anglec of rotation of rotating around longitudinal rotating shaft, wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
When determining that according to described the first transverse rotation angle and described first longitudinal anglec of rotation terminal is when lying on the back pattern, obtain terminal around second longitudinal anglec of rotation of longitudinal rotating shaft rotation;
According to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or described second longitudinal anglec of rotation is controlled the operation to target menu item.
2. method according to claim 1, is characterized in that, determines that the step of terminal in the pattern of lying on the back comprises:
When described the first transverse rotation angle is in the first preset range, and described first longitudinal anglec of rotation is in the second preset range time, determines that terminal is in the pattern of lying on the back.
3. method according to claim 2, is characterized in that, in the described terminal of obtaining, after second longitudinal anglec of rotation of longitudinal rotating shaft rotation, also comprises:
When described second longitudinal anglec of rotation is in described the second preset range, carry out according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or described second longitudinal anglec of rotation is controlled the step to the operation of target menu item.
4. according to the method described in claims 1 to 3 any one, it is characterized in that, according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation control, the step of the operation of target menu item comprised:
When described second longitudinal anglec of rotation is in the 3rd preset range, according to described first longitudinal anglec of rotation and described second anglec of rotation, determine sense of rotation corresponding to described second longitudinal anglec of rotation, described sense of rotation comprises clockwise direction and counter clockwise direction;
If clockwise direction is carried out first kind operation to described target menu item; If counterclockwise, described target menu item is carried out to Equations of The Second Kind operation;
Or,
If clockwise direction is carried out Equations of The Second Kind operation to described target menu item;
If counterclockwise, described target menu item is carried out to first kind operation;
Described first kind operation comprises to be returned to previous menu, hide menu or finishes described target menu item; The operation of described Equations of The Second Kind comprises and enters next stage menu or trigger described target menu item;
When described second longitudinal anglec of rotation is not in described the 3rd preset range, return to carry out and from described default menu item, select a menu item as the step of described target menu item.
5. method according to claim 4, is characterized in that, is obtaining terminal around before second longitudinal anglec of rotation of longitudinal rotating shaft rotation, also comprises:
When the number of the default menu item showing when terminal is greater than one,
Obtain terminal around the second transverse rotation angle of transverse rotation axle rotation;
According to the magnitude relationship of described the second transverse rotation angle and the first transverse rotation angle, determine that corresponding default menu item is as described target menu item.
6. a menu control method, is characterized in that, described method comprises:
Obtain terminal around the first transverse rotation angle of transverse rotation axle rotation, and first longitudinal anglec of rotation of rotating around longitudinal rotating shaft, wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
When determining that according to described the first transverse rotation angle and described first longitudinal anglec of rotation terminal is when lying on one's side pattern, obtain terminal around the second transverse rotation angle of described transverse rotation axle rotation, and terminal is around second longitudinal anglec of rotation of described longitudinal rotating shaft rotation;
When determining that according to described the second transverse rotation angle and described second longitudinal anglec of rotation terminal is when lying on one's side pattern, the magnitude relationship that compares the first transverse rotation angle variable quantity and first longitudinal anglec of rotation variable quantity, wherein, described the first transverse rotation angle variable quantity is the difference of described the second transverse rotation angle and described the first transverse rotation angle, and described first longitudinal anglec of rotation variable quantity is the difference of described second longitudinal anglec of rotation and described first longitudinal anglec of rotation;
When described the first transverse rotation angle variable quantity is not more than described first longitudinal anglec of rotation variable quantity, according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, control the operation to target menu item.
7. method according to claim 6, is characterized in that:
According to described the first transverse rotation angle and described the second transverse rotation angle, determine that the step of terminal in the pattern of lying on one's side comprises: when described the first transverse rotation angle is in the 4th preset range, and described first longitudinal anglec of rotation, in the 5th preset range, determines that terminal is in the pattern of lying on one's side;
According to described the second transverse rotation angle and described second longitudinal anglec of rotation, determine that the step of terminal in the pattern of lying on one's side comprises:
When described the second transverse rotation angle is in described the 4th preset range, and described second longitudinal anglec of rotation determines that in the 5th preset range terminal is in the pattern of lying on one's side.
8. according to the method described in claim 6 or 7, it is characterized in that, describedly according to described the first transverse rotation angle variable quantity and the described first longitudinal anglec of rotation variable quantity, control the step of the operation of target menu item is comprised:
According to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, judgement terminal is around the sense of rotation of longitudinal rotating shaft;
If clockwise direction is carried out first kind operation to described target menu item;
If counterclockwise, described target menu item is carried out to Equations of The Second Kind operation;
Or,
If clockwise direction is carried out Equations of The Second Kind operation to described target menu item;
If counterclockwise, described target menu item is carried out to first kind operation;
Described first kind operation comprises to be returned to previous menu, hide menu or finishes described target menu item; The operation of described Equations of The Second Kind comprises and enters next stage menu or trigger described target menu item.
9. method according to claim 8, is characterized in that, before controlling the operation of target menu item according to described the first transverse rotation angle variable quantity and the described first longitudinal anglec of rotation variable quantity, also comprises:
The number of the default menu item showing when terminal is greater than one, and described the first transverse rotation angle variable quantity is while being greater than first longitudinal anglec of rotation variable quantity, selects a menu item according to the first transverse rotation angle variable quantity from described default menu item;
And, again obtain terminal around the transverse rotation angle of transverse rotation axle rotation, and longitudinal anglec of rotation of rotating around longitudinal rotating shaft, when determining that according to current transverse rotation angle and the current longitudinal anglec of rotation again obtained terminal is when lying on one's side pattern, the magnitude relationship of more current transverse rotation angle variable quantity and current longitudinal anglec of rotation variable quantity, until described current transverse rotation angle variable quantity is while being not more than described current longitudinal anglec of rotation, determine that the menu item of current selection is as target menu item, wherein, described current transverse rotation angle variable quantity is the difference of described current transverse rotation angle and the previous transverse rotation angle of described current transverse rotation angle, the difference that described current longitudinal anglec of rotation variable quantity is described current longitudinal anglec of rotation and the previous longitudinal anglec of rotation of described current longitudinal anglec of rotation.
10. a menu control device, is characterized in that, comprising:
The first acquiring unit, for obtaining terminal around the first transverse rotation angle of transverse rotation axle rotation;
Second acquisition unit, for obtaining terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation, wherein, the plane parallel that transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
The first judging unit, for judging that according to described the first transverse rotation angle and described first longitudinal anglec of rotation whether terminal is in the pattern of lying on the back;
The 3rd acquiring unit, when obtaining the judged result of terminal in the pattern of lying on the back when described the first judging unit, obtains terminal around second longitudinal anglec of rotation of longitudinal rotating shaft rotation;
The first performance element, for according to described first longitudinal anglec of rotation and described second longitudinal anglec of rotation, or described second longitudinal anglec of rotation is controlled the operation to target menu item.
11. 1 kinds of menu control devices, is characterized in that, comprising:
The 4th acquiring unit, for obtaining terminal around the first transverse rotation angle of transverse rotation axle rotation;
The 5th acquiring unit, for obtaining terminal around first longitudinal anglec of rotation of longitudinal rotating shaft rotation, wherein, the plane parallel that described transverse rotation axle and described longitudinal rotating shaft form is in large ground level, and described transverse rotation axle is vertical with described longitudinal rotating shaft;
The 5th judging unit, for judging that according to described the first transverse rotation angle and described first longitudinal anglec of rotation whether terminal is in the pattern of lying on one's side;
The 6th acquiring unit, for determining that when described the 5th judging unit described terminal is when lying on one's side pattern, obtains terminal around the second transverse rotation angle of described transverse rotation axle rotation;
The 7th acquiring unit, for determining that when described the 5th judging unit described terminal is when lying on one's side pattern, obtains terminal around second longitudinal anglec of rotation of described longitudinal rotating shaft rotation;
The 6th judging unit, for judging that according to described the second transverse rotation angle and described second longitudinal anglec of rotation whether terminal is in the pattern of lying on one's side;
The 7th judging unit, for determining that when described the 6th judging unit described terminal is when lying on one's side pattern, judge the magnitude relationship of the first transverse rotation angle variable quantity and first longitudinal anglec of rotation variable quantity, wherein, described the first transverse rotation angle variable quantity is the difference of described the second transverse rotation angle and described the first transverse rotation angle, and described first longitudinal anglec of rotation variable quantity is the difference of described second longitudinal anglec of rotation and described first longitudinal anglec of rotation;
The second performance element, for when described the 7th judging unit determines that described the first transverse rotation angle variable quantity is not more than described first longitudinal anglec of rotation variable quantity, according to described the first transverse rotation angle variable quantity and described first longitudinal anglec of rotation variable quantity, control the operation to target menu item.
CN201310476957.9A 2013-10-12 2013-10-12 The method and device of control menu Active CN103577051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310476957.9A CN103577051B (en) 2013-10-12 2013-10-12 The method and device of control menu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310476957.9A CN103577051B (en) 2013-10-12 2013-10-12 The method and device of control menu

Publications (2)

Publication Number Publication Date
CN103577051A true CN103577051A (en) 2014-02-12
CN103577051B CN103577051B (en) 2017-03-08

Family

ID=50048945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310476957.9A Active CN103577051B (en) 2013-10-12 2013-10-12 The method and device of control menu

Country Status (1)

Country Link
CN (1) CN103577051B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103960962A (en) * 2014-05-15 2014-08-06 佛山市顺德区美的电热电器制造有限公司 Control system and control method of menu selection
CN105446573A (en) * 2014-08-15 2016-03-30 小米科技有限责任公司 Method and device for showing direction
CN108108417A (en) * 2017-12-14 2018-06-01 携程商旅信息服务(上海)有限公司 Exchange method, system, equipment and the storage medium of cross-platform self adaptive control
CN109032455A (en) * 2017-06-08 2018-12-18 深圳市道通智能航空技术有限公司 A kind of method and apparatus that menu is shown

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030016208A1 (en) * 2001-06-29 2003-01-23 Bernd Wiesenauer Operating device for an in-car computing system and in-car computing system
CN1825265A (en) * 2005-02-23 2006-08-30 三星电子株式会社 Apparatus and method for controlling menu navigation in a terminal
CN1991705A (en) * 2005-12-31 2007-07-04 集嘉通讯股份有限公司 Triaxiality control method, electronic apparatus and control module
CN101943988A (en) * 2009-07-09 2011-01-12 深圳富泰宏精密工业有限公司 System and method for automatically adjusting user interface of electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030016208A1 (en) * 2001-06-29 2003-01-23 Bernd Wiesenauer Operating device for an in-car computing system and in-car computing system
CN1825265A (en) * 2005-02-23 2006-08-30 三星电子株式会社 Apparatus and method for controlling menu navigation in a terminal
CN1991705A (en) * 2005-12-31 2007-07-04 集嘉通讯股份有限公司 Triaxiality control method, electronic apparatus and control module
CN101943988A (en) * 2009-07-09 2011-01-12 深圳富泰宏精密工业有限公司 System and method for automatically adjusting user interface of electronic device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103960962A (en) * 2014-05-15 2014-08-06 佛山市顺德区美的电热电器制造有限公司 Control system and control method of menu selection
CN105446573A (en) * 2014-08-15 2016-03-30 小米科技有限责任公司 Method and device for showing direction
CN109032455A (en) * 2017-06-08 2018-12-18 深圳市道通智能航空技术有限公司 A kind of method and apparatus that menu is shown
CN109032455B (en) * 2017-06-08 2021-10-22 深圳市道通智能航空技术股份有限公司 Menu display method and device
CN108108417A (en) * 2017-12-14 2018-06-01 携程商旅信息服务(上海)有限公司 Exchange method, system, equipment and the storage medium of cross-platform self adaptive control
CN108108417B (en) * 2017-12-14 2020-07-28 携程商旅信息服务(上海)有限公司 Cross-platform adaptive control interaction method, system, equipment and storage medium

Also Published As

Publication number Publication date
CN103577051B (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106843739B (en) A kind of display control method and mobile terminal of mobile terminal
US9910558B2 (en) Methods and devices for user interactive interfaces on touchscreens
US9229529B2 (en) Apparatus and control method based on motion
CN103412720B (en) Process method and the device thereof of touch control type input signal
CN103649895A (en) Adjusting method of icon display and terminal
CN102855062A (en) Screen unlock method, device and terminal
KR20140050830A (en) Control method for screen display of terminal and terminal thereof
CN103019519A (en) Method for controlling contact control terminal application icon display and contact control terminal of method for controlling contact control terminal application icon display
CN103577051A (en) Method and device for controlling menu
CN109107153B (en) Method and device for releasing game skill, electronic equipment and storage medium
CN109032898A (en) A kind of display methods of icon, device, equipment and storage medium
CN107707955A (en) Cursor control method and smart machine on a kind of display
CN104182141A (en) Method for processing information and electronic equipment
CN108932089A (en) A kind of method of adjustment of target object, device, electronic equipment and storage medium
KR102020133B1 (en) How to Display Desktop Icons and Mobile Terminals
CN103838377A (en) Game movement control method and mobile terminal
US10031589B2 (en) Apparatuses, methods and computer programs for remote control
CN108647502B (en) Mobile terminal and unlocking method and system thereof
CN105989516A (en) Information display method and terminal
CN106126228A (en) A kind of method of interface display and terminal
CN107211056B (en) Terminal wallpaper control method and terminal
CN108958860B (en) Screen display state control method and related product
CN103777857A (en) Method and device for rotating video picture
CN106161929A (en) A kind of self-shooting bar control method, device and self-shooting bar
CN112380520A (en) Screen unlocking method and device, storage medium and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200417

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100080, room 16, building 10-20, Building 29, Haidian District, Suzhou Street, Beijing

Patentee before: UC MOBILE Ltd.