The content of the invention
The embodiment of the present invention provides a kind of application program image target setting method and device, to solve existing large screen
The icon set-up mode of application program on the desktop of terminal is single, fixed, and user is difficult that one hand clicks all positions on screen
The problem of icon put.
The embodiment of the present invention provides a kind of application program image target setting method, including:
When showing desktop, the movable image for the user's finger being located above the desktop is obtained;
The mobile status information of the user's finger is determined according to the movable image;
According to the mobile status information and default adjustment rule to the application program image target position on the desktop
It is adjusted.
Optionally, the movable image for obtaining the user's finger being located above the desktop, including:
It is located at the movable image of the user's finger above the desktop 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 desktop.
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, it is described regular to the application program on the desktop according to the mobile status information and default adjustment
The position of icon is adjusted, including:
By the travel frequency of the user's finger compared with predetermined threshold value, and according to the result of the comparison and institute
Default adjustment rule is stated to be adjusted the application program image target position on the desktop.
Optionally, the default adjustment rule includes:
Change the application program image target position on the desktop at random or change answering on the desktop by preset order
With the position of program icon.
Application program image target setting method provided in an embodiment of the present invention, by obtaining the use being located above the desktop
The movable image of family finger, and determine according to the movable image mobile status information of the user's finger, with according to
Mobile status information and default adjustment rule are adjusted the application program image target position on the desktop, can realize
Each application program image target position on terminal desktop is adjusted according to user demand, so that user can click screen by one hand
Icon on curtain on all positions enhances the convenience that terminal uses, and improves personalization, the intelligent level of terminal.
The embodiment of the present invention provides a kind of application program image target and sets device, including:
Image capturing unit, for when showing desktop, obtaining the mobile shadow for the user's finger being located above the desktop
Picture;
Information determination unit, for determining the mobile status information of the user's finger according to the movable image;
Icon adjustment unit, for regular to answering on the desktop according to the mobile status information and default adjustment
It is adjusted with the position of program icon.
Optionally, the image capturing unit is specifically used for being located on the desktop 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 desktop.
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 icon adjustment unit is specifically used for carrying out the travel frequency of the user's finger and predetermined threshold value
Compare, and according to the result of the comparison and the default adjustment rule to the application program image target position on the desktop
It is adjusted.
Optionally, the default adjustment rule includes:
Change the application program image target position on the desktop at random or change answering on the desktop by preset order
With the position of program icon.
Application program image target provided in an embodiment of the present invention sets device, by obtaining the use being located above the desktop
The movable image of family finger, and determine according to the movable image mobile status information of the user's finger, with according to
Mobile status information and default adjustment rule are adjusted the application program image target position on the desktop, can realize
Each application program image target position on terminal desktop is adjusted according to user demand, so that user can click screen by one hand
Icon on curtain on all positions enhances the convenience that terminal uses, and 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 application program image target setting method of one embodiment of the invention, as shown in Figure 1, the party
Method includes:
S101:When showing desktop, the movable image for the user's finger being located above the desktop is obtained;
It is understood that desktop, that is, the main interface, for example, mobile phone, tablet computer etc. desktop be exactly after start or
The interface shown when person is standby.
Specifically, when intelligent terminal shows the desktop, (i.e. institute above the desktop 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:According to the mobile status information and default adjustment rule to the application program image target on the desktop
Position is adjusted.
Specifically, the intelligent terminal is regular to described according to above-mentioned definite mobile status information and default adjustment
Application program image target position on desktop is adjusted.
As a kind of optional embodiment of the present embodiment, the default adjustment rule includes:
Each application program image target position on the desktop is exchanged at random or by preset order (as around display screen
Central point is in clockwise or counterclockwise) change application program image target position on the desktop.
Application program image target setting method provided in this embodiment, by obtaining the user's hand being located above the desktop
The movable image of finger, and determine according to the movable image mobile status information of the user's finger, with according to the movement
Status information and default adjustment rule are adjusted the application program image target position on the desktop, can realize basis
Each application program image target position on user demand adjustment terminal desktop, so that user can be clicked by one hand on screen
Icon on all positions enhances the convenience that terminal uses, and 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 desktop is stated, can be specifically included:
It is located at the movable image of the user's finger above the desktop 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 desktop.
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.When situation of the cameraman in no route of retreat
Under, if being difficult to the scenery completely taken with 50 millimeters of standard lens, so that it may it is light using the big feature of wide-angle lens angular field of view and
Ground is easily lifted to solve the problems, such as.
Fig. 2 is the flow chart of the application program image target setting method of another embodiment of the present invention, as shown in Fig. 2, should
Method includes:
S201:When showing desktop, the movable image for the user's finger being located above the desktop is obtained;
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
And the default adjustment rule is adjusted the application program image target position on the desktop.
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 application program image target position regularization condition, and then can be according to the default adjustment rule to institute
The application program image target position stated on desktop is adjusted.
As the optional embodiment of another kind of the present embodiment, the mobile status letter of user's finger described in step S202
The motion track for user's finger is ceased, 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 with
And the default adjustment rule is adjusted the application program image target position on the desktop.
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 to meet application program image target position regularization condition, and then can be according to described pre-
If adjustment rule is adjusted the application program image target position on the desktop.
Fig. 3 is that the application program image target of one embodiment of the invention sets the structure diagram of device, as shown in figure 3,
The device includes image capturing unit 31, information determination unit 32 and icon adjustment unit 33, wherein:
Image capturing unit 31 is used for when showing desktop, obtains the mobile shadow for the user's finger being located above the desktop
Picture;
Information determination unit 32 is used to determine the mobile status information of the user's finger according to the movable image;
Icon adjustment unit 33 is used for according to the mobile status information and default adjustment rule on the desktop
Application program image target position is adjusted.
Specifically, the application program image target in the present embodiment sets the process of device progress application program image target setting
Including:Image capturing unit 31 obtains the movable image for the user's finger being located above the desktop when showing desktop;Information
Determination unit 32 determines the mobile status information of the user's finger according to the movable image;Icon adjustment unit 33 is according to institute
It states mobile status information and default adjustment rule is adjusted the application program image target position on the desktop.
Application program image target provided in this embodiment sets device, by obtaining the user's hand being located above the desktop
The movable image of finger, and determine according to the movable image mobile status information of the user's finger, with according to the movement
Status information and default adjustment rule are adjusted the application program image target position on the desktop, can realize basis
Each application program image target position on user demand adjustment terminal desktop, so that user can be clicked by one hand on screen
Icon on all positions enhances the convenience that terminal uses, and 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 desktop;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 desktop.
As a kind of optional embodiment of above-described embodiment, described information determination unit can be specifically used for according to institute
State the travel frequency that movable image determines the user's finger.
As a kind of optional embodiment of above-described embodiment, the icon adjustment unit can be specifically used for by described in
The travel frequency of user's finger compared with predetermined threshold value, and according to the result of the comparison and it is described it is default adjustment rule
Application program image target position on the desktop is adjusted.
As a kind of optional embodiment of above-described embodiment, the default adjustment rule can include:
Change the application program image target position on the desktop at random or change answering on the desktop by preset order
With the position of program icon.
Application program image target described in the present embodiment sets device to can be used for performing setting for above application program icon
Embodiment of the method is put, principle is similar with technique effect, and details are not described herein again.
It should be noted that for application program image target sets device embodiment, due to itself and embodiment of the method
Substantially 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:
When showing desktop, the movable image for the user's finger being located above the desktop is obtained;
The mobile status information of the user's finger is determined according to the movable image;
According to the mobile status information and default adjustment rule to the application program image target position on the desktop
It is adjusted.
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:
When showing desktop, the movable image for the user's finger being located above the desktop is obtained;
The mobile status information of the user's finger is determined according to the movable image;
According to the mobile status information and default adjustment rule to the application program image target position on the desktop
It is adjusted.
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:
When showing desktop, the movable image for the user's finger being located above the desktop is obtained;
The mobile status information of the user's finger is determined according to the movable image;
According to the mobile status information and default adjustment rule to the application program image target position on the desktop
It is adjusted.
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.