CN107491248A - Menu display method, device, terminal device and computer-readable recording medium - Google Patents
Menu display method, device, terminal device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107491248A CN107491248A CN201710737729.0A CN201710737729A CN107491248A CN 107491248 A CN107491248 A CN 107491248A CN 201710737729 A CN201710737729 A CN 201710737729A CN 107491248 A CN107491248 A CN 107491248A
- Authority
- CN
- China
- Prior art keywords
- menu
- show styles
- menu item
- item
- threshold
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of menu display method, device, terminal device and computer-readable recording medium.Wherein method includes:When monitoring user in trigger action of the input pin in current interface to context menu, multiple first menu items in first order menu are obtained;The Show Styles according to corresponding to determining the number of the first menu item;Multiple first menu items are shown according to corresponding Show Styles.The embodiment of the present invention enriches the diversity that menu is shown, improves the utilization rate of page space, and algorithm is simpler when handling mouse action, cost of implementation is low, system power dissipation is low, while can better adapt to the use habit of touch-screen, improves Consumer's Experience.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of menu display method, device, terminal device and computer can
Read storage medium.
Background technology
In correlation technique, what is used in operating system, application software (such as word processor), webpage occasion is upper and lower
Literary menu is usually cascading menu or annular menu, wherein, the cascading menu refers to the menu for having multiple levels, each
The menu of rank has sub- level menu associated therewith.For example, Fig. 1 (a) is upper to be used in the prior art in webpage occasion
The hereafter exemplary plot of menu, as shown in Fig. 1 (a), when user clicks on right mouse button in webpage, it can be carried in the web interface
For context menu, it can be seen that the context menu is cascading menu, and can show the first order dish to user first
It is single, and with the position that mouse moves, Level-2 menu of the display with next stage menu.
And for example, Fig. 1 (b) is the exemplary plot that context menu is annular menu in the prior art, as shown in Fig. 1 (b), is being examined
When measuring the region where mouse slides into first order menu, Level-2 menu is shown, wherein, the Level-2 menu includes multiple
Prolong the menu item circumferentially of first order menu, i.e., the context menu is using annular further menu, and second-level menu is pressed
Deploy according to the mode for surrounding further menu.
But the problem of presently, there are, is:Above-mentioned cascading menu often deploys to one direction, and space availability ratio is not high,
And second-level menu can only deploy one, if user does not remember the position of second-level menu, it is necessary to operating repeatedly can just find,
And the Show Styles of menu is relatively simple;Although above-mentioned annular menu can cause the space utilization around mouse must compare to fill
Point, but it is same because the problem of second-level menu spatial distribution, it is only possible to show a second-level menu, and the display sample of menu
Formula is relatively simple, and uses annular menu, and system needs to handle the node of mouse process and intersecting for inside and outside radius arc well
Relation, algorithm is complex, and cost of implementation is higher, and can increase system power dissipation to a certain extent.
The content of the invention
The purpose of the present invention is intended at least solve one of above-mentioned technical problem to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of menu display method.This method enriches menu and shown
Diversity, improve the utilization rate of page space, and algorithm is simpler when handling mouse action, cost of implementation is low,
System power dissipation is low, while can better adapt to the use habit of touch-screen, improves Consumer's Experience.
Second object of the present invention is to propose a kind of manu displaying device.
Third object of the present invention is to propose a kind of terminal device.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
To reach above-mentioned purpose, menu display method that first aspect present invention embodiment proposes, including:When monitoring to use
Family obtains multiple first menus in first order menu in trigger action of the input pin in current interface to context menu
;The Show Styles according to corresponding to determining the number of first menu item;By the multiple first menu item according to described right
The Show Styles answered is shown.
Menu display method according to embodiments of the present invention, monitor user in current interface input pin to context
During the trigger action of menu, multiple first menu items in first order menu are obtained, and determine according to the number of the first menu item
Corresponding Show Styles, and the multiple first menu item is shown according to the corresponding Show Styles, i.e., according to
The number of one menu item determines the Show Styles of menu, such as nine grids styles menu or four direction Show Styles, enriches
The diversity that menu is shown, improve the utilization rate of page space, and nine grids styles menu or four direction Show Styles etc.
Show Styles algorithm when handling mouse action is simpler, and cost of implementation is low, and system power dissipation is low, while can better adapt to
The use habit of touch-screen, improves Consumer's Experience.
To reach above-mentioned purpose, manu displaying device that second aspect of the present invention embodiment proposes, including:Acquisition module,
For when monitoring user in trigger action of the input pin in current interface to context menu, obtaining in first order menu
Multiple first menu items;Determining module, for the Show Styles according to corresponding to the determination of the number of first menu item;Show mould
Block, for the multiple first menu item to be shown according to the corresponding Show Styles.
Manu displaying device according to embodiments of the present invention, it can monitor user in current interface by acquisition module
When input pin is to the trigger action of context menu, obtain multiple first menu items in first order menu, determining module according to
Show Styles corresponding to the number determination of first menu item, display module is by the multiple first menu item according to described corresponding
Show Styles is shown, i.e., the Show Styles of menu is determined according to the number of the first menu item, such as nine grids styles menu
Or four direction Show Styles etc., the diversity that menu is shown is enriched, improves the utilization rate of page space, and nine grids sample
The Show Styles such as formula menu or four direction Show Styles algorithm when handling mouse action is simpler, and cost of implementation is low, system
It is low in energy consumption, while the use habit of touch-screen can be better adapted to, improve Consumer's Experience.
To reach above-mentioned purpose, terminal device that third aspect present invention embodiment proposes, including memory, processor and
Storage on a memory and the computer program that can run on a processor, during the computing device described program, is realized
Menu display method described in invention first aspect embodiment.
To reach above-mentioned purpose, non-transitorycomputer readable storage medium that fourth aspect present invention embodiment proposes,
Computer program is stored thereon with, the menu described in first aspect present invention embodiment is realized when described program is executed by processor
Display methods.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and it is readily appreciated that, wherein:
Fig. 1 (a) is the exemplary plot that context menu is cascading menu in the prior art;
Fig. 1 (b) is the exemplary plot that context menu is annular menu in the prior art;
Fig. 2 is the flow chart of menu display method according to an embodiment of the invention;
Fig. 3 (a), (b) and (c) are effect of the Show Styles according to some embodiments of the invention for four direction Show Styles
Exemplary plot;
Fig. 3 (d) and (e) are effect example of the Show Styles according to some embodiments of the invention for nine lattice palace Show Styles
Figure;
Fig. 4 (a), (b) and (c) are the display effect exemplary plots of Level-2 menu according to some embodiments of the invention;
Fig. 5 is the flow chart according to the menu display method of a specific embodiment of the invention;
Fig. 6 is the structural representation of manu displaying device according to an embodiment of the invention;
Fig. 7 is the structural representation according to the manu displaying device of a specific embodiment of the invention;
Fig. 8 is the structural representation according to the manu displaying device of another specific embodiment of the invention;
Fig. 9 is the structural representation according to the manu displaying device of another specific embodiment of the invention;
Figure 10 is the structural representation of terminal device according to an embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the menu display method of the embodiment of the present invention, device, terminal device and computer-readable are described
Storage medium.
Fig. 2 is the flow chart of menu display method according to an embodiment of the invention.It should be noted that the present invention is real
The menu display method for applying example can be applied to the manu displaying device of the embodiment of the present invention, and the manu displaying device can be configured in
Terminal device.Wherein, the terminal device can be that (such as mobile phone, tablet personal computer, personal digital assistant have various mobile terminal
The hardware device of operating system), PC (Personal Computer, personal computer) machine etc., can also be VR (Virtual
Reality, virtual reality technology) equipment, AR (Augmented Reality, augmented reality) equipment etc..
That is, the menu display method of the embodiment of the present invention be applied to mobile terminal or operating system on PC,
The scenes such as application software, webpage, various virtual realities and the scene of augmented reality are could be applicable to, for example, the embodiment of the present invention
Menu display method be applicable to VR device emulations come out simulated scenario used in context menu.
As shown in Fig. 2 the menu display method can include:
S210, when monitoring user in trigger action of the input pin in current interface to context menu, obtain first
Multiple first menu items in level menu.
It is appreciated that " the right button dish being commonly called as occurs in any position right click mouse in the operating system of terminal device
It is single ", just refer to above-mentioned context menu in fact.Because the context menu is that what judges to eject according to mouse position
Menu, for example, the right click mouse on the desktop of operating system, then can show personalized menu, it is upper right in the file of operating system
Hit mouse, then display for the file operation delete etc. menu, that is, based on context come determine how ejection and
Which kind of menu is ejected, so referred to as context menu.
Alternatively, can monitor it is current whether have user in current interface input pin to the trigger action of context menu,
The trigger action can such as be click on the right button of mouse, if monitor user in current interface input pin to context menu
Trigger action, for example, user clicks the right button of mouse in current interface, then it can determine that the trigger action in current interface
In corresponding content information, and the first order menu according to corresponding to content information generation, wherein, the first order menu bag
Containing multiple first menu items.
That is, when monitoring user in trigger action of the input pin in current interface to context menu, can root
According to the positional information of the trigger action, first order menu corresponding with the positional information is obtained.
S220, the Show Styles according to corresponding to determining the number of the first menu item.
The difference of the number of first menu item, determine that the Show Styles of menu also can be different.Wherein, the one of the present invention
In individual embodiment, the Show Styles may include but be not limited to nine lattice palace Show Styles, four direction Show Styles etc..Wherein, this four
Direction Show Styles can be regarded as cross-type pattern.
As a kind of example, the specific implementation process of the above-mentioned Show Styles according to corresponding to determining the number of the first menu item
It may include:When the number of the first menu item is more than first threshold and is less than or equal to Second Threshold, determine described corresponding aobvious
Sample formula is four direction Show Styles;When the number of the first menu item is more than Second Threshold and is less than or equal to three threshold values,
Determine that the corresponding Show Styles is nine lattice palace Show Styles.Wherein, in this example, Second Threshold 4, the 3rd threshold value are
8;Or Second Threshold 5, the 3rd threshold value are 9.In addition, the first threshold can be 1.
For example, so that first threshold is 1, Second Threshold 4, the 3rd threshold value are 8 as an example, when the number of the first menu item is 2
When, because the number of first menu item is more than first threshold and is less than Second Threshold, then it can determine that the corresponding display sample
Formula is four direction Show Styles, as shown in Fig. 3 (a), it is shown that there is the first order menu of 2 the first menu items, wherein, this
The upper and lower that one menu item is respectively disposed in four direction Show Styles is upward;When the number of the first menu item is 3, by
It is more than first threshold in the number of first menu item and is less than Second Threshold, then can determine that the corresponding Show Styles is four
Direction Show Styles, as shown in Fig. 3 (b), it is shown that there is the first order menu of 3 the first menu items, wherein, first menu
Item is respectively disposed in the upper and lower, left direction in four direction Show Styles;When the number of the first menu item is 4, it may be determined that
Show Styles corresponding to described is four direction Show Styles, as shown in Fig. 3 (c), it is shown that has the first of 4 the first menu items
Level menu, wherein, first menu item is respectively disposed on the upper and lower, left and right direction in four direction Show Styles.
And for example, so that first threshold is 1, Second Threshold 4, the 3rd threshold value are 8 as an example, when the number of the first menu item is 5
When, because the number of first menu item is more than Second Threshold and is less than the 3rd threshold value, then it can determine that the corresponding display sample
Formula is nine lattice palace Show Styles, as shown in Fig. 3 (d), it is shown that has the first order menu of 5 the first menu items;When the first dish
When the number of individual event is 8, because the number of first menu item is more than Second Threshold and is equal to the 3rd threshold value, then it can determine that described
Corresponding Show Styles is nine lattice palace Show Styles, as shown in Fig. 3 (e), it is shown that has the first order dish of 8 the first menu items
It is single.It should be noted that the number of above-mentioned first menu item those skilled in the art's the understanding of the present invention merely for convenience
And a kind of example provided, it is impossible to as the specific restriction to the present invention.
S230, multiple first menu items are shown according to the corresponding Show Styles.
Corresponding to being determined according to the number of the first menu item after Show Styles, can by the plurality of first menu item according to
Corresponding Show Styles is shown.That is, the plurality of first menu item can be included in the corresponding Show Styles
In relevant position.For example, it is assumed that the first order menu got has 4 the first menu items, then can determine that described corresponding
Show Styles is four direction Show Styles, and 4 first menu items is shown according to the four directions Show Styles, is such as schemed
Shown in 3 (c);And for example, it is assumed that the first order menu got has 8 the first menu items, then can determine that the corresponding display
Pattern is nine lattice palace Show Styles, and 8 first menu items is shown according to the nine lattice palace Show Styles, such as Fig. 3 (e)
It is shown.
It should be noted that the first menu item in first order menu may be in that can click on state and Fei Ke click states,
Wherein, this can click on state and can be regarded as can clicking on mouse according to user come the operation corresponding to realizing first menu item,
This is non-when clicking on state and can be regarded as user mouse is put on first menu item and clicked on, will not be according to the click
Operate to realize the operation corresponding to first menu item, as one kind, the non-state of clicking on can be presented by grey.
As a kind of example, first menu item for can click on state or it is non-click on state, can be by the trigger action
In whether determine containing selected content information.That is, monitor user in current interface input pin to upper
Hereafter during the trigger action of menu, it can determine whether the trigger action includes and choose the content in the current interface to believe
Breath, if so, can then be determined according to the content information in first menu item that can click on state and in non-state of clicking on
First menu item.For example, so that the menu display method of the embodiment of the present invention is applied in word processing Word application programs as an example,
If user have selected passage in copy editor's page in the Word application programs, and click the right button of mouse,
Multiple first menu items in the first order menu item can be then shown, wherein, " shearing ", " duplication " in first menu item etc.
It is in that state can be clicked on;If non-selected any word in copy editor's page of the user in the Word application programs, and
It is the right button for having clicked directly on mouse, then shows multiple first menu items in the first order menu item, wherein, first menu
" shearing ", " duplication " etc. in are in non-clicking on state.
Alternatively, in one embodiment of the invention, by multiple first menu items according to the corresponding display sample
When formula is shown, the mode of icon also can be used to do Visualization.That is, menu item can be used to the side of icon
Formula carries out Visualization, so as to beautify the display effect of menu.
As a kind of example, when monitoring that mouse passes through the icon of the first menu item, the icon can be with onhover's
Effect, i.e., when mouse passes through the icon, the onhover effects, which can represent that the icon is in, can click on state, while can
The description explanation for indicating to operate possessed by the first menu item corresponding to the icon is ejected, to prompt user's first menu
Which kind of operating function item has.
Menu display method according to embodiments of the present invention, monitor user in current interface input pin to context
During the trigger action of menu, multiple first menu items in first order menu are obtained, and determine according to the number of the first menu item
Corresponding Show Styles, and the multiple first menu item is shown according to the corresponding Show Styles, i.e., according to
The number of one menu item determines the Show Styles of menu, such as nine grids styles menu or four direction Show Styles, enriches
The diversity that menu is shown, improve the utilization rate of page space, and nine grids styles menu or four direction Show Styles etc.
Show Styles algorithm when handling mouse action is simpler, and cost of implementation is low, and system power dissipation is low, while can better adapt to
The use habit of touch-screen, improves Consumer's Experience.
In order to lift Consumer's Experience, further, in one embodiment of the invention, pressed by multiple first menu items
After being shown according to corresponding Show Styles, the menu display method may also include:Monitoring user from multiple first dishes
When at least one menu item is selected in individual event, judge whether selected at least one menu item has Level-2 menu, if so,
The lateral direction for then prolonging selected at least one menu item region shows the second of selected at least one menu item
Level menu, wherein, multiple second menu items are included in Level-2 menu.Wherein, the operation of the selection can be that user uses
Mouse can also be user using the key up and down on keyboard come the operation that carries out the operation that carries out.
For example, when monitoring that user selects a menu item from multiple first menu items, the quilt can first be judged
Whether the first menu item chosen has Level-2 menu, i.e., whether the first selected menu item has next stage menu, if
Have, then the lateral direction for prolonging the first selected menu item region shows the second level of the first selected menu item
Menu, wherein, multiple second menu items are included in Level-2 menu.For example, so that Show Styles is nine lattice palace Show Styles as an example,
As shown in Fig. 4 (a), when monitoring that user selects the first menu item 2 from multiple first menu items, first menu can determine whether
Whether 2 have Level-2 menu, i.e., whether the first selected menu item has next stage menu, if so, then prolong this first
The lateral direction of the region of menu item 2 shows the Level-2 menu of first menu item 2.
And for example, so that Show Styles is nine lattice palace Show Styles as an example, as shown in Fig. 4 (b), when monitoring user from multiple the
In one menu item when simultaneous selection the first menu item 2, the first menu item 4, the first menu item 6, the first menu item 8, this can determine whether
Whether the first menu item 2, the first menu item 4, the first menu item 6, the first menu item 8 have Level-2 menu, i.e., this is selected
The first menu item whether have next stage menu, if so, then prolong first menu item 2, the first menu item 4, the first menu item 6,
The lateral direction of the region of first menu item 8 shows first menu item 2, the first menu item 4, the first menu item 6, the first dish
The Level-2 menu of individual event 8.
Shown it should be noted that the Show Styles of the Level-2 menu can be list type, can also be that net like shows
Show.For example, as shown in Fig. 4 (a), the second menu item in the Level-2 menu of first menu item 2 is shown with list type;Again
Such as, as shown in Fig. 4 (c), the second menu item in the Level-2 menu of first menu item 2 is shown with net like.
It is appreciated that for the Level-2 menu expansion of four direction Show Styles, the with nine lattice palace Show Styles
The deployment algorithm of second-level menu is substantially similar, and it can be found in retouching for the deployment algorithm of the Level-2 menu of nine lattice palace Show Styles
State, will not be repeated here.
Fig. 5 is the flow chart according to the menu display method of a specific embodiment of the invention.
In order to lift Consumer's Experience, system power dissipation is reduced, and beautifies the Show Styles of menu, in embodiments of the invention
In, the first menu item with Level-2 menu can be included in the predeterminable area of the Show Styles, for example, can be displayed in
Region in nine grids corresponding to the center on side, so, when showing Level-2 menu, the direction of second-level menu extension is only
There is one, reduce the power consumption of system algorithm.
As shown in figure 5, the menu display method can include:
S510, when monitoring user in trigger action of the input pin in current interface to context menu, obtain first
Multiple first menu items in level menu.
As a kind of example, it may be determined that trigger action content information corresponding in current interface, and according to institute
First order menu corresponding to content information generation is stated, wherein, the first order menu includes multiple first menu items.
S520, the Show Styles according to corresponding to determining the number of the first menu item.
The difference of the number of first menu item, determine that the Show Styles of menu also can be different.Wherein, the one of the present invention
In individual embodiment, the Show Styles may include but be not limited to nine lattice palace Show Styles, four direction Show Styles etc..Wherein, this four
Direction Show Styles can be regarded as cross-type pattern.
As a kind of example, the specific implementation process of the above-mentioned Show Styles according to corresponding to determining the number of the first menu item
It may include:When the number of the first menu item is more than first threshold and is less than or equal to Second Threshold, it is determined that corresponding display sample
Formula is four direction Show Styles;When the number of the first menu item is more than Second Threshold and is less than or equal to three threshold values, it is determined that
Corresponding Show Styles is nine lattice palace Show Styles.Wherein, Second Threshold 4, the 3rd threshold value are 8;Or Second Threshold 5,
3rd threshold value is 9.
S530, multiple first menu items are shown according to corresponding Show Styles.
Alternatively, in an embodiment of the present invention, it may be determined that there is the first menu item of Level-2 menu, and described right
The predeterminable area for the Show Styles answered shows the first menu item with Level-2 menu, and other in the Show Styles
Region shows other menu items in the multiple first menu item.As a kind of example, when Show Styles is that nine grids are shown
During pattern, above-mentioned predeterminable area is used to indicate the region in nine grids corresponding to the center on side;When Show Styles is four directions
During to Show Styles, above-mentioned predeterminable area is used to indicate region corresponding to four direction positions.
That is, after Show Styles corresponding to being determined according to the number of the first menu item, can first determine the plurality of
Which the first menu item has next stage menu in first menu item, and these determinations are had into the menu item of next stage menu first
The predeterminable area of the Show Styles is shown in, wherein, when Show Styles is nine grids Show Styles, the predeterminable area is used
In indicating the region in nine grids corresponding to the center on side;It is described default when Show Styles is four direction Show Styles
Region is used to indicate region corresponding to four direction positions.For example, as shown in Fig. 4 (a), the predeterminable area can be the first dish
Region where individual event 2, the first menu item 4, the first menu item 6 and the first menu item 8;As shown in Fig. 3 (c), the preset areas
Domain can be the region where the first menu item 1, the first menu item 2, the first menu item 3 and the first menu item 4.
S540, when monitoring that user selects at least one menu item from multiple first menu items, judge selected
Whether at least one menu item has Level-2 menu.
S550, it is selected extremely if so, the lateral direction for then prolonging selected at least one menu item region is shown
The Level-2 menu of a few menu item, wherein, multiple second menu items are included in Level-2 menu.
Menu display method according to embodiments of the present invention, the first menu item with Level-2 menu can be included in institute
In the predeterminable area for stating Show Styles, so, when showing Level-2 menu, the direction of second-level menu extension only has one, drop
The low power consumption of system algorithm, and beautify the Show Styles of menu, improve Consumer's Experience.
Corresponding with the menu display method that above-mentioned several embodiments provide, a kind of embodiment of the invention also provides one kind
Manu displaying device, because the menu that manu displaying device provided in an embodiment of the present invention provides with above-mentioned several embodiments is shown
Method is corresponding, thus preceding menu display methods embodiment be also applied for the present embodiment offer menu show dress
Put, be not described in detail in the present embodiment.Fig. 6 is the structural representation of manu displaying device according to an embodiment of the invention
Figure.As shown in fig. 6, the manu displaying device can include:Acquisition module 610, determining module 620 and display module 630.
Specifically, acquisition module 610 is used to monitor that user's input pin in current interface touches context menu
During hair operation, multiple first menu items in first order menu are obtained.As a kind of example, as shown in fig. 7, the acquisition module
610 may include determining unit 611 and generation unit 612.Wherein it is determined that unit 611 is used to determine trigger action in current interface
In corresponding content information.Generation unit 612 is used for the first order menu according to corresponding to generating content information, wherein, first
Level menu includes multiple first menu items.
Determining module 620 is used for the Show Styles according to corresponding to determining the number of the first menu item.As a kind of example, show
Sample formula may include but be not limited to nine lattice palace Show Styles, four direction Show Styles etc..Wherein, in this example, the determination mould
Block 620 determines the corresponding display when the number of the first menu item is more than first threshold and is less than or equal to Second Threshold
Pattern is four direction Show Styles, and when the number of the first menu item is more than Second Threshold and is less than or equal to three threshold values,
Determine that the corresponding Show Styles is nine lattice palace Show Styles.Wherein, in an embodiment of the present invention, the Second Threshold is 4,
3rd threshold value is 8;Or Second Threshold 5, the 3rd threshold value are 9.
Display module 630 is used to be shown multiple first menu items according to corresponding Show Styles.
In order to lift Consumer's Experience, further, in one embodiment of the invention, as shown in figure 8, the menu is shown
Device may also include:Judge module 640.Wherein, judge module 640 can be used for multiple first menu items in display module 630
After being shown according to corresponding Show Styles, at least one menu is selected monitoring user from multiple first menu items
Xiang Shi, judges whether selected at least one menu item has Level-2 menu.Wherein, in an embodiment of the present invention, show
Show that module 630 can be additionally used in:When selected at least one menu item has Level-2 menu, prolong selected at least one
The lateral direction of menu item region shows the Level-2 menu of selected at least one menu item, wherein, second level dish
Multiple second menu items are included in list.
Wherein, in an embodiment of the present invention, as shown in figure 9, the display module 630 may include:Determining unit 631 and aobvious
Show unit 632.Wherein it is determined that unit 631 is used to determine the first menu item with Level-2 menu.Display unit 632 is used for
First menu item with Level-2 menu is shown in the predeterminable area of the corresponding Show Styles, and in the display
Other regions in pattern show other menu items in the multiple first menu item.
As a kind of example, when the Show Styles is nine grids Show Styles, the predeterminable area is used to indicate institute
State the region corresponding to the center on side in nine grids;It is described default when the Show Styles is four direction Show Styles
Region is used to indicate region corresponding to the position of four direction.
Manu displaying device according to embodiments of the present invention, it can monitor user in current interface by acquisition module
When input pin is to the trigger action of context menu, obtain multiple first menu items in first order menu, determining module according to
Show Styles corresponding to the number determination of first menu item, display module is by the multiple first menu item according to described corresponding
Show Styles is shown, i.e., the Show Styles of menu is determined according to the number of the first menu item, such as nine grids styles menu
Or four direction Show Styles etc., the diversity that menu is shown is enriched, improves the utilization rate of page space, and nine grids sample
The Show Styles such as formula menu or four direction Show Styles algorithm when handling mouse action is simpler, and cost of implementation is low, system
It is low in energy consumption, while the use habit of touch-screen can be better adapted to, improve Consumer's Experience.
In order to realize above-described embodiment, the invention also provides a kind of terminal device.
Figure 10 is the structural representation of terminal device according to an embodiment of the invention.As shown in Figure 10, the terminal is set
Standby 100 can include:Memory 101, processor 102 and it is stored in the meter that can be run on memory 101 and on the processor 102
Calculation machine program 103, when the processor 102 performs described program 103, realize the dish described in any of the above-described individual embodiment of the present invention
Single display methods.
In order to realize above-described embodiment, the invention also provides a kind of non-transitorycomputer readable storage medium, thereon
Computer program is stored with, realizes that the menu described in any of the above-described individual embodiment of the present invention shows when described program is executed by processor
Show method.
In the description of the invention, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ",
" thickness ", " on ", " under ", "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outer ", " up time
The orientation or position relationship of the instruction such as pin ", " counterclockwise ", " axial direction ", " radial direction ", " circumference " be based on orientation shown in the drawings or
Position relationship, it is for only for ease of and describes the present invention and simplify description, rather than indicates or imply that signified device or element must
There must be specific orientation, with specific azimuth configuration and operation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three
It is individual etc., unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office
Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area
Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification
Close and combine.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries
Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (14)
1. a kind of menu display method, it is characterised in that comprise the following steps:
When monitoring user in trigger action of the input pin in current interface to context menu, obtain in first order menu
Multiple first menu items;
The Show Styles according to corresponding to determining the number of first menu item;
The multiple first menu item is shown according to the corresponding Show Styles.
2. menu display method as claimed in claim 1, it is characterised in that multiple first in the acquisition first order menu
Menu item, including:
Determine trigger action content information corresponding in the current interface;
According to first order menu corresponding to content information generation, wherein, the first order menu includes multiple first menus
.
3. menu display method as claimed in claim 1, it is characterised in that the Show Styles includes nine lattice palaces and shows sample
Formula, four direction Show Styles;Wherein, the Show Styles according to corresponding to determining the number of the first menu item, including:
When the number of first menu item is more than first threshold and is less than or equal to Second Threshold, determine described corresponding aobvious
Sample formula is four direction Show Styles;
When the number of first menu item is more than the Second Threshold and is less than or equal to three threshold values, the correspondence is determined
Show Styles be nine lattice palace Show Styles;
Wherein, the Second Threshold is 4, and the 3rd threshold value is 8;Or the Second Threshold is 5, the 3rd threshold value is
9。
4. menu display method as claimed in claim 1, it is characterised in that by the multiple first menu item according to described
After corresponding Show Styles is shown, methods described also includes:
When monitoring that the user selects at least one menu item from the multiple first menu item, judge it is selected extremely
Whether a few menu item has Level-2 menu;
If so, the lateral direction for then prolonging selected at least one menu item region show it is described it is selected at least
The Level-2 menu of one menu item, wherein, multiple second menu items are included in the Level-2 menu.
5. menu display method as claimed in claim 4, it is characterised in that it is described by multiple first menu items according to described right
The Show Styles answered shown, including:
It is determined that the first menu item with Level-2 menu;
First menu item with Level-2 menu is shown in the predeterminable area of the corresponding Show Styles, and described
Other regions in Show Styles show other menu items in the multiple first menu item.
6. menu display method as claimed in claim 5, it is characterised in that
When the Show Styles is nine grids Show Styles, the predeterminable area is used for the center for indicating side in the nine grids
Region corresponding to position;
When the Show Styles is four direction Show Styles, the predeterminable area is used to indicate four direction position pair
The region answered.
A kind of 7. manu displaying device, it is characterised in that including:
Acquisition module, for when monitoring user in trigger action of the input pin in current interface to context menu, obtaining
Multiple first menu items in first order menu;
Determining module, for the Show Styles according to corresponding to the determination of the number of first menu item;
Display module, for the multiple first menu item to be shown according to the corresponding Show Styles.
8. manu displaying device as claimed in claim 7, it is characterised in that the acquisition module includes:
Determining unit, the content information corresponding in the current interface for determining the trigger action;
Generation unit, for the first order menu according to corresponding to content information generation, wherein, the first order menu includes
Multiple first menu items.
9. manu displaying device as claimed in claim 7, it is characterised in that the Show Styles includes nine lattice palaces and shows sample
Formula, four direction Show Styles;Wherein, the determining module is specifically used for:
When the number of first menu item is more than first threshold and is less than or equal to Second Threshold, determine described corresponding aobvious
Sample formula is four direction Show Styles;
When the number of first menu item is more than the Second Threshold and is less than or equal to three threshold values, the correspondence is determined
Show Styles be nine lattice palace Show Styles;
Wherein, the Second Threshold is 4, and the 3rd threshold value is 8;Or the Second Threshold is 5, the 3rd threshold value is
9。
10. manu displaying device as claimed in claim 7, it is characterised in that also include:
Judge module, for carrying out the multiple first menu item according to the corresponding Show Styles in the display module
After display, when monitoring that the user selects at least one menu item from the multiple first menu item, judge selected
In at least one menu item whether there is Level-2 menu;
Wherein, the display module is additionally operable to:When selected at least one menu item has Level-2 menu, prolong the quilt
The lateral direction at least one menu item region chosen shows the second level of selected at least one menu item
Menu, wherein, multiple second menu items are included in the Level-2 menu.
11. manu displaying device as claimed in claim 10, it is characterised in that the display module includes:
Determining unit, for determining the first menu item with Level-2 menu;
Display unit, for showing first dish with Level-2 menu in the predeterminable area of the corresponding Show Styles
Individual event, and other regions in the Show Styles show other menu items in the multiple first menu item.
12. manu displaying device as claimed in claim 11, it is characterised in that
When the Show Styles is nine grids Show Styles, the predeterminable area is used for the center for indicating side in the nine grids
Region corresponding to position;
When the Show Styles is four direction Show Styles, the predeterminable area is used to indicate four direction position pair
The region answered.
13. a kind of terminal device, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, it is characterised in that during the computing device described program, realize the dish as any one of claim 1 to 6
Single display methods.
14. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the journey
The menu display method as any one of claim 1 to 6 is realized when sequence is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710737729.0A CN107491248A (en) | 2017-08-24 | 2017-08-24 | Menu display method, device, terminal device and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710737729.0A CN107491248A (en) | 2017-08-24 | 2017-08-24 | Menu display method, device, terminal device and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107491248A true CN107491248A (en) | 2017-12-19 |
Family
ID=60646668
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710737729.0A Withdrawn CN107491248A (en) | 2017-08-24 | 2017-08-24 | Menu display method, device, terminal device and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107491248A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110308841A (en) * | 2019-06-14 | 2019-10-08 | 广州世峰数字科技有限公司 | A kind of VR menu displaying method and system |
CN110716905A (en) * | 2019-10-16 | 2020-01-21 | 同辉佳视(北京)信息技术股份有限公司 | Menu generation method and device, storage medium and electronic equipment |
CN112433656A (en) * | 2020-10-28 | 2021-03-02 | 福建星网视易信息系统有限公司 | Interface dynamic display method and equipment |
CN113396381A (en) * | 2019-02-08 | 2021-09-14 | 株式会社工程师论坛 | Tree information providing device and program product for providing tree information |
CN114579009A (en) * | 2020-11-30 | 2022-06-03 | 中移(苏州)软件技术有限公司 | Method, device, equipment and storage medium for triggering menu items |
CN114981769A (en) * | 2021-08-30 | 2022-08-30 | 武汉联影医疗科技有限公司 | Information display method and device, medical equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551733A (en) * | 2009-05-15 | 2009-10-07 | 宇龙计算机通信科技(深圳)有限公司 | Cooperating interface display method, system and mobile communication terminal |
CN101840305A (en) * | 2010-05-18 | 2010-09-22 | 华为终端有限公司 | Display method of user graphical interface and terminal equipment |
CN102291548A (en) * | 2004-04-06 | 2011-12-21 | Lg电子株式会社 | Method for improved menu search and selection |
CN103049176A (en) * | 2013-01-22 | 2013-04-17 | 网神信息技术(北京)股份有限公司 | Method and device for displaying menus |
CN103150158A (en) * | 2013-01-15 | 2013-06-12 | 由芳 | Method for generating case dynamic variety menu |
-
2017
- 2017-08-24 CN CN201710737729.0A patent/CN107491248A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291548A (en) * | 2004-04-06 | 2011-12-21 | Lg电子株式会社 | Method for improved menu search and selection |
CN101551733A (en) * | 2009-05-15 | 2009-10-07 | 宇龙计算机通信科技(深圳)有限公司 | Cooperating interface display method, system and mobile communication terminal |
CN101840305A (en) * | 2010-05-18 | 2010-09-22 | 华为终端有限公司 | Display method of user graphical interface and terminal equipment |
CN103150158A (en) * | 2013-01-15 | 2013-06-12 | 由芳 | Method for generating case dynamic variety menu |
CN103049176A (en) * | 2013-01-22 | 2013-04-17 | 网神信息技术(北京)股份有限公司 | Method and device for displaying menus |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113396381A (en) * | 2019-02-08 | 2021-09-14 | 株式会社工程师论坛 | Tree information providing device and program product for providing tree information |
CN113396381B (en) * | 2019-02-08 | 2023-11-28 | 株式会社工程师论坛 | Tree information providing device and storage medium |
CN110308841A (en) * | 2019-06-14 | 2019-10-08 | 广州世峰数字科技有限公司 | A kind of VR menu displaying method and system |
CN110716905A (en) * | 2019-10-16 | 2020-01-21 | 同辉佳视(北京)信息技术股份有限公司 | Menu generation method and device, storage medium and electronic equipment |
CN110716905B (en) * | 2019-10-16 | 2022-04-15 | 同辉佳视(北京)信息技术股份有限公司 | Menu generation method and device, storage medium and electronic equipment |
CN112433656A (en) * | 2020-10-28 | 2021-03-02 | 福建星网视易信息系统有限公司 | Interface dynamic display method and equipment |
CN114579009A (en) * | 2020-11-30 | 2022-06-03 | 中移(苏州)软件技术有限公司 | Method, device, equipment and storage medium for triggering menu items |
CN114981769A (en) * | 2021-08-30 | 2022-08-30 | 武汉联影医疗科技有限公司 | Information display method and device, medical equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107491248A (en) | Menu display method, device, terminal device and computer-readable recording medium | |
US10475218B2 (en) | Graph expansion mini-view | |
CN105549889B (en) | System and method for showing screen display menu button | |
CN110377851A (en) | Implementation method, device and the computer equipment of multistage linking combobox | |
CN102915297B (en) | The animation of underlying network lattice structure and table | |
CN108279964A (en) | Text control for character editing and method and device for realizing overlay rendering | |
US20140208203A1 (en) | Key-Frame based Authoring and Generation of Highly Resizable Document Layout | |
CN103761110B (en) | browser font display processing method and device | |
CN104462516B (en) | A kind of information cuing method and mobile terminal | |
CN107122175B (en) | Interface creating method and device | |
CN107066440A (en) | Input control method and system for vertical text | |
CN107517312A (en) | Wallpaper switching method and device and terminal equipment | |
CN107491502A (en) | A kind of method and terminal for selecting entry | |
CN101236558B (en) | Method and device for simulating IM client end interface based on web page | |
CN105959474A (en) | Short message editing method and terminal | |
CN100511137C (en) | Icon generating device, computer readable medium and method for generating icon | |
US10706097B2 (en) | Manipulation of non-linearly connected transmedia content data | |
CN102938157A (en) | Method and system for generating stylized freehand sketching based on circular region B spline curves | |
CN104915102B (en) | The exchange method and device of graphical interfaces | |
CN107239212A (en) | Segmentation selection view rendering method, device and user terminal | |
CN108536501A (en) | A kind of input interface response layout generation method, device and server | |
Quiroz et al. | Interactive evolution of XUL user interfaces | |
CN112905921A (en) | Page content display method and device | |
CN113076160B (en) | Information display method of display interface and related device | |
CN115248891A (en) | Page display method and device, electronic equipment and storage medium |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190903 Address after: 100192 Dongsheng Science Park, Zhongguancun, 66 Xixiaokou Road, Haidian District, Beijing Applicant after: Green Bay Network Technology Co., Ltd. Address before: 100089 Beijing Haidian District Xixiaokou Road 66 Zhongguancun Dongsheng Science Park B-6 Building B 5 floors Applicant before: Grass count language (Beijing) Technology Co., Ltd. |
|
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171219 |