CN103677791B - A kind of icon processing method and electronic equipment - Google Patents
A kind of icon processing method and electronic equipment Download PDFInfo
- Publication number
- CN103677791B CN103677791B CN201210364518.4A CN201210364518A CN103677791B CN 103677791 B CN103677791 B CN 103677791B CN 201210364518 A CN201210364518 A CN 201210364518A CN 103677791 B CN103677791 B CN 103677791B
- Authority
- CN
- China
- Prior art keywords
- shape
- icon
- electronic equipment
- predetermined shape
- predetermined
- 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
Abstract
The invention discloses a kind of icon processing method, for reducing misuse rate.Methods described includes:Obtaining one needs to be added to the first icon for being shaped as first shape shown on the display unit of the electronic equipment;Judge whether the first shape meets a predetermined shape, obtain a judged result;When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as the second icon of the second shape, wherein, second shape meets the predetermined shape.The invention also discloses the electronic equipment for realizing methods described.
Description
Technical field
The present invention relates to computer and built-in field, more particularly to a kind of icon processing method and electronic equipment.
Background technology
In the prior art, either mobile phone or PC(Personal computer), icon therein has specific shape, same
Icon shape in electronic equipment is essentially identical, so as to meet visual cleaning.
And, the icon shape in different electronic equipments may be differed, such as the icon shape in some mobile phones is side
Icon shape in shape, some mobile phones is circle, or there may also be other shapes, and this is relevant with the setting of each production firm,
Also the characteristic of different brands is highlighted.
Present inventor has found exist in the prior art during the embodiment of the present application technical scheme is realized, at least
Following technical problem:
When installing third-party application software, because third-party application software is most likely not to be opened by mobile phone production firm
Hair, then the corresponding icon shape of third-party application software may be different from the icon shape in used mobile phone, and this obviously holds
Maloperation is easily caused, visual effect is also have impact on.
For this problem, in the prior art still without solution.
The content of the invention
The embodiment of the present invention provides a kind of icon processing method and electronic equipment, for answering that solution is installed in the prior art
With the corresponding icon shape of program and the inconsistent technical problem of existing icon shape, the technology of reduction misuse rate is realized
Effect.
A kind of icon processing method, applied in an electronic equipment, methods described includes:
Obtaining one needs to be added to be shaped as first shape the shown on the display unit of the electronic equipment
One icon;
Judge whether the first shape meets a predetermined shape, obtain a judged result;
When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as the second shape
The second icon, wherein, second shape meets the predetermined shape.
Preferably, obtain one need to be added to shown on the display unit of the electronic equipment be shaped as the first shape
The step of first icon of shape, includes:
When needing to install the first application program in the electronic equipment, obtain corresponding with first application program
First object, first object is used to generate first icon for being shaped as the first shape;Or,
Obtain described when needing to install the first application program corresponding with first icon in the electronic equipment
First icon;Or,
Described first is obtained when needing and adding the first file corresponding with first icon on the display unit
Icon.
Preferably, the predetermined shape is the general icon shape in the electronic equipment.
Preferably, when the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as
The step of second icon of the second shape, includes:Show that first icon does not meet the predetermined shape in the judged result
When, the first shape corresponding to first icon is adjusted, and makes first icon be coated on the predetermined shape
On the outside of corresponding pre-determined model, second icon of second shape is obtained.
Preferably, when the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as
The step of second icon of the second shape, includes:Show that first icon does not meet the predetermined shape in the judged result
When, the first shape to first icon is adjusted, so as to make first icon of the first shape be embedded in
In the corresponding pre-determined model of the predetermined shape, second icon of second shape is obtained.
Preferably, when the judged result shows that first icon does not meet the predetermined shape, generation is shaped as
The step of second icon of the second shape, includes:Show that the first shape does not meet the predetermined shape in the judged result
When, the first shape to first icon is adjusted, and the first shape is adjusted to and the predetermined shape phase
Same shape, obtains second icon of second shape.
Preferably, also including step after generation is shaped as the second icon of the second shape:Second icon is entered
The processing of row edge blurry.
Preferably, after generation is shaped as the second icon of the second shape, on the display unit of the electronic equipment also
Including at least one the 3rd icon, wherein the 3rd icon the corresponding 3rd is shaped differently than second shape;The side
Method also includes step:
First is obtained to operate;
Described first operation is responded, the corresponding to the 4th shape is generated according at least one described the 3rd icon
Four icons, wherein the 4th shape is identical with second shape.
A kind of icon processing method, applied in an electronic equipment, includes first on the display unit of the electronic equipment
Icon and the second icon, wherein the corresponding first shape of first icon is different from corresponding second shape of second icon
Shape;Methods described includes step:
First is obtained to operate;
Described first operation is responded, first icon shown with the 3rd shape on the display unit
Show;Second icon is shown with the 4th shape;Wherein, the 3rd shape is identical with the 4th shape.
Preferably, including step carrying out response to the described first operation:
Judge whether the corresponding first shape of first icon meets a predetermined shape, obtain a judged result;
When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as the 3rd shape
The first new icon, the 3rd shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the first icon correspondence is maintained
The first shape;And/or;
Judge whether corresponding second shape of second icon meets a predetermined shape, obtain a judged result;
When the judged result shows that the shape does not meet the predetermined shape, generation is shaped as the 4th shape
The second new icon;4th shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the second icon correspondence is maintained
Second shape.
A kind of electronic equipment, the electronic equipment includes:
First acquisition module, needs to be added to the shape shown on the display unit of the electronic equipment for obtaining one
Shape is the first icon of first shape;
Judge module, for judging whether the first shape meets a predetermined shape, obtains a judged result;
Generation module, for when the judged result shows that the first shape does not meet the predetermined shape, generating
The second icon of the second shape is shaped as, wherein, second shape meets the predetermined shape.
Preferably, first acquisition module specifically for:
When needing to install the first application program in the electronic equipment, obtain corresponding with first application program
First object, first object is used to generate first icon for being shaped as the first shape;Or,
Obtain described when needing to install the first application program corresponding with first icon in the electronic equipment
First icon;Or,
Described first is obtained when needing and adding the first file corresponding with first icon on the display unit
Icon.
Preferably, the predetermined shape is the general icon shape in the electronic equipment.
Preferably, the generation module specifically for:Show that first icon is not met in the judged result described
During predetermined shape, the first shape corresponding to first icon is adjusted, and makes first icon be coated on described
On the outside of the corresponding pre-determined model of predetermined shape, second icon of second shape is obtained.
Preferably, the generation module specifically for:Show that first icon is not met in the judged result described
During predetermined shape, the first shape to first icon is adjusted, so as to make described the first of the first shape
Icon is embedded in the corresponding pre-determined model of the predetermined shape, obtains second icon of second shape.
Preferably, the generation module specifically for:Show that the first shape is not met in the judged result described
During predetermined shape, the first shape to first icon is adjusted, by the first shape be adjusted to it is described pre-
Shape shape identical shape, obtains second icon of second shape.
Preferably, the electronic equipment also includes processing module, for carrying out edge blurry processing to second icon.
Preferably, also including at least one the 3rd icon on the display unit of the electronic equipment, wherein the 3rd figure
Mark the corresponding 3rd and be shaped differently than second shape;The electronic equipment also includes the second acquisition module, for obtaining the
One operation;
The generation module is additionally operable to:Described first operation is responded, given birth to according at least one described the 3rd icon
Into the 4th icon corresponding to the 4th shape, wherein the 4th shape is identical with second shape.
Include the first icon and the second icon on a kind of electronic equipment, the display unit of the electronic equipment, wherein described
The corresponding first shape of first icon is different from corresponding second shape of second icon;The electronic equipment includes:
Second acquisition module, is operated for obtaining first;
Respond module, for being responded to the described first operation, with the 3rd shape to described on the display unit
First icon is shown;Second icon is shown with the 4th shape;Wherein, the 3rd shape and the described 4th
Shape is identical.
Preferably, the respond module specifically for:
Judge whether the corresponding first shape of first icon meets a predetermined shape, obtain a judged result;
When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as the 3rd shape
The first new icon, the 3rd shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the first icon correspondence is maintained
The first shape;And/or;
Judge whether corresponding second shape of second icon meets a predetermined shape, obtain a judged result;
When the judged result shows that the shape does not meet the predetermined shape, generation is shaped as the 4th shape
The second new icon;4th shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the second icon correspondence is maintained
Second shape.
Icon processing method in the embodiment of the present invention can apply in an electronic equipment, and methods described includes:Obtain
One needs to be added to the first icon for being shaped as first shape shown on the display unit of the electronic equipment;Judge institute
State whether first shape meets a predetermined shape, obtain a judged result;Show first icon not in the judged result
When meeting the predetermined shape, generation is shaped as the second icon of the second shape, wherein, second shape meets described predetermined
Shape.
When needing to add the first icon on the display unit of the electronic equipment, described first can be first judged
Whether the corresponding first shape of icon meets predetermined shape, and normal adding procedure can be continued if meeting, if be unsatisfactory for,
Then need to handle first icon of the first shape, so that the shape of first icon after processing is met
The predetermined shape, so as to so that the corresponding icon shape of application program installed is consistent with existing icon shape, effectively
Maloperation is avoided, the aesthetic of user is also complied with, Consumer's Experience is improved.
Brief description of the drawings
Figure 1A is a kind of broad flow diagram of icon processing method in the embodiment of the present invention;
Figure 1B be the embodiment of the present invention in carry out icon before processing electronic equipment display unit in show X-Y scheme
When display effect schematic diagram;
Fig. 1 C be the embodiment of the present invention in carry out icon before processing electronic equipment display unit in show 3-D graphic
When display effect schematic diagram;
Fig. 1 D be the embodiment of the present invention in carry out icon processing after electronic equipment display unit in show X-Y scheme
When display effect schematic diagram;
Fig. 1 E be the embodiment of the present invention in carry out icon processing after electronic equipment display unit in show 3-D graphic
When display effect schematic diagram;
Fig. 2 is the broad flow diagram of another icon processing method in the embodiment of the present invention;
Fig. 3 is the detailed structure view of a kind of electronic equipment in the embodiment of the present invention;
Fig. 4 is the primary structure figure of another electronic equipment in the embodiment of the present invention.
Embodiment
Icon processing method in the embodiment of the present invention can apply in an electronic equipment, and methods described includes:Obtain
One needs to be added to the first icon for being shaped as first shape shown on the display unit of the electronic equipment;Judge institute
State whether first shape meets a predetermined shape, obtain a judged result;Show first icon not in the judged result
When meeting the predetermined shape, generation is shaped as the second icon of the second shape, wherein, second shape meets described predetermined
Shape.
When needing to add the first icon on the display unit of the electronic equipment, described first can be first judged
Whether the corresponding first shape of icon meets predetermined shape, and normal adding procedure can be continued if meeting, if be unsatisfactory for,
Then need to handle first icon of the first shape, so that the shape of first icon after processing is met
The predetermined shape, so as to so that the corresponding icon shape of application program installed is consistent with existing icon shape, effectively
Maloperation is avoided, the aesthetic of user is also complied with, Consumer's Experience is improved.
It is the main flow of icon processing method in the embodiment of the present invention referring to Figure 1A, methods described can apply to one
In electronic equipment.The main flow of methods described is as follows:
Step 101:Obtain one need to be added to shown on the display unit of the electronic equipment be shaped as first
First icon of shape.
When needing to install the first application program in the electronic equipment, or install in the electronic equipment described the
During one application program, the first object can be obtained, in normal mounting flow, first object can be used for generation
First icon of the first shape is shaped as, i.e., described first object can be an intermediate treatment object, institute is being installed
Stating in the normal flow of the first application program can make its generate first icon by the processing to first object.
Or, when needing to install the first application program in the electronic equipment, or institute is installed in the electronic equipment
During stating the first application program, first icon can be directly obtained.Wherein, first application program is installed
Afterwards, first icon may be displayed on the display unit of the electronic equipment, and user can be by clicking on described
One icon enters first application program.
Or, can obtain institute when needing and adding the first file corresponding with first icon on the display unit
State the first icon.For example, can also be obtained when by first file copy to the display unit and first file
Corresponding first icon, first file can be word document, photo-document or other kinds of file.
Step 102:Judge whether the first shape meets a predetermined shape, obtain a judged result.
After first icon is obtained, the corresponding pre-determined model of the predetermined shape can be called, with according to described pre-
Cover half type judges whether the corresponding first shape of first icon meets the predetermined shape, can obtain the judgement
As a result.
If for example, the predetermined shape is circle, the pre-determined model can be a size and the predetermined shape
Equal circular frame, if the predetermined shape is square, the pre-determined model can be a size and the predetermined shape
Equal square box, etc..Wherein, the predetermined shape can be the general icon shape in the electronic equipment.For example, every
The specific icon shape of their own may all be had by planting mobile phone or every kind of notebook.
Wherein, if what is obtained in a step 101 is first icon, first icon pair can directly be judged
Whether the first shape answered meets the predetermined shape, can if what is obtained in a step 101 is first object
Whether the corresponding first shape of first icon that will be generated with judging first object meets the preboarding
Shape.
Step 103:When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as
Second icon of the second shape, wherein, second shape meets the predetermined shape.
If the judged result shows first icon, the corresponding first shape does not meet the predetermined shape,
Second icon for being shaped as second shape can then be generated.Wherein, process shown in Figure 1A occurs by icon
Before being shown in the display unit, i.e., first have to be judged before icon is shown, judge to be shown
Icon, i.e., whether the first shape corresponding to described first icon meets the predetermined shape, if it is judged that table
The bright first shape does not meet the predetermined shape, then needs to be shaped as second shape according to predetermined shape generation
Second icon, second shape meets the predetermined shape.
In the embodiment of the present invention, if what is obtained in a step 101 is first icon, generation is shaped as described the
The second figure calibration method of two shapes can have a variety of, and several possible examples are only enumerated below and are illustrated.Following
Embodiment is only intended to explain the present invention, and cannot be used for the limitation present invention, for specifically how to generate second shape
Second icon, the present invention be not limited.
First, then can be to first figure if it is judged that showing that the first shape does not meet the predetermined shape
Mark the corresponding first shape to be adjusted, make first icon be coated on outside the corresponding pre-determined model of the predetermined shape
Side, obtains second icon of second shape.
For example, the predetermined shape is circle, then the pre-determined model can be and the predetermined shape size identical
Circular frame.If it is judged that showing that the first shape does not meet the predetermined shape, then first shape can be directly made
First icon of shape is coated on the outside of the pre-determined model completely, obtains second icon, then second icon
Shape be exactly the pre-determined model shape, therefore second shape can be identical with the shape of the predetermined icon.
Now, can be according to described predetermined if it is judged that showing that the first shape does not meet the predetermined shape
Model accordingly adjusts the first shape, for example, can adjust first shape according to the surface parameter of the pre-determined model
Shape.If for example, the pre-determined model is circular or spherical, curvature that can be circular or spherical according to this accordingly adjusts institute
State first shape so that the first shape can it is circular to this or it is spherical equally carry out it is corresponding bend or figure deformation, from
And first icon is coated on completely on the outside of the pre-determined model, wrap up one layer equivalent to the pre-determined model
Shell.
Wherein, before first icon is handled according to the pre-determined model, first have to judge described first
Whether the corresponding first shape of icon is corresponding to the size of the pre-determined model, if not corresponding, it is necessary to first to described the
The size of one shape is adjusted, it is ensured that after second icon of second shape is obtained, second shape
Size is identical with the size of the pre-determined model.
2nd, then can be to first figure if it is judged that showing that the first shape does not meet the predetermined shape
Mark the corresponding first shape to be adjusted, so as to make first icon of the first shape be embedded in the predetermined shape
In corresponding pre-determined model, second icon of second shape is obtained.
Now, then can be to described first if it is judged that showing that the first shape does not meet the predetermined shape
The corresponding first shape of icon is adjusted, and makes first icon be embedded in the pre-determined model, so as to obtain described
Second icon.
If for example, the predetermined shape is circle, the pre-determined model is size and the preboarding of the predetermined icon
Shape size identical circular frame.If it is judged that show that the first shape does not meet the predetermined shape, then can be to institute
State the corresponding first shape of the first icon to be adjusted, specifically, can be according to the relevant parameter pair of the pre-determined model
The first shape is adjusted.If for example, the size of the corresponding first shape of first icon is more than described pre-
The size of cover half type, then need accordingly to reduce the size of the first shape according to the size of the pre-determined model, will be described
First icon is embedded in the circular frame, obtains second icon of second shape, such as, if first figure
The size for marking the corresponding first shape is less than the size of the pre-determined model, if the first shape directly is embedded in into institute
State pre-determined model, the blank parts that may be reserved are more, be unfavorable for maximally utilizing first icon, then can basis
The size of the pre-determined model accordingly increases the size of the first shape, so as to which first icon is embedded in the circular frame
The volume and/or area of the icons of Shi Suoshu first are maximum, obtain second icon of second shape.By described
After one icon is embedded in the circular frame, the place of blank is might have in the circular frame, by the method for graphics process to these
Blank space is filled up, so that second icon is more plentiful.
Such as, if the predetermined shape is spherical, it is pre- with the predetermined icon that the pre-determined model is size
Determine shape size identical square box., then can be with if it is judged that show that the first shape does not meet the predetermined shape
The first shape corresponding to first icon is adjusted, specifically, can be according to the corresponding ginseng of the pre-determined model
It is several that the first shape is adjusted.If for example, the size of the corresponding first shape of first icon is more than institute
The size of pre-determined model is stated, then needs accordingly to reduce the size of the first shape according to the size of the pre-determined model, will
First icon is embedded in the spherical frame, obtains second icon of second shape, such as, if described
The size of the corresponding first shape of one icon is less than the size of the pre-determined model, if directly that the first shape is embedding
Enter the pre-determined model, the blank parts that may be reserved are more, be unfavorable for maximally utilizing first icon, then can be with
Accordingly increase the size of the first shape according to the size of the pre-determined model, so that it is spherical that first icon is embedded in into this
The volume and/or area of first icon described in when in frame are maximum, obtain second icon of second shape.By institute
State after the first icon is embedded in the spherical frame, the place of blank is might have in the spherical frame, can be by the side of graphics process
Method is filled up to these blank spaces, so that second icon is more plentiful.
Or, if the pre-determined model is other shapes, first icon can also be embedded in corresponding described pre-
In cover half type.
, can be to described if the 3rd, the judged result shows that the first shape does not meet the predetermined shape
The first shape of first icon is adjusted, by the first shape be adjusted to the predetermined shape identical shape,
Obtain second icon of second shape.
, can be directly by described if the judged result shows that the first shape does not meet the predetermined shape
One Adjusting Shape is second shape, and second shape is identical with the predetermined shape.
The adjustment can be by way of image procossing, if for example, the predetermined shape is circle, the pre-determined model
For size and the predetermined shape size identical circular frame of the predetermined icon.If it is judged that showing the first shape not
Meet the predetermined shape, such as described first shape, then can first shape corresponding to first icon to be square
Shape is adjusted.In adjustment, can by this it is square be cut into circle, if obtained circular size is more than and institute after cutting
The size of pre-determined model is stated, then needs to carry out reduced overall to the circle, so that its size and the size phase of the pre-determined model
Together, if the circular size obtained after cutting is less than the size of the pre-determined model, also need accordingly to fill out the circle
Mend, for example, can be filled up in the circular outside, obtain second icon of second shape, second shape need to be ensured
The size of shape is identical with the size of the pre-determined model;Such as, if the predetermined shape is square, the pre-determined model
For size and the predetermined shape size identical square box of the predetermined icon.If it is judged that showing the first shape not
Meet the predetermined shape, such as described first shape is circle, then can first shape corresponding to first icon
Shape is adjusted.In adjustment, the circle can be cut into it is square, if obtained square size is more than and institute after cutting
The size of pre-determined model is stated, then is needed to the square carry out reduced overall, so that its size and the size phase of the pre-determined model
Together, if obtained square size is less than the size of the pre-determined model after cutting, also need square accordingly to fill out this
Mend, for example, can be filled up in the square outside, obtain second icon of second shape, second shape need to be ensured
The size of shape is identical with the size of the pre-determined model;Or, can also be according to institute if the pre-determined model is other shapes
Pre-determined model is stated to adjust accordingly the first shape.
Or, if it is judged that show that the first shape does not meet the predetermined shape, then can be by described first
First icon of shape carries out respective handling.If, can be with for example, pre-determined model described in the present embodiment is circular frame
Make a circumscribed circle for first icon, the size of the circumscribed circle is identical with the size of the pre-determined model, obtain described the
Second icon of two shapes.After the circumscribed circle is done, the place of blank is might have in the circumscribed circle, can be to these
Blank space is filled up, so that second icon is more plentiful;Such as, if pre-determined model is described in the present embodiment
Square box, then can make an external square box, the size of the external square box will be with the pre-determined model for first icon
Size it is identical, obtain second icon of second shape.After the external square box is done, in the external square box
The place of blank is might have, these blank spaces can be filled up, so that second icon is more plentiful.Or, such as
Really described pre-determined model is other shapes, then can also be according to the shape of the pre-determined model to described the of the first shape
One icon carries out respective handling, obtains second icon of second shape.
Or, there can also be other method to generate second icon of second shape, the present invention is not limited.
The mode of second icon is generated in the embodiment of the present invention can a variety of, and system can be preset, or
Can also voluntarily it be selected by user, mode is flexible.
And, the predetermined shape in the embodiment of the present invention is set when can dispatch from the factory, or can also be by user
Voluntarily set, such as system can provide the user a variety of possible shapes, by user therefrom choose the shape liked Lai
It will show as the predetermined shape, then using the icon processing method provided in an embodiment of the present invention in the display unit
The part or all of icon shown is processed as the icon of the predetermined shape, can both avoid maloperation, can at utmost expire again
The demand of sufficient user, improves Consumer's Experience.
In the embodiment of the present invention, if what is obtained in a step 101 is first object, if in a step 102
Judge that the first shape for determining first icon corresponding to first object does not meet the predetermined shape, can be with
Second icon of second shape is directly generated according to first object.If for example, judged in a step 102 true
The first shape of first icon corresponding to fixed first object does not meet the predetermined shape, can be with described
Pre-determined model is framework, directly generates second icon of second shape.
In the embodiment of the present invention, if do not handled variform icon, obtained display effect can be as
Shown in Figure 1B, Figure 1B is illustrated so that the electronic equipment is mobile phone as an example, shows 4 kinds of shapes in the display screen of the mobile phone altogether
Illustrated in the icon of shape, Figure 1B with the icon of two-dimensional shapes, or as shown in Figure 1 C, it with the electronic equipment is hand that Fig. 1 C, which are,
Illustrated exemplified by machine, show in the icon of 2 kinds of shapes, Fig. 1 C to enter with the icon of 3D shape altogether in the display screen of the mobile phone
Row explanation.And use after the method in the embodiment of the present invention handled variform icon, can obtain such as Fig. 1 D or
Such as Fig. 1 E display effect:Assuming that the circle in Figure 1B is the predetermined shape, then the electronic equipment can after being disposed
To obtain effect as shown in figure iD, or assume that the cuboid in Fig. 1 C is the predetermined shape, then the electronic equipment is at place
Reason can obtain effect as referring to figure 1E after finishing.
The shape of icon in embodiments of the invention can also be able to be 3D shape for two-dimensionses shape.Certainly it is newborn
Into the icon for meeting the predetermined shape its shape can also be able to be 3D shape for two-dimensionses shape.
In the embodiment of the present invention, after second icon is obtained, edge blurry etc. can be carried out to second icon
Processing so that second icon looks more neat unification, from visual effect for it is more excellent.
In the embodiment of the present invention, after second icon of second shape is generated, the electronic equipment it is described
Second icon can be shown on display unit.
In the embodiment of the present invention, the display unit can show icon of different shapes.If on the display unit
Second icon of second shape is not only shown, the 3rd icon corresponding to the 3rd shape, described is also shown
Three are shaped differently than second shape, then illustrate not handle it when generating three icon, when showing
Afterwards, user can be handled it.
The electronic equipment can obtain the first operation, and after first operation is obtained, the electronic equipment can be right
First operation is responded, and the 4th icon can be generated according to the 3rd icon, and the 4th icon corresponds to the 4th
Shape, the 4th shape can be identical with second shape.
In the embodiment of the present invention, the icon of various shapes may be shown on the display unit of the electronic equipment,
As shown in Figure 1B, Figure 1B is illustrated so that the electronic equipment is mobile phone as an example, shows 4 kinds in the display screen of the mobile phone altogether
Illustrated in the icon of shape, Figure 1B with the icon of two-dimensional shapes, or as shown in Figure 1 C, Fig. 1 C are to be with the electronic equipment
Illustrate, shown altogether in the display screen of the mobile phone in the icon of 2 kinds of shapes, Fig. 1 C with the icon of 3D shape exemplified by mobile phone
Illustrate, it can be handled respectively.Such as described electronic equipment can be by one kind after first operation is obtained
The icon of shape is processed as the icon with the predetermined shape same shape, can if obtaining first operation again afterwards
So that the icon of another shape is processed as into the icon with the predetermined shape same shape again;Or the electronic equipment is being obtained
Obtaining can be processed as the shape of all icons that differed with predetermined shape shape and institute after first operation
The icon of predetermined shape same shape is stated, as shown in figure iD, it is assumed that the circle in Figure 1B is the predetermined shape, then the electronics
Equipment can obtain effect as shown in figure iD after being disposed, or assume that the cuboid in Fig. 1 C is the predetermined shape,
Then the electronic equipment can obtain effect as referring to figure 1E after being disposed.Or can also have other processing sides
Formula.
In the embodiment of the present invention, if showing the icon of two kinds of shapes on the display unit of the electronic equipment,
I.e. described corresponding second icon of second shape and corresponding 3rd icon of the 3rd shape, wherein the display
At least one the 3rd icon is shown on unit.Then the electronic equipment obtain it is described first operation after can to it is described at least
One or several 3rd icons in one the 3rd icon are handled, and are processed into corresponding with the 4th shape described
4th icon, or the electronic equipment can be to complete at least one described the 3rd icon after first operation is obtained
The icon of portion the 3rd is handled, and is processed into the 4th icon corresponding with the 4th shape.
Such as in the embodiment of the present invention, first operation can be a prearranged gesture, and described electronic equipment can pass through
Collecting unit gathers the gesture, such as described collecting unit can be camera or gravity sensor or touch sensible list
Member.Either first operation can press the operation of a specific keys or first operation in the electronic equipment
The operation for the 3rd icon that can be click at least one described the 3rd icon, or first operation can also be
Other kinds of operation.
, can be with generating described the according to the mode that the 3rd icon generates the 4th icon in the embodiment of the present invention
The mode of two icons is similar, and here is omitted.
In the embodiment of the present invention, the shape of icon can be X-Y scheme, or can also be 3-D graphic, and the present invention is right
This is not limited.
The icon processing method in the present invention is introduced below by way of several specific embodiments, the following examples are mainly situated between
Several possible application scenarios for the methods described that continued.It should be noted that the embodiment in the present invention is served only for explaining this hair
It is bright, and the limitation present invention is cannot be used for, every embodiment for meeting inventive concept is within protection scope of the present invention, originally
Art personnel know naturally how to be deformed according to the thought of the present invention.
Embodiment one:
The electronic equipment is mobile phone, and the display unit of the electronic equipment is the display screen of the mobile phone.
When installing the first application program in the electronic equipment, first application program is third party application,
The first object is obtained, first object is an intermediate treatment object, in normal mounting flow, first object can be used
First icon of the first shape is shaped as in generation.
After first object is obtained, the corresponding pre-determined model of the predetermined shape can be called, with according to described pre-
Cover half type judges whether the first shape of first icon corresponding with first object meets the predetermined shape,
The judged result can be obtained.
Judged result described in the present embodiment shows that the first shape does not meet the predetermined shape, then can be with described
Pre-determined model is framework, directly generates second icon of second shape, second shape and the predetermined shape
It is identical.
Embodiment two:
The electronic equipment is mobile phone, and the display unit of the electronic equipment is the display screen of the mobile phone.
When installing the first application program in the electronic equipment, first application program is third party application,
Obtain the first icon, first icon is that be shown on the display unit corresponding with first application program is schemed
Mark, after the first application program installation, can be entered by clicking on first icon on the display unit
First Application Program Interface.
After first icon is obtained, the corresponding pre-determined model of the predetermined shape can be called, with according to described pre-
Cover half type judges whether the corresponding first shape of first icon meets the predetermined shape, can obtain the judgement
As a result.
If for example, the predetermined shape is circle, the pre-determined model can be a size and the predetermined shape
Equal circular frame, if the predetermined shape is square, the pre-determined model can be a size and the predetermined shape
Equal square box, etc..Wherein, the predetermined shape can be the general icon shape in the electronic equipment.
Predetermined shape described in the present embodiment is circle, and the first shape is square, and the judged result shows described
First shape does not meet the predetermined shape.
Because the predetermined shape is circle, then the pre-determined model can be circular with the predetermined shape size identical
Frame.If it is judged that showing that the first shape does not meet the predetermined shape, then the first shape can be directly made
First icon is coated on the outside of the pre-determined model completely, obtains second icon, then the shape of second icon
Shape is exactly the shape of the pre-determined model, therefore second shape can be identical with the shape of the predetermined icon.
That is, if it is judged that showing that the first shape does not meet the predetermined shape, it is considered as described first
First icon of shape is processed as soft material, and it can arbitrarily bend, and can be coated on completely outside the pre-determined model
Side, pre-determined model described in the present embodiment is circular frame, then first icon can be coated on the outside of the circular frame, quite
In having wrapped up crust to the pre-determined model, obtain second icon of second shape, second shape with
The predetermined shape is identical.
In the present embodiment, after second icon is generated, the processing such as edge blurry can be carried out to second icon,
So that second icon looks more attractive.
Embodiment three:
The electronic equipment is mobile phone, and the display unit of the electronic equipment is the display screen of the mobile phone.
When installing the first application program in the electronic equipment, first application program is third party application,
Obtain the first icon, first icon is that be shown on the display unit corresponding with first application program is schemed
Mark, after the first application program installation, can be entered by clicking on first icon on the display unit
First Application Program Interface.
After first icon is obtained, the corresponding pre-determined model of the predetermined shape can be called, with according to described pre-
Cover half type judges whether the corresponding first shape of first icon meets the predetermined shape, can obtain the judgement
As a result.
If for example, the predetermined shape is circle, the pre-determined model can be a size and the predetermined shape
Equal circular frame, if the predetermined shape is square, the pre-determined model can be a size and the predetermined shape
Equal square box, etc..Wherein, the predetermined shape can be the general icon shape in the electronic equipment.
Predetermined shape described in the present embodiment is circle, and the first shape is square, and the judged result shows described
First shape does not meet the predetermined shape.
If it is judged that show that the first shape does not meet the predetermined shape, then can be to first icon pair
The first shape answered is adjusted, so as to make first icon of the first shape be embedded in the predetermined shape correspondence
Pre-determined model in, obtain second icon of second shape.
For example, predetermined shape described in the present embodiment is circle, the pre-determined model is size and the predetermined icon
Predetermined shape size identical circular frame, the first shape is square.The judged result shows that the first shape is not inconsistent
The predetermined shape is closed, then the corresponding first shape of first icon can be adjusted, by first icon
In the embedded circular frame, second icon of the shape is obtained., should after first icon is embedded in the circular frame
The place of blank is might have in circular frame, these blank spaces can be filled up, so that second icon is more plentiful.
Wherein, in the present embodiment, before first icon is embedded in corresponding pre-determined model, first have to judge institute
The corresponding first shape of the first icon is stated whether corresponding to the size of the pre-determined model, if not corresponding, it is necessary to first right
The size of the first shape is adjusted, it is ensured that first icon can be embedded in the pre-determined model.
In the present embodiment, after second icon is generated, the processing such as edge blurry can be carried out to second icon,
So that second icon looks more attractive.
Example IV:
The electronic equipment is mobile phone, and the display unit of the electronic equipment is the display screen of the mobile phone.
When installing the first application program in the electronic equipment, first application program is third party application,
Obtain the first icon, first icon is that be shown on the display unit corresponding with first application program is schemed
Mark, after the first application program installation, can be entered by clicking on first icon on the display unit
First Application Program Interface.
After first icon is obtained, the corresponding pre-determined model of the predetermined shape can be called, with according to described pre-
Cover half type judges whether the corresponding first shape of first icon meets the predetermined shape, can obtain the judgement
As a result.
If for example, the predetermined shape is circle, the pre-determined model can be a size and the predetermined shape
Equal circular frame, if the predetermined shape is square, the pre-determined model can be a size and the predetermined shape
Equal square box, etc..Wherein, the predetermined shape can be the general icon shape in the electronic equipment.
Predetermined shape described in the present embodiment is circle, and the first shape is square, and the judged result shows described
First shape does not meet the predetermined shape.
, can be to described first if the judged result shows that the first shape does not meet the predetermined shape
The first shape of icon is adjusted, by the first shape be adjusted to the predetermined shape identical shape, obtain
Second icon of second shape.
For example, predetermined shape described in the present embodiment is circle, the pre-determined model is size and the predetermined icon
Predetermined shape size identical circular frame.The judged result shows that the first shape does not meet the predetermined shape, for example
First shape described in the present embodiment is square, then the corresponding first shape of first icon can be adjusted.
In adjustment, can by this it is square be cut into circle, if obtained circular size is more than and the pre-determined model after cutting
Size, then need to carry out reduced overall to the circle, so that its size is identical with the size of the pre-determined model, if cut
The circular size obtained afterwards is less than the size of the pre-determined model, then also needs accordingly to fill up the circle, for example can be
The circular outside is filled up, and obtains second icon of second shape, need to ensure the size of second shape with
The size of the pre-determined model is identical.
In the present embodiment, after second icon is generated, the processing such as edge blurry can be carried out to second icon,
So that second icon looks more attractive.
Example IV:
The electronic equipment is mobile phone, and the display unit of the electronic equipment is the display screen of the mobile phone.
When installing the first application program in the electronic equipment, first application program is third party application,
Obtain the first icon, first icon is that be shown on the display unit corresponding with first application program is schemed
Mark, after the first application program installation, can be entered by clicking on first icon on the display unit
First Application Program Interface.
After first icon is obtained, the corresponding pre-determined model of the predetermined shape can be called, with according to described pre-
Cover half type judges whether the corresponding first shape of first icon meets the predetermined shape, can obtain the judgement
As a result.
If for example, the predetermined shape is circle, the pre-determined model can be a size and the predetermined shape
Equal circular frame, if the predetermined shape is square, the pre-determined model can be a size and the predetermined shape
Equal square box, etc..Wherein, the predetermined shape can be the general icon shape in the electronic equipment.
Predetermined shape described in the present embodiment is circle, and the first shape is square, and the judged result shows described
First shape does not meet the predetermined shape.
, can be to described first if the judged result shows that the first shape does not meet the predetermined shape
The first shape of icon is adjusted, by the first shape be adjusted to the predetermined shape identical shape, obtain
Second icon of second shape.
For example, pre-determined model described in the present embodiment is circular frame, then it can make a circumscribed circle for first icon, should
The size of circumscribed circle is identical with the size of the pre-determined model, obtains second icon of second shape.Doing
State after circumscribed circle, the place of blank is might have in the circumscribed circle, these blank spaces can be filled up, so that described second
Icon is more plentiful.
In the present embodiment, after second icon is generated, the processing such as edge blurry can be carried out to second icon,
So that second icon looks more attractive.
Embodiment five:
The electronic equipment is mobile phone, and the display unit of the electronic equipment is the display screen of the mobile phone.
When installing the first application program in the electronic equipment, first application program is third party application,
Obtain the first icon, first icon is that be shown on the display unit corresponding with first application program is schemed
Mark, after the first application program installation, can be entered by clicking on first icon on the display unit
First Application Program Interface.
After first icon is obtained, the corresponding pre-determined model of the predetermined shape can be called, with according to described pre-
Cover half type judges whether the corresponding first shape of first icon meets the predetermined shape, can obtain the judgement
As a result.
If for example, the predetermined shape is circle, the pre-determined model can be a size and the predetermined shape
Equal circular frame, if the predetermined shape is square, the pre-determined model can be a size and the predetermined shape
Equal square box, etc..Wherein, the predetermined shape can be the general icon shape in the electronic equipment.
Predetermined shape described in the present embodiment is square, and the first shape is circle, and the judged result shows described
First shape does not meet the predetermined shape.
If it is judged that show that the first shape does not meet the predetermined shape, then can be to first icon pair
The first shape answered is adjusted, so as to make first icon of the first shape be embedded in the predetermined shape correspondence
Pre-determined model in, obtain second icon of second shape.
For example, predetermined shape described in the present embodiment is square, the pre-determined model is size and the predetermined icon
Predetermined shape size identical square box, the first shape is circle.The judged result shows that the first shape is not inconsistent
The predetermined shape is closed, then the corresponding first shape of first icon can be adjusted, by first icon
In the embedded square box, second icon of the shape is obtained., should after first icon is embedded in the square box
The place of blank is might have in square box, these blank spaces can be filled up, so that second icon is more plentiful.
Wherein, in the present embodiment, before first icon is embedded in corresponding pre-determined model, first have to judge institute
The corresponding first shape of the first icon is stated whether corresponding to the size of the pre-determined model, if not corresponding, it is necessary to first right
The size of the first shape is adjusted, it is ensured that first icon can be embedded in the pre-determined model.
In the present embodiment, after second icon is generated, the processing such as edge blurry can be carried out to second icon,
So that second icon looks more attractive.
In the present embodiment, after second icon is generated, the display unit of the electronic equipment can will described in
Second icon is shown.The icon of two kinds of shapes can be now shown on the display unit, includes the of the second shape
3rd icon of two icons and the 3rd shape, second shape is different from the 3rd shape, second shape with it is described
Predetermined shape is identical.
User clicks on one of them described 3rd icon, and the first operation has been carried out to the electronic equipment equivalent to user,
Electronic equipment response first operation, can generate the 4th icon, the 4th icon pair according to the 3rd icon
The shapes of Ying Yu tetra-, the 4th shape can be identical with second shape.The effect seen on the display unit can
Be user carry out it is described first operation after, the 4th icon of the 4th shape instead of the institute of the 3rd shape
State the 3rd icon.Can be that the 3rd icon clicked on of user becomes the 4th icon in the present embodiment, and other the
Three icons do not change, or can also be that all 3rd icons shown on the display unit become the described 4th
Icon.
Referring to Fig. 2, the present invention also provides a kind of icon processing method, and methods described can apply to an electronic equipment, institute
It can be same electronic equipment that electronic equipment, which is stated, with the electronic equipment in Figure 1A.It can be wrapped on the display unit of the electronic equipment
Include at least one the 3rd icon and at least one second icon, wherein the 3rd icon the corresponding 3rd be shaped differently than it is described
Corresponding second shape of second icon.The main flow of methods described is as follows:
Step 201:First is obtained to operate.
Such as in the embodiment of the present invention, first operation can be a prearranged gesture, and described electronic equipment can pass through
Collecting unit gathers the prearranged gesture, such as described collecting unit can be camera.Or it is described first operation can be by
Under in the electronic equipment specific keys operation, or first operation can be click at least one described the 3rd figure
The operation of the 3rd icon in mark, or first operation can also be other kinds of operation.
Step 202:Described first operation is responded, with the 3rd shape to first figure on the display unit
Mark is shown;Second icon is shown with the 4th shape;Wherein, the 3rd shape and the 4th shape phase
Together.
In the embodiment of the present invention, the icon of various shapes may be shown on the display unit of the electronic equipment,
It can be handled respectively.
In the embodiment of the present invention, the first shape can be the same or different with the predetermined shape, and described second
Shape can be the same or different with the predetermined shape.
If the first shape is identical with the predetermined shape, the first shape is identical with the 3rd shape,
I.e. to described first operation respond after first icon of the first shape can not be handled, still according to
The first shape shows first icon;If the first shape is different from the predetermined shape, to described first
Operation is responded, it is necessary to handle the first shape, can be processed into the 3rd shape, such as and described the
Three shapes can be identical with the predetermined shape, and first icon is shown according to the 3rd shape after being disposed.
If the first shape is identical with the predetermined shape, the first shape is identical with the 3rd shape,
I.e. to described first operation respond after first icon of the first shape can not be handled, still according to
The first shape shows first icon;If second shape is different from the predetermined shape, to described first
Operation is responded, it is necessary to handle second shape, can be processed into the 4th shape, such as and described the
Four shapes can be identical with the predetermined shape, and second icon is shown according to the 4th shape after being disposed.
That is, in the embodiment of the present invention, it is necessary first to judge whether the corresponding first shape of first icon meets
The predetermined shape, and/or judge whether corresponding second shape of second icon meets the predetermined shape.If
The first shape meets the predetermined shape, second shape and does not meet the predetermined shape, then can only need to be to described
Second shape is handled, and is processed into and the 4th shape described in the predetermined shape identical;If the first shape
Do not meet the predetermined shape, second shape and meet the predetermined shape, then the first shape need to only can be carried out
Processing, is processed into and the 3rd shape described in the predetermined shape identical;If the first shape does not meet described pre-
Setting shape, second shape do not meet the predetermined shape yet, then can be equal to the first shape and second shape
Handled, the first shape can be processed as with the 3rd shape described in the predetermined shape identical, and by described
Two shapes are processed as and the 4th shape described in the predetermined shape identical;If the first shape meets the preboarding
Shape, second shape also comply with the predetermined shape, then can not be to the first shape and second shape at
Reason, will directly can be shown both it.In the embodiment of the present invention, meet the predetermined shape, can refer to it is described pre-
The shape that shapes is identical or corresponding.Below by meet the predetermined shape refer to it is identical with the predetermined shape exemplified by illustrate.
Such as described electronic equipment obtain it is described first operation after a kind of icon of shape can be processed as with it is described
The icon of predetermined shape same shape, can be again by the icon of another shape if obtaining first operation again afterwards
It is processed as the icon with the predetermined shape same shape;Or the electronic equipment can be by after first operation is obtained
The shape of all icons differed with predetermined shape shape is processed as the figure with the predetermined shape same shape
Mark, or can also have other processing modes.
In the embodiment of the present invention, if showing the icon of two kinds of shapes on the display unit of the electronic equipment,
I.e. described corresponding second icon of first shape and corresponding second icon of second shape, wherein the display
At least one second icon is shown on unit, and the first shape is identical with the predetermined shape, second shape with
The predetermined shape is different.Then the electronic equipment can be at least one described second icon after first operation is obtained
In one or several second icons handled, be processed into the 4th icon corresponding with the 4th shape, or
Electronic equipment described in person can be to all the second icons at least one described second icon after first operation is obtained
Handled, be processed into the 4th icon corresponding with the 4th shape.
Such as in the embodiment of the present invention, first operation can be a prearranged gesture, and described electronic equipment can pass through
Collecting unit gathers the gesture, such as described collecting unit can be camera.Or first operation can press institute
The operation of a specific keys in electronic equipment is stated, or first operation can be click at least one described the 3rd icon
The 3rd icon operation, or it is described first operation can also be other kinds of operation.
In the embodiment of the present invention, first icon of the first shape is processed as described the of the 3rd shape
The mode of three icons and the 4th icon that second icon of second shape is processed as to the 4th shape
Mode can be similar with generating the mode of second icon in Figure 1A, and here is omitted.
In the embodiment of the present invention, the shape of icon can be X-Y scheme, or can also be 3-D graphic, and the present invention is right
This is not limited.
In the embodiment of the present invention, first icon is shown with the 3rd shape on the display unit;With
Four shapes can also include step after being shown to second icon:
Obtaining one needs to be added to be shaped as first shape the shown on the display unit of the electronic equipment
One icon;
When needing to install the first application program in the electronic equipment, or install in the electronic equipment described the
During one application program, the first object can be obtained, in normal mounting flow, first object can be used for generation
First icon of the first shape is shaped as, i.e., described first object can be an intermediate treatment object, institute is being installed
Stating in the normal flow of the first application program can make its generate first icon by the processing to first object.
Or, when needing to install the first application program in the electronic equipment, or institute is installed in the electronic equipment
During stating the first application program, first icon can be directly obtained.Wherein, first application program is installed
Afterwards, first icon may be displayed on the display unit of the electronic equipment, and user can be by clicking on described
One icon enters first application program.
Or, can obtain institute when needing and adding the first file corresponding with first icon on the display unit
State the first icon.For example, can also be obtained when by first file copy to the display unit and first file
Corresponding first icon, first file can be word document, photo-document or other kinds of file.
Judge whether the first shape meets a predetermined shape, obtain a judged result;
When the judged result shows that first icon does not meet the predetermined shape, generation is shaped as the 3rd shape
The 3rd icon, wherein, the 3rd shape meets the predetermined shape.
In the embodiment of the present invention, if the shape to a certain icon is adjusted, the icon after adjustment can be deposited
Storage is in a cache module, to take out progress directly from the cache module when user needs adjustment display effect
It has been shown that, can improve display efficiency.For example, the corresponding first shape of first icon does not meet the predetermined shape,
The first shape is adjusted, by first shape adjustment for the 3rd shape being consistent with the predetermined shape
First icon of 3rd shape, then can be stored in the cache module by shape.If the electronic equipment is temporary
When there is no first icon for showing the 3rd shape, and first figure of the first shape is still shown
Mark, and in subsequent time, the electronic equipment obtains first operation, can first determine whether whether the first shape meets
The predetermined shape, judges to determine that the first shape does not meet the predetermined shape, then can be directly from the cache module
Middle first icon for taking out the 3rd shape is shown.In this way, without right again after first operation is received
The first shape is adjusted, and saves the operating time, improves operating efficiency.
After the adjustment, shape identical icon is shown on the display unit that the electronic equipment can be made, it is more whole
It is clean, meet the aesthetic habit of user, can also avoid the maloperation of user.
The icon processing method in the present invention is introduced below by way of several specific embodiments, the following examples are mainly situated between
Several possible application scenarios for the methods described that continued.It should be noted that the embodiment in the present invention is served only for explaining this hair
It is bright, and the limitation present invention is cannot be used for, every embodiment for meeting inventive concept is within protection scope of the present invention, originally
Art personnel know naturally how to be deformed according to the thought of the present invention.
Embodiment one:
The electronic equipment is mobile phone, and the display unit of the electronic equipment is the display screen of the mobile phone.
5 the first icons corresponding with first shape are shown on the display unit and 7 corresponding with the second shape
Second icon, wherein the first shape meets the predetermined shape, second shape does not meet the predetermined shape.
User determines to want that icon is adjusted to described the.User has done a prearranged gesture, the electronic equipment
The prearranged gesture is collected by camera, that is, the electronic equipment obtains the first operation.
The electronic equipment is responded to the described first operation, and electronic equipment described in the present embodiment is obtaining described the
One operation after can at least one described second icon all 7 the second icons handle, it is processed as with
Corresponding 4th icon of 4th shape, the 4th shape is identical with the predetermined shape.The effect that user looks
Fruit is exactly second icon of all second shapes shown on the display unit by the institute of the 4th shape
The 4th icon is stated to be substituted.
Wherein, the mode that the electronic equipment is handled second icon can be:
For example, predetermined shape described in the present embodiment is square, the pre-determined model is size and the predetermined icon
Predetermined shape size identical square box, described second is shaped as circle.Can corresponding to second icon described second
Shape is adjusted, and second icon is embedded in the square box, obtains the 4th icon of the 4th shape.To
After second icon is embedded in the square box, the place of blank is might have in the square box, image procossing can be passed through
Mode is filled up to these blank spaces, so that the 4th icon is more plentiful.
Embodiment two:
The electronic equipment is mobile phone, and the display unit of the electronic equipment is the display screen of the mobile phone.
5 the first icons corresponding with first shape are shown on the display unit and 7 corresponding with the second shape
Second icon, wherein the first shape meets the predetermined shape, second shape does not meet the predetermined shape.
User determines to want to be adjusted second icon.The display screen is touch-screen, and user passes through touch-screen
One of them second icon is clicked, that is, the electronic equipment obtains the first operation.
The electronic equipment is responded to the described first operation, and electronic equipment described in the present embodiment is obtaining described the
Second icon of click can be handled, be processed into and the 4th shape the corresponding described 4th after one operation
Icon, the 4th shape is identical with the predetermined shape.The effect that user looks is exactly to be shown on the display unit
Second icon is substituted by the 4th icon of the 4th shape, and remaining 6 second icon does not change.
Wherein, the mode that the electronic equipment is handled second icon can be:
For example, pre-determined model described in the present embodiment is circular frame, then it can make a circumscribed circle for second icon, should
The size of circumscribed circle is identical with the size of the pre-determined model, obtains the 4th icon of the 4th shape.Doing
State after circumscribed circle, the place of blank is might have in the circumscribed circle, these blank spaces can be entered by way of image procossing
Row is filled up, so that the 4th icon is more plentiful.
That is, in the embodiment of the present invention, not only first variform icon can be carried out before icon is shown
Processing, make its become with standard drawing target shape identical icon, and can also be at the icon that has generated and shown
Reason, can be processed into standard drawing target shape identical icon, processing mode is various, and processing time can also be by user
Voluntarily select, the operating habit of user can also be facilitated on the premise of user misoperation is avoided as far as possible.
Also, after the shape of icon is disposed, the result after processing can be stored in the cache module,
Shown so as to which when needing to carry out the conversion of display effect corresponding icon directly can be taken out from the cache module,
Without again being handled the shape of icon after the corresponding operating for conversion is received, processing time is saved, is improved
Treatment effeciency.
Referring to Fig. 3, the present invention provides a kind of electronic equipment, and the electronic equipment can include the first acquisition module 301, sentence
Disconnected module 302 and generation module 303.The electronic equipment can also include processing module 304.
First acquisition module 301 can be used for obtaining one and needing to be added on the display unit of the electronic equipment being shown
That shows is shaped as the first icon of first shape.
First acquisition module 301 specifically can be used for when needs install the first application program in the electronic equipment,
The first object corresponding with first application program is obtained, first object, which is used to generate, is shaped as the first shape
First icon;Or, when needing to install the first application program corresponding with first icon in the electronic equipment
Obtain first icon;Or, when needing to add the first file corresponding with first icon on the display unit
Obtain first icon.
Predetermined shape described in the embodiment of the present invention is the general icon shape in the electronic equipment.
Judge module 302 can be used for judging whether the first shape meets a predetermined shape, obtain a judged result.
Generation module 303 can be used for showing that the first shape does not meet the predetermined shape in the judged result
When, generation is shaped as the second icon of the second shape, wherein, second shape meets the predetermined shape.
Generation module 303 specifically can be used for showing that first icon does not meet the preboarding in the judged result
During shape, the first shape corresponding to first icon is adjusted, and makes first icon be coated on the preboarding
On the outside of the corresponding pre-determined model of shape, second icon of second shape is obtained.
Generation module 303 specifically can be used for showing that first icon does not meet the preboarding in the judged result
During shape, the first shape to first icon is adjusted, so as to make first icon of the first shape embedding
Enter in the corresponding pre-determined model of the predetermined shape, obtain second icon of second shape.
Generation module 303 specifically can be used for showing that the first shape does not meet the preboarding in the judged result
During shape, the first shape to first icon is adjusted, and the first shape is adjusted to and the predetermined shape
Identical shape, obtains second icon of second shape.
Processing module 304 can be used for carrying out edge blurry processing to second icon.
Referring to Fig. 4, the present invention also provides a kind of electronic equipment, and the electronic equipment can have a display unit, described
The first icon and the second icon can be included on display unit, wherein the corresponding first shape of first icon is different from described
Corresponding second shape of second icon.The electronic equipment can include the second acquisition module 401 and respond module 402.This hair
In bright embodiment, the electronic equipment shown in Fig. 4 and the electronic equipment shown in Fig. 3 can be same electronic equipments.
Second acquisition module 401 can be used for obtaining the first operation.
Respond module 402 can be used for responding the described first operation, with the 3rd shape on the display unit
First icon is shown;Second icon is shown with the 4th shape;Wherein, the 3rd shape and institute
State the 4th shape identical.
Respond module 402 specifically can be used for:
Judge whether the corresponding first shape of first icon meets a predetermined shape, obtain a judged result;
When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as the 3rd shape
The first new icon, the 3rd shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the first icon correspondence is maintained
The first shape;And/or;
Judge whether corresponding second shape of second icon meets a predetermined shape, obtain a judged result;
When the judged result shows that the shape does not meet the predetermined shape, generation is shaped as the 4th shape
The second new icon;4th shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the second icon correspondence is maintained
Second shape.
The electronic equipment can also include cache module, can be used for storing the icon after being disposed.
Icon processing method in the embodiment of the present invention can apply in an electronic equipment, and methods described includes:Obtain
One needs to be added to the first icon for being shaped as first shape shown on the display unit of the electronic equipment;Judge institute
State whether first shape meets a predetermined shape, obtain a judged result;Show first icon not in the judged result
When meeting the predetermined shape, generation is shaped as the second icon of the second shape, wherein, second shape meets described predetermined
Shape.
When needing to add the first icon on the display unit of the electronic equipment, described first can be first judged
Whether the corresponding first shape of icon meets predetermined shape, and normal adding procedure can be continued if meeting, if be unsatisfactory for,
Then need to handle first icon of the first shape, so that the shape of first icon after processing is met
The predetermined shape, so as to so that the corresponding icon shape of application program installed is consistent with existing icon shape, effectively
Maloperation is avoided, the aesthetic of user is also complied with, Consumer's Experience is improved.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
Usable storage medium(Including but not limited to magnetic disk storage and optical memory etc.)The shape of the computer program product of upper implementation
Formula.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (20)
1. a kind of icon processing method, applied in an electronic equipment, it is characterised in that methods described includes:
Obtaining one needs to be added to the first figure for being shaped as first shape shown on the display unit of the electronic equipment
Mark;
Judge whether the first shape meets a predetermined shape, obtain a judged result;
When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as the of the second shape
Two icons, wherein, second shape meets the predetermined shape;
Wherein, the predetermined shape for circle, a pre-determined model be with the predetermined shape size identical circular frame, to described
First icon makees a circumscribed circle, and after the circumscribed circle is finished, blank space is filled up, wherein, the size of the circumscribed circle
It is identical with the size of the pre-determined model.
2. the method as described in claim 1, it is characterised in that obtaining one needs to be added to the display unit of the electronic equipment
It is upper shown the first icon for being shaped as first shape the step of include:
When needing to install the first application program in the electronic equipment, obtain and first application program corresponding first
Object, first object is used to generate first icon for being shaped as the first shape;Or,
Described first is obtained when needing and installing the first application program corresponding with first icon in the electronic equipment
Icon;Or,
First icon is obtained when needing and adding the first file corresponding with first icon on the display unit.
3. the method as described in claim 1, it is characterised in that the predetermined shape is the general icon in the electronic equipment
Shape.
4. the method as described in claim 1, it is characterised in that show that the first shape does not meet institute in the judged result
When stating predetermined shape, the step of generation is shaped as the second icon of the second shape includes:Show described in the judged result
When one icon does not meet the predetermined shape, the first shape corresponding to first icon is adjusted, and makes described
One icon is coated on the outside of the corresponding pre-determined model of the predetermined shape, obtains second icon of second shape.
5. the method as described in claim 1, it is characterised in that show that the first shape does not meet institute in the judged result
When stating predetermined shape, the step of generation is shaped as the second icon of the second shape includes:Show described in the judged result
When one icon does not meet the predetermined shape, the first shape to first icon is adjusted, so as to make described
First icon of one shape is embedded in the corresponding pre-determined model of the predetermined shape, obtains described the of second shape
Two icons.
6. the method as described in claim 1, it is characterised in that show that first icon does not meet institute in the judged result
When stating predetermined shape, the step of generation is shaped as the second icon of the second shape includes:Show described in the judged result
When one shape does not meet the predetermined shape, the first shape to first icon is adjusted, by first shape
Shape be adjusted to the predetermined shape identical shape, obtain second icon of second shape.
7. the method as described in claim 1, it is characterised in that be shaped as also wrapping after the second icon of the second shape in generation
Include step:Edge blurry processing is carried out to second icon.
8. the method as described in claim 1, it is characterised in that after generation is shaped as the second icon of the second shape, institute
Stating also includes at least one the 3rd icon on the display unit of electronic equipment, wherein corresponding 3rd shape of the 3rd icon is not
It is same as second shape;Methods described also includes step:
First is obtained to operate;
Described first operation is responded, the 4th figure corresponding to the 4th shape is generated according at least one described the 3rd icon
Mark, wherein the 4th shape is identical with second shape.
9. a kind of icon processing method, applied in an electronic equipment, it is characterised in that on the display unit of the electronic equipment
Including the first icon and the second icon, wherein the corresponding first shape of first icon is corresponding different from second icon
Second shape;Methods described includes step:
First is obtained to operate;
Described first operation is responded, first icon shown with the 3rd shape on the display unit;
Second icon is shown with the 4th shape;Wherein, the 3rd shape is identical with the 4th shape;
Wherein, the 3rd shape, the described 4th are shaped as circle, and a pre-determined model is and the 3rd shape, the described 4th
Shape size identical circular frame, then make a circumscribed circle to then first icon, second icon, described external finishing
After circle, blank space is filled up, wherein, the size of the circumscribed circle is identical with the size of the pre-determined model.
10. method as claimed in claim 9, it is characterised in that include step carrying out response to the described first operation:
Judge whether the corresponding first shape of first icon meets a predetermined shape, obtain a judged result;
When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as the new of the 3rd shape
The first icon, the 3rd shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the corresponding institute of first icon is maintained
State first shape;And/or;
Judge whether corresponding second shape of second icon meets a predetermined shape, obtain a judged result;
When the judged result shows that second shape does not meet the predetermined shape, generation is shaped as the new of the 4th shape
The second icon;4th shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the corresponding institute of second icon is maintained
State the second shape.
11. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
First acquisition module, needs to be added to being shaped as of being shown on the display unit of the electronic equipment for obtaining one
First icon of first shape;
Judge module, for judging whether the first shape meets a predetermined shape, obtains a judged result;
Generation module, for when the judged result shows that the first shape does not meet the predetermined shape, generating shape
For the second icon of the second shape, wherein, second shape meets the predetermined shape;
Wherein, the predetermined shape for circle, a pre-determined model be with the predetermined shape size identical circular frame, then to then
First icon makees a circumscribed circle, and after the circumscribed circle is finished, blank space is filled up, wherein, the circumscribed circle
Size is identical with the size of the pre-determined model.
12. electronic equipment as claimed in claim 11, it is characterised in that first acquisition module specifically for:
When needing to install the first application program in the electronic equipment, obtain and first application program corresponding first
Object, first object is used to generate first icon for being shaped as the first shape;Or,
Described first is obtained when needing and installing the first application program corresponding with first icon in the electronic equipment
Icon;Or,
First icon is obtained when needing and adding the first file corresponding with first icon on the display unit.
13. electronic equipment as claimed in claim 11, it is characterised in that the predetermined shape is logical in the electronic equipment
Use icon shape.
14. electronic equipment as claimed in claim 11, it is characterised in that the generation module specifically for:Judge described
When as a result showing that first icon does not meet the predetermined shape, the first shape corresponding to first icon is carried out
Adjustment, makes first icon be coated on the outside of the corresponding pre-determined model of the predetermined shape, obtains the institute of second shape
State the second icon.
15. electronic equipment as claimed in claim 11, it is characterised in that the generation module specifically for:Judge described
When as a result showing that first icon does not meet the predetermined shape, the first shape to first icon is adjusted
It is whole, so as to make first icon of the first shape be embedded in the corresponding pre-determined model of the predetermined shape, obtain described
Second icon of second shape.
16. electronic equipment as claimed in claim 11, it is characterised in that the generation module specifically for:Judge described
When as a result showing that the first shape does not meet the predetermined shape, the first shape to first icon is adjusted
It is whole, by the first shape be adjusted to the predetermined shape identical shape, obtain second figure of second shape
Mark.
17. electronic equipment as claimed in claim 11, it is characterised in that the electronic equipment also includes processing module, is used for
Edge blurry processing is carried out to second icon.
18. electronic equipment as claimed in claim 11, it is characterised in that also include extremely on the display unit of the electronic equipment
Few 3rd icon, wherein the 3rd icon the corresponding 3rd is shaped differently than second shape;The electronic equipment
Also include the second acquisition module, operated for obtaining first;
The generation module is additionally operable to:Described first operation is responded, according to the generation pair of at least one described the 3rd icon
4th icon of the shapes of Ying Yu tetra-, wherein the 4th shape is identical with second shape.
19. a kind of electronic equipment, it is characterised in that include the first icon and the second figure on the display unit of the electronic equipment
Mark, wherein the corresponding first shape of first icon is different from corresponding second shape of second icon;The electronics is set
It is standby to include:
Second acquisition module, is operated for obtaining first;
Respond module, for being responded to the described first operation, with the 3rd shape to described first on the display unit
Icon is shown;Second icon is shown with the 4th shape;Wherein, the 3rd shape and the 4th shape
It is identical;
Wherein, the 3rd shape, the described 4th are shaped as circle, and a pre-determined model is and the 3rd shape, the described 4th
Shape size identical circular frame, then make a circumscribed circle to then first icon, second icon, described external finishing
After circle, blank space is filled up, wherein, the size of the circumscribed circle is identical with the size of the pre-determined model.
20. electronic equipment as claimed in claim 19, it is characterised in that the respond module specifically for:
Judge whether the corresponding first shape of first icon meets a predetermined shape, obtain a judged result;
When the judged result shows that the first shape does not meet the predetermined shape, generation is shaped as the new of the 3rd shape
The first icon, the 3rd shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the corresponding institute of first icon is maintained
State first shape;And/or;
Judge whether corresponding second shape of second icon meets a predetermined shape, obtain a judged result;
When the judged result shows that second shape does not meet the predetermined shape, generation is shaped as the new of the 4th shape
The second icon;4th shape is identical with the predetermined shape;
When the judged result shows that the first shape meets the predetermined shape, the corresponding institute of second icon is maintained
State the second shape.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210364518.4A CN103677791B (en) | 2012-09-26 | 2012-09-26 | A kind of icon processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210364518.4A CN103677791B (en) | 2012-09-26 | 2012-09-26 | A kind of icon processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103677791A CN103677791A (en) | 2014-03-26 |
CN103677791B true CN103677791B (en) | 2017-11-07 |
Family
ID=50315469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210364518.4A Active CN103677791B (en) | 2012-09-26 | 2012-09-26 | A kind of icon processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103677791B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105867901A (en) * | 2015-12-25 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Application icon adjustment method and apparatus |
CN105955588A (en) * | 2016-06-17 | 2016-09-21 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for displaying icon on interface |
CN106527871B (en) * | 2016-12-14 | 2019-10-29 | 北京小米移动软件有限公司 | The display methods and device of application icon |
CN106873981B (en) * | 2017-01-11 | 2020-03-31 | 努比亚技术有限公司 | Icon processing method and device and terminal |
CN109542566A (en) * | 2018-11-16 | 2019-03-29 | 珠海格力电器股份有限公司 | A kind of method, apparatus and computer storage medium showing application icon |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493951A (en) * | 2009-03-05 | 2009-07-29 | 腾讯科技(深圳)有限公司 | Skin design system and method in input tool |
CN101630225A (en) * | 2008-07-18 | 2010-01-20 | 京瓷美达株式会社 | Image forming system and control method thereof |
CN102314291A (en) * | 2010-06-30 | 2012-01-11 | 上海科泰世纪科技有限公司 | Icon processing system and method |
CN102622214A (en) * | 2011-01-27 | 2012-08-01 | 腾讯科技(深圳)有限公司 | Method and device for realizing multiple-display mode universal icons |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8635559B2 (en) * | 2006-12-29 | 2014-01-21 | Blackberry Limited | On-screen cursor navigation delimiting on a handheld communication device |
-
2012
- 2012-09-26 CN CN201210364518.4A patent/CN103677791B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630225A (en) * | 2008-07-18 | 2010-01-20 | 京瓷美达株式会社 | Image forming system and control method thereof |
CN101493951A (en) * | 2009-03-05 | 2009-07-29 | 腾讯科技(深圳)有限公司 | Skin design system and method in input tool |
CN102314291A (en) * | 2010-06-30 | 2012-01-11 | 上海科泰世纪科技有限公司 | Icon processing system and method |
CN102622214A (en) * | 2011-01-27 | 2012-08-01 | 腾讯科技(深圳)有限公司 | Method and device for realizing multiple-display mode universal icons |
Also Published As
Publication number | Publication date |
---|---|
CN103677791A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2458880B1 (en) | Mobile terminal and operation control method thereof | |
JP7230055B2 (en) | Application program display adaptation method and device, terminal, storage medium, and computer program | |
CN109087239B (en) | Face image processing method and device and storage medium | |
CN103677791B (en) | A kind of icon processing method and electronic equipment | |
CN109712224B (en) | Virtual scene rendering method and device and intelligent device | |
CN104583908B (en) | Flexible display apparatus and its control method | |
EP2141574B1 (en) | Mobile terminal using proximity sensor and method of controlling the mobile terminal | |
CN104025003B (en) | Translate animation | |
EP2439611A1 (en) | Mobile terminal and operation control method thereof | |
CN109583385A (en) | Face image processing process, device, electronic equipment and computer storage medium | |
US11294533B2 (en) | Method and terminal for displaying 2D application in VR device | |
CN110347317A (en) | A kind of windows switching method, device, storage medium and interactive intelligent tablet computer | |
CN104699380A (en) | Information processing method and electronic equipment | |
CN111078172A (en) | Display fluency adjusting method and device, electronic equipment and storage medium | |
TW201619803A (en) | System and method for displaying user interface | |
CN107861711B (en) | Page adaptation method and device | |
US20150363075A1 (en) | Method and Device for Displaying User Interface | |
CN106325505A (en) | Control method and device based on viewpoint tracking | |
CN106131533A (en) | A kind of method for displaying image and terminal | |
CN111913637B (en) | Component operation control method, device and storage medium | |
CN113206993A (en) | Method for adjusting display screen and display device | |
US11935176B2 (en) | Face image displaying method and apparatus, electronic device, and storage medium | |
CN103744608B (en) | A kind of information processing method and electronic equipment | |
CN115421631A (en) | Interface display method and device | |
EP3316109B1 (en) | Computer-implemented method for controlling a remote device with a local device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |