Summary of the invention
Based on the problems referred to above, the object of the embodiment of the present invention is the display packing and the device that provide a kind of shortcut menu, so that the function on effective storage shortcut menu, and user friendly retrieval.Technical scheme is as follows:
First aspect, embodiments provides a kind of display packing of shortcut menu, comprising:
The further menu control that display is preset, the initial displaying contents of further menu control comprises: through multiple class name corresponding to sorted prompt operation and with each class name multiple control button one to one, the corresponding second-level menu of each class name of further menu control, described second-level menu comprises all prompt operations under this class name;
Obtain the user operation for the initial displaying contents of described further menu control;
According to user operation, when arbitrary class name is easily selected by a user, perform the prompt operation that this default class name is corresponding; When the control button that arbitrary class name is corresponding is pressed by user, the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding.
Optionally, described prompt operation is classified, comprising: according to the attribute of prompt operation, described prompt operation is classified.
Optionally, when the described control button corresponding when arbitrary class name is pressed by user, the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding, when being called in the title of the prompt operation that its second-level menu comprises when described classification, then also comprise:
After prompt operation in second-level menu is performed, by the sequence of operation preset, this class name is switched to the title of next prompt operation.
Optionally, described when arbitrary class name is easily selected by a user, perform the prompt operation that this default class name is corresponding, comprising:
When arbitrary class name is easily selected by a user, judge whether described class name presets corresponding prompt operation, if the prompt operation that this class name Non-precondition is corresponding, then the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding; If this class name has preset corresponding prompt operation, then perform the prompt operation that this default class name is corresponding.
Optionally, if the prompt operation that this class name Non-precondition described is corresponding, then the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding, also comprises:
After the prompt operation in second-level menu is performed, class name corresponding for its one-level menu control is switched to the title of the prompt operation be performed.
Second aspect, the embodiment of the present invention additionally provides a kind of display device of shortcut menu, comprising:
Control display unit, for showing default further menu control, the initial displaying contents of further menu control comprises: through multiple class name corresponding to sorted prompt operation and with each class name multiple control button one to one, the corresponding second-level menu of each class name of further menu control, described second-level menu comprises all prompt operations under this class name; One in the title of the prompt operation that described class name its second-level menu corresponding comprises;
User operation acquiring unit, for obtaining the user operation of the initial displaying contents for described further menu control;
User operation response unit, for according to user operation, when arbitrary class name is easily selected by a user, performs the prompt operation that this default class name is corresponding; When the control button that arbitrary class name is corresponding is pressed by user, the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding.
Optionally, described prompt operation is classified, comprising: according to the attribute of prompt operation, described prompt operation is classified.
Optionally, described user operation response unit, comprising: class name response subelement, control key response subelement, prompt operation perform subelement and display subelement;
Described class name response subelement, when arbitrary class name is easily selected by a user, triggers described prompt operation and performs subelement, makes described prompt operation perform subelement and performs prompt operation corresponding to this default class name;
Described control key response subelement, when the control button that arbitrary class name is corresponding is pressed by user, trigger described display subelement, make the predeterminated position of described display subelement around described further menu control, show the second-level menu that this class name is corresponding.
Optionally, described control key response subelement, also comprises: first user name switches subelement;
Described first user name switches subelement, during for being called in the title of the prompt operation that its second-level menu comprises when described classification, after the prompt operation that execution second-level menu comprises, by the sequence of operation preset, this class name is switched to the title of next prompt operation.
Optionally, described class name response subelement, comprising: judgment sub-unit;
Described judgment sub-unit, for when arbitrary class name is easily selected by a user, judge whether described class name is preset with corresponding prompt operation, if the prompt operation that this class name Non-precondition is corresponding, then trigger described display subelement, make the predeterminated position of described display subelement around described further menu control, show the second-level menu that this class name is corresponding; If this class name has preset corresponding prompt operation, then trigger described prompt operation and perform subelement, perform the prompt operation that this default class name is corresponding.
Optionally, described judgment sub-unit, also comprises: the second user name switches subelement;
Described second user name switches subelement, after being performed, class name corresponding for its one-level menu control is switched to the title of the prompt operation be performed for the prompt operation in second-level menu.
Technical solution of the present invention compared with prior art, at least has following advantage:
First, the embodiment of the present invention is classified to prompt operation, makes user find the prompt operation needing use targetedly, user search of being more convenient for, and also makes operation easier.
Secondly, the embodiment of the present invention make use of the mode of two hierarchical levels of menus, and prompt operation can be fully received on of a terminal screen page, the prompt operation so just in the more effective storage shortcut menu of energy.
Embodiment
Technical scheme in the embodiment of the present invention is better understood in order to make those skilled in the art, 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 only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The display packing of the shortcut menu that the embodiment of the present invention provides and device, by classifying to prompt operation, user is made to find the prompt operation needing use targetedly, to be more convenient for user search, also make operation easier, and make use of the mode of two hierarchical levels of menus, prompt operation can be fully received on of a terminal screen page, the prompt operation so just in the more effective storage shortcut menu of energy.
Be the process flow diagram of the display packing of a kind of shortcut menu of the embodiment of the present invention see Fig. 2, Fig. 2, comprise the following steps:
S201, the further menu control that display is preset;
Concrete, in one embodiment, can show this further menu control preset at predeterminable area, this predeterminable area is the region at the further menu control place that this is preset.As shown in Figure 3, further menu control is rectangle, is placed in by near edit object, as in figure, by the top of editing picture.Certainly, further menu control shape and predeterminable area are all not limited to this, predeterminable area can be any position on screen, the shape of above-mentioned further menu control also can be arranged to other any shapes except rectangle, general, we just select further menu control to be rectangle, and predeterminable area is in screen middle and upper part, also illustrate in this form below, just no longer repeat statement later.
Concrete, the initial displaying contents of further menu control comprises: through multiple class name corresponding to sorted prompt operation and with each class name multiple control button one to one, the corresponding second-level menu of each class name of further menu control, described second-level menu comprises all prompt operations under this class name.
Wherein, described prompt operation is classified, can comprise: according to the attribute of prompt operation, described prompt operation is classified.
For the further menu control of three classifications, S201 is described now, as shown in Figure 3, illustrate a sorted further menu control, three class names that this control comprises, be respectively " copying " " editor " and " assisting ", these class names obtain after the attributive classification according to prompt operation, wherein, " copy " class and belong to fundamental operation class, in addition, each class name is a corresponding control button respectively, these control button with the little triangle display of standing upside down, certainly, the display format of above-mentioned control button is not limited thereto, also can be other arbitrary shapes, as circular or point-like.The corresponding second-level menu of each class name, second-level menu comprises all prompt operations under this classification, as shown in Figure 4, " copy " prompt operation " deletions " in corresponding second-level menu, " copying ", " shearings ", " stickup " transverse direction be sequentially placed in default position, certainly, these prompt operations also can be placed in default position with vertical or other forms.In addition, the class name of further menu can be the title of any one prompt operation in the second-level menu of correspondence under its classification, and as " copying " class, also can be " deletion ", " shearing " or " stickup " when further menu shows, other class names be similar.
S202, obtains the user operation of the initial displaying contents for described further menu control;
Concrete, for the user operation of the initial displaying contents of described further menu control, user can be comprised to the selection of class name and user to the operation controlling button.
S203, according to user operation, when arbitrary class name is easily selected by a user, performs the prompt operation that this default class name is corresponding; When the control button that arbitrary class name is corresponding is pressed by user, the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding.
Concrete, when class name is equipped with corresponding prompt operation, once terminal gets the user operation for class name, then perform this prompt operation immediately; When getting the user operation for control button corresponding to class name, with regard to the second-level menu that this class name of Automatic-expanding is corresponding.
Present citing is described, as shown in Figure 4, fundamental operation class " is copied ", when user presses " copying ", just automatically perform replicate run, when user needs to perform the prompt operation in second-level menu, just press side cause little triangle time, further menu control Automatic-expanding " copies " second-level menu under classification, at this moment the prompt operation of second-level menu displays, have " deletion ", " copy ", " shearing ", " stickup ", user presses the title of the prompt operation of needs, this prompt operation is just performed immediately, immediately, second-level menu is regained.
Further, when the control button that arbitrary class name is corresponding is pressed by user, the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding, when being called in the title of the prompt operation that its second-level menu comprises when described classification, then can also comprise:
After the prompt operation in second-level menu is performed, by the sequence of operation preset, this class name is switched to the title of next prompt operation.
Illustrate, as shown in Figure 4, it is " deletion ", " copying ", " shearing ", " stickup " that class name " copies " prompt operation shown when corresponding second-level menu is unfolded, these prompt operations show according to the order preset, the order preset arranges according to the general sequence of user operation, such as: user can perform the operation of stickup after copying or shearing usually.If user performs shearing manipulation, so class name is just switched to " stickup ", as shown in Figure 5, when user wants to perform paste operation next time, does not just need to launch second-level menu, and directly presses further menu " stickup ".
This mode, utilizes the operation of user's previous step to infer next step intention of user, more humane, brings very large facility also to the next operation of user.
Optionally, when arbitrary class name is easily selected by a user, performs the prompt operation that this default class name is corresponding, comprising:
When arbitrary class name is easily selected by a user, judge whether described class name presets corresponding prompt operation, if the prompt operation that this class name Non-precondition is corresponding, then the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding; If this class name has preset corresponding prompt operation, then perform the prompt operation that this default class name is corresponding.
Concrete, the prompt operation of the existence correspondence that the class name in further menu has, such as, copy, paste, the class name of the fundamental operation class such as shearing; There is not corresponding prompt operation in what have, as the class name of non-basic class of operation such as assisting.The class name that there is not corresponding prompt operation is the name of ordering with the general character of the attribute of the prompt operation of this class, therefore when user press this kind of there is not the class name of corresponding prompt operation time, just cannot perform any prompt operation, and it is corresponding, the second-level menu expansion that this class name is corresponding, user can select the title of the prompt operation needed to carry out concrete operation.
Illustrate, as shown in Figure 5, " editor " class does not have corresponding concrete prompt operation, and after user presses this class name, directly launch second-level menu corresponding to this class name, " replacing picture " " cutting " " rotation " is illustrated in default position; Equally, shown in Fig. 6, " assisting " class does not have corresponding concrete prompt operation yet, and after user presses this class name, be also directly launch second-level menu corresponding to this class name, " reading aloud " " dictionary " is illustrated in default position.
Further, if the prompt operation that this class name Non-precondition is corresponding, then the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding, can also comprise:
After the prompt operation in second-level menu is performed, class name corresponding for its one-level menu control is switched to the title of the prompt operation be performed.
Citing is described, shown in Fig. 5, the classification " editor " by name of further menu control Equations of The Second Kind, trimming operation has been carried out from Fig. 5 to Fig. 6, therefore, in Fig. 6, the class name of further menu control Equations of The Second Kind switches to " cutting ", and equally, the class name of further menu control the 3rd class is the same with the switching mode of Equations of The Second Kind.
It should be noted that, the display packing of a kind of shortcut menu that the embodiment of the present invention provides is applicable in terminal, wherein, this terminal can be: the portable terminals such as mobile phone, panel computer, notebook computer, certainly, this terminal also can be: the non-portable terminal such as desktop computer, Digital Television.
Corresponding to embodiment of the method, the embodiment of the present invention additionally provides a kind of display device of shortcut menu, as shown in Figure 7, comprises with lower unit:
Control display unit 710, for showing default further menu control, the initial displaying contents of further menu control comprises: through multiple class name corresponding to sorted prompt operation and with each class name multiple control button one to one, the corresponding second-level menu of each class name of further menu control, described second-level menu comprises all prompt operations under this class name; One in the title of the prompt operation that described class name its second-level menu corresponding comprises;
User operation acquiring unit 720, for obtaining the user operation of the initial displaying contents for described further menu control;
User operation response unit 730, for according to user operation, when arbitrary class name is easily selected by a user, performs the prompt operation that this default class name is corresponding; When the control button that arbitrary class name is corresponding is pressed by user, the predeterminated position around described further menu control, shows the second-level menu that this class name is corresponding.
Optionally, described prompt operation is classified, comprising: according to the attribute of prompt operation, described prompt operation is classified.
Optionally, user operation response unit 730, comprising: class name response subelement, control key response subelement, prompt operation perform subelement and display subelement;
Described class name response subelement, when arbitrary class name is easily selected by a user, triggers described prompt operation and performs subelement, makes described prompt operation perform subelement and performs prompt operation corresponding to this default class name;
Described control key response subelement, when the control button that arbitrary class name is corresponding is pressed by user, trigger described display subelement, make the predeterminated position of described display subelement around described further menu control, show the second-level menu that this class name is corresponding.
Optionally, control key response subelement, also comprise: first user name switches subelement;
Described first user name switches subelement, for after performing the prompt operation that second-level menu comprises, by the sequence of operation preset, this class name is switched to the title of next prompt operation.
Optionally, class name response subelement, comprising: judgment sub-unit;
Described judgment sub-unit, for when arbitrary class name is easily selected by a user, judge whether described class name is preset with corresponding prompt operation, if the prompt operation that this class name Non-precondition is corresponding, then trigger described display subelement, make the predeterminated position of described display subelement around described further menu control, show the second-level menu that this class name is corresponding; If this class name has preset corresponding prompt operation, then trigger described prompt operation and perform subelement, perform the prompt operation that this default class name is corresponding.
Optionally, judgment sub-unit, also comprises: the second user name switches subelement;
Described second user name switches subelement, for after the prompt operation in second-level menu is performed, class name corresponding for its one-level menu control is switched to the title of the prompt operation be performed.
For system or device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.