The content of the invention
The embodiment of the present invention provides a kind of display methods and device of hide menu item, to solve in existing terminal
The menu item of application program homepage is arranged on the top of screen more, and user is difficult to realize one hand and clicks answering above screen
The problem of with the menu item of program.
The embodiment of the present invention provides a kind of display methods of hide menu item, including:
In the homepage of display target application program, the movable image for the user's finger being located above the homepage is obtained;
The mobile status information of the user's finger is determined according to the movable image;
The display mode of hide menu item is adjusted according to the mobile status information.
Optionally, the movable image for obtaining the homepage upper user finger, including:
It is located at the movable image of the user's finger above the homepage by the acquisition of wide angle picture harvester;Wherein, institute
State the one side that wide angle picture harvester is located at where the display screen of terminal;The display screen is used to show the intended application journey
The homepage of sequence.
Optionally, the mobile status information that the user's finger is determined according to the movable image, including:
The travel frequency of the user's finger is determined according to the movable image.
Optionally, the display mode that hide menu item is adjusted according to the mobile status information, including:
It is hidden to be adjusted according to the result of the comparison by the travel frequency of the user's finger compared with predetermined threshold value
Hide the display mode of menu item.
Optionally, the display mode of the adjustment hide menu item, including:
The hide menu item or the hiding hide menu item in dispaly state of the display in hidden state.
The display methods of hide menu item provided in an embodiment of the present invention, by obtaining the user being located above the homepage
The movable image of finger, and determine according to the movable image mobile status information of the user's finger, with according to the shifting
The display mode of dynamic status information adjustment hide menu item, can realize and adjust destination application homepage according to user demand
The display mode of hide menu item, so that user can be enhanced by the singlehanded display mode for controlling the hide menu item
The convenience that terminal uses improves personalization, the intelligent level of terminal.
The embodiment of the present invention provides a kind of display device of hide menu item, including:
Image capturing unit, in the homepage of display target application program, obtaining the use being located above the homepage
The movable image of family finger;
Information determination unit, for determining the mobile status information of the user's finger according to the movable image;
Menu adjustment unit, for adjusting the display mode of hide menu item according to the mobile status information.
Optionally, the image capturing unit is specifically used for being located in the homepage by the acquisition of wide angle picture harvester
The movable image of the user's finger of side;Wherein, the wide angle picture harvester is located at the one side where the display screen of terminal;Institute
Display screen is stated for showing the homepage of the destination application.
Optionally, described information determination unit is specifically used for the movement that the user's finger is determined according to the movable image
Frequency.
Optionally, the menu adjustment unit is specifically used for carrying out the travel frequency of the user's finger and predetermined threshold value
Compare, to adjust the display mode of hide menu item according to the result of the comparison.
Optionally, the menu adjustment unit is additionally operable to the hide menu item or hiding of the display in hidden state
The hide menu item in dispaly state.
The display device of hide menu item provided in an embodiment of the present invention, by obtaining the user being located above the homepage
The movable image of finger, and determine according to the movable image mobile status information of the user's finger, with according to the shifting
The display mode of dynamic status information adjustment hide menu item, can realize and adjust destination application homepage according to user demand
The display mode of hide menu item, so that user can be enhanced by the singlehanded display mode for controlling the hide menu item
The convenience that terminal uses improves personalization, the intelligent level of terminal.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts belong to the scope of protection of the invention.
Fig. 1 is the flow chart of the display methods of the hide menu item of one embodiment of the invention, as shown in Figure 1, this method
Including:
S101:In the homepage of display target application program, the movement for the user's finger being located above the homepage is obtained
Image;
It is understood that the homepage, also known as homepage, start page, are that user opens browser when application programs
The one or more webpages automatically opened.Homepage can also refer to the portal site of a website, that is, open the seen behind website
One page.
Specifically, when intelligent terminal shows the homepage, (i.e. institute above the homepage is known in institute's intelligent terminal detection
State above the display screen of terminal) there are user's finger it is mobile when, obtain the movable image of the user's finger.
S102:The mobile status information of the user's finger is determined according to the movable image;
As a kind of optional embodiment of the present embodiment, the intelligent terminal can be according to the user's finger got
Movable image carry out image recognition processing, with determine the user's finger mobile status information.
It should be noted that the method for described image identifying processing include in the movable image each two field picture it is every
The RGB color value of a pixel is judged and is handled, to determine the movement of the user's finger according to the result for judging and handling
Status information.
The RGB color value is a kind of color standard of industrial quarters, is by red (R), green (G), blue (B) three colors
The variation of passage and their mutual superpositions obtain miscellaneous color, and RGB is to represent red, green, blue three
The color of a passage, this standard almost include all colours that human eyesight can perceive, and are to use most wide face at present
One of colour system system.
S103:The display mode of hide menu item is adjusted according to the mobile status information.
Specifically, the intelligent terminal adjusts the display side of hide menu item according to above-mentioned definite mobile status information
Formula.
As a kind of optional embodiment of the present embodiment, according to the mobile status information tune described in step S103
The display mode of whole hide menu item can include:
The hide menu item or the hiding hide menu item in dispaly state of the display in hidden state.
For example, when terminal determines that the display mode for meeting hide menu item adjusts item according to the mobile status information
During part, if detection knows that the hide menu item is currently at hidden state, change the display mode of the hide menu item,
Show the hide menu item;
Similarly, when the display mode regularization condition that terminal determines to meet hide menu item according to the mobile status information
When, if detection knows that the hide menu item is currently at dispaly state, change the display mode of the hide menu item, i.e.,
Hide the hide menu item.
The display methods of hide menu item provided in this embodiment, by obtaining the user's finger being located above the homepage
Movable image, and the mobile status information of the user's finger is determined according to the movable image, with according to the mobile shape
State information adjusts the display mode of hide menu item, can realize and adjust hiding for destination application homepage according to user demand
The display mode of menu item, so that user can enhance terminal by the singlehanded display mode for controlling the hide menu item
The convenience used improves personalization, the intelligent level of terminal.
Further, a kind of optional embodiment as above-described embodiment obtains described in step S101 and is located at institute
The movable image of the user's finger above homepage is stated, can be specifically included:
It is located at the movable image of the user's finger above the homepage by the acquisition of wide angle picture harvester;Wherein, institute
State wide angle picture harvester can be located at terminal display screen where one side (i.e. with the front camera of the intelligent terminal
In the same side or directly substitute the front camera of the intelligent terminal);The display screen is used to show the homepage.
For example, wide-angle lens may be employed in the wide angle picture harvester.Wide-angle lens is that a kind of focal length is shorter than
Standard lens, visual angle are more than standard lens, focal length is longer than fish eye lens, visual angle is less than fish-eye photographic mirror.Wide-angle is digital
The lens focus of camera is very short, and visual angle is wider, and the depth of field is very deep, is relatively suitble to shooting compared with the photo of large scene.
Specifically, wide-angle lens has the characteristics that angular field of view is big, can cover a wide range of scenery.So-called angular field of view
Greatly, i.e., in same viewpoint (being remained unchanged with the distance of the object) photographic mirror of wide-angle, standard and three kinds of different focal lengths of dolly-out,ing dolly-back
Head is found a view, the result is that the former is taking more scenery up and down than the latter.
Fig. 2 is the flow chart of the display methods of the hide menu item of another embodiment of the present invention, as shown in Fig. 2, the party
Method includes:
S201:In the homepage of display target application program, the movement for the user's finger being located above the homepage is obtained
Image;
S202:The travel frequency of the user's finger is determined according to the movable image;
S203:By the travel frequency of the user's finger compared with predetermined threshold value, and according to the result of the comparison
Adjust the display mode of hide menu item.
Wherein, the step S201 is identical with the step S101 of embodiment described in earlier figures 1, herein without repeating.
Specifically, the travel frequency of the user's finger is determined in step S202 according to the movable image;Correspondingly,
In step S203, it is assumed that the predetermined threshold value is m beats/min, then when detection knows that the travel frequency of the user's finger reaches m
Beat/min when, that is, judge to meet the display mode regularization condition of hide menu item, and then can be adjusted according to said program and hide dish
The display mode of individual event.
As the optional embodiment of another kind of the present embodiment, the mobile status letter of user's finger described in step S202
Breath can be the motion track of user's finger, then the step S203 can be specifically included:
By the motion track of the user's finger compared with default motion track, and according to the result of the comparison tune
The display mode of whole hide menu item.
For example, if the default motion track is a closed loop, when the shifting of the user's finger is known in detection
When dynamic rail mark forms a closed loop, that is, judge the display mode regularization condition for meeting hide menu item, and then can be according to above-mentioned
The display mode of project setting hide menu item.
Fig. 3 is the structure diagram of the display device of the hide menu item of one embodiment of the invention, as shown in figure 3, should
Device includes image capturing unit 31, information determination unit 32 and menu adjustment unit 33, wherein:
Image capturing unit 31 is used in the homepage of display target application program, obtains the use being located above the homepage
The movable image of family finger;
Information determination unit 32 is used to determine the mobile status information of the user's finger according to the movable image;
Menu adjustment unit 33 is used to adjust the display mode of hide menu item according to the mobile status information.
Specifically, the display device of the hide menu item in the present embodiment is hidden the process bag of the display of menu item
It includes:For image capturing unit 31 in the homepage of display target application program, acquisition is located at the user's finger above the homepage
Movable image;Information determination unit 32 determines the mobile status information of the user's finger according to the movable image;Menu tune
Whole unit 33 adjusts the display mode of hide menu item according to the mobile status information.
The display device of hide menu item provided in this embodiment, by obtaining the user's finger being located above the homepage
Movable image, and the mobile status information of the user's finger is determined according to the movable image, with according to the mobile shape
State information adjusts the display mode of hide menu item, can realize and adjust hiding for destination application homepage according to user demand
The display mode of menu item, so that user can enhance terminal by the singlehanded display mode for controlling the hide menu item
The convenience used improves personalization, the intelligent level of terminal.
As a kind of optional embodiment of above-described embodiment, the image capturing unit 31 can be specifically used for passing through
The acquisition of wide angle picture harvester is located at the movable image of the user's finger above the homepage;Wherein, the wide angle picture is adopted
Acquisition means are located at the one side where the display screen of terminal;The display screen is used to show the homepage.
As a kind of optional embodiment of above-described embodiment, described information determination unit 32 can be specifically used for basis
The movable image determines the travel frequency of the user's finger.
As a kind of optional embodiment of above-described embodiment, the menu adjustment unit 33 can be specifically used for institute
The travel frequency of user's finger is stated compared with predetermined threshold value, and the aobvious of hide menu item is adjusted according to the result of the comparison
Show mode.
As a kind of optional embodiment of above-described embodiment, the menu adjustment unit 33 is additionally operable to display in hidden
The hide menu item of Tibetan state hides the hide menu item in dispaly state.
The display device of hide menu item described in the present embodiment can be used for the display side for performing above-mentioned hide menu item
Method embodiment, principle is similar with technique effect, and details are not described herein again.
It should be noted that for the display device embodiment of hide menu item, due to itself and embodiment of the method base
This is similar, so description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Fig. 4 is the structure diagram of intelligent terminal in one embodiment of the invention, as shown in figure 4, the terminal can include:
Processor (processor) 410, bus 420 and memory (memory) 430, wherein, processor 410 and memory 430 pass through
Bus 420 completes mutual communication.Processor 410 can call the program instruction in memory 430, to perform such as lower section
Method:
In the homepage of display target application program, the movable image for the user's finger being located above the homepage is obtained;
The mobile status information of the user's finger is determined according to the movable image;
The display mode of hide menu item is adjusted according to the mobile status information.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating
Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated
When machine performs, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:
In the homepage of display target application program, the movable image for the user's finger being located above the homepage is obtained;
The mobile status information of the user's finger is determined according to the movable image;
The display mode of hide menu item is adjusted according to the mobile status information.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing
Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example
Such as include:
In the homepage of display target application program, the movable image for the user's finger being located above the homepage is obtained;
The mobile status information of the user's finger is determined according to the movable image;
The display mode of hide menu item is adjusted according to the mobile status information.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
The various media that can store program code such as disk.
Embodiments described above is only schematical, wherein the unit illustrated as separating component can be
Or may not be physically separate, the component shown as unit may or may not be physical location, i.e.,
A place can be located at or can also be distributed in multiple network element.It can select according to the actual needs therein
Some or all of module realizes the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creative labor
In the case of dynamic, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on
Technical solution is stated substantially in other words to embody the part that the prior art contributes in the form of software product, it should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers
Order, which is used, so that computer equipment (can be personal computer, server or the network equipment etc.) performs each implementation
Method described in some parts of example or embodiment.
Finally it should be noted that:Various embodiments above is only to illustrate the technical solution of the embodiment of the present invention rather than right
It is limited;Although the embodiment of the present invention is described in detail with reference to foregoing embodiments, the ordinary skill of this field
Personnel should be understood:It can still modify to the technical solution recorded in foregoing embodiments or to which part
Or all technical characteristic carries out equivalent substitution;And these modifications or replacement, do not make the essence disengaging of appropriate technical solution
The scope of each embodiment technical solution of the embodiment of the present invention.