CN104951193B - menu display method and device - Google Patents

menu display method and device Download PDF

Info

Publication number
CN104951193B
CN104951193B CN201510257047.0A CN201510257047A CN104951193B CN 104951193 B CN104951193 B CN 104951193B CN 201510257047 A CN201510257047 A CN 201510257047A CN 104951193 B CN104951193 B CN 104951193B
Authority
CN
China
Prior art keywords
menu
menu item
slip
item
display
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.)
Active
Application number
CN201510257047.0A
Other languages
Chinese (zh)
Other versions
CN104951193A (en
Inventor
张文彬
黎瀚
刘廷基
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510257047.0A priority Critical patent/CN104951193B/en
Publication of CN104951193A publication Critical patent/CN104951193A/en
Application granted granted Critical
Publication of CN104951193B publication Critical patent/CN104951193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of menu display method and devices, belong to field of computer technology.The method includes:Receive the operation signal triggered on the object shown by touch screen;The various menu item corresponding with object is obtained, each menu item, which is used to indicate, acts on one operation of object;The menu item that display at least two is arranged in a linear in the slip menu corresponding to object;In the various menu item shown by menu is slided, the menu interface of menu item is active when all being shown in sliding menu;The menu interface of first menu item and/or the last one menu item in glide direction is limited to slide menu when the side in glide direction partly hides in unactivated state.The present invention solves the problems, such as that the page turning region set in a menu occupies the display area of menu item and the positioning of the arrow in page turning region is not allowed to cause user experience bad, has achieved the effect that save the display area of menu and has promoted user experience.

Description

Menu display method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of menu display method and device.
Background technology
When user needs to operate the message in chat record, can dish be shown come control terminal by the long-press message Single, the menu item that is provided in user's reselection menu operates the message.The menu item that menu provides can include forwarding, answer System, translation, collection etc..
When terminal shows menu, a kind of possible display mode includes:Terminal receives the long-press signal for acting on message, According to long-press signal acquisition the various menu item corresponding with the message, the various menu item is included what is shown in the upside of the message In the rectangular area of menu.It wherein, will be each when the menu item that menu provides can be all simultaneously displayed in rectangular area Menu item is evenly distributed on after being in line in rectangular area;When the menu item that menu provides cannot all be simultaneously displayed on rectangle When in region, extend the page turning region of designated length to the left from the right edge of menu, show to refer in the page turning region Show the arrow of page turning to the right, be evenly distributed on after part menu item is in line in remaining display area, when terminal receives During to the click signal for acting on the arrow, the full content in the rectangular area is hidden, is extended to the right from the left side of menu Go out the page turning region of designated length, the arrow for being used to indicate page turning to the left is shown in the page turning region, remaining menu item is lined up It is evenly distributed on after a line in remaining display area.
Since terminal needs to set page turning region in rectangular area, page turning region can occupy the viewing area of menu Domain, and the arrow in page turning region usually sets smaller, user is not easy to position when clicking the arrow, leads to user experience not It is good.
Invention content
The display area of menu is occupied in order to solve the page turning region set in a menu and to the arrow in page turning region Positioning the problem of being not allowed to cause user experience bad, an embodiment of the present invention provides a kind of menu display method and devices.Institute It is as follows to state technical solution:
In a first aspect, a kind of menu display method is provided, the method includes:
Receive the operation signal triggered on the object shown by touch screen;
The various menu item corresponding with the object is obtained, each menu item, which is used to indicate, acts on described one behaviour of object Make;
The menu item that display at least two is arranged in a linear in the slip menu corresponding to the object;In the slip In the various menu item shown by menu, in activation shape when the menu interface of menu item is all shown in the slip menu State;The menu interface of first menu item and/or the last one menu item in the glide direction is limited to the cunning Dynamic menu is in unactivated state when the side in the glide direction partly hides.
Second aspect, provides a kind of manu displaying device, and described device includes:
Operation signal receiving module, for receiving the operation signal triggered on the object shown by touch screen;
Menu item acquisition module, for obtaining the various menu item corresponding with the object, each menu item is used to indicate Act on described one operation of object;
Menu display module is slided, for the linear row of display at least two in the slip menu corresponding to the object The menu item of row;In the various menu item shown by the slip menu, the menu interface of menu item is in the slip menu It is active during middle all displays;First menu item and/or the last one menu item in the glide direction Menu interface be limited to when the slip menu is hidden in the side in the glide direction and part in unactivated state.
The advantageous effect of technical solution provided in an embodiment of the present invention is:
By receiving the operation signal triggered on the object shown by touch screen;Obtain the various menu corresponding with object , each menu item, which is used to indicate, acts on one operation of object;At least two are shown in the slip menu corresponding to object The menu item being arranged in a linear;In the various menu item shown by menu is slided, the menu interface of menu item is sliding menu It is active during middle all displays;The dish of first menu item and/or the last one menu item in glide direction Single interface is limited to slide menu when the side in glide direction partly hides in unactivated state, can be by cunning The menu item in unactivated state is shown in dynamic menu user to be prompted to slide menu item, is turned over without setting in a menu Page region solves the problems, such as the display area that the page turning region set in a menu occupies menu item, to have reached saving menu Display area effect;Also, due to sliding, there is no page turning regions in menu, do not need to by clicking in page turning region Arrow carrys out page turning, so as to solve the problems, such as that the positioning of the arrow in page turning region is not allowed to cause user experience bad, reaches and carries Rise the effect of user experience.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the method flow diagram of menu display method provided by one embodiment of the present invention;
Fig. 2A is the method flow diagram for the menu display method that another embodiment of the present invention provides;
Fig. 2 B are the first display schematic diagrams of menu provided in an embodiment of the present invention;
Fig. 2 C are second of display schematic diagrams of menu provided in an embodiment of the present invention;
Fig. 3 is the structure diagram of manu displaying device provided by one embodiment of the present invention;
Fig. 4 is the structure diagram for the manu displaying device that yet another embodiment of the invention provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
It please refers to Fig.1, it illustrates the method flow diagram of menu display method provided by one embodiment of the present invention, the dishes Single display methods can be applied in terminal, which can be smart television, smart mobile phone or tablet computer etc..The dish Single display methods, including:
Step 101, the operation signal triggered on the object shown by touch screen is received.
Step 102, the various menu item corresponding with object is obtained, each menu item, which is used to indicate, acts on the object one Operation.
Step 103, the menu item that display at least two is arranged in a linear in the slip menu corresponding to the object;In cunning In the various menu item shown by dynamic menu, the menu interface of menu item is in activation shape when all being shown in sliding menu State;The menu interface of first menu item and/or the last one menu item in glide direction is limited to slip menu and exists Side in glide direction and part are in unactivated state when hiding.
In conclusion menu display method provided in an embodiment of the present invention, by receiving in the object shown by touch screen The operation signal of upper triggering;The various menu item corresponding with object is obtained, each menu item, which is used to indicate, acts on object one Operation;The menu item that display at least two is arranged in a linear in the slip menu corresponding to object;It is sliding shown by menu The various menu item in, the menu interface of menu item is active when all being shown in sliding menu;Positioned at slip side First upward menu item and/or the menu interface of the last one menu item are limited to slide side of the menu in glide direction In unactivated state when side and part hide, can by menu is slided menu item of the display in unactivated state come User is prompted to slide menu item, without setting page turning region in a menu, solves the page turning region set in a menu The problem of occupying the display area of menu item has achieved the effect that save the display area of menu;Also, due to sliding in menu There is no page turning region, do not need to by clicking the arrow in page turning region come page turning, so as to solve to the arrow in page turning region The problem of positioning of head is not allowed to cause user experience bad achievees the effect that promote user experience.
A is please referred to Fig.2, it illustrates the method flow diagrams for the menu display method that another embodiment of the present invention provides, should Menu display method can be applied in terminal, which can be smart television, smart mobile phone or tablet computer etc..It should Menu display method, including:
Step 201, the operation signal triggered on the object shown by touch screen is received.
Object can be passage or picture and text in the message shown in touch screen, object, webpage etc..In one kind In specific application scenarios, object is the session being located in dialog box, and the type of session at this time can be word, picture, audio At least one of with video.Please refer to Fig.2 the first display schematic diagram of the menu shown in B, the type of session is in Fig. 2 B Word, session at this time " you are good " or " what can I help you " can be known as object.
Operation signal can be signal caused by the operation acted on object, for example, click signal, double-click signal, Multi-hit signal, long-press signal etc..
Step 202, the various menu item corresponding with object is obtained, each menu item, which is used to indicate, acts on the object one Operation.
Menu item is used to indicate an operation for acting on the object, for example, menu item can indicate to replicate, forward, receive Hide, recall etc. operation.When user clicks the menu item of duplication, the terminal-pair object is replicated.
Optionally, menu item may be used to indicate that selection index system in the multi-mode operation of object, for example, menu item can refer to Show that multiselect operates.When user clicks the menu item, at least two can be selected to act on from multiple menu items of display The operation of object, the terminal-pair object perform at least two operations.
Since terminal can perform different objects different operations, different objects can be set different Menu item.For example, when object is message, the menu items such as duplication, forwarding, collection, translation can be set;When object is object When, the menu items such as purchase can be set, collect, share.
Optionally, when object is message, different menu items can also be set according to the type of message.For example, when disappearing When breath is word class message, the menu items such as translation can be set;When message is picture category message, picture editor etc. can be set Menu item.
Specifically, terminal can pre-set the correspondence between object and the various menu item, when getting object, Terminal can search the various menu item corresponding with the object in correspondence.
Step 203, the menu item that display at least two is arranged in a linear in the slip menu corresponding to the object;In cunning In the various menu item shown by dynamic menu, the menu interface of menu item is in activation shape when all being shown in sliding menu State;The menu interface of first menu item and/or the last one menu item in glide direction is limited to slip menu and exists Side in glide direction and part are in unactivated state when hiding.
Menu is slided for providing the various menu item that can slide display.It can be arbitrary to slide the display area of menu Shape, such as rectangle, chamfering rectangle, ellipse etc., the present embodiment is not construed as limiting.
Menu item is arranged in a linear in menu is slided, wherein it is possible to be linearly to be arranged in slip dish in any direction Dan Zhong, for example, laterally or longitudinally etc., the present embodiment does not limit specific arrangement mode.
Menu interface is the interface for the content for including menu item.In the present embodiment, it is high that menu interface can include pre- fixed width Rectangular area and the content that is shown in the rectangular area.It optionally, can be each for the ease of distinguishing the various menu item With vertical line into between-line spacing between menu item.Wherein, the height of vertical line is less than or equal to slide the height of menu.
Optionally, terminal can the height based on prior art menu item, in the present embodiment slip menu height Degree is increased, and so as to increase the menu interface of menu item, is clicked convenient for user, to improve the accuracy that user clicks menu.
Please refer to Fig.2 B, by taking " duplication " and " forwarding " as an example, the menu interface of " duplication " be the left side for sliding menu, From the interface of first vertical line of left-hand digit, the composition of side up and down for sliding menu, " forwarding " menu interface is as from left-hand digit the A piece vertical line, second vertical line slide the interface that the side up and down of menu forms.
The menu item that menu interface is all shown in menu is slided is known as the dish being active in the present embodiment " duplication ", " forwarding ", " deletion " and " collection " in individual event, such as Fig. 2 B;Menu interface is limited to slip menu to slide Side on direction and hiding first menu item in part and/or the last one menu item are known as the dish in unactivated state " recalling " in individual event, such as Fig. 2 B.
Wherein, the menu item that display at least two is arranged in a linear in the slip menu corresponding to object, including:
1) it according to the menu length of each menu item, is opened at the position for sliding a side of the menu in glide direction Begin, whole menu interfaces of menu item are arranged in a linear in menu is slided successively;
2) when the residue length for sliding menu is less than the menu length of the m+1 menu item, based on the m+1 menu item Initial position extend back residue length, end position is obtained, by menu circle between initial position and end position Face, which is arranged in, to be slided in menu, and m is positive integer;
3) it is shown corresponding to object and slides menu.
In the present embodiment, the menu length of each menu item may be the same or different.When menu length difference, Menu length can be determined by the length of the content of menu item.
When menu is slided in display, terminal can arrange the various menu item, then show based on initial position in glide direction Show the slip menu after arrangement.Specifically, when initial position is to slide the left side or right edge of menu, B is please referred to Fig.2, " duplication ", " forwarding ", " deletion " and " collection " is arranged in slides in menu successively by terminal, after " collection " has been arranged, slides The residue length of menu is less than the menu length of " recalling ", extends back residue length, is tied from the initial position of " recalling " " removing " between initial position and end position is arranged in and slides in menu by beam position, the slip dish after display arrangement It is single.
Optionally, when initial position is to slide precalculated position in addition to side in menu, terminal is based on the pre-determined bit It puts, according to arranged on both sides menu item of the above-mentioned aligning method along precalculated position.At this time, it is assumed that precalculated position is a vertical line, then First, the left side menu item in precalculated position is likely to be at unactivated state, it is also possible to be active;The right side in precalculated position The last one menu item of side is likely to be at unactivated state, it is also possible to be active.
Specifically, it is shown corresponding to object and slides menu, including:
1) display location of menu is slided based on the location determination where object;
2) the slip menu for being directed toward object is shown on display location.
For the ease of determining to slide the slip menu which object menu is, it can also will slide menu and include in object Around.In a kind of possible realization method, it can first determine to slide the display location of menu, then show on the display location It is directed toward the slip menu for sliding object.B is please referred to Fig.2, terminal includes menu is slided in the top of object, and shows direction pair The triangular arrowheads of elephant.
Optionally, the slip menu for being directed toward object is shown on display location, including:On display location, normally to show Show that effect shows the menu item being active, the menu item in unactivated state is shown with gradual change display effect.
Since the menu item being active is optional, the menu item in unactivated state is non-optional, is Improve the accuracy of menu item that user's selection is active, terminal can also to the menu item that is active or Menu item in unactivated state sets different display effects, is distinguished with showing.For example, to highlight effect display display The menu item being active shows the menu item in unactivated state with normal display effect;Alternatively, with averaging effect It shows the menu item being active, menu item in unactivated state etc. is shown with gradual change display effect.
B is please referred to Fig.2, wherein " duplication ", " forwarding ", " deletion " and " collection " is shown with black font, with grey font It shows " removing ".
Step 204, the slip signals for acting on and sliding menu are received.
In the present embodiment, the menu interface of the menu item in unactivated state is not shown completely, can prompt to use in this way Menu is slided at family, and terminal receives the slip signals for acting on and sliding menu.Since display is in inactive in menu is slided The menu item of state come prompt user slide menu item, without setting page turning region in a menu, solve in a menu The page turning region of setting occupies the problem of display area of menu item, has achieved the effect that save the display area of menu.
User can slide menu item by slip signals, and appointing in menu is slided since slip signals can act on It anticipates position, without by clicking the arrow in page turning region come page turning, so as to solve that the arrow in page turning region is determined The problem of position is not allowed to cause user experience bad achievees the effect that promote user experience.
Step 205, when menu item is under the action of slip signals, become display portion menu from the whole menu interfaces of display During interface, unactivated state is switched to by state of activation.
Second of display schematic diagram of B and menu shown in fig. 2 C is please referred to Fig.2, glide direction is from right to left, at this time First menu item " duplication " in glide direction becomes display portion menu interface " system " from the whole menu interfaces of display, at this time " duplication " is switched to unactivated state by state of activation." system " is shown with grey font in Fig. 2 C, to represent " to replicate " in non- State of activation.
It should be noted that when glide direction is from left to right, first in glide direction menu item " removing " at this time Display portion menu interface always is constantly in unactivated state.
Step 206, when menu item is under the action of slip signals, become showing whole menus from display portion menu interface During interface, state of activation is switched to by unactivated state.
B and Fig. 2 C are please referred to Fig.2, glide direction is from right to left, the last one menu item in glide direction " is removed at this time Return " become showing whole menu interfaces from display portion menu interface " removing ", " recall " at this time be switched to by unactivated state it is sharp State living." recalling " is shown with black font in Fig. 2 C, to represent that " recalling " is active.
It should be noted that when glide direction is from left to right, the last one menu item at this time in glide direction is " multiple System " shows whole menu interfaces always, that is, is constantly in state of activation.
In conclusion menu display method provided in an embodiment of the present invention, by receiving in the object shown by touch screen The operation signal of upper triggering;The various menu item corresponding with object is obtained, each menu item, which is used to indicate, acts on object one Operation;The menu item that display at least two is arranged in a linear in the slip menu corresponding to object;It is sliding shown by menu The various menu item in, the menu interface of menu item is active when all being shown in sliding menu;Positioned at slip side First upward menu item and/or the menu interface of the last one menu item are limited to slide side of the menu in glide direction In unactivated state when side and part hide, can by menu is slided menu item of the display in unactivated state come User is prompted to slide menu item, without setting page turning region in a menu, solves the page turning region set in a menu The problem of occupying the display area of menu item has achieved the effect that save the display area of menu;Also, due to sliding in menu There is no page turning region, do not need to by clicking the arrow in page turning region come page turning, so as to solve to the arrow in page turning region The problem of positioning of head is not allowed to cause user experience bad achievees the effect that promote user experience.
In addition, by showing the menu item being active with normal display effect, at gradual change display effect display In the menu item of unactivated state, in order to user to the menu item that is active and the menu item in unactivated state It distinguishes, so as to improve the accuracy of menu item that user's selection is active.
It please refers to Fig.3, it illustrates the structure diagram of manu displaying device provided by one embodiment of the present invention, the menus Display device can be applied in terminal, which can be smart television, smart mobile phone or tablet computer etc..The menu Display device, including:
Operation signal receiving module 310, for receiving the operation signal triggered on the object shown by touch screen;
Menu item acquisition module 320, for obtaining the various menu item corresponding with object, each menu item is used to indicate work For one operation of object;
Menu display module 330 is slided, for the linear row of display at least two in the slip menu corresponding to object The menu item of row;In the various menu item shown by menu is slided, the menu interface of menu item is all shown in menu is slided It is active when showing;The menu interface of first menu item and/or the last one menu item in glide direction by It is limited to slide menu when the side in glide direction partly hides in unactivated state.
In conclusion manu displaying device provided in an embodiment of the present invention, by receiving in the object shown by touch screen The operation signal of upper triggering;The various menu item corresponding with object is obtained, each menu item, which is used to indicate, acts on object one Operation;The menu item that display at least two is arranged in a linear in the slip menu corresponding to object;It is sliding shown by menu The various menu item in, the menu interface of menu item is active when all being shown in sliding menu;Positioned at slip side First upward menu item and/or the menu interface of the last one menu item are limited to slide side of the menu in glide direction In unactivated state when side and part hide, can by menu is slided menu item of the display in unactivated state come User is prompted to slide menu item, without setting page turning region in a menu, solves the page turning region set in a menu The problem of occupying the display area of menu item has achieved the effect that save the display area of menu;Also, due to sliding in menu There is no page turning region, do not need to by clicking the arrow in page turning region come page turning, so as to solve to the arrow in page turning region The problem of positioning of head is not allowed to cause user experience bad achievees the effect that promote user experience.
It please refers to Fig.4, it illustrates the structure diagram for the manu displaying device that yet another embodiment of the invention provides, the menus Display device can be applied in terminal, which can be smart television, smart mobile phone or tablet computer etc..The menu Display device, including:Operation signal receiving module 410, menu item acquisition module 420 and slip menu display module 430.
Operation signal receiving module 410, for receiving the operation signal triggered on the object shown by touch screen;
Menu item acquisition module 420, for obtaining the various menu item corresponding with object, each menu item is used to indicate work For one operation of object;
Menu display module 430 is slided, for the linear row of display at least two in the slip menu corresponding to object The menu item of row;In the various menu item shown by menu is slided, the menu interface of menu item is all shown in menu is slided It is active when showing;The menu interface of first menu item and/or the last one menu item in glide direction by It is limited to slide menu when the side in glide direction partly hides in unactivated state.
Optionally, device provided in this embodiment, further includes:
Slip signals receiving module 440, for sliding menu display module 430 in the slip menu corresponding to object After the menu item that display at least two is arranged in a linear, the slip signals for acting on and sliding menu are received;
First sliding block 450, for working as the effect for the slip signals that menu item is received in slip signals receiving module 440 Under, when becoming display portion menu interface from the whole menu interfaces of display, unactivated state is switched to by state of activation;
Second sliding block 460, for working as the effect for the slip signals that menu item is received in slip signals receiving module 440 Under, when becoming showing whole menu interfaces from display portion menu interface, state of activation is switched to by unactivated state.
Optionally, menu display module 430 is slided, including:
First order unit 431, for according to the menu length of each menu item, from sliding menu in glide direction Start at the position of one side, whole menu interfaces of menu item are arranged in a linear in menu is slided successively;
Second order unit 432, for being less than the menu length of the m+1 menu item when the residue length for sliding menu When, the initial position based on the m+1 menu item extends back residue length, obtains end position, will be located at initial position and Menu interface between end position, which is arranged in, to be slided in menu, and m is positive integer;
Menu display unit 433 slides menu for corresponding to object display.
Optionally, menu display unit 433 are additionally operable to:
The display location of menu is slided based on the location determination where object;
The slip menu for being directed toward object is shown on display location.
Optionally, menu display unit 433, specifically on display location, being shown with normal display effect in sharp The menu item of state living shows the menu item in unactivated state with gradual change display effect.
Optionally, object is the session being located in dialog box.
In conclusion manu displaying device provided in an embodiment of the present invention, by receiving in the object shown by touch screen The operation signal of upper triggering;The various menu item corresponding with object is obtained, each menu item, which is used to indicate, acts on object one Operation;The menu item that display at least two is arranged in a linear in the slip menu corresponding to object;It is sliding shown by menu The various menu item in, the menu interface of menu item is active when all being shown in sliding menu;Positioned at slip side First upward menu item and/or the menu interface of the last one menu item are limited to slide side of the menu in glide direction In unactivated state when side and part hide, can by menu is slided menu item of the display in unactivated state come User is prompted to slide menu item, without setting page turning region in a menu, solves the page turning region set in a menu The problem of occupying the display area of menu item has achieved the effect that save the display area of menu;Also, due to sliding in menu There is no page turning region, do not need to by clicking the arrow in page turning region come page turning, so as to solve to the arrow in page turning region The problem of positioning of head is not allowed to cause user experience bad achievees the effect that promote user experience.
In addition, by showing the menu item being active with normal display effect, at gradual change display effect display In the menu item of unactivated state, in order to user to the menu item that is active and the menu item in unactivated state It distinguishes, so as to improve the accuracy of menu item that user's selection is active.
It should be noted that:The manu displaying device that above-described embodiment provides is when carrying out menu display, only with above-mentioned each The division progress of function module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application Energy module is completed, i.e., the internal structure of manu displaying device is divided into different function modules, described above complete to complete Portion or partial function.In addition, the manu displaying device that above-described embodiment provides belongs to same with menu display method embodiment Design, specific implementation process refer to embodiment of the method, and which is not described herein again.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of menu display method, which is characterized in that the method includes:
The operation signal triggered on the object shown by touch screen is received, the object is the session being located in dialog box;
Obtain corresponding with object the various menu item in correspondence, each menu item be used to indicate act on it is described right An operation for elephant, the correspondence is for lookup the various menu item corresponding with the object;
According to the menu length of each menu item, since at the position for sliding a side of the menu in glide direction, according to Secondary that whole menu interfaces of menu item are arranged in a linear in the slip menu, the slip menu can be slided for providing The various menu item of dynamic display;When the residue length for sliding menu is less than the menu length of the m+1 menu item, it is based on The initial position of the m+1 menu item extends back the residue length, obtains end position, will be located at the start bit It puts the menu interface between the end position to be arranged in the slip menu, m is positive integer;It is shown corresponding to the object Show the slip menu;The slip menu is directed toward the object, and the display location for sliding menu is based on described right As the location determination at place;In the various menu item shown by the slip menu, the menu interface of menu item is described It slides and is active when all being shown in menu;First menu item in the glide direction and/or last The menu interface of a menu item is limited to the slip menu when the side in the glide direction partly hides in non- State of activation, the menu interface include a high rectangular area of pre- fixed width and the content shown in the rectangular area;
It receives and acts on the slip signals for sliding menu, at least two menu items arranged in menu that slide are with institute The sliding trace for stating slip signals slides, and the menu item shown is made to fade away, not shown menu item is gradually shown.
2. according to the method described in claim 1, it is characterized in that, described act on the slip letter for sliding menu in reception After number, further include:
When the menu item is under the action of the slip signals, become display portion menu interface from the whole menu interfaces of display When, the unactivated state is switched to by the state of activation;
When the menu item is under the action of the slip signals, become showing whole menu interfaces from display portion menu interface When, state of activation is switched to by unactivated state.
3. according to the method described in claim 1, it is characterized in that, the method, further includes:
On the display location, the menu item being active is shown with normal display effect, is shown with gradual change display effect Show the menu item in unactivated state.
4. a kind of manu displaying device, which is characterized in that described device includes:
Operation signal receiving module, for receiving the operation signal triggered on the object shown by touch screen, the object is Session in dialog box;
Menu item acquisition module, for obtaining the various menu item corresponding with the object, each menu item in correspondence An operation for acting on the object is used to indicate, the correspondence is for lookup the various menu corresponding with the object ;
Menu display module is slided to include:First order unit, second order unit and menu display unit;
The first order unit, for according to the menu length of each menu item, from sliding one of menu in glide direction Start at the position of side, whole menu interfaces of menu item are arranged in a linear in the slip menu successively, it is described Menu is slided for providing the various menu item that can slide display;
The second order unit, for working as the menu length that the residue length for sliding menu is less than the m+1 menu item When, the initial position based on the m+1 menu item extends back the residue length, obtains end position, will be located at institute It states the menu interface between initial position and the end position to be arranged in the slip menu, m is positive integer;
The menu display unit shows the slip menu for corresponding to the object;Described in the slip menu is directed toward Object, and the display location for sliding menu is based on the location determination where the object;In the slip menu institute In the various menu item of display, the menu interface of menu item is active when all being shown in the slip menu;Position The slip menu is limited in first menu item in the glide direction and/or the menu interface of the last one menu item When the side in the glide direction partly hides in unactivated state, the menu interface includes high one of pre- fixed width A rectangular area and the content shown in the rectangular area;
Slip signals receiving module acts on the slip signals for sliding menu for receiving, is arranged in the slip menu At least two menu items with the slip signals sliding trace slide, the menu item shown is made to fade away, is not shown The menu item shown is gradually shown.
5. device according to claim 4, which is characterized in that described device further includes:
First sliding block, for the slip signals receiving module reception act on it is described slide menu slip signals it Afterwards, under the action of the slip signals that the menu item is received in the slip signals receiving module, by the whole dishes of display When single interface becomes display portion menu interface, the unactivated state is switched to by the state of activation;
Second sliding block, for the slip signals receiving module reception act on it is described slide menu slip signals it Afterwards, under the action of the slip signals that the menu item is received in the slip signals receiving module, by display portion dish When single interface becomes showing whole menu interfaces, state of activation is switched to by unactivated state.
6. device according to claim 4, which is characterized in that the menu display unit, specifically in the display On position, the menu item being active is shown with normal display effect, is shown with gradual change display effect in inactive shape The menu item of state.
CN201510257047.0A 2015-05-19 2015-05-19 menu display method and device Active CN104951193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510257047.0A CN104951193B (en) 2015-05-19 2015-05-19 menu display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510257047.0A CN104951193B (en) 2015-05-19 2015-05-19 menu display method and device

Publications (2)

Publication Number Publication Date
CN104951193A CN104951193A (en) 2015-09-30
CN104951193B true CN104951193B (en) 2018-07-10

Family

ID=54165877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510257047.0A Active CN104951193B (en) 2015-05-19 2015-05-19 menu display method and device

Country Status (1)

Country Link
CN (1) CN104951193B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951152B (en) * 2016-01-07 2020-12-08 阿里巴巴集团控股有限公司 Control method and device for label bar
CN107844254A (en) * 2017-09-18 2018-03-27 五八有限公司 Text display processing method and device
CN113630637B (en) * 2018-05-10 2024-03-01 聚好看科技股份有限公司 Operation interface adjusting method of intelligent television and intelligent television
CN111273825B (en) * 2019-04-29 2022-02-11 深圳市鸿合创新信息技术有限责任公司 Toolbar adjusting method and device and interactive display device
CN110351422B (en) * 2019-05-27 2021-03-23 华为技术有限公司 Notification message preview method, electronic equipment and related products
CN111290694A (en) * 2020-01-19 2020-06-16 北京无限光场科技有限公司 Page turning method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999258A (en) * 2011-09-14 2013-03-27 富泰华工业(深圳)有限公司 Electronic device and method for rapidly positioning menu option
CN104102441A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Menuitem executing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8601389B2 (en) * 2009-04-30 2013-12-03 Apple Inc. Scrollable menus and toolbars
US20130219340A1 (en) * 2012-02-21 2013-08-22 Sap Ag Navigation on a Portable Electronic Device
KR101911251B1 (en) * 2012-07-13 2018-10-24 엘지전자 주식회사 Terminal and method for controlling the same
CN104375980B (en) * 2014-11-18 2018-06-12 小米科技有限责任公司 Content of text selection method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999258A (en) * 2011-09-14 2013-03-27 富泰华工业(深圳)有限公司 Electronic device and method for rapidly positioning menu option
CN104102441A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Menuitem executing method and device

Also Published As

Publication number Publication date
CN104951193A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN104951193B (en) menu display method and device
CN111008520B (en) Annotating method and device, terminal equipment and storage medium
CN105224322B (en) A kind of attend to anything else method and the terminal of application program
US10499109B2 (en) Method and apparatus for providing combined barrage information
US9304668B2 (en) Method and apparatus for customizing a display screen of a user interface
CN102520860B (en) A kind of method and mobile terminal for carrying out desktop display control
CN109766053A (en) Method for displaying user interface, device, terminal and storage medium
CN104679434A (en) Method for switching client pages
CN104360788B (en) Transparent mask method and desktop write control method
CN106325663B (en) Mobile terminal and its screenshotss method
CN103309575B (en) The method of display icon and terminal
CN104238896A (en) Function menu display method and device
JP2011512600A5 (en)
CN104898922A (en) Icon arranging method and terminal
CN103577083A (en) Image operation method and mobile terminal
CN107102786B (en) Information processing method and client
US9244593B2 (en) Information processing methods and electronic devices
CN104461298B (en) A kind of screenshot method and sectional drawing instrument
CN106775374A (en) Color acquisition methods and device based on touch-screen
CN110941382B (en) Display operation method, device, equipment and storage medium of intelligent interactive panel
CN106802894B (en) File induction method and equipment
CN105302458A (en) Message display method and apparatus
CN107608585A (en) The operating method and equipment and mobile terminal of a kind of application program
US20180150196A1 (en) Method and apparatus for switching multiple folders, and computer storage medium
CN105426049B (en) A kind of delet method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant