CN105893795B - A kind of icon display method and terminal - Google Patents
A kind of icon display method and terminal Download PDFInfo
- Publication number
- CN105893795B CN105893795B CN201510038558.3A CN201510038558A CN105893795B CN 105893795 B CN105893795 B CN 105893795B CN 201510038558 A CN201510038558 A CN 201510038558A CN 105893795 B CN105893795 B CN 105893795B
- Authority
- CN
- China
- Prior art keywords
- icon
- target icon
- target
- user
- stealth
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of icon display method and terminals.The method comprise the steps that receiving the instruction of user setting stealth icon;The mark of the stealthy target icon of acquisition user's selection and the final parked position of target icon;According to the mark of the target icon and the final parked position of target icon, image procossing is carried out to the target icon, the target icon is merged with current desktop background picture, obtains the stealthy display effect of the target icon.While the embodiment of the present invention protects privacy of user, it is good to avoid cumbersome hiding and ciphering process, user experience.
Description
Technical field
The present invention relates to icon processing technology field, in particular to a kind of icon display method and terminal.
Background technique
Icon refers on any display interface (such as launcher desktop), for making a reservation for for some application or certain group
Operation provides the icon using entrance or trigger action, executes predetermined operation (for example click) to such icon in the display interface
When, corresponding application or predetermined operation combination are triggered.
Desktop on terminal device (containing mobile phone, plate, notebook, PC etc.) indicates the entrance of application with icon.In non-private
When close occasion uses equipment, onlooker (intentional or unintentionally) it can be seen that icon of the pendulum on display desktop and identify
User is mounted with which is applied, to reveal privacy of user.
Currently, in order to avoid leak privacy, in the prior art using have be arranged icon with Fingerprint Lock or coded lock by the way of,
Only designated user could use, although the only specific user of icon in this way can use, icon indifference on interface is shown,
Onlooker is visible;It in addition is to hide icon in any way there are also a kind of mode, similar to the hidden folder in windows,
Although concealing icon in this way, hide after icon interfere user use, user need using when need first
It goes to hide, needs to hide again after use, formality is cumbersome, once forget to hide and have the possibility divulged a secret using complete.
Summary of the invention
The embodiment of the invention provides a kind of icon display method and terminals, while protecting privacy of user, avoid
Cumbersome hiding and ciphering process, user experience is good.
First aspect of the embodiment of the present invention provides a kind of icon display method, comprising:
Receive the instruction of user setting stealth icon;
The mark of the stealthy target icon of acquisition user's selection and the final parked position of target icon;
According to the mark of the target icon and the final parked position of target icon, figure is carried out to the target icon
As processing, merges the target icon with current desktop background picture, obtain the stealthy display effect of the target icon.
In conjunction with the embodiment of the present invention in a first aspect, the first implementation of the first aspect in the embodiment of the present invention
In, the mark according to the target icon and the final parked position of target icon carry out figure to the target icon
As processing, so that the target icon is merged with current desktop background picture and is included:
Obtain current desktop background picture file;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The picture region block to fit like a glove with the contour line is replicated from the current desktop background picture file;
According to the mark of selected target icon, the icon of the target icon is replaced with the picture region block;
When the target icon has caption or frame, remove the caption and frame of the target icon.
In conjunction with the embodiment of the present invention in a first aspect, second of implementation of the first aspect in the embodiment of the present invention
In, the mark according to the target icon and the final parked position of target icon carry out figure to the target icon
As processing, so that the target icon is merged with current desktop background picture and is included:
Obtain the substantially transparent figure prestored;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The transparent segment to fit like a glove with the contour line is replicated from the substantially transparent figure;
According to the mark of selected target icon, the icon of the target icon is replaced with the transparent segment;
When the target icon has caption or frame, remove the caption and frame of the target icon.
In conjunction with the second of the first aspect of the embodiment of the present invention or the first implementation of first aspect or first aspect
Kind implementation, it is stealthy in the reception user setting in the third implementation of the first aspect of the embodiment of the present invention
After the instruction of icon, the method also includes:
Stealth icon prompt information is popped up, mnemonic(al) scape can be utilized including user in current desktop background in the prompt information
Object beacon information.
In conjunction with the third implementation of the first aspect of the embodiment of the present invention, in the first aspect of the embodiment of the present invention
In 4th kind of implementation, the final parked position of target icon is at the target mnemonic(al) scenery in current desktop background;
The mark of the target icon according to selected by and the final parked position of target icon, to the target icon
Image procossing is carried out, merges the target icon with current desktop background picture further include:
The form and dimension of the target icon is adjusted, so that the target mnemonic(al) scenery covers the target icon,
And the target icon is not conflicted at the target mnemonic(al) scenery with other positions icon.
In conjunction with the embodiment of the present invention first aspect to first aspect the 4th kind of implementation, in the embodiment of the present invention
In 5th kind of implementation of first aspect, the method also includes:
Cancel the instruction of the target icon stealth in reception user, and the user has the setting permission of stealth icon
When, the stealthy display effect of the target icon is reverted into normal display effect.
In conjunction with the embodiment of the present invention first aspect to first aspect the 5th kind of implementation, in the embodiment of the present invention
In 6th kind of implementation of first aspect, the method also includes:
Show the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The icon of stealths all on current desktop is reverted into normal display effect;
Hide the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The stealthy icon for reverting to normal display effect on current desktop is restored stealthy.
The second aspect of the embodiment of the present invention provides a kind of terminal, comprising:
Receiving unit, for receiving the instruction of user setting stealth icon icon;
Acquiring unit selects the mark of stealthy target icon and the target icon to be finally resident position for obtaining user
It sets;
Stealthy processing unit, for according to the target icon mark and the final parked position of target icon, it is right
The target icon carries out image procossing, merges the target icon with current desktop background picture, obtains the target
The stealthy display effect of icon.
In conjunction with the second aspect of the embodiment of the present invention, in the first implementation of the second aspect of the embodiment of the present invention
In, the stealth processing unit is specifically used for:
Obtain current desktop background picture file;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The picture region block to fit like a glove with the contour line is replicated from the current desktop background picture file;
According to the mark of selected target icon, the icon of the target icon is replaced with the picture region block;
When the target icon has caption or frame, remove the caption and frame of the target icon.
In conjunction with the second aspect of the embodiment of the present invention, in second of implementation of the second aspect of the embodiment of the present invention
In, the stealth processing unit is specifically used for:
Obtain the substantially transparent figure prestored;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The transparent segment to fit like a glove with the contour line is replicated from the substantially transparent figure;
According to the mark of selected target icon, the icon of the target icon is replaced with the transparent segment;
When the target icon has caption or frame, remove the caption and frame of the target icon.
In conjunction with the second of the second aspect of the embodiment of the present invention or the first implementation of second aspect or second aspect
Kind implementation, in the third implementation of the second aspect of the embodiment of the present invention, the terminal further include:
Prompt unit, for popping up stealth icon prompt information, institute after the instruction for receiving user setting stealth icon
Mnemonic(al) scenery beacon information can be utilized including user in current desktop background by stating in prompt information.
In conjunction with the third implementation of the second aspect of the embodiment of the present invention, in the second aspect of the embodiment of the present invention
The 4th kind of implementation in, it is described stealth processing unit be specifically also used to:
When the final parked position of target icon is at target mnemonic(al) scenery in current desktop background, described in adjustment
The form and dimension of target icon so that the target mnemonic(al) scenery covers the target icon, and makes the target
Icon does not conflict at the target mnemonic(al) scenery with other positions icon.
In conjunction with the embodiment of the present invention second aspect to second aspect the 4th kind of implementation, in the embodiment of the present invention
Second aspect the 5th kind of implementation in, the terminal further include:
Cancel unit, for cancelling the instruction of the target icon stealth in reception user, and the user has stealth
When the setting permission of icon, the stealthy display effect of the target icon is reverted into normal display effect.
In conjunction with the embodiment of the present invention second aspect to second aspect the 5th kind of implementation, in the embodiment of the present invention
Second aspect the 6th kind of implementation in, the terminal further include:
Aobvious hidden unit, for showing the instruction of all stealth icon in reception user, and the user has stealth icon
Setting permission when, the icon of stealths all on current desktop is reverted into normal display effect;
Hide the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The stealthy icon for reverting to normal display effect on current desktop is restored stealthy.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
After the embodiment of the present invention receives user setting stealth icon instruction, according to the mark to stealthy target icon of acquisition
Know and the final parked position of target icon, root carry out image procossing to the target icon, make the target icon and work as
The fusion of front desktop background picture, obtains the stealthy display effect of the target icon, since target icon and Background background melt
It closes and obtains stealthy effect, while protecting privacy of user, it is good to avoid cumbersome hiding and ciphering process, user experience.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of icon display method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of icon display method in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of icon display method in the embodiment of the present invention;
Fig. 4 is one embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of terminal in the embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of icon display method and terminals, while protecting privacy of user, avoid
Cumbersome hiding and ciphering process, user experience is good.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Description and claims of this specification and the (if present)s such as term " first " in above-mentioned attached drawing, " second "
It is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that the number used in this way
According to being interchangeable under appropriate circumstances, so as to the embodiments described herein can in addition to the content for illustrating or describing herein with
Outer sequence is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover non-exclusive packet
Contain, for example, what the process, method, system, product or equipment for containing a series of steps or units were not necessarily limited to be clearly listed
Those step or units, but may include be not clearly listed or it is intrinsic for these process, methods, product or equipment
Other step or units.
Referring to Fig. 1, icon display method one embodiment includes: in the embodiment of the present invention
101, the instruction of user setting stealth icon is received;
In the present embodiment, terminal can receive the instruction of user setting stealth icon, such as user's long-pressing is normally shown
Icon pops up choice box, and therefrom selection setting stealth icon is instructed, and is not construed as limiting herein.
102, the mark of the stealthy target icon of acquisition user selection and the final parked position of target icon;
After the instruction for receiving user setting stealth icon, terminal can receive user and be selected by input equipment (such as touch screen)
The information for the position for needing stealthy target icon and the target icon to be finally resident is selected, the stealthy target icon of selection is obtained
Mark and the final parked position of target icon, for example, it may be user's long-pressing selection target on terminal touch screen
Icon drags to the position for needing finally to be resident, at this point, terminal is the mark of the target icon that may know that selection is stealthy and described
The final parked position of target icon, it is to be understood that target icon can not also be dragged herein, i.e. target icon is finally resident
Position or in situ, be not construed as limiting herein.
103, according to the mark of the target icon and the final parked position of target icon, to the target icon into
Row image procossing merges the target icon with current desktop background picture, obtains the stealthy display effect of the target icon
Fruit.
In the present embodiment, target icon to be treated can determine according to the mark of target icon, according to the target
The final parked position of icon carries out image procossing to the target icon, makes the target icon and current desktop background picture
Fusion, obtains the stealthy display effect of the target icon, and target icon is still shown with normal in final parked position at this time
It can equally click, but in terminal display, be merged with current desktop background picture, achieve the effect that stealthy display, user is selecting
When selecting final parked position, can be set by the mnemonic(al) scenery of desktop background, can also by terminal display screen boundary away from
From, or the relative position mnemonic(al) with other obvious objects or image, as long as reaching the position for facilitating user to remember, so as to mesh
After mark icon reaches stealthy effect, user still can find or click target icon and enter application, and onlooker can not be known
Whether user is mounted with the application, protects privacy of user.
After the embodiment of the present invention receives user setting stealth icon instruction, according to the mark to stealthy target icon of acquisition
Know and the final parked position of target icon, root carry out image procossing to the target icon, make the target icon and work as
The fusion of front desktop background picture, obtains the stealthy display effect of the target icon, since target icon and Background background melt
It closes and obtains stealthy effect, while protecting privacy of user, it is good to avoid cumbersome hiding and ciphering process, user experience.
It is right according to the mark of the target icon and the final parked position of target icon in embodiment shown in FIG. 1
The target icon carries out image procossing, merges the target icon with current desktop background picture, obtains the target
The stealthy display effect of icon, there are many implementations, such as are handled by mimicry formula stealth processing or all-transparent stealth, make
The target icon is merged with current desktop background picture, is obtained the stealthy display effect of the target icon, is not limited herein
It is fixed.
The mimicry formula stealth is handled i.e.: the background picture of final parked position replaces target where duplication target icon
The icon of icon merges target icon with background picture, reaches stealthy effect;The all-transparent stealth is handled i.e.: being passed through
The icon of target icon is subjected to all-transparent processing, background picture is directly displayed in the final parked position of target icon, reaches
Stealthy effect, the icon of target icon is all-transparent at this time, below specific embodiment be explained in detail.
One, the stealth of mimicry formula is handled;
Referring to Fig. 2, icon display method one embodiment includes: in the embodiment of the present invention
201, the instruction of user setting stealth icon is received;
In the present embodiment, terminal can receive the instruction of user setting stealth icon, such as user's long-pressing is normally shown
Icon pops up choice box, and therefrom selection setting stealth icon is instructed, and is not construed as limiting herein.
In the present embodiment, after the instruction for receiving user setting stealth icon, the method can also include: that pop-up is hidden
Shape icon prompt information, include in the prompt information in current desktop background user can utilize mnemonic(al) scenery beacon information, with
So that user facilitates memory according to the final parked position of mnemonic(al) scenery beacon information selection target icon in the prompt information.
202, the mark of the stealthy target icon of acquisition user selection and the final parked position of target icon;
After the instruction for receiving user setting stealth icon, terminal can receive user and be selected by input equipment (such as touch screen)
The information for the position for needing stealthy target icon and the target icon to be finally resident is selected, user is obtained and selects stealthy target
The mark of icon and the final parked position of target icon, for example, it may be user's long-pressing on terminal touch screen selects mesh
Icon is marked, the position for needing finally to be resident is dragged to, at this point, terminal is mark and the institute for the target icon that may know that selection is stealthy
State the final parked position of target icon, it is to be understood that target icon can not also be dragged herein, i.e. target icon is finally stayed
The position stayed or in situ, is not construed as limiting herein.
In the present embodiment, due to mnemonic(al) scenery size shape (such as mnemonic(al) with scenery be less than routine icon area) or
The special circumstances (for example parked position is located in the crack between two routine icon) of the final parked position of target icon, if
Stealth icon prompt information is popped up in step 201, then can also include: in the present embodiment
The form and dimension of the target icon is adjusted, so that the target mnemonic(al) scenery covers the target icon,
And the target icon is not conflicted at the target mnemonic(al) scenery with other positions icon.
203, current desktop background picture file is obtained;
Terminal display interface can all have powerful connections picture, such as launcher desktop, therefore can obtain current desktop Background
Piece file.
204, according to the final parked position of target icon, the target icon is obtained in the final parked position
Contour line;
According to the final parked position of target icon, the available final parked position boundary coordinate of target icon, root
According to obtained boundary coordinate, determine that target icon in the contour line of parked position, obtains the final parked position boundary target icon
The mode of coordinate can be such that when target icon is rectangle, can only obtain the coordinate on two diagonal vertex, be also possible to
The coordinate on all four vertex;When target icon is polygon, then need to obtain the coordinate on each vertex, when target icon is
It when round, then needs to obtain central coordinate of circle, i.e., round upper any point coordinate can determine half according to the line of the center of circle and the point in this way
Diameter, and so on, as long as can determine that target icon in the contour line of the final parked position, is not limited specifically herein
It is fixed.
205, the picture region block to fit like a glove with the contour line is replicated from the current desktop background picture file;
In current desktop background picture file, the picture region block that duplication fits like a glove with the contour line is being worked as
In front desktop background picture file, the background picture that the contour line frames is replicated, obtains picture region block (i.e. by target icon
The screenshot of that a part of covering).
206, according to the mark of selected target icon, the icon of the target icon is replaced with the picture region block;
The target icon contour line that picture region block is as reproduced above frames the background picture in region, with the picture
Region unit replaces the icon of the target icon, the icon and the back in target icon contour line for having reached target icon at this time
The image of scape picture is identical.
207, when the target icon has caption or frame, remove caption and the side of the target icon
Frame.
In the present embodiment, if target icon has caption or frame, the icon of target icon is only replaced, due to
The display of caption or frame still target icon " sketching the contours " or can show therefore, have in the target icon
When caption or frame, need to remove the caption and frame of the target icon.
Removing caption and frame, and after replacing with the picture region block icon of the target icon, target
The display effect of icon on the table will be completely the same with background picture, and the mimicry behavior for reaching similar insect or chameleon is made
At concealment effect.
It should be noted that step 207 is carried out finally in the present embodiment, it is possible to understand that, step 207 be it is independent into
Capable step is also possible to after other steps in other embodiments, or carries out simultaneously with other steps, step 207
Progress sequence, is not especially limited herein.
In order to facilitate user, the present embodiment method is also believed that adjustment target icon's hides and show state, in order to
It preventing other people from operating and gets privacy of user, this adjustment function can be realized in the way of authentication or identification, this
In the case of kind, the present embodiment method can also include:
Cancel the instruction of the target icon stealth in reception user, and the user has the setting permission of stealth icon
When, the stealthy display effect of the target icon is reverted into normal display effect.
When receiving user and cancelling the instruction of the target icon stealth, judging that the instruction sends user and whether has makes
With permission, such as setting password, the identification authentication modes such as fingerprint judge the permission of user's stealth icon, have in the user
When the setting permission of stealthy icon, the stealthy display effect of the target icon is reverted into normal display effect, likewise, also
It can be stealthy again by target icon.
The above be a target icon is shown, stealthy adjustment is shown on desktop in terminal in practical applications
When there are multiple icon stealths, the stealth and display of adjustment multiple icon simultaneously, under such situation, the present embodiment side can also be set
Method can also include:
Show the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The icon of stealths all on current desktop is reverted into normal display effect;
Hide the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The stealthy icon for reverting to normal display effect on current desktop is restored stealthy.
In the present embodiment, in such a way that mimicry formula stealth is handled, by the icon of target icon and current desktop Background
Piece be adjusted to unanimously, the target icon have caption or frame when, remove the target icon caption and
Frame finally reaches the stealthy effect of target icon display, while protecting privacy of user, avoids and cumbersome hide and add
Close process, user experience are good.
Two, all-transparent stealth is handled: after target icon processing, being allowed to be in all-transparent shape in final parked position
State;
Referring to Fig. 3, icon display method one embodiment includes: in the embodiment of the present invention
301, the instruction of user setting stealth icon is received;
In the present embodiment, terminal can receive the instruction of user setting stealth icon, such as user's long-pressing is normally shown
Icon pops up choice box, and therefrom selection setting stealth icon is instructed, and is not construed as limiting herein.
In the present embodiment, after the instruction for receiving user setting stealth icon, the method can also include: that pop-up is hidden
Shape icon prompt information, include in the prompt information in current desktop background user can utilize mnemonic(al) scenery beacon information, with
So that user facilitates memory according to the final parked position of mnemonic(al) scenery beacon information selection target icon in the prompt information.
302, the mark of the stealthy target icon of acquisition user selection and the final parked position of target icon;
After the instruction for receiving user setting stealth icon, terminal can receive user and be selected by input equipment (such as touch screen)
The information for the position for needing stealthy target icon and the target icon to be finally resident is selected, user is obtained and selects stealthy target
The mark of icon and the final parked position of target icon, for example, it may be user's long-pressing on terminal touch screen selects mesh
Icon is marked, the position for needing finally to be resident is dragged to, at this point, terminal is mark and the institute for the target icon that may know that selection is stealthy
State the final parked position of target icon, it is to be understood that target icon can not also be dragged herein, i.e. target icon is finally stayed
The position stayed or in situ, is not construed as limiting herein.
In the present embodiment, due to mnemonic(al) scenery size shape (such as mnemonic(al) with scenery be less than routine icon area) or
The special circumstances (for example parked position is located in the crack between two routine icon) of the final parked position of target icon, if
Stealth icon prompt information is popped up in step 301, then can also include: in the present embodiment
The form and dimension of the target icon is adjusted, so that the target mnemonic(al) scenery covers the target icon,
And the target icon is not conflicted at the target mnemonic(al) scenery with other positions icon.
303, the substantially transparent figure prestored is obtained;
Prestore a sufficiently large all-transparent picture in terminal, the picture can with any PaintShop (such as
Photoshop it is stored in terminal after) generating, " sufficiently large " refers to that area is enough to cover the area of any one icon, herein
This preset all-transparent picture is referred to as substantially transparent figure.
304, according to the final parked position of target icon, the target icon is obtained in the final parked position
Contour line;
According to the final parked position of target icon, the available final parked position boundary coordinate of target icon, root
According to obtained boundary coordinate, determine that target icon in the contour line of parked position, obtains the final parked position boundary target icon
The mode of coordinate can be such that when target icon is rectangle, can only obtain the coordinate on two diagonal vertex, be also possible to
The coordinate on all four vertex;When target icon is polygon, then need to obtain the coordinate on each vertex, when target icon is
It when round, then needs to obtain central coordinate of circle, i.e., round upper any point coordinate can determine half according to the line of the center of circle and the point in this way
Diameter, and so on, as long as can determine that target icon in the contour line of the final parked position, is not limited specifically herein
It is fixed.
305, the transparent segment to fit like a glove with the contour line is replicated from the substantially transparent figure;
In substantially transparent figure, the transparent segment that duplication fits like a glove with the contour line is multiple that is, in substantially transparent figure
The part for making the substantially transparent figure that the contour line frames, obtains transparent segment, identical as target icon shape size.
306, according to the mark of selected target icon, the icon of the target icon is replaced with the transparent segment;
Transparent segment block is the part that the target icon contour line being reproduced above frames the substantially transparent figure in region,
The icon of the target icon is replaced with the transparent segment, at this time target icon that is, perspective, user or other people
See the display of target icon, that is, is immediately seen current desktop background picture.
307, when the target icon has caption or frame, remove caption and the side of the target icon
Frame.
In the present embodiment, if target icon has caption or frame, the icon of target icon is only replaced, due to
The display of caption or frame still target icon " sketching the contours " or can show therefore, have in the target icon
When caption or frame, need to remove the caption and frame of the target icon.
Removing caption and frame, and after replacing with the transparent segment icon of the target icon, target
Icon is due to being all-transparent, display effect on the table, i.e., with the background picture complete one of target icon institute parked position
It causes, reaches the concealment effect of perspectiveization.
It should be noted that step 307 is carried out finally in the present embodiment, it is possible to understand that, step 307 be it is independent into
Capable step is also possible to after other steps in other embodiments, or carries out simultaneously with other steps, step 307
Progress sequence, is not especially limited herein.
In the present embodiment, it is assumed that if stealth target icon keeps all-transparent under any state, it is meant that target
Icon is all-transparent state in parked position and moving process, is also meaned that in the dragging process of target icon, mesh
Mark icon also combines together with ambient background and user can not be allowed visually to determine and dragged target icon really, in order to overcome
This possible disadvantage, target icon, which can be set, is only in all-transparent state in parked position, and can in moving process
To show the difference of oneself and ambient background picture, such as the displaying target in target icon moving process with certain visual manner
The frame line or transparency of the default icon of icon or displaying target icon the methods of reduce etc., do not limit specifically herein
It is fixed.
In order to facilitate user, the present embodiment method is also believed that adjustment target icon's hides and show state, in order to
It preventing other people from operating and gets privacy of user, this adjustment function can be realized in the way of authentication or identification, this
In the case of kind, the present embodiment method can also include:
Cancel the instruction of the target icon stealth in reception user, and the user has the setting permission of stealth icon
When, the stealthy display effect of the target icon is reverted into normal display effect.
When receiving user and cancelling the instruction of the target icon stealth, judging that the instruction sends user and whether has makes
With permission, such as setting password, the identification authentication modes such as fingerprint judge the permission of user's stealth icon, have in the user
When the setting permission of stealthy icon, the stealthy display effect of the target icon is reverted into normal display effect, likewise, also
It can be stealthy again by target icon.
The above be a target icon is shown, stealthy adjustment is shown on desktop in terminal in practical applications
When there are multiple icon stealths, the stealth and display of adjustment multiple icon simultaneously, under such situation, the present embodiment side can also be set
Method can also include:
Show the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The icon of stealths all on current desktop is reverted into normal display effect;
Hide the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The stealthy icon for reverting to normal display effect on current desktop is restored stealthy.
It should be understood that content described in this embodiment is only in the mode of all-transparent stealth processing target icon
One kind, the all-transparent effect of Yao Shixian target icon icon can also be other any modes, such as by the icon of target icon
It directly is processed into all-transparent state, rather than in the present embodiment in a manner of transparent segment substitution, full impregnated in the embodiment of the present invention
The concrete mode of the stealthy processing of brightization, is not especially limited herein.
In the present embodiment, in such a way that all-transparent stealth is handled, the icon of target icon is adjusted to all-transparent,
When the target icon has caption or frame, removes the caption and frame of the target icon, finally reach mesh
The stealthy effect of icon display is marked, while protecting privacy of user, avoids cumbersome hiding and ciphering process, user experience
It is good.
The terminal embodiment in the embodiment of the present invention is described below, referring to Fig. 4, one, the terminal in the embodiment of the present invention
Embodiment includes:
Receiving unit 401, for receiving the instruction of user setting stealth icon icon;
Acquiring unit 402 selects the mark of stealthy target icon and the target icon finally to stay for obtaining user
Stay position;
Stealthy processing unit 403, for according to the target icon mark and the final parked position of target icon,
Image procossing is carried out to the target icon, the target icon is merged with current desktop background picture, obtains the target
The stealthy display effect of icon.
Optionally, the stealthy processing unit 403 specifically can be used for:
Obtain current desktop background picture file;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The picture region block to fit like a glove with the contour line is replicated from the current desktop background picture file;
According to the mark of selected target icon, the icon of the target icon is replaced with the picture region block;
When the target icon has caption or frame, remove the caption and frame of the target icon.
Optionally, the stealthy processing unit 403 specifically can be used for:
Obtain the substantially transparent figure prestored;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The transparent segment to fit like a glove with the contour line is replicated from the substantially transparent figure;
According to the mark of selected target icon, the icon of the target icon is replaced with the transparent segment;
When the target icon has caption or frame, remove the caption and frame of the target icon.
After receiving unit 401 receives user setting stealth icon instruction in the embodiment of the present invention, stealthy processing unit 403
Mark and the final parked position of target icon according to the target icon to stealth of the acquisition of acquiring unit 402, root is to described
Target icon carries out image procossing, merges the target icon with current desktop background picture, obtains the target icon's
Stealthy display effect while protecting privacy of user, is kept away since target icon merges the stealthy effect of acquisition with Background background
It is good cumbersome hiding and ciphering process, user experience have been exempted from.
Referring to Fig. 5, terminal one embodiment in the embodiment of the present invention includes:
Receiving unit 501, for receiving the instruction of user setting stealth icon icon;
Acquiring unit 502 selects the mark of stealthy target icon and the target icon finally to stay for obtaining user
Stay position;
Stealthy processing unit 503, for according to the target icon mark and the final parked position of target icon,
Image procossing is carried out to the target icon, the target icon is merged with current desktop background picture, obtains the target
The stealthy display effect of icon.
Further, the terminal further include:
Prompt unit 504, for after the instruction for receiving user setting stealth icon, pop-up stealth icon prompt to be believed
It ceases, mnemonic(al) scenery beacon information can be utilized including user in current desktop background in the prompt information.
Optionally, the stealthy processing unit 503 specifically can be used for:
Obtain current desktop background picture file;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The picture region block to fit like a glove with the contour line is replicated from the current desktop background picture file;
According to the mark of selected target icon, the icon of the target icon is replaced with the picture region block;
When the target icon has caption or frame, remove the caption and frame of the target icon.
Optionally, the stealthy processing unit 503 specifically can be used for:
Obtain the substantially transparent figure prestored;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The transparent segment to fit like a glove with the contour line is replicated from the substantially transparent figure;
According to the mark of selected target icon, the icon of the target icon is replaced with the transparent segment;
When the target icon has caption or frame, remove the caption and frame of the target icon.
Optionally, the stealthy processing unit 503 is specifically also used to:
When the final parked position of target icon is at target mnemonic(al) scenery in current desktop background, described in adjustment
The form and dimension of target icon so that the target mnemonic(al) scenery covers the target icon, and makes the target
Icon does not conflict at the target mnemonic(al) scenery with other positions icon.
Optionally, the terminal further include:
Cancel unit, for cancelling the instruction of the target icon stealth in reception user, and the user has stealth
When the setting permission of icon, the stealthy display effect of the target icon is reverted into normal display effect.
Optionally, the terminal further include:
Aobvious hidden unit, for showing the instruction of all stealth icon in reception user, and the user has stealth icon
Setting permission when, the icon of stealths all on current desktop is reverted into normal display effect;
Hide the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The stealthy icon for reverting to normal display effect on current desktop is restored stealthy.
The terminal in the embodiment of the present invention is described from the angle of blocking functional entity above, below from hardware
The terminal in the embodiment of the present invention is described in the angle of processing, referring to Fig. 6, the terminal 600 in the embodiment of the present invention is wrapped
It includes:
(wherein the quantity of processor 603 can be with for input unit 601, output device 602, processor 603 and memory 604
One or more, in Fig. 6 by taking a processor 603 as an example).In some embodiments of the invention, input unit 601, output
Device 602, processor 603 and memory 604 can be connected by bus or other means, wherein to be connected by bus in Fig. 6
For.
Wherein, by the operational order for calling memory 604 to store, processor 603 is for executing following steps:
The present embodiments relate to terminal can have than more or fewer components illustrated in fig. 6, can combine
Two or more components, or can have different components and configure or set up, all parts can include one or more
The combination of hardware, software or hardware and software including a signal processing and/or specific integrated circuit is realized.
The processor 601 is for performing the following operations:
Receive the instruction that stealthy icon is arranged in input unit 601 by user
The processor 601 is also used to perform the following operations:
In user when input unit 601 selects the final parked position of the stealthy target icon and target icon, obtain
Take the stealthy target icon of family selection mark and the final parked position of target icon;
The processor 601 is also used to perform the following operations:
According to the mark of the target icon and the final parked position of target icon, figure is carried out to the target icon
As processing, merges the target icon with current desktop background picture, obtain the stealthy display effect of the target icon,
Output device 602 is shown.
Optionally, the processor 601 is also used to perform the following operations:
Obtain current desktop background picture file;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The picture region block to fit like a glove with the contour line is replicated from the current desktop background picture file;
According to the mark of selected target icon, the icon of the target icon is replaced with the picture region block;
When the target icon has caption or frame, remove the caption and frame of the target icon.
Optionally, the processor 601 is also used to perform the following operations:
Obtain the substantially transparent figure prestored;
According to the final parked position of target icon, the target icon is obtained in the profile of the final parked position
Line;
The transparent segment to fit like a glove with the contour line is replicated from the substantially transparent figure;
According to the mark of selected target icon, the icon of the target icon is replaced with the transparent segment;
When the target icon has caption or frame, remove the caption and frame of the target icon.
Optionally, the processor 601 is also used to perform the following operations:
After the instruction for receiving user setting stealth icon, stealthy icon is popped up by input unit 601 and is prompted
Information, include in the prompt information in current desktop background user can utilize mnemonic(al) scenery beacon information.
Optionally, the processor 601 is also used to perform the following operations:
When the final parked position of target icon is at target mnemonic(al) scenery in current desktop background, described in adjustment
The form and dimension of target icon so that the target mnemonic(al) scenery covers the target icon, and makes the target
Icon does not conflict at the target mnemonic(al) scenery with other positions icon.
Optionally, the processor 601 is also used to perform the following operations:
Cancel the instruction of the target icon stealth in reception user, and the user has the setting permission of stealth icon
When, the stealthy display effect of the target icon is reverted into normal display effect.
Optionally, the processor 601 is also used to perform the following operations:
Show the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The icon of stealths all on current desktop is reverted into normal display effect;
Hide the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when,
The stealthy icon for reverting to normal display effect on current desktop is restored stealthy.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (8)
1. a kind of icon display method characterized by comprising
Receive the instruction of user setting stealth icon;
The mark of the stealthy target icon of acquisition user's selection and the final parked position of target icon;The finally resident position
It sets, is the dragged position being finally resident later the target icon;
According to the mark of the target icon and the final parked position of target icon, the target icon is carried out at image
Reason, merges the target icon with current desktop background picture, obtains the stealthy display effect of the target icon;It is obtaining
After the stealthy display effect of the target icon, if the target icon is moved, in the moving process, with default
Visual manner shows the difference of the target icon and ambient background picture;In the instruction for receiving user setting stealth icon
Later, the method also includes:
Stealth icon prompt information is popped up, mnemonic(al) scenery mark can be utilized including user in current desktop background in the prompt information
Show information, so that user selects the target icon to be finally resident position according to mnemonic(al) scenery beacon information in the prompt information
It sets;
The mark according to the target icon and the final parked position of target icon, carry out figure to the target icon
As processing, so that the target icon is merged with current desktop background picture and is included:
Obtain the substantially transparent figure prestored;
According to the final parked position of target icon, the target icon is obtained in the contour line of the final parked position;
The transparent segment to fit like a glove with the contour line is replicated from the substantially transparent figure;
According to the mark of selected target icon, the icon of the target icon is replaced with the transparent segment;
When the target icon has caption or frame, remove the caption and frame of the target icon.
2. method according to claim 1, which is characterized in that the final parked position of target icon is current desktop
At target mnemonic(al) scenery in background;
The mark of the target icon according to selected by and the final parked position of target icon carry out the target icon
Image procossing merges the target icon with current desktop background picture further include:
The form and dimension of the target icon is adjusted, so that the target mnemonic(al) scenery covers the target icon, and is made
The target icon is obtained not conflict at the target mnemonic(al) scenery with other positions icon.
3. according to claim 1 to any method in 2, which is characterized in that the method also includes:
Cancel the instruction of target icon stealth receiving user, and the user with stealth icon setting permission when,
The stealthy display effect of the target icon is reverted into normal display effect.
4. according to claim 1 to any method in 2, which is characterized in that the method also includes:
Show the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when, will work as
The icon of all stealths reverts to normal display effect on front desktop;
Hide the instruction of all stealth icon receiving user, and the user with stealth icon setting permission when, will work as
The stealthy icon for reverting to normal display effect on front desktop restores stealthy.
5. a kind of terminal characterized by comprising
Receiving unit, for receiving the instruction of user setting stealth icon icon;
Acquiring unit, for obtain user select stealthy target icon mark and the final parked position of target icon;
The final parked position is the dragged position being finally resident later the target icon;
Stealthy processing unit, for according to the target icon mark and the final parked position of target icon, to described
Target icon carries out image procossing, merges the target icon with current desktop background picture, obtains the target icon's
Stealthy display effect;After the stealthy display effect for obtaining the target icon, if the target icon is moved, in institute
It states in moving process, to preset the difference that visual manner shows the target icon and ambient background picture;
The terminal further include:
Prompt unit, it is described to mention for after the instruction for receiving user setting stealth icon, popping up stealth icon prompt information
Show in information to include that user can be using mnemonic(al) scenery beacon information, so that user believes according to the prompt in current desktop background
Mnemonic(al) scenery beacon information selects the final parked position of target icon in breath;
The stealth processing unit is specifically used for:
Obtain the substantially transparent figure prestored;
According to the final parked position of target icon, the target icon is obtained in the contour line of the final parked position;
The transparent segment to fit like a glove with the contour line is replicated from the substantially transparent figure;
According to the mark of selected target icon, the icon of the target icon is replaced with the transparent segment;
When the target icon has caption or frame, remove the caption and frame of the target icon.
6. terminal according to claim 5, which is characterized in that the stealth processing unit is specifically also used to:
The final parked position of target icon be current desktop background on target mnemonic(al) scenery at when, adjust the target
The form and dimension of icon so that the target mnemonic(al) scenery covers the target icon, and makes the target icon exist
Do not conflict at the target mnemonic(al) scenery with other positions icon.
7. according to any terminal of claim 5 to 6, which is characterized in that the terminal further include:
Cancel unit, for cancelling the instruction of the target icon stealth in reception user, and the user has stealth icon
Setting permission when, the stealthy display effect of the target icon is reverted into normal display effect.
8. according to any terminal of claim 5 to 6, which is characterized in that the terminal further include:
Aobvious hidden unit, for showing the instruction of all stealth icon, and the user setting with stealth icon in reception user
When setting permission, the icon of stealths all on current desktop is reverted into normal display effect;All stealths are hidden receiving user
The instruction of icon, and when the user has the setting permission of stealth icon, normal display will be reverted on current desktop will imitate
The stealthy icon of fruit restores stealthy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510038558.3A CN105893795B (en) | 2015-01-26 | 2015-01-26 | A kind of icon display method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510038558.3A CN105893795B (en) | 2015-01-26 | 2015-01-26 | A kind of icon display method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105893795A CN105893795A (en) | 2016-08-24 |
CN105893795B true CN105893795B (en) | 2019-08-20 |
Family
ID=56999146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510038558.3A Active CN105893795B (en) | 2015-01-26 | 2015-01-26 | A kind of icon display method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893795B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775217B (en) * | 2016-11-30 | 2019-10-25 | Oppo广东移动通信有限公司 | A kind of application identities processing method, device and terminal |
WO2019061282A1 (en) * | 2017-09-29 | 2019-04-04 | 深圳传音通讯有限公司 | Intelligent terminal and method for displaying application icons thereof |
CN111176531A (en) * | 2020-01-03 | 2020-05-19 | 京东方科技集团股份有限公司 | Electronic device, interaction method thereof and computer-readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750101A (en) * | 2012-06-26 | 2012-10-24 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for triggering application starting instruction |
CN103020932A (en) * | 2012-12-04 | 2013-04-03 | 广东欧珀移动通信有限公司 | Application icon mask processing method and system |
CN104142776A (en) * | 2013-07-18 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Icon processing method and device |
-
2015
- 2015-01-26 CN CN201510038558.3A patent/CN105893795B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750101A (en) * | 2012-06-26 | 2012-10-24 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for triggering application starting instruction |
CN103020932A (en) * | 2012-12-04 | 2013-04-03 | 广东欧珀移动通信有限公司 | Application icon mask processing method and system |
CN104142776A (en) * | 2013-07-18 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Icon processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105893795A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112767285B (en) | Image processing method and device, electronic device and storage medium | |
JP6529659B2 (en) | Information processing method, terminal and computer storage medium | |
CN105159687B (en) | A kind of information processing method, terminal and computer-readable storage medium | |
CN109816764B (en) | Image generation method and device, electronic equipment and storage medium | |
US10554803B2 (en) | Method and apparatus for generating unlocking interface, and electronic device | |
CN113160094A (en) | Image processing method and device, electronic equipment and storage medium | |
CN105893795B (en) | A kind of icon display method and terminal | |
CN104809417A (en) | Method and device for shielding information on display screen and equipment | |
CN108650391A (en) | A kind of display methods and terminal of caller id information | |
US10437420B2 (en) | Method and apparatus for setting background picture of unlocking interface of application, and electronic device | |
EP2998845A1 (en) | User interface based interaction method and related apparatus | |
CN105430317B (en) | A kind of video background setting method and terminal device | |
CN110120028A (en) | A kind of bionical rattle snake is infrared and twilight image Color Fusion and device | |
CN105320871A (en) | Screen unlocking method and screen unlocking apparatus | |
CN105915359A (en) | Method for controlling equipment networking condition and device and system thereof | |
CN104516644A (en) | Method for free screen capture and terminal | |
CN109710362A (en) | Screenshot processing method calculates equipment and computer storage medium | |
CN104615418A (en) | Slideable play window implementation method and device | |
CN103873834A (en) | Image acquisition method and corresponding image acquisition unit | |
CN106780359A (en) | A kind of data editing method, device and mobile terminal | |
CN108919951B (en) | Information interaction method and device | |
JP2018535473A (en) | Method and apparatus for distinguishing objects | |
CN104486553B (en) | A kind of distant view photograph image pickup method and terminal | |
JP6383101B2 (en) | Image processing method, image processing apparatus, and computer recording medium | |
CN103826061B (en) | Information processing method and electronic device |
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 |