CN107092425A - A kind of menu call method and device - Google Patents

A kind of menu call method and device Download PDF

Info

Publication number
CN107092425A
CN107092425A CN201710270465.2A CN201710270465A CN107092425A CN 107092425 A CN107092425 A CN 107092425A CN 201710270465 A CN201710270465 A CN 201710270465A CN 107092425 A CN107092425 A CN 107092425A
Authority
CN
China
Prior art keywords
menu
region
difference
angle
reference axis
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.)
Pending
Application number
CN201710270465.2A
Other languages
Chinese (zh)
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.)
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Wireless Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201710270465.2A priority Critical patent/CN107092425A/en
Publication of CN107092425A publication Critical patent/CN107092425A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiments of the invention provide a kind of menu call method and device.On the one hand, the embodiment of the present invention is by after the call instruction for tilting menu is received, obtaining angle of the current each reference axis of terminal screen relative to dead-center position;Calculate angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position;The menu is more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value to the absolute value of difference or opposite direction is moved.Technical scheme provided in an embodiment of the present invention can calculate angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position by computing module, and menu is more than or equal to by the corresponding change in coordinate axis direction of predetermined threshold value or opposite direction movement to the absolute value of difference by menu mobile module, realize when needing to call menu, calling for menu can be achieved by tilting terminal screen interface, user's one-handed performance is facilitated.

Description

A kind of menu call method and device
【Technical field】
The present invention relates to menu display field, more particularly to a kind of menu call method and device.
【Background technology】
With the popularization of smart mobile phone, the screen of touch-screen mobile phone is increasing, and the menu user in corner is single above screen Hand can not touch-control, want touch-control and be accomplished by using bimanualness to the menu in corner above screen.But it is double in some cases Hand is not easy to operate, for example, on crowded bus.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:
Current smart mobile phone also has singlehanded pattern, but singlehanded pattern needs triggering startup manually to use;And become Into after singlehanded pattern, on-screen display (osd) area can diminish, and not play the effect of large-screen mobile phone.
【The content of the invention】
In view of this, the embodiments of the invention provide a kind of menu call method and device, to solve in the prior art Large-screen mobile phone one-handed performance can not touch-control to corner above screen problem menu.
On the one hand, the embodiments of the invention provide a kind of menu call method, including:
After the call instruction for tilting menu is received, the current each reference axis of terminal screen is obtained relative to dead-center position Angle;
Calculate angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position;
The menu is more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value to the absolute value of difference or opposite direction is moved It is dynamic.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, by the dish The absolute value of unidirectional difference is more than or equal to after the corresponding change in coordinate axis direction of predetermined threshold value or opposite direction movement, and methods described is also Including:
Judge whether that the setting for being previously received the region for carrying the menu is instructed;
If so, judging whether the moving direction of the menu is consistent with the direction in the region;
If consistent, the menu is moved to the region.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the region is Closed area, open area or the corresponding region of pressing instruction.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, by the dish Singly it is moved to after the region, methods described also includes:
Judge whether the menu is adapted to the region;
If the menu is not adapted to the region, the size in the region is adjusted.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described calculating After difference of each reference axis relative to the initial angle of angle and each reference axis of dead-center position, methods described also includes:
Judge the multiple of the difference and predetermined threshold value;
Determine that the menu is more than or equal to the corresponding reference axis side of predetermined threshold value to the absolute value of difference according to the multiple To or opposite direction movement speed.
A technical scheme in above-mentioned technical proposal has the advantages that:
By calculating the difference of initial angle of each reference axis relative to angle and each reference axis of dead-center position, and by dish The absolute value of unidirectional difference is more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value or opposite direction is moved, and realizing is needing to adjust When using menu, calling for menu can be achieved by tilting terminal screen interface, user's one-handed performance is facilitated.
On the other hand, the embodiment of the present invention additionally provides a kind of menu call device, including:
Acquisition module, for after the call instruction for tilting menu is received, obtaining the current each reference axis of terminal screen Relative to the angle of dead-center position;
Computing module, for calculating each reference axis relative to the angle of dead-center position and the initial angle of each reference axis Difference;
Menu mobile module, for the menu to be more than or equal into the corresponding reference axis of predetermined threshold value to the absolute value of difference Direction or opposite direction movement.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, described device is also Including:
First judge module, for judging whether that the setting for being previously received the region for carrying the menu is instructed;
Second judge module, during for being instructed in the setting for being previously received the region for carrying the menu, judges described Whether the moving direction of menu is consistent with the direction in the region;
The menu mobile module, for the moving direction in the menu it is consistent with the direction in the region when, by institute State menu and be moved to the region.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the region is Closed area, open area or the corresponding region of pressing instruction.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, described device is also Including:
3rd judge module, for judging whether the menu is adapted to the region;
Region adjusting module, for when the menu is not adapted to the region, adjusting the size in the region.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described calculating After difference of each reference axis relative to the initial angle of angle and each reference axis of dead-center position, described device also includes:
4th judge module, the multiple for judging the difference and predetermined threshold value;
The menu mobile module, is additionally operable to determine that the menu is more than or equal to the absolute value of difference according to the multiple The corresponding change in coordinate axis direction of predetermined threshold value or the speed of opposite direction movement.
A technical scheme in above-mentioned technical proposal has the advantages that:
Angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position are calculated by computing module Value, and by menu mobile module by absolute value from menu to difference be more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value or Opposite direction is moved, and is realized when needing to call menu, and calling for menu can be achieved by tilting terminal screen interface, convenient User one-handed performance.
【Brief description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the schematic flow sheet of embodiment one for the menu call method that the embodiment of the present invention is provided;
Fig. 2 is the schematic flow sheet of the embodiment two for the menu call method to set up that the embodiment of the present invention is provided;
The three dimensions angle schematic diagram for the menu position that Fig. 3 is provided by the embodiment of the present invention;
The area schematic that Fig. 4 is provided by the embodiment of the present invention;
Another area schematic that Fig. 5 is provided by the embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the embodiment three for the menu call method that the embodiment of the present invention is provided;
Fig. 7 is the structural representation of the example IV for the menu call device that the embodiment of the present invention is provided.
【Embodiment】
In order to be better understood from technical scheme, the embodiment of the present invention is retouched in detail below in conjunction with the accompanying drawings State.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, individualism B these three Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though may describe to judge mould in embodiments of the present invention using term first, second, third, etc. Block, but these judge modules should not necessarily be limited by these terms.These terms are only used for will determine that module is distinguished from each other out.For example, In the case of not departing from range of embodiment of the invention, the first judge module can also be referred to as the second judge module, similarly, the Two judge modules can also be referred to as the first judge module.
Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
Embodiment one
The embodiment of the present invention provides a kind of method, refer to Fig. 1, its menu call provided by the embodiment of the present invention The schematic flow sheet of method, as illustrated, this method comprises the following steps:
S101, after the call instruction for tilting menu is received, obtains the current each reference axis of terminal screen relative to zero The angle of point position;
It should be noted that the call instruction of the inclination menu in the present embodiment can be including but not limited to following two feelings Condition, user enters the interface that application has menu, when needing to open the menu of distant place:Tilt mobile phone and remain stationary as 3 seconds;Or By pinning home keys (or other keys) manually 3 seconds.Described 3 seconds are to refer to, and the present embodiment is not limited thereof, and 3 seconds are most The good time because the time too it is short may false triggering, oversize experience is not so good, naturally it is also possible to which it is suitable to be arranged as required into Number of seconds, its effect is, by tilting or pressing a period of time, enters inclination menu mode to trigger system.
S102, calculates angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position;
System is received after inclination menu instructions, the sensor devices such as gyroscope record screen is led to first current in three dimensions Angle (can be negative) of all directions relative to dead-center position;And detect that screen inclines in each coordinate position in real time by sensor Oblique angle, and the situation of change between initial angle.
S103, is more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value or negative side by the menu to the absolute value of difference To movement.
When the difference at two angles of inclination is up to positive and negative 20 degree (20 degree are to refer to and can also be arranged as required to) and the above, menu To the movement of this direction (so-called movement, i.e. system carry out real-time rendering menu according to mobile route), differential seat angle is bigger, translational speed Faster, minimum 0 degree of differential seat angle is maximum 90 degree, and system can formation speed as needed and differential seat angle corresponding relation;Positive number is referred to as just To negative is referred to as inversely.
A technical scheme in above-mentioned technical proposal has the advantages that:
By calculating the difference of initial angle of each reference axis relative to angle and each reference axis of dead-center position, and by dish The absolute value of unidirectional difference is more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value or opposite direction is moved, and realizing is needing to adjust When using menu, calling for menu can be achieved by tilting terminal screen interface, user's one-handed performance is facilitated.
It should be noted that terminal involved in the embodiment of the present invention can include but is not limited to personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), wireless handheld Equipment, tablet personal computer (Tablet Computer), mobile phone, MP3 player, MP4 players etc..
It should be noted that S101~S103 executive agent can be menu call device, the device can be located at this The application of ground terminal, or can also be the plug-in unit being located locally in the application of terminal or SDK (Software Development Kit, SDK) etc. functional unit, the embodiment of the present invention is to this without being particularly limited to.
It is understood that the application can be mounted in the application program (nativeApp) in terminal, or may be used also To be a web page program (webApp) of browser in terminal, the embodiment of the present invention is to this without limiting.
Embodiment two
The menu call method provided based on above-described embodiment one, the embodiment of the present invention is carried out to the setting procedure of system Specifically describe.The step can specifically include:
S21, sets the opportunity for starting the system;
S22, default timeIf so, then performing step S23, step S24 is otherwise performed;
S23, is tilted or long-press 3 seconds, performs step S25;
S24, the self defined time no less than 3 seconds performs step S25;
S25, sets mobile angle of inclination;
S26, if be default angle, if so, performing step S27;Otherwise, step S28 is performed;
S27, according to default angle, such as 20 degree, and perform step S29;
S28, automatic justice angle, and perform step S29;
As shown in Figure 3:In three dimensions, A is initial angle position, it is assumed that system measure with three axles relative to 0 point of angle is:X=0 degree, y=15 degree, z=5 degree.
Position is B after user tilts, and the angle relative to 0 point of itself and three axles is:X=10 degree, y=50 degree, z=- 14 degree.System by calculating the relative migration included angle in three directions in real time:X-axis differential seat angle is 10-0=10 degree, y-axis angle Difference is 50-15=35 degree, and z-axis differential seat angle is -14-5=-19 degree;It is obvious that system is drawn according to result of calculation, y-axis differential seat angle It is 35 degree to reach more than 20 degree, so menu can be toward the movement of y-axis positive direction;Again because 35 are more than 20, so mobile speed meeting Accordingly accelerate.
Position is B after user tilts, and the angle relative to 0 point of itself and three axles is:X=10 degree, y=18 degree, z=- 21 degree.System by calculating the relative migration included angle in three directions in real time:X-axis differential seat angle is 10-0=10 degree, y-axis angle Difference is 18-15=3 degree, and z-axis differential seat angle is -21-5=-26 degree;It is -26 degree to calculate z-axis differential seat angle, so menu can be toward z Axle reverse direction is moved.
Position is B after user tilts, and the angle relative to 0 point of itself and three axles is:X=30 degree, y=80 degree, z=6 Degree.System by calculating the relative migration included angle in three directions in real time:X-axis differential seat angle is 30-0=30 degree, y-axis differential seat angle For 80-15=65 degree, z-axis differential seat angle is 6-5=1 degree;It is 30 degree to calculate x-axis differential seat angle, and y-axis differential seat angle is 65 degree, institute Can be moved simultaneously toward x-axis and y-axis positive direction with menu, because y-axis differential seat angle is more than x-axis differential seat angle, therefore can be moved to y-axis it is fast Some.
S29, setting area or boundary;
S30, if acquiescence, if so, then performing step S31;Otherwise, step S32 is performed;
S31, gives tacit consent to standard-sized sheet, performs step S33;
S32, self defined area or boundary, perform step S33;
S33, preserves and sets.
User can pre-set the purpose region that menu slides into or purpose boundary line (also before mobile phone is tilted or after tilting Dynamic realtime is drawn), in the provisioning process:
User draws the region of any closure by finger on screen, such as triangle, square, circular, and such as accompanying drawing 4 shows; Or arbitrary line from left to right is drawn, such as accompanying drawing 5 shows.
The system detects user's finger moving area, and posting field or boundary line shape, position etc. generate data, and preserve In memory.
As user there is provided during the region of closure, the critical data such as system-computed and analyzed area position, shape, size, Concurrent message notifications menu, if menu is toward moving herein, when being moved in this region, even if user changes screen side again To when system detectio is moved to zone boundary to menu, menu moving event is not just reprocessed, that is to say, that menu can only be Moved in enclosed region, the regional extent of closure will not be crossed.A circle is such as drawn, if menu is moved on in this circle, just again not It can remove.
As user there is provided during boundary line, system-computed simultaneously analyzes the critical datas such as Boundary, length, width, and transmission disappears Notifications menu is ceased, if menu is moved toward this boundary line, when being moved in this boundary line, even if increasing angle of inclination again, menu Not over this line, but it can be by the place that line do not sign in and get around;Returning can be with.
User can also press screen directly to specify menu destination locations by finger, and its position is used as using menu central point Reference point, and screen is tilted to this position, system detectio pressing position, according to angle of inclination, menu is moved to herein.
Required for menu is moved to during position, user can click on to transfer menu function.Certainly, if system detectio is arrived The position or the position of finger pressing that menu is moved to are not enough to draw menu completely, then automatic adaptation menu size, position: By increase, the mode such as reduce, until be adjusted to from target location recently be enough complete display location.
, can be by pressing home keys (or other keys) etc. again 3 seconds to cancel this function, system detectio is instructed then to this Think that user will close inclination menu function, and eject pop frames to point out user.
Certainly, synchronization, user can only use any of modes such as above-mentioned enclosed region, line, specified location side Formula, what is pre-set feels bad and can cancel manually, and then dynamic is set again manually.
S32, preserves and sets.
Embodiment three
The embodiment of the present invention additionally provides a kind of menu call method, as shown in fig. 6, this method comprises the following steps:
S61, receives after the call instruction for tilting menu at the interface for having menu, determines whether to tilt or press The key preset time (such as volume key 3 seconds, home keys 3 seconds etc.) of setting, if so, then performing step S62, otherwise, performs step S72。
S62, starts the system.
S63, reads system and sets;
S64, screen orientation detection obtains angle of the current each reference axis of terminal screen relative to dead-center position;
Whether S65, screen tilts to certain angle, if so, then performing step S66;Otherwise, step S72 is performed.
S66, menu starts movement.
Specifically, calculating angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position Value;
The menu is more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value to the absolute value of difference or opposite direction is moved It is dynamic.
S67, hand animation region or boundary or pressing, if so, then performing step S68;Otherwise, step S69 is performed;
The region is closed area, open area or the corresponding region of pressing instruction.
S68, if moving direction is consistent, is moved to specified location, performs step S70;
Specifically, by absolute value from the menu to difference be more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value or After opposite direction movement, methods described also includes:
Judge whether that the setting for being previously received the region for carrying the menu is instructed;
If so, judging whether the moving direction of the menu is consistent with the direction in the region;
If consistent, the menu is moved to the region.
Optionally, it is moved to by the menu after the region, methods described also includes:
Judge whether the menu is adapted to the region;
If the menu is not adapted to the region, the size in the region is adjusted.
Optionally, angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position are being calculated After value, methods described also includes:
Judge the multiple of the difference and predetermined threshold value;
Determine that the menu is more than or equal to the corresponding reference axis side of predetermined threshold value to the absolute value of difference according to the multiple To or opposite direction movement speed.
S69, is normally moved according to angular dimension according to certain speed, performs step S70.
Menu function is called in S70, click.
S71, pressing key 3 secondsIf so, then performing step S73;Otherwise, step S65 is performed;
S72, is normally used.
S73, logs off.
The method that the embodiment of the present invention calls menu by certain angle of inclination.User opens application, when in there is dish Single interface, it is necessary to when calling menu, tilt terminal screen interface, also can when tilting finger pressing screen optional position, or It is designated area or boundary line;When screen inclination angle reaches certain threshold value, the automatic adipping of menu is slided, angle of inclination Bigger slip is faster;If finger pressing, then finger position is slided into;If designated area or boundary line, slide into region In interior or boundary line;So as to user can very convenient place touch call menu.
In addition, the embodiment of the present invention makes menu be moved to arbitrary target position by tilting certain angle, dish is called in click It is single;Purpose region, boundary line, particular location that menu is moved to are can customize, greatly facilitates the use at large-size screen monitors interface, increase pleasure Interest.
Above-described embodiment can realize corresponding work(in the sensor of the detectable orientation such as the integrated gyroscope of terminal, angle Energy.
Example IV
Fig. 7 is refer to, the functional block diagram of its device provided by the embodiment of the present invention.As shown in fig. 7, the device bag Include:
Acquisition module 71, for after the call instruction for tilting menu is received, obtaining the current each coordinate of terminal screen Angle of the axle relative to dead-center position;
Computing module 72, for calculating each reference axis relative to the angle of dead-center position and the initial angle of each reference axis The difference of degree;
Menu mobile module 73, for the menu to be more than or equal into the corresponding coordinate of predetermined threshold value to the absolute value of difference Direction of principal axis or opposite direction movement.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, described device is also Including:
First judge module, for judging whether that the setting for being previously received the region for carrying the menu is instructed;
Second judge module, during for being instructed in the setting for being previously received the region for carrying the menu, judges described Whether the moving direction of menu is consistent with the direction in the region;
The menu mobile module, for the moving direction in the menu it is consistent with the direction in the region when, by institute State menu and be moved to the region.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the region is Closed area, open area or the corresponding region of pressing instruction.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, described device is also Including:
3rd judge module, for judging whether the menu is adapted to the region;
Region adjusting module, for when the menu is not adapted to the region, adjusting the size in the region.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described calculating After difference of each reference axis relative to the initial angle of angle and each reference axis of dead-center position, described device also includes:
4th judge module, the multiple for judging the difference and predetermined threshold value;
The menu mobile module, is additionally operable to determine that the menu is more than or equal to the absolute value of difference according to the multiple The corresponding change in coordinate axis direction of predetermined threshold value or the speed of opposite direction movement.
Because each unit in the present embodiment is able to carry out the method shown in Fig. 1, the part that the present embodiment is not described in detail, Refer to the related description to Fig. 1.
The technical scheme of the embodiment of the present invention has the advantages that:
Angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position are calculated by computing module Value, and by menu mobile module by absolute value from menu to difference be more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value or Opposite direction is moved, and is realized when needing to call menu, and calling for menu can be achieved by tilting terminal screen interface, convenient User one-handed performance.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example, multiple units or group Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown Or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, device or unit it is indirect Coupling is communicated to connect, and can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are to cause a computer Device (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (10)

1. a kind of menu call method, it is characterised in that including:
After the call instruction for tilting menu is received, angle of the current each reference axis of terminal screen relative to dead-center position is obtained Degree;
Calculate angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position;
The menu is more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value to the absolute value of difference or opposite direction is moved.
2. according to the method described in claim 1, it is characterised in that pre- the menu is more than or equal to the absolute value of difference If after the corresponding change in coordinate axis direction of threshold value or opposite direction movement, methods described also includes:
Judge whether that the setting for being previously received the region for carrying the menu is instructed;
If so, judging whether the moving direction of the menu is consistent with the direction in the region;
If consistent, the menu is moved to the region.
3. method according to claim 2, it is characterised in that the region is that closed area, open area or pressing refer to Make corresponding region.
4. according to the method in claim 2 or 3, it is characterised in that be moved to by the menu after the region, institute Stating method also includes:
Judge whether the menu is adapted to the region;
If the menu is not adapted to the region, the size in the region is adjusted.
5. according to the method described in claim 1, it is characterised in that calculating angle of each reference axis relative to dead-center position After the difference of degree and the initial angle of each reference axis, methods described also includes:
Judge the multiple of the difference and predetermined threshold value;
According to the multiple determine absolute value from the menu to difference be more than or equal to the corresponding change in coordinate axis direction of predetermined threshold value or The speed of person's opposite direction movement.
6. a kind of menu call device, it is characterised in that including:
Acquisition module is relative for after the call instruction for tilting menu is received, obtaining the current each reference axis of terminal screen In the angle of dead-center position;
Computing module, for calculating angle and the difference of the initial angle of each reference axis of each reference axis relative to dead-center position Value;
Menu mobile module, for the menu to be more than or equal into the corresponding change in coordinate axis direction of predetermined threshold value to the absolute value of difference Or opposite direction movement.
7. device according to claim 6, it is characterised in that described device also includes:
First judge module, for judging whether that the setting for being previously received the region for carrying the menu is instructed;
Second judge module, during for being instructed in the setting for being previously received the region for carrying the menu, judges the menu Moving direction it is whether consistent with the direction in the region;
The menu mobile module, for the moving direction in the menu it is consistent with the direction in the region when, by the dish Singly it is moved to the region.
8. device according to claim 7, it is characterised in that the region is that closed area, open area or pressing refer to Make corresponding region.
9. the device according to claim 7 or 8, it is characterised in that described device also includes:
3rd judge module, for judging whether the menu is adapted to the region;
Region adjusting module, for when the menu is not adapted to the region, adjusting the size in the region.
10. device according to claim 6, it is characterised in that calculating each reference axis relative to dead-center position After the difference of the initial angle of angle and each reference axis, described device also includes:
4th judge module, the multiple for judging the difference and predetermined threshold value;
The menu mobile module, is additionally operable to determine the menu to the absolute value of difference more than or equal to default according to the multiple The corresponding change in coordinate axis direction of threshold value or the speed of opposite direction movement.
CN201710270465.2A 2017-04-24 2017-04-24 A kind of menu call method and device Pending CN107092425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710270465.2A CN107092425A (en) 2017-04-24 2017-04-24 A kind of menu call method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710270465.2A CN107092425A (en) 2017-04-24 2017-04-24 A kind of menu call method and device

Publications (1)

Publication Number Publication Date
CN107092425A true CN107092425A (en) 2017-08-25

Family

ID=59637701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710270465.2A Pending CN107092425A (en) 2017-04-24 2017-04-24 A kind of menu call method and device

Country Status (1)

Country Link
CN (1) CN107092425A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368245A (en) * 2017-08-29 2017-11-21 广东欧珀移动通信有限公司 Mode activation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750107A (en) * 2012-08-02 2012-10-24 深圳市经纬科技有限公司 Single-hand operation method of large-screen handheld electronic device and device
CN103353823A (en) * 2013-06-25 2013-10-16 上海鼎为通讯电子有限公司 Mobile terminal and scrolling method thereof
CN104571912A (en) * 2014-12-16 2015-04-29 上海天奕达电子科技有限公司 Interface display method, terminal and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750107A (en) * 2012-08-02 2012-10-24 深圳市经纬科技有限公司 Single-hand operation method of large-screen handheld electronic device and device
CN103353823A (en) * 2013-06-25 2013-10-16 上海鼎为通讯电子有限公司 Mobile terminal and scrolling method thereof
CN104571912A (en) * 2014-12-16 2015-04-29 上海天奕达电子科技有限公司 Interface display method, terminal and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368245A (en) * 2017-08-29 2017-11-21 广东欧珀移动通信有限公司 Mode activation method and device

Similar Documents

Publication Publication Date Title
TWI672629B (en) Emoticon display method, apparatus and computer-readable storage medium
US10209877B2 (en) Touch screen device, method, and graphical user interface for moving on-screen objects without using a cursor
CN107045420B (en) Application program switching method, mobile terminal and storage medium
CN110851040B (en) An information processing method and electronic device
WO2021104365A1 (en) Object sharing method and electronic device
WO2017088131A1 (en) Method and apparatus for rapidly dividing screen, electronic device, display interface and storage medium
WO2016165568A1 (en) Method for scaling video image, and mobile terminal
CN107870784A (en) A kind of display control method, mobile terminal and computer-readable recording medium
WO2017101787A1 (en) Method and device for processing floating window
CN103210367A (en) Electronic apparatus and method for controlling display object scaling
CN112068744A (en) Interactive method, mobile terminal and storage medium
CN110187947A (en) A kind of message display method and terminal device
CN109426410A (en) Method for controlling cursor movement, method for selecting content, method for controlling page scrolling, and electronic device
CN107992263A (en) A kind of information sharing method and mobile terminal
CN110442297A (en) Split screen display method, split screen display device and terminal equipment
CN108920069A (en) A kind of touch operation method, device, mobile terminal and storage medium
CN103399657B (en) The control method of mouse pointer, device and terminal unit
CN107992342A (en) A kind of application configuration change method and mobile terminal
CN111953846A (en) Interface layout adjustment method, terminal device, and computer-readable storage medium
CN107943361B (en) Application icon display method, device and mobile terminal
CN110471711A (en) Application program preloading method and terminal device
CN108668328A (en) A kind of method for switching network and mobile terminal
CN107741814A (en) A kind of display control method and mobile terminal
CN108600498B (en) Information prompting method and device
CN103885692A (en) Page changing method, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170825