Embodiment
Technological means and effect of taking for realizing predetermined goal of the invention for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure, feature and effect thereof, be described in detail as follows.
The first embodiment
Environment schematic diagram when the menu item manner of execution application that provides for first embodiment of the invention is provided shown in Fig. 1.In the present embodiment, this menu item manner of execution is applied in the terminal 1 that includes touch-screen 10, this terminal 1 can comprise smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) player etc.
Below in conjunction with specific embodiment, above-mentioned menu item manner of execution is described in detail as follows:
The process flow diagram of the menu item manner of execution that Fig. 2 provides for the first embodiment, this menu item manner of execution comprises the following steps:
Step S1, continues the slip touch signal on detecting touch-screen 10;
Step S2, analyzes the slide on this touch-screen 10 according to this slip touch signal;
Step S3, in the time that the direction of this slide is consistent with preset direction, shows the menu item in a menu list one by one according to this slide;
Step S4, in the time detecting this slip touch signal disappearance, carries out a menu item or cancels this operation according to the demonstration situation of menu item in this menu list.
According to above-mentioned menu item manner of execution, by on touch-screen 10 once continuous slide can recall the menu list being hidden and select to carry out corresponding menu item, can simplify the operating process that recalls the menu item being hidden, and automatically perform corresponding menu item, thereby improve treatment effeciency.
In some instances, each step of said method to realize details as follows:
In step S1, this touch-screen 10 shows the current interface of terminal 1.This current interface can be the system interface of terminal 1, such as terminal 1 start shooting or release after the menu interface etc. of application program in the main interface, terminal 1 of the read clock on wallpaper that enters and weather.This current interface can be also interface when application program is performed in terminal 1, the interface of the microblogging list for example, showing when microblogging client is performed.This current interface can also be by the interface of 1 accessed web page of terminal, for example the homepage of Ge great portal website.
On touch-screen 10, the current interface of shown terminal 1 is provided with corresponding menu list, and this menu list comprises at least one menu item, for this current interface or the specific entry of this current interface are carried out to corresponding function.For example, if current interface is the main interface of terminal 1, menu list corresponding to this main interface comprise regulate font size in this main interface menu item, change the menu item of this main interface wallpaper, in this main interface, add the menu item etc. of the shortcut of application program.Also for example, login the interface of the microblogging list after microblogging client if current interface is terminal 1, menu list corresponding to the interface of this microblogging list comprises comment, forwards, collects the menu item of corresponding microblogging entry in this microblogging list.
In order to make this current interface show as much as possible the content that need to often check, this menu list is not directly presented in this current interface, but is hidden in backstage, need to could trigger this menu list by specific operation and show.
Described slip touch signal is detected and obtains on its surface by touch-screen 10.Described slip touch signal can be electronic signal, can be also other signal that can be identified.
Slide described in step S2 can be the operation that is contacted this touch-screen 10 by user's finger tip, can be also the operation by writing pencil contact touch-screen 10.This slide is included in the contact position on touch-screen 10, speed, direction and the displacement etc. of slip.Because described slip touch signal comprises the coordinate of described contact position on touch-screen 10, according to the variation of this contact position coordinate on touch-screen 10, can draw speed, direction and the displacement etc. of this slide.
Preset direction described in step S3 can be set flexibly according to the display mode of current interface on touch-screen 10.In an example, if the display mode of current interface is for supporting roll display, can make this current interface scroll-up/down show or left and right roll display by sliding up and down or horizontally slipping on touch-screen 10, this preset direction can be the direction perpendicular with the rotating direction of current interface.For example, if the rotating direction of current interface is above-below direction, this preset direction can be for to the right.Only be appreciated that otherwise trigger the direction that the slide of response occurs current interface and conflict mutually with original, this preset direction can also be set as other direction arbitrarily.
When detecting the direction of slide on touch-screen 10 that slip touch signal characterizes when consistent with this preset direction, along with the carrying out of this slide, first menu item from this menu list starts to show one by one each menu item.Although the size of touch-screen 10 is limited, can set the displacement of slide on this preset direction on touch-screen 10 is enough to make all menu items in this menu list all to show.
In another example, this preset direction can be any direction, and by showing that in current interface a sliding path embodies.This sliding path is preset with fixing length and direction, as shown in the straight-line segment showing on touch-screen in Fig. 3 10.This sliding path is also provided with starting point (as the round dot on the sliding path left side in Fig. 3) and terminal (as the round dot on sliding path the right in Fig. 3).The direction of pointing to terminal from this starting point is considered to this preset direction.The direction of pointing to starting point from this terminal is considered to the direction contrary with this preset direction.It is straight-line segment that this sliding path is not limited to, and can be also segment of curve or the broken line of arbitrary shape.
When detecting direction that the contact position of slide on touch-screen 10 that slip touch signal characterizes point to terminal along this sliding path while moving, think that the direction of this slide is consistent with preset direction.In the time that the contact position of this slide on touch-screen 10 moves along the direction of this sliding path sensing starting point, think that the direction of this slide is contrary with preset direction.When the contact position of this slide on touch-screen 10 overlaps with the starting point of this sliding path, and while moving gradually along preset direction, first menu item from this menu list starts to show one by one each menu item.When the contact position of this slide on touch-screen 10 moves to while overlapping with the terminal of this sliding path gradually along this preset direction, all menu items in this menu list all show complete.
It should be noted that, if this menu list is corresponding to this current interface, step S3 judges that whether this slide in the scope of current interface is consistent with preset direction, thereby shows one by one the menu item in menu list corresponding to this current interface according to this slide.When carry out in menu list corresponding to this current interface menu item time, can carry out the function that this menu item is corresponding to current interface, for example the wallpaper at change owner interface more.
If this menu list is corresponding to certain entry showing in this current interface, step S3 judges that whether this slide in the indication range of this entry is consistent with preset direction, thereby shows one by one the menu item in menu list corresponding to this entry according to this slide.When carry out in menu list corresponding to this entry menu item time, can carry out the function that this menu item is corresponding to this entry, for example forward a certain microblogging in microblogging list.
In the present embodiment, after at least one menu item in this menu list is shown, contrary with preset direction if the direction of this slide becomes, cancel one by one according to this slide the menu item showing in this menu list.For example, while slip, show one by one the part or all of menu item of this menu list to the right on touch-screen 10, in the time that the glide direction on touch-screen 10 becomes left, the menu item having shown is cancelled to demonstration one by one.Show one by one or cancel one by one the speed of menu item and the speed of this slide that show in this menu list to be directly proportional,, within the unit interval, between the quantity of display menu item and the displacement of this slide, have certain direct proportion function relation.
In order to increase interest, can also adopt animation effect to show one by one the menu item in this menu list.This animation effect can be for example to make menu item enter one by one current interface (as shown in Figure 4) to float the form of window, or make menu item in the process showing one by one by the indication range (as shown in Figure 5) of entry " release " touch-screen 10 corresponding in current interface or current interface.The menu item having shown can be with vertical or horizontal list view in touch-screen 10.
In addition, step S3 also comprises according to the demonstration situation of menu item in this menu list being determined to how menu items are in selected state.The demonstration situation of this menu item comprises the integrity degree that the icon of menu item shows.The integrity degree that the icon of this menu item shows can reflect by the ratio of the total area of the display area of this icon and this icon.For example, the integrity degree showing when the icon of a menu item, between 50% to 100%, determines that this menu item is in selected state.If do not have menu item icon show integrity degree between 50% to 100%, determine there is no menu item in selected state.
If determine, a menu item, in selected state, also needs visual marker this menu item in selected state, checks and be confirmed whether to carry out this menu item in selected state for user.This visual marker can be highlighted mark, for example by the menu item in selected state with the highlighted mark of redness.If there is no menu item in selected state, the visual marker neighboring area of the menu item in selected state recently, or do not carry out visual marker.
In step S4, because the demonstration situation according to menu item in menu list in step S3 is determined to many menu items in real time in selected state, in the time detecting the disappearance of slip touch signal, illustrate that a slide finishes, select to carry out this menu item in selected state.If in selected state, cancel this operation without menu item.This operation of this cancellation comprises cancels this menu list of demonstration and menu item thereof, does not carry out any one menu item.
The second embodiment
Consult shown in Fig. 6, the second embodiment provides a kind of menu item manner of execution, and it further proposes a kind of concrete implementation than the menu item manner of execution of the first embodiment to step S3 and step S4.The menu item manner of execution of the present embodiment comprises:
Step S11, the current interface of display terminal 1 on touch-screen 10, this current interface is the item list that comprises some entries, as shown in Figure 7.
Step S12, continues the slip touch signal on detecting touch-screen 10, and analyzes the slide on this touch-screen 10 according to this slip touch signal.
Step S13, while slip to the right in this slide is the indication range of an entry in this item list, by this entry roll display to the right, while is along with the rolling of this entry, in the original indication range of this entry, the menu item in menu list corresponding this entry is shown one by one, to realize by this entry effect of " release " touch-screen 10 to the right, as shown in Figure 5.
Step S14, a menu item in selected state more than the integrity degree showing according to the icon of menu item in this menu list is determined to, and highlighted mark this menu item in selected state.In the present embodiment, the integrity degree showing when the icon of previous menu item reaches 50%, the and when integrity degree that the icon of a rear menu item shows is less than 25%, determine that this previous menu item is in selected state, and this previous menu item (as shown in Figure 8) of highlighted mark.The integrity degree showing when the icon of previous menu item is greater than 50%, and the integrity degree that the icon of a rear menu item shows is between 25% to 50% time, determine without menu item in selected state, and region (as shown in Figure 9) between this previous menu item of highlighted mark and a rear menu item.
Step S15, in the time detecting this slip touch signal disappearance, carries out the menu item in selected state.If in selected state, cancel this operation without menu item, comprise cancelling showing this menu list and menu item thereof, and this entry is recovered to be presented at original indication range.
The 3rd embodiment
Consult shown in Figure 10, third embodiment of the invention provides a kind of menu item actuating unit 100, and it runs in the terminal 1 that includes touch-screen 10.This menu item actuating unit 100 comprises detecting module 101, analysis module 102, display module 103 and execution module 104.Be appreciated that above-mentioned each module refers to computer program or program segment, for carrying out certain one or more specific function.In addition, the differentiation of above-mentioned each module does not represent that actual program code also must separate.
Detecting module 101, for continuing the slip touch signal on detecting touch-screen 10.
Analysis module 102, for analyzing the slide on this touch-screen 10 according to this slip touch signal.This slide is included in the contact position on touch-screen 10, speed, direction and the displacement etc. of slip.
Display module 103, in the time that the direction of this slide is consistent with preset direction, shows the menu item in a menu list one by one according to this slide.This display module 103, also in the time that the direction of this slide is contrary with preset direction, is cancelled the menu item showing in this menu list one by one according to this slide.Show one by one or cancel one by one the speed of menu item and the speed of this slide that show in this menu list and be directly proportional.
In addition, this display module 103 is also for being determined to many menu items in selected state according to the demonstration situation of this menu list menu item.The demonstration situation of this menu item comprises the integrity degree that the icon of menu item shows.If determine, a menu item is in selected state, and display module 103 also needs visual marker this menu item in selected state.
Execution module 104, in the time detecting this slip touch signal disappearance, carries out a menu item or cancels this operation according to the demonstration situation of menu item in this menu list.Particularly, in the time detecting the disappearance of slip touch signal, select to carry out this menu item in selected state.If in selected state, cancel this operation without menu item.This operation of this cancellation comprises cancels this menu list of demonstration and menu item thereof.
For the specific works process of above each module, the menu item manner of execution that can provide with further reference to first embodiment of the invention, no longer repeats at this.
In sum, the menu item actuating unit 100 of the present embodiment, can by touch-screen 10 once continuous slide can recall the menu list being hidden and select to carry out corresponding menu item, can simplify the operating process that recalls the menu item being hidden, and automatically perform corresponding menu item, thereby improve treatment effeciency.
The 4th embodiment
Consult shown in Figure 11, fourth embodiment of the invention provides a kind of menu item actuating unit 200, and it runs in the terminal 1 that includes touch-screen 10.This menu item actuating unit 200 comprises the first display module 201, the first detecting module 202, the second display module 203, determination module 204 and the first execution module 205.
The first display module 201, for the current interface of display terminal 1 on touch-screen 10, this current interface is the item list that comprises some entries.
The first detecting module 202, for continuing the slip touch signal on detecting touch-screen 10, and analyzes the slide on this touch-screen 10 according to this slip touch signal.
The second display module 203, for being while sliding to the right in the indication range of an entry of this item list when this slide, by this entry roll display to the right, along with the rolling of this entry, in the original indication range of this entry, the menu item in menu list corresponding this entry is shown one by one simultaneously.
Determination module 204, a menu item in selected state more than being determined to for the integrity degree showing according to the icon of this menu list menu item, and highlighted mark this menu item in selected state.
The first execution module 205, in the time detecting this slip touch signal disappearance, carries out the menu item in selected state.If in selected state, cancel this operation without menu item.
For the specific works process of above each module, the menu item manner of execution that can provide with further reference to second embodiment of the invention, no longer repeats at this.
In addition, the embodiment of the present invention also provides a kind of computer-readable recording medium, is stored with computer executable instructions, and above-mentioned computer-readable recording medium is for example for example CD, hard disk or flash memory of nonvolatile memory.Above-mentioned computer executable instructions is for allowing computing machine or similar arithmetic unit complete the various operations of above-mentioned menu item manner of execution.
The above, it is only preferred embodiment of the present invention, not the present invention is done to any pro forma restriction, although the present invention discloses as above with preferred embodiment, but not in order to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, when can utilizing the technology contents of above-mentioned announcement to make a little change or being modified to the equivalent embodiment of equivalent variations, in every case be not depart from technical solution of the present invention content, any brief introduction amendment of above embodiment being done according to technical spirit of the present invention, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.