CN108664298A - A kind of theme icon generation method and device - Google Patents
A kind of theme icon generation method and device Download PDFInfo
- Publication number
- CN108664298A CN108664298A CN201710212723.1A CN201710212723A CN108664298A CN 108664298 A CN108664298 A CN 108664298A CN 201710212723 A CN201710212723 A CN 201710212723A CN 108664298 A CN108664298 A CN 108664298A
- Authority
- CN
- China
- Prior art keywords
- icon
- theme
- thematic map
- display area
- original
- 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.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to intelligent terminal field, a kind of theme icon generation method and device are disclosed.In the present invention, theme icon generation method is applied to terminal, and theme icon generation method includes:Obtain a thematic map;The size and shape of the display area in thematic map is obtained, the size of display area is less than the size of thematic map;Original icon is handled, the first icon of the size and shape for meeting display area is obtained;It is superimposed thematic map and the first icon according to preset rules, obtains the second icon;Using the second icon as theme icon, and replaces original icon and shown.Embodiment of the present invention is handled all icons using a thematic map, and obtains the theme icon of unified style, it is possible to reduce system theme number of icons required when replacing.
Description
Technical field
The present invention relates to intelligent terminal field, more particularly to a kind of theme icon generation method and device.
Background technology
In today that intelligent terminal is popularized, no matter men and women, old and young, be owned by the intelligent terminal of oneself substantially, intelligent terminal tool
The numerous functions having also provide more facilities for life.
It was found by the inventors of the present invention that as user increasingly advocates free individuality, the same theme interface of a preceding piece can not
Meet the individual needs of user, so user is higher and higher to the theme customized demand of intelligent terminal.A Sexual Themes have individual character
The style of change, and all icons on interface are same style, or have similar place so that not only unique, interface
Property, also unusual neat appearance.
In the prior art, the change of theme can only be by the theme packet of download, or self-control theme packet, by theme Bao Cunzhi
It is installed after mobile phone.The theme icon for including each theme, either system application or third party is needed to answer in theme packet
With being required for theme icon, after just can guarantee installation, all icons meet same style on interface.In this way, theme packet
Self-capacity is not small, some users also like a variety of theme packets that prestore, and is switched according to factors such as mood environment, required in that terminal
The theme inclusion quantity of preservation will be very considerable, be unfavorable for reducing the data storage capacity of terminal.In addition, existing third party software is more
Kind various, often not prefabricated theme icon, this kind of icon generally can not just use the master of self-defined theme to non-popular software
Inscribe icon so that interface is not enough uniformly coordinated.
Invention content
Embodiment of the present invention is designed to provide a kind of theme icon generation method and device so that effectively reduces master
Data volume needed for topic packet fully ensures that all application programs all have the theme icon being uniformly coordinated in self-defined theme.
In order to solve the above technical problems, embodiments of the present invention provide a kind of theme icon generation method, it is applied to
Terminal, the theme icon generation method include:Obtain a thematic map;Obtain the size of the display area in the thematic map
And shape, the size of the display area are less than the size of the thematic map;Original icon is handled, acquisition meets the display
First icon of the size and shape in region;It is superimposed the thematic map and first icon according to preset rules, obtains second
Icon;Using second icon as theme icon, and replaces original icon and shown.
Embodiments of the present invention additionally provide a kind of theme icon generating means, including:First acquisition module, for obtaining
Take a thematic map;Second acquisition module, the size and shape for obtaining the display area in the thematic map, the display
The size in region is less than the size of the thematic map;Processing module, for handling original icon, acquisition meets the viewing area
First icon of the size and shape in domain;Laminating module, for being superimposed the thematic map and first figure according to preset rules
Mark obtains the second icon;Replacement module is used for using second icon as theme icon, and is replaced original icon and carried out
Display.
Embodiments of the present invention additionally provide a kind of terminal, including as noted above theme icon generating means.
In terms of existing technologies, the main distinction and its effect are embodiment of the present invention:Using a thematic map,
In conjunction with to the processing of original graph target and synthesis, the theme icon of unified style is obtained, in this way, a pictures are only needed in theme packet,
Effectively reduce the data volume in theme packet;In addition, since each theme icon is handled by thematic map and original icon, not by
The restriction of concrete application program, so the problem of would not also causing some minorities to apply no unifying theme icon.As it can be seen that this
Invention embodiment to effectively reduce data volume needed for theme packet, fully ensures that all application programs in self-defined theme
All there is the theme icon being uniformly coordinated.
As a further improvement, the preset rules include:Position of the display area on the thematic map.Into one
Step limits the specific position display area the most on thematic map so that position of the icon in display area is fixed, and is further made
The theme icon that must be ultimately generated is uniformly coordinated.
As a further improvement, further including:Using with the matched black area figure of the thematic map, obtain the display area and exist
Position on the thematic map, the black area figure are the picture that the display area in the thematic map is painted with to black.Using black
Area's figure quickly and easily gets location information.
As a further improvement, the icon that the processing is original, specially:It is handled in the way of diminution described original
Icon.
As a further improvement, the original icon is:The desktop icons of the terminal, the quantity of the desktop icons
More than 1;It is described to be replaced after original icon shown using second icon, including:Judging all desktop icons is
It is no to be replaced;If not being replaced, the processing original icon, the superposition thematic map and the first icon are repeated
With the step of replacing original icon using second icon.It further limits, is desktop icons, and table in original icon
It when face icon has multiple, needs all desktop icons all carrying out processing replacement, is further ensured that the entirety of display interface is unified.
Description of the drawings
Fig. 1 is according to the theme icon generation method flow chart in first embodiment of the invention;
Fig. 2 is according to the theme icon generation method flow chart in second embodiment of the invention;
Fig. 3 a are according to the original theme in the theme icon generation method flow chart in first embodiment of the invention
Figure;
Fig. 3 b are according to the original icon in the theme icon generation method flow chart in first embodiment of the invention;
Fig. 3 c are according to the original black area in the theme icon generation method flow chart in first embodiment of the invention
Figure;
Fig. 3 d are according to the original theme in the theme icon generation method flow chart in first embodiment of the invention
Icon;
Fig. 4 is according to the theme icon generating means schematic diagram in third embodiment of the invention;
Fig. 5 is according to the theme icon generating means schematic diagram in four embodiment of the invention;
Fig. 6 is according to the terminal schematic diagram in fifth embodiment of the invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to each reality of the present invention
The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each embodiment of the present invention,
In order to make the reader understand this application better, many technical details are proposed.But even if without these technical details and base
In the various changes and modifications of following embodiment, the application technical solution claimed can also be realized.
The first embodiment of the present invention is related to a kind of theme icon generation methods.It can be intelligent end applied to terminal
End, such as smart mobile phone with touch screen.
The flow of theme icon generation method in present embodiment is as shown in Figure 1, specific as follows:
Step 101, a thematic map is obtained.
Specifically, can meet the aesthetic picture of user by what user selected, which meets as the big of icon
Small and pixel.
Step 102, the size and shape of the display area in thematic map is obtained, the size of display area is less than thematic map
Size.
Specifically, the size and shape of display area can be obtained using with the matched black area figure of thematic map, more
Body says that black area figure is the picture that the display area in thematic map is painted with to black, can be monochrome bitmap, that is, mask
Figure.In practical application, thematic map and black area figure can be preserved with similar filename respectively, be convenient for system identification.
Explanation is still wanted to, the size and shape in addition to obtaining display area using black area figure can also utilize direct
Parameter definition method, such as define display area be 4*5 it is rectangular.
Step 103, original icon is handled, the first icon of the size and shape for meeting display area is obtained.
Specifically, since original icon is identical with the general size of theme icon generated later, so display area
Size can be less than the size of thematic map so that the theme icon of generation can retain the label with unified style, in this way
Original icon can be handled in the way of reducing, directly reduced simple and quick.
Step 104, it is superimposed thematic map and the first icon according to preset rules, obtains the second icon.
Specifically, preset rules may include:Position of the display area on thematic map.More specifically, can profit
With with the matched black area figure of thematic map, obtain position of the display area on thematic map.It is noted that this step used
The black area figure used in black area figure and step 102 can be the same picture, can also be different picture.
It is noted that in practical applications, preset rules can also include display other than it can be location information
Attribute, such as transparent print so that in superposition, the first icon is superimposed to by scheduled transparency on thematic map, can to lead
Topic figure is more fully demonstrated.
Step 105, it using the second icon as theme icon, and replaces original icon and is shown.
Specifically, the second icon obtained after being superimposed in step 104, you can used directly as theme icon.It replaces
Mode can replace original icon in the corresponding icon storage location of deposit.
At this to the theme icon generation method in present embodiment for example, as shown in Fig. 3 a to Fig. 3 d, Fig. 3 a are
The thematic map obtained in step 101, Fig. 3 b are original icon, and Fig. 3 c are black area figure, to obtain the viewing area in thematic map
Size, the shape in domain can also be in the position on thematic map including display area, be superimposed to after the icon in Fig. 3 b is reduced
In Fig. 3 a, that is, the second icon as shown in Figure 3d is obtained, i.e., needs the theme icon generated in present embodiment.As it can be seen that this is led
Inscribing has the lovely figure of similar cat ear in icon, it will also be appreciated that can also use the icon of other in terminal same
Mode is handled, and the cat ear figure as in Fig. 3 d is all had in the theme icon finally obtained, in this way, the figure that interface is all
Mark has all had the figure of similar cat ear, and style is unified, interface coordinates.
In terms of existing technologies, the main distinction and its effect are present embodiment:Using a thematic map, in conjunction with
It to the processing of original graph target and synthesizes, the theme icon of unified style is obtained, in this way, only needing a pictures in theme packet, effectively
Reduce the data volume in theme packet;In addition, since each theme icon is handled by thematic map and original icon, not by specific
The restriction of application program, so the problem of would not also causing some minorities to apply no unifying theme icon.As it can be seen that of the invention
Embodiment to effectively reduce data volume needed for theme packet, fully ensures that all application programs all have in self-defined theme
There is the theme icon being uniformly coordinated.In addition, size, the shape of display area in thematic map are obtained using black area figure, and superposition
Rule is very convenient quick.
Second embodiment of the present invention is related to a kind of theme icon generation method.Second embodiment is implemented first
It is further improved on the basis of mode, mainly thes improvement is that:Original graph in second embodiment of the invention is designated as
Desktop icons, and be multiple, it needs all desktop icons all carrying out processing replacement, is further ensured that the whole system of display interface
One.
Flow chart in present embodiment is as shown in Fig. 2, specific as follows:
The step 101 in step 201 to 205 and first embodiment in present embodiment is to 105 similar, herein not
It repeats again.
Step 206, judge whether all desktop icons are replaced;If so, terminating the thematic map in present embodiment
Mark product process;If it is not, then returning to step 203.
Specifically, step 201 to 205 be a thematic map target generating process, when original graph indicates it is multiple when, then exist
It after generating process, needs to judge whether there is other icons and needs to generate, when generating completely, then can terminate whole
A flow then needs to generate other icons again when not generating completely.Moreover, step 201 and 202 acquisition information can be with
It is subsequently generated process reuse, so since second of generating process, is just not required to obtain thematic map again and wherein show
Show the size and shape in region.
It is desktop icons in original icon as it can be seen that present embodiment further limits, and when desk-top picture indicates multiple,
It needs all desktop icons all carrying out processing replacement, is further ensured that the entirety of display interface is unified.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection domain of this patent
It is interior;To either adding inessential modification in algorithm in flow or introducing inessential design, but its algorithm is not changed
Core design with flow is all in the protection domain of the patent.
Third embodiment of the invention is related to a kind of theme icon generating means, as shown in figure 4, theme icon generating means
Including:
First acquisition module, for obtaining a thematic map.
The size of second acquisition module, the size and shape for obtaining the display area in thematic map, display area is small
In the size of thematic map.
Processing module obtains the first icon of the size and shape for meeting display area for handling original icon.
Laminating module obtains the second icon for being superimposed thematic map and the first icon according to preset rules.Wherein, it presets
Rule may include:Position of the display area on thematic map.Further say, using with the matched black area figure of thematic map, obtain
It is the picture that the display area in thematic map is painted with to black to take position of the display area on thematic map, black area figure.
Replacement module is used for using the second icon as theme icon, and replaces original icon and shown.
It is not difficult to find that present embodiment is system embodiment corresponding with first embodiment, present embodiment can be with
First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment
Effect, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in
In first embodiment.
It is noted that each module involved in present embodiment is logic module, and in practical applications, one
A logic unit can be a physical unit, can also be a part for a physical unit, can also be with multiple physics lists
The combination of member is realized.In addition, in order to protrude the innovative part of the present invention, it will not be with solution institute of the present invention in present embodiment
The technical issues of proposition, the less close unit of relationship introduced, but this does not indicate that there is no other single in present embodiment
Member.
Four embodiment of the invention is related to a kind of theme icon generating means, and present embodiment is in third embodiment
On improve, specifically the improvement is that:Original icon is limited to desktop icons, and the number of desktop icons in present embodiment
Amount has multiple.
As shown in figure 5, the theme icon generating means in present embodiment further include:
Trigger module is detecting that repetition is touched when not being replaced for detecting whether all desktop icons are replaced
Send out processing module, laminating module and replacement module.
Fifth embodiment of the invention is related to a kind of terminal, as shown in fig. 6, the terminal in present embodiment includes such as third
The theme icon generating means mentioned in embodiment or the 4th embodiment.
It will be appreciated by those skilled in the art that it is that can pass through to implement the method for the above embodiments
Program is completed to instruct relevant hardware, which is stored in a storage medium, including some instructions are used so that one
A equipment (can be microcontroller, chip etc.) or processor (processor) execute the whole of each embodiment method of the application
Or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of theme icon generation method, which is characterized in that be applied to a kind of terminal, the theme icon generation method packet
It includes:
Obtain a thematic map;
The size and shape of the display area in the thematic map is obtained, the size of the display area is less than the thematic map
Size;
Original icon is handled, the first icon of the size and shape for meeting the display area is obtained;
It is superimposed the thematic map and first icon according to preset rules, obtains the second icon;
Using second icon as theme icon, and replaces original icon and shown.
2. theme icon generation method according to claim 1, which is characterized in that the preset rules include:It is described aobvious
Show position of the region on the thematic map.
3. theme icon generation method according to claim 2, which is characterized in that further include:Using with the thematic map
Matched black area figure obtains position of the display area on the thematic map, and the black area figure is will be in the thematic map
Display area be painted with the picture of black.
4. theme icon generation method according to claim 1, which is characterized in that the original icon of the processing, specifically
For:The original icon is handled in the way of diminution.
5. theme icon generation method according to claim 1, which is characterized in that the original icon is:The end
The quantity of the desktop icons at end, the desktop icons is more than 1;
It is described to be replaced after original icon shown using second icon, including:
Judge whether all desktop icons are replaced;
If not being replaced, the processing original icon, the superposition thematic map and the first icon and utilization are repeated
The step of second icon replaces original icon.
6. a kind of theme icon generating means, which is characterized in that including:
First acquisition module, for obtaining a thematic map;
Second acquisition module, the size and shape for obtaining the display area in the thematic map, the ruler of the display area
The very little size less than the thematic map;
Processing module obtains the first icon of the size and shape for meeting the display area for handling original icon;
Laminating module obtains the second icon for being superimposed the thematic map and first icon according to preset rules;
Replacement module is used for using second icon as theme icon, and replaces original icon and shown.
7. theme icon generating means according to claim 6, which is characterized in that the preset rules include:It is described aobvious
Show position of the region on the thematic map.
8. theme icon generating means according to claim 7, which is characterized in that further include:Using with the thematic map
Matched black area figure obtains position of the display area on the thematic map, and the black area figure is will be in the thematic map
Display area be painted with the picture of black.
9. theme icon generating means according to claim 6, which is characterized in that the original icon is:The end
The quantity of the desktop icons at end, the desktop icons is more than 1;
The theme icon generating means further include:Trigger module, for detecting whether all desktop icons are replaced,
It detects when not being replaced, processing module, the laminating module and the replacement module described in repeated trigger.
10. a kind of terminal, which is characterized in that generate dress comprising the theme icon as described in any one of claim 6 to 9
It sets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710212723.1A CN108664298A (en) | 2017-04-01 | 2017-04-01 | A kind of theme icon generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710212723.1A CN108664298A (en) | 2017-04-01 | 2017-04-01 | A kind of theme icon generation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108664298A true CN108664298A (en) | 2018-10-16 |
Family
ID=63784309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710212723.1A Pending CN108664298A (en) | 2017-04-01 | 2017-04-01 | A kind of theme icon generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108664298A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831584A (en) * | 2019-01-30 | 2019-05-31 | 努比亚技术有限公司 | Application icon adaptation processing method, storage medium and mobile terminal |
CN110569924A (en) * | 2019-09-18 | 2019-12-13 | 南京雷鲨信息科技有限公司 | Icon processing method and device, readable storage medium and computer equipment |
CN113034631A (en) * | 2019-12-24 | 2021-06-25 | 华为技术有限公司 | Method and device for generating theme icon and computer equipment |
-
2017
- 2017-04-01 CN CN201710212723.1A patent/CN108664298A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831584A (en) * | 2019-01-30 | 2019-05-31 | 努比亚技术有限公司 | Application icon adaptation processing method, storage medium and mobile terminal |
CN110569924A (en) * | 2019-09-18 | 2019-12-13 | 南京雷鲨信息科技有限公司 | Icon processing method and device, readable storage medium and computer equipment |
CN113034631A (en) * | 2019-12-24 | 2021-06-25 | 华为技术有限公司 | Method and device for generating theme icon and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107957831B (en) | Data processing method, device and processing equipment for displaying interface content | |
US20190012821A1 (en) | Displaying images associated with apps based on app processing task progress statuses | |
WO2006044834A2 (en) | Desktop alert management | |
CN107077347B (en) | View management architecture | |
CN108664298A (en) | A kind of theme icon generation method and device | |
CN108345483A (en) | A kind of reminding method of notification message, terminal and computer readable storage medium | |
CN106843639A (en) | The display methods of icon and the display device of icon | |
CN102207823A (en) | Display method and device for application program | |
CN105653283A (en) | Embedded system terminal and boot LOGO picture displaying and changing method thereof | |
CN110377220B (en) | Instruction response method and device, storage medium and electronic equipment | |
CN110069312A (en) | A kind of method and device of UI component Configuration and generation UI Component Gallery | |
CN109271587A (en) | A kind of page generation method and device | |
CN111450529A (en) | Game map acquisition method and device, storage medium and electronic device | |
CN106250111A (en) | A kind of wallpaper acquisition methods and terminal | |
WO2018226989A1 (en) | Displaying images associated with apps based on app processing task progress statuses | |
CN110390641A (en) | Image desensitization method, electronic equipment and storage medium | |
Holmquist | Bits Are Cheap, Atoms Are Expensive: Critiquing the Turn Towards Tangibility in HCI | |
CN107888663A (en) | A kind of method of distribution of document, equipment and computer-readable medium | |
CN109718554A (en) | A kind of real-time rendering method, apparatus and terminal | |
CN103888342B (en) | Exchange method and device | |
US10664151B2 (en) | Adaptive electronic event reminder | |
CN103823651A (en) | Information processing method and electronic equipment | |
CN110738733A (en) | Three-dimensional terrain model generation method, storage medium, processor and electronic device | |
US10417327B2 (en) | Interactive and dynamically animated 3D fonts | |
CN105867745B (en) | A kind of red-letter day based reminding method of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181016 |
|
WD01 | Invention patent application deemed withdrawn after publication |