Summary of the invention
The present invention provides the acquisition methods of a kind of menu, when the operation trace in the operation information judging the user obtained meets preset requirement, described terminal unit obtains the menu that the abscissa region in described operation information is corresponding, the present invention can allow user pass through once-through operation just can obtain different menu, and user can be allowed when first time obtaining menu, just can to obtain the menu that user needs to use, and then quick obtaining user can need the shortcut icon used, make search procedure simple, save the time of user。
The invention provides the acquisition methods of a kind of menu, described method includes:
Terminal unit obtains the operation information of user;
Whether the operation trace that described terminal unit judges in described operation information meets preset requirement;
If met, described terminal unit obtains the menu that the abscissa region in described operation information is corresponding。
Before described terminal unit obtains the operation information of user, described method also includes:
The screen abscissa of described terminal unit is divided into the interval of corresponding number by described terminal unit according to presetting menu number;
Described default menu is stored in the interval of correspondence by described terminal unit according to the corresponding relation preset。
Described terminal unit obtains the menu that the abscissa region in described operation information is corresponding, particularly as follows:
Described terminal unit obtains the abscissa in described operation information;
Described terminal unit determines the interval at described abscissa place, so that described terminal unit obtains described interval corresponding menu。
It is characterized in that, the number of described abscissa is one or more。
When the number of described abscissa is multiple, described terminal unit determines the interval at described abscissa place, so that described terminal unit obtains described interval corresponding menu, particularly as follows:
Described terminal unit determines the interval at the plurality of abscissa place;
When the interval at the plurality of abscissa place is one, described terminal unit obtains the menu that one interval is corresponding;
When the interval at the plurality of abscissa place is multiple, described terminal unit obtains the plurality of interval corresponding menu。
A kind of terminal unit, described terminal unit includes:
First acquisition module, for obtaining the operation information of user;
Judge module, for whether the operation trace judged in described operation information meets preset requirement;
Second acquisition module, if met, the menu corresponding for obtaining abscissa region in described operation information。
Described terminal unit also includes:
Divide module, before described first acquisition module obtains the operation information of user, for the screen abscissa of described terminal unit being divided into according to default menu number the interval of corresponding number;
Memory module, for being stored in described default menu according to the corresponding relation preset in the interval of correspondence。
Described second acquisition module, specifically for:
Obtain the abscissa in described operation information;
Determine the interval at described abscissa place, to obtain described interval corresponding menu。
The number of described abscissa is one or more。
When the number of described abscissa is multiple, described second acquisition module determines the interval at described abscissa place, to obtain described interval corresponding menu, specifically for:
Described second acquisition module determines the interval at the plurality of abscissa place;
Described second acquisition module, when the interval at the plurality of abscissa place is one, obtains the menu that one interval is corresponding;
Described second acquisition module, when the interval at the plurality of abscissa place is multiple, obtains the plurality of interval corresponding menu。
In the present invention, when the operation trace in the operation information judging the user obtained meets preset requirement, described terminal unit obtains the menu that the abscissa region in described operation information is corresponding, the present invention can allow user pass through once-through operation just can obtain different menu, and user can be allowed when first time obtaining menu, just can to obtain the menu that user needs to use, and then quick obtaining user can need the shortcut icon used so that search procedure is simple, saves the time of user。
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
In the prior art, concrete as shown in Figure 1, when user require to look up be drop-down notifications menu 4 time, in the schematic diagram being numbered 1, after first obtaining drop-down notifications menu 1 by needs, then passing through slides to the right just can obtain drop-down notifications menu 4 twice, in the schematic diagram being numbered 2, after first obtaining drop-down notifications menu 1 by needs, slide to the right and just can obtain drop-down notifications menu 4 three times, in above two method, when each user begins look for the drop-down notifications menu needing to use, it is all proceed by lookup from drop-down notifications menu 1, need if drop-down notifications menu 1 is not user, so user requires over to horizontally slip and searches other drop-down notifications menu, and then obtain the drop-down notifications menu needing to use, said method not only searches trouble, and the plenty of time of user can be wasted。
In order to solve the problems of the prior art, the present invention proposes the acquisition methods of a kind of menu, concrete as in figure 2 it is shown, said method comprising the steps of:
Step 201, terminal unit obtains the operation information of user。
Concrete, when user obtains the menu needing to use, user needs terminal unit is specifically operated, described terminal unit is after the operation information obtaining user, obtain menu according to described operation information, wherein, described operation information comprises abscissa during operation trace and the user operation of user, described operation trace can be the operating gesture of user, it is also possible to be user's sliding trace on the screen of described terminal unit。
Before described terminal unit obtains the operation information of user, described method also includes:
The screen abscissa of described terminal unit is divided into the interval of corresponding number by described terminal unit according to presetting menu number;
Described default menu is stored in the interval of correspondence by described terminal unit according to the corresponding relation preset。
Specifically as shown in Figure 3, described default menu number is 5, then the screen of described terminal unit is divided into 5 regions, the abscissa zone of the corresponding screen in each region, the abscissa comprised in described interval is the abscissa that corresponding region is occupied, such as: if the abscissa of screen is 1-10, so the interval abscissa of region 1 correspondence is 1, 2, the interval abscissa of region 2 correspondence is 3, 4, the interval abscissa of region 3 correspondence is 5, 6, the interval abscissa of region 4 correspondence is 7, 8, the interval abscissa of region 5 correspondence is 9, 10, after described screen is divided, the described terminal unit corresponding relation according to user preset, described default menu is stored in the interval of correspondence, namely the region that different default menus is corresponding different, unique default menu can be found by different regions, such as: menu 1 corresponding region 1, menu 2 corresponding region 2, menu 3 corresponding region 3, menu 4 corresponding region 4, menu 5 corresponding region 5, the menu that can only be found by region 1 is menu 1。
Step 202, whether the operation trace that described terminal unit judges in described operation information meets preset requirement, if met, then performing step 203, if do not met, then terminating。
Step 203, described terminal unit obtains the menu that the abscissa region in described operation information is corresponding。
Described terminal unit obtains the menu that the abscissa region in described operation information is corresponding, particularly as follows:
Described terminal unit obtains the abscissa in described operation information;
Described terminal unit determines the interval at described abscissa place, so that described terminal unit obtains described interval corresponding menu。
Wherein, the number of described abscissa is one or more。
Concrete, when the operation trace in described operation information is correct, represent that user wants to obtain menu, now terminal unit obtains the abscissa in described operation information, when be assured that after determining abscissa in the described user which region in screen produce operation information, namely described user wants to obtain which interval corresponding menu, such as: as shown in Figure 3, when described abscissa is 3, representing that user wants to obtain abscissa is menus corresponding to 3 intervals, place, and now described terminal unit obtains menu 3。
When the number of described abscissa is multiple, described terminal unit determines the interval at described abscissa place, so that described terminal unit obtains described interval corresponding menu, particularly as follows:
Described terminal unit determines the interval at the plurality of abscissa place;
When the interval at the plurality of abscissa place is one, described terminal unit obtains the menu that one interval is corresponding;
When the interval at the plurality of abscissa place is multiple, described terminal unit obtains the plurality of interval corresponding menu。
Concrete, described device end can also provide the user multiple menu in a screen simultaneously, when the region at the multiple abscissas in the operation information of user is multiple region, namely when the interval at described abscissa place is multiple, described terminal unit obtains the plurality of interval corresponding menu, so that the plurality of menu is presented to described user by described terminal unit, when the multiple abscissas in the operation information of user are in a region, described terminal unit obtains the menu that this region is corresponding, so that this menu is presented to described user by described terminal unit, such as: as shown in Figure 3, when user needs menu 2, described user can at abscissa 3 or abscissa 3, satisfactory operation is carried out on 4, now described terminal unit obtains more coordinate 3 or abscissa 3, user presented to by menu 2 corresponding to 4 interval, places;When needing menu 2 and menu 3 as user, described user can carry out satisfactory operation on abscissa 3 and abscissa 5, and user presented to by menu 2 and menu 3 that now described terminal unit acquisition abscissa 3 is corresponding with interval, abscissa 5 place。
Pass through said method; the present invention can provide multiple menu for user simultaneously; it is can be any-mode that the plurality of menu is carried out presenting by described terminal unit, and concrete condition can be determined according to practical situation, but the any-mode that many menus present simultaneously belongs to protection scope of the present invention。
In the present invention, when the operation trace in the operation information judging the user obtained meets preset requirement, described terminal unit obtains the menu that the abscissa region in described operation information is corresponding, the present invention can allow user pass through once-through operation just can obtain different menu, and user can be allowed when first time obtaining menu, just can to obtain the menu that user needs to use, and then quick obtaining user can need the shortcut icon used so that search procedure is simple, saves the time of user。
Based on the inventive concept same with said method, the present invention proposes a kind of terminal unit, and as shown in Figure 4, described terminal unit includes:
First acquisition module 41, for obtaining the operation information of user;
Judge module 42, for whether the operation trace judged in described operation information meets preset requirement;
Second acquisition module 43, if met, the menu corresponding for obtaining abscissa region in described operation information。
Described terminal unit also includes:
Divide module, before described first acquisition module obtains the operation information of user, for the screen abscissa of described terminal unit being divided into according to default menu number the interval of corresponding number;
Memory module, for being stored in described default menu according to the corresponding relation preset in the interval of correspondence。
Described second acquisition module, specifically for:
Obtain the abscissa in described operation information;
Determine the interval at described abscissa place, to obtain described interval corresponding menu。
The number of described abscissa is one or more。
When the number of described abscissa is multiple, described second acquisition module determines the interval at described abscissa place, to obtain described interval corresponding menu, specifically for:
Described second acquisition module determines the interval at the plurality of abscissa place;
Described second acquisition module, when the interval at the plurality of abscissa place is one, obtains the menu that one interval is corresponding;
Described second acquisition module, when the interval at the plurality of abscissa place is multiple, obtains the plurality of interval corresponding menu。
In the present invention, when the operation trace in the operation information judging the user obtained meets preset requirement, described terminal unit obtains the menu that the abscissa region in described operation information is corresponding, the present invention can allow user pass through once-through operation just can obtain different menu, and user can be allowed when first time obtaining menu, just can to obtain the menu that user needs to use, and then quick obtaining user can need the shortcut icon used so that search procedure is simple, saves the time of user。
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can be completed by the hardware that programmed instruction is relevant。Aforesaid program can be stored in a computer read/write memory medium。This program upon execution, performs to include the step of above-mentioned each embodiment of the method;And aforesaid storage medium includes: the various media that can store program code such as ROM, RAM, magnetic disc or CDs。
Device embodiment described above is merely schematic, the unit wherein illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed at least two NE。Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme。Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement。
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein some or all of technical characteristic is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme。