Summary of the invention
Outside the deficiency existed in the problems referred to above, the invention provides one intuitively easy-to-use, simple to operate, futuramic curtain-type menu control method.
For achieving the above object, the invention provides a kind of curtain-type menu control method, comprise the following steps:
S1, to be slided on the touchscreen by perception gesture, make menu follow the edge of perception gesture by touch-screen and move to the other end and then cover on whole touch-screen;
S2, curtain-type menu control the multimedia menu option area embedded in menu, to realize the operation of being correlated with after launching;
S3, to be slided on the touchscreen by perception gesture, make menu follow perception gesture and move to reference position, and then menu is removed by touch-screen.
Above-mentioned curtain-type menu control method, wherein, in step sl, its perception gesture be slip gesture from top to bottom, slip gesture from the bottom to top or by left and right to centre in touch screen the slip gesture of push type; Menu is followed slip gesture and is carried out in moving process at touch-screen, touch-screen can detect the sliding speed of slip gesture, to determine whether menu can be opened voluntarily, or judge that menu opens critical point voluntarily following whether to move to when slip gesture carries out synchronizing moving, thus be separated with slip gesture and open voluntarily.
Above-mentioned curtain-type menu control method, wherein, in step s3, its perception gesture is slip gesture from the bottom to top, slip gesture from top to bottom or by the centre slip gesture of push type in touch screen to the left and right; Menu is followed slip gesture and is carried out in moving process at touch-screen, touch-screen can detect the sliding speed of slip gesture, to determine whether menu can close voluntarily, or judge that menu closes critical point voluntarily following whether to move to when slip gesture carries out synchronizing moving, thus be separated with slip gesture and close voluntarily.
Above-mentioned curtain-type menu control method, wherein, in step s 2, by comparing to draw the sliding speed value (V) of slip gesture within the unit interval to the sliding distance value (S) of slip gesture and the sliding time value (T) of slip gesture, the sliding speed value of perception gesture and the speed parameter preset are judged, determine whether menu can complete follow-up mobile operation voluntarily, to realize opening voluntarily and shutoff operation voluntarily of menu.
Above-mentioned curtain-type menu control method, wherein, when the sliding speed value of slip gesture is greater than default speed parameter, menu is driven to carry out synchronizing moving without the need to gesture of sliding, menu carries out moving to cover the surface of touch-screen voluntarily to realize opening operation voluntarily, or is removed to realize shutoff operation voluntarily by the surface of touch-screen voluntarily.
Above-mentioned curtain-type menu control method, wherein, when the sliding speed value of slip gesture is less than default speed parameter, detection slip perception gesture drives menu to carry out synchronization-moving position and whether arrives the position of opening critical point voluntarily or closing critical point voluntarily, thus determine whether menu can complete follow-up mobile operation voluntarily, to realize opening voluntarily or closing voluntarily of menu.
Above-mentioned curtain-type menu control method, wherein, when the shift position of menu arrives the position of opening critical point voluntarily and closing critical point voluntarily, menu is driven to carry out synchronizing moving without the need to gesture of sliding, the surface that menu carries out moving to cover touch-screen voluntarily realizes opening operation voluntarily, or carries out voluntarily moving being removed by the surface of touch-screen and realize shutoff operation voluntarily.
Above-mentioned curtain-type menu control method, wherein, in step s 2, multimedia menu option area is made up of LOGO flash demo district and menu option region, described LOGO flash demo district and described menu option region load in the relevant range in menu, described LOGO flash demo district is FLASH animation, picture or text element, and described menu option region comprises animated element, music element, picture element or text element; Described menu option region is divided into menu item constituency, menu inverted image item constituency and menu item names, and described menu inverted image item constituency is arranged on the downside in described menu item constituency, for the projection in display menu item constituency; Described menu item constituency comprises the current set of menu item, a upper menu item and next menu item; Menu item names is for showing the title of the current set of menu item.
Above-mentioned curtain-type menu control method, wherein, adopts slip gesture to choose the arbitrary menu item in described menu item constituency, operates to realize correlation function to the current set of menu item by clicking gesture.
Above-mentioned curtain-type menu control method, wherein, described menu inverted image item constituency adopts image processing algorithm, shows the projection of the current set of menu item in described menu item constituency, a upper menu item and next menu item.
Compared with prior art, the present invention has the following advantages:
1, the present invention realizes opening and closedown menu by perception gesture, the movement of menu can be synchronous with the movement of slip gesture, by judging opening and closedown with Control-Menu to the translational speed of slip gesture, thus the different demands of user can also be met.
2, owing to implanting multimedia menu option area in a menu, by picture browsing technology, audio frequency, video playback, and the multimedia technology such as word dynamic reminding technology merges mutually, thus a kind of novelty menu mode is intuitively provided, solve the shortcoming that existing menu mode is single.
Traditional stage curtain drawing mode merges with its phase by the present invention, compared with carrying the menu system such as tree menu or pop-up menu with existing button menu, forms, allow menu system become and there is affinity, novelty more intuitively, meet intuitively easy-to-use, novel and beautiful, the feature such as easy to operate, larger spacial flex can also be provided simultaneously.
Embodiment
As shown in Figure 1, the invention provides a kind of curtain-type menu control method, comprise the following steps:
S1, to be slided on the touchscreen by perception gesture, make menu follow the edge of perception gesture by touch-screen and move to the other end and then cover on whole touch-screen;
S2, curtain-type menu control the multimedia menu option area embedded in menu, to realize the operation of being correlated with after launching;
S3, to be slided on the touchscreen by perception gesture, make menu follow perception gesture and move to reference position, and then menu is removed by touch-screen.
As shown in Figure 2 and Figure 3, the invention provides a kind of deployment method of curtain-type menu, the steps include:
Employing slip gesture from top to bottom, in the enterprising line slip of touch screen, makes menu follow slip gesture and is moved to its bottom margin by the top of touch-screen, and then covers on whole touch-screen to realize the opening operation to curtain-type menu.
Above-mentioned slip gesture sliding speed is on the touchscreen detected, to determine whether menu can be opened voluntarily, or makes menu follow slip gesture moving direction to carry out synchronizing moving to open voluntarily after critical point thus to open voluntarily.
Concrete, by comparing to draw the sliding speed value (V) of slip gesture within the unit interval to the sliding distance value (S) of slip gesture and the sliding time value (T) of slip gesture, the sliding speed value of slip gesture and the speed parameter preset are judged, determine whether menu can complete follow-up mobile operation voluntarily in remaining moving process, to realize the opening operation of menu.
When the sliding speed value of slip gesture is greater than default speed parameter, drive menu to carry out synchronizing moving without the need to gesture of sliding, the surface that menu carries out moving to cover touch-screen voluntarily realizes opening operation.
When the sliding speed value of slip gesture is less than default speed parameter, detection slip gesture drives menu to carry out synchronization-moving position and whether arrives the position of opening critical point voluntarily, thus determine whether menu can complete follow-up mobile operation voluntarily, to realize opening of menu.When the position of critical point is opened in the shift position arrival of menu voluntarily, drive menu to carry out synchronizing moving in remaining moving process without the need to gesture of sliding, the surface that menu can carry out moving to cover touch-screen voluntarily realizes opening.
Wherein, open voluntarily critical point be menu when completing opening operation, menu moves down dynamic in the synchronous drive of slip gesture.When the area that menu entirety covers touch-screen reaches touch-screen entire area 1/3, thus show that the shift position of menu in touch screen has reached and open critical point voluntarily, menu, in follow-up opening procedure, can open covering on the touchscreen without the need to the drive of gesture of sliding voluntarily.
Curtain-type menu after opening, by according to the multimedia element in the multimedia menu item in the play menu of user-defined menu option region, as sound, animation, Shows Picture and the menu informations such as word.
When browsing the menu item in menu, the perception gesture horizontally slipped can be adopted to browse, the mode turned according to a lantern adorned with a revolving circle of paper horses wheel switches by menu item, and what switch also has inverted image simultaneously.Inverted image produces after over-rotation, transparence, color treatments etc. algorithm process according to menu, and it synchronously changes with menu item, and prompt text and information also will synchronously change simultaneously.Following perception gesture can be adopted to choose menu item, its perception gesture comprise click, double-click, long by perception gestures such as, slips, thus browse in curtain menu option region and perhaps perform respective menu items function.
In addition, can also be slided on the touchscreen by the slip gesture from the bottom to top in touch screen, to realize the opening operation to curtain-type menu.
As shown in figs. 4 and 5, the invention provides a kind of method for closing of curtain-type menu, the steps include:
Employing slip gesture from the bottom to top, in the enterprising line slip of touch screen, makes menu follow slip gesture and moves to the top of touch screen, and then removed by touch-screen by menu, to realize the closedown of menu.
Detect above-mentioned slip gesture sliding speed on the touchscreen, to determine whether menu can close voluntarily, or the menu glide direction of following slip gesture carries out synchronizing moving to after closing critical point voluntarily, thus is separated with slip gesture and closes voluntarily.
Concrete, by comparing to draw the sliding speed value (V) of slip gesture within the unit interval to the sliding distance value (S) of slip gesture and the sliding time value (T) of slip gesture, the sliding speed value of slip gesture and the speed parameter preset are judged, determine whether menu can complete follow-up mobile operation voluntarily in remaining moving process, to realize the shutoff operation of menu.
When the sliding speed value of slip gesture is greater than default speed parameter, menu is driven to carry out synchronizing moving without the need to gesture of sliding, the surface that menu can carry out moving to cover touch-screen voluntarily realizes shutoff operation, or automatic moving is removed by the surface of touch-screen and realizes shutoff operation.
When the sliding speed value of slip gesture is less than default speed parameter, detection slip gesture drives menu to carry out synchronization-moving position and whether arrives the position closing critical point voluntarily, thus determine whether menu can complete follow-up mobile operation voluntarily, to realize the closedown of menu.When the position of critical point is closed in the shift position arrival of menu voluntarily, drive menu to carry out synchronizing moving in remaining moving process without the need to gesture of sliding, the surface that menu can carry out moving to cover touch-screen voluntarily realizes closing.
Wherein, closing critical point is voluntarily that menu is when completing shutoff operation, menu moves down dynamic in the synchronous drive of slip gesture, when the area that menu entirety covers touch-screen is less than touch-screen entire area 1/3, thus show that menu shift position reaches and close critical point voluntarily, menu, in follow-up closing process, can remove on the touchscreen without the need to the drive of gesture of sliding voluntarily.
In addition, can also be slided on the touchscreen by the slip gesture from top to bottom in touch screen, to realize the shutoff operation to curtain-type menu.
As shown in Figures 6 and 7, the invention provides a kind of deployment method of curtain-type menu, the steps include:
To adopt by left and right to the slip gesture of centre in the enterprising line slip of touch screen, make menu follow slip gesture mobile in the middle of touch-screen by the both sides of the edge of touch-screen, and then cover on whole touch-screen to realize the opening operation to curtain-type menu.
Above-mentioned slip gesture sliding speed is on the touchscreen detected, to determine whether menu can be opened voluntarily, or makes menu follow slip gesture moving direction to carry out synchronizing moving to open voluntarily after critical point thus to open voluntarily.
Concrete, by comparing to draw the sliding speed value (V) of slip gesture within the unit interval to the sliding distance value (S) of slip gesture and the sliding time value (T) of slip gesture, the sliding speed value of slip gesture and the speed parameter preset are judged, determine whether menu can complete follow-up mobile operation voluntarily in remaining moving process, to realize the opening operation of menu.
When the sliding speed value of slip gesture is greater than default speed parameter, menu is driven to carry out synchronizing moving without the need to gesture of sliding, the surface that menu carries out moving to cover touch-screen voluntarily realizes opening operation, or automatic moving is removed by the surface of touch-screen and realizes shutoff operation.
When the sliding speed value of slip gesture is less than default speed parameter, detection slip gesture drives menu to carry out synchronization-moving position and whether arrives the position of opening critical point voluntarily, thus determine whether menu can complete follow-up mobile operation voluntarily, to realize opening of menu.When the position of critical point is opened in the shift position arrival of menu voluntarily, drive menu to carry out synchronizing moving in remaining moving process without the need to gesture of sliding, the surface that menu can carry out moving to cover touch-screen voluntarily realizes opening.
Wherein, opening critical point is voluntarily that menu is when completing opening operation, menu is under the synchronous drive of slip gesture, when the area that menu entirety covers touch-screen reaches touch-screen entire area 1/3, thus show that menu shift position reaches and open critical point voluntarily, menu, in follow-up opening procedure, can open covering on the touchscreen without the need to the drive of gesture of sliding voluntarily.
Curtain-type menu after opening, will play curtain menu item element according to user-defined menu option region, as sound, animation, Show Picture and the menu information such as word.
When browsing the menu item in menu, the slip gesture horizontally slipped can be adopted to browse, the mode turned according to a lantern adorned with a revolving circle of paper horses wheel switches by menu item, and what switch also has inverted image simultaneously.Inverted image produces after over-rotation, transparence, color treatments etc. algorithm process according to menu, and it synchronously changes with menu item, and prompt text and information also will synchronously change simultaneously.Can adopt and with lower slider gesture, menu item be chosen, its slip gesture comprise click, double-click, long by slip gestures such as, slips, thus browse in curtain menu option region and perhaps perform respective menu items function.
As shown in Fig. 8 and Fig. 9, the invention provides a kind of method for closing of curtain-type menu, the steps include:
To adopt by centre slip gesture to the left and right in the enterprising line slip of touch screen, make menu follow slip gesture and move to the both sides of the edge of touch screen, and then menu is removed by touch-screen, to realize the closedown of menu.
Detect above-mentioned slip gesture sliding speed on the touchscreen, to determine whether menu can close voluntarily, or the menu glide direction of following slip gesture carries out synchronizing moving to after closing critical point voluntarily, thus is separated with slip gesture and closes voluntarily.
Concrete, by comparing to draw the sliding speed value (V) of slip gesture within the unit interval to the sliding distance value (S) of slip gesture and the sliding time value (T) of slip gesture, the sliding speed value of slip gesture and the speed parameter preset are judged, determine whether menu can complete follow-up mobile operation voluntarily in remaining moving process, to realize the shutoff operation of menu.
When the sliding speed value of slip gesture is greater than default speed parameter, menu is driven to carry out synchronizing moving without the need to gesture of sliding, the surface that menu carries out moving to cover touch-screen voluntarily realizes shutoff operation, or automatic moving is removed by the surface of touch-screen and realizes shutoff operation.
When the sliding speed value of slip gesture is less than default speed parameter, detection slip gesture drives menu to carry out synchronization-moving position and whether arrives the position closing critical point voluntarily, thus determine whether menu can complete follow-up mobile operation voluntarily, to realize the closedown of menu.When the position of critical point is closed in the shift position arrival of menu voluntarily, drive menu to carry out synchronizing moving in remaining moving process without the need to gesture of sliding, the surface that menu can carry out moving to cover touch-screen voluntarily realizes closing.
Wherein, closing critical point is voluntarily that menu is when completing shutoff operation, menu is under the synchronous drive of slip gesture, when the area that menu entirety covers touch-screen is less than touch-screen entire area 1/3, thus show that menu shift position reaches and close critical point voluntarily, menu, in follow-up closing process, can remove on the touchscreen without the need to the drive of gesture of sliding voluntarily.
Opening of curtain-type menu with closedown mode is:
Under any forms, just as the draw curtain Xie Chang of traditional performance stage, menu curtain can pull out downwards above forms, and the mode also can closed up from both sides to centre is opened.
When closing, directly reverse draw curtain withdrawal can be carried out to menu.Also the different properties list of redirect can be carried out by choice menus item.
As shown in Figure 10, the multimedia menu option area in menu is made up of LOGO flash demo district and menu option region, and LOGO flash demo district and menu option region load in the relevant range in menu.Menu, when prefabricated, adopts existing edit methods, reserves above-mentioned two regions in a menu.The title of curtain menu can be placed by LOGO flash demo district, and FLASH animation, picture or text element can be adopted as required to show.
Menu option region is the essential element in multimedia menu item, user can use one to multinomial according to oneself system current page actual conditions, be defined in curtain menu system menu option zone definition file, it is generally sample picture (BMP, JPG, PNG etc. form), to user simply to point out.Multimedia element in menu option region comprise in animated element, music element, picture element or text element one or more.
Menu option region is divided into menu item constituency, menu inverted image item constituency and menu item names, and menu item constituency comprises the current set of menu item, a upper menu item and next menu item.Adopting slip gesture to choose the arbitrary menu item in menu item constituency, operating to realize correlation function to the current set of menu item by clicking gesture.Wherein, the main display area of the current set of menu item is definition separately, if choice menus item, item of selecting choices from menus then turns to main display area automatically, the picture that item of simultaneously selecting choices from menus defines, word, music or animation then can carry out broadcasting demonstration in middle demonstration district, prompting user etc. certain operations.The picture that the current set of menu item is shown, the Background music of broadcasting, the animation of broadcasting, film, be that user can oneself definition, user independently can define oneself exhibition method according to oneself product.Playing animation and video need system background to play, and adopt demoder support.
Menu inverted image item constituency is arranged on the downside in menu item constituency, and the inverted image item in menu inverted image item constituency adopts image processing algorithm, the projection of the current set of menu item in display menu item constituency, a upper menu item and next menu item.Inverted image item be system according to menu item automatically after image processing algorithm, automatically generating, is the projection of menu item.This projection user can through various definitions process, as: black and white process, Edge contrast, the operations such as landscaping treatment.
Menu item names is for showing the title of the current set of menu item, and in addition, user can carry out design according to the menu of oneself definition and redefine.
Owing to implanting multimedia menu option area in a menu, by picture browsing technology, audio frequency, video playback, and the multimedia technology such as word dynamic reminding technology merges mutually, thus a kind of novelty menu mode is intuitively provided, solve the shortcoming that existing menu mode is single.
Only as described above, be only preferred embodiment of the present invention, such as professional who are familiar with this art. and after understanding technological means of the present invention, natural energy, according to actual needs, is changed under the teachings of the present invention.Therefore all equal changes of doing according to the present patent application the scope of the claims and modification, once should still remain within the scope of the patent.